Skip to content

Commit 664340a

Browse files
committed
SDK regeneration
1 parent 47496a1 commit 664340a

File tree

75 files changed

+894
-794
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+894
-794
lines changed

.mock/definition/__package__.yml

Lines changed: 78 additions & 77 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,11 @@ errors:
7171
examples:
7272
- value:
7373
message: '''Site is published to multiple domains at different times'
74+
- value:
75+
code: conflict
76+
message: >-
77+
Conflict: Conflict with server data: Live PATCH updates can't be
78+
applied to items that have never been published
7479
- value:
7580
code: custom_code_max_registered_scripts
7681
message: The maximum number of registered scripts has been reached.
@@ -360,13 +365,13 @@ types:
360365
docs: Pagination object
361366
properties:
362367
limit:
363-
type: optional<double>
368+
type: double
364369
docs: The limit used for pagination
365370
offset:
366-
type: optional<double>
371+
type: double
367372
docs: The offset used for pagination
368373
total:
369-
type: optional<double>
374+
type: double
370375
docs: The total number of records
371376
source:
372377
openapi: ../../../openapi/referenced-specs/v2.yml
@@ -615,10 +620,10 @@ types:
615620
type: string
616621
docs: Unique identifier for a Collection
617622
displayName:
618-
type: optional<string>
623+
type: string
619624
docs: Name given to the Collection
620625
singularName:
621-
type: optional<string>
626+
type: string
622627
docs: >-
623628
The name of one Item in Collection (e.g. ”Blog Post” if the Collection
624629
is called “Blog Posts”)
@@ -673,13 +678,13 @@ types:
673678
type: optional<string>
674679
docs: Identifier for the locale of the CMS item
675680
lastPublished:
676-
type: optional<string>
681+
type: string
677682
docs: The date the item was last published
678683
lastUpdated:
679-
type: optional<string>
684+
type: string
680685
docs: The date the item was last updated
681686
createdOn:
682-
type: optional<string>
687+
type: string
683688
docs: The date the item was created
684689
isArchived:
685690
type: optional<boolean>
@@ -826,6 +831,7 @@ types:
826831
docs: List of Items within the collection
827832
source:
828833
openapi: ../../../openapi/referenced-specs/v2.yml
834+
Conflict: unknown
829835
BulkCollectionItemFieldData:
830836
properties:
831837
name:
@@ -1029,6 +1035,7 @@ types:
10291035
source:
10301036
openapi: ../../../openapi/referenced-specs/v2.yml
10311037
TextNodeText:
1038+
docs: The text content of the node
10321039
properties:
10331040
html:
10341041
type: optional<string>
@@ -1046,15 +1053,18 @@ types:
10461053
text for styling or other purposes.
10471054
properties:
10481055
id:
1049-
type: optional<string>
1056+
type: string
10501057
docs: Node UUID
1051-
text: optional<TextNodeText>
1058+
text:
1059+
type: TextNodeText
1060+
docs: The text content of the node
10521061
attributes:
10531062
type: optional<map<string, string>>
10541063
docs: The custom attributes of the node
10551064
source:
10561065
openapi: ../../../openapi/referenced-specs/v2.yml
10571066
ImageNodeImage:
1067+
docs: The image details of the node
10581068
properties:
10591069
alt: optional<string>
10601070
assetId: optional<string>
@@ -1069,15 +1079,18 @@ types:
10691079
can be associated with the image for styling or other purposes.
10701080
properties:
10711081
id:
1072-
type: optional<string>
1082+
type: string
10731083
docs: Node UUID
1074-
image: optional<ImageNodeImage>
1084+
image:
1085+
type: ImageNodeImage
1086+
docs: The image details of the node
10751087
attributes:
10761088
type: optional<map<string, string>>
10771089
docs: The custom attributes of the node
10781090
source:
10791091
openapi: ../../../openapi/referenced-specs/v2.yml
10801092
Text:
1093+
docs: The text content of the node
10811094
properties:
10821095
html:
10831096
type: optional<string>
@@ -1128,14 +1141,14 @@ types:
11281141
the component instance, such as its type and properties.
11291142
properties:
11301143
id:
1131-
type: optional<string>
1132-
docs: Node UUID
1144+
type: string
1145+
docs: The unique identifier of the component instance node
11331146
componentId:
1134-
type: optional<string>
1135-
docs: Component ID
1147+
type: string
1148+
docs: The unique identifier of the component
11361149
propertyOverrides:
1137-
type: optional<list<ComponentProperty>>
11381150
docs: List of component properties with overrides for a component instance.
1151+
type: list<ComponentProperty>
11391152
source:
11401153
openapi: ../../../openapi/referenced-specs/v2.yml
11411154
Node:
@@ -1439,67 +1452,74 @@ types:
14391452
source:
14401453
openapi: ../../../openapi/referenced-specs/v2.yml
14411454
AssetVariant:
1455+
docs: Asset variant details
14421456
properties:
14431457
hostedUrl:
1444-
type: optional<string>
1458+
type: string
14451459
docs: URL of where the asset variant is hosted
14461460
validation:
14471461
format: uri
14481462
originalFileName:
1449-
type: optional<string>
1463+
type: string
14501464
docs: Original file name of the variant
14511465
displayName:
1452-
type: optional<string>
1466+
type: string
14531467
docs: Display name of the variant
14541468
format:
1455-
type: optional<string>
1469+
type: string
14561470
docs: format of the variant
14571471
width:
1458-
type: optional<integer>
1472+
type: integer
14591473
docs: Width in pixels
14601474
height:
1461-
type: optional<integer>
1475+
type: integer
14621476
docs: Height in pixels
14631477
quality:
1464-
type: optional<integer>
1478+
type: integer
14651479
docs: Value between 0 and 100 representing the image quality
14661480
error:
14671481
type: optional<string>
14681482
docs: Any associated validation errors
14691483
source:
14701484
openapi: ../../../openapi/referenced-specs/v2.yml
14711485
Asset:
1486+
docs: Asset details
14721487
properties:
14731488
id:
1474-
type: optional<string>
1489+
type: string
14751490
docs: Unique identifier for this asset
14761491
contentType:
1477-
type: optional<string>
1492+
type: string
14781493
docs: File format type
14791494
size:
1480-
type: optional<integer>
1495+
type: integer
14811496
docs: size in bytes
14821497
siteId:
1483-
type: optional<string>
1498+
type: string
14841499
docs: Unique identifier for the site that hosts this asset
14851500
hostedUrl:
1486-
type: optional<string>
1501+
type: string
14871502
docs: Link to the asset
14881503
validation:
14891504
format: uri
14901505
originalFileName:
1491-
type: optional<string>
1506+
type: string
14921507
docs: Original file name at the time of upload
14931508
displayName:
1494-
type: optional<string>
1509+
type: string
14951510
docs: Display name of the asset
14961511
lastUpdated:
1497-
type: optional<datetime>
1512+
type: datetime
14981513
docs: Date the asset metadata was last updated
14991514
createdOn:
1500-
type: optional<datetime>
1515+
type: datetime
15011516
docs: Date the asset metadata was created
1502-
variants: optional<list<AssetVariant>>
1517+
variants:
1518+
docs: >-
1519+
A list of [asset
1520+
variants](https://help.webflow.com/hc/en-us/articles/33961378697107-Responsive-images)
1521+
created by Webflow to serve your site responsively.
1522+
type: list<AssetVariant>
15031523
altText:
15041524
type: optional<string>
15051525
docs: The visual description of the asset
@@ -1509,6 +1529,7 @@ types:
15091529
docs: A list of assets
15101530
properties:
15111531
assets: optional<list<Asset>>
1532+
pagination: optional<Pagination>
15121533
source:
15131534
openapi: ../../../openapi/referenced-specs/v2.yml
15141535
AssetUploadUploadDetails:
@@ -1618,46 +1639,8 @@ types:
16181639
- collection_item_deleted
16191640
- collection_item_unpublished
16201641
docs: >
1621-
* `form_submission` - Sends the [form_submission](#form_submission) event
1622-
1623-
* `site_publish` - Sends a [site_publish](#site_publish) event
1624-
1625-
* `page_created` - Send the [page_created](#page_created) event
1626-
1627-
* `page_metadata_updated` - Sends the
1628-
[page_metadata_updated](#page_metadata_updated) event
1629-
1630-
* `page_deleted` - Sends the [page_deleted](#page_deleted) event
1631-
1632-
* `ecomm_new_order` - Sends the new [ecomm_new_order](#ecomm_new_order)
1633-
event
1634-
1635-
* `ecomm_order_changed` - Sends the
1636-
[ecomm_order_changed](#ecomm_order_changed) event
1637-
1638-
* `ecomm_inventory_changed` - Sends the
1639-
[ecomm_inventory_changed](#ecomm_inventory_changed) event
1640-
1641-
* `user_account_added` - Sends the
1642-
[user_account_added](#user_account_added) event
1643-
1644-
* `user_account_updated` - Sends the
1645-
[user_account_updated](#user_account_updated) event
1646-
1647-
* `user_account_deleted` - Sends the
1648-
[user_account_deleted](#user_account_deleted) event
1649-
1650-
* `collection_item_created` - Sends the
1651-
[collection_item_created](#collection_item_created) event
1652-
1653-
* `collection_item_changed` - Sends the
1654-
[collection_item_changed](#collection_item_changed) event
1655-
1656-
* `collection_item_deleted` - Sends the
1657-
[collection_item_deleted](#collection_item_deleted) event
1658-
1659-
* `collection_item_unpublished` - Sends the
1660-
[collection_item_unpublished](#collection_item_unpublished) event
1642+
The type of event that triggered the request. See the the documentation
1643+
for details on [supported events](m/data/reference/all-events).
16611644
source:
16621645
openapi: ../../../openapi/referenced-specs/v2.yml
16631646
WebhookFilter:
@@ -1701,8 +1684,8 @@ types:
17011684
openapi: ../../../openapi/referenced-specs/v2.yml
17021685
WebhookList:
17031686
properties:
1704-
pagination: optional<Pagination>
17051687
webhooks: optional<list<Webhook>>
1688+
pagination: optional<Pagination>
17061689
source:
17071690
openapi: ../../../openapi/referenced-specs/v2.yml
17081691
FormFieldValueType:
@@ -2209,6 +2192,10 @@ types:
22092192
- value: one-time
22102193
name: OneTime
22112194
- subscription
2195+
docs: >-
2196+
[Billing
2197+
method](https://help.webflow.com/hc/en-us/articles/33961432087955-Add-and-manage-products-and-categories#billing-methods)for
2198+
the SKU
22122199
inline: true
22132200
source:
22142201
openapi: ../../../openapi/referenced-specs/v2.yml
@@ -2246,6 +2233,10 @@ types:
22462233
openapi: ../../../openapi/referenced-specs/v2.yml
22472234
inline: true
22482235
SkuFieldDataEcSkuSubscriptionPlan:
2236+
docs: >-
2237+
[Subscription
2238+
plan](https://help.webflow.com/hc/en-us/articles/33961432087955-Add-and-manage-products-and-categories#subscription)
2239+
for the SKU
22492240
properties:
22502241
interval:
22512242
type: optional<SkuFieldDataEcSkuSubscriptionPlanInterval>
@@ -2276,8 +2267,18 @@ types:
22762267
compare-at-price:
22772268
type: optional<SkuFieldDataCompareAtPrice>
22782269
docs: comparison price of SKU
2279-
ec-sku-billing-method: optional<SkuFieldDataEcSkuBillingMethod>
2280-
ec-sku-subscription-plan: optional<SkuFieldDataEcSkuSubscriptionPlan>
2270+
ec-sku-billing-method:
2271+
type: optional<SkuFieldDataEcSkuBillingMethod>
2272+
docs: >-
2273+
[Billing
2274+
method](https://help.webflow.com/hc/en-us/articles/33961432087955-Add-and-manage-products-and-categories#billing-methods)for
2275+
the SKU
2276+
ec-sku-subscription-plan:
2277+
type: optional<SkuFieldDataEcSkuSubscriptionPlan>
2278+
docs: >-
2279+
[Subscription
2280+
plan](https://help.webflow.com/hc/en-us/articles/33961432087955-Add-and-manage-products-and-categories#subscription)
2281+
for the SKU
22812282
track-inventory:
22822283
type: optional<boolean>
22832284
docs: >-

0 commit comments

Comments
 (0)