Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jan 16, 2025
1 parent 47496a1 commit 61180ac
Show file tree
Hide file tree
Showing 76 changed files with 1,106 additions and 794 deletions.
155 changes: 78 additions & 77 deletions .mock/definition/__package__.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ errors:
examples:
- value:
message: '''Site is published to multiple domains at different times'
- value:
code: conflict
message: >-
Conflict: Conflict with server data: Live PATCH updates can't be
applied to items that have never been published
- value:
code: custom_code_max_registered_scripts
message: The maximum number of registered scripts has been reached.
Expand Down Expand Up @@ -360,13 +365,13 @@ types:
docs: Pagination object
properties:
limit:
type: optional<double>
type: double
docs: The limit used for pagination
offset:
type: optional<double>
type: double
docs: The offset used for pagination
total:
type: optional<double>
type: double
docs: The total number of records
source:
openapi: ../../../openapi/referenced-specs/v2.yml
Expand Down Expand Up @@ -615,10 +620,10 @@ types:
type: string
docs: Unique identifier for a Collection
displayName:
type: optional<string>
type: string
docs: Name given to the Collection
singularName:
type: optional<string>
type: string
docs: >-
The name of one Item in Collection (e.g. ”Blog Post” if the Collection
is called “Blog Posts”)
Expand Down Expand Up @@ -673,13 +678,13 @@ types:
type: optional<string>
docs: Identifier for the locale of the CMS item
lastPublished:
type: optional<string>
type: string
docs: The date the item was last published
lastUpdated:
type: optional<string>
type: string
docs: The date the item was last updated
createdOn:
type: optional<string>
type: string
docs: The date the item was created
isArchived:
type: optional<boolean>
Expand Down Expand Up @@ -826,6 +831,7 @@ types:
docs: List of Items within the collection
source:
openapi: ../../../openapi/referenced-specs/v2.yml
Conflict: unknown
BulkCollectionItemFieldData:
properties:
name:
Expand Down Expand Up @@ -1029,6 +1035,7 @@ types:
source:
openapi: ../../../openapi/referenced-specs/v2.yml
TextNodeText:
docs: The text content of the node
properties:
html:
type: optional<string>
Expand All @@ -1046,15 +1053,18 @@ types:
text for styling or other purposes.
properties:
id:
type: optional<string>
type: string
docs: Node UUID
text: optional<TextNodeText>
text:
type: TextNodeText
docs: The text content of the node
attributes:
type: optional<map<string, string>>
docs: The custom attributes of the node
source:
openapi: ../../../openapi/referenced-specs/v2.yml
ImageNodeImage:
docs: The image details of the node
properties:
alt: optional<string>
assetId: optional<string>
Expand All @@ -1069,15 +1079,18 @@ types:
can be associated with the image for styling or other purposes.
properties:
id:
type: optional<string>
type: string
docs: Node UUID
image: optional<ImageNodeImage>
image:
type: ImageNodeImage
docs: The image details of the node
attributes:
type: optional<map<string, string>>
docs: The custom attributes of the node
source:
openapi: ../../../openapi/referenced-specs/v2.yml
Text:
docs: The text content of the node
properties:
html:
type: optional<string>
Expand Down Expand Up @@ -1128,14 +1141,14 @@ types:
the component instance, such as its type and properties.
properties:
id:
type: optional<string>
docs: Node UUID
type: string
docs: The unique identifier of the component instance node
componentId:
type: optional<string>
docs: Component ID
type: string
docs: The unique identifier of the component
propertyOverrides:
type: optional<list<ComponentProperty>>
docs: List of component properties with overrides for a component instance.
type: list<ComponentProperty>
source:
openapi: ../../../openapi/referenced-specs/v2.yml
Node:
Expand Down Expand Up @@ -1439,67 +1452,74 @@ types:
source:
openapi: ../../../openapi/referenced-specs/v2.yml
AssetVariant:
docs: Asset variant details
properties:
hostedUrl:
type: optional<string>
type: string
docs: URL of where the asset variant is hosted
validation:
format: uri
originalFileName:
type: optional<string>
type: string
docs: Original file name of the variant
displayName:
type: optional<string>
type: string
docs: Display name of the variant
format:
type: optional<string>
type: string
docs: format of the variant
width:
type: optional<integer>
type: integer
docs: Width in pixels
height:
type: optional<integer>
type: integer
docs: Height in pixels
quality:
type: optional<integer>
type: integer
docs: Value between 0 and 100 representing the image quality
error:
type: optional<string>
docs: Any associated validation errors
source:
openapi: ../../../openapi/referenced-specs/v2.yml
Asset:
docs: Asset details
properties:
id:
type: optional<string>
type: string
docs: Unique identifier for this asset
contentType:
type: optional<string>
type: string
docs: File format type
size:
type: optional<integer>
type: integer
docs: size in bytes
siteId:
type: optional<string>
type: string
docs: Unique identifier for the site that hosts this asset
hostedUrl:
type: optional<string>
type: string
docs: Link to the asset
validation:
format: uri
originalFileName:
type: optional<string>
type: string
docs: Original file name at the time of upload
displayName:
type: optional<string>
type: string
docs: Display name of the asset
lastUpdated:
type: optional<datetime>
type: datetime
docs: Date the asset metadata was last updated
createdOn:
type: optional<datetime>
type: datetime
docs: Date the asset metadata was created
variants: optional<list<AssetVariant>>
variants:
docs: >-
A list of [asset
variants](https://help.webflow.com/hc/en-us/articles/33961378697107-Responsive-images)
created by Webflow to serve your site responsively.
type: list<AssetVariant>
altText:
type: optional<string>
docs: The visual description of the asset
Expand All @@ -1509,6 +1529,7 @@ types:
docs: A list of assets
properties:
assets: optional<list<Asset>>
pagination: optional<Pagination>
source:
openapi: ../../../openapi/referenced-specs/v2.yml
AssetUploadUploadDetails:
Expand Down Expand Up @@ -1618,46 +1639,8 @@ types:
- collection_item_deleted
- collection_item_unpublished
docs: >
* `form_submission` - Sends the [form_submission](#form_submission) event
* `site_publish` - Sends a [site_publish](#site_publish) event
* `page_created` - Send the [page_created](#page_created) event
* `page_metadata_updated` - Sends the
[page_metadata_updated](#page_metadata_updated) event
* `page_deleted` - Sends the [page_deleted](#page_deleted) event
* `ecomm_new_order` - Sends the new [ecomm_new_order](#ecomm_new_order)
event
* `ecomm_order_changed` - Sends the
[ecomm_order_changed](#ecomm_order_changed) event
* `ecomm_inventory_changed` - Sends the
[ecomm_inventory_changed](#ecomm_inventory_changed) event
* `user_account_added` - Sends the
[user_account_added](#user_account_added) event
* `user_account_updated` - Sends the
[user_account_updated](#user_account_updated) event
* `user_account_deleted` - Sends the
[user_account_deleted](#user_account_deleted) event
* `collection_item_created` - Sends the
[collection_item_created](#collection_item_created) event
* `collection_item_changed` - Sends the
[collection_item_changed](#collection_item_changed) event
* `collection_item_deleted` - Sends the
[collection_item_deleted](#collection_item_deleted) event
* `collection_item_unpublished` - Sends the
[collection_item_unpublished](#collection_item_unpublished) event
The type of event that triggered the request. See the the documentation
for details on [supported events](m/data/reference/all-events).
source:
openapi: ../../../openapi/referenced-specs/v2.yml
WebhookFilter:
Expand Down Expand Up @@ -1701,8 +1684,8 @@ types:
openapi: ../../../openapi/referenced-specs/v2.yml
WebhookList:
properties:
pagination: optional<Pagination>
webhooks: optional<list<Webhook>>
pagination: optional<Pagination>
source:
openapi: ../../../openapi/referenced-specs/v2.yml
FormFieldValueType:
Expand Down Expand Up @@ -2209,6 +2192,10 @@ types:
- value: one-time
name: OneTime
- subscription
docs: >-
[Billing
method](https://help.webflow.com/hc/en-us/articles/33961432087955-Add-and-manage-products-and-categories#billing-methods)for
the SKU
inline: true
source:
openapi: ../../../openapi/referenced-specs/v2.yml
Expand Down Expand Up @@ -2246,6 +2233,10 @@ types:
openapi: ../../../openapi/referenced-specs/v2.yml
inline: true
SkuFieldDataEcSkuSubscriptionPlan:
docs: >-
[Subscription
plan](https://help.webflow.com/hc/en-us/articles/33961432087955-Add-and-manage-products-and-categories#subscription)
for the SKU
properties:
interval:
type: optional<SkuFieldDataEcSkuSubscriptionPlanInterval>
Expand Down Expand Up @@ -2276,8 +2267,18 @@ types:
compare-at-price:
type: optional<SkuFieldDataCompareAtPrice>
docs: comparison price of SKU
ec-sku-billing-method: optional<SkuFieldDataEcSkuBillingMethod>
ec-sku-subscription-plan: optional<SkuFieldDataEcSkuSubscriptionPlan>
ec-sku-billing-method:
type: optional<SkuFieldDataEcSkuBillingMethod>
docs: >-
[Billing
method](https://help.webflow.com/hc/en-us/articles/33961432087955-Add-and-manage-products-and-categories#billing-methods)for
the SKU
ec-sku-subscription-plan:
type: optional<SkuFieldDataEcSkuSubscriptionPlan>
docs: >-
[Subscription
plan](https://help.webflow.com/hc/en-us/articles/33961432087955-Add-and-manage-products-and-categories#subscription)
for the SKU
track-inventory:
type: optional<boolean>
docs: >-
Expand Down
Loading

0 comments on commit 61180ac

Please sign in to comment.