webflow-api 3.0.0 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.mock/definition/__package__.yml +613 -214
- package/.mock/definition/accessGroups.yml +3 -3
- package/.mock/definition/assets.yml +10 -9
- package/.mock/definition/collections/fields.yml +16 -14
- package/.mock/definition/collections/items.yml +180 -63
- package/.mock/definition/collections.yml +6 -5
- package/.mock/definition/components.yml +486 -0
- package/.mock/definition/ecommerce.yml +2 -2
- package/.mock/definition/forms.yml +7 -6
- package/.mock/definition/inventory.yml +8 -6
- package/.mock/definition/orders.yml +11 -9
- package/.mock/definition/pages/scripts.yml +18 -17
- package/.mock/definition/pages.yml +91 -64
- package/.mock/definition/products.yml +9 -9
- package/.mock/definition/scripts.yml +12 -16
- package/.mock/definition/sites/activityLogs.yml +2 -2
- package/.mock/definition/sites/plans.yml +40 -0
- package/.mock/definition/sites/redirects.yml +190 -0
- package/.mock/definition/sites/scripts.yml +16 -21
- package/.mock/definition/sites.yml +202 -6
- package/.mock/definition/token.yml +5 -4
- package/.mock/definition/users.yml +8 -8
- package/.mock/definition/webhooks.yml +9 -9
- package/.mock/fern.config.json +1 -1
- package/Client.d.ts +3 -0
- package/Client.js +25 -20
- package/MIGRATION.md +32 -15
- package/api/errors/index.d.ts +1 -1
- package/api/errors/index.js +1 -1
- package/api/resources/accessGroups/client/Client.js +1 -1
- package/api/resources/assets/client/Client.d.ts +5 -0
- package/api/resources/assets/client/Client.js +13 -8
- package/api/resources/collections/client/Client.d.ts +3 -0
- package/api/resources/collections/client/Client.js +7 -4
- package/api/resources/collections/resources/fields/client/Client.js +3 -3
- package/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +11 -10
- package/api/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- package/api/resources/collections/resources/items/client/Client.d.ts +13 -20
- package/api/resources/collections/resources/items/client/Client.js +31 -36
- package/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
- package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +4 -1
- package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +3 -0
- package/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +1 -1
- package/api/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +1 -1
- package/api/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleItems.d.ts} +2 -2
- package/{dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts → api/resources/collections/resources/items/types/MultipleLiveItems.d.ts} +1 -1
- package/api/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +1 -1
- package/api/resources/collections/resources/items/types/index.d.ts +3 -3
- package/api/resources/collections/resources/items/types/index.js +3 -3
- package/api/resources/components/client/Client.d.ts +176 -0
- package/api/resources/components/client/Client.js +670 -0
- package/api/resources/components/client/index.d.ts +1 -0
- package/api/resources/components/client/index.js +17 -0
- package/api/resources/components/client/requests/ComponentDomWrite.d.ts +34 -0
- package/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +25 -0
- package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +28 -0
- package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +23 -0
- package/api/resources/components/client/requests/ComponentsListRequest.d.ts +17 -0
- package/api/resources/components/client/requests/index.d.ts +5 -0
- package/api/resources/components/client/requests/index.js +2 -0
- package/api/resources/components/index.d.ts +2 -0
- package/api/resources/components/index.js +18 -0
- package/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -0
- package/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +16 -0
- package/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +7 -0
- package/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +7 -0
- package/api/resources/components/types/index.d.ts +4 -0
- package/api/resources/components/types/index.js +20 -0
- package/api/resources/ecommerce/client/Client.js +1 -1
- package/api/resources/forms/client/Client.d.ts +3 -0
- package/api/resources/forms/client/Client.js +8 -5
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/api/resources/inventory/client/Client.d.ts +3 -1
- package/api/resources/inventory/client/Client.js +5 -3
- package/api/resources/orders/client/Client.d.ts +3 -0
- package/api/resources/orders/client/Client.js +9 -6
- package/api/resources/pages/client/Client.d.ts +26 -10
- package/api/resources/pages/client/Client.js +32 -18
- package/api/resources/pages/client/requests/PageDomWrite.d.ts +34 -0
- package/api/resources/pages/client/requests/PageDomWrite.js +5 -0
- package/api/resources/pages/client/requests/index.d.ts +1 -1
- package/api/resources/pages/resources/scripts/client/Client.d.ts +6 -3
- package/api/resources/pages/resources/scripts/client/Client.js +11 -6
- package/api/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -0
- package/api/resources/pages/types/PageDomWriteNodesItem.js +5 -0
- package/api/resources/pages/types/index.d.ts +1 -1
- package/api/resources/pages/types/index.js +1 -1
- package/api/resources/products/client/Client.d.ts +5 -6
- package/api/resources/products/client/Client.js +11 -12
- package/api/resources/scripts/client/Client.d.ts +3 -3
- package/api/resources/scripts/client/Client.js +6 -6
- package/api/resources/sites/client/Client.d.ts +70 -0
- package/api/resources/sites/client/Client.js +330 -9
- package/api/resources/sites/client/requests/SitesCreateRequest.d.ts +17 -0
- package/api/resources/sites/client/requests/SitesCreateRequest.js +5 -0
- package/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/api/resources/sites/client/requests/SitesUpdateRequest.js +5 -0
- package/api/resources/sites/client/requests/index.d.ts +2 -0
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
- package/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
- package/api/resources/sites/resources/index.d.ts +2 -0
- package/api/resources/sites/resources/index.js +3 -1
- package/api/resources/sites/resources/plans/client/Client.d.ts +45 -0
- package/api/resources/sites/resources/plans/client/Client.js +155 -0
- package/api/resources/sites/resources/plans/client/index.d.ts +1 -0
- package/api/resources/sites/resources/plans/client/index.js +2 -0
- package/api/resources/sites/resources/plans/index.d.ts +1 -0
- package/api/resources/sites/resources/plans/index.js +17 -0
- package/api/resources/sites/resources/redirects/client/Client.d.ts +115 -0
- package/api/resources/sites/resources/redirects/client/Client.js +472 -0
- package/api/resources/sites/resources/redirects/client/index.d.ts +1 -0
- package/api/resources/sites/resources/redirects/client/index.js +2 -0
- package/api/resources/sites/resources/redirects/index.d.ts +1 -0
- package/api/resources/sites/resources/redirects/index.js +17 -0
- package/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
- package/api/resources/sites/resources/scripts/client/Client.js +8 -8
- package/api/resources/token/client/Client.d.ts +2 -1
- package/api/resources/token/client/Client.js +4 -3
- package/api/resources/users/client/Client.d.ts +1 -1
- package/api/resources/users/client/Client.js +6 -6
- package/api/resources/webhooks/client/Client.d.ts +4 -1
- package/api/resources/webhooks/client/Client.js +8 -5
- package/api/types/CollectionItem.d.ts +6 -2
- package/api/types/CollectionItemFieldData.d.ts +2 -2
- package/api/types/CollectionItemPatchSingle.d.ts +24 -0
- package/api/types/CollectionItemPatchSingle.js +5 -0
- package/api/types/CollectionItemPatchSingleFieldData.d.ts +11 -0
- package/api/types/CollectionItemPatchSingleFieldData.js +5 -0
- package/api/types/CollectionItemPostSingle.d.ts +28 -0
- package/api/types/CollectionItemPostSingle.js +5 -0
- package/api/types/CollectionItemPostSingleFieldData.d.ts +11 -0
- package/api/types/CollectionItemPostSingleFieldData.js +5 -0
- package/api/types/Component.d.ts +18 -0
- package/api/types/Component.js +5 -0
- package/api/types/ComponentDom.d.ts +13 -0
- package/api/types/ComponentDom.js +5 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +13 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWrite.js +5 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +14 -0
- package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +5 -0
- package/api/types/ComponentList.d.ts +11 -0
- package/api/types/ComponentList.js +5 -0
- package/api/types/ComponentNode.d.ts +15 -0
- package/api/types/ComponentNode.js +5 -0
- package/api/types/ComponentProperties.d.ts +13 -0
- package/api/types/ComponentProperties.js +5 -0
- package/api/types/ComponentProperty.d.ts +17 -0
- package/api/types/ComponentProperty.js +5 -0
- package/api/types/ComponentPropertyType.d.ts +12 -0
- package/api/types/ComponentPropertyType.js +11 -0
- package/api/types/Dom.d.ts +1 -1
- package/api/types/Domain.d.ts +2 -0
- package/api/types/Error_.d.ts +1 -1
- package/api/types/FieldType.d.ts +10 -10
- package/api/types/FieldType.js +9 -9
- package/api/types/ImageNode.d.ts +6 -2
- package/api/types/ImageNodeImage.d.ts +7 -0
- package/api/types/ImageNodeImage.js +5 -0
- package/api/types/Node.d.ts +11 -8
- package/api/types/{ErrorDetailsItem.d.ts → NotEnterprisePlanWorkspace.d.ts} +1 -1
- package/api/types/NotEnterprisePlanWorkspace.js +5 -0
- package/api/types/ProductFieldData.d.ts +1 -1
- package/api/types/Redirect.d.ts +14 -0
- package/api/types/Redirect.js +5 -0
- package/api/types/Redirects.d.ts +12 -0
- package/api/types/Redirects.js +5 -0
- package/api/types/ScriptApply.d.ts +1 -1
- package/api/types/SitePlan.d.ts +12 -0
- package/api/types/SitePlan.js +5 -0
- package/api/types/SitePlanId.d.ts +21 -0
- package/api/types/SitePlanId.js +20 -0
- package/api/types/SitePlanName.d.ts +15 -0
- package/api/types/SitePlanName.js +14 -0
- package/api/types/Text.d.ts +9 -0
- package/api/types/Text.js +5 -0
- package/api/types/TextNode.d.ts +7 -3
- package/api/types/TextNodeText.d.ts +9 -0
- package/api/types/TextNodeText.js +5 -0
- package/{dist/api/resources/pages/types/DomWriteNodesItem.d.ts → api/types/TextNodeWrite.d.ts} +4 -1
- package/api/types/TextNodeWrite.js +5 -0
- package/api/types/TriggerType.d.ts +15 -15
- package/api/types/UserAccessGroupsItem.d.ts +2 -3
- package/api/types/UserAccessGroupsItemType.d.ts +2 -3
- package/api/types/index.d.ts +27 -6
- package/api/types/index.js +27 -6
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +25 -20
- package/dist/api/errors/index.d.ts +1 -1
- package/dist/api/errors/index.js +1 -1
- package/dist/api/resources/accessGroups/client/Client.js +1 -1
- package/dist/api/resources/assets/client/Client.d.ts +5 -0
- package/dist/api/resources/assets/client/Client.js +13 -8
- package/dist/api/resources/collections/client/Client.d.ts +3 -0
- package/dist/api/resources/collections/client/Client.js +7 -4
- package/dist/api/resources/collections/resources/fields/client/Client.js +3 -3
- package/dist/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +11 -10
- package/dist/api/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +13 -20
- package/dist/api/resources/collections/resources/items/client/Client.js +31 -36
- package/dist/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +4 -1
- package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +3 -0
- package/dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequest.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/types/ItemsCreateItemRequest.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleItems.d.ts} +2 -2
- package/dist/api/resources/collections/resources/items/types/MultipleItems.js +5 -0
- package/{api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts → dist/api/resources/collections/resources/items/types/MultipleLiveItems.d.ts} +1 -1
- package/dist/api/resources/collections/resources/items/types/MultipleLiveItems.js +5 -0
- package/dist/api/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +1 -1
- package/dist/api/resources/collections/resources/items/types/SingleCmsItem.js +5 -0
- package/dist/api/resources/collections/resources/items/types/index.d.ts +3 -3
- package/dist/api/resources/collections/resources/items/types/index.js +3 -3
- package/dist/api/resources/components/client/Client.d.ts +176 -0
- package/dist/api/resources/components/client/Client.js +670 -0
- package/dist/api/resources/components/client/index.d.ts +1 -0
- package/dist/api/resources/components/client/index.js +17 -0
- package/dist/api/resources/components/client/requests/ComponentDomWrite.d.ts +34 -0
- package/dist/api/resources/components/client/requests/ComponentDomWrite.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +25 -0
- package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +28 -0
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +23 -0
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.js +5 -0
- package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +17 -0
- package/dist/api/resources/components/client/requests/ComponentsListRequest.js +5 -0
- package/dist/api/resources/components/client/requests/index.d.ts +5 -0
- package/dist/api/resources/components/client/requests/index.js +2 -0
- package/dist/api/resources/components/index.d.ts +2 -0
- package/dist/api/resources/components/index.js +18 -0
- package/dist/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -0
- package/dist/api/resources/components/types/ComponentDomWriteNodesItem.js +5 -0
- package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +16 -0
- package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.js +5 -0
- package/dist/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +7 -0
- package/dist/api/resources/components/types/ComponentsUpdateContentResponse.js +5 -0
- package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +7 -0
- package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.js +5 -0
- package/dist/api/resources/components/types/index.d.ts +4 -0
- package/dist/api/resources/components/types/index.js +20 -0
- package/dist/api/resources/ecommerce/client/Client.js +1 -1
- package/dist/api/resources/forms/client/Client.d.ts +3 -0
- package/dist/api/resources/forms/client/Client.js +8 -5
- package/dist/api/resources/index.d.ts +3 -0
- package/dist/api/resources/index.js +4 -1
- package/dist/api/resources/inventory/client/Client.d.ts +3 -1
- package/dist/api/resources/inventory/client/Client.js +5 -3
- package/dist/api/resources/orders/client/Client.d.ts +3 -0
- package/dist/api/resources/orders/client/Client.js +9 -6
- package/dist/api/resources/pages/client/Client.d.ts +26 -10
- package/dist/api/resources/pages/client/Client.js +32 -18
- package/dist/api/resources/pages/client/requests/PageDomWrite.d.ts +34 -0
- package/dist/api/resources/pages/client/requests/PageDomWrite.js +5 -0
- package/dist/api/resources/pages/client/requests/index.d.ts +1 -1
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +6 -3
- package/dist/api/resources/pages/resources/scripts/client/Client.js +11 -6
- package/dist/api/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -0
- package/dist/api/resources/pages/types/PageDomWriteNodesItem.js +5 -0
- package/dist/api/resources/pages/types/index.d.ts +1 -1
- package/dist/api/resources/pages/types/index.js +1 -1
- package/dist/api/resources/products/client/Client.d.ts +5 -6
- package/dist/api/resources/products/client/Client.js +11 -12
- package/dist/api/resources/scripts/client/Client.d.ts +3 -3
- package/dist/api/resources/scripts/client/Client.js +6 -6
- package/dist/api/resources/sites/client/Client.d.ts +70 -0
- package/dist/api/resources/sites/client/Client.js +330 -9
- package/dist/api/resources/sites/client/requests/SitesCreateRequest.d.ts +17 -0
- package/dist/api/resources/sites/client/requests/SitesCreateRequest.js +5 -0
- package/dist/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/dist/api/resources/sites/client/requests/SitesUpdateRequest.js +5 -0
- package/dist/api/resources/sites/client/requests/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
- package/dist/api/resources/sites/resources/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/index.js +3 -1
- package/dist/api/resources/sites/resources/plans/client/Client.d.ts +45 -0
- package/dist/api/resources/sites/resources/plans/client/Client.js +155 -0
- package/dist/api/resources/sites/resources/plans/client/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/plans/client/index.js +2 -0
- package/dist/api/resources/sites/resources/plans/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/plans/index.js +17 -0
- package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +115 -0
- package/dist/api/resources/sites/resources/redirects/client/Client.js +472 -0
- package/dist/api/resources/sites/resources/redirects/client/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/redirects/client/index.js +2 -0
- package/dist/api/resources/sites/resources/redirects/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/redirects/index.js +17 -0
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
- package/dist/api/resources/sites/resources/scripts/client/Client.js +8 -8
- package/dist/api/resources/token/client/Client.d.ts +2 -1
- package/dist/api/resources/token/client/Client.js +4 -3
- package/dist/api/resources/users/client/Client.d.ts +1 -1
- package/dist/api/resources/users/client/Client.js +6 -6
- package/dist/api/resources/webhooks/client/Client.d.ts +4 -1
- package/dist/api/resources/webhooks/client/Client.js +8 -5
- package/dist/api/types/CollectionItem.d.ts +6 -2
- package/dist/api/types/CollectionItemFieldData.d.ts +2 -2
- package/dist/api/types/CollectionItemPatchSingle.d.ts +24 -0
- package/dist/api/types/CollectionItemPatchSingle.js +5 -0
- package/dist/api/types/CollectionItemPatchSingleFieldData.d.ts +11 -0
- package/dist/api/types/CollectionItemPatchSingleFieldData.js +5 -0
- package/dist/api/types/CollectionItemPostSingle.d.ts +28 -0
- package/dist/api/types/CollectionItemPostSingle.js +5 -0
- package/dist/api/types/CollectionItemPostSingleFieldData.d.ts +11 -0
- package/dist/api/types/CollectionItemPostSingleFieldData.js +5 -0
- package/dist/api/types/Component.d.ts +18 -0
- package/dist/api/types/Component.js +5 -0
- package/dist/api/types/ComponentDom.d.ts +13 -0
- package/dist/api/types/ComponentDom.js +5 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +13 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.js +5 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +14 -0
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +5 -0
- package/dist/api/types/ComponentList.d.ts +11 -0
- package/dist/api/types/ComponentList.js +5 -0
- package/dist/api/types/ComponentNode.d.ts +15 -0
- package/dist/api/types/ComponentNode.js +5 -0
- package/dist/api/types/ComponentProperties.d.ts +13 -0
- package/dist/api/types/ComponentProperties.js +5 -0
- package/dist/api/types/ComponentProperty.d.ts +17 -0
- package/dist/api/types/ComponentProperty.js +5 -0
- package/dist/api/types/ComponentPropertyType.d.ts +12 -0
- package/dist/api/types/ComponentPropertyType.js +11 -0
- package/dist/api/types/Dom.d.ts +1 -1
- package/dist/api/types/Domain.d.ts +2 -0
- package/dist/api/types/Error_.d.ts +1 -1
- package/dist/api/types/FieldType.d.ts +10 -10
- package/dist/api/types/FieldType.js +9 -9
- package/dist/api/types/ImageNode.d.ts +6 -2
- package/dist/api/types/ImageNodeImage.d.ts +7 -0
- package/dist/api/types/ImageNodeImage.js +5 -0
- package/dist/api/types/Node.d.ts +11 -8
- package/dist/api/types/{ErrorDetailsItem.d.ts → NotEnterprisePlanWorkspace.d.ts} +1 -1
- package/dist/api/types/NotEnterprisePlanWorkspace.js +5 -0
- package/dist/api/types/ProductFieldData.d.ts +1 -1
- package/dist/api/types/Redirect.d.ts +14 -0
- package/dist/api/types/Redirect.js +5 -0
- package/dist/api/types/Redirects.d.ts +12 -0
- package/dist/api/types/Redirects.js +5 -0
- package/dist/api/types/ScriptApply.d.ts +1 -1
- package/dist/api/types/SitePlan.d.ts +12 -0
- package/dist/api/types/SitePlan.js +5 -0
- package/dist/api/types/SitePlanId.d.ts +21 -0
- package/dist/api/types/SitePlanId.js +20 -0
- package/dist/api/types/SitePlanName.d.ts +15 -0
- package/dist/api/types/SitePlanName.js +14 -0
- package/dist/api/types/Text.d.ts +9 -0
- package/dist/api/types/Text.js +5 -0
- package/dist/api/types/TextNode.d.ts +7 -3
- package/dist/api/types/TextNodeText.d.ts +9 -0
- package/dist/api/types/TextNodeText.js +5 -0
- package/{api/resources/pages/types/DomWriteNodesItem.d.ts → dist/api/types/TextNodeWrite.d.ts} +4 -1
- package/dist/api/types/TextNodeWrite.js +5 -0
- package/dist/api/types/TriggerType.d.ts +15 -15
- package/dist/api/types/UserAccessGroupsItem.d.ts +2 -3
- package/dist/api/types/UserAccessGroupsItemType.d.ts +2 -3
- package/dist/api/types/index.d.ts +27 -6
- package/dist/api/types/index.js +27 -6
- package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +1 -1
- package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- package/dist/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
- package/dist/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +1 -1
- package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
- package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
- 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/ItemsCreateItemRequest.d.ts +3 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.js +3 -3
- package/dist/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +13 -0
- package/{serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js → dist/serialization/resources/collections/resources/items/types/MultipleItems.js} +4 -4
- package/dist/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleLiveItems.d.ts} +2 -2
- package/dist/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.js → MultipleLiveItems.js} +2 -2
- package/dist/serialization/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +2 -2
- package/{serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js → dist/serialization/resources/collections/resources/items/types/SingleCmsItem.js} +2 -2
- package/dist/serialization/resources/collections/resources/items/types/index.d.ts +3 -3
- package/dist/serialization/resources/collections/resources/items/types/index.js +3 -3
- package/dist/serialization/resources/components/client/index.d.ts +1 -0
- package/dist/serialization/resources/components/client/index.js +17 -0
- package/dist/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +13 -0
- package/dist/serialization/resources/components/client/requests/ComponentDomWrite.js +34 -0
- package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +13 -0
- package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +34 -0
- package/dist/serialization/resources/components/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/components/client/requests/index.js +7 -0
- package/dist/serialization/resources/components/index.d.ts +2 -0
- package/dist/serialization/resources/components/index.js +18 -0
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +12 -0
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.js +33 -0
- package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +13 -0
- package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +34 -0
- package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +12 -0
- package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.js +33 -0
- package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +12 -0
- package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +33 -0
- package/dist/serialization/resources/components/types/index.d.ts +4 -0
- package/dist/serialization/resources/components/types/index.js +20 -0
- package/dist/serialization/resources/index.d.ts +3 -0
- package/dist/serialization/resources/index.js +4 -1
- package/dist/serialization/resources/pages/client/requests/PageDomWrite.d.ts +13 -0
- package/dist/serialization/resources/pages/client/requests/PageDomWrite.js +34 -0
- package/dist/serialization/resources/pages/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/pages/client/requests/index.js +3 -3
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +12 -0
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.js +33 -0
- package/dist/serialization/resources/pages/types/index.d.ts +1 -1
- package/dist/serialization/resources/pages/types/index.js +1 -1
- package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +14 -0
- package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.js +35 -0
- package/dist/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/{serialization/resources/pages/client/requests/DomWrite.js → dist/serialization/resources/sites/client/requests/SitesUpdateRequest.js} +4 -4
- package/dist/serialization/resources/sites/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/sites/client/requests/index.js +5 -1
- package/dist/serialization/types/CollectionItem.d.ts +1 -1
- package/dist/serialization/types/CollectionItem.js +1 -1
- package/dist/serialization/types/CollectionItemFieldData.d.ts +2 -2
- package/dist/serialization/types/CollectionItemFieldData.js +2 -2
- package/dist/serialization/types/CollectionItemPatchSingle.d.ts +20 -0
- package/dist/serialization/types/CollectionItemPatchSingle.js +41 -0
- package/dist/serialization/types/CollectionItemPatchSingleFieldData.d.ts +14 -0
- package/dist/serialization/types/CollectionItemPatchSingleFieldData.js +36 -0
- package/dist/serialization/types/CollectionItemPostSingle.d.ts +20 -0
- package/dist/serialization/types/CollectionItemPostSingle.js +41 -0
- package/dist/serialization/types/CollectionItemPostSingleFieldData.d.ts +14 -0
- package/dist/serialization/types/CollectionItemPostSingleFieldData.js +36 -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/Domain.d.ts +1 -0
- package/dist/serialization/types/Domain.js +1 -0
- package/dist/serialization/types/Error_.d.ts +1 -2
- package/dist/serialization/types/Error_.js +1 -2
- package/dist/serialization/types/FieldType.d.ts +1 -1
- package/dist/serialization/types/FieldType.js +9 -9
- package/dist/serialization/types/ImageNode.d.ts +4 -2
- package/dist/serialization/types/ImageNode.js +4 -2
- package/dist/serialization/types/ImageNodeImage.d.ts +13 -0
- package/{serialization/types/ErrorDetailsItem.js → dist/serialization/types/ImageNodeImage.js} +5 -5
- package/dist/serialization/types/Node.d.ts +11 -8
- package/dist/serialization/types/Node.js +10 -7
- package/dist/serialization/types/NotEnterprisePlanWorkspace.d.ts +10 -0
- package/dist/serialization/types/{NodeType.js → NotEnterprisePlanWorkspace.js} +2 -2
- package/dist/serialization/types/Redirect.d.ts +14 -0
- package/dist/serialization/types/Redirect.js +35 -0
- package/dist/serialization/types/Redirects.d.ts +15 -0
- package/dist/serialization/types/Redirects.js +36 -0
- package/dist/serialization/types/SitePlan.d.ts +16 -0
- package/dist/serialization/types/SitePlan.js +37 -0
- package/dist/serialization/types/SitePlanId.d.ts +10 -0
- package/dist/serialization/types/SitePlanId.js +44 -0
- package/dist/serialization/types/SitePlanName.d.ts +10 -0
- package/dist/serialization/types/SitePlanName.js +38 -0
- package/dist/serialization/types/Text.d.ts +13 -0
- package/dist/serialization/types/Text.js +34 -0
- package/dist/serialization/types/TextNode.d.ts +4 -2
- package/dist/serialization/types/TextNode.js +4 -2
- package/dist/serialization/types/TextNodeText.d.ts +13 -0
- package/dist/serialization/types/TextNodeText.js +34 -0
- package/dist/serialization/types/TextNodeWrite.d.ts +13 -0
- package/{serialization/resources/pages/types/DomWriteNodesItem.js → dist/serialization/types/TextNodeWrite.js} +3 -3
- package/dist/serialization/types/index.d.ts +27 -6
- package/dist/serialization/types/index.js +27 -6
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1844 -788
- package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +1 -1
- package/serialization/resources/collections/resources/fields/types/FieldCreateType.js +10 -9
- package/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +1 -1
- package/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +1 -1
- package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
- package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
- 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/ItemsCreateItemRequest.d.ts +3 -3
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemRequest.js +3 -3
- package/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +13 -0
- package/{dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js → serialization/resources/collections/resources/items/types/MultipleItems.js} +4 -4
- package/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.d.ts → MultipleLiveItems.d.ts} +2 -2
- package/serialization/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.js → MultipleLiveItems.js} +2 -2
- package/serialization/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.d.ts → SingleCmsItem.d.ts} +2 -2
- package/{dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js → serialization/resources/collections/resources/items/types/SingleCmsItem.js} +2 -2
- package/serialization/resources/collections/resources/items/types/index.d.ts +3 -3
- package/serialization/resources/collections/resources/items/types/index.js +3 -3
- package/serialization/resources/components/client/index.d.ts +1 -0
- package/serialization/resources/components/client/index.js +17 -0
- package/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +13 -0
- package/serialization/resources/components/client/requests/ComponentDomWrite.js +34 -0
- package/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +13 -0
- package/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +34 -0
- package/serialization/resources/components/client/requests/index.d.ts +2 -0
- package/serialization/resources/components/client/requests/index.js +7 -0
- package/serialization/resources/components/index.d.ts +2 -0
- package/serialization/resources/components/index.js +18 -0
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +12 -0
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.js +33 -0
- package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +13 -0
- package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +34 -0
- package/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +12 -0
- package/serialization/resources/components/types/ComponentsUpdateContentResponse.js +33 -0
- package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +12 -0
- package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +33 -0
- package/serialization/resources/components/types/index.d.ts +4 -0
- package/serialization/resources/components/types/index.js +20 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/serialization/resources/pages/client/requests/PageDomWrite.d.ts +13 -0
- package/serialization/resources/pages/client/requests/PageDomWrite.js +34 -0
- package/serialization/resources/pages/client/requests/index.d.ts +1 -1
- package/serialization/resources/pages/client/requests/index.js +3 -3
- package/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +12 -0
- package/serialization/resources/pages/types/PageDomWriteNodesItem.js +33 -0
- package/serialization/resources/pages/types/index.d.ts +1 -1
- package/serialization/resources/pages/types/index.js +1 -1
- package/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +14 -0
- package/serialization/resources/sites/client/requests/SitesCreateRequest.js +35 -0
- package/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +13 -0
- package/{dist/serialization/resources/pages/client/requests/DomWrite.js → serialization/resources/sites/client/requests/SitesUpdateRequest.js} +4 -4
- package/serialization/resources/sites/client/requests/index.d.ts +2 -0
- package/serialization/resources/sites/client/requests/index.js +5 -1
- package/serialization/types/CollectionItem.d.ts +1 -1
- package/serialization/types/CollectionItem.js +1 -1
- package/serialization/types/CollectionItemFieldData.d.ts +2 -2
- package/serialization/types/CollectionItemFieldData.js +2 -2
- package/serialization/types/CollectionItemPatchSingle.d.ts +20 -0
- package/serialization/types/CollectionItemPatchSingle.js +41 -0
- package/serialization/types/CollectionItemPatchSingleFieldData.d.ts +14 -0
- package/serialization/types/CollectionItemPatchSingleFieldData.js +36 -0
- package/serialization/types/CollectionItemPostSingle.d.ts +20 -0
- package/serialization/types/CollectionItemPostSingle.js +41 -0
- package/serialization/types/CollectionItemPostSingleFieldData.d.ts +14 -0
- package/serialization/types/CollectionItemPostSingleFieldData.js +36 -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/Domain.d.ts +1 -0
- package/serialization/types/Domain.js +1 -0
- package/serialization/types/Error_.d.ts +1 -2
- package/serialization/types/Error_.js +1 -2
- package/serialization/types/FieldType.d.ts +1 -1
- package/serialization/types/FieldType.js +9 -9
- package/serialization/types/ImageNode.d.ts +4 -2
- package/serialization/types/ImageNode.js +4 -2
- package/serialization/types/ImageNodeImage.d.ts +13 -0
- package/serialization/types/ImageNodeImage.js +34 -0
- package/serialization/types/Node.d.ts +11 -8
- package/serialization/types/Node.js +10 -7
- package/serialization/types/NotEnterprisePlanWorkspace.d.ts +10 -0
- package/serialization/types/{NodeType.js → NotEnterprisePlanWorkspace.js} +2 -2
- package/serialization/types/Redirect.d.ts +14 -0
- package/serialization/types/Redirect.js +35 -0
- package/serialization/types/Redirects.d.ts +15 -0
- package/serialization/types/Redirects.js +36 -0
- package/serialization/types/SitePlan.d.ts +16 -0
- package/serialization/types/SitePlan.js +37 -0
- package/serialization/types/SitePlanId.d.ts +10 -0
- package/serialization/types/SitePlanId.js +44 -0
- package/serialization/types/SitePlanName.d.ts +10 -0
- package/serialization/types/SitePlanName.js +38 -0
- package/serialization/types/Text.d.ts +13 -0
- package/serialization/types/Text.js +34 -0
- package/serialization/types/TextNode.d.ts +4 -2
- package/serialization/types/TextNode.js +4 -2
- package/serialization/types/TextNodeText.d.ts +13 -0
- package/serialization/types/TextNodeText.js +34 -0
- package/serialization/types/TextNodeWrite.d.ts +13 -0
- package/{dist/serialization/resources/pages/types/DomWriteNodesItem.js → serialization/types/TextNodeWrite.js} +3 -3
- package/serialization/types/index.d.ts +27 -6
- package/serialization/types/index.js +27 -6
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
- package/api/types/NodeType.d.ts +0 -8
- package/api/types/NodeType.js +0 -10
- package/dist/api/resources/pages/client/requests/DomWrite.d.ts +0 -27
- package/dist/api/types/NodeType.d.ts +0 -8
- package/dist/api/types/NodeType.js +0 -10
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts +0 -13
- package/dist/serialization/resources/pages/client/requests/DomWrite.d.ts +0 -13
- package/dist/serialization/resources/pages/types/DomWriteNodesItem.d.ts +0 -13
- package/dist/serialization/types/ErrorDetailsItem.d.ts +0 -10
- package/dist/serialization/types/NodeType.d.ts +0 -10
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.d.ts +0 -13
- package/serialization/resources/pages/client/requests/DomWrite.d.ts +0 -13
- package/serialization/resources/pages/types/DomWriteNodesItem.d.ts +0 -13
- package/serialization/types/ErrorDetailsItem.d.ts +0 -10
- package/serialization/types/NodeType.d.ts +0 -10
- /package/api/resources/collections/resources/items/types/{CreateBulkCollectionItemRequestBodyFieldDataName.js → MultipleItems.js} +0 -0
- /package/api/resources/collections/resources/items/types/{ItemsCreateItemLiveRequestItems.js → MultipleLiveItems.js} +0 -0
- /package/api/resources/collections/resources/items/types/{ItemsCreateItemRequestItems.js → SingleCmsItem.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/items/types/CreateBulkCollectionItemRequestBodyFieldDataName.js → api/resources/components/client/requests/ComponentsGetPropertiesRequest.js} +0 -0
- /package/{dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestItems.js → api/resources/components/client/requests/ComponentsListRequest.js} +0 -0
- /package/{dist/api/resources/collections/resources/items/types/ItemsCreateItemRequestItems.js → api/resources/components/types/ComponentDomWriteNodesItem.js} +0 -0
- /package/{dist/api/resources/pages/client/requests/DomWrite.js → api/resources/components/types/ComponentPropertiesWritePropertiesItem.js} +0 -0
- /package/{dist/api/resources/pages/types/DomWriteNodesItem.js → api/resources/components/types/ComponentsUpdateContentResponse.js} +0 -0
- /package/{dist/api/types/ErrorDetailsItem.js → api/resources/components/types/ComponentsUpdatePropertiesResponse.js} +0 -0
|
@@ -13,7 +13,7 @@ service:
|
|
|
13
13
|
|
|
14
14
|
Required scope | `cms: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
|
|
@@ -61,7 +61,7 @@ service:
|
|
|
61
61
|
|
|
62
62
|
Required scope | `cms:write`
|
|
63
63
|
source:
|
|
64
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
64
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
65
65
|
path-parameters:
|
|
66
66
|
site_id:
|
|
67
67
|
type: string
|
|
@@ -122,7 +122,7 @@ service:
|
|
|
122
122
|
|
|
123
123
|
Required scope | `cms:read`
|
|
124
124
|
source:
|
|
125
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
125
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
126
126
|
path-parameters:
|
|
127
127
|
collection_id:
|
|
128
128
|
type: string
|
|
@@ -165,7 +165,7 @@ service:
|
|
|
165
165
|
|
|
166
166
|
Required scope | `cms:write`
|
|
167
167
|
source:
|
|
168
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
168
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
169
169
|
path-parameters:
|
|
170
170
|
collection_id:
|
|
171
171
|
type: string
|
|
@@ -181,5 +181,6 @@ service:
|
|
|
181
181
|
- path-parameters:
|
|
182
182
|
collection_id: 580e63fc8c9a982ac9b8b745
|
|
183
183
|
source:
|
|
184
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
184
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
185
185
|
display-name: Collections
|
|
186
|
+
docs: Collections are CMS collections of items.
|
|
@@ -0,0 +1,486 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: __package__.yml
|
|
3
|
+
service:
|
|
4
|
+
auth: false
|
|
5
|
+
base-path: ''
|
|
6
|
+
endpoints:
|
|
7
|
+
list:
|
|
8
|
+
path: /sites/{site_id}/components
|
|
9
|
+
method: GET
|
|
10
|
+
auth: true
|
|
11
|
+
docs: |
|
|
12
|
+
List of all components for a site.
|
|
13
|
+
|
|
14
|
+
Required scope | `components: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: List Components
|
|
22
|
+
request:
|
|
23
|
+
name: ComponentsListRequest
|
|
24
|
+
query-parameters:
|
|
25
|
+
limit:
|
|
26
|
+
type: optional<double>
|
|
27
|
+
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
28
|
+
offset:
|
|
29
|
+
type: optional<double>
|
|
30
|
+
docs: >-
|
|
31
|
+
Offset used for pagination if the results have more than limit
|
|
32
|
+
records
|
|
33
|
+
response:
|
|
34
|
+
docs: Request was successful
|
|
35
|
+
type: root.ComponentList
|
|
36
|
+
errors:
|
|
37
|
+
- root.BadRequestError
|
|
38
|
+
- root.UnauthorizedError
|
|
39
|
+
- root.NotFoundError
|
|
40
|
+
- root.TooManyRequestsError
|
|
41
|
+
- root.InternalServerError
|
|
42
|
+
examples:
|
|
43
|
+
- path-parameters:
|
|
44
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
45
|
+
response:
|
|
46
|
+
body:
|
|
47
|
+
components:
|
|
48
|
+
- id: 6596da6045e56dee495bcbba
|
|
49
|
+
name: Primary Button
|
|
50
|
+
group: Buttons
|
|
51
|
+
description: A default button component that can be used across the site
|
|
52
|
+
readonly: true
|
|
53
|
+
- id: 658205daa3e8206a523b5ad4
|
|
54
|
+
name: Secondary Button
|
|
55
|
+
group: Buttons
|
|
56
|
+
description: >-
|
|
57
|
+
A secondary button component that can be used across the
|
|
58
|
+
site
|
|
59
|
+
readonly: true
|
|
60
|
+
- id: 6258612d1ee792848f805dcf
|
|
61
|
+
name: Card
|
|
62
|
+
group: Buttons
|
|
63
|
+
description: A button component that can be used across the site
|
|
64
|
+
readonly: true
|
|
65
|
+
- id: 68a2b1d1ee792848f805dcf
|
|
66
|
+
name: Nav
|
|
67
|
+
group: Buttons
|
|
68
|
+
description: A button component that can be used across the site
|
|
69
|
+
readonly: true
|
|
70
|
+
pagination:
|
|
71
|
+
limit: 20
|
|
72
|
+
offset: 0
|
|
73
|
+
total: 4
|
|
74
|
+
get-content:
|
|
75
|
+
path: /sites/{site_id}/components/{component_id}/dom
|
|
76
|
+
method: GET
|
|
77
|
+
auth: true
|
|
78
|
+
docs: >
|
|
79
|
+
Get static content from a component definition. This includes text
|
|
80
|
+
nodes, image nodes and nested component instances.
|
|
81
|
+
|
|
82
|
+
To retrieve dynamic content set by component properties, use the [get
|
|
83
|
+
component
|
|
84
|
+
properties](/data/reference/pages-and-components/components/get-properties)
|
|
85
|
+
endpoint.
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
<Note>If you do not provide a Locale ID in your request, the response
|
|
89
|
+
will return any content that can be localized from the Primary
|
|
90
|
+
locale.</Note>
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
Required scope | `components:read`
|
|
94
|
+
source:
|
|
95
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
96
|
+
path-parameters:
|
|
97
|
+
site_id:
|
|
98
|
+
type: string
|
|
99
|
+
docs: Unique identifier for a Site
|
|
100
|
+
component_id:
|
|
101
|
+
type: string
|
|
102
|
+
docs: Unique identifier for a Component
|
|
103
|
+
display-name: Get Component Content
|
|
104
|
+
request:
|
|
105
|
+
name: ComponentsGetContentRequest
|
|
106
|
+
query-parameters:
|
|
107
|
+
localeId:
|
|
108
|
+
type: optional<string>
|
|
109
|
+
docs: >-
|
|
110
|
+
Unique identifier for a specific locale. Applicable, when using
|
|
111
|
+
localization.
|
|
112
|
+
limit:
|
|
113
|
+
type: optional<double>
|
|
114
|
+
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
115
|
+
offset:
|
|
116
|
+
type: optional<double>
|
|
117
|
+
docs: >-
|
|
118
|
+
Offset used for pagination if the results have more than limit
|
|
119
|
+
records
|
|
120
|
+
response:
|
|
121
|
+
docs: Request was successful
|
|
122
|
+
type: root.ComponentDom
|
|
123
|
+
errors:
|
|
124
|
+
- root.BadRequestError
|
|
125
|
+
- root.UnauthorizedError
|
|
126
|
+
- root.NotFoundError
|
|
127
|
+
- root.TooManyRequestsError
|
|
128
|
+
- root.InternalServerError
|
|
129
|
+
examples:
|
|
130
|
+
- name: ComponentDOM
|
|
131
|
+
path-parameters:
|
|
132
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
133
|
+
component_id: 8505ba55-ef72-629e-f85c-33e4b703d48b
|
|
134
|
+
query-parameters:
|
|
135
|
+
localeId: 65427cf400e02b306eaa04a0
|
|
136
|
+
response:
|
|
137
|
+
body:
|
|
138
|
+
componentId: 69118560-d0bc-15fc-bbf8-b8fe5f6535b5
|
|
139
|
+
nodes:
|
|
140
|
+
- type: component-instance
|
|
141
|
+
id: a245c12d-995b-55ee-5ec7-aa36a6cad623
|
|
142
|
+
componentId: nodes
|
|
143
|
+
propertyOverrides:
|
|
144
|
+
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
145
|
+
- type: component-instance
|
|
146
|
+
id: a245c12d-995b-55ee-5ec7-aa36a6cad627
|
|
147
|
+
componentId: nodes
|
|
148
|
+
propertyOverrides:
|
|
149
|
+
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
150
|
+
- type: component-instance
|
|
151
|
+
id: a245c12d-995b-55ee-5ec7-aa36a6cad629
|
|
152
|
+
componentId: nodes
|
|
153
|
+
propertyOverrides:
|
|
154
|
+
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
155
|
+
- type: component-instance
|
|
156
|
+
id: a245c12d-995b-55ee-5ec7-aa36a6cad631
|
|
157
|
+
componentId: 6258612d1ee792848f805dcf
|
|
158
|
+
propertyOverrides:
|
|
159
|
+
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad633
|
|
160
|
+
type: Plain Text
|
|
161
|
+
text:
|
|
162
|
+
text: Don't Panic!
|
|
163
|
+
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad635
|
|
164
|
+
type: Rich Text
|
|
165
|
+
text:
|
|
166
|
+
html: <div><p>Always know where your towel is.</p></div>
|
|
167
|
+
pagination:
|
|
168
|
+
limit: 4
|
|
169
|
+
offset: 0
|
|
170
|
+
total: 4
|
|
171
|
+
- name: LocalizedComponentDOM
|
|
172
|
+
path-parameters:
|
|
173
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
174
|
+
component_id: 8505ba55-ef72-629e-f85c-33e4b703d48b
|
|
175
|
+
query-parameters:
|
|
176
|
+
localeId: 65427cf400e02b306eaa04a0
|
|
177
|
+
response:
|
|
178
|
+
body:
|
|
179
|
+
componentId: 69118560-d0bc-15fc-bbf8-b8fe5f6535b5
|
|
180
|
+
nodes:
|
|
181
|
+
- type: component-instance
|
|
182
|
+
id: 69118560-d0bc-15fc-bbf8-b8fe5f6535b8
|
|
183
|
+
componentId: nodes
|
|
184
|
+
propertyOverrides:
|
|
185
|
+
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
186
|
+
- type: component-instance
|
|
187
|
+
id: 8ebfb409-7493-3bca-5d48-0e547befb960
|
|
188
|
+
componentId: nodes
|
|
189
|
+
propertyOverrides:
|
|
190
|
+
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
191
|
+
- type: component-instance
|
|
192
|
+
id: 69118560-d0bc-15fc-bbf8-b8fe5f6535c2
|
|
193
|
+
componentId: 69118560-d0bc-15fc-bbf8-b8fe5f6535b5
|
|
194
|
+
propertyOverrides:
|
|
195
|
+
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad623
|
|
196
|
+
pagination:
|
|
197
|
+
limit: 100
|
|
198
|
+
offset: 0
|
|
199
|
+
total: 3
|
|
200
|
+
update-content:
|
|
201
|
+
path: /sites/{site_id}/components/{component_id}/dom
|
|
202
|
+
method: POST
|
|
203
|
+
auth: true
|
|
204
|
+
docs: >
|
|
205
|
+
This endpoint updates content within a component defintion for
|
|
206
|
+
**secondary locales**. It supports updating up to 1000 nodes in a single
|
|
207
|
+
request.
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
Before making updates:
|
|
211
|
+
|
|
212
|
+
1. Use the [get component
|
|
213
|
+
content](/data/reference/pages-and-components/components/get-content)
|
|
214
|
+
endpoint to identify available content nodes and their types
|
|
215
|
+
|
|
216
|
+
2. If your component definition has a component instance nested within
|
|
217
|
+
it, retrieve the nested component instance's properties that you'll
|
|
218
|
+
override using the [get component
|
|
219
|
+
properties](/data/reference/pages-and-components/components/get-properties)
|
|
220
|
+
endpoint
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
<Note>
|
|
224
|
+
This endpoint is specifically for localizing component definitions. Ensure that the specified `localeId` is a valid **secondary locale** for the site otherwise the request will fail.
|
|
225
|
+
</Note>
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
Required scope | `components:write`
|
|
229
|
+
source:
|
|
230
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
231
|
+
path-parameters:
|
|
232
|
+
site_id:
|
|
233
|
+
type: string
|
|
234
|
+
docs: Unique identifier for a Site
|
|
235
|
+
component_id:
|
|
236
|
+
type: string
|
|
237
|
+
docs: Unique identifier for a Component
|
|
238
|
+
display-name: Update Component Content
|
|
239
|
+
request:
|
|
240
|
+
name: ComponentDomWrite
|
|
241
|
+
query-parameters:
|
|
242
|
+
localeId:
|
|
243
|
+
type: optional<string>
|
|
244
|
+
docs: >-
|
|
245
|
+
Unique identifier for a specific locale. Applicable, when using
|
|
246
|
+
localization.
|
|
247
|
+
body:
|
|
248
|
+
properties:
|
|
249
|
+
nodes:
|
|
250
|
+
docs: >-
|
|
251
|
+
List of DOM Nodes with the new content that will be updated in
|
|
252
|
+
each node.
|
|
253
|
+
type: list<ComponentDomWriteNodesItem>
|
|
254
|
+
content-type: application/json
|
|
255
|
+
response:
|
|
256
|
+
docs: Request was successful
|
|
257
|
+
type: ComponentsUpdateContentResponse
|
|
258
|
+
errors:
|
|
259
|
+
- root.BadRequestError
|
|
260
|
+
- root.UnauthorizedError
|
|
261
|
+
- root.ForbiddenError
|
|
262
|
+
- root.NotFoundError
|
|
263
|
+
- root.TooManyRequestsError
|
|
264
|
+
- root.InternalServerError
|
|
265
|
+
examples:
|
|
266
|
+
- path-parameters:
|
|
267
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
268
|
+
component_id: 8505ba55-ef72-629e-f85c-33e4b703d48b
|
|
269
|
+
query-parameters:
|
|
270
|
+
localeId: 65427cf400e02b306eaa04a0
|
|
271
|
+
request:
|
|
272
|
+
nodes:
|
|
273
|
+
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad623
|
|
274
|
+
text: <h1>The Hitchhiker's Guide to the Galaxy</h1>
|
|
275
|
+
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad627
|
|
276
|
+
text: >-
|
|
277
|
+
<div><h3>Don't Panic!</h3><p>Always know where your towel
|
|
278
|
+
is.</p></div>
|
|
279
|
+
- nodeId: a245c12d-995b-55ee-5ec7-aa36a6cad629
|
|
280
|
+
propertyOverrides:
|
|
281
|
+
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f0
|
|
282
|
+
text: <div><h1>Time is an <em>illusion</em></h1></div>
|
|
283
|
+
- propertyId: 7dd14c08-2e96-8d3d-2b19-b5c03642a0f1
|
|
284
|
+
text: Life, the Universe and Everything
|
|
285
|
+
response:
|
|
286
|
+
body:
|
|
287
|
+
errors:
|
|
288
|
+
- errors
|
|
289
|
+
get-properties:
|
|
290
|
+
path: /sites/{site_id}/components/{component_id}/properties
|
|
291
|
+
method: GET
|
|
292
|
+
auth: true
|
|
293
|
+
docs: >
|
|
294
|
+
Get the property default values of a component definition.
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
<Note>If you do not provide a Locale ID in your request, the response
|
|
298
|
+
will return any properties that can be localized from the Primary
|
|
299
|
+
locale.</Note>
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
Required scope | `components:read`
|
|
303
|
+
source:
|
|
304
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
305
|
+
path-parameters:
|
|
306
|
+
site_id:
|
|
307
|
+
type: string
|
|
308
|
+
docs: Unique identifier for a Site
|
|
309
|
+
component_id:
|
|
310
|
+
type: string
|
|
311
|
+
docs: Unique identifier for a Component
|
|
312
|
+
display-name: Get Component Properties
|
|
313
|
+
request:
|
|
314
|
+
name: ComponentsGetPropertiesRequest
|
|
315
|
+
query-parameters:
|
|
316
|
+
localeId:
|
|
317
|
+
type: optional<string>
|
|
318
|
+
docs: >-
|
|
319
|
+
Unique identifier for a specific locale. Applicable, when using
|
|
320
|
+
localization.
|
|
321
|
+
limit:
|
|
322
|
+
type: optional<double>
|
|
323
|
+
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
324
|
+
offset:
|
|
325
|
+
type: optional<double>
|
|
326
|
+
docs: >-
|
|
327
|
+
Offset used for pagination if the results have more than limit
|
|
328
|
+
records
|
|
329
|
+
response:
|
|
330
|
+
docs: Request was successful
|
|
331
|
+
type: root.ComponentProperties
|
|
332
|
+
errors:
|
|
333
|
+
- root.BadRequestError
|
|
334
|
+
- root.UnauthorizedError
|
|
335
|
+
- root.NotFoundError
|
|
336
|
+
- root.TooManyRequestsError
|
|
337
|
+
- root.InternalServerError
|
|
338
|
+
examples:
|
|
339
|
+
- path-parameters:
|
|
340
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
341
|
+
component_id: 8505ba55-ef72-629e-f85c-33e4b703d48b
|
|
342
|
+
query-parameters:
|
|
343
|
+
localeId: 65427cf400e02b306eaa04a0
|
|
344
|
+
response:
|
|
345
|
+
body:
|
|
346
|
+
componentId: 658205daa3e8206a523b5ad4
|
|
347
|
+
properties:
|
|
348
|
+
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad623
|
|
349
|
+
type: Plain Text
|
|
350
|
+
label: Title
|
|
351
|
+
text:
|
|
352
|
+
text: The Hitchhiker's Guide to the Galaxy
|
|
353
|
+
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad627
|
|
354
|
+
type: Rich Text
|
|
355
|
+
label: Content
|
|
356
|
+
text:
|
|
357
|
+
html: >-
|
|
358
|
+
<div><h3>Don't Panic!</h3><p>Always know where your towel
|
|
359
|
+
is.</p></div>
|
|
360
|
+
pagination:
|
|
361
|
+
limit: 2
|
|
362
|
+
offset: 0
|
|
363
|
+
total: 2
|
|
364
|
+
update-properties:
|
|
365
|
+
path: /sites/{site_id}/components/{component_id}/properties
|
|
366
|
+
method: POST
|
|
367
|
+
auth: true
|
|
368
|
+
docs: >
|
|
369
|
+
Update the property default values of a component definition in a
|
|
370
|
+
specificed locale.
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
Before making updates:
|
|
374
|
+
|
|
375
|
+
1. Use the [get component
|
|
376
|
+
properties](/data/reference/pages-and-components/components/get-properties)
|
|
377
|
+
endpoint to identify available properties
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
<Note>The request requires a secondary locale ID. If a locale is
|
|
381
|
+
missing, the request will not be processed and will result in an
|
|
382
|
+
error.</Note>
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
Required scope | `components:write`
|
|
386
|
+
source:
|
|
387
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
388
|
+
path-parameters:
|
|
389
|
+
site_id:
|
|
390
|
+
type: string
|
|
391
|
+
docs: Unique identifier for a Site
|
|
392
|
+
component_id:
|
|
393
|
+
type: string
|
|
394
|
+
docs: Unique identifier for a Component
|
|
395
|
+
display-name: Update Component Properties
|
|
396
|
+
request:
|
|
397
|
+
name: ComponentPropertiesWrite
|
|
398
|
+
query-parameters:
|
|
399
|
+
localeId:
|
|
400
|
+
type: optional<string>
|
|
401
|
+
docs: >-
|
|
402
|
+
Unique identifier for a specific locale. Applicable, when using
|
|
403
|
+
localization.
|
|
404
|
+
body:
|
|
405
|
+
properties:
|
|
406
|
+
properties:
|
|
407
|
+
docs: >-
|
|
408
|
+
A list of component properties to update within the specified
|
|
409
|
+
secondary locale.
|
|
410
|
+
type: list<ComponentPropertiesWritePropertiesItem>
|
|
411
|
+
content-type: application/json
|
|
412
|
+
response:
|
|
413
|
+
docs: Request was successful
|
|
414
|
+
type: ComponentsUpdatePropertiesResponse
|
|
415
|
+
errors:
|
|
416
|
+
- root.BadRequestError
|
|
417
|
+
- root.UnauthorizedError
|
|
418
|
+
- root.NotFoundError
|
|
419
|
+
- root.TooManyRequestsError
|
|
420
|
+
- root.InternalServerError
|
|
421
|
+
examples:
|
|
422
|
+
- path-parameters:
|
|
423
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
424
|
+
component_id: 8505ba55-ef72-629e-f85c-33e4b703d48b
|
|
425
|
+
query-parameters:
|
|
426
|
+
localeId: 65427cf400e02b306eaa04a0
|
|
427
|
+
request:
|
|
428
|
+
properties:
|
|
429
|
+
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad623
|
|
430
|
+
text: The Hitchhiker’s Guide to the Galaxy
|
|
431
|
+
- propertyId: a245c12d-995b-55ee-5ec7-aa36a6cad627
|
|
432
|
+
text: >-
|
|
433
|
+
<div><h3>Dont Panic!</h3><p>Always know where your towel
|
|
434
|
+
is.</p></div>
|
|
435
|
+
response:
|
|
436
|
+
body:
|
|
437
|
+
errors:
|
|
438
|
+
- errors
|
|
439
|
+
source:
|
|
440
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
441
|
+
types:
|
|
442
|
+
ComponentDomWriteNodesItem:
|
|
443
|
+
discriminated: false
|
|
444
|
+
union:
|
|
445
|
+
- root.TextNodeWrite
|
|
446
|
+
- root.ComponentInstanceNodePropertyOverridesWrite
|
|
447
|
+
source:
|
|
448
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
449
|
+
inline: true
|
|
450
|
+
ComponentsUpdateContentResponse:
|
|
451
|
+
properties:
|
|
452
|
+
errors:
|
|
453
|
+
docs: A list of error messages, if any.
|
|
454
|
+
type: list<string>
|
|
455
|
+
source:
|
|
456
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
457
|
+
ComponentPropertiesWritePropertiesItem:
|
|
458
|
+
properties:
|
|
459
|
+
propertyId:
|
|
460
|
+
type: string
|
|
461
|
+
docs: The ID of the property.
|
|
462
|
+
text:
|
|
463
|
+
type: string
|
|
464
|
+
docs: >
|
|
465
|
+
The new string or HTML value used to update the component property in
|
|
466
|
+
the secondary locale.
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
The provided value must be compatible with the type of the component
|
|
470
|
+
property.
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
For example, attempting to update a single-line plain-text property
|
|
474
|
+
with a multi-line
|
|
475
|
+
|
|
476
|
+
value will result in an error.
|
|
477
|
+
source:
|
|
478
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
479
|
+
inline: true
|
|
480
|
+
ComponentsUpdatePropertiesResponse:
|
|
481
|
+
properties:
|
|
482
|
+
errors:
|
|
483
|
+
docs: A list of error messages, if any.
|
|
484
|
+
type: list<string>
|
|
485
|
+
source:
|
|
486
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -13,7 +13,7 @@ service:
|
|
|
13
13
|
|
|
14
14
|
Required scope | `ecommerce:read`
|
|
15
15
|
source:
|
|
16
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
16
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
17
17
|
path-parameters:
|
|
18
18
|
site_id:
|
|
19
19
|
type: string
|
|
@@ -39,4 +39,4 @@ service:
|
|
|
39
39
|
createdOn: '2018-10-04T15:21:02Z'
|
|
40
40
|
defaultCurrency: USD
|
|
41
41
|
source:
|
|
42
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
42
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -13,7 +13,7 @@ service:
|
|
|
13
13
|
|
|
14
14
|
Required scope | `forms:read`
|
|
15
15
|
source:
|
|
16
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
16
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
17
17
|
path-parameters:
|
|
18
18
|
site_id:
|
|
19
19
|
type: string
|
|
@@ -99,7 +99,7 @@ service:
|
|
|
99
99
|
|
|
100
100
|
Required scope | `forms:read`
|
|
101
101
|
source:
|
|
102
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
102
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
103
103
|
path-parameters:
|
|
104
104
|
form_id:
|
|
105
105
|
type: string
|
|
@@ -155,7 +155,7 @@ service:
|
|
|
155
155
|
|
|
156
156
|
Required scope | `forms:read`
|
|
157
157
|
source:
|
|
158
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
158
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
159
159
|
path-parameters:
|
|
160
160
|
form_id:
|
|
161
161
|
type: string
|
|
@@ -217,7 +217,7 @@ service:
|
|
|
217
217
|
|
|
218
218
|
Required scope | `forms:read`
|
|
219
219
|
source:
|
|
220
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
220
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
221
221
|
path-parameters:
|
|
222
222
|
form_submission_id:
|
|
223
223
|
type: string
|
|
@@ -255,7 +255,7 @@ service:
|
|
|
255
255
|
|
|
256
256
|
Required scope | `forms:write`
|
|
257
257
|
source:
|
|
258
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
258
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
259
259
|
path-parameters:
|
|
260
260
|
form_submission_id:
|
|
261
261
|
type: string
|
|
@@ -297,5 +297,6 @@ service:
|
|
|
297
297
|
First Name: Arthur
|
|
298
298
|
Last Name: Dent
|
|
299
299
|
source:
|
|
300
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
300
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
301
301
|
display-name: Forms
|
|
302
|
+
docs: Forms are forms that are created on your Webflow site.
|
|
@@ -13,7 +13,7 @@ service:
|
|
|
13
13
|
|
|
14
14
|
Required scope | `ecommerce:read`
|
|
15
15
|
source:
|
|
16
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
16
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
17
17
|
path-parameters:
|
|
18
18
|
collection_id:
|
|
19
19
|
type: string
|
|
@@ -41,7 +41,7 @@ service:
|
|
|
41
41
|
body:
|
|
42
42
|
id: 5bfedb42bab0ad90fa7dad39
|
|
43
43
|
quantity: 100
|
|
44
|
-
inventoryType:
|
|
44
|
+
inventoryType: finite
|
|
45
45
|
update:
|
|
46
46
|
path: /collections/{collection_id}/items/{item_id}/inventory
|
|
47
47
|
method: PATCH
|
|
@@ -62,7 +62,7 @@ service:
|
|
|
62
62
|
|
|
63
63
|
Required scope | `ecommerce:write`
|
|
64
64
|
source:
|
|
65
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
65
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
66
66
|
path-parameters:
|
|
67
67
|
collection_id:
|
|
68
68
|
type: string
|
|
@@ -106,15 +106,17 @@ service:
|
|
|
106
106
|
body:
|
|
107
107
|
id: 5bfedb42bab0ad90fa7dad39
|
|
108
108
|
quantity: 100
|
|
109
|
-
inventoryType:
|
|
109
|
+
inventoryType: finite
|
|
110
110
|
source:
|
|
111
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
111
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
112
112
|
display-name: Inventory
|
|
113
|
+
docs: Inventory is the stock of e-commerce items in your Webflow site.
|
|
113
114
|
types:
|
|
114
115
|
InventoryUpdateRequestInventoryType:
|
|
115
116
|
enum:
|
|
116
117
|
- infinite
|
|
117
118
|
- finite
|
|
118
119
|
docs: infinite or finite
|
|
120
|
+
inline: true
|
|
119
121
|
source:
|
|
120
|
-
openapi: ../../../referenced-specs/v2.yml
|
|
122
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|