webflow-api 3.0.1 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/__package__.yml +876 -287
- package/.mock/definition/accessGroups.yml +4 -3
- package/.mock/definition/assets.yml +96 -56
- package/.mock/definition/collections/fields.yml +67 -48
- package/.mock/definition/collections/items.yml +226 -65
- package/.mock/definition/collections.yml +48 -12
- package/.mock/definition/components.yml +479 -0
- package/.mock/definition/ecommerce.yml +3 -2
- package/.mock/definition/forms.yml +121 -8
- package/.mock/definition/inventory.yml +8 -4
- package/.mock/definition/orders.yml +17 -77
- package/.mock/definition/pages/scripts.yml +17 -50
- package/.mock/definition/pages.yml +87 -65
- package/.mock/definition/products.yml +18 -9
- package/.mock/definition/scripts.yml +22 -57
- package/.mock/definition/sites/activityLogs.yml +12 -9
- package/.mock/definition/sites/plans.yml +46 -0
- package/.mock/definition/sites/redirects.yml +213 -0
- package/.mock/definition/sites/robotsTxt.yml +202 -0
- package/.mock/definition/sites/scripts.yml +28 -41
- package/.mock/definition/sites.yml +201 -8
- package/.mock/definition/token.yml +7 -4
- package/.mock/definition/users.yml +12 -8
- package/.mock/definition/webhooks.yml +16 -17
- package/.mock/fern.config.json +1 -1
- package/Client.d.ts +3 -0
- package/Client.js +25 -20
- package/api/errors/index.d.ts +1 -1
- package/api/errors/index.js +1 -1
- package/api/resources/accessGroups/client/Client.js +1 -1
- package/api/resources/assets/client/Client.d.ts +15 -7
- package/api/resources/assets/client/Client.js +23 -15
- package/api/resources/collections/client/Client.d.ts +24 -1
- package/api/resources/collections/client/Client.js +30 -5
- package/api/resources/collections/client/requests/CollectionsCreateRequest.d.ts +23 -1
- package/api/resources/collections/resources/fields/client/Client.d.ts +34 -4
- package/api/resources/collections/resources/fields/client/Client.js +40 -8
- package/api/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
- package/api/resources/collections/resources/fields/index.d.ts +0 -1
- package/api/resources/collections/resources/fields/index.js +0 -1
- package/api/resources/collections/resources/index.d.ts +1 -2
- package/api/resources/collections/resources/index.js +2 -3
- package/api/resources/collections/resources/items/client/Client.d.ts +26 -16
- package/api/resources/collections/resources/items/client/Client.js +48 -32
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
- package/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +1 -1
- package/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
- package/api/resources/collections/resources/items/types/MultipleItems.d.ts +2 -2
- package/api/resources/collections/resources/items/types/MultipleLiveItems.d.ts +8 -0
- package/api/resources/collections/resources/items/types/index.d.ts +1 -0
- package/api/resources/collections/resources/items/types/index.js +1 -0
- package/api/resources/components/client/Client.d.ts +175 -0
- package/api/resources/components/client/Client.js +669 -0
- package/api/resources/components/client/index.d.ts +1 -0
- package/api/resources/{collections/resources/fields/types → components/client}/index.js +1 -1
- package/api/resources/components/client/requests/ComponentDomWrite.d.ts +34 -0
- package/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +25 -0
- package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +28 -0
- package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +23 -0
- package/api/resources/components/client/requests/ComponentsListRequest.d.ts +17 -0
- package/api/resources/components/client/requests/index.d.ts +5 -0
- package/api/resources/components/client/requests/index.js +2 -0
- package/api/resources/components/index.d.ts +2 -0
- package/api/resources/components/index.js +18 -0
- package/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -0
- package/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +16 -0
- package/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +7 -0
- package/api/resources/components/types/ComponentsUpdateContentResponse.js +5 -0
- package/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +7 -0
- package/api/resources/components/types/ComponentsUpdatePropertiesResponse.js +5 -0
- package/api/resources/components/types/index.d.ts +4 -0
- package/api/resources/components/types/index.js +20 -0
- package/api/resources/ecommerce/client/Client.js +1 -1
- package/api/resources/forms/client/Client.d.ts +54 -0
- package/api/resources/forms/client/Client.js +229 -5
- package/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +23 -0
- package/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js +5 -0
- package/api/resources/forms/client/requests/index.d.ts +1 -0
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/inventory/client/Client.d.ts +3 -1
- package/api/resources/inventory/client/Client.js +5 -3
- package/api/resources/orders/client/Client.d.ts +3 -0
- package/api/resources/orders/client/Client.js +9 -6
- package/api/resources/pages/client/Client.d.ts +31 -10
- package/api/resources/pages/client/Client.js +37 -18
- package/api/resources/pages/client/requests/PageDomWrite.d.ts +34 -0
- package/api/resources/pages/client/requests/PageDomWrite.js +5 -0
- package/api/resources/pages/client/requests/index.d.ts +1 -1
- package/api/resources/pages/resources/scripts/client/Client.d.ts +8 -19
- package/api/resources/pages/resources/scripts/client/Client.js +13 -22
- package/api/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -0
- package/api/resources/pages/types/PageDomWriteNodesItem.js +5 -0
- package/api/resources/pages/types/index.d.ts +1 -1
- package/api/resources/pages/types/index.js +1 -1
- package/api/resources/products/client/Client.d.ts +5 -6
- package/api/resources/products/client/Client.js +11 -12
- package/api/resources/scripts/client/Client.d.ts +12 -20
- package/api/resources/scripts/client/Client.js +15 -23
- package/api/resources/sites/client/Client.d.ts +79 -0
- package/api/resources/sites/client/Client.js +341 -9
- package/api/resources/sites/client/requests/SitesCreateRequest.d.ts +17 -0
- package/api/resources/sites/client/requests/SitesCreateRequest.js +5 -0
- package/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/api/resources/sites/client/requests/SitesUpdateRequest.js +5 -0
- package/api/resources/sites/client/requests/index.d.ts +2 -0
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +5 -1
- package/api/resources/sites/resources/activityLogs/client/Client.js +6 -2
- package/api/resources/sites/resources/index.d.ts +3 -0
- package/api/resources/sites/resources/index.js +4 -1
- package/api/resources/sites/resources/plans/client/Client.d.ts +47 -0
- package/api/resources/sites/resources/plans/client/Client.js +157 -0
- package/api/resources/sites/resources/plans/client/index.d.ts +1 -0
- package/api/resources/sites/resources/plans/client/index.js +2 -0
- package/api/resources/sites/resources/plans/index.d.ts +1 -0
- package/{dist/serialization/resources/collections/resources/fields/types → api/resources/sites/resources/plans}/index.js +1 -1
- package/api/resources/sites/resources/redirects/client/Client.d.ts +125 -0
- package/api/resources/sites/resources/redirects/client/Client.js +482 -0
- package/api/resources/sites/resources/redirects/client/index.d.ts +1 -0
- package/api/resources/sites/resources/redirects/client/index.js +2 -0
- package/api/resources/sites/resources/redirects/index.d.ts +1 -0
- package/{dist/api/resources/collections/resources/fields/types → api/resources/sites/resources/redirects}/index.js +1 -1
- package/api/resources/sites/resources/robotsTxt/client/Client.d.ts +124 -0
- package/api/resources/sites/resources/robotsTxt/client/Client.js +486 -0
- package/api/resources/sites/resources/robotsTxt/client/index.d.ts +1 -0
- package/api/resources/sites/resources/robotsTxt/client/index.js +2 -0
- package/api/resources/sites/resources/robotsTxt/index.d.ts +1 -0
- package/{serialization/resources/collections/resources/fields/types → api/resources/sites/resources/robotsTxt}/index.js +1 -1
- package/api/resources/sites/resources/scripts/client/Client.d.ts +15 -13
- package/api/resources/sites/resources/scripts/client/Client.js +19 -17
- package/api/resources/token/client/Client.d.ts +2 -1
- package/api/resources/token/client/Client.js +4 -3
- package/api/resources/users/client/Client.d.ts +1 -1
- package/api/resources/users/client/Client.js +6 -6
- package/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -4
- package/api/resources/users/client/requests/UsersUpdateRequest.d.ts +1 -4
- package/api/resources/webhooks/client/Client.d.ts +4 -1
- package/api/resources/webhooks/client/Client.js +8 -5
- package/api/types/Asset.d.ts +4 -0
- package/api/types/AssetVariant.d.ts +3 -0
- package/api/types/Assets.d.ts +1 -0
- package/api/types/CollectionItem.d.ts +5 -1
- package/api/types/CollectionItemPostSingle.d.ts +7 -3
- package/api/types/Component.d.ts +18 -0
- package/api/types/Component.js +5 -0
- package/api/types/ComponentDom.d.ts +13 -0
- package/api/types/ComponentDom.js +5 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +13 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWrite.js +5 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +14 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +5 -0
- package/api/types/ComponentList.d.ts +11 -0
- package/api/types/ComponentList.js +5 -0
- package/api/types/ComponentNode.d.ts +15 -0
- package/api/types/ComponentNode.js +5 -0
- package/api/types/ComponentProperties.d.ts +13 -0
- package/api/types/ComponentProperties.js +5 -0
- package/api/types/ComponentProperty.d.ts +17 -0
- package/api/types/ComponentProperty.js +5 -0
- package/api/types/ComponentPropertyType.d.ts +12 -0
- package/api/types/ComponentPropertyType.js +11 -0
- package/{dist/api/types/ErrorDetailsItem.d.ts → api/types/Conflict.d.ts} +1 -1
- package/api/types/Conflict.js +5 -0
- package/api/types/Dom.d.ts +3 -1
- package/api/types/Domain.d.ts +2 -0
- package/api/types/Error_.d.ts +1 -1
- package/api/types/FieldCreate.d.ts +8 -0
- package/api/types/FieldCreate.js +5 -0
- package/api/types/FieldType.d.ts +12 -10
- package/api/types/FieldType.js +11 -9
- package/api/types/ImageNode.d.ts +7 -2
- package/api/types/ImageNodeImage.d.ts +10 -0
- package/api/types/ImageNodeImage.js +5 -0
- package/api/types/Metadata.d.ts +11 -0
- package/api/types/Metadata.js +5 -0
- package/api/types/MetadataOptionsItem.d.ts +12 -0
- package/api/types/MetadataOptionsItem.js +5 -0
- package/api/types/Node.d.ts +11 -8
- package/api/types/{ErrorDetailsItem.d.ts → NotEnterprisePlanWorkspace.d.ts} +1 -1
- package/api/types/NotEnterprisePlanWorkspace.js +5 -0
- package/api/types/OAuthScope.d.ts +8 -0
- package/api/types/OAuthScope.js +2 -0
- package/api/types/OptionField.d.ts +19 -0
- package/api/types/OptionField.js +5 -0
- package/api/types/ProductFieldData.d.ts +1 -1
- package/api/types/Redirect.d.ts +14 -0
- package/api/types/Redirect.js +5 -0
- package/api/types/Redirects.d.ts +12 -0
- package/api/types/Redirects.js +5 -0
- package/api/types/ReferenceField.d.ts +20 -0
- package/api/types/ReferenceField.js +5 -0
- package/api/types/ReferenceFieldMetadata.d.ts +10 -0
- package/api/types/ReferenceFieldMetadata.js +5 -0
- package/api/types/ReferenceFieldType.d.ts +11 -0
- package/api/types/{NodeType.js → ReferenceFieldType.js} +4 -4
- package/api/types/Robots.d.ts +13 -0
- package/api/types/Robots.js +5 -0
- package/api/types/RobotsRulesItem.d.ts +11 -0
- package/api/types/RobotsRulesItem.js +5 -0
- package/api/types/ScriptApply.d.ts +1 -1
- package/api/types/SitePlan.d.ts +12 -0
- package/api/types/SitePlan.js +5 -0
- package/api/types/SitePlanId.d.ts +21 -0
- package/api/types/SitePlanId.js +20 -0
- package/api/types/SitePlanName.d.ts +15 -0
- package/api/types/SitePlanName.js +14 -0
- package/api/types/SkuFieldData.d.ts +2 -0
- package/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +3 -0
- package/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +3 -0
- package/api/{resources/collections/resources/fields/client/requests/FieldCreate.d.ts → types/StaticField.d.ts} +7 -12
- package/api/types/StaticField.js +5 -0
- package/api/{resources/collections/resources/fields/types/FieldCreateType.d.ts → types/StaticFieldType.d.ts} +11 -11
- package/{dist/api/resources/collections/resources/fields/types/FieldCreateType.js → api/types/StaticFieldType.js} +11 -11
- package/api/types/Text.d.ts +12 -0
- package/api/types/Text.js +5 -0
- package/api/types/TextNode.d.ts +8 -3
- package/api/types/TextNodeText.d.ts +12 -0
- package/api/types/TextNodeText.js +5 -0
- package/api/{resources/pages/types/DomWriteNodesItem.d.ts → types/TextNodeWrite.d.ts} +4 -1
- package/api/types/TextNodeWrite.js +5 -0
- package/api/types/TriggerType.d.ts +1 -15
- package/api/types/UserAccessGroupsItem.d.ts +2 -3
- package/api/types/UserAccessGroupsItemType.d.ts +2 -3
- package/api/types/WebhookList.d.ts +1 -1
- package/api/types/index.d.ts +35 -6
- package/api/types/index.js +35 -6
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +25 -20
- package/dist/api/errors/index.d.ts +1 -1
- package/dist/api/errors/index.js +1 -1
- package/dist/api/resources/accessGroups/client/Client.js +1 -1
- package/dist/api/resources/assets/client/Client.d.ts +15 -7
- package/dist/api/resources/assets/client/Client.js +23 -15
- package/dist/api/resources/collections/client/Client.d.ts +24 -1
- package/dist/api/resources/collections/client/Client.js +30 -5
- package/dist/api/resources/collections/client/requests/CollectionsCreateRequest.d.ts +23 -1
- package/dist/api/resources/collections/resources/fields/client/Client.d.ts +34 -4
- package/dist/api/resources/collections/resources/fields/client/Client.js +40 -8
- package/dist/api/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
- package/dist/api/resources/collections/resources/fields/index.d.ts +0 -1
- package/dist/api/resources/collections/resources/fields/index.js +0 -1
- package/dist/api/resources/collections/resources/index.d.ts +1 -2
- package/dist/api/resources/collections/resources/index.js +2 -3
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +26 -16
- package/dist/api/resources/collections/resources/items/client/Client.js +48 -32
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/types/MultipleItems.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/types/MultipleLiveItems.d.ts +8 -0
- package/dist/api/resources/collections/resources/items/types/MultipleLiveItems.js +5 -0
- package/dist/api/resources/collections/resources/items/types/index.d.ts +1 -0
- package/dist/api/resources/collections/resources/items/types/index.js +1 -0
- package/dist/api/resources/components/client/Client.d.ts +175 -0
- package/dist/api/resources/components/client/Client.js +669 -0
- package/dist/api/resources/components/client/index.d.ts +1 -0
- package/dist/api/resources/components/client/index.js +17 -0
- package/dist/api/resources/components/client/requests/ComponentDomWrite.d.ts +34 -0
- package/dist/api/resources/components/client/requests/ComponentDomWrite.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +25 -0
- package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +28 -0
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +23 -0
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +17 -0
- package/dist/api/resources/components/client/requests/ComponentsListRequest.js +5 -0
- package/dist/api/resources/components/client/requests/index.d.ts +5 -0
- package/dist/api/resources/components/client/requests/index.js +2 -0
- package/dist/api/resources/components/index.d.ts +2 -0
- package/dist/api/resources/components/index.js +18 -0
- package/dist/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -0
- package/dist/api/resources/components/types/ComponentDomWriteNodesItem.js +5 -0
- package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +16 -0
- package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.js +5 -0
- package/dist/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +7 -0
- package/dist/api/resources/components/types/ComponentsUpdateContentResponse.js +5 -0
- package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +7 -0
- package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.js +5 -0
- package/dist/api/resources/components/types/index.d.ts +4 -0
- package/dist/api/resources/components/types/index.js +20 -0
- package/dist/api/resources/ecommerce/client/Client.js +1 -1
- package/dist/api/resources/forms/client/Client.d.ts +54 -0
- package/dist/api/resources/forms/client/Client.js +229 -5
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +23 -0
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js +5 -0
- package/dist/api/resources/forms/client/requests/index.d.ts +1 -0
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/inventory/client/Client.d.ts +3 -1
- package/dist/api/resources/inventory/client/Client.js +5 -3
- package/dist/api/resources/orders/client/Client.d.ts +3 -0
- package/dist/api/resources/orders/client/Client.js +9 -6
- package/dist/api/resources/pages/client/Client.d.ts +31 -10
- package/dist/api/resources/pages/client/Client.js +37 -18
- package/dist/api/resources/pages/client/requests/PageDomWrite.d.ts +34 -0
- package/dist/api/resources/pages/client/requests/PageDomWrite.js +5 -0
- package/dist/api/resources/pages/client/requests/index.d.ts +1 -1
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +8 -19
- package/dist/api/resources/pages/resources/scripts/client/Client.js +13 -22
- package/dist/api/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -0
- package/dist/api/resources/pages/types/PageDomWriteNodesItem.js +5 -0
- package/dist/api/resources/pages/types/index.d.ts +1 -1
- package/dist/api/resources/pages/types/index.js +1 -1
- package/dist/api/resources/products/client/Client.d.ts +5 -6
- package/dist/api/resources/products/client/Client.js +11 -12
- package/dist/api/resources/scripts/client/Client.d.ts +12 -20
- package/dist/api/resources/scripts/client/Client.js +15 -23
- package/dist/api/resources/sites/client/Client.d.ts +79 -0
- package/dist/api/resources/sites/client/Client.js +341 -9
- package/dist/api/resources/sites/client/requests/SitesCreateRequest.d.ts +17 -0
- package/dist/api/resources/sites/client/requests/SitesCreateRequest.js +5 -0
- package/dist/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/dist/api/resources/sites/client/requests/SitesUpdateRequest.js +5 -0
- package/dist/api/resources/sites/client/requests/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +5 -1
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +6 -2
- package/dist/api/resources/sites/resources/index.d.ts +3 -0
- package/dist/api/resources/sites/resources/index.js +4 -1
- package/dist/api/resources/sites/resources/plans/client/Client.d.ts +47 -0
- package/dist/api/resources/sites/resources/plans/client/Client.js +157 -0
- package/dist/api/resources/sites/resources/plans/client/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/plans/client/index.js +2 -0
- package/dist/api/resources/sites/resources/plans/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/plans/index.js +17 -0
- package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +125 -0
- package/dist/api/resources/sites/resources/redirects/client/Client.js +482 -0
- package/dist/api/resources/sites/resources/redirects/client/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/redirects/client/index.js +2 -0
- package/dist/api/resources/sites/resources/redirects/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/redirects/index.js +17 -0
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.d.ts +124 -0
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +486 -0
- package/dist/api/resources/sites/resources/robotsTxt/client/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/robotsTxt/client/index.js +2 -0
- package/dist/api/resources/sites/resources/robotsTxt/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/robotsTxt/index.js +17 -0
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +15 -13
- package/dist/api/resources/sites/resources/scripts/client/Client.js +19 -17
- package/dist/api/resources/token/client/Client.d.ts +2 -1
- package/dist/api/resources/token/client/Client.js +4 -3
- package/dist/api/resources/users/client/Client.d.ts +1 -1
- package/dist/api/resources/users/client/Client.js +6 -6
- package/dist/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -4
- package/dist/api/resources/users/client/requests/UsersUpdateRequest.d.ts +1 -4
- package/dist/api/resources/webhooks/client/Client.d.ts +4 -1
- package/dist/api/resources/webhooks/client/Client.js +8 -5
- package/dist/api/types/Asset.d.ts +4 -0
- package/dist/api/types/AssetVariant.d.ts +3 -0
- package/dist/api/types/Assets.d.ts +1 -0
- package/dist/api/types/CollectionItem.d.ts +5 -1
- package/dist/api/types/CollectionItemPostSingle.d.ts +7 -3
- package/dist/api/types/Component.d.ts +18 -0
- package/dist/api/types/Component.js +5 -0
- package/dist/api/types/ComponentDom.d.ts +13 -0
- package/dist/api/types/ComponentDom.js +5 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +13 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.js +5 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +14 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +5 -0
- package/dist/api/types/ComponentList.d.ts +11 -0
- package/dist/api/types/ComponentList.js +5 -0
- package/dist/api/types/ComponentNode.d.ts +15 -0
- package/dist/api/types/ComponentNode.js +5 -0
- package/dist/api/types/ComponentProperties.d.ts +13 -0
- package/dist/api/types/ComponentProperties.js +5 -0
- package/dist/api/types/ComponentProperty.d.ts +17 -0
- package/dist/api/types/ComponentProperty.js +5 -0
- package/dist/api/types/ComponentPropertyType.d.ts +12 -0
- package/dist/api/types/ComponentPropertyType.js +11 -0
- package/dist/api/types/Conflict.d.ts +4 -0
- package/dist/api/types/Conflict.js +5 -0
- package/dist/api/types/Dom.d.ts +3 -1
- package/dist/api/types/Domain.d.ts +2 -0
- package/dist/api/types/Error_.d.ts +1 -1
- package/dist/api/types/FieldCreate.d.ts +8 -0
- package/dist/api/types/FieldCreate.js +5 -0
- package/dist/api/types/FieldType.d.ts +12 -10
- package/dist/api/types/FieldType.js +11 -9
- package/dist/api/types/ImageNode.d.ts +7 -2
- package/dist/api/types/ImageNodeImage.d.ts +10 -0
- package/dist/api/types/ImageNodeImage.js +5 -0
- package/dist/api/types/Metadata.d.ts +11 -0
- package/dist/api/types/Metadata.js +5 -0
- package/dist/api/types/MetadataOptionsItem.d.ts +12 -0
- package/dist/api/types/MetadataOptionsItem.js +5 -0
- package/dist/api/types/Node.d.ts +11 -8
- package/dist/api/types/NotEnterprisePlanWorkspace.d.ts +4 -0
- package/dist/api/types/NotEnterprisePlanWorkspace.js +5 -0
- package/dist/api/types/OAuthScope.d.ts +8 -0
- package/dist/api/types/OAuthScope.js +2 -0
- package/dist/api/types/OptionField.d.ts +19 -0
- package/dist/api/types/OptionField.js +5 -0
- package/dist/api/types/ProductFieldData.d.ts +1 -1
- package/dist/api/types/Redirect.d.ts +14 -0
- package/dist/api/types/Redirect.js +5 -0
- package/dist/api/types/Redirects.d.ts +12 -0
- package/dist/api/types/Redirects.js +5 -0
- package/dist/api/types/ReferenceField.d.ts +20 -0
- package/dist/api/types/ReferenceField.js +5 -0
- package/dist/api/types/ReferenceFieldMetadata.d.ts +10 -0
- package/dist/api/types/ReferenceFieldMetadata.js +5 -0
- package/dist/api/types/ReferenceFieldType.d.ts +11 -0
- package/dist/api/types/{NodeType.js → ReferenceFieldType.js} +4 -4
- package/dist/api/types/Robots.d.ts +13 -0
- package/dist/api/types/Robots.js +5 -0
- package/dist/api/types/RobotsRulesItem.d.ts +11 -0
- package/dist/api/types/RobotsRulesItem.js +5 -0
- package/dist/api/types/ScriptApply.d.ts +1 -1
- package/dist/api/types/SitePlan.d.ts +12 -0
- package/dist/api/types/SitePlan.js +5 -0
- package/dist/api/types/SitePlanId.d.ts +21 -0
- package/dist/api/types/SitePlanId.js +20 -0
- package/dist/api/types/SitePlanName.d.ts +15 -0
- package/dist/api/types/SitePlanName.js +14 -0
- package/dist/api/types/SkuFieldData.d.ts +2 -0
- package/dist/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +3 -0
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +3 -0
- package/dist/api/{resources/collections/resources/fields/client/requests/FieldCreate.d.ts → types/StaticField.d.ts} +7 -12
- package/dist/api/types/StaticField.js +5 -0
- package/dist/api/{resources/collections/resources/fields/types/FieldCreateType.d.ts → types/StaticFieldType.d.ts} +11 -11
- package/{api/resources/collections/resources/fields/types/FieldCreateType.js → dist/api/types/StaticFieldType.js} +11 -11
- package/dist/api/types/Text.d.ts +12 -0
- package/dist/api/types/Text.js +5 -0
- package/dist/api/types/TextNode.d.ts +8 -3
- package/dist/api/types/TextNodeText.d.ts +12 -0
- package/dist/api/types/TextNodeText.js +5 -0
- package/dist/api/{resources/pages/types/DomWriteNodesItem.d.ts → types/TextNodeWrite.d.ts} +4 -1
- package/dist/api/types/TextNodeWrite.js +5 -0
- package/dist/api/types/TriggerType.d.ts +1 -15
- package/dist/api/types/UserAccessGroupsItem.d.ts +2 -3
- package/dist/api/types/UserAccessGroupsItemType.d.ts +2 -3
- package/dist/api/types/WebhookList.d.ts +1 -1
- package/dist/api/types/index.d.ts +35 -6
- package/dist/api/types/index.js +35 -6
- package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -0
- package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.js +2 -0
- package/dist/serialization/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/collections/resources/fields/client/requests/index.js +1 -3
- package/dist/serialization/resources/collections/resources/fields/index.d.ts +0 -1
- package/dist/serialization/resources/collections/resources/fields/index.js +0 -1
- package/dist/serialization/resources/collections/resources/index.d.ts +1 -2
- package/dist/serialization/resources/collections/resources/index.js +2 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +2 -2
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +2 -2
- package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
- package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +1 -1
- package/dist/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +2 -2
- package/dist/serialization/resources/collections/resources/items/types/MultipleItems.js +2 -2
- package/dist/serialization/resources/collections/resources/items/types/MultipleLiveItems.d.ts +13 -0
- package/dist/serialization/resources/collections/resources/items/types/MultipleLiveItems.js +34 -0
- package/dist/serialization/resources/collections/resources/items/types/index.d.ts +1 -0
- package/dist/serialization/resources/collections/resources/items/types/index.js +1 -0
- package/dist/serialization/resources/components/client/index.d.ts +1 -0
- package/dist/serialization/resources/components/client/index.js +17 -0
- package/dist/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +13 -0
- package/dist/serialization/resources/components/client/requests/ComponentDomWrite.js +34 -0
- package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +13 -0
- package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +34 -0
- package/dist/serialization/resources/components/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/components/client/requests/index.js +7 -0
- package/dist/serialization/resources/components/index.d.ts +2 -0
- package/dist/serialization/resources/components/index.js +18 -0
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +12 -0
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.js +33 -0
- package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +13 -0
- package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +34 -0
- package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +12 -0
- package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.js +33 -0
- package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +12 -0
- package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +33 -0
- package/dist/serialization/resources/components/types/index.d.ts +4 -0
- package/dist/serialization/resources/components/types/index.js +20 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/pages/client/requests/PageDomWrite.d.ts +13 -0
- package/dist/serialization/resources/pages/client/requests/PageDomWrite.js +34 -0
- package/dist/serialization/resources/pages/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/pages/client/requests/index.js +3 -3
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +12 -0
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.js +33 -0
- package/dist/serialization/resources/pages/types/index.d.ts +1 -1
- package/dist/serialization/resources/pages/types/index.js +1 -1
- package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +14 -0
- package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.js +35 -0
- package/dist/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/dist/serialization/resources/{pages/client/requests/DomWrite.js → sites/client/requests/SitesUpdateRequest.js} +4 -4
- package/dist/serialization/resources/sites/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/sites/client/requests/index.js +5 -1
- package/dist/serialization/types/Assets.d.ts +2 -0
- package/dist/serialization/types/Assets.js +2 -0
- package/dist/serialization/types/Component.d.ts +16 -0
- package/dist/serialization/types/Component.js +37 -0
- package/dist/serialization/types/ComponentDom.d.ts +16 -0
- package/dist/serialization/types/ComponentDom.js +37 -0
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +14 -0
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js +35 -0
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +13 -0
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +34 -0
- package/dist/serialization/types/ComponentList.d.ts +15 -0
- package/dist/serialization/types/ComponentList.js +36 -0
- package/dist/serialization/types/ComponentNode.d.ts +15 -0
- package/dist/serialization/types/ComponentNode.js +36 -0
- package/dist/serialization/types/ComponentProperties.d.ts +16 -0
- package/dist/serialization/types/ComponentProperties.js +37 -0
- package/dist/serialization/types/ComponentProperty.d.ts +17 -0
- package/dist/serialization/types/ComponentProperty.js +38 -0
- package/dist/serialization/types/ComponentPropertyType.d.ts +10 -0
- package/dist/serialization/types/{ErrorDetailsItem.js → ComponentPropertyType.js} +2 -5
- package/dist/serialization/types/{NodeType.d.ts → Conflict.d.ts} +3 -3
- package/dist/serialization/types/{NodeType.js → Conflict.js} +2 -2
- package/dist/serialization/types/Dom.d.ts +1 -0
- package/dist/serialization/types/Dom.js +1 -0
- package/dist/serialization/types/Domain.d.ts +1 -0
- package/dist/serialization/types/Domain.js +1 -0
- package/dist/serialization/types/Error_.d.ts +1 -2
- package/dist/serialization/types/Error_.js +1 -2
- package/dist/serialization/types/FieldCreate.d.ts +13 -0
- package/dist/serialization/types/FieldCreate.js +34 -0
- package/dist/serialization/types/FieldType.d.ts +1 -1
- package/dist/serialization/types/FieldType.js +11 -9
- package/dist/serialization/types/ImageNode.d.ts +4 -2
- package/dist/serialization/types/ImageNode.js +4 -2
- package/dist/serialization/types/ImageNodeImage.d.ts +13 -0
- package/{serialization/types/ErrorDetailsItem.js → dist/serialization/types/ImageNodeImage.js} +5 -5
- package/dist/serialization/types/Metadata.d.ts +13 -0
- package/dist/serialization/types/Metadata.js +34 -0
- package/dist/serialization/types/MetadataOptionsItem.d.ts +13 -0
- package/dist/serialization/types/MetadataOptionsItem.js +34 -0
- package/dist/serialization/types/Node.d.ts +11 -8
- package/dist/serialization/types/Node.js +10 -7
- package/dist/serialization/types/NotEnterprisePlanWorkspace.d.ts +10 -0
- package/dist/serialization/types/NotEnterprisePlanWorkspace.js +31 -0
- package/dist/serialization/types/OptionField.d.ts +19 -0
- package/dist/serialization/types/OptionField.js +40 -0
- package/dist/serialization/types/Redirect.d.ts +14 -0
- package/dist/serialization/types/Redirect.js +35 -0
- package/dist/serialization/types/Redirects.d.ts +15 -0
- package/dist/serialization/types/Redirects.js +36 -0
- package/dist/serialization/types/ReferenceField.d.ts +20 -0
- package/dist/serialization/types/ReferenceField.js +41 -0
- package/dist/serialization/types/ReferenceFieldMetadata.d.ts +12 -0
- package/dist/serialization/types/ReferenceFieldMetadata.js +33 -0
- package/dist/serialization/types/ReferenceFieldType.d.ts +10 -0
- package/dist/serialization/types/ReferenceFieldType.js +31 -0
- package/dist/serialization/types/Robots.d.ts +14 -0
- package/dist/serialization/types/Robots.js +35 -0
- package/dist/serialization/types/RobotsRulesItem.d.ts +14 -0
- package/dist/serialization/types/RobotsRulesItem.js +35 -0
- package/dist/serialization/types/SitePlan.d.ts +16 -0
- package/dist/serialization/types/SitePlan.js +37 -0
- package/dist/serialization/types/SitePlanId.d.ts +10 -0
- package/dist/serialization/types/SitePlanId.js +44 -0
- package/dist/serialization/types/SitePlanName.d.ts +10 -0
- package/dist/serialization/types/SitePlanName.js +38 -0
- package/dist/serialization/types/StaticField.d.ts +18 -0
- package/{serialization/resources/collections/resources/fields/client/requests/FieldCreate.js → dist/serialization/types/StaticField.js} +7 -5
- package/dist/serialization/types/StaticFieldType.d.ts +10 -0
- package/{serialization/resources/collections/resources/fields/types/FieldCreateType.js → dist/serialization/types/StaticFieldType.js} +12 -12
- package/dist/serialization/types/Text.d.ts +13 -0
- package/dist/serialization/types/Text.js +34 -0
- package/dist/serialization/types/TextNode.d.ts +4 -2
- package/dist/serialization/types/TextNode.js +4 -2
- package/dist/serialization/types/TextNodeText.d.ts +13 -0
- package/dist/serialization/types/TextNodeText.js +34 -0
- package/dist/serialization/types/TextNodeWrite.d.ts +13 -0
- package/{serialization/resources/pages/types/DomWriteNodesItem.js → dist/serialization/types/TextNodeWrite.js} +3 -3
- package/dist/serialization/types/WebhookList.d.ts +2 -2
- package/dist/serialization/types/WebhookList.js +2 -2
- package/dist/serialization/types/index.d.ts +35 -6
- package/dist/serialization/types/index.js +35 -6
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/WebflowClient.d.ts +3 -0
- package/dist/wrapper/WebflowClient.js +5 -0
- package/dist/wrapper/WebhooksClient.d.ts +39 -0
- package/dist/wrapper/WebhooksClient.js +66 -0
- package/package.json +5 -3
- package/reference.md +2407 -847
- package/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -0
- package/serialization/resources/collections/client/requests/CollectionsCreateRequest.js +2 -0
- package/serialization/resources/collections/resources/fields/client/requests/index.d.ts +0 -1
- package/serialization/resources/collections/resources/fields/client/requests/index.js +1 -3
- package/serialization/resources/collections/resources/fields/index.d.ts +0 -1
- package/serialization/resources/collections/resources/fields/index.js +0 -1
- package/serialization/resources/collections/resources/index.d.ts +1 -2
- package/serialization/resources/collections/resources/index.js +2 -3
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +2 -2
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.js +2 -2
- package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +1 -1
- package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +1 -1
- package/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +2 -2
- package/serialization/resources/collections/resources/items/types/MultipleItems.js +2 -2
- package/serialization/resources/collections/resources/items/types/MultipleLiveItems.d.ts +13 -0
- package/serialization/resources/collections/resources/items/types/MultipleLiveItems.js +34 -0
- package/serialization/resources/collections/resources/items/types/index.d.ts +1 -0
- package/serialization/resources/collections/resources/items/types/index.js +1 -0
- package/serialization/resources/components/client/index.d.ts +1 -0
- package/serialization/resources/components/client/index.js +17 -0
- package/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +13 -0
- package/serialization/resources/components/client/requests/ComponentDomWrite.js +34 -0
- package/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +13 -0
- package/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +34 -0
- package/serialization/resources/components/client/requests/index.d.ts +2 -0
- package/serialization/resources/components/client/requests/index.js +7 -0
- package/serialization/resources/components/index.d.ts +2 -0
- package/serialization/resources/components/index.js +18 -0
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +12 -0
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.js +33 -0
- package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +13 -0
- package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +34 -0
- package/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +12 -0
- package/serialization/resources/components/types/ComponentsUpdateContentResponse.js +33 -0
- package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +12 -0
- package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +33 -0
- package/serialization/resources/components/types/index.d.ts +4 -0
- package/serialization/resources/components/types/index.js +20 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/pages/client/requests/PageDomWrite.d.ts +13 -0
- package/serialization/resources/pages/client/requests/PageDomWrite.js +34 -0
- package/serialization/resources/pages/client/requests/index.d.ts +1 -1
- package/serialization/resources/pages/client/requests/index.js +3 -3
- package/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +12 -0
- package/serialization/resources/pages/types/PageDomWriteNodesItem.js +33 -0
- package/serialization/resources/pages/types/index.d.ts +1 -1
- package/serialization/resources/pages/types/index.js +1 -1
- package/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +14 -0
- package/serialization/resources/sites/client/requests/SitesCreateRequest.js +35 -0
- package/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/serialization/resources/{pages/client/requests/DomWrite.js → sites/client/requests/SitesUpdateRequest.js} +4 -4
- package/serialization/resources/sites/client/requests/index.d.ts +2 -0
- package/serialization/resources/sites/client/requests/index.js +5 -1
- package/serialization/types/Assets.d.ts +2 -0
- package/serialization/types/Assets.js +2 -0
- package/serialization/types/Component.d.ts +16 -0
- package/serialization/types/Component.js +37 -0
- package/serialization/types/ComponentDom.d.ts +16 -0
- package/serialization/types/ComponentDom.js +37 -0
- package/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +14 -0
- package/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js +35 -0
- package/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +13 -0
- package/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +34 -0
- package/serialization/types/ComponentList.d.ts +15 -0
- package/serialization/types/ComponentList.js +36 -0
- package/serialization/types/ComponentNode.d.ts +15 -0
- package/serialization/types/ComponentNode.js +36 -0
- package/serialization/types/ComponentProperties.d.ts +16 -0
- package/serialization/types/ComponentProperties.js +37 -0
- package/serialization/types/ComponentProperty.d.ts +17 -0
- package/serialization/types/ComponentProperty.js +38 -0
- package/serialization/types/ComponentPropertyType.d.ts +10 -0
- package/serialization/types/ComponentPropertyType.js +31 -0
- package/serialization/types/{NodeType.d.ts → Conflict.d.ts} +3 -3
- package/serialization/types/{NodeType.js → Conflict.js} +2 -2
- package/serialization/types/Dom.d.ts +1 -0
- package/serialization/types/Dom.js +1 -0
- package/serialization/types/Domain.d.ts +1 -0
- package/serialization/types/Domain.js +1 -0
- package/serialization/types/Error_.d.ts +1 -2
- package/serialization/types/Error_.js +1 -2
- package/serialization/types/FieldCreate.d.ts +13 -0
- package/serialization/types/FieldCreate.js +34 -0
- package/serialization/types/FieldType.d.ts +1 -1
- package/serialization/types/FieldType.js +11 -9
- package/serialization/types/ImageNode.d.ts +4 -2
- package/serialization/types/ImageNode.js +4 -2
- package/serialization/types/ImageNodeImage.d.ts +13 -0
- package/serialization/types/ImageNodeImage.js +34 -0
- package/serialization/types/Metadata.d.ts +13 -0
- package/serialization/types/Metadata.js +34 -0
- package/serialization/types/MetadataOptionsItem.d.ts +13 -0
- package/serialization/types/MetadataOptionsItem.js +34 -0
- package/serialization/types/Node.d.ts +11 -8
- package/serialization/types/Node.js +10 -7
- package/serialization/types/NotEnterprisePlanWorkspace.d.ts +10 -0
- package/serialization/types/NotEnterprisePlanWorkspace.js +31 -0
- package/serialization/types/OptionField.d.ts +19 -0
- package/serialization/types/OptionField.js +40 -0
- package/serialization/types/Redirect.d.ts +14 -0
- package/serialization/types/Redirect.js +35 -0
- package/serialization/types/Redirects.d.ts +15 -0
- package/serialization/types/Redirects.js +36 -0
- package/serialization/types/ReferenceField.d.ts +20 -0
- package/serialization/types/ReferenceField.js +41 -0
- package/serialization/types/ReferenceFieldMetadata.d.ts +12 -0
- package/serialization/types/ReferenceFieldMetadata.js +33 -0
- package/serialization/types/ReferenceFieldType.d.ts +10 -0
- package/serialization/types/ReferenceFieldType.js +31 -0
- package/serialization/types/Robots.d.ts +14 -0
- package/serialization/types/Robots.js +35 -0
- package/serialization/types/RobotsRulesItem.d.ts +14 -0
- package/serialization/types/RobotsRulesItem.js +35 -0
- package/serialization/types/SitePlan.d.ts +16 -0
- package/serialization/types/SitePlan.js +37 -0
- package/serialization/types/SitePlanId.d.ts +10 -0
- package/serialization/types/SitePlanId.js +44 -0
- package/serialization/types/SitePlanName.d.ts +10 -0
- package/serialization/types/SitePlanName.js +38 -0
- package/serialization/types/StaticField.d.ts +18 -0
- package/{dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.js → serialization/types/StaticField.js} +7 -5
- package/serialization/types/StaticFieldType.d.ts +10 -0
- package/{dist/serialization/resources/collections/resources/fields/types/FieldCreateType.js → serialization/types/StaticFieldType.js} +12 -12
- package/serialization/types/Text.d.ts +13 -0
- package/serialization/types/Text.js +34 -0
- package/serialization/types/TextNode.d.ts +4 -2
- package/serialization/types/TextNode.js +4 -2
- package/serialization/types/TextNodeText.d.ts +13 -0
- package/serialization/types/TextNodeText.js +34 -0
- package/serialization/types/TextNodeWrite.d.ts +13 -0
- package/{dist/serialization/resources/pages/types/DomWriteNodesItem.js → serialization/types/TextNodeWrite.js} +3 -3
- package/serialization/types/WebhookList.d.ts +2 -2
- package/serialization/types/WebhookList.js +2 -2
- package/serialization/types/index.d.ts +35 -6
- package/serialization/types/index.js +35 -6
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/WebflowClient.d.ts +3 -0
- package/wrapper/WebflowClient.js +5 -0
- package/wrapper/WebhooksClient.d.ts +39 -0
- package/wrapper/WebhooksClient.js +66 -0
- package/api/resources/collections/resources/fields/types/index.d.ts +0 -1
- package/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
- package/api/types/NodeType.d.ts +0 -8
- package/dist/api/resources/collections/resources/fields/types/index.d.ts +0 -1
- package/dist/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
- package/dist/api/types/NodeType.d.ts +0 -8
- package/dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +0 -16
- package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +0 -10
- package/dist/serialization/resources/collections/resources/fields/types/index.d.ts +0 -1
- package/dist/serialization/resources/pages/client/requests/DomWrite.d.ts +0 -13
- package/dist/serialization/resources/pages/types/DomWriteNodesItem.d.ts +0 -13
- package/dist/serialization/types/ErrorDetailsItem.d.ts +0 -10
- package/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +0 -16
- package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +0 -10
- package/serialization/resources/collections/resources/fields/types/index.d.ts +0 -1
- package/serialization/resources/pages/client/requests/DomWrite.d.ts +0 -13
- package/serialization/resources/pages/types/DomWriteNodesItem.d.ts +0 -13
- package/serialization/types/ErrorDetailsItem.d.ts +0 -10
- /package/api/resources/collections/resources/{fields/client/requests/FieldCreate.js → items/types/MultipleLiveItems.js} +0 -0
- /package/api/resources/{pages/client/requests/DomWrite.js → components/client/requests/ComponentDomWrite.js} +0 -0
- /package/api/resources/{pages/types/DomWriteNodesItem.js → components/client/requests/ComponentPropertiesWrite.js} +0 -0
- /package/api/{types/ErrorDetailsItem.js → resources/components/client/requests/ComponentsGetContentRequest.js} +0 -0
- /package/{dist/api/resources/collections/resources/fields/client/requests/FieldCreate.js → api/resources/components/client/requests/ComponentsGetPropertiesRequest.js} +0 -0
- /package/{dist/api/resources/pages/client/requests/DomWrite.js → api/resources/components/client/requests/ComponentsListRequest.js} +0 -0
- /package/{dist/api/resources/pages/types/DomWriteNodesItem.js → api/resources/components/types/ComponentDomWriteNodesItem.js} +0 -0
- /package/{dist/api/types/ErrorDetailsItem.js → api/resources/components/types/ComponentPropertiesWritePropertiesItem.js} +0 -0
|
@@ -13,7 +13,7 @@ service:
|
|
|
13
13
|
|
|
14
14
|
Required scope | `pages:read`
|
|
15
15
|
source:
|
|
16
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
16
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
17
17
|
path-parameters:
|
|
18
18
|
site_id:
|
|
19
19
|
type: string
|
|
@@ -38,6 +38,7 @@ service:
|
|
|
38
38
|
response:
|
|
39
39
|
docs: Request was successful
|
|
40
40
|
type: root.PageList
|
|
41
|
+
status-code: 200
|
|
41
42
|
errors:
|
|
42
43
|
- root.BadRequestError
|
|
43
44
|
- root.UnauthorizedError
|
|
@@ -56,8 +57,6 @@ service:
|
|
|
56
57
|
siteId: 6258612d1ee792848f805dcf
|
|
57
58
|
title: Guide to the Galaxy
|
|
58
59
|
slug: guide-to-the-galaxy
|
|
59
|
-
parentId: 6419db964a9c435aa3af6251
|
|
60
|
-
collectionId: 6390c49774a71f12831a08e3
|
|
61
60
|
createdOn: '2024-03-11T10:42:00Z'
|
|
62
61
|
lastUpdated: '2024-03-11T10:42:42Z'
|
|
63
62
|
archived: false
|
|
@@ -83,8 +82,6 @@ service:
|
|
|
83
82
|
siteId: 6258612d1ee792848f805dcf
|
|
84
83
|
title: Towel Day Celebrations
|
|
85
84
|
slug: towel-day
|
|
86
|
-
parentId: 6419db964a9c435aa3af6251
|
|
87
|
-
collectionId: 6390c49774a71f12831a08e3
|
|
88
85
|
createdOn: '2024-05-25T09:00:00Z'
|
|
89
86
|
lastUpdated: '2024-05-25T09:42:00Z'
|
|
90
87
|
archived: false
|
|
@@ -121,7 +118,7 @@ service:
|
|
|
121
118
|
|
|
122
119
|
Required scope | `pages:read`
|
|
123
120
|
source:
|
|
124
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
121
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
125
122
|
path-parameters:
|
|
126
123
|
page_id:
|
|
127
124
|
type: string
|
|
@@ -138,6 +135,7 @@ service:
|
|
|
138
135
|
response:
|
|
139
136
|
docs: Request was successful
|
|
140
137
|
type: root.Page
|
|
138
|
+
status-code: 200
|
|
141
139
|
errors:
|
|
142
140
|
- root.BadRequestError
|
|
143
141
|
- root.UnauthorizedError
|
|
@@ -155,8 +153,6 @@ service:
|
|
|
155
153
|
siteId: 6258612d1ee792848f805dcf
|
|
156
154
|
title: Guide to the Galaxy
|
|
157
155
|
slug: guide-to-the-galaxy
|
|
158
|
-
parentId: 6419db964a9c435aa3af6251
|
|
159
|
-
collectionId: 6390c49774a71f12831a08e3
|
|
160
156
|
createdOn: '2024-03-11T10:42:00Z'
|
|
161
157
|
lastUpdated: '2024-03-11T10:42:42Z'
|
|
162
158
|
archived: false
|
|
@@ -185,9 +181,13 @@ service:
|
|
|
185
181
|
docs: |
|
|
186
182
|
Update Page-level metadata, including SEO and Open Graph fields.
|
|
187
183
|
|
|
184
|
+
<Note>
|
|
185
|
+
Note: When updating Page Metadata in secondary locales, you may only add `slug` to the request if your Site has the [Advanced or Enterprise Localization](https://webflow.com/localization) add-on.
|
|
186
|
+
</Note>
|
|
187
|
+
|
|
188
188
|
Required scope | `pages:write`
|
|
189
189
|
source:
|
|
190
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
190
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
191
191
|
path-parameters:
|
|
192
192
|
page_id:
|
|
193
193
|
type: string
|
|
@@ -206,6 +206,7 @@ service:
|
|
|
206
206
|
response:
|
|
207
207
|
docs: Request was successful
|
|
208
208
|
type: root.Page
|
|
209
|
+
status-code: 200
|
|
209
210
|
errors:
|
|
210
211
|
- root.BadRequestError
|
|
211
212
|
- root.UnauthorizedError
|
|
@@ -248,8 +249,6 @@ service:
|
|
|
248
249
|
siteId: 6258612d1ee792848f805dcf
|
|
249
250
|
title: Guide to the Galaxy
|
|
250
251
|
slug: guide-to-the-galaxy
|
|
251
|
-
parentId: 6419db964a9c435aa3af6251
|
|
252
|
-
collectionId: 6390c49774a71f12831a08e3
|
|
253
252
|
createdOn: '2024-03-11T10:42:00Z'
|
|
254
253
|
lastUpdated: '2024-03-11T10:42:42Z'
|
|
255
254
|
archived: false
|
|
@@ -276,16 +275,25 @@ service:
|
|
|
276
275
|
method: GET
|
|
277
276
|
auth: true
|
|
278
277
|
docs: >
|
|
279
|
-
Get
|
|
278
|
+
Get content from a static page. This includes text nodes, image nodes,
|
|
279
|
+
and component instances with [property
|
|
280
|
+
overrides](https://help.webflow.com/hc/en-us/articles/33961219350547-Component-properties#how-to-modify-property-values-on-component-instances).
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
To retrieve the static content of a component instance, use the [Get
|
|
284
|
+
Component
|
|
285
|
+
Content](/data/reference/pages-and-components/components/get-content)
|
|
286
|
+
endpoint.
|
|
280
287
|
|
|
281
288
|
|
|
282
|
-
If you do not
|
|
283
|
-
return any content that can be localized from the Primary
|
|
289
|
+
<Note>If you do not include a `localeId` in your request, the response
|
|
290
|
+
will return any content that can be localized from the Primary
|
|
291
|
+
locale.</Note>
|
|
284
292
|
|
|
285
293
|
|
|
286
294
|
Required scope | `pages:read`
|
|
287
295
|
source:
|
|
288
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
296
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
289
297
|
path-parameters:
|
|
290
298
|
page_id:
|
|
291
299
|
type: string
|
|
@@ -310,6 +318,7 @@ service:
|
|
|
310
318
|
response:
|
|
311
319
|
docs: Request was successful
|
|
312
320
|
type: root.Dom
|
|
321
|
+
status-code: 200
|
|
313
322
|
errors:
|
|
314
323
|
- root.BadRequestError
|
|
315
324
|
- root.UnauthorizedError
|
|
@@ -318,7 +327,8 @@ service:
|
|
|
318
327
|
- root.TooManyRequestsError
|
|
319
328
|
- root.InternalServerError
|
|
320
329
|
examples:
|
|
321
|
-
-
|
|
330
|
+
- name: PageDOM
|
|
331
|
+
path-parameters:
|
|
322
332
|
page_id: 63c720f9347c2139b248e552
|
|
323
333
|
query-parameters:
|
|
324
334
|
localeId: 65427cf400e02b306eaa04a0
|
|
@@ -326,69 +336,83 @@ service:
|
|
|
326
336
|
body:
|
|
327
337
|
pageId: 658205daa3e8206a523b5ad4
|
|
328
338
|
nodes:
|
|
329
|
-
- id:
|
|
330
|
-
|
|
331
|
-
text:
|
|
332
|
-
html: <h1>The Hitchhiker's Guide to the Galaxy</h1>
|
|
333
|
-
text: The Hitchhiker's Guide to the Galaxy
|
|
339
|
+
- id: id
|
|
340
|
+
text: {}
|
|
334
341
|
attributes:
|
|
335
342
|
key: value
|
|
336
|
-
- id: a245c12d-995b-55ee-5ec7-aa36a6cad627
|
|
337
343
|
type: text
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
<div><h3>Don't Panic!</h3><p>Always know where your towel
|
|
341
|
-
is.</p></div>
|
|
344
|
+
- id: id
|
|
345
|
+
text: {}
|
|
342
346
|
attributes:
|
|
343
347
|
key: value
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
image:
|
|
347
|
-
alt: Marvin, the Paranoid Android
|
|
348
|
-
assetId: 659595234426a9fcbad57043
|
|
348
|
+
type: text
|
|
349
|
+
- id: id
|
|
350
|
+
image: {}
|
|
349
351
|
attributes:
|
|
350
352
|
key: value
|
|
353
|
+
type: image
|
|
354
|
+
- id: id
|
|
355
|
+
componentId: componentId
|
|
356
|
+
propertyOverrides:
|
|
357
|
+
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
358
|
+
type: component-instance
|
|
351
359
|
pagination:
|
|
352
|
-
limit:
|
|
360
|
+
limit: 4
|
|
353
361
|
offset: 0
|
|
354
|
-
total:
|
|
362
|
+
total: 4
|
|
363
|
+
lastUpdated: '2016-10-24T19:42:38Z'
|
|
355
364
|
update-static-content:
|
|
356
365
|
path: /pages/{page_id}/dom
|
|
357
366
|
method: POST
|
|
358
367
|
auth: true
|
|
359
368
|
docs: >
|
|
360
|
-
This endpoint
|
|
361
|
-
|
|
362
|
-
|
|
369
|
+
This endpoint updates content on a static page in **secondary locales**.
|
|
370
|
+
It supports updating up to 1000 nodes in a single request.
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
Before making updates:
|
|
374
|
+
|
|
375
|
+
1. Use the [get page
|
|
376
|
+
content](/data/reference/pages-and-components/pages/get-content)
|
|
377
|
+
endpoint to identify available content nodes and their types
|
|
363
378
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
379
|
+
2. If the page has component instances, retrieve the component's
|
|
380
|
+
properties that you'll override using the [get component
|
|
381
|
+
properties](/data/reference/pages-and-components/components/get-properties)
|
|
382
|
+
endpoint
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
<Note>
|
|
386
|
+
This endpoint is specifically for localized pages. Ensure that the specified `localeId` is a valid **secondary locale** for the site otherwise the request will fail.
|
|
387
|
+
</Note>
|
|
367
388
|
|
|
368
389
|
|
|
369
390
|
Required scope | `pages:write`
|
|
370
391
|
source:
|
|
371
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
392
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
372
393
|
path-parameters:
|
|
373
394
|
page_id:
|
|
374
395
|
type: string
|
|
375
396
|
docs: Unique identifier for a Page
|
|
376
397
|
display-name: Update Page Content
|
|
377
398
|
request:
|
|
378
|
-
name:
|
|
399
|
+
name: PageDomWrite
|
|
379
400
|
query-parameters:
|
|
380
401
|
localeId:
|
|
381
|
-
type:
|
|
382
|
-
docs:
|
|
383
|
-
Unique identifier for a specific locale. Applicable, when using
|
|
384
|
-
localization.
|
|
402
|
+
type: string
|
|
403
|
+
docs: The locale identifier.
|
|
385
404
|
body:
|
|
386
405
|
properties:
|
|
387
|
-
nodes:
|
|
406
|
+
nodes:
|
|
407
|
+
docs: >-
|
|
408
|
+
List of DOM Nodes with the new content that will be updated in
|
|
409
|
+
each node.
|
|
410
|
+
type: list<PageDomWriteNodesItem>
|
|
388
411
|
content-type: application/json
|
|
389
412
|
response:
|
|
390
413
|
docs: Request was successful
|
|
391
414
|
type: UpdateStaticContentResponse
|
|
415
|
+
status-code: 200
|
|
392
416
|
errors:
|
|
393
417
|
- root.BadRequestError
|
|
394
418
|
- root.UnauthorizedError
|
|
@@ -400,39 +424,37 @@ service:
|
|
|
400
424
|
- path-parameters:
|
|
401
425
|
page_id: 63c720f9347c2139b248e552
|
|
402
426
|
query-parameters:
|
|
403
|
-
localeId:
|
|
427
|
+
localeId: localeId
|
|
404
428
|
request:
|
|
405
429
|
nodes:
|
|
406
430
|
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad623
|
|
407
|
-
text: <h1>The Hitchhiker
|
|
431
|
+
text: <h1>The Hitchhiker's Guide to the Galaxy</h1>
|
|
408
432
|
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad627
|
|
409
433
|
text: >-
|
|
410
|
-
<div><h3>Don
|
|
434
|
+
<div><h3>Don't Panic!</h3><p>Always know where your towel
|
|
411
435
|
is.</p></div>
|
|
412
436
|
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad629
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
437
|
+
propertyOverrides:
|
|
438
|
+
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
439
|
+
text: <div><h1>Time is an <em>illusion</em></h1></div>
|
|
440
|
+
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f1
|
|
441
|
+
text: Life, the Universe and Everything
|
|
416
442
|
response:
|
|
417
443
|
body:
|
|
418
444
|
errors:
|
|
419
445
|
- errors
|
|
420
446
|
source:
|
|
421
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
447
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
422
448
|
display-name: Pages
|
|
449
|
+
docs: Pages are the pages in your Webflow site.
|
|
423
450
|
types:
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
text:
|
|
430
|
-
type: string
|
|
431
|
-
docs: >-
|
|
432
|
-
HTML content of the node, including the HTML tag. The HTML tags must
|
|
433
|
-
be the same as what's returned from the Get Content endpoint.
|
|
451
|
+
PageDomWriteNodesItem:
|
|
452
|
+
discriminated: false
|
|
453
|
+
union:
|
|
454
|
+
- root.TextNodeWrite
|
|
455
|
+
- root.ComponentInstanceNodePropertyOverridesWrite
|
|
434
456
|
source:
|
|
435
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
457
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
436
458
|
inline: true
|
|
437
459
|
UpdateStaticContentResponse:
|
|
438
460
|
properties:
|
|
@@ -440,4 +462,4 @@ types:
|
|
|
440
462
|
docs: A list of error messages, if any.
|
|
441
463
|
type: list<string>
|
|
442
464
|
source:
|
|
443
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
465
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -21,7 +21,7 @@ service:
|
|
|
21
21
|
|
|
22
22
|
Required scope | `ecommerce:read`
|
|
23
23
|
source:
|
|
24
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
24
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
25
25
|
path-parameters:
|
|
26
26
|
site_id:
|
|
27
27
|
type: string
|
|
@@ -41,6 +41,7 @@ service:
|
|
|
41
41
|
response:
|
|
42
42
|
docs: Request was successful
|
|
43
43
|
type: root.ProductAndSkUsList
|
|
44
|
+
status-code: 200
|
|
44
45
|
errors:
|
|
45
46
|
- root.BadRequestError
|
|
46
47
|
- root.UnauthorizedError
|
|
@@ -112,7 +113,7 @@ service:
|
|
|
112
113
|
- A single `sku-property` would be `color`. Within the `color` property, list the various colors of T-shirts as an array of `enum` values: `royal-blue`, `crimson-red`, and `forrest-green`.
|
|
113
114
|
- Once, you've created a Product and its `sku-properties` with `enum` values, Webflow will create a **default SKU**, which will automatically be a combination of the first `sku-properties` you've created.
|
|
114
115
|
- In our example, the default SKU will be a Royal Blue T-Shirt, because our first `enum` of our Color `sku-property` is Royal Blue.
|
|
115
|
-
- After you've created your product, you can create additional SKUs using the [Create SKU endpoint.](/data/reference/ecommerce/products
|
|
116
|
+
- After you've created your product, you can create additional SKUs using the [Create SKU endpoint.](/data/reference/ecommerce/products/create-sku)
|
|
116
117
|
|
|
117
118
|
Upon creation, the default product type will be `Advanced`, which
|
|
118
119
|
ensures all Product and SKU fields will be shown to users in the
|
|
@@ -121,7 +122,7 @@ service:
|
|
|
121
122
|
|
|
122
123
|
Required scope | `ecommerce:write`
|
|
123
124
|
source:
|
|
124
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
125
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
125
126
|
path-parameters:
|
|
126
127
|
site_id:
|
|
127
128
|
type: string
|
|
@@ -138,6 +139,7 @@ service:
|
|
|
138
139
|
response:
|
|
139
140
|
docs: Request was successful
|
|
140
141
|
type: root.ProductAndSkUs
|
|
142
|
+
status-code: 200
|
|
141
143
|
errors:
|
|
142
144
|
- root.BadRequestError
|
|
143
145
|
- root.UnauthorizedError
|
|
@@ -202,7 +204,7 @@ service:
|
|
|
202
204
|
|
|
203
205
|
Required scope | `ecommerce:read`
|
|
204
206
|
source:
|
|
205
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
207
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
206
208
|
path-parameters:
|
|
207
209
|
site_id:
|
|
208
210
|
type: string
|
|
@@ -214,6 +216,7 @@ service:
|
|
|
214
216
|
response:
|
|
215
217
|
docs: Request was successful
|
|
216
218
|
type: root.ProductAndSkUs
|
|
219
|
+
status-code: 200
|
|
217
220
|
errors:
|
|
218
221
|
- root.BadRequestError
|
|
219
222
|
- root.UnauthorizedError
|
|
@@ -283,7 +286,7 @@ service:
|
|
|
283
286
|
|
|
284
287
|
Required scope | `ecommerce:write`
|
|
285
288
|
source:
|
|
286
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
289
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
287
290
|
path-parameters:
|
|
288
291
|
site_id:
|
|
289
292
|
type: string
|
|
@@ -303,6 +306,7 @@ service:
|
|
|
303
306
|
response:
|
|
304
307
|
docs: Request was successful
|
|
305
308
|
type: root.Product
|
|
309
|
+
status-code: 200
|
|
306
310
|
errors:
|
|
307
311
|
- root.BadRequestError
|
|
308
312
|
- root.UnauthorizedError
|
|
@@ -358,7 +362,7 @@ service:
|
|
|
358
362
|
|
|
359
363
|
Required scope | `ecommerce:write`
|
|
360
364
|
source:
|
|
361
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
365
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
362
366
|
path-parameters:
|
|
363
367
|
site_id:
|
|
364
368
|
type: string
|
|
@@ -379,6 +383,7 @@ service:
|
|
|
379
383
|
response:
|
|
380
384
|
docs: Request was successful
|
|
381
385
|
type: ProductsCreateSkuResponse
|
|
386
|
+
status-code: 200
|
|
382
387
|
errors:
|
|
383
388
|
- root.BadRequestError
|
|
384
389
|
- root.UnauthorizedError
|
|
@@ -396,6 +401,8 @@ service:
|
|
|
396
401
|
- {}
|
|
397
402
|
response:
|
|
398
403
|
body:
|
|
404
|
+
required:
|
|
405
|
+
key: value
|
|
399
406
|
skus:
|
|
400
407
|
- id: 580e63fc8c9a982ac9b8b745
|
|
401
408
|
cmsLocaleId: 653ad57de882f528b32e810e
|
|
@@ -426,7 +433,7 @@ service:
|
|
|
426
433
|
|
|
427
434
|
Required scope | `ecommerce:write`
|
|
428
435
|
source:
|
|
429
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
436
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
430
437
|
path-parameters:
|
|
431
438
|
site_id:
|
|
432
439
|
type: string
|
|
@@ -448,6 +455,7 @@ service:
|
|
|
448
455
|
response:
|
|
449
456
|
docs: Request was successful
|
|
450
457
|
type: root.Sku
|
|
458
|
+
status-code: 200
|
|
451
459
|
errors:
|
|
452
460
|
- root.BadRequestError
|
|
453
461
|
- root.UnauthorizedError
|
|
@@ -491,10 +499,11 @@ service:
|
|
|
491
499
|
track-inventory: true
|
|
492
500
|
quantity: 10
|
|
493
501
|
source:
|
|
494
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
502
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
495
503
|
types:
|
|
496
504
|
ProductsCreateSkuResponse:
|
|
497
505
|
properties:
|
|
506
|
+
required: optional<unknown>
|
|
498
507
|
skus: optional<list<root.Sku>>
|
|
499
508
|
source:
|
|
500
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
509
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -9,29 +9,18 @@ service:
|
|
|
9
9
|
method: GET
|
|
10
10
|
auth: true
|
|
11
11
|
docs: >
|
|
12
|
-
|
|
12
|
+
Get a list of scripts that have been registered to a site. A site can
|
|
13
|
+
have a maximum of 800 registered scripts.
|
|
13
14
|
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
to a Site via the `registered_scripts` endpoints, and then applied to a
|
|
19
|
-
Site or Page using the appropriate
|
|
20
|
-
|
|
21
|
-
`custom_code` endpoints.
|
|
22
|
-
|
|
23
|
-
Additionally, Scripts can be remotely hosted, or registered as inline
|
|
24
|
-
snippets.
|
|
25
|
-
|
|
26
|
-
<blockquote class="callout callout_info" theme="📘">Access to this
|
|
27
|
-
endpoint requires a bearer token from a <a
|
|
28
|
-
href="https://developers.webflow.com/data/docs/getting-started-data-clients">Data
|
|
29
|
-
Client App</a>.</blockquote>
|
|
16
|
+
<Note title="Script Registration">
|
|
17
|
+
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
|
|
18
|
+
</Note>
|
|
30
19
|
|
|
31
20
|
|
|
32
21
|
Required scope | `custom_code:read`
|
|
33
22
|
source:
|
|
34
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
23
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
35
24
|
path-parameters:
|
|
36
25
|
site_id:
|
|
37
26
|
type: string
|
|
@@ -40,6 +29,7 @@ service:
|
|
|
40
29
|
response:
|
|
41
30
|
docs: Request was successful
|
|
42
31
|
type: root.RegisteredScriptList
|
|
32
|
+
status-code: 200
|
|
43
33
|
errors:
|
|
44
34
|
- root.BadRequestError
|
|
45
35
|
- root.UnauthorizedError
|
|
@@ -56,7 +46,6 @@ service:
|
|
|
56
46
|
canCopy: false
|
|
57
47
|
displayName: Alert
|
|
58
48
|
hostedLocation: https://cdn.webflow.io/.../alert-0.0.1.js
|
|
59
|
-
integrityHash: integrityHash
|
|
60
49
|
createdOn: '2022-10-26T00:28:54.191Z'
|
|
61
50
|
lastUpdated: lastUpdated
|
|
62
51
|
version: 0.0.1
|
|
@@ -64,7 +53,6 @@ service:
|
|
|
64
53
|
canCopy: false
|
|
65
54
|
displayName: Alert
|
|
66
55
|
hostedLocation: https://cdn.webflow.io/.../alert-0.0.2.js
|
|
67
|
-
integrityHash: integrityHash
|
|
68
56
|
createdOn: '2022-10-26T00:28:54.191Z'
|
|
69
57
|
lastUpdated: lastUpdated
|
|
70
58
|
version: 0.0.2
|
|
@@ -81,30 +69,16 @@ service:
|
|
|
81
69
|
path: /sites/{site_id}/registered_scripts/hosted
|
|
82
70
|
method: POST
|
|
83
71
|
auth: true
|
|
84
|
-
docs:
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
In order to use the Custom Code APIs for Sites and Pages, Custom Code
|
|
89
|
-
Scripts must first be registered
|
|
90
|
-
|
|
91
|
-
to a Site via the `registered_scripts` endpoints, and then applied to a
|
|
92
|
-
Site or Page using the appropriate
|
|
93
|
-
|
|
94
|
-
`custom_code` endpoints.
|
|
95
|
-
|
|
96
|
-
Additionally, Scripts can be remotely hosted, or registered as inline
|
|
97
|
-
snippets.
|
|
98
|
-
|
|
99
|
-
<blockquote class="callout callout_info" theme="📘">Access to this
|
|
100
|
-
endpoint requires a bearer token from a <a
|
|
101
|
-
href="https://developers.webflow.com/data/docs/getting-started-data-clients">Data
|
|
102
|
-
Client App</a>.</blockquote>
|
|
72
|
+
docs: |
|
|
73
|
+
Register a hosted script to a site.
|
|
103
74
|
|
|
75
|
+
<Note title="Script Registration">
|
|
76
|
+
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
|
|
77
|
+
</Note>
|
|
104
78
|
|
|
105
79
|
Required scope | `custom_code:write`
|
|
106
80
|
source:
|
|
107
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
81
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
108
82
|
path-parameters:
|
|
109
83
|
site_id:
|
|
110
84
|
type: string
|
|
@@ -140,6 +114,7 @@ service:
|
|
|
140
114
|
response:
|
|
141
115
|
docs: Request was successful
|
|
142
116
|
type: root.CustomCodeHostedResponse
|
|
117
|
+
status-code: 201
|
|
143
118
|
errors:
|
|
144
119
|
- root.BadRequestError
|
|
145
120
|
- root.UnauthorizedError
|
|
@@ -170,28 +145,18 @@ service:
|
|
|
170
145
|
method: POST
|
|
171
146
|
auth: true
|
|
172
147
|
docs: >
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
In order to use the Custom Code APIs for Sites and Pages, Custom Code
|
|
178
|
-
Scripts must first be registered
|
|
179
|
-
|
|
180
|
-
to a Site via the `registered_scripts` endpoints, and then applied to a
|
|
181
|
-
Site or Page using the appropriate
|
|
182
|
-
|
|
183
|
-
`custom_code` endpoints.
|
|
148
|
+
Register an inline script to a site. Inline scripts are limited to 2000
|
|
149
|
+
characters.
|
|
184
150
|
|
|
185
151
|
|
|
186
|
-
<
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
Client App</a>.</blockquote>
|
|
152
|
+
<Note title="Script Registration">
|
|
153
|
+
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
|
|
154
|
+
</Note>
|
|
190
155
|
|
|
191
156
|
|
|
192
157
|
Required scope | `custom_code:write`
|
|
193
158
|
source:
|
|
194
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
159
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
195
160
|
path-parameters:
|
|
196
161
|
site_id:
|
|
197
162
|
type: string
|
|
@@ -229,6 +194,7 @@ service:
|
|
|
229
194
|
response:
|
|
230
195
|
docs: Created
|
|
231
196
|
type: root.CustomCodeInlineResponse
|
|
197
|
+
status-code: 201
|
|
232
198
|
errors:
|
|
233
199
|
- root.BadRequestError
|
|
234
200
|
- root.UnauthorizedError
|
|
@@ -249,9 +215,8 @@ service:
|
|
|
249
215
|
displayName: Alert
|
|
250
216
|
hostedLocation: >-
|
|
251
217
|
https://uploads-ssl.webflow.com/6258612d1ee792848f805dcf%2F64b6c769ff52ba6c3d904a91%2F660d6e15b3d1696f2d2b1447%2Falert-0.0.1.js
|
|
252
|
-
integrityHash: integrityHash
|
|
253
218
|
createdOn: '2022-10-26T00:28:54.191Z'
|
|
254
219
|
lastUpdated: lastUpdated
|
|
255
220
|
version: 0.0.1
|
|
256
221
|
source:
|
|
257
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
222
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -8,11 +8,17 @@ service:
|
|
|
8
8
|
path: /sites/{site_id}/activity_logs
|
|
9
9
|
method: GET
|
|
10
10
|
auth: true
|
|
11
|
-
docs:
|
|
12
|
-
Retrieve Activity Logs for a specific Site.
|
|
13
|
-
|
|
11
|
+
docs: >
|
|
12
|
+
Retrieve Activity Logs for a specific Site.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
<Warning title="Enterprise Only">This endpoint requires an Enterprise
|
|
16
|
+
workspace.</Warning>
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
Required scope: `site_activity:read`
|
|
14
20
|
source:
|
|
15
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
21
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
16
22
|
path-parameters:
|
|
17
23
|
site_id:
|
|
18
24
|
type: string
|
|
@@ -32,6 +38,7 @@ service:
|
|
|
32
38
|
response:
|
|
33
39
|
docs: A list of site activity logs
|
|
34
40
|
type: root.SiteActivityLogResponse
|
|
41
|
+
status-code: 200
|
|
35
42
|
errors:
|
|
36
43
|
- root.ForbiddenError
|
|
37
44
|
- root.NotFoundError
|
|
@@ -53,13 +60,9 @@ service:
|
|
|
53
60
|
displayName: John Doe
|
|
54
61
|
resourceId: 654c16c7b229e56bcf26870c
|
|
55
62
|
resourceName: foo-bar
|
|
56
|
-
newValue: newValue
|
|
57
|
-
previousValue: previousValue
|
|
58
|
-
payload:
|
|
59
|
-
key: value
|
|
60
63
|
pagination:
|
|
61
64
|
limit: 25
|
|
62
65
|
offset: 0
|
|
63
66
|
total: 1
|
|
64
67
|
source:
|
|
65
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
68
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|