webflow-api 3.0.1 → 3.1.0
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 +526 -221
- package/.mock/definition/accessGroups.yml +3 -3
- package/.mock/definition/assets.yml +10 -9
- package/.mock/definition/collections/fields.yml +16 -14
- package/.mock/definition/collections/items.yml +168 -35
- package/.mock/definition/collections.yml +6 -5
- package/.mock/definition/components.yml +486 -0
- package/.mock/definition/ecommerce.yml +2 -2
- package/.mock/definition/forms.yml +7 -6
- package/.mock/definition/inventory.yml +6 -4
- package/.mock/definition/orders.yml +11 -9
- package/.mock/definition/pages/scripts.yml +18 -17
- package/.mock/definition/pages.yml +91 -64
- package/.mock/definition/products.yml +9 -9
- package/.mock/definition/scripts.yml +12 -16
- package/.mock/definition/sites/activityLogs.yml +2 -2
- package/.mock/definition/sites/plans.yml +40 -0
- package/.mock/definition/sites/redirects.yml +190 -0
- package/.mock/definition/sites/scripts.yml +16 -21
- package/.mock/definition/sites.yml +202 -6
- package/.mock/definition/token.yml +5 -4
- package/.mock/definition/users.yml +8 -8
- package/.mock/definition/webhooks.yml +9 -9
- 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 +5 -0
- package/api/resources/assets/client/Client.js +13 -8
- package/api/resources/collections/client/Client.d.ts +3 -0
- package/api/resources/collections/client/Client.js +7 -4
- package/api/resources/collections/resources/fields/client/Client.js +3 -3
- package/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +11 -10
- package/api/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- package/api/resources/collections/resources/items/client/Client.d.ts +8 -5
- package/api/resources/collections/resources/items/client/Client.js +26 -21
- package/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.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 +176 -0
- package/api/resources/components/client/Client.js +670 -0
- package/api/resources/components/client/index.d.ts +1 -0
- package/api/resources/components/client/index.js +17 -0
- 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/ComponentDomWriteNodesItem.js +5 -0
- package/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +16 -0
- package/api/resources/components/types/ComponentPropertiesWritePropertiesItem.js +5 -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 +3 -0
- package/api/resources/forms/client/Client.js +8 -5
- 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 +26 -10
- package/api/resources/pages/client/Client.js +32 -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 +6 -3
- package/api/resources/pages/resources/scripts/client/Client.js +11 -6
- 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 +3 -3
- package/api/resources/scripts/client/Client.js +6 -6
- package/api/resources/sites/client/Client.d.ts +70 -0
- package/api/resources/sites/client/Client.js +330 -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 +1 -1
- package/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
- package/api/resources/sites/resources/index.d.ts +2 -0
- package/api/resources/sites/resources/index.js +3 -1
- package/api/resources/sites/resources/plans/client/Client.d.ts +45 -0
- package/api/resources/sites/resources/plans/client/Client.js +155 -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/api/resources/sites/resources/plans/index.js +17 -0
- package/api/resources/sites/resources/redirects/client/Client.d.ts +115 -0
- package/api/resources/sites/resources/redirects/client/Client.js +472 -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/api/resources/sites/resources/redirects/index.js +17 -0
- package/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
- package/api/resources/sites/resources/scripts/client/Client.js +8 -8
- 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/webhooks/client/Client.d.ts +4 -1
- package/api/resources/webhooks/client/Client.js +8 -5
- 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/api/types/Dom.d.ts +1 -1
- package/api/types/Domain.d.ts +2 -0
- package/api/types/Error_.d.ts +1 -1
- package/api/types/FieldType.d.ts +10 -10
- package/api/types/FieldType.js +9 -9
- package/api/types/ImageNode.d.ts +6 -2
- package/api/types/ImageNodeImage.d.ts +7 -0
- package/api/types/ImageNodeImage.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/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/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/Text.d.ts +9 -0
- package/api/types/Text.js +5 -0
- package/api/types/TextNode.d.ts +7 -3
- package/api/types/TextNodeText.d.ts +9 -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 +15 -15
- package/api/types/UserAccessGroupsItem.d.ts +2 -3
- package/api/types/UserAccessGroupsItemType.d.ts +2 -3
- package/api/types/index.d.ts +23 -6
- package/api/types/index.js +23 -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 +5 -0
- package/dist/api/resources/assets/client/Client.js +13 -8
- package/dist/api/resources/collections/client/Client.d.ts +3 -0
- package/dist/api/resources/collections/client/Client.js +7 -4
- package/dist/api/resources/collections/resources/fields/client/Client.js +3 -3
- package/dist/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +11 -10
- package/dist/api/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +8 -5
- package/dist/api/resources/collections/resources/items/client/Client.js +26 -21
- package/dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.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 +176 -0
- package/dist/api/resources/components/client/Client.js +670 -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 +3 -0
- package/dist/api/resources/forms/client/Client.js +8 -5
- 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 +26 -10
- package/dist/api/resources/pages/client/Client.js +32 -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 +6 -3
- package/dist/api/resources/pages/resources/scripts/client/Client.js +11 -6
- 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 +3 -3
- package/dist/api/resources/scripts/client/Client.js +6 -6
- package/dist/api/resources/sites/client/Client.d.ts +70 -0
- package/dist/api/resources/sites/client/Client.js +330 -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 +1 -1
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
- package/dist/api/resources/sites/resources/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/index.js +3 -1
- package/dist/api/resources/sites/resources/plans/client/Client.d.ts +45 -0
- package/dist/api/resources/sites/resources/plans/client/Client.js +155 -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 +115 -0
- package/dist/api/resources/sites/resources/redirects/client/Client.js +472 -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/scripts/client/Client.d.ts +4 -4
- package/dist/api/resources/sites/resources/scripts/client/Client.js +8 -8
- 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/webhooks/client/Client.d.ts +4 -1
- package/dist/api/resources/webhooks/client/Client.js +8 -5
- 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/Dom.d.ts +1 -1
- package/dist/api/types/Domain.d.ts +2 -0
- package/dist/api/types/Error_.d.ts +1 -1
- package/dist/api/types/FieldType.d.ts +10 -10
- package/dist/api/types/FieldType.js +9 -9
- package/dist/api/types/ImageNode.d.ts +6 -2
- package/dist/api/types/ImageNodeImage.d.ts +7 -0
- package/dist/api/types/ImageNodeImage.js +5 -0
- package/dist/api/types/Node.d.ts +11 -8
- package/dist/api/types/{ErrorDetailsItem.d.ts → NotEnterprisePlanWorkspace.d.ts} +1 -1
- package/dist/api/types/NotEnterprisePlanWorkspace.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/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/Text.d.ts +9 -0
- package/dist/api/types/Text.js +5 -0
- package/dist/api/types/TextNode.d.ts +7 -3
- package/dist/api/types/TextNodeText.d.ts +9 -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 +15 -15
- package/dist/api/types/UserAccessGroupsItem.d.ts +2 -3
- package/dist/api/types/UserAccessGroupsItemType.d.ts +2 -3
- package/dist/api/types/index.d.ts +23 -6
- package/dist/api/types/index.js +23 -6
- package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +1 -1
- package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- 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/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/{serialization/resources/pages/client/requests/DomWrite.js → dist/serialization/resources/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/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/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/FieldType.d.ts +1 -1
- package/dist/serialization/types/FieldType.js +9 -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/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/{NodeType.js → NotEnterprisePlanWorkspace.js} +2 -2
- 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/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/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/index.d.ts +23 -6
- package/dist/serialization/types/index.js +23 -6
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1844 -778
- package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +1 -1
- package/serialization/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- 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/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/{dist/serialization/resources/pages/client/requests/DomWrite.js → serialization/resources/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/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/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/FieldType.d.ts +1 -1
- package/serialization/types/FieldType.js +9 -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/Node.d.ts +11 -8
- package/serialization/types/Node.js +10 -7
- package/serialization/types/NotEnterprisePlanWorkspace.d.ts +10 -0
- package/serialization/types/{NodeType.js → NotEnterprisePlanWorkspace.js} +2 -2
- 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/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/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/index.d.ts +23 -6
- package/serialization/types/index.js +23 -6
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
- package/api/types/NodeType.d.ts +0 -8
- package/api/types/NodeType.js +0 -10
- package/dist/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
- package/dist/api/types/NodeType.d.ts +0 -8
- package/dist/api/types/NodeType.js +0 -10
- 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/dist/serialization/types/NodeType.d.ts +0 -10
- 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/serialization/types/NodeType.d.ts +0 -10
- /package/api/resources/{pages/client/requests/DomWrite.js → collections/resources/items/types/MultipleLiveItems.js} +0 -0
- /package/api/resources/{pages/types/DomWriteNodesItem.js → components/client/requests/ComponentDomWrite.js} +0 -0
- /package/api/{types/ErrorDetailsItem.js → resources/components/client/requests/ComponentPropertiesWrite.js} +0 -0
- /package/{dist/api/resources/pages/client/requests/DomWrite.js → api/resources/components/client/requests/ComponentsGetContentRequest.js} +0 -0
- /package/{dist/api/resources/pages/types/DomWriteNodesItem.js → api/resources/components/client/requests/ComponentsGetPropertiesRequest.js} +0 -0
- /package/{dist/api/types/ErrorDetailsItem.js → api/resources/components/client/requests/ComponentsListRequest.js} +0 -0
|
@@ -9,15 +9,16 @@ types:
|
|
|
9
9
|
- disputed
|
|
10
10
|
- unfulfilled
|
|
11
11
|
source:
|
|
12
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
12
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
13
13
|
OrdersRefundRequestReason:
|
|
14
14
|
enum:
|
|
15
15
|
- duplicate
|
|
16
16
|
- fraudulent
|
|
17
17
|
- requested
|
|
18
18
|
docs: The reason for the refund
|
|
19
|
+
inline: true
|
|
19
20
|
source:
|
|
20
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
21
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
21
22
|
imports:
|
|
22
23
|
root: __package__.yml
|
|
23
24
|
service:
|
|
@@ -33,7 +34,7 @@ service:
|
|
|
33
34
|
|
|
34
35
|
Required scope | `ecommerce:read`
|
|
35
36
|
source:
|
|
36
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
37
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
37
38
|
path-parameters:
|
|
38
39
|
site_id:
|
|
39
40
|
type: string
|
|
@@ -423,7 +424,7 @@ service:
|
|
|
423
424
|
|
|
424
425
|
Required scope | `ecommerce:read`
|
|
425
426
|
source:
|
|
426
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
427
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
427
428
|
path-parameters:
|
|
428
429
|
site_id:
|
|
429
430
|
type: string
|
|
@@ -647,7 +648,7 @@ service:
|
|
|
647
648
|
|
|
648
649
|
Required scope | `ecommerce:write`
|
|
649
650
|
source:
|
|
650
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
651
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
651
652
|
path-parameters:
|
|
652
653
|
site_id:
|
|
653
654
|
type: string
|
|
@@ -887,7 +888,7 @@ service:
|
|
|
887
888
|
|
|
888
889
|
Required scope | `ecommerce:write`
|
|
889
890
|
source:
|
|
890
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
891
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
891
892
|
path-parameters:
|
|
892
893
|
site_id:
|
|
893
894
|
type: string
|
|
@@ -1119,7 +1120,7 @@ service:
|
|
|
1119
1120
|
|
|
1120
1121
|
Required scope | `ecommerce:write`
|
|
1121
1122
|
source:
|
|
1122
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
1123
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
1123
1124
|
path-parameters:
|
|
1124
1125
|
site_id:
|
|
1125
1126
|
type: string
|
|
@@ -1342,7 +1343,7 @@ service:
|
|
|
1342
1343
|
|
|
1343
1344
|
Required scope | `ecommerce:write`
|
|
1344
1345
|
source:
|
|
1345
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
1346
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
1346
1347
|
path-parameters:
|
|
1347
1348
|
site_id:
|
|
1348
1349
|
type: string
|
|
@@ -1565,5 +1566,6 @@ service:
|
|
|
1565
1566
|
url: >-
|
|
1566
1567
|
https://webflow.com/dashboard/download-digital-product?payload=5d93ba5e38c6b0160ab711d3;e7634a;5eb1aac72912ec06f561278c;5e9a5eba75e0ac242e1b6f63:ka2nehxy:4a1ee0a632feaab94294350087215ed89533f2f530903e3b933b638940e921aa
|
|
1567
1568
|
source:
|
|
1568
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
1569
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
1569
1570
|
display-name: Orders
|
|
1571
|
+
docs: Orders are the orders for your Webflow site.
|
|
@@ -20,15 +20,14 @@ service:
|
|
|
20
20
|
|
|
21
21
|
`custom_code` endpoints.
|
|
22
22
|
|
|
23
|
-
|
|
24
|
-
endpoint requires a bearer token from a
|
|
25
|
-
|
|
26
|
-
Client App</a>.</blockquote>
|
|
23
|
+
|
|
24
|
+
<Note>Access to this endpoint requires a bearer token from a [Data
|
|
25
|
+
Client App](/data/docs/getting-started-data-clients).</Note>
|
|
27
26
|
|
|
28
27
|
|
|
29
28
|
Required scope | `custom_code:read`
|
|
30
29
|
source:
|
|
31
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
30
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
32
31
|
path-parameters:
|
|
33
32
|
page_id:
|
|
34
33
|
type: string
|
|
@@ -70,17 +69,19 @@ service:
|
|
|
70
69
|
to a Site via the `registered_scripts` endpoints, and then applied to a
|
|
71
70
|
Site or Page using the appropriate
|
|
72
71
|
|
|
73
|
-
`custom_code` endpoints.
|
|
72
|
+
`custom_code` endpoints.
|
|
73
|
+
|
|
74
74
|
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
75
|
+
A site can have a maximum of 800 registered scripts.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
<Note>Access to this endpoint requires a bearer token from a [Data
|
|
79
|
+
Client App](/data/docs/getting-started-data-clients).</Note>
|
|
79
80
|
|
|
80
81
|
|
|
81
82
|
Required scope | `custom_code:write`
|
|
82
83
|
source:
|
|
83
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
84
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
84
85
|
path-parameters:
|
|
85
86
|
page_id:
|
|
86
87
|
type: string
|
|
@@ -96,6 +97,7 @@ service:
|
|
|
96
97
|
- root.BadRequestError
|
|
97
98
|
- root.UnauthorizedError
|
|
98
99
|
- root.NotFoundError
|
|
100
|
+
- root.ConflictError
|
|
99
101
|
- root.TooManyRequestsError
|
|
100
102
|
- root.InternalServerError
|
|
101
103
|
examples:
|
|
@@ -142,15 +144,14 @@ service:
|
|
|
142
144
|
|
|
143
145
|
`custom_code` endpoints.
|
|
144
146
|
|
|
145
|
-
|
|
146
|
-
endpoint requires a bearer token from a
|
|
147
|
-
|
|
148
|
-
Client App</a>.</blockquote>
|
|
147
|
+
|
|
148
|
+
<Note>Access to this endpoint requires a bearer token from a [Data
|
|
149
|
+
Client App](/data/docs/getting-started-data-clients).</Note>
|
|
149
150
|
|
|
150
151
|
|
|
151
152
|
Required scope | `custom_code:write`
|
|
152
153
|
source:
|
|
153
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
154
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
154
155
|
path-parameters:
|
|
155
156
|
page_id:
|
|
156
157
|
type: string
|
|
@@ -166,4 +167,4 @@ service:
|
|
|
166
167
|
- path-parameters:
|
|
167
168
|
page_id: 63c720f9347c2139b248e552
|
|
168
169
|
source:
|
|
169
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
170
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -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
|
|
@@ -121,7 +121,7 @@ service:
|
|
|
121
121
|
|
|
122
122
|
Required scope | `pages:read`
|
|
123
123
|
source:
|
|
124
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
124
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
125
125
|
path-parameters:
|
|
126
126
|
page_id:
|
|
127
127
|
type: string
|
|
@@ -187,7 +187,7 @@ service:
|
|
|
187
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
|
|
@@ -276,16 +276,23 @@ service:
|
|
|
276
276
|
method: GET
|
|
277
277
|
auth: true
|
|
278
278
|
docs: >
|
|
279
|
-
Get static content from a static page.
|
|
279
|
+
Get static content from a static page. This includes text nodes, image
|
|
280
|
+
nodes and component instances.
|
|
280
281
|
|
|
282
|
+
To retrieve the contents of components in the page use the [get
|
|
283
|
+
component
|
|
284
|
+
content](/data/reference/pages-and-components/components/get-content)
|
|
285
|
+
endpoint.
|
|
281
286
|
|
|
282
|
-
|
|
283
|
-
|
|
287
|
+
|
|
288
|
+
<Note>If you do not provide a Locale ID in your request, the response
|
|
289
|
+
will return any content that can be localized from the Primary
|
|
290
|
+
locale.</Note>
|
|
284
291
|
|
|
285
292
|
|
|
286
293
|
Required scope | `pages:read`
|
|
287
294
|
source:
|
|
288
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
295
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
289
296
|
path-parameters:
|
|
290
297
|
page_id:
|
|
291
298
|
type: string
|
|
@@ -318,7 +325,8 @@ service:
|
|
|
318
325
|
- root.TooManyRequestsError
|
|
319
326
|
- root.InternalServerError
|
|
320
327
|
examples:
|
|
321
|
-
-
|
|
328
|
+
- name: PageDOM
|
|
329
|
+
path-parameters:
|
|
322
330
|
page_id: 63c720f9347c2139b248e552
|
|
323
331
|
query-parameters:
|
|
324
332
|
localeId: 65427cf400e02b306eaa04a0
|
|
@@ -326,65 +334,86 @@ service:
|
|
|
326
334
|
body:
|
|
327
335
|
pageId: 658205daa3e8206a523b5ad4
|
|
328
336
|
nodes:
|
|
329
|
-
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
337
|
+
- type: component-instance
|
|
338
|
+
id: a245c12d-995b-55ee-5ec7-aa36a6cad623
|
|
339
|
+
componentId: nodes
|
|
340
|
+
propertyOverrides:
|
|
341
|
+
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
342
|
+
- type: component-instance
|
|
343
|
+
id: a245c12d-995b-55ee-5ec7-aa36a6cad627
|
|
344
|
+
componentId: nodes
|
|
345
|
+
propertyOverrides:
|
|
346
|
+
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
347
|
+
- type: component-instance
|
|
348
|
+
id: a245c12d-995b-55ee-5ec7-aa36a6cad629
|
|
349
|
+
componentId: nodes
|
|
350
|
+
propertyOverrides:
|
|
351
|
+
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
352
|
+
- type: component-instance
|
|
353
|
+
id: a245c12d-995b-55ee-5ec7-aa36a6cad631
|
|
354
|
+
componentId: 6258612d1ee792848f805dcf
|
|
355
|
+
propertyOverrides:
|
|
356
|
+
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad633
|
|
357
|
+
type: Plain Text
|
|
358
|
+
label: Catchphrase
|
|
359
|
+
text:
|
|
360
|
+
text: Don't Panic!
|
|
361
|
+
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad635
|
|
362
|
+
type: Rich Text
|
|
363
|
+
label: Tagline
|
|
364
|
+
text:
|
|
365
|
+
html: <div><p>Always know where your towel is.</p></div>
|
|
351
366
|
pagination:
|
|
352
|
-
limit:
|
|
367
|
+
limit: 4
|
|
353
368
|
offset: 0
|
|
354
|
-
total:
|
|
369
|
+
total: 4
|
|
355
370
|
update-static-content:
|
|
356
371
|
path: /pages/{page_id}/dom
|
|
357
372
|
method: POST
|
|
358
373
|
auth: true
|
|
359
374
|
docs: >
|
|
360
|
-
This endpoint
|
|
361
|
-
|
|
362
|
-
|
|
375
|
+
This endpoint updates content on a static page in **secondary locales**.
|
|
376
|
+
It supports updating up to 1000 nodes in a single request.
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
Before making updates:
|
|
363
380
|
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
381
|
+
1. Use the [get page
|
|
382
|
+
content](/data/reference/pages-and-components/pages/get-content)
|
|
383
|
+
endpoint to identify available content nodes and their types
|
|
384
|
+
|
|
385
|
+
2. If the page has component instances, retrieve the component's
|
|
386
|
+
properties that you'll override using the [get component
|
|
387
|
+
properties](/data/reference/pages-and-components/components/get-properties)
|
|
388
|
+
endpoint
|
|
389
|
+
|
|
390
|
+
|
|
391
|
+
<Note>
|
|
392
|
+
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.
|
|
393
|
+
</Note>
|
|
367
394
|
|
|
368
395
|
|
|
369
396
|
Required scope | `pages:write`
|
|
370
397
|
source:
|
|
371
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
398
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
372
399
|
path-parameters:
|
|
373
400
|
page_id:
|
|
374
401
|
type: string
|
|
375
402
|
docs: Unique identifier for a Page
|
|
376
403
|
display-name: Update Page Content
|
|
377
404
|
request:
|
|
378
|
-
name:
|
|
405
|
+
name: PageDomWrite
|
|
379
406
|
query-parameters:
|
|
380
407
|
localeId:
|
|
381
|
-
type:
|
|
382
|
-
docs:
|
|
383
|
-
Unique identifier for a specific locale. Applicable, when using
|
|
384
|
-
localization.
|
|
408
|
+
type: string
|
|
409
|
+
docs: The locale identifier.
|
|
385
410
|
body:
|
|
386
411
|
properties:
|
|
387
|
-
nodes:
|
|
412
|
+
nodes:
|
|
413
|
+
docs: >-
|
|
414
|
+
List of DOM Nodes with the new content that will be updated in
|
|
415
|
+
each node.
|
|
416
|
+
type: list<PageDomWriteNodesItem>
|
|
388
417
|
content-type: application/json
|
|
389
418
|
response:
|
|
390
419
|
docs: Request was successful
|
|
@@ -400,39 +429,37 @@ service:
|
|
|
400
429
|
- path-parameters:
|
|
401
430
|
page_id: 63c720f9347c2139b248e552
|
|
402
431
|
query-parameters:
|
|
403
|
-
localeId:
|
|
432
|
+
localeId: localeId
|
|
404
433
|
request:
|
|
405
434
|
nodes:
|
|
406
435
|
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad623
|
|
407
|
-
text: <h1>The Hitchhiker
|
|
436
|
+
text: <h1>The Hitchhiker's Guide to the Galaxy</h1>
|
|
408
437
|
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad627
|
|
409
438
|
text: >-
|
|
410
|
-
<div><h3>Don
|
|
439
|
+
<div><h3>Don't Panic!</h3><p>Always know where your towel
|
|
411
440
|
is.</p></div>
|
|
412
441
|
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad629
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
442
|
+
propertyOverrides:
|
|
443
|
+
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
444
|
+
text: <div><h1>Time is an <em>illusion</em></h1></div>
|
|
445
|
+
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f1
|
|
446
|
+
text: Life, the Universe and Everything
|
|
416
447
|
response:
|
|
417
448
|
body:
|
|
418
449
|
errors:
|
|
419
450
|
- errors
|
|
420
451
|
source:
|
|
421
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
452
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
422
453
|
display-name: Pages
|
|
454
|
+
docs: Pages are the pages in your Webflow site.
|
|
423
455
|
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.
|
|
456
|
+
PageDomWriteNodesItem:
|
|
457
|
+
discriminated: false
|
|
458
|
+
union:
|
|
459
|
+
- root.TextNodeWrite
|
|
460
|
+
- root.ComponentInstanceNodePropertyOverridesWrite
|
|
434
461
|
source:
|
|
435
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
462
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
436
463
|
inline: true
|
|
437
464
|
UpdateStaticContentResponse:
|
|
438
465
|
properties:
|
|
@@ -440,4 +467,4 @@ types:
|
|
|
440
467
|
docs: A list of error messages, if any.
|
|
441
468
|
type: list<string>
|
|
442
469
|
source:
|
|
443
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
470
|
+
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
|
|
@@ -112,7 +112,7 @@ service:
|
|
|
112
112
|
- 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
113
|
- 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
114
|
- 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
|
|
115
|
+
- After you've created your product, you can create additional SKUs using the [Create SKU endpoint.](/data/reference/ecommerce/products/create-sku)
|
|
116
116
|
|
|
117
117
|
Upon creation, the default product type will be `Advanced`, which
|
|
118
118
|
ensures all Product and SKU fields will be shown to users in the
|
|
@@ -121,7 +121,7 @@ service:
|
|
|
121
121
|
|
|
122
122
|
Required scope | `ecommerce:write`
|
|
123
123
|
source:
|
|
124
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
124
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
125
125
|
path-parameters:
|
|
126
126
|
site_id:
|
|
127
127
|
type: string
|
|
@@ -202,7 +202,7 @@ service:
|
|
|
202
202
|
|
|
203
203
|
Required scope | `ecommerce:read`
|
|
204
204
|
source:
|
|
205
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
205
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
206
206
|
path-parameters:
|
|
207
207
|
site_id:
|
|
208
208
|
type: string
|
|
@@ -283,7 +283,7 @@ service:
|
|
|
283
283
|
|
|
284
284
|
Required scope | `ecommerce:write`
|
|
285
285
|
source:
|
|
286
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
286
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
287
287
|
path-parameters:
|
|
288
288
|
site_id:
|
|
289
289
|
type: string
|
|
@@ -358,7 +358,7 @@ service:
|
|
|
358
358
|
|
|
359
359
|
Required scope | `ecommerce:write`
|
|
360
360
|
source:
|
|
361
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
361
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
362
362
|
path-parameters:
|
|
363
363
|
site_id:
|
|
364
364
|
type: string
|
|
@@ -426,7 +426,7 @@ service:
|
|
|
426
426
|
|
|
427
427
|
Required scope | `ecommerce:write`
|
|
428
428
|
source:
|
|
429
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
429
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
430
430
|
path-parameters:
|
|
431
431
|
site_id:
|
|
432
432
|
type: string
|
|
@@ -491,10 +491,10 @@ service:
|
|
|
491
491
|
track-inventory: true
|
|
492
492
|
quantity: 10
|
|
493
493
|
source:
|
|
494
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
494
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
495
495
|
types:
|
|
496
496
|
ProductsCreateSkuResponse:
|
|
497
497
|
properties:
|
|
498
498
|
skus: optional<list<root.Sku>>
|
|
499
499
|
source:
|
|
500
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
500
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -23,15 +23,14 @@ service:
|
|
|
23
23
|
Additionally, Scripts can be remotely hosted, or registered as inline
|
|
24
24
|
snippets.
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
endpoint requires a bearer token from a
|
|
28
|
-
|
|
29
|
-
Client App</a>.</blockquote>
|
|
26
|
+
|
|
27
|
+
<Note>Access to this endpoint requires a bearer token from a [Data
|
|
28
|
+
Client App](/data/docs/getting-started-data-clients).</Note>
|
|
30
29
|
|
|
31
30
|
|
|
32
31
|
Required scope | `custom_code:read`
|
|
33
32
|
source:
|
|
34
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
33
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
35
34
|
path-parameters:
|
|
36
35
|
site_id:
|
|
37
36
|
type: string
|
|
@@ -96,15 +95,14 @@ service:
|
|
|
96
95
|
Additionally, Scripts can be remotely hosted, or registered as inline
|
|
97
96
|
snippets.
|
|
98
97
|
|
|
99
|
-
|
|
100
|
-
endpoint requires a bearer token from a
|
|
101
|
-
|
|
102
|
-
Client App</a>.</blockquote>
|
|
98
|
+
|
|
99
|
+
<Note>Access to this endpoint requires a bearer token from a [Data
|
|
100
|
+
Client App](/data/docs/getting-started-data-clients).</Note>
|
|
103
101
|
|
|
104
102
|
|
|
105
103
|
Required scope | `custom_code:write`
|
|
106
104
|
source:
|
|
107
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
105
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
108
106
|
path-parameters:
|
|
109
107
|
site_id:
|
|
110
108
|
type: string
|
|
@@ -183,15 +181,13 @@ service:
|
|
|
183
181
|
`custom_code` endpoints.
|
|
184
182
|
|
|
185
183
|
|
|
186
|
-
<
|
|
187
|
-
|
|
188
|
-
href="https://developers.webflow.com/data/docs/getting-started-data-clients">Data
|
|
189
|
-
Client App</a>.</blockquote>
|
|
184
|
+
<Note>Access to this endpoint requires a bearer token from a [Data
|
|
185
|
+
Client App](/data/docs/getting-started-data-clients).</Note>
|
|
190
186
|
|
|
191
187
|
|
|
192
188
|
Required scope | `custom_code:write`
|
|
193
189
|
source:
|
|
194
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
190
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
195
191
|
path-parameters:
|
|
196
192
|
site_id:
|
|
197
193
|
type: string
|
|
@@ -254,4 +250,4 @@ service:
|
|
|
254
250
|
lastUpdated: lastUpdated
|
|
255
251
|
version: 0.0.1
|
|
256
252
|
source:
|
|
257
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
253
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -12,7 +12,7 @@ service:
|
|
|
12
12
|
Retrieve Activity Logs for a specific Site. Requires Site to be on an
|
|
13
13
|
Enterprise plan. </br></br> Required scope | `site_activity:read`
|
|
14
14
|
source:
|
|
15
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
15
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
16
16
|
path-parameters:
|
|
17
17
|
site_id:
|
|
18
18
|
type: string
|
|
@@ -62,4 +62,4 @@ service:
|
|
|
62
62
|
offset: 0
|
|
63
63
|
total: 1
|
|
64
64
|
source:
|
|
65
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
65
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: ../__package__.yml
|
|
3
|
+
service:
|
|
4
|
+
auth: false
|
|
5
|
+
base-path: ''
|
|
6
|
+
endpoints:
|
|
7
|
+
get-site-plan:
|
|
8
|
+
path: /sites/{site_id}/plan
|
|
9
|
+
method: GET
|
|
10
|
+
auth: true
|
|
11
|
+
docs: |
|
|
12
|
+
Get site plan details for the specified Site.
|
|
13
|
+
|
|
14
|
+
Required scope | `sites:read`
|
|
15
|
+
source:
|
|
16
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
17
|
+
path-parameters:
|
|
18
|
+
site_id:
|
|
19
|
+
type: string
|
|
20
|
+
docs: Unique identifier for a Site
|
|
21
|
+
display-name: Get Site Plan
|
|
22
|
+
response:
|
|
23
|
+
docs: Request was successful
|
|
24
|
+
type: root.SitePlan
|
|
25
|
+
errors:
|
|
26
|
+
- root.BadRequestError
|
|
27
|
+
- root.UnauthorizedError
|
|
28
|
+
- root.NotFoundError
|
|
29
|
+
- root.TooManyRequestsError
|
|
30
|
+
- root.InternalServerError
|
|
31
|
+
examples:
|
|
32
|
+
- path-parameters:
|
|
33
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
34
|
+
response:
|
|
35
|
+
body:
|
|
36
|
+
id: hosting-business-v4
|
|
37
|
+
name: Business Hosting
|
|
38
|
+
pricingInfo: https://webflow.com/pricing
|
|
39
|
+
source:
|
|
40
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|