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 | `forms: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
|
|
@@ -33,6 +33,7 @@ service:
|
|
|
33
33
|
response:
|
|
34
34
|
docs: Request was successful
|
|
35
35
|
type: root.FormList
|
|
36
|
+
status-code: 200
|
|
36
37
|
errors:
|
|
37
38
|
- root.BadRequestError
|
|
38
39
|
- root.UnauthorizedError
|
|
@@ -99,7 +100,7 @@ service:
|
|
|
99
100
|
|
|
100
101
|
Required scope | `forms:read`
|
|
101
102
|
source:
|
|
102
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
103
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
103
104
|
path-parameters:
|
|
104
105
|
form_id:
|
|
105
106
|
type: string
|
|
@@ -108,6 +109,7 @@ service:
|
|
|
108
109
|
response:
|
|
109
110
|
docs: Request was successful
|
|
110
111
|
type: root.Form
|
|
112
|
+
status-code: 200
|
|
111
113
|
errors:
|
|
112
114
|
- root.BadRequestError
|
|
113
115
|
- root.UnauthorizedError
|
|
@@ -127,7 +129,6 @@ service:
|
|
|
127
129
|
660d5bcc9c0772150459dfb1:
|
|
128
130
|
displayName: Name
|
|
129
131
|
type: Plain
|
|
130
|
-
placeholder: Enter your email
|
|
131
132
|
userVisible: true
|
|
132
133
|
589a331aa51e760df7ccb89d:
|
|
133
134
|
displayName: Email
|
|
@@ -137,7 +138,6 @@ service:
|
|
|
137
138
|
responseSettings:
|
|
138
139
|
redirectUrl: https://example.com
|
|
139
140
|
redirectMethod: GET
|
|
140
|
-
redirectAction: POST https://example.com
|
|
141
141
|
sendEmailConfirmation: true
|
|
142
142
|
id: 589a331aa51e760df7ccb89e
|
|
143
143
|
siteId: 580e63e98c9a982ac9b8b741
|
|
@@ -153,9 +153,15 @@ service:
|
|
|
153
153
|
docs: |
|
|
154
154
|
List form submissions for a given form
|
|
155
155
|
|
|
156
|
+
<Note title="Forms in components">
|
|
157
|
+
When a form is used in a component definition, each instance of the form is considered a unique form.
|
|
158
|
+
|
|
159
|
+
To get a combined list of submissions for a form that appears across multiple component instances, use the [List Form Submissions by Site](/data/reference/forms/form-submissions/list-submissions-by-site) endpoint.
|
|
160
|
+
</Note>
|
|
161
|
+
|
|
156
162
|
Required scope | `forms:read`
|
|
157
163
|
source:
|
|
158
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
164
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
159
165
|
path-parameters:
|
|
160
166
|
form_id:
|
|
161
167
|
type: string
|
|
@@ -175,6 +181,7 @@ service:
|
|
|
175
181
|
response:
|
|
176
182
|
docs: Request was successful
|
|
177
183
|
type: root.FormSubmissionList
|
|
184
|
+
status-code: 200
|
|
178
185
|
errors:
|
|
179
186
|
- root.BadRequestError
|
|
180
187
|
- root.UnauthorizedError
|
|
@@ -217,7 +224,7 @@ service:
|
|
|
217
224
|
|
|
218
225
|
Required scope | `forms:read`
|
|
219
226
|
source:
|
|
220
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
227
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
221
228
|
path-parameters:
|
|
222
229
|
form_submission_id:
|
|
223
230
|
type: string
|
|
@@ -226,6 +233,7 @@ service:
|
|
|
226
233
|
response:
|
|
227
234
|
docs: Request was successful
|
|
228
235
|
type: root.FormSubmission
|
|
236
|
+
status-code: 200
|
|
229
237
|
errors:
|
|
230
238
|
- root.BadRequestError
|
|
231
239
|
- root.UnauthorizedError
|
|
@@ -246,6 +254,33 @@ service:
|
|
|
246
254
|
formResponse:
|
|
247
255
|
First Name: Arthur
|
|
248
256
|
Last Name: Dent
|
|
257
|
+
delete-submission:
|
|
258
|
+
path: /form_submissions/{form_submission_id}
|
|
259
|
+
method: DELETE
|
|
260
|
+
auth: true
|
|
261
|
+
docs: |
|
|
262
|
+
Delete a form submission
|
|
263
|
+
|
|
264
|
+
|
|
265
|
+
Required scope | `forms:write`
|
|
266
|
+
source:
|
|
267
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
268
|
+
path-parameters:
|
|
269
|
+
form_submission_id:
|
|
270
|
+
type: string
|
|
271
|
+
docs: Unique identifier for a Form Submission
|
|
272
|
+
display-name: Delete Form Submission
|
|
273
|
+
errors:
|
|
274
|
+
- root.BadRequestError
|
|
275
|
+
- root.UnauthorizedError
|
|
276
|
+
- root.ForbiddenError
|
|
277
|
+
- root.NotFoundError
|
|
278
|
+
- root.ConflictError
|
|
279
|
+
- root.TooManyRequestsError
|
|
280
|
+
- root.InternalServerError
|
|
281
|
+
examples:
|
|
282
|
+
- path-parameters:
|
|
283
|
+
form_submission_id: 580e63e98c9a982ac9b8b741
|
|
249
284
|
update-submission:
|
|
250
285
|
path: /form_submissions/{form_submission_id}
|
|
251
286
|
method: PATCH
|
|
@@ -255,7 +290,7 @@ service:
|
|
|
255
290
|
|
|
256
291
|
Required scope | `forms:write`
|
|
257
292
|
source:
|
|
258
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
293
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
259
294
|
path-parameters:
|
|
260
295
|
form_submission_id:
|
|
261
296
|
type: string
|
|
@@ -274,6 +309,7 @@ service:
|
|
|
274
309
|
response:
|
|
275
310
|
docs: Request was successful
|
|
276
311
|
type: root.FormSubmission
|
|
312
|
+
status-code: 200
|
|
277
313
|
errors:
|
|
278
314
|
- root.BadRequestError
|
|
279
315
|
- root.UnauthorizedError
|
|
@@ -296,6 +332,83 @@ service:
|
|
|
296
332
|
formResponse:
|
|
297
333
|
First Name: Arthur
|
|
298
334
|
Last Name: Dent
|
|
335
|
+
list-submissions-by-site:
|
|
336
|
+
path: /sites/{site_id}/form_submissions
|
|
337
|
+
method: GET
|
|
338
|
+
auth: true
|
|
339
|
+
docs: >
|
|
340
|
+
List form submissions for a given site. This endpoint differs from the
|
|
341
|
+
existing [List Form Submissions
|
|
342
|
+
endpoint](/data/reference/forms/form-submissions/list-submissions) by
|
|
343
|
+
accepting `siteId` as a path parameter and `elementId` as a query
|
|
344
|
+
parameter. You can get the `elementId` from the [List forms
|
|
345
|
+
endpoint](/data/reference/forms/forms/list).
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
Required scope | `forms:read`
|
|
351
|
+
source:
|
|
352
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
353
|
+
path-parameters:
|
|
354
|
+
site_id:
|
|
355
|
+
type: string
|
|
356
|
+
docs: Unique identifier for a Site
|
|
357
|
+
display-name: List Form Submissions by Site
|
|
358
|
+
request:
|
|
359
|
+
name: FormsListSubmissionsBySiteRequest
|
|
360
|
+
query-parameters:
|
|
361
|
+
elementId:
|
|
362
|
+
type: optional<string>
|
|
363
|
+
docs: Identifier for an element
|
|
364
|
+
offset:
|
|
365
|
+
type: optional<double>
|
|
366
|
+
docs: >-
|
|
367
|
+
Offset used for pagination if the results have more than limit
|
|
368
|
+
records
|
|
369
|
+
limit:
|
|
370
|
+
type: optional<double>
|
|
371
|
+
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
372
|
+
response:
|
|
373
|
+
docs: Request was successful
|
|
374
|
+
type: root.FormSubmissionList
|
|
375
|
+
status-code: 200
|
|
376
|
+
errors:
|
|
377
|
+
- root.BadRequestError
|
|
378
|
+
- root.UnauthorizedError
|
|
379
|
+
- root.ForbiddenError
|
|
380
|
+
- root.NotFoundError
|
|
381
|
+
- root.TooManyRequestsError
|
|
382
|
+
- root.InternalServerError
|
|
383
|
+
examples:
|
|
384
|
+
- path-parameters:
|
|
385
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
386
|
+
query-parameters:
|
|
387
|
+
elementId: 18259716-3e5a-646a-5f41-5dc4b9405aa0
|
|
388
|
+
response:
|
|
389
|
+
body:
|
|
390
|
+
formSubmissions:
|
|
391
|
+
- id: 6321ca84df3949bfc6752327
|
|
392
|
+
displayName: Sample Form
|
|
393
|
+
siteId: 62749158efef318abc8d5a0f
|
|
394
|
+
workspaceId: 62749158efef318abc8d5a0f
|
|
395
|
+
dateSubmitted: '2022-09-14T12:35:16Z'
|
|
396
|
+
formResponse:
|
|
397
|
+
First Name: Arthur
|
|
398
|
+
Last Name: Dent
|
|
399
|
+
- id: 660d64fabf6e0a0d4edab981
|
|
400
|
+
displayName: Sample Form
|
|
401
|
+
siteId: 62749158efef318abc8d5a0f
|
|
402
|
+
workspaceId: 62749158efef318abc8d5a0f
|
|
403
|
+
dateSubmitted: '2022-09-14T12:35:16Z'
|
|
404
|
+
formResponse:
|
|
405
|
+
First Name: Ford
|
|
406
|
+
Last Name: Prefect
|
|
407
|
+
pagination:
|
|
408
|
+
limit: 25
|
|
409
|
+
offset: 0
|
|
410
|
+
total: 2
|
|
299
411
|
source:
|
|
300
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
412
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
301
413
|
display-name: Forms
|
|
414
|
+
docs: Forms are forms that are created on your Webflow site.
|
|
@@ -13,7 +13,7 @@ service:
|
|
|
13
13
|
|
|
14
14
|
Required scope | `ecommerce:read`
|
|
15
15
|
source:
|
|
16
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
16
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
17
17
|
path-parameters:
|
|
18
18
|
collection_id:
|
|
19
19
|
type: string
|
|
@@ -25,6 +25,7 @@ service:
|
|
|
25
25
|
response:
|
|
26
26
|
docs: Request was successful
|
|
27
27
|
type: root.InventoryItem
|
|
28
|
+
status-code: 200
|
|
28
29
|
errors:
|
|
29
30
|
- root.BadRequestError
|
|
30
31
|
- root.UnauthorizedError
|
|
@@ -62,7 +63,7 @@ service:
|
|
|
62
63
|
|
|
63
64
|
Required scope | `ecommerce:write`
|
|
64
65
|
source:
|
|
65
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
66
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
66
67
|
path-parameters:
|
|
67
68
|
collection_id:
|
|
68
69
|
type: string
|
|
@@ -88,6 +89,7 @@ service:
|
|
|
88
89
|
response:
|
|
89
90
|
docs: Request was successful
|
|
90
91
|
type: root.InventoryItem
|
|
92
|
+
status-code: 200
|
|
91
93
|
errors:
|
|
92
94
|
- root.BadRequestError
|
|
93
95
|
- root.UnauthorizedError
|
|
@@ -108,13 +110,15 @@ service:
|
|
|
108
110
|
quantity: 100
|
|
109
111
|
inventoryType: finite
|
|
110
112
|
source:
|
|
111
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
113
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
112
114
|
display-name: Inventory
|
|
115
|
+
docs: Inventory is the stock of e-commerce items in your Webflow site.
|
|
113
116
|
types:
|
|
114
117
|
InventoryUpdateRequestInventoryType:
|
|
115
118
|
enum:
|
|
116
119
|
- infinite
|
|
117
120
|
- finite
|
|
118
121
|
docs: infinite or finite
|
|
122
|
+
inline: true
|
|
119
123
|
source:
|
|
120
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
124
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -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
|
|
@@ -56,6 +57,7 @@ service:
|
|
|
56
57
|
response:
|
|
57
58
|
docs: Request was successful
|
|
58
59
|
type: root.OrderList
|
|
60
|
+
status-code: 200
|
|
59
61
|
errors:
|
|
60
62
|
- root.BadRequestError
|
|
61
63
|
- root.UnauthorizedError
|
|
@@ -80,11 +82,6 @@ service:
|
|
|
80
82
|
Please gift wrap with a personal note saying "Happy
|
|
81
83
|
Birthday, Ford! 🎉
|
|
82
84
|
acceptedOn: '2024-04-10T13:16:21Z'
|
|
83
|
-
fulfilledOn: '2018-12-03T22:06:15Z'
|
|
84
|
-
refundedOn: '2018-12-03T22:06:15Z'
|
|
85
|
-
disputedOn: '2018-12-03T22:06:15Z'
|
|
86
|
-
disputeUpdatedOn: '2018-12-03T22:06:15Z'
|
|
87
|
-
disputeLastStatus: warning_needs_response
|
|
88
85
|
customerPaid:
|
|
89
86
|
unit: USD
|
|
90
87
|
value: '5892'
|
|
@@ -200,13 +197,6 @@ service:
|
|
|
200
197
|
expires:
|
|
201
198
|
year: 2025
|
|
202
199
|
month: 4
|
|
203
|
-
paypalDetails:
|
|
204
|
-
orderId: 1a2b3c4d5e6f7g8h9i0j
|
|
205
|
-
payerId: 9k8j7i6h5g4f3e2d1c0b
|
|
206
|
-
captureId: qwe123rty456uio789p
|
|
207
|
-
refundId: abcde12345fghij67890
|
|
208
|
-
refundReason: Customer requested refund
|
|
209
|
-
disputeId: zxcvbnm987poiuytrewq
|
|
210
200
|
customData:
|
|
211
201
|
- key: value
|
|
212
202
|
metadata:
|
|
@@ -234,11 +224,7 @@ service:
|
|
|
234
224
|
comment: Example comment to myself
|
|
235
225
|
orderComment: ''
|
|
236
226
|
acceptedOn: '2024-03-29T21:29:21Z'
|
|
237
|
-
fulfilledOn: '2018-12-03T22:06:15Z'
|
|
238
227
|
refundedOn: '2024-04-08T18:25:04Z'
|
|
239
|
-
disputedOn: '2018-12-03T22:06:15Z'
|
|
240
|
-
disputeUpdatedOn: '2018-12-03T22:06:15Z'
|
|
241
|
-
disputeLastStatus: warning_needs_response
|
|
242
228
|
customerPaid:
|
|
243
229
|
unit: USD
|
|
244
230
|
value: '5892'
|
|
@@ -358,13 +344,6 @@ service:
|
|
|
358
344
|
expires:
|
|
359
345
|
year: 2024
|
|
360
346
|
month: 4
|
|
361
|
-
paypalDetails:
|
|
362
|
-
orderId: 1a2b3c4d5e6f7g8h9i0j
|
|
363
|
-
payerId: 9k8j7i6h5g4f3e2d1c0b
|
|
364
|
-
captureId: qwe123rty456uio789p
|
|
365
|
-
refundId: abcde12345fghij67890
|
|
366
|
-
refundReason: Customer requested refund
|
|
367
|
-
disputeId: zxcvbnm987poiuytrewq
|
|
368
347
|
customData:
|
|
369
348
|
- key: value
|
|
370
349
|
metadata:
|
|
@@ -423,7 +402,7 @@ service:
|
|
|
423
402
|
|
|
424
403
|
Required scope | `ecommerce:read`
|
|
425
404
|
source:
|
|
426
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
405
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
427
406
|
path-parameters:
|
|
428
407
|
site_id:
|
|
429
408
|
type: string
|
|
@@ -435,6 +414,7 @@ service:
|
|
|
435
414
|
response:
|
|
436
415
|
docs: Request was successful
|
|
437
416
|
type: root.Order
|
|
417
|
+
status-code: 200
|
|
438
418
|
errors:
|
|
439
419
|
- root.BadRequestError
|
|
440
420
|
- root.UnauthorizedError
|
|
@@ -570,12 +550,10 @@ service:
|
|
|
570
550
|
length: 40
|
|
571
551
|
purchasedItemsCount: 2
|
|
572
552
|
stripeDetails:
|
|
573
|
-
subscriptionId: sub_1J6xwG2eZvKYlo2CXu9Zt0Tn
|
|
574
553
|
paymentMethod: pm_1OzmzBJYFi4lcbXWHKNdXU7j
|
|
575
554
|
paymentIntentId: pi_3OzmzDJYFi4lcbXW1hTBW6ft
|
|
576
555
|
customerId: cus_PpRsNHwWdUoRKR
|
|
577
556
|
chargeId: ch_3OzmzDJYFi4lcbXW1ndkkrH2
|
|
578
|
-
disputeId: disputeId
|
|
579
557
|
refundId: re_3OzmzDJYFi4lcbXW1kFAmlBk
|
|
580
558
|
refundReason: fraudulent
|
|
581
559
|
stripeCard:
|
|
@@ -585,13 +563,6 @@ service:
|
|
|
585
563
|
expires:
|
|
586
564
|
year: 2024
|
|
587
565
|
month: 4
|
|
588
|
-
paypalDetails:
|
|
589
|
-
orderId: 1a2b3c4d5e6f7g8h9i0j
|
|
590
|
-
payerId: 9k8j7i6h5g4f3e2d1c0b
|
|
591
|
-
captureId: qwe123rty456uio789p
|
|
592
|
-
refundId: abcde12345fghij67890
|
|
593
|
-
refundReason: Customer requested refund
|
|
594
|
-
disputeId: zxcvbnm987poiuytrewq
|
|
595
566
|
customData:
|
|
596
567
|
- key: value
|
|
597
568
|
metadata:
|
|
@@ -647,7 +618,7 @@ service:
|
|
|
647
618
|
|
|
648
619
|
Required scope | `ecommerce:write`
|
|
649
620
|
source:
|
|
650
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
621
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
651
622
|
path-parameters:
|
|
652
623
|
site_id:
|
|
653
624
|
type: string
|
|
@@ -676,6 +647,7 @@ service:
|
|
|
676
647
|
response:
|
|
677
648
|
docs: Request was successful
|
|
678
649
|
type: root.Order
|
|
650
|
+
status-code: 200
|
|
679
651
|
errors:
|
|
680
652
|
- root.BadRequestError
|
|
681
653
|
- root.UnauthorizedError
|
|
@@ -812,12 +784,10 @@ service:
|
|
|
812
784
|
length: 40
|
|
813
785
|
purchasedItemsCount: 2
|
|
814
786
|
stripeDetails:
|
|
815
|
-
subscriptionId: sub_1J6xwG2eZvKYlo2CXu9Zt0Tn
|
|
816
787
|
paymentMethod: pm_1OzmzBJYFi4lcbXWHKNdXU7j
|
|
817
788
|
paymentIntentId: pi_3OzmzDJYFi4lcbXW1hTBW6ft
|
|
818
789
|
customerId: cus_PpRsNHwWdUoRKR
|
|
819
790
|
chargeId: ch_3OzmzDJYFi4lcbXW1ndkkrH2
|
|
820
|
-
disputeId: disputeId
|
|
821
791
|
refundId: re_3OzmzDJYFi4lcbXW1kFAmlBk
|
|
822
792
|
refundReason: fraudulent
|
|
823
793
|
stripeCard:
|
|
@@ -827,13 +797,6 @@ service:
|
|
|
827
797
|
expires:
|
|
828
798
|
year: 2024
|
|
829
799
|
month: 4
|
|
830
|
-
paypalDetails:
|
|
831
|
-
orderId: 1a2b3c4d5e6f7g8h9i0j
|
|
832
|
-
payerId: 9k8j7i6h5g4f3e2d1c0b
|
|
833
|
-
captureId: qwe123rty456uio789p
|
|
834
|
-
refundId: abcde12345fghij67890
|
|
835
|
-
refundReason: Customer requested refund
|
|
836
|
-
disputeId: zxcvbnm987poiuytrewq
|
|
837
800
|
customData:
|
|
838
801
|
- key: value
|
|
839
802
|
metadata:
|
|
@@ -887,7 +850,7 @@ service:
|
|
|
887
850
|
|
|
888
851
|
Required scope | `ecommerce:write`
|
|
889
852
|
source:
|
|
890
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
853
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
891
854
|
path-parameters:
|
|
892
855
|
site_id:
|
|
893
856
|
type: string
|
|
@@ -908,6 +871,7 @@ service:
|
|
|
908
871
|
response:
|
|
909
872
|
docs: Request was successful
|
|
910
873
|
type: root.Order
|
|
874
|
+
status-code: 200
|
|
911
875
|
errors:
|
|
912
876
|
- root.BadRequestError
|
|
913
877
|
- root.UnauthorizedError
|
|
@@ -1044,12 +1008,10 @@ service:
|
|
|
1044
1008
|
length: 40
|
|
1045
1009
|
purchasedItemsCount: 2
|
|
1046
1010
|
stripeDetails:
|
|
1047
|
-
subscriptionId: sub_1J6xwG2eZvKYlo2CXu9Zt0Tn
|
|
1048
1011
|
paymentMethod: pm_1OzmzBJYFi4lcbXWHKNdXU7j
|
|
1049
1012
|
paymentIntentId: pi_3OzmzDJYFi4lcbXW1hTBW6ft
|
|
1050
1013
|
customerId: cus_PpRsNHwWdUoRKR
|
|
1051
1014
|
chargeId: ch_3OzmzDJYFi4lcbXW1ndkkrH2
|
|
1052
|
-
disputeId: disputeId
|
|
1053
1015
|
refundId: re_3OzmzDJYFi4lcbXW1kFAmlBk
|
|
1054
1016
|
refundReason: fraudulent
|
|
1055
1017
|
stripeCard:
|
|
@@ -1059,13 +1021,6 @@ service:
|
|
|
1059
1021
|
expires:
|
|
1060
1022
|
year: 2024
|
|
1061
1023
|
month: 4
|
|
1062
|
-
paypalDetails:
|
|
1063
|
-
orderId: 1a2b3c4d5e6f7g8h9i0j
|
|
1064
|
-
payerId: 9k8j7i6h5g4f3e2d1c0b
|
|
1065
|
-
captureId: qwe123rty456uio789p
|
|
1066
|
-
refundId: abcde12345fghij67890
|
|
1067
|
-
refundReason: Customer requested refund
|
|
1068
|
-
disputeId: zxcvbnm987poiuytrewq
|
|
1069
1024
|
customData:
|
|
1070
1025
|
- key: value
|
|
1071
1026
|
metadata:
|
|
@@ -1119,7 +1074,7 @@ service:
|
|
|
1119
1074
|
|
|
1120
1075
|
Required scope | `ecommerce:write`
|
|
1121
1076
|
source:
|
|
1122
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
1077
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
1123
1078
|
path-parameters:
|
|
1124
1079
|
site_id:
|
|
1125
1080
|
type: string
|
|
@@ -1131,6 +1086,7 @@ service:
|
|
|
1131
1086
|
response:
|
|
1132
1087
|
docs: Request was successful
|
|
1133
1088
|
type: root.Order
|
|
1089
|
+
status-code: 200
|
|
1134
1090
|
errors:
|
|
1135
1091
|
- root.BadRequestError
|
|
1136
1092
|
- root.UnauthorizedError
|
|
@@ -1266,12 +1222,10 @@ service:
|
|
|
1266
1222
|
length: 40
|
|
1267
1223
|
purchasedItemsCount: 2
|
|
1268
1224
|
stripeDetails:
|
|
1269
|
-
subscriptionId: sub_1J6xwG2eZvKYlo2CXu9Zt0Tn
|
|
1270
1225
|
paymentMethod: pm_1OzmzBJYFi4lcbXWHKNdXU7j
|
|
1271
1226
|
paymentIntentId: pi_3OzmzDJYFi4lcbXW1hTBW6ft
|
|
1272
1227
|
customerId: cus_PpRsNHwWdUoRKR
|
|
1273
1228
|
chargeId: ch_3OzmzDJYFi4lcbXW1ndkkrH2
|
|
1274
|
-
disputeId: disputeId
|
|
1275
1229
|
refundId: re_3OzmzDJYFi4lcbXW1kFAmlBk
|
|
1276
1230
|
refundReason: fraudulent
|
|
1277
1231
|
stripeCard:
|
|
@@ -1281,13 +1235,6 @@ service:
|
|
|
1281
1235
|
expires:
|
|
1282
1236
|
year: 2024
|
|
1283
1237
|
month: 4
|
|
1284
|
-
paypalDetails:
|
|
1285
|
-
orderId: 1a2b3c4d5e6f7g8h9i0j
|
|
1286
|
-
payerId: 9k8j7i6h5g4f3e2d1c0b
|
|
1287
|
-
captureId: qwe123rty456uio789p
|
|
1288
|
-
refundId: abcde12345fghij67890
|
|
1289
|
-
refundReason: Customer requested refund
|
|
1290
|
-
disputeId: zxcvbnm987poiuytrewq
|
|
1291
1238
|
customData:
|
|
1292
1239
|
- key: value
|
|
1293
1240
|
metadata:
|
|
@@ -1342,7 +1289,7 @@ service:
|
|
|
1342
1289
|
|
|
1343
1290
|
Required scope | `ecommerce:write`
|
|
1344
1291
|
source:
|
|
1345
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
1292
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
1346
1293
|
path-parameters:
|
|
1347
1294
|
site_id:
|
|
1348
1295
|
type: string
|
|
@@ -1362,6 +1309,7 @@ service:
|
|
|
1362
1309
|
response:
|
|
1363
1310
|
docs: Request was successful
|
|
1364
1311
|
type: root.Order
|
|
1312
|
+
status-code: 200
|
|
1365
1313
|
errors:
|
|
1366
1314
|
- root.BadRequestError
|
|
1367
1315
|
- root.UnauthorizedError
|
|
@@ -1498,12 +1446,10 @@ service:
|
|
|
1498
1446
|
length: 40
|
|
1499
1447
|
purchasedItemsCount: 2
|
|
1500
1448
|
stripeDetails:
|
|
1501
|
-
subscriptionId: sub_1J6xwG2eZvKYlo2CXu9Zt0Tn
|
|
1502
1449
|
paymentMethod: pm_1OzmzBJYFi4lcbXWHKNdXU7j
|
|
1503
1450
|
paymentIntentId: pi_3OzmzDJYFi4lcbXW1hTBW6ft
|
|
1504
1451
|
customerId: cus_PpRsNHwWdUoRKR
|
|
1505
1452
|
chargeId: ch_3OzmzDJYFi4lcbXW1ndkkrH2
|
|
1506
|
-
disputeId: disputeId
|
|
1507
1453
|
refundId: re_3OzmzDJYFi4lcbXW1kFAmlBk
|
|
1508
1454
|
refundReason: fraudulent
|
|
1509
1455
|
stripeCard:
|
|
@@ -1513,13 +1459,6 @@ service:
|
|
|
1513
1459
|
expires:
|
|
1514
1460
|
year: 2024
|
|
1515
1461
|
month: 4
|
|
1516
|
-
paypalDetails:
|
|
1517
|
-
orderId: 1a2b3c4d5e6f7g8h9i0j
|
|
1518
|
-
payerId: 9k8j7i6h5g4f3e2d1c0b
|
|
1519
|
-
captureId: qwe123rty456uio789p
|
|
1520
|
-
refundId: abcde12345fghij67890
|
|
1521
|
-
refundReason: Customer requested refund
|
|
1522
|
-
disputeId: zxcvbnm987poiuytrewq
|
|
1523
1462
|
customData:
|
|
1524
1463
|
- key: value
|
|
1525
1464
|
metadata:
|
|
@@ -1565,5 +1504,6 @@ service:
|
|
|
1565
1504
|
url: >-
|
|
1566
1505
|
https://webflow.com/dashboard/download-digital-product?payload=5d93ba5e38c6b0160ab711d3;e7634a;5eb1aac72912ec06f561278c;5e9a5eba75e0ac242e1b6f63:ka2nehxy:4a1ee0a632feaab94294350087215ed89533f2f530903e3b933b638940e921aa
|
|
1567
1506
|
source:
|
|
1568
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
1507
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
1569
1508
|
display-name: Orders
|
|
1509
|
+
docs: Orders are the orders for your Webflow site.
|
|
@@ -8,27 +8,12 @@ service:
|
|
|
8
8
|
path: /pages/{page_id}/custom_code
|
|
9
9
|
method: GET
|
|
10
10
|
auth: true
|
|
11
|
-
docs:
|
|
12
|
-
Get all
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
In order to use the Custom Code APIs for Sites and Pages, Custom Code
|
|
16
|
-
Scripts must first be registered
|
|
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
|
-
<blockquote class="callout callout_info" theme="📘">Access to this
|
|
24
|
-
endpoint requires a bearer token from a <a
|
|
25
|
-
href="https://developers.webflow.com/data/docs/getting-started-data-clients">Data
|
|
26
|
-
Client App</a>.</blockquote>
|
|
27
|
-
|
|
11
|
+
docs: |
|
|
12
|
+
Get all scripts applied to a page.
|
|
28
13
|
|
|
29
14
|
Required scope | `custom_code:read`
|
|
30
15
|
source:
|
|
31
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
16
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
32
17
|
path-parameters:
|
|
33
18
|
page_id:
|
|
34
19
|
type: string
|
|
@@ -37,6 +22,7 @@ service:
|
|
|
37
22
|
response:
|
|
38
23
|
docs: Request was successful
|
|
39
24
|
type: root.ScriptApplyList
|
|
25
|
+
status-code: 200
|
|
40
26
|
errors:
|
|
41
27
|
- root.BadRequestError
|
|
42
28
|
- root.UnauthorizedError
|
|
@@ -60,27 +46,16 @@ service:
|
|
|
60
46
|
path: /pages/{page_id}/custom_code
|
|
61
47
|
method: PUT
|
|
62
48
|
auth: true
|
|
63
|
-
docs:
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
In order to use the Custom Code APIs for Sites and Pages, Custom Code
|
|
68
|
-
Scripts must first be registered
|
|
69
|
-
|
|
70
|
-
to a Site via the `registered_scripts` endpoints, and then applied to a
|
|
71
|
-
Site or Page using the appropriate
|
|
72
|
-
|
|
73
|
-
`custom_code` endpoints.
|
|
74
|
-
|
|
75
|
-
<blockquote class="callout callout_info" theme="📘">Access to this
|
|
76
|
-
endpoint requires a bearer token from a <a
|
|
77
|
-
href="https://developers.webflow.com/data/docs/getting-started-data-clients">Data
|
|
78
|
-
Client App</a>.</blockquote>
|
|
49
|
+
docs: |
|
|
50
|
+
Apply scripts to a page.
|
|
79
51
|
|
|
52
|
+
<Note title="Script Registration">
|
|
53
|
+
To apply a script to a 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.
|
|
54
|
+
</Note>
|
|
80
55
|
|
|
81
56
|
Required scope | `custom_code:write`
|
|
82
57
|
source:
|
|
83
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
58
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
84
59
|
path-parameters:
|
|
85
60
|
page_id:
|
|
86
61
|
type: string
|
|
@@ -92,10 +67,12 @@ service:
|
|
|
92
67
|
response:
|
|
93
68
|
docs: Request was successful
|
|
94
69
|
type: root.ScriptApplyList
|
|
70
|
+
status-code: 200
|
|
95
71
|
errors:
|
|
96
72
|
- root.BadRequestError
|
|
97
73
|
- root.UnauthorizedError
|
|
98
74
|
- root.NotFoundError
|
|
75
|
+
- root.ConflictError
|
|
99
76
|
- root.TooManyRequestsError
|
|
100
77
|
- root.InternalServerError
|
|
101
78
|
examples:
|
|
@@ -131,26 +108,16 @@ service:
|
|
|
131
108
|
method: DELETE
|
|
132
109
|
auth: true
|
|
133
110
|
docs: >
|
|
134
|
-
Delete
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
In order to use the Custom Code APIs for Sites and Pages, Custom Code
|
|
138
|
-
Scripts must first be registered
|
|
139
|
-
|
|
140
|
-
to a Site via the `registered_scripts` endpoints, and then applied to a
|
|
141
|
-
Site or Page using the appropriate
|
|
111
|
+
Delete a custom code block that the App created on a page.
|
|
142
112
|
|
|
143
|
-
`custom_code` endpoints.
|
|
144
113
|
|
|
145
|
-
<
|
|
146
|
-
|
|
147
|
-
href="https://developers.webflow.com/data/docs/getting-started-data-clients">Data
|
|
148
|
-
Client App</a>.</blockquote>
|
|
114
|
+
<Note>Access to this endpoint requires a bearer token from a [Data
|
|
115
|
+
Client App](/data/docs/getting-started-data-clients).</Note>
|
|
149
116
|
|
|
150
117
|
|
|
151
118
|
Required scope | `custom_code:write`
|
|
152
119
|
source:
|
|
153
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
120
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
154
121
|
path-parameters:
|
|
155
122
|
page_id:
|
|
156
123
|
type: string
|
|
@@ -166,4 +133,4 @@ service:
|
|
|
166
133
|
- path-parameters:
|
|
167
134
|
page_id: 63c720f9347c2139b248e552
|
|
168
135
|
source:
|
|
169
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
136
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|