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
|
@@ -4,6 +4,72 @@ service:
|
|
|
4
4
|
auth: false
|
|
5
5
|
base-path: ''
|
|
6
6
|
endpoints:
|
|
7
|
+
create:
|
|
8
|
+
path: /workspaces/{workspace_id}/sites
|
|
9
|
+
method: POST
|
|
10
|
+
auth: true
|
|
11
|
+
docs: >
|
|
12
|
+
Create a site.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
<Warning title="Enterprise Only">This endpoint requires an Enterprise
|
|
16
|
+
workspace.</Warning>
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
Required scope | `workspace:write`
|
|
20
|
+
source:
|
|
21
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
22
|
+
path-parameters:
|
|
23
|
+
workspace_id:
|
|
24
|
+
type: string
|
|
25
|
+
docs: Unique identifier for a Workspace
|
|
26
|
+
display-name: Create Site
|
|
27
|
+
request:
|
|
28
|
+
name: SitesCreateRequest
|
|
29
|
+
body:
|
|
30
|
+
properties:
|
|
31
|
+
name:
|
|
32
|
+
type: string
|
|
33
|
+
docs: The name of the site
|
|
34
|
+
templateName:
|
|
35
|
+
type: optional<string>
|
|
36
|
+
docs: The workspace or marketplace template to use
|
|
37
|
+
parentFolderId:
|
|
38
|
+
type: optional<string>
|
|
39
|
+
docs: MegaDodo Publications - Potential Book Ideas
|
|
40
|
+
content-type: application/json
|
|
41
|
+
response:
|
|
42
|
+
docs: Request was successful
|
|
43
|
+
type: root.Site
|
|
44
|
+
status-code: 201
|
|
45
|
+
errors:
|
|
46
|
+
- root.BadRequestError
|
|
47
|
+
- root.UnauthorizedError
|
|
48
|
+
- root.ForbiddenError
|
|
49
|
+
- root.NotFoundError
|
|
50
|
+
- root.TooManyRequestsError
|
|
51
|
+
- root.InternalServerError
|
|
52
|
+
examples:
|
|
53
|
+
- name: NewlyCreatedSite
|
|
54
|
+
path-parameters:
|
|
55
|
+
workspace_id: 580e63e98c9a982ac9b8b741
|
|
56
|
+
request:
|
|
57
|
+
name: The Hitchhiker's Guide to the Galaxy
|
|
58
|
+
response:
|
|
59
|
+
body:
|
|
60
|
+
id: 670ecf86817e3cc7a510eb6a
|
|
61
|
+
workspaceId: 625860a7a6c16d624927122f
|
|
62
|
+
createdOn: '2024-10-15T20:24:38Z'
|
|
63
|
+
displayName: The Hitchiker‘s Guide
|
|
64
|
+
shortName: hitchikers-guide
|
|
65
|
+
lastUpdated: '2024-10-15T20:24:38Z'
|
|
66
|
+
parentFolderId: 670ece123598db72d9648be1
|
|
67
|
+
customDomains:
|
|
68
|
+
- id: 589a331aa51e760df7ccb89d
|
|
69
|
+
url: test-api-domain.com
|
|
70
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
71
|
+
dataCollectionEnabled: false
|
|
72
|
+
dataCollectionType: always
|
|
7
73
|
list:
|
|
8
74
|
path: /sites
|
|
9
75
|
method: GET
|
|
@@ -13,11 +79,12 @@ service:
|
|
|
13
79
|
|
|
14
80
|
Required scope | `sites:read`
|
|
15
81
|
source:
|
|
16
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
82
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
17
83
|
display-name: List Sites
|
|
18
84
|
response:
|
|
19
85
|
docs: Request was successful
|
|
20
86
|
type: root.Sites
|
|
87
|
+
status-code: 200
|
|
21
88
|
errors:
|
|
22
89
|
- root.UnauthorizedError
|
|
23
90
|
- root.NotFoundError
|
|
@@ -40,6 +107,7 @@ service:
|
|
|
40
107
|
customDomains:
|
|
41
108
|
- id: 589a331aa51e760df7ccb89e
|
|
42
109
|
url: heartofgold.galaxy
|
|
110
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
43
111
|
locales:
|
|
44
112
|
primary:
|
|
45
113
|
id: 653fd9af6a07fc9cfd7a5e57
|
|
@@ -76,10 +144,10 @@ service:
|
|
|
76
144
|
previewUrl: >-
|
|
77
145
|
https://d1otoma47x30pg.cloudfront.net/42e63e98c9a982ac9b8b742/198110121200.png
|
|
78
146
|
timeZone: DeepSpace/Depression
|
|
79
|
-
parentFolderId: 1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6
|
|
80
147
|
customDomains:
|
|
81
148
|
- id: 589a331aa51e760df7ccb89f
|
|
82
149
|
url: marvin.blog
|
|
150
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
83
151
|
locales:
|
|
84
152
|
primary:
|
|
85
153
|
id: 653fd9af6a07fc9cfd7a5e57
|
|
@@ -109,10 +177,10 @@ service:
|
|
|
109
177
|
previewUrl: >-
|
|
110
178
|
https://d1otoma47x30pg.cloudfront.net/42e63e98c9a982ac9b8b743/198210121200.png
|
|
111
179
|
timeZone: Vogsphere/PoetryHall
|
|
112
|
-
parentFolderId: 1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6
|
|
113
180
|
customDomains:
|
|
114
181
|
- id: 589a331aa51e760df7ccb8a0
|
|
115
182
|
url: vogonpoetry.galaxy
|
|
183
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
116
184
|
locales:
|
|
117
185
|
primary:
|
|
118
186
|
id: 653fd9af6a07fc9cfd7a5e55
|
|
@@ -141,7 +209,7 @@ service:
|
|
|
141
209
|
|
|
142
210
|
Required scope | `sites:read`
|
|
143
211
|
source:
|
|
144
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
212
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
145
213
|
path-parameters:
|
|
146
214
|
site_id:
|
|
147
215
|
type: string
|
|
@@ -150,6 +218,7 @@ service:
|
|
|
150
218
|
response:
|
|
151
219
|
docs: Request was successful
|
|
152
220
|
type: root.Site
|
|
221
|
+
status-code: 200
|
|
153
222
|
errors:
|
|
154
223
|
- root.BadRequestError
|
|
155
224
|
- root.UnauthorizedError
|
|
@@ -175,8 +244,126 @@ service:
|
|
|
175
244
|
customDomains:
|
|
176
245
|
- id: 589a331aa51e760df7ccb89d
|
|
177
246
|
url: hitchhikersguide.galaxy
|
|
247
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
248
|
+
- id: 589a331aa51e760df7ccb89e
|
|
249
|
+
url: heartofgold.spaceship
|
|
250
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
251
|
+
locales:
|
|
252
|
+
primary:
|
|
253
|
+
id: 653fd9af6a07fc9cfd7a5e57
|
|
254
|
+
cmsLocaleId: 653ad57de882f528b32e810e
|
|
255
|
+
enabled: false
|
|
256
|
+
displayName: English (United States)
|
|
257
|
+
displayImageId: displayImageId
|
|
258
|
+
redirect: true
|
|
259
|
+
subdirectory: ''
|
|
260
|
+
tag: en-US
|
|
261
|
+
secondary:
|
|
262
|
+
- id: 653fd9af6a07fc9cfd7a5e57
|
|
263
|
+
cmsLocaleId: 653ad57de882f528b32e810e
|
|
264
|
+
enabled: false
|
|
265
|
+
displayName: English (United States)
|
|
266
|
+
redirect: true
|
|
267
|
+
subdirectory: ''
|
|
268
|
+
tag: en-US
|
|
269
|
+
dataCollectionEnabled: true
|
|
270
|
+
dataCollectionType: always
|
|
271
|
+
delete:
|
|
272
|
+
path: /sites/{site_id}
|
|
273
|
+
method: DELETE
|
|
274
|
+
auth: true
|
|
275
|
+
docs: >
|
|
276
|
+
Delete a site.
|
|
277
|
+
|
|
278
|
+
|
|
279
|
+
<Warning title="Enterprise Only">This endpoint requires an Enterprise
|
|
280
|
+
workspace.</Warning>
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
Required scope | `sites:write`
|
|
284
|
+
source:
|
|
285
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
286
|
+
path-parameters:
|
|
287
|
+
site_id:
|
|
288
|
+
type: string
|
|
289
|
+
docs: Unique identifier for a Site
|
|
290
|
+
display-name: Delete Site
|
|
291
|
+
errors:
|
|
292
|
+
- root.BadRequestError
|
|
293
|
+
- root.UnauthorizedError
|
|
294
|
+
- root.ForbiddenError
|
|
295
|
+
- root.NotFoundError
|
|
296
|
+
- root.TooManyRequestsError
|
|
297
|
+
- root.InternalServerError
|
|
298
|
+
examples:
|
|
299
|
+
- path-parameters:
|
|
300
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
301
|
+
update:
|
|
302
|
+
path: /sites/{site_id}
|
|
303
|
+
method: PATCH
|
|
304
|
+
auth: true
|
|
305
|
+
docs: >
|
|
306
|
+
Update a site.
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
<Warning title="Enterprise Only">This endpoint requires an Enterprise
|
|
310
|
+
workspace.</Warning>
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
Required scope | `sites:write`
|
|
314
|
+
source:
|
|
315
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
316
|
+
path-parameters:
|
|
317
|
+
site_id:
|
|
318
|
+
type: string
|
|
319
|
+
docs: Unique identifier for a Site
|
|
320
|
+
display-name: Update Site
|
|
321
|
+
request:
|
|
322
|
+
name: SitesUpdateRequest
|
|
323
|
+
body:
|
|
324
|
+
properties:
|
|
325
|
+
name:
|
|
326
|
+
type: optional<string>
|
|
327
|
+
docs: The name of the site
|
|
328
|
+
parentFolderId:
|
|
329
|
+
type: optional<string>
|
|
330
|
+
docs: The parent folder ID of the site
|
|
331
|
+
content-type: application/json
|
|
332
|
+
response:
|
|
333
|
+
docs: Request was successful
|
|
334
|
+
type: root.Site
|
|
335
|
+
status-code: 200
|
|
336
|
+
errors:
|
|
337
|
+
- root.BadRequestError
|
|
338
|
+
- root.UnauthorizedError
|
|
339
|
+
- root.ForbiddenError
|
|
340
|
+
- root.NotFoundError
|
|
341
|
+
- root.TooManyRequestsError
|
|
342
|
+
- root.InternalServerError
|
|
343
|
+
examples:
|
|
344
|
+
- path-parameters:
|
|
345
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
346
|
+
request: {}
|
|
347
|
+
response:
|
|
348
|
+
body:
|
|
349
|
+
id: 42e98c9a982ac9b8b742
|
|
350
|
+
workspaceId: 42e63e98c9a982ac9b8b742
|
|
351
|
+
createdOn: '1979-10-12T12:00:00Z'
|
|
352
|
+
displayName: The Hitchhiker's Guide to the Galaxy
|
|
353
|
+
shortName: hitchhikers-guide
|
|
354
|
+
lastPublished: '2023-04-02T12:42:00Z'
|
|
355
|
+
lastUpdated: '2023-04-02T12:42:00Z'
|
|
356
|
+
previewUrl: >-
|
|
357
|
+
https://screenshots.webflow.com/sites/6258612d1ee792848f805dcf/20231219211811_d5990556c743f33b7071300a03bf67e6.png
|
|
358
|
+
timeZone: Magrathea/FactoryFloor
|
|
359
|
+
parentFolderId: 1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6
|
|
360
|
+
customDomains:
|
|
361
|
+
- id: 589a331aa51e760df7ccb89d
|
|
362
|
+
url: hitchhikersguide.galaxy
|
|
363
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
178
364
|
- id: 589a331aa51e760df7ccb89e
|
|
179
365
|
url: heartofgold.spaceship
|
|
366
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
180
367
|
locales:
|
|
181
368
|
primary:
|
|
182
369
|
id: 653fd9af6a07fc9cfd7a5e57
|
|
@@ -206,7 +393,7 @@ service:
|
|
|
206
393
|
|
|
207
394
|
Required scope | `sites:read`
|
|
208
395
|
source:
|
|
209
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
396
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
210
397
|
path-parameters:
|
|
211
398
|
site_id:
|
|
212
399
|
type: string
|
|
@@ -215,6 +402,7 @@ service:
|
|
|
215
402
|
response:
|
|
216
403
|
docs: Request was successful
|
|
217
404
|
type: root.Domains
|
|
405
|
+
status-code: 200
|
|
218
406
|
errors:
|
|
219
407
|
- root.UnauthorizedError
|
|
220
408
|
- root.ForbiddenError
|
|
@@ -229,8 +417,10 @@ service:
|
|
|
229
417
|
customDomains:
|
|
230
418
|
- id: 589a331aa51e760df7ccb89d
|
|
231
419
|
url: hitchhikersguide.galaxy
|
|
420
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
232
421
|
- id: 589a331aa51e760df7ccb89e
|
|
233
422
|
url: heartofgold.spaceship
|
|
423
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
234
424
|
publish:
|
|
235
425
|
path: /sites/{site_id}/publish
|
|
236
426
|
method: POST
|
|
@@ -245,7 +435,7 @@ service:
|
|
|
245
435
|
|
|
246
436
|
Required scope | `sites:write`
|
|
247
437
|
source:
|
|
248
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
438
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
249
439
|
path-parameters:
|
|
250
440
|
site_id:
|
|
251
441
|
type: string
|
|
@@ -266,6 +456,7 @@ service:
|
|
|
266
456
|
response:
|
|
267
457
|
docs: Request accepted
|
|
268
458
|
type: SitesPublishResponse
|
|
459
|
+
status-code: 202
|
|
269
460
|
errors:
|
|
270
461
|
- root.BadRequestError
|
|
271
462
|
- root.UnauthorizedError
|
|
@@ -281,10 +472,12 @@ service:
|
|
|
281
472
|
customDomains:
|
|
282
473
|
- id: 589a331aa51e760df7ccb89d
|
|
283
474
|
url: test-api-domain.com
|
|
475
|
+
lastPublished: '2022-12-07T16:51:37Z'
|
|
284
476
|
publishToWebflowSubdomain: true
|
|
285
477
|
source:
|
|
286
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
478
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
287
479
|
display-name: Sites
|
|
480
|
+
docs: Sites are the sites in your Webflow workspace.
|
|
288
481
|
types:
|
|
289
482
|
SitesPublishResponse:
|
|
290
483
|
properties:
|
|
@@ -296,4 +489,4 @@ types:
|
|
|
296
489
|
docs: Flag for publishing to webflow.io subdomain
|
|
297
490
|
default: false
|
|
298
491
|
source:
|
|
299
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
492
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -13,11 +13,12 @@ service:
|
|
|
13
13
|
|
|
14
14
|
Required Scope | `authorized_user:read`
|
|
15
15
|
source:
|
|
16
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
16
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
17
17
|
display-name: Get Authorization User Info
|
|
18
18
|
response:
|
|
19
19
|
docs: Request was successful
|
|
20
20
|
type: root.AuthorizedUser
|
|
21
|
+
status-code: 200
|
|
21
22
|
errors:
|
|
22
23
|
- root.UnauthorizedError
|
|
23
24
|
- root.ForbiddenError
|
|
@@ -35,14 +36,16 @@ service:
|
|
|
35
36
|
docs: >
|
|
36
37
|
Information about the authorization token
|
|
37
38
|
|
|
38
|
-
|
|
39
|
+
|
|
40
|
+
<Note>Access to this endpoint requires a bearer token from a [Data
|
|
39
41
|
Client App](/data/docs/getting-started-data-clients).</Note>
|
|
40
42
|
source:
|
|
41
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
43
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
42
44
|
display-name: Get Authorization Info
|
|
43
45
|
response:
|
|
44
46
|
docs: Request was successful
|
|
45
47
|
type: root.Authorization
|
|
48
|
+
status-code: 200
|
|
46
49
|
errors:
|
|
47
50
|
- root.UnauthorizedError
|
|
48
51
|
examples:
|
|
@@ -68,4 +71,4 @@ service:
|
|
|
68
71
|
homepage: https://webflow.com
|
|
69
72
|
displayName: My Amazing App
|
|
70
73
|
source:
|
|
71
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
74
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -32,7 +32,7 @@ types:
|
|
|
32
32
|
name: UpdatedOnDescending
|
|
33
33
|
docs: Sorts users in descending order based on their update date
|
|
34
34
|
source:
|
|
35
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
35
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
36
36
|
UsersUpdateRequestData:
|
|
37
37
|
properties:
|
|
38
38
|
name:
|
|
@@ -48,7 +48,7 @@ types:
|
|
|
48
48
|
docs: |
|
|
49
49
|
Boolean indicating if the user has accepted to receive communications
|
|
50
50
|
source:
|
|
51
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
51
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
52
52
|
inline: true
|
|
53
53
|
imports:
|
|
54
54
|
root: __package__.yml
|
|
@@ -65,7 +65,7 @@ service:
|
|
|
65
65
|
|
|
66
66
|
Required scope | `users:read`
|
|
67
67
|
source:
|
|
68
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
68
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
69
69
|
path-parameters:
|
|
70
70
|
site_id:
|
|
71
71
|
type: string
|
|
@@ -93,6 +93,7 @@ service:
|
|
|
93
93
|
response:
|
|
94
94
|
docs: Request was successful
|
|
95
95
|
type: root.UserList
|
|
96
|
+
status-code: 200
|
|
96
97
|
errors:
|
|
97
98
|
- root.BadRequestError
|
|
98
99
|
- root.UnauthorizedError
|
|
@@ -169,7 +170,7 @@ service:
|
|
|
169
170
|
|
|
170
171
|
Required scope | `users:read`
|
|
171
172
|
source:
|
|
172
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
173
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
173
174
|
path-parameters:
|
|
174
175
|
site_id:
|
|
175
176
|
type: string
|
|
@@ -181,6 +182,7 @@ service:
|
|
|
181
182
|
response:
|
|
182
183
|
docs: Request was successful
|
|
183
184
|
type: root.User
|
|
185
|
+
status-code: 200
|
|
184
186
|
errors:
|
|
185
187
|
- root.BadRequestError
|
|
186
188
|
- root.UnauthorizedError
|
|
@@ -220,7 +222,7 @@ service:
|
|
|
220
222
|
|
|
221
223
|
Required scope | `users:write`
|
|
222
224
|
source:
|
|
223
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
225
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
224
226
|
path-parameters:
|
|
225
227
|
site_id:
|
|
226
228
|
type: string
|
|
@@ -252,7 +254,7 @@ service:
|
|
|
252
254
|
<Note class="notice">The <code>email</code> and <code>password</code>
|
|
253
255
|
fields cannot be updated using this endpoint</Note>
|
|
254
256
|
source:
|
|
255
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
257
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
256
258
|
path-parameters:
|
|
257
259
|
site_id:
|
|
258
260
|
type: string
|
|
@@ -276,6 +278,7 @@ service:
|
|
|
276
278
|
response:
|
|
277
279
|
docs: Request was successful
|
|
278
280
|
type: root.User
|
|
281
|
+
status-code: 200
|
|
279
282
|
errors:
|
|
280
283
|
- root.BadRequestError
|
|
281
284
|
- root.UnauthorizedError
|
|
@@ -329,7 +332,7 @@ service:
|
|
|
329
332
|
|
|
330
333
|
Required scope | `users:write`
|
|
331
334
|
source:
|
|
332
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
335
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
333
336
|
path-parameters:
|
|
334
337
|
site_id:
|
|
335
338
|
type: string
|
|
@@ -354,6 +357,7 @@ service:
|
|
|
354
357
|
response:
|
|
355
358
|
docs: Request was successful
|
|
356
359
|
type: root.User
|
|
360
|
+
status-code: 200
|
|
357
361
|
errors:
|
|
358
362
|
- root.BadRequestError
|
|
359
363
|
- root.UnauthorizedError
|
|
@@ -389,4 +393,4 @@ service:
|
|
|
389
393
|
accept-communications: true
|
|
390
394
|
additionalProperties: additionalProperties
|
|
391
395
|
source:
|
|
392
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
396
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -13,7 +13,7 @@ service:
|
|
|
13
13
|
|
|
14
14
|
Required scope | `sites: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
|
|
@@ -22,6 +22,7 @@ service:
|
|
|
22
22
|
response:
|
|
23
23
|
docs: Request was successful
|
|
24
24
|
type: root.WebhookList
|
|
25
|
+
status-code: 200
|
|
25
26
|
errors:
|
|
26
27
|
- root.BadRequestError
|
|
27
28
|
- root.UnauthorizedError
|
|
@@ -33,10 +34,6 @@ service:
|
|
|
33
34
|
site_id: 580e63e98c9a982ac9b8b741
|
|
34
35
|
response:
|
|
35
36
|
body:
|
|
36
|
-
pagination:
|
|
37
|
-
limit: 100
|
|
38
|
-
offset: 0
|
|
39
|
-
total: 100
|
|
40
37
|
webhooks:
|
|
41
38
|
- id: 57ca0a9e418c504a6e1acbb6
|
|
42
39
|
triggerType: form_submission
|
|
@@ -65,6 +62,10 @@ service:
|
|
|
65
62
|
name: Email Form
|
|
66
63
|
lastTriggered: '2023-02-08T23:59:28Z'
|
|
67
64
|
createdOn: '2016-07-19T01:43:40Z'
|
|
65
|
+
pagination:
|
|
66
|
+
limit: 100
|
|
67
|
+
offset: 0
|
|
68
|
+
total: 100
|
|
68
69
|
create:
|
|
69
70
|
path: /sites/{site_id}/webhooks
|
|
70
71
|
method: POST
|
|
@@ -75,14 +76,13 @@ service:
|
|
|
75
76
|
|
|
76
77
|
Limit of 75 registrations per `triggerType`, per site.
|
|
77
78
|
|
|
78
|
-
|
|
79
|
-
endpoint requires a bearer token from a
|
|
80
|
-
|
|
81
|
-
Client App</a>.</blockquote>
|
|
79
|
+
|
|
80
|
+
<Note>Access to this endpoint requires a bearer token from a [Data
|
|
81
|
+
Client App](/data/docs/getting-started-data-clients).</Note>
|
|
82
82
|
|
|
83
83
|
Required scope | `sites:write`
|
|
84
84
|
source:
|
|
85
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
85
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
86
86
|
path-parameters:
|
|
87
87
|
site_id:
|
|
88
88
|
type: string
|
|
@@ -94,6 +94,7 @@ service:
|
|
|
94
94
|
response:
|
|
95
95
|
docs: Request was successful
|
|
96
96
|
type: root.Webhook
|
|
97
|
+
status-code: 201
|
|
97
98
|
errors:
|
|
98
99
|
- root.BadRequestError
|
|
99
100
|
- root.UnauthorizedError
|
|
@@ -118,8 +119,6 @@ service:
|
|
|
118
119
|
url: https://webhook.site/7f7f7f7f-7f7f-7f7f-7f7f-7f7f7f7f7f7f
|
|
119
120
|
workspaceId: 4f4e46fd476ea8c507000001
|
|
120
121
|
siteId: 562ac0395358780a1f5e6fbd
|
|
121
|
-
filter:
|
|
122
|
-
name: My Form
|
|
123
122
|
lastTriggered: '2023-02-08T23:59:28Z'
|
|
124
123
|
createdOn: '2022-11-08T23:59:28Z'
|
|
125
124
|
get:
|
|
@@ -131,7 +130,7 @@ service:
|
|
|
131
130
|
|
|
132
131
|
Required scope: `sites:read`
|
|
133
132
|
source:
|
|
134
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
133
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
135
134
|
path-parameters:
|
|
136
135
|
webhook_id:
|
|
137
136
|
type: string
|
|
@@ -140,6 +139,7 @@ service:
|
|
|
140
139
|
response:
|
|
141
140
|
docs: Request was successful
|
|
142
141
|
type: root.Webhook
|
|
142
|
+
status-code: 200
|
|
143
143
|
errors:
|
|
144
144
|
- root.BadRequestError
|
|
145
145
|
- root.UnauthorizedError
|
|
@@ -156,8 +156,6 @@ service:
|
|
|
156
156
|
url: https://webhook.site/7f7f7f7f-7f7f-7f7f-7f7f-7f7f7f7f7f7f
|
|
157
157
|
workspaceId: 4f4e46fd476ea8c507000001
|
|
158
158
|
siteId: 562ac0395358780a1f5e6fbd
|
|
159
|
-
filter:
|
|
160
|
-
name: My Form
|
|
161
159
|
lastTriggered: '2023-02-08T23:59:28Z'
|
|
162
160
|
createdOn: '2022-11-08T23:59:28Z'
|
|
163
161
|
delete:
|
|
@@ -169,7 +167,7 @@ service:
|
|
|
169
167
|
|
|
170
168
|
Required scope: `sites:read`
|
|
171
169
|
source:
|
|
172
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
170
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
173
171
|
path-parameters:
|
|
174
172
|
webhook_id:
|
|
175
173
|
type: string
|
|
@@ -185,5 +183,6 @@ service:
|
|
|
185
183
|
- path-parameters:
|
|
186
184
|
webhook_id: 580e64008c9a982ac9b8b754
|
|
187
185
|
source:
|
|
188
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
186
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
189
187
|
display-name: Webhooks
|
|
188
|
+
docs: Webhooks are the webhooks in your Webflow site.
|
package/.mock/fern.config.json
CHANGED
package/Client.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import { Token } from "./api/resources/token/client/Client";
|
|
|
7
7
|
import { Sites } from "./api/resources/sites/client/Client";
|
|
8
8
|
import { Collections } from "./api/resources/collections/client/Client";
|
|
9
9
|
import { Pages } from "./api/resources/pages/client/Client";
|
|
10
|
+
import { Components } from "./api/resources/components/client/Client";
|
|
10
11
|
import { Scripts } from "./api/resources/scripts/client/Client";
|
|
11
12
|
import { Assets } from "./api/resources/assets/client/Client";
|
|
12
13
|
import { Webhooks } from "./api/resources/webhooks/client/Client";
|
|
@@ -44,6 +45,8 @@ export declare class WebflowClient {
|
|
|
44
45
|
get collections(): Collections;
|
|
45
46
|
protected _pages: Pages | undefined;
|
|
46
47
|
get pages(): Pages;
|
|
48
|
+
protected _components: Components | undefined;
|
|
49
|
+
get components(): Components;
|
|
47
50
|
protected _scripts: Scripts | undefined;
|
|
48
51
|
get scripts(): Scripts;
|
|
49
52
|
protected _assets: Assets | undefined;
|
package/Client.js
CHANGED
|
@@ -8,16 +8,17 @@ const Client_1 = require("./api/resources/token/client/Client");
|
|
|
8
8
|
const Client_2 = require("./api/resources/sites/client/Client");
|
|
9
9
|
const Client_3 = require("./api/resources/collections/client/Client");
|
|
10
10
|
const Client_4 = require("./api/resources/pages/client/Client");
|
|
11
|
-
const Client_5 = require("./api/resources/
|
|
12
|
-
const Client_6 = require("./api/resources/
|
|
13
|
-
const Client_7 = require("./api/resources/
|
|
14
|
-
const Client_8 = require("./api/resources/
|
|
15
|
-
const Client_9 = require("./api/resources/
|
|
16
|
-
const Client_10 = require("./api/resources/
|
|
17
|
-
const Client_11 = require("./api/resources/
|
|
18
|
-
const Client_12 = require("./api/resources/
|
|
19
|
-
const Client_13 = require("./api/resources/
|
|
20
|
-
const Client_14 = require("./api/resources/
|
|
11
|
+
const Client_5 = require("./api/resources/components/client/Client");
|
|
12
|
+
const Client_6 = require("./api/resources/scripts/client/Client");
|
|
13
|
+
const Client_7 = require("./api/resources/assets/client/Client");
|
|
14
|
+
const Client_8 = require("./api/resources/webhooks/client/Client");
|
|
15
|
+
const Client_9 = require("./api/resources/forms/client/Client");
|
|
16
|
+
const Client_10 = require("./api/resources/users/client/Client");
|
|
17
|
+
const Client_11 = require("./api/resources/accessGroups/client/Client");
|
|
18
|
+
const Client_12 = require("./api/resources/products/client/Client");
|
|
19
|
+
const Client_13 = require("./api/resources/orders/client/Client");
|
|
20
|
+
const Client_14 = require("./api/resources/inventory/client/Client");
|
|
21
|
+
const Client_15 = require("./api/resources/ecommerce/client/Client");
|
|
21
22
|
class WebflowClient {
|
|
22
23
|
constructor(_options) {
|
|
23
24
|
this._options = _options;
|
|
@@ -38,45 +39,49 @@ class WebflowClient {
|
|
|
38
39
|
var _a;
|
|
39
40
|
return ((_a = this._pages) !== null && _a !== void 0 ? _a : (this._pages = new Client_4.Pages(this._options)));
|
|
40
41
|
}
|
|
42
|
+
get components() {
|
|
43
|
+
var _a;
|
|
44
|
+
return ((_a = this._components) !== null && _a !== void 0 ? _a : (this._components = new Client_5.Components(this._options)));
|
|
45
|
+
}
|
|
41
46
|
get scripts() {
|
|
42
47
|
var _a;
|
|
43
|
-
return ((_a = this._scripts) !== null && _a !== void 0 ? _a : (this._scripts = new
|
|
48
|
+
return ((_a = this._scripts) !== null && _a !== void 0 ? _a : (this._scripts = new Client_6.Scripts(this._options)));
|
|
44
49
|
}
|
|
45
50
|
get assets() {
|
|
46
51
|
var _a;
|
|
47
|
-
return ((_a = this._assets) !== null && _a !== void 0 ? _a : (this._assets = new
|
|
52
|
+
return ((_a = this._assets) !== null && _a !== void 0 ? _a : (this._assets = new Client_7.Assets(this._options)));
|
|
48
53
|
}
|
|
49
54
|
get webhooks() {
|
|
50
55
|
var _a;
|
|
51
|
-
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new
|
|
56
|
+
return ((_a = this._webhooks) !== null && _a !== void 0 ? _a : (this._webhooks = new Client_8.Webhooks(this._options)));
|
|
52
57
|
}
|
|
53
58
|
get forms() {
|
|
54
59
|
var _a;
|
|
55
|
-
return ((_a = this._forms) !== null && _a !== void 0 ? _a : (this._forms = new
|
|
60
|
+
return ((_a = this._forms) !== null && _a !== void 0 ? _a : (this._forms = new Client_9.Forms(this._options)));
|
|
56
61
|
}
|
|
57
62
|
get users() {
|
|
58
63
|
var _a;
|
|
59
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
64
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_10.Users(this._options)));
|
|
60
65
|
}
|
|
61
66
|
get accessGroups() {
|
|
62
67
|
var _a;
|
|
63
|
-
return ((_a = this._accessGroups) !== null && _a !== void 0 ? _a : (this._accessGroups = new
|
|
68
|
+
return ((_a = this._accessGroups) !== null && _a !== void 0 ? _a : (this._accessGroups = new Client_11.AccessGroups(this._options)));
|
|
64
69
|
}
|
|
65
70
|
get products() {
|
|
66
71
|
var _a;
|
|
67
|
-
return ((_a = this._products) !== null && _a !== void 0 ? _a : (this._products = new
|
|
72
|
+
return ((_a = this._products) !== null && _a !== void 0 ? _a : (this._products = new Client_12.Products(this._options)));
|
|
68
73
|
}
|
|
69
74
|
get orders() {
|
|
70
75
|
var _a;
|
|
71
|
-
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new
|
|
76
|
+
return ((_a = this._orders) !== null && _a !== void 0 ? _a : (this._orders = new Client_13.Orders(this._options)));
|
|
72
77
|
}
|
|
73
78
|
get inventory() {
|
|
74
79
|
var _a;
|
|
75
|
-
return ((_a = this._inventory) !== null && _a !== void 0 ? _a : (this._inventory = new
|
|
80
|
+
return ((_a = this._inventory) !== null && _a !== void 0 ? _a : (this._inventory = new Client_14.Inventory(this._options)));
|
|
76
81
|
}
|
|
77
82
|
get ecommerce() {
|
|
78
83
|
var _a;
|
|
79
|
-
return ((_a = this._ecommerce) !== null && _a !== void 0 ? _a : (this._ecommerce = new
|
|
84
|
+
return ((_a = this._ecommerce) !== null && _a !== void 0 ? _a : (this._ecommerce = new Client_15.Ecommerce(this._options)));
|
|
80
85
|
}
|
|
81
86
|
}
|
|
82
87
|
exports.WebflowClient = WebflowClient;
|