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
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: ../__package__.yml
|
|
3
|
+
service:
|
|
4
|
+
auth: false
|
|
5
|
+
base-path: ''
|
|
6
|
+
endpoints:
|
|
7
|
+
get-site-plan:
|
|
8
|
+
path: /sites/{site_id}/plan
|
|
9
|
+
method: GET
|
|
10
|
+
auth: true
|
|
11
|
+
docs: >
|
|
12
|
+
Get site plan details for the specified Site.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
<Warning title="Enterprise Only">This endpoint requires an Enterprise
|
|
16
|
+
workspace.</Warning>
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
Required scope | `sites:read`
|
|
20
|
+
source:
|
|
21
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
22
|
+
path-parameters:
|
|
23
|
+
site_id:
|
|
24
|
+
type: string
|
|
25
|
+
docs: Unique identifier for a Site
|
|
26
|
+
display-name: Get Site Plan
|
|
27
|
+
response:
|
|
28
|
+
docs: Request was successful
|
|
29
|
+
type: root.SitePlan
|
|
30
|
+
status-code: 200
|
|
31
|
+
errors:
|
|
32
|
+
- root.BadRequestError
|
|
33
|
+
- root.UnauthorizedError
|
|
34
|
+
- root.NotFoundError
|
|
35
|
+
- root.TooManyRequestsError
|
|
36
|
+
- root.InternalServerError
|
|
37
|
+
examples:
|
|
38
|
+
- path-parameters:
|
|
39
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
40
|
+
response:
|
|
41
|
+
body:
|
|
42
|
+
id: hosting-business-v4
|
|
43
|
+
name: Business Hosting
|
|
44
|
+
pricingInfo: https://webflow.com/pricing
|
|
45
|
+
source:
|
|
46
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: ../__package__.yml
|
|
3
|
+
service:
|
|
4
|
+
auth: false
|
|
5
|
+
base-path: ''
|
|
6
|
+
endpoints:
|
|
7
|
+
list:
|
|
8
|
+
path: /sites/{site_id}/redirects
|
|
9
|
+
method: GET
|
|
10
|
+
auth: true
|
|
11
|
+
docs: >
|
|
12
|
+
Fetch a list of all URL redirect rules configured for a specific site.
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
Use this endpoint to review, audit, or manage the redirection rules that
|
|
16
|
+
control how traffic is rerouted on your site.
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
<Warning title="Enterprise Only">This endpoint requires an Enterprise
|
|
20
|
+
workspace.</Warning>
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Required scope: `sites:read`
|
|
24
|
+
source:
|
|
25
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
26
|
+
path-parameters:
|
|
27
|
+
site_id:
|
|
28
|
+
type: string
|
|
29
|
+
docs: Unique identifier for a Site
|
|
30
|
+
display-name: Get URL redirects
|
|
31
|
+
response:
|
|
32
|
+
docs: Request was successful
|
|
33
|
+
type: root.Redirects
|
|
34
|
+
status-code: 200
|
|
35
|
+
errors:
|
|
36
|
+
- root.BadRequestError
|
|
37
|
+
- root.UnauthorizedError
|
|
38
|
+
- root.NotFoundError
|
|
39
|
+
- root.TooManyRequestsError
|
|
40
|
+
- root.InternalServerError
|
|
41
|
+
examples:
|
|
42
|
+
- path-parameters:
|
|
43
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
44
|
+
response:
|
|
45
|
+
body:
|
|
46
|
+
redirects:
|
|
47
|
+
- id: 42e1a2b7aa1a13f768a0042a
|
|
48
|
+
fromUrl: /mostly-harmless
|
|
49
|
+
toUrl: /earth
|
|
50
|
+
- id: 6x9e7f8d9a4b1c2d3e4f5678
|
|
51
|
+
fromUrl: /babel-fish
|
|
52
|
+
toUrl: /translate
|
|
53
|
+
pagination:
|
|
54
|
+
limit: 100
|
|
55
|
+
offset: 0
|
|
56
|
+
total: 2
|
|
57
|
+
create:
|
|
58
|
+
path: /sites/{site_id}/redirects
|
|
59
|
+
method: POST
|
|
60
|
+
auth: true
|
|
61
|
+
docs: >
|
|
62
|
+
Add a new URL redirection rule to a site.
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
This endpoint allows you to define a source path (`fromUrl`) and its
|
|
66
|
+
corresponding destination path (`toUrl`), which will dictate how traffic
|
|
67
|
+
is rerouted on your site. This is useful for managing site changes,
|
|
68
|
+
restructuring URLs, or handling outdated links.
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
<Warning title="Enterprise Only">This endpoint requires an Enterprise
|
|
72
|
+
workspace.</Warning>
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
Required scope: `sites:write`
|
|
76
|
+
source:
|
|
77
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
78
|
+
path-parameters:
|
|
79
|
+
site_id:
|
|
80
|
+
type: string
|
|
81
|
+
docs: Unique identifier for a Site
|
|
82
|
+
display-name: Create a URL redirect
|
|
83
|
+
request:
|
|
84
|
+
body: root.Redirect
|
|
85
|
+
content-type: application/json
|
|
86
|
+
response:
|
|
87
|
+
docs: Request was successful
|
|
88
|
+
type: root.Redirect
|
|
89
|
+
status-code: 200
|
|
90
|
+
errors:
|
|
91
|
+
- root.BadRequestError
|
|
92
|
+
- root.UnauthorizedError
|
|
93
|
+
- root.NotFoundError
|
|
94
|
+
- root.TooManyRequestsError
|
|
95
|
+
- root.InternalServerError
|
|
96
|
+
examples:
|
|
97
|
+
- path-parameters:
|
|
98
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
99
|
+
request:
|
|
100
|
+
id: 42e1a2b7aa1a13f768a0042a
|
|
101
|
+
fromUrl: /mostly-harmless
|
|
102
|
+
toUrl: /earth
|
|
103
|
+
response:
|
|
104
|
+
body:
|
|
105
|
+
id: 42e1a2b7aa1a13f768a0042a
|
|
106
|
+
fromUrl: /mostly-harmless
|
|
107
|
+
toUrl: /earth
|
|
108
|
+
delete:
|
|
109
|
+
path: /sites/{site_id}/redirects/{redirect_id}
|
|
110
|
+
method: DELETE
|
|
111
|
+
auth: true
|
|
112
|
+
docs: >
|
|
113
|
+
Remove a URL redirection rule from a site.
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
This is useful for cleaning up outdated or unnecessary redirects,
|
|
117
|
+
ensuring that your site's routing behavior remains efficient and
|
|
118
|
+
up-to-date.
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
<Warning title="Enterprise Only">This endpoint requires an Enterprise
|
|
122
|
+
workspace.</Warning>
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
Required scope: `sites:write`
|
|
126
|
+
source:
|
|
127
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
128
|
+
path-parameters:
|
|
129
|
+
site_id:
|
|
130
|
+
type: string
|
|
131
|
+
docs: Unique identifier for a Site
|
|
132
|
+
redirect_id:
|
|
133
|
+
type: string
|
|
134
|
+
docs: Unique identifier site rediect
|
|
135
|
+
display-name: Delete URL redirects
|
|
136
|
+
response:
|
|
137
|
+
docs: Request was successful
|
|
138
|
+
type: root.Redirects
|
|
139
|
+
status-code: 200
|
|
140
|
+
errors:
|
|
141
|
+
- root.BadRequestError
|
|
142
|
+
- root.UnauthorizedError
|
|
143
|
+
- root.NotFoundError
|
|
144
|
+
- root.TooManyRequestsError
|
|
145
|
+
- root.InternalServerError
|
|
146
|
+
examples:
|
|
147
|
+
- path-parameters:
|
|
148
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
149
|
+
redirect_id: 66c4cb9a20cac35ed19500e6
|
|
150
|
+
response:
|
|
151
|
+
body:
|
|
152
|
+
redirects:
|
|
153
|
+
- id: 42e1a2b7aa1a13f768a0042a
|
|
154
|
+
fromUrl: /mostly-harmless
|
|
155
|
+
toUrl: /earth
|
|
156
|
+
- id: 6x9e7f8d9a4b1c2d3e4f5678
|
|
157
|
+
fromUrl: /babel-fish
|
|
158
|
+
toUrl: /translate
|
|
159
|
+
pagination:
|
|
160
|
+
limit: 100
|
|
161
|
+
offset: 0
|
|
162
|
+
total: 2
|
|
163
|
+
update:
|
|
164
|
+
path: /sites/{site_id}/redirects/{redirect_id}
|
|
165
|
+
method: PATCH
|
|
166
|
+
auth: true
|
|
167
|
+
docs: >
|
|
168
|
+
Update a URL redirection rule from a site.
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
<Warning title="Enterprise Only">This endpoint requires an Enterprise
|
|
172
|
+
workspace.</Warning>
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
Required scope: `sites:write`
|
|
176
|
+
source:
|
|
177
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
178
|
+
path-parameters:
|
|
179
|
+
site_id:
|
|
180
|
+
type: string
|
|
181
|
+
docs: Unique identifier for a Site
|
|
182
|
+
redirect_id:
|
|
183
|
+
type: string
|
|
184
|
+
docs: Unique identifier site rediect
|
|
185
|
+
display-name: Update URL redirect
|
|
186
|
+
request:
|
|
187
|
+
body: root.Redirect
|
|
188
|
+
content-type: application/json
|
|
189
|
+
response:
|
|
190
|
+
docs: Request was successful
|
|
191
|
+
type: root.Redirect
|
|
192
|
+
status-code: 200
|
|
193
|
+
errors:
|
|
194
|
+
- root.BadRequestError
|
|
195
|
+
- root.UnauthorizedError
|
|
196
|
+
- root.NotFoundError
|
|
197
|
+
- root.TooManyRequestsError
|
|
198
|
+
- root.InternalServerError
|
|
199
|
+
examples:
|
|
200
|
+
- path-parameters:
|
|
201
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
202
|
+
redirect_id: 66c4cb9a20cac35ed19500e6
|
|
203
|
+
request:
|
|
204
|
+
id: 42e1a2b7aa1a13f768a0042a
|
|
205
|
+
fromUrl: /mostly-harmless
|
|
206
|
+
toUrl: /earth
|
|
207
|
+
response:
|
|
208
|
+
body:
|
|
209
|
+
id: 42e1a2b7aa1a13f768a0042a
|
|
210
|
+
fromUrl: /mostly-harmless
|
|
211
|
+
toUrl: /earth
|
|
212
|
+
source:
|
|
213
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: ../__package__.yml
|
|
3
|
+
service:
|
|
4
|
+
auth: false
|
|
5
|
+
base-path: ''
|
|
6
|
+
endpoints:
|
|
7
|
+
get:
|
|
8
|
+
path: /sites/{site_id}/robots_txt
|
|
9
|
+
method: GET
|
|
10
|
+
auth: true
|
|
11
|
+
docs: |
|
|
12
|
+
Retrieve the robots.txt configuration for various user agents.
|
|
13
|
+
|
|
14
|
+
Required scope: `site_config:read`
|
|
15
|
+
source:
|
|
16
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
17
|
+
path-parameters:
|
|
18
|
+
site_id:
|
|
19
|
+
type: string
|
|
20
|
+
docs: Unique identifier for a Site
|
|
21
|
+
display-name: Get robots.txt
|
|
22
|
+
response:
|
|
23
|
+
docs: Request was successful
|
|
24
|
+
type: root.Robots
|
|
25
|
+
status-code: 200
|
|
26
|
+
errors:
|
|
27
|
+
- root.BadRequestError
|
|
28
|
+
- root.UnauthorizedError
|
|
29
|
+
- root.NotFoundError
|
|
30
|
+
- root.TooManyRequestsError
|
|
31
|
+
- root.InternalServerError
|
|
32
|
+
examples:
|
|
33
|
+
- path-parameters:
|
|
34
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
35
|
+
response:
|
|
36
|
+
body:
|
|
37
|
+
rules:
|
|
38
|
+
- userAgent: googlebot
|
|
39
|
+
allows:
|
|
40
|
+
- /public
|
|
41
|
+
disallows:
|
|
42
|
+
- /vogon-poetry
|
|
43
|
+
- /total-perspective-vortex
|
|
44
|
+
sitemap: https://heartofgold.ship/sitemap.xml
|
|
45
|
+
put:
|
|
46
|
+
path: /sites/{site_id}/robots_txt
|
|
47
|
+
method: PUT
|
|
48
|
+
auth: true
|
|
49
|
+
docs: |
|
|
50
|
+
Replace the `robots.txt` configuration for various user agents.
|
|
51
|
+
|
|
52
|
+
Required scope | `site_config:write`
|
|
53
|
+
source:
|
|
54
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
55
|
+
path-parameters:
|
|
56
|
+
site_id:
|
|
57
|
+
type: string
|
|
58
|
+
docs: Unique identifier for a Site
|
|
59
|
+
display-name: Replace robots.txt
|
|
60
|
+
request:
|
|
61
|
+
body: root.Robots
|
|
62
|
+
content-type: application/json
|
|
63
|
+
response:
|
|
64
|
+
docs: Request was successful
|
|
65
|
+
type: root.Robots
|
|
66
|
+
status-code: 200
|
|
67
|
+
errors:
|
|
68
|
+
- root.BadRequestError
|
|
69
|
+
- root.UnauthorizedError
|
|
70
|
+
- root.NotFoundError
|
|
71
|
+
- root.TooManyRequestsError
|
|
72
|
+
- root.InternalServerError
|
|
73
|
+
examples:
|
|
74
|
+
- path-parameters:
|
|
75
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
76
|
+
request:
|
|
77
|
+
rules:
|
|
78
|
+
- userAgent: googlebot
|
|
79
|
+
allows:
|
|
80
|
+
- /public
|
|
81
|
+
disallows:
|
|
82
|
+
- /vogon-poetry
|
|
83
|
+
- /total-perspective-vortex
|
|
84
|
+
sitemap: https://heartofgold.ship/sitemap.xml
|
|
85
|
+
response:
|
|
86
|
+
body:
|
|
87
|
+
rules:
|
|
88
|
+
- userAgent: googlebot
|
|
89
|
+
allows:
|
|
90
|
+
- /public
|
|
91
|
+
disallows:
|
|
92
|
+
- /vogon-poetry
|
|
93
|
+
- /total-perspective-vortex
|
|
94
|
+
sitemap: https://heartofgold.ship/sitemap.xml
|
|
95
|
+
delete:
|
|
96
|
+
path: /sites/{site_id}/robots_txt
|
|
97
|
+
method: DELETE
|
|
98
|
+
auth: true
|
|
99
|
+
docs: >
|
|
100
|
+
Remove specific rules for a user-agent in your `robots.txt` file. To
|
|
101
|
+
delete all rules for a user-agent, provide an empty rule set. This will
|
|
102
|
+
remove the user-agent's entry entirely, leaving it subject to your
|
|
103
|
+
site's default crawling behavior.
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
**Note:** Deleting a user-agent with no rules will make the user-agent's
|
|
107
|
+
access unrestricted unless other directives apply.
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
Required scope: `site_config:write`
|
|
111
|
+
source:
|
|
112
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
113
|
+
path-parameters:
|
|
114
|
+
site_id:
|
|
115
|
+
type: string
|
|
116
|
+
docs: Unique identifier for a Site
|
|
117
|
+
display-name: Delete robots.txt
|
|
118
|
+
request:
|
|
119
|
+
body: root.Robots
|
|
120
|
+
content-type: application/json
|
|
121
|
+
response:
|
|
122
|
+
docs: Request was successful
|
|
123
|
+
type: root.Robots
|
|
124
|
+
status-code: 200
|
|
125
|
+
errors:
|
|
126
|
+
- root.BadRequestError
|
|
127
|
+
- root.UnauthorizedError
|
|
128
|
+
- root.NotFoundError
|
|
129
|
+
- root.TooManyRequestsError
|
|
130
|
+
- root.InternalServerError
|
|
131
|
+
examples:
|
|
132
|
+
- path-parameters:
|
|
133
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
134
|
+
request:
|
|
135
|
+
rules:
|
|
136
|
+
- userAgent: '*'
|
|
137
|
+
allows:
|
|
138
|
+
- /public
|
|
139
|
+
disallows:
|
|
140
|
+
- /bubbles
|
|
141
|
+
response:
|
|
142
|
+
body:
|
|
143
|
+
rules:
|
|
144
|
+
- userAgent: googlebot
|
|
145
|
+
allows:
|
|
146
|
+
- /public
|
|
147
|
+
disallows:
|
|
148
|
+
- /vogon-poetry
|
|
149
|
+
- /total-perspective-vortex
|
|
150
|
+
sitemap: https://heartofgold.ship/sitemap.xml
|
|
151
|
+
patch:
|
|
152
|
+
path: /sites/{site_id}/robots_txt
|
|
153
|
+
method: PATCH
|
|
154
|
+
auth: true
|
|
155
|
+
docs: |
|
|
156
|
+
Update the `robots.txt` configuration for various user agents.
|
|
157
|
+
|
|
158
|
+
Required scope | `site_config:write`
|
|
159
|
+
source:
|
|
160
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
161
|
+
path-parameters:
|
|
162
|
+
site_id:
|
|
163
|
+
type: string
|
|
164
|
+
docs: Unique identifier for a Site
|
|
165
|
+
display-name: Update robots.txt
|
|
166
|
+
request:
|
|
167
|
+
body: root.Robots
|
|
168
|
+
content-type: application/json
|
|
169
|
+
response:
|
|
170
|
+
docs: Request was successful
|
|
171
|
+
type: root.Robots
|
|
172
|
+
status-code: 200
|
|
173
|
+
errors:
|
|
174
|
+
- root.BadRequestError
|
|
175
|
+
- root.UnauthorizedError
|
|
176
|
+
- root.NotFoundError
|
|
177
|
+
- root.TooManyRequestsError
|
|
178
|
+
- root.InternalServerError
|
|
179
|
+
examples:
|
|
180
|
+
- path-parameters:
|
|
181
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
182
|
+
request:
|
|
183
|
+
rules:
|
|
184
|
+
- userAgent: googlebot
|
|
185
|
+
allows:
|
|
186
|
+
- /public
|
|
187
|
+
disallows:
|
|
188
|
+
- /vogon-poetry
|
|
189
|
+
- /total-perspective-vortex
|
|
190
|
+
sitemap: https://heartofgold.ship/sitemap.xml
|
|
191
|
+
response:
|
|
192
|
+
body:
|
|
193
|
+
rules:
|
|
194
|
+
- userAgent: googlebot
|
|
195
|
+
allows:
|
|
196
|
+
- /public
|
|
197
|
+
disallows:
|
|
198
|
+
- /vogon-poetry
|
|
199
|
+
- /total-perspective-vortex
|
|
200
|
+
sitemap: https://heartofgold.ship/sitemap.xml
|
|
201
|
+
source:
|
|
202
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -8,18 +8,16 @@ service:
|
|
|
8
8
|
path: /sites/{site_id}/custom_code
|
|
9
9
|
method: GET
|
|
10
10
|
auth: true
|
|
11
|
-
docs:
|
|
12
|
-
Get all
|
|
13
|
-
|
|
14
|
-
<blockquote class="callout callout_info" theme="📘">Access to this
|
|
15
|
-
endpoint requires a bearer token from a <a
|
|
16
|
-
href="https://developers.webflow.com/data/docs/getting-started-data-clients">Data
|
|
17
|
-
Client App</a>.</blockquote>
|
|
11
|
+
docs: |
|
|
12
|
+
Get all scripts applied to a site by the App.
|
|
18
13
|
|
|
14
|
+
<Note title="Script Registration">
|
|
15
|
+
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
|
|
16
|
+
</Note>
|
|
19
17
|
|
|
20
18
|
Required scope | `custom_code:read`
|
|
21
19
|
source:
|
|
22
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
20
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
23
21
|
path-parameters:
|
|
24
22
|
site_id:
|
|
25
23
|
type: string
|
|
@@ -28,6 +26,7 @@ service:
|
|
|
28
26
|
response:
|
|
29
27
|
docs: Request was successful
|
|
30
28
|
type: root.ScriptApplyList
|
|
29
|
+
status-code: 200
|
|
31
30
|
errors:
|
|
32
31
|
- root.BadRequestError
|
|
33
32
|
- root.UnauthorizedError
|
|
@@ -56,27 +55,16 @@ service:
|
|
|
56
55
|
path: /sites/{site_id}/custom_code
|
|
57
56
|
method: PUT
|
|
58
57
|
auth: true
|
|
59
|
-
docs:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
In order to use the Custom Code APIs for Sites and Pages, Custom Code
|
|
64
|
-
Scripts must first be registered
|
|
65
|
-
|
|
66
|
-
to a Site via the `registered_scripts` endpoints, and then applied to a
|
|
67
|
-
Site or Page using the appropriate
|
|
68
|
-
|
|
69
|
-
`custom_code` endpoints.
|
|
70
|
-
|
|
71
|
-
<blockquote class="callout callout_info" theme="📘">Access to this
|
|
72
|
-
endpoint requires a bearer token from a <a
|
|
73
|
-
href="https://developers.webflow.com/data/docs/getting-started-data-clients">Data
|
|
74
|
-
Client App</a>.</blockquote>
|
|
58
|
+
docs: |
|
|
59
|
+
Apply registered scripts to a site.
|
|
75
60
|
|
|
61
|
+
<Note title="Script Registration">
|
|
62
|
+
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
|
|
63
|
+
</Note>
|
|
76
64
|
|
|
77
65
|
Required scope | `custom_code:write`
|
|
78
66
|
source:
|
|
79
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
67
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
80
68
|
path-parameters:
|
|
81
69
|
site_id:
|
|
82
70
|
type: string
|
|
@@ -88,6 +76,7 @@ service:
|
|
|
88
76
|
response:
|
|
89
77
|
docs: Request was successful
|
|
90
78
|
type: root.ScriptApplyList
|
|
79
|
+
status-code: 200
|
|
91
80
|
errors:
|
|
92
81
|
- root.BadRequestError
|
|
93
82
|
- root.UnauthorizedError
|
|
@@ -127,18 +116,13 @@ service:
|
|
|
127
116
|
method: DELETE
|
|
128
117
|
auth: true
|
|
129
118
|
docs: >
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
<blockquote class="callout callout_info" theme="📘">Access to this
|
|
134
|
-
endpoint requires a bearer token from a <a
|
|
135
|
-
href="https://developers.webflow.com/data/docs/getting-started-data-clients">Data
|
|
136
|
-
Client App</a>.</blockquote>
|
|
119
|
+
Remove scripts from a site applied by the App. This endpoint will not
|
|
120
|
+
remove scripts from the site's registered scripts.
|
|
137
121
|
|
|
138
122
|
|
|
139
123
|
Required scope | `custom_code:write`
|
|
140
124
|
source:
|
|
141
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
125
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
142
126
|
path-parameters:
|
|
143
127
|
site_id:
|
|
144
128
|
type: string
|
|
@@ -158,17 +142,20 @@ service:
|
|
|
158
142
|
method: GET
|
|
159
143
|
auth: true
|
|
160
144
|
docs: >
|
|
161
|
-
Get
|
|
145
|
+
Get a list of scripts that have been applied to a site and/or individual
|
|
146
|
+
pages.
|
|
147
|
+
|
|
162
148
|
|
|
163
|
-
<
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
149
|
+
<Note title="Script Registration">
|
|
150
|
+
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints.
|
|
151
|
+
|
|
152
|
+
See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
|
|
153
|
+
</Note>
|
|
167
154
|
|
|
168
155
|
|
|
169
156
|
Required scope | `custom_code:read`
|
|
170
157
|
source:
|
|
171
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
158
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
172
159
|
path-parameters:
|
|
173
160
|
site_id:
|
|
174
161
|
type: string
|
|
@@ -188,6 +175,7 @@ service:
|
|
|
188
175
|
response:
|
|
189
176
|
docs: Request was successful
|
|
190
177
|
type: root.ListCustomCodeBlocks
|
|
178
|
+
status-code: 200
|
|
191
179
|
errors:
|
|
192
180
|
- root.BadRequestError
|
|
193
181
|
- root.UnauthorizedError
|
|
@@ -201,7 +189,6 @@ service:
|
|
|
201
189
|
body:
|
|
202
190
|
blocks:
|
|
203
191
|
- siteId: 6258612d1ee792848f805dcf
|
|
204
|
-
pageId: pageId
|
|
205
192
|
type: site
|
|
206
193
|
scripts:
|
|
207
194
|
- id: chartjs
|
|
@@ -225,4 +212,4 @@ service:
|
|
|
225
212
|
offset: 0
|
|
226
213
|
total: 1
|
|
227
214
|
source:
|
|
228
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
215
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|