webflow-api 3.2.0 → 3.2.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 +112 -269
- package/.mock/definition/accessGroups.yml +7 -1
- package/.mock/definition/api.yml +0 -2
- package/.mock/definition/assets.yml +38 -8
- package/.mock/definition/collections/fields.yml +9 -3
- package/.mock/definition/collections/items.yml +458 -76
- package/.mock/definition/collections.yml +12 -4
- package/.mock/definition/components.yml +65 -25
- package/.mock/definition/ecommerce.yml +3 -1
- package/.mock/definition/forms.yml +29 -7
- package/.mock/definition/inventory.yml +25 -17
- package/.mock/definition/items.yml +28 -16
- package/.mock/definition/orders.yml +126 -110
- package/.mock/definition/pages/scripts.yml +27 -8
- package/.mock/definition/pages.yml +66 -45
- package/.mock/definition/products.yml +21 -12
- package/.mock/definition/scripts.yml +9 -3
- package/.mock/definition/sites/activityLogs.yml +6 -1
- package/.mock/definition/sites/comments.yml +39 -12
- package/.mock/definition/sites/plans.yml +3 -1
- package/.mock/definition/sites/redirects.yml +12 -4
- package/.mock/definition/sites/robotsTxt.yml +12 -4
- package/.mock/definition/sites/scripts.yml +35 -8
- package/.mock/definition/sites/wellKnown.yml +20 -4
- package/.mock/definition/sites.yml +23 -8
- package/.mock/definition/token.yml +3 -2
- package/.mock/definition/users.yml +19 -5
- package/.mock/definition/webhooks.yml +0 -4
- package/.mock/definition/workspaces/auditLogs.yml +9 -3
- package/.mock/fern.config.json +1 -1
- package/Client.d.ts +2 -2
- package/Client.js +3 -3
- package/api/resources/accessGroups/client/Client.d.ts +8 -4
- package/api/resources/accessGroups/client/Client.js +11 -3
- package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +5 -1
- package/api/resources/assets/client/Client.d.ts +9 -5
- package/api/resources/assets/client/Client.js +24 -7
- package/api/resources/assets/client/requests/AssetsListRequest.d.ts +20 -0
- package/api/resources/assets/client/requests/index.d.ts +1 -0
- package/api/resources/collections/client/Client.d.ts +3 -3
- package/api/resources/collections/client/Client.js +6 -2
- package/api/resources/collections/resources/fields/client/Client.d.ts +3 -3
- package/api/resources/collections/resources/fields/client/Client.js +6 -2
- package/api/resources/collections/resources/items/client/Client.d.ts +53 -17
- package/api/resources/collections/resources/items/client/Client.js +57 -17
- package/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +4 -0
- package/api/resources/collections/resources/items/client/requests/ItemsCreateItemLiveRequest.d.ts +4 -2
- package/api/resources/collections/resources/items/client/requests/ItemsCreateItemRequest.d.ts +4 -2
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.d.ts +3 -1
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +3 -1
- package/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.d.ts +3 -1
- package/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +3 -1
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +9 -1
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +9 -1
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemLiveRequest.d.ts +3 -2
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemRequest.d.ts +3 -2
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.d.ts +4 -0
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.d.ts +2 -0
- package/api/resources/components/client/Client.d.ts +18 -9
- package/api/resources/components/client/Client.js +21 -8
- package/api/resources/components/client/requests/ComponentDomWrite.d.ts +3 -1
- package/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +3 -1
- package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +6 -2
- package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +6 -2
- package/api/resources/components/client/requests/ComponentsListRequest.d.ts +3 -1
- package/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +1 -1
- package/api/resources/ecommerce/client/Client.d.ts +3 -3
- package/api/resources/ecommerce/client/Client.js +6 -2
- package/api/resources/forms/client/Client.d.ts +14 -6
- package/api/resources/forms/client/Client.js +17 -5
- package/api/resources/forms/client/requests/FormsListRequest.d.ts +4 -1
- package/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +3 -1
- package/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +4 -1
- package/api/resources/inventory/client/Client.d.ts +11 -11
- package/api/resources/inventory/client/Client.js +22 -18
- package/api/resources/orders/client/Client.d.ts +8 -4
- package/api/resources/orders/client/Client.js +11 -3
- package/api/resources/orders/client/requests/OrdersListRequest.d.ts +5 -1
- package/api/resources/pages/client/Client.d.ts +14 -15
- package/api/resources/pages/client/Client.js +17 -14
- package/api/resources/pages/client/requests/PageMetadataWrite.d.ts +9 -2
- package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +6 -2
- package/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +3 -1
- package/api/resources/pages/client/requests/PagesListRequest.d.ts +6 -2
- package/api/resources/pages/resources/scripts/client/Client.d.ts +8 -6
- package/api/resources/pages/resources/scripts/client/Client.js +11 -5
- package/api/resources/pages/types/PageDomWriteNodesItem.d.ts +1 -1
- package/api/resources/products/client/Client.d.ts +7 -4
- package/api/resources/products/client/Client.js +10 -3
- package/api/resources/products/client/requests/ProductsListRequest.d.ts +4 -1
- package/api/resources/scripts/client/Client.d.ts +3 -3
- package/api/resources/scripts/client/Client.js +6 -2
- package/api/resources/sites/client/Client.d.ts +3 -3
- package/api/resources/sites/client/Client.js +6 -2
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +7 -4
- package/api/resources/sites/resources/activityLogs/client/Client.js +10 -3
- package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +4 -1
- package/api/resources/sites/resources/comments/client/Client.d.ts +18 -6
- package/api/resources/sites/resources/comments/client/Client.js +21 -5
- package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +8 -2
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +8 -2
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +8 -2
- package/api/resources/sites/resources/plans/client/Client.d.ts +3 -3
- package/api/resources/sites/resources/plans/client/Client.js +6 -2
- package/api/resources/sites/resources/redirects/client/Client.d.ts +3 -3
- package/api/resources/sites/resources/redirects/client/Client.js +6 -2
- package/api/resources/sites/resources/robotsTxt/client/Client.d.ts +3 -3
- package/api/resources/sites/resources/robotsTxt/client/Client.js +6 -2
- package/api/resources/sites/resources/scripts/client/Client.d.ts +13 -6
- package/api/resources/sites/resources/scripts/client/Client.js +16 -5
- package/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +4 -1
- package/api/resources/sites/resources/wellKnown/client/Client.d.ts +6 -5
- package/api/resources/sites/resources/wellKnown/client/Client.js +9 -4
- package/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +3 -2
- package/api/resources/token/client/Client.d.ts +3 -3
- package/api/resources/token/client/Client.js +6 -2
- package/api/resources/users/client/Client.d.ts +8 -4
- package/api/resources/users/client/Client.js +11 -3
- package/api/resources/users/client/requests/UsersListRequest.d.ts +5 -1
- package/api/resources/webhooks/client/Client.d.ts +3 -3
- package/api/resources/webhooks/client/Client.js +6 -2
- package/api/resources/workspaces/client/Client.d.ts +2 -2
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +9 -5
- package/api/resources/workspaces/resources/auditLogs/client/Client.js +12 -4
- package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +6 -2
- package/api/types/CollectionItemChanged.d.ts +1 -1
- package/api/types/CollectionItemCreated.d.ts +1 -1
- package/api/types/CollectionItemPublished.d.ts +9 -0
- package/api/types/{ComponentInstance.d.ts → ComponentInstanceNodePropertyOverridesWrite.d.ts} +1 -1
- package/api/types/{ComponentNodeDom.d.ts → ComponentNode.d.ts} +1 -1
- package/api/types/Dom.d.ts +1 -1
- package/api/types/{ImageNodeDom.d.ts → ImageNode.d.ts} +1 -1
- package/api/types/Node.d.ts +7 -7
- package/api/types/Payload.d.ts +25 -0
- package/api/types/{SingleLocaleChangedPayloadFieldData.d.ts → PayloadFieldData.d.ts} +1 -1
- package/api/types/{SearchButtonNodeDom.d.ts → SearchButtonNode.d.ts} +1 -1
- package/api/types/{SearchButton.d.ts → SearchButtonNodeWrite.d.ts} +1 -1
- package/api/types/{SelectNodeDom.d.ts → SelectNode.d.ts} +1 -1
- package/api/types/SiteMembership.d.ts +1 -0
- package/api/types/SiteMembershipAuditLogItemEventSubType.d.ts +2 -1
- package/api/types/SiteMembershipAuditLogItemEventSubType.js +1 -0
- package/api/types/SkuFieldData.d.ts +0 -4
- package/{dist/api/types/SubmitButtonNodeDom.d.ts → api/types/SubmitButtonNode.d.ts} +1 -1
- package/{dist/api/types/SubmitButton.d.ts → api/types/SubmitButtonNodeWrite.d.ts} +1 -1
- package/{dist/api/types/TextInputNodeDom.d.ts → api/types/TextInputNode.d.ts} +1 -1
- package/api/types/{TextInput.d.ts → TextInputNodeWrite.d.ts} +1 -1
- package/api/types/TextNode.d.ts +7 -4
- package/api/types/TextNodeWrite.d.ts +12 -0
- package/api/types/TriggerType.d.ts +2 -1
- package/api/types/TriggerType.js +1 -0
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +9 -0
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +2 -1
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +7 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +2 -1
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -0
- package/api/types/WorkspaceInvitation.d.ts +1 -0
- package/api/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +2 -1
- package/api/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -0
- package/api/types/index.d.ts +17 -20
- package/api/types/index.js +17 -20
- package/dist/Client.d.ts +2 -2
- package/dist/Client.js +3 -3
- package/dist/api/resources/accessGroups/client/Client.d.ts +8 -4
- package/dist/api/resources/accessGroups/client/Client.js +11 -3
- package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +5 -1
- package/dist/api/resources/assets/client/Client.d.ts +9 -5
- package/dist/api/resources/assets/client/Client.js +24 -7
- package/dist/api/resources/assets/client/requests/AssetsListRequest.d.ts +20 -0
- package/dist/api/resources/assets/client/requests/index.d.ts +1 -0
- package/dist/api/resources/collections/client/Client.d.ts +3 -3
- package/dist/api/resources/collections/client/Client.js +6 -2
- package/dist/api/resources/collections/resources/fields/client/Client.d.ts +3 -3
- package/dist/api/resources/collections/resources/fields/client/Client.js +6 -2
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +53 -17
- package/dist/api/resources/collections/resources/items/client/Client.js +57 -17
- package/dist/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +4 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsCreateItemLiveRequest.d.ts +4 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsCreateItemRequest.d.ts +4 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.d.ts +3 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +3 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.d.ts +3 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +3 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +9 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +9 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemLiveRequest.d.ts +3 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemRequest.d.ts +3 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.d.ts +4 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.d.ts +2 -0
- package/dist/api/resources/components/client/Client.d.ts +18 -9
- package/dist/api/resources/components/client/Client.js +21 -8
- package/dist/api/resources/components/client/requests/ComponentDomWrite.d.ts +3 -1
- package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +3 -1
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +6 -2
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +6 -2
- package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +3 -1
- package/dist/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +1 -1
- package/dist/api/resources/ecommerce/client/Client.d.ts +3 -3
- package/dist/api/resources/ecommerce/client/Client.js +6 -2
- package/dist/api/resources/forms/client/Client.d.ts +14 -6
- package/dist/api/resources/forms/client/Client.js +17 -5
- package/dist/api/resources/forms/client/requests/FormsListRequest.d.ts +4 -1
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +3 -1
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +4 -1
- package/dist/api/resources/inventory/client/Client.d.ts +11 -11
- package/dist/api/resources/inventory/client/Client.js +22 -18
- package/dist/api/resources/orders/client/Client.d.ts +8 -4
- package/dist/api/resources/orders/client/Client.js +11 -3
- package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +5 -1
- package/dist/api/resources/pages/client/Client.d.ts +14 -15
- package/dist/api/resources/pages/client/Client.js +17 -14
- package/dist/api/resources/pages/client/requests/PageMetadataWrite.d.ts +9 -2
- package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +6 -2
- package/dist/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +3 -1
- package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +6 -2
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +8 -6
- package/dist/api/resources/pages/resources/scripts/client/Client.js +11 -5
- package/dist/api/resources/pages/types/PageDomWriteNodesItem.d.ts +1 -1
- package/dist/api/resources/products/client/Client.d.ts +7 -4
- package/dist/api/resources/products/client/Client.js +10 -3
- package/dist/api/resources/products/client/requests/ProductsListRequest.d.ts +4 -1
- package/dist/api/resources/scripts/client/Client.d.ts +3 -3
- package/dist/api/resources/scripts/client/Client.js +6 -2
- package/dist/api/resources/sites/client/Client.d.ts +3 -3
- package/dist/api/resources/sites/client/Client.js +6 -2
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +7 -4
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +10 -3
- package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +4 -1
- package/dist/api/resources/sites/resources/comments/client/Client.d.ts +18 -6
- package/dist/api/resources/sites/resources/comments/client/Client.js +21 -5
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +8 -2
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +8 -2
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +8 -2
- package/dist/api/resources/sites/resources/plans/client/Client.d.ts +3 -3
- package/dist/api/resources/sites/resources/plans/client/Client.js +6 -2
- package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +3 -3
- package/dist/api/resources/sites/resources/redirects/client/Client.js +6 -2
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.d.ts +3 -3
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +6 -2
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +13 -6
- package/dist/api/resources/sites/resources/scripts/client/Client.js +16 -5
- package/dist/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +4 -1
- package/dist/api/resources/sites/resources/wellKnown/client/Client.d.ts +6 -5
- package/dist/api/resources/sites/resources/wellKnown/client/Client.js +9 -4
- package/dist/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +3 -2
- package/dist/api/resources/token/client/Client.d.ts +3 -3
- package/dist/api/resources/token/client/Client.js +6 -2
- package/dist/api/resources/users/client/Client.d.ts +8 -4
- package/dist/api/resources/users/client/Client.js +11 -3
- package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +5 -1
- package/dist/api/resources/webhooks/client/Client.d.ts +3 -3
- package/dist/api/resources/webhooks/client/Client.js +6 -2
- package/dist/api/resources/workspaces/client/Client.d.ts +2 -2
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +9 -5
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.js +12 -4
- package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +6 -2
- package/dist/api/types/CollectionItemChanged.d.ts +1 -1
- package/dist/api/types/CollectionItemCreated.d.ts +1 -1
- package/dist/api/types/CollectionItemPublished.d.ts +9 -0
- package/dist/api/types/{ComponentInstance.d.ts → ComponentInstanceNodePropertyOverridesWrite.d.ts} +1 -1
- package/dist/api/types/{ComponentNodeDom.d.ts → ComponentNode.d.ts} +1 -1
- package/dist/api/types/Dom.d.ts +1 -1
- package/dist/api/types/{ImageNodeDom.d.ts → ImageNode.d.ts} +1 -1
- package/dist/api/types/Node.d.ts +7 -7
- package/dist/api/types/Payload.d.ts +25 -0
- package/dist/api/types/{SingleLocaleChangedPayloadFieldData.d.ts → PayloadFieldData.d.ts} +1 -1
- package/dist/api/types/{SearchButtonNodeDom.d.ts → SearchButtonNode.d.ts} +1 -1
- package/dist/api/types/{SearchButton.d.ts → SearchButtonNodeWrite.d.ts} +1 -1
- package/dist/api/types/{SelectNodeDom.d.ts → SelectNode.d.ts} +1 -1
- package/dist/api/types/SiteMembership.d.ts +1 -0
- package/dist/api/types/SiteMembershipAuditLogItemEventSubType.d.ts +2 -1
- package/dist/api/types/SiteMembershipAuditLogItemEventSubType.js +1 -0
- package/dist/api/types/SkuFieldData.d.ts +0 -4
- package/{api/types/SubmitButtonNodeDom.d.ts → dist/api/types/SubmitButtonNode.d.ts} +1 -1
- package/{api/types/SubmitButton.d.ts → dist/api/types/SubmitButtonNodeWrite.d.ts} +1 -1
- package/{api/types/TextInputNodeDom.d.ts → dist/api/types/TextInputNode.d.ts} +1 -1
- package/dist/api/types/{TextInput.d.ts → TextInputNodeWrite.d.ts} +1 -1
- package/dist/api/types/TextNode.d.ts +7 -4
- package/dist/api/types/TextNodeWrite.d.ts +12 -0
- package/dist/api/types/TriggerType.d.ts +2 -1
- package/dist/api/types/TriggerType.js +1 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +9 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +2 -1
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +7 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +2 -1
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -0
- package/dist/api/types/WorkspaceInvitation.d.ts +1 -0
- package/dist/api/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +2 -1
- package/dist/api/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -0
- package/dist/api/types/index.d.ts +17 -20
- package/dist/api/types/index.js +17 -20
- package/dist/environments.d.ts +0 -4
- package/dist/environments.js +0 -2
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +6 -6
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.js +10 -10
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +6 -6
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.js +10 -10
- package/dist/serialization/types/CollectionItemChanged.d.ts +2 -2
- package/dist/serialization/types/CollectionItemChanged.js +2 -2
- package/dist/serialization/types/CollectionItemCreated.d.ts +2 -2
- package/dist/serialization/types/CollectionItemCreated.js +2 -2
- package/dist/serialization/types/CollectionItemPublished.d.ts +14 -0
- package/dist/serialization/types/CollectionItemPublished.js +45 -0
- package/{serialization/types/ComponentInstance.d.ts → dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts} +2 -2
- package/{serialization/types/ComponentInstance.js → dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js} +2 -2
- package/{serialization/types/ComponentNodeDom.d.ts → dist/serialization/types/ComponentNode.d.ts} +2 -2
- package/{serialization/types/ComponentNodeDom.js → dist/serialization/types/ComponentNode.js} +2 -2
- package/dist/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.d.ts +1 -1
- package/dist/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.js +1 -1
- package/dist/serialization/types/{ImageNodeDom.d.ts → ImageNode.d.ts} +2 -2
- package/dist/serialization/types/{ImageNodeDom.js → ImageNode.js} +2 -2
- package/dist/serialization/types/Node.d.ts +14 -14
- package/dist/serialization/types/Node.js +14 -14
- package/dist/serialization/types/Payload.d.ts +23 -0
- package/dist/serialization/types/{MultiLocaleChangedPayload.js → Payload.js} +8 -8
- package/dist/serialization/types/{SingleLocaleChangedPayloadFieldData.d.ts → PayloadFieldData.d.ts} +2 -2
- package/dist/serialization/types/{SingleLocaleChangedPayloadFieldData.js → PayloadFieldData.js} +2 -2
- package/{serialization/types/SearchButtonNodeDom.d.ts → dist/serialization/types/SearchButtonNode.d.ts} +2 -2
- package/{serialization/types/SearchButtonNodeDom.js → dist/serialization/types/SearchButtonNode.js} +2 -2
- package/{serialization/types/SearchButton.d.ts → dist/serialization/types/SearchButtonNodeWrite.d.ts} +2 -2
- package/{serialization/types/SearchButton.js → dist/serialization/types/SearchButtonNodeWrite.js} +2 -2
- package/{serialization/types/SelectNodeDom.d.ts → dist/serialization/types/SelectNode.d.ts} +2 -2
- package/{serialization/types/SelectNodeDom.js → dist/serialization/types/SelectNode.js} +2 -2
- package/dist/serialization/types/SiteMembership.d.ts +2 -0
- package/dist/serialization/types/SiteMembership.js +2 -0
- package/dist/serialization/types/SiteMembershipAuditLogItemEventSubType.d.ts +1 -1
- package/dist/serialization/types/SiteMembershipAuditLogItemEventSubType.js +1 -1
- package/dist/serialization/types/SkuFieldData.d.ts +0 -2
- package/dist/serialization/types/SkuFieldData.js +0 -2
- package/dist/serialization/types/{SubmitButtonNodeDom.d.ts → SubmitButtonNode.d.ts} +2 -2
- package/{serialization/types/SubmitButtonNodeDom.js → dist/serialization/types/SubmitButtonNode.js} +2 -2
- package/{serialization/types/SubmitButton.d.ts → dist/serialization/types/SubmitButtonNodeWrite.d.ts} +2 -2
- package/{serialization/types/SubmitButton.js → dist/serialization/types/SubmitButtonNodeWrite.js} +2 -2
- package/{serialization/types/TextInputNodeDom.d.ts → dist/serialization/types/TextInputNode.d.ts} +2 -2
- package/{serialization/types/TextInputNodeDom.js → dist/serialization/types/TextInputNode.js} +2 -2
- package/dist/serialization/types/{TextInput.d.ts → TextInputNodeWrite.d.ts} +2 -2
- package/dist/serialization/types/{TextInput.js → TextInputNodeWrite.js} +2 -2
- package/dist/serialization/types/TextNode.d.ts +4 -2
- package/dist/serialization/types/TextNode.js +4 -2
- package/dist/serialization/types/TextNodeWrite.d.ts +13 -0
- package/dist/serialization/types/TextNodeWrite.js +44 -0
- package/dist/serialization/types/TriggerType.d.ts +1 -1
- package/dist/serialization/types/TriggerType.js +1 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +15 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js +46 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +1 -1
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -1
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +13 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js +44 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +1 -1
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -1
- package/dist/serialization/types/WorkspaceInvitation.d.ts +2 -0
- package/dist/serialization/types/WorkspaceInvitation.js +2 -0
- package/dist/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +1 -1
- package/dist/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -0
- package/dist/serialization/types/index.d.ts +17 -20
- package/dist/serialization/types/index.js +17 -20
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/AssetsClient.d.ts +24 -0
- package/dist/wrapper/AssetsClient.js +42 -0
- package/dist/wrapper/AssetsUtilitiesClient.d.ts +1 -1
- package/environments.d.ts +0 -4
- package/environments.js +0 -2
- package/jest.config.mjs +0 -4
- package/package.json +3 -3
- package/reference.md +158 -54
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +6 -6
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.js +10 -10
- package/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +6 -6
- package/serialization/resources/pages/types/PageDomWriteNodesItem.js +10 -10
- package/serialization/types/CollectionItemChanged.d.ts +2 -2
- package/serialization/types/CollectionItemChanged.js +2 -2
- package/serialization/types/CollectionItemCreated.d.ts +2 -2
- package/serialization/types/CollectionItemCreated.js +2 -2
- package/serialization/types/CollectionItemPublished.d.ts +14 -0
- package/serialization/types/CollectionItemPublished.js +45 -0
- package/{dist/serialization/types/ComponentInstance.d.ts → serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts} +2 -2
- package/{dist/serialization/types/ComponentInstance.js → serialization/types/ComponentInstanceNodePropertyOverridesWrite.js} +2 -2
- package/{dist/serialization/types/ComponentNodeDom.d.ts → serialization/types/ComponentNode.d.ts} +2 -2
- package/{dist/serialization/types/ComponentNodeDom.js → serialization/types/ComponentNode.js} +2 -2
- package/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.d.ts +1 -1
- package/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.js +1 -1
- package/serialization/types/{ImageNodeDom.d.ts → ImageNode.d.ts} +2 -2
- package/serialization/types/{ImageNodeDom.js → ImageNode.js} +2 -2
- package/serialization/types/Node.d.ts +14 -14
- package/serialization/types/Node.js +14 -14
- package/serialization/types/Payload.d.ts +23 -0
- package/serialization/types/{MultiLocaleChangedPayload.js → Payload.js} +8 -8
- package/serialization/types/{SingleLocaleChangedPayloadFieldData.d.ts → PayloadFieldData.d.ts} +2 -2
- package/serialization/types/{SingleLocaleChangedPayloadFieldData.js → PayloadFieldData.js} +2 -2
- package/{dist/serialization/types/SearchButtonNodeDom.d.ts → serialization/types/SearchButtonNode.d.ts} +2 -2
- package/{dist/serialization/types/SearchButtonNodeDom.js → serialization/types/SearchButtonNode.js} +2 -2
- package/{dist/serialization/types/SearchButton.d.ts → serialization/types/SearchButtonNodeWrite.d.ts} +2 -2
- package/{dist/serialization/types/SearchButton.js → serialization/types/SearchButtonNodeWrite.js} +2 -2
- package/{dist/serialization/types/SelectNodeDom.d.ts → serialization/types/SelectNode.d.ts} +2 -2
- package/{dist/serialization/types/SelectNodeDom.js → serialization/types/SelectNode.js} +2 -2
- package/serialization/types/SiteMembership.d.ts +2 -0
- package/serialization/types/SiteMembership.js +2 -0
- package/serialization/types/SiteMembershipAuditLogItemEventSubType.d.ts +1 -1
- package/serialization/types/SiteMembershipAuditLogItemEventSubType.js +1 -1
- package/serialization/types/SkuFieldData.d.ts +0 -2
- package/serialization/types/SkuFieldData.js +0 -2
- package/serialization/types/{SubmitButtonNodeDom.d.ts → SubmitButtonNode.d.ts} +2 -2
- package/{dist/serialization/types/SubmitButtonNodeDom.js → serialization/types/SubmitButtonNode.js} +2 -2
- package/{dist/serialization/types/SubmitButton.d.ts → serialization/types/SubmitButtonNodeWrite.d.ts} +2 -2
- package/{dist/serialization/types/SubmitButton.js → serialization/types/SubmitButtonNodeWrite.js} +2 -2
- package/{dist/serialization/types/TextInputNodeDom.d.ts → serialization/types/TextInputNode.d.ts} +2 -2
- package/{dist/serialization/types/TextInputNodeDom.js → serialization/types/TextInputNode.js} +2 -2
- package/serialization/types/{TextInput.d.ts → TextInputNodeWrite.d.ts} +2 -2
- package/serialization/types/{TextInput.js → TextInputNodeWrite.js} +2 -2
- package/serialization/types/TextNode.d.ts +4 -2
- package/serialization/types/TextNode.js +4 -2
- package/serialization/types/TextNodeWrite.d.ts +13 -0
- package/serialization/types/TextNodeWrite.js +44 -0
- package/serialization/types/TriggerType.d.ts +1 -1
- package/serialization/types/TriggerType.js +1 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +15 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js +46 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +1 -1
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -1
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +13 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js +44 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +1 -1
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -1
- package/serialization/types/WorkspaceInvitation.d.ts +2 -0
- package/serialization/types/WorkspaceInvitation.js +2 -0
- package/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +1 -1
- package/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -0
- package/serialization/types/index.d.ts +17 -20
- package/serialization/types/index.js +17 -20
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/AssetsClient.d.ts +24 -0
- package/wrapper/AssetsClient.js +42 -0
- package/wrapper/AssetsUtilitiesClient.d.ts +1 -1
- package/api/types/CollectionItemChangedPayload.d.ts +0 -5
- package/api/types/CollectionItemCreatedPayload.d.ts +0 -5
- package/api/types/LocalizedItem.d.ts +0 -31
- package/api/types/MultiLocaleChangedPayload.d.ts +0 -22
- package/api/types/MultiLocaleChangedPayloadFieldData.d.ts +0 -11
- package/api/types/MultiLocaleCreatedPayload.d.ts +0 -16
- package/api/types/SingleLocaleChangedPayload.d.ts +0 -22
- package/api/types/TextNodeDom.d.ts +0 -15
- package/dist/api/types/CollectionItemChangedPayload.d.ts +0 -5
- package/dist/api/types/CollectionItemCreatedPayload.d.ts +0 -5
- package/dist/api/types/LocalizedItem.d.ts +0 -31
- package/dist/api/types/MultiLocaleChangedPayload.d.ts +0 -22
- package/dist/api/types/MultiLocaleChangedPayloadFieldData.d.ts +0 -11
- package/dist/api/types/MultiLocaleCreatedPayload.d.ts +0 -16
- package/dist/api/types/SingleLocaleChangedPayload.d.ts +0 -22
- package/dist/api/types/SubmitButtonNodeDom.js +0 -5
- package/dist/api/types/TextInput.js +0 -5
- package/dist/api/types/TextInputNodeDom.js +0 -5
- package/dist/api/types/TextNodeDom.d.ts +0 -15
- package/dist/api/types/TextNodeDom.js +0 -5
- package/dist/serialization/types/CollectionItemChangedPayload.d.ts +0 -12
- package/dist/serialization/types/CollectionItemChangedPayload.js +0 -43
- package/dist/serialization/types/CollectionItemCreatedPayload.d.ts +0 -12
- package/dist/serialization/types/CollectionItemCreatedPayload.js +0 -43
- package/dist/serialization/types/LocalizedItem.d.ts +0 -24
- package/dist/serialization/types/LocalizedItem.js +0 -55
- package/dist/serialization/types/MultiLocaleChangedPayload.d.ts +0 -23
- package/dist/serialization/types/MultiLocaleChangedPayloadFieldData.d.ts +0 -15
- package/dist/serialization/types/MultiLocaleChangedPayloadFieldData.js +0 -47
- package/dist/serialization/types/MultiLocaleCreatedPayload.d.ts +0 -17
- package/dist/serialization/types/MultiLocaleCreatedPayload.js +0 -48
- package/dist/serialization/types/SingleLocaleChangedPayload.d.ts +0 -23
- package/dist/serialization/types/SingleLocaleChangedPayload.js +0 -54
- package/dist/serialization/types/TextNodeDom.d.ts +0 -15
- package/dist/serialization/types/TextNodeDom.js +0 -46
- package/serialization/types/CollectionItemChangedPayload.d.ts +0 -12
- package/serialization/types/CollectionItemChangedPayload.js +0 -43
- package/serialization/types/CollectionItemCreatedPayload.d.ts +0 -12
- package/serialization/types/CollectionItemCreatedPayload.js +0 -43
- package/serialization/types/LocalizedItem.d.ts +0 -24
- package/serialization/types/LocalizedItem.js +0 -55
- package/serialization/types/MultiLocaleChangedPayload.d.ts +0 -23
- package/serialization/types/MultiLocaleChangedPayloadFieldData.d.ts +0 -15
- package/serialization/types/MultiLocaleChangedPayloadFieldData.js +0 -47
- package/serialization/types/MultiLocaleCreatedPayload.d.ts +0 -17
- package/serialization/types/MultiLocaleCreatedPayload.js +0 -48
- package/serialization/types/SingleLocaleChangedPayload.d.ts +0 -23
- package/serialization/types/SingleLocaleChangedPayload.js +0 -54
- package/serialization/types/TextNodeDom.d.ts +0 -15
- package/serialization/types/TextNodeDom.js +0 -46
- /package/api/{types/CollectionItemChangedPayload.js → resources/assets/client/requests/AssetsListRequest.js} +0 -0
- /package/api/types/{CollectionItemCreatedPayload.js → CollectionItemPublished.js} +0 -0
- /package/api/types/{ComponentInstance.js → ComponentInstanceNodePropertyOverridesWrite.js} +0 -0
- /package/api/types/{ComponentNodeDom.js → ComponentNode.js} +0 -0
- /package/api/types/{ImageNodeDom.js → ImageNode.js} +0 -0
- /package/api/types/{LocalizedItem.js → Payload.js} +0 -0
- /package/api/types/{MultiLocaleChangedPayload.js → PayloadFieldData.js} +0 -0
- /package/api/types/{MultiLocaleChangedPayloadFieldData.js → SearchButtonNode.js} +0 -0
- /package/api/types/{MultiLocaleCreatedPayload.js → SearchButtonNodeWrite.js} +0 -0
- /package/api/types/{SearchButton.js → SelectNode.js} +0 -0
- /package/api/types/{SearchButtonNodeDom.js → SubmitButtonNode.js} +0 -0
- /package/api/types/{SelectNodeDom.js → SubmitButtonNodeWrite.js} +0 -0
- /package/api/types/{SingleLocaleChangedPayload.js → TextInputNode.js} +0 -0
- /package/api/types/{SingleLocaleChangedPayloadFieldData.js → TextInputNodeWrite.js} +0 -0
- /package/api/types/{SubmitButton.js → TextNodeWrite.js} +0 -0
- /package/api/types/{SubmitButtonNodeDom.js → WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js} +0 -0
- /package/api/types/{TextInput.js → WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js} +0 -0
- /package/{api/types/TextInputNodeDom.js → dist/api/resources/assets/client/requests/AssetsListRequest.js} +0 -0
- /package/{api/types/TextNodeDom.js → dist/api/types/CollectionItemPublished.js} +0 -0
- /package/dist/api/types/{CollectionItemChangedPayload.js → ComponentInstanceNodePropertyOverridesWrite.js} +0 -0
- /package/dist/api/types/{CollectionItemCreatedPayload.js → ComponentNode.js} +0 -0
- /package/dist/api/types/{ComponentInstance.js → ImageNode.js} +0 -0
- /package/dist/api/types/{ComponentNodeDom.js → Payload.js} +0 -0
- /package/dist/api/types/{ImageNodeDom.js → PayloadFieldData.js} +0 -0
- /package/dist/api/types/{LocalizedItem.js → SearchButtonNode.js} +0 -0
- /package/dist/api/types/{MultiLocaleChangedPayload.js → SearchButtonNodeWrite.js} +0 -0
- /package/dist/api/types/{MultiLocaleChangedPayloadFieldData.js → SelectNode.js} +0 -0
- /package/dist/api/types/{MultiLocaleCreatedPayload.js → SubmitButtonNode.js} +0 -0
- /package/dist/api/types/{SearchButton.js → SubmitButtonNodeWrite.js} +0 -0
- /package/dist/api/types/{SearchButtonNodeDom.js → TextInputNode.js} +0 -0
- /package/dist/api/types/{SelectNodeDom.js → TextInputNodeWrite.js} +0 -0
- /package/dist/api/types/{SingleLocaleChangedPayload.js → TextNodeWrite.js} +0 -0
- /package/dist/api/types/{SingleLocaleChangedPayloadFieldData.js → WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js} +0 -0
- /package/dist/api/types/{SubmitButton.js → WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js} +0 -0
|
@@ -7,7 +7,9 @@ service:
|
|
|
7
7
|
list:
|
|
8
8
|
path: /sites/{site_id}/collections
|
|
9
9
|
method: GET
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- cms:read
|
|
11
13
|
docs: |
|
|
12
14
|
List of all Collections within a Site.
|
|
13
15
|
|
|
@@ -56,7 +58,9 @@ service:
|
|
|
56
58
|
create:
|
|
57
59
|
path: /sites/{site_id}/collections
|
|
58
60
|
method: POST
|
|
59
|
-
auth:
|
|
61
|
+
auth:
|
|
62
|
+
- OAuth2:
|
|
63
|
+
- cms:write
|
|
60
64
|
docs: >
|
|
61
65
|
Create a Collection for a site with collection fields.
|
|
62
66
|
|
|
@@ -159,7 +163,9 @@ service:
|
|
|
159
163
|
get:
|
|
160
164
|
path: /collections/{collection_id}
|
|
161
165
|
method: GET
|
|
162
|
-
auth:
|
|
166
|
+
auth:
|
|
167
|
+
- OAuth2:
|
|
168
|
+
- cms:read
|
|
163
169
|
docs: |
|
|
164
170
|
Get the full details of a collection from its ID.
|
|
165
171
|
|
|
@@ -312,7 +318,9 @@ service:
|
|
|
312
318
|
delete:
|
|
313
319
|
path: /collections/{collection_id}
|
|
314
320
|
method: DELETE
|
|
315
|
-
auth:
|
|
321
|
+
auth:
|
|
322
|
+
- OAuth2:
|
|
323
|
+
- cms:write
|
|
316
324
|
docs: |
|
|
317
325
|
Delete a collection using its ID.
|
|
318
326
|
|
|
@@ -7,7 +7,9 @@ service:
|
|
|
7
7
|
list:
|
|
8
8
|
path: /sites/{site_id}/components
|
|
9
9
|
method: GET
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- components:read
|
|
11
13
|
docs: |
|
|
12
14
|
List of all components for a site.
|
|
13
15
|
|
|
@@ -48,6 +50,8 @@ service:
|
|
|
48
50
|
site_id: 580e63e98c9a982ac9b8b741
|
|
49
51
|
query-parameters:
|
|
50
52
|
branchId: 68026fa68ef6dc744c75b833
|
|
53
|
+
limit: 1.1
|
|
54
|
+
offset: 1.1
|
|
51
55
|
response:
|
|
52
56
|
body:
|
|
53
57
|
components:
|
|
@@ -76,7 +80,9 @@ service:
|
|
|
76
80
|
get-content:
|
|
77
81
|
path: /sites/{site_id}/components/{component_id}/dom
|
|
78
82
|
method: GET
|
|
79
|
-
auth:
|
|
83
|
+
auth:
|
|
84
|
+
- OAuth2:
|
|
85
|
+
- components:read
|
|
80
86
|
docs: >
|
|
81
87
|
Get static content from a component definition. This includes text
|
|
82
88
|
nodes, image nodes, select nodes, text input nodes, submit button nodes,
|
|
@@ -109,9 +115,12 @@ service:
|
|
|
109
115
|
query-parameters:
|
|
110
116
|
localeId:
|
|
111
117
|
type: optional<string>
|
|
112
|
-
docs:
|
|
113
|
-
Unique identifier for a specific
|
|
114
|
-
|
|
118
|
+
docs: >
|
|
119
|
+
Unique identifier for a specific Locale.
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
[Lear more about
|
|
123
|
+
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
115
124
|
branchId:
|
|
116
125
|
type: optional<string>
|
|
117
126
|
docs: Scope the operation to work on a specific branch.
|
|
@@ -140,6 +149,8 @@ service:
|
|
|
140
149
|
query-parameters:
|
|
141
150
|
localeId: 65427cf400e02b306eaa04a0
|
|
142
151
|
branchId: 68026fa68ef6dc744c75b833
|
|
152
|
+
limit: 1.1
|
|
153
|
+
offset: 1.1
|
|
143
154
|
response:
|
|
144
155
|
body:
|
|
145
156
|
componentId: 69118560-d0bc-15fc-bbf8-b8fe5f6535b5
|
|
@@ -189,7 +200,9 @@ service:
|
|
|
189
200
|
update-content:
|
|
190
201
|
path: /sites/{site_id}/components/{component_id}/dom
|
|
191
202
|
method: POST
|
|
192
|
-
auth:
|
|
203
|
+
auth:
|
|
204
|
+
- OAuth2:
|
|
205
|
+
- components:write
|
|
193
206
|
docs: >
|
|
194
207
|
This endpoint updates content within a component defintion for
|
|
195
208
|
**secondary locales**. It supports updating up to 1000 nodes in a single
|
|
@@ -200,13 +213,18 @@ service:
|
|
|
200
213
|
|
|
201
214
|
1. Use the [get component
|
|
202
215
|
content](/data/reference/pages-and-components/components/get-content)
|
|
203
|
-
endpoint to identify available content nodes and their types
|
|
216
|
+
endpoint to identify available content nodes and their types.
|
|
204
217
|
|
|
205
218
|
2. If your component definition has a component instance nested within
|
|
206
219
|
it, retrieve the nested component instance's properties that you'll
|
|
207
220
|
override using the [get component
|
|
208
221
|
properties](/data/reference/pages-and-components/components/get-properties)
|
|
209
|
-
endpoint
|
|
222
|
+
endpoint.
|
|
223
|
+
|
|
224
|
+
3. DOM elements may include a `data-w-id` attribute. This attribute is
|
|
225
|
+
used by Webflow to maintain custom attributes and links across locales.
|
|
226
|
+
Always include the original `data-w-id` value in your update requests to
|
|
227
|
+
ensure consistent behavior across all locales.
|
|
210
228
|
|
|
211
229
|
|
|
212
230
|
<Note>
|
|
@@ -230,9 +248,12 @@ service:
|
|
|
230
248
|
query-parameters:
|
|
231
249
|
localeId:
|
|
232
250
|
type: optional<string>
|
|
233
|
-
docs:
|
|
234
|
-
Unique identifier for a specific
|
|
235
|
-
|
|
251
|
+
docs: >
|
|
252
|
+
Unique identifier for a specific Locale.
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
[Lear more about
|
|
256
|
+
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
236
257
|
branchId:
|
|
237
258
|
type: optional<string>
|
|
238
259
|
docs: Scope the operation to work on a specific branch.
|
|
@@ -294,7 +315,9 @@ service:
|
|
|
294
315
|
get-properties:
|
|
295
316
|
path: /sites/{site_id}/components/{component_id}/properties
|
|
296
317
|
method: GET
|
|
297
|
-
auth:
|
|
318
|
+
auth:
|
|
319
|
+
- OAuth2:
|
|
320
|
+
- components:read
|
|
298
321
|
docs: >
|
|
299
322
|
Get the default property values of a component definition.
|
|
300
323
|
|
|
@@ -320,9 +343,12 @@ service:
|
|
|
320
343
|
query-parameters:
|
|
321
344
|
localeId:
|
|
322
345
|
type: optional<string>
|
|
323
|
-
docs:
|
|
324
|
-
Unique identifier for a specific
|
|
325
|
-
|
|
346
|
+
docs: >
|
|
347
|
+
Unique identifier for a specific Locale.
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
[Lear more about
|
|
351
|
+
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
326
352
|
branchId:
|
|
327
353
|
type: optional<string>
|
|
328
354
|
docs: Scope the operation to work on a specific branch.
|
|
@@ -351,6 +377,8 @@ service:
|
|
|
351
377
|
query-parameters:
|
|
352
378
|
localeId: 65427cf400e02b306eaa04a0
|
|
353
379
|
branchId: 68026fa68ef6dc744c75b833
|
|
380
|
+
limit: 1.1
|
|
381
|
+
offset: 1.1
|
|
354
382
|
response:
|
|
355
383
|
body:
|
|
356
384
|
componentId: 658205daa3e8206a523b5ad4
|
|
@@ -374,17 +402,26 @@ service:
|
|
|
374
402
|
update-properties:
|
|
375
403
|
path: /sites/{site_id}/components/{component_id}/properties
|
|
376
404
|
method: POST
|
|
377
|
-
auth:
|
|
405
|
+
auth:
|
|
406
|
+
- OAuth2:
|
|
407
|
+
- components:write
|
|
378
408
|
docs: >
|
|
379
409
|
Update the default property values of a component definition in a
|
|
380
410
|
specificed locale.
|
|
381
411
|
|
|
382
412
|
|
|
383
|
-
Before making updates
|
|
413
|
+
Before making updates:
|
|
414
|
+
|
|
415
|
+
1. Use the [get component
|
|
384
416
|
properties](/data/reference/pages-and-components/components/get-properties)
|
|
385
417
|
endpoint to identify properties that can be updated in a secondary
|
|
386
418
|
locale.
|
|
387
419
|
|
|
420
|
+
2. Rich Text properties may include a `data-w-id` attribute. This
|
|
421
|
+
attribute is used by Webflow to maintain links across locales. Always
|
|
422
|
+
include the original `data-w-id` value in your update requests to ensure
|
|
423
|
+
consistent behavior across all locales.
|
|
424
|
+
|
|
388
425
|
|
|
389
426
|
<Note>The request requires a secondary locale ID. If a `localeId` is
|
|
390
427
|
missing, the request will not be processed and will result in an
|
|
@@ -407,9 +444,12 @@ service:
|
|
|
407
444
|
query-parameters:
|
|
408
445
|
localeId:
|
|
409
446
|
type: optional<string>
|
|
410
|
-
docs:
|
|
411
|
-
Unique identifier for a specific
|
|
412
|
-
|
|
447
|
+
docs: >
|
|
448
|
+
Unique identifier for a specific Locale.
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
[Lear more about
|
|
452
|
+
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
413
453
|
branchId:
|
|
414
454
|
type: optional<string>
|
|
415
455
|
docs: Scope the operation to work on a specific branch.
|
|
@@ -456,12 +496,12 @@ types:
|
|
|
456
496
|
ComponentDomWriteNodesItem:
|
|
457
497
|
discriminated: false
|
|
458
498
|
union:
|
|
459
|
-
- type: root.
|
|
460
|
-
- type: root.
|
|
499
|
+
- type: root.TextNodeWrite
|
|
500
|
+
- type: root.ComponentInstanceNodePropertyOverridesWrite
|
|
461
501
|
- type: root.Select
|
|
462
|
-
- type: root.
|
|
463
|
-
- type: root.
|
|
464
|
-
- type: root.
|
|
502
|
+
- type: root.TextInputNodeWrite
|
|
503
|
+
- type: root.SubmitButtonNodeWrite
|
|
504
|
+
- type: root.SearchButtonNodeWrite
|
|
465
505
|
source:
|
|
466
506
|
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
467
507
|
inline: true
|
|
@@ -7,7 +7,9 @@ service:
|
|
|
7
7
|
list:
|
|
8
8
|
path: /sites/{site_id}/forms
|
|
9
9
|
method: GET
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- forms:read
|
|
11
13
|
docs: |
|
|
12
14
|
List forms for a given site.
|
|
13
15
|
|
|
@@ -45,6 +47,9 @@ service:
|
|
|
45
47
|
examples:
|
|
46
48
|
- path-parameters:
|
|
47
49
|
site_id: 580e63e98c9a982ac9b8b741
|
|
50
|
+
query-parameters:
|
|
51
|
+
limit: 1.1
|
|
52
|
+
offset: 1.1
|
|
48
53
|
response:
|
|
49
54
|
body:
|
|
50
55
|
forms:
|
|
@@ -94,7 +99,9 @@ service:
|
|
|
94
99
|
get:
|
|
95
100
|
path: /forms/{form_id}
|
|
96
101
|
method: GET
|
|
97
|
-
auth:
|
|
102
|
+
auth:
|
|
103
|
+
- OAuth2:
|
|
104
|
+
- forms:read
|
|
98
105
|
docs: |
|
|
99
106
|
Get information about a given form.
|
|
100
107
|
|
|
@@ -149,7 +156,9 @@ service:
|
|
|
149
156
|
list-submissions:
|
|
150
157
|
path: /forms/{form_id}/submissions
|
|
151
158
|
method: GET
|
|
152
|
-
auth:
|
|
159
|
+
auth:
|
|
160
|
+
- OAuth2:
|
|
161
|
+
- forms:read
|
|
153
162
|
docs: |
|
|
154
163
|
List form submissions for a given form
|
|
155
164
|
|
|
@@ -192,6 +201,9 @@ service:
|
|
|
192
201
|
examples:
|
|
193
202
|
- path-parameters:
|
|
194
203
|
form_id: 580e63e98c9a982ac9b8b741
|
|
204
|
+
query-parameters:
|
|
205
|
+
offset: 1.1
|
|
206
|
+
limit: 1.1
|
|
195
207
|
response:
|
|
196
208
|
body:
|
|
197
209
|
formSubmissions:
|
|
@@ -218,7 +230,9 @@ service:
|
|
|
218
230
|
get-submission:
|
|
219
231
|
path: /form_submissions/{form_submission_id}
|
|
220
232
|
method: GET
|
|
221
|
-
auth:
|
|
233
|
+
auth:
|
|
234
|
+
- OAuth2:
|
|
235
|
+
- forms:read
|
|
222
236
|
docs: |
|
|
223
237
|
Get information about a given form submissio.
|
|
224
238
|
|
|
@@ -257,7 +271,9 @@ service:
|
|
|
257
271
|
delete-submission:
|
|
258
272
|
path: /form_submissions/{form_submission_id}
|
|
259
273
|
method: DELETE
|
|
260
|
-
auth:
|
|
274
|
+
auth:
|
|
275
|
+
- OAuth2:
|
|
276
|
+
- forms:write
|
|
261
277
|
docs: |
|
|
262
278
|
Delete a form submission
|
|
263
279
|
|
|
@@ -284,7 +300,9 @@ service:
|
|
|
284
300
|
update-submission:
|
|
285
301
|
path: /form_submissions/{form_submission_id}
|
|
286
302
|
method: PATCH
|
|
287
|
-
auth:
|
|
303
|
+
auth:
|
|
304
|
+
- OAuth2:
|
|
305
|
+
- forms:write
|
|
288
306
|
docs: |
|
|
289
307
|
Update hidden fields on a form submission
|
|
290
308
|
|
|
@@ -335,7 +353,9 @@ service:
|
|
|
335
353
|
list-submissions-by-site:
|
|
336
354
|
path: /sites/{site_id}/form_submissions
|
|
337
355
|
method: GET
|
|
338
|
-
auth:
|
|
356
|
+
auth:
|
|
357
|
+
- OAuth2:
|
|
358
|
+
- forms:read
|
|
339
359
|
docs: >
|
|
340
360
|
List form submissions for a given site. This endpoint differs from the
|
|
341
361
|
existing [List Form Submissions
|
|
@@ -385,6 +405,8 @@ service:
|
|
|
385
405
|
site_id: 580e63e98c9a982ac9b8b741
|
|
386
406
|
query-parameters:
|
|
387
407
|
elementId: 18259716-3e5a-646a-5f41-5dc4b9405aa0
|
|
408
|
+
offset: 1.1
|
|
409
|
+
limit: 1.1
|
|
388
410
|
response:
|
|
389
411
|
body:
|
|
390
412
|
formSubmissions:
|
|
@@ -5,9 +5,11 @@ service:
|
|
|
5
5
|
base-path: ''
|
|
6
6
|
endpoints:
|
|
7
7
|
list:
|
|
8
|
-
path: /collections/{
|
|
8
|
+
path: /collections/{sku_collection_id}/items/{sku_id}/inventory
|
|
9
9
|
method: GET
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- ecommerce:read
|
|
11
13
|
docs: |
|
|
12
14
|
List the current inventory levels for a particular SKU item.
|
|
13
15
|
|
|
@@ -15,12 +17,14 @@ service:
|
|
|
15
17
|
source:
|
|
16
18
|
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
17
19
|
path-parameters:
|
|
18
|
-
|
|
20
|
+
sku_collection_id:
|
|
19
21
|
type: string
|
|
20
|
-
docs:
|
|
21
|
-
|
|
22
|
+
docs: >-
|
|
23
|
+
Unique identifier for a SKU collection. Use the List Collections API
|
|
24
|
+
to find this ID.
|
|
25
|
+
sku_id:
|
|
22
26
|
type: string
|
|
23
|
-
docs: Unique identifier for
|
|
27
|
+
docs: Unique identifier for a SKU
|
|
24
28
|
display-name: List Inventory
|
|
25
29
|
response:
|
|
26
30
|
docs: Request was successful
|
|
@@ -36,17 +40,19 @@ service:
|
|
|
36
40
|
- root.InternalServerError
|
|
37
41
|
examples:
|
|
38
42
|
- path-parameters:
|
|
39
|
-
|
|
40
|
-
|
|
43
|
+
sku_collection_id: 6377a7c4b7a79608c34a46f7
|
|
44
|
+
sku_id: 5e8518516e147040726cc415
|
|
41
45
|
response:
|
|
42
46
|
body:
|
|
43
47
|
id: 5bfedb42bab0ad90fa7dad39
|
|
44
48
|
quantity: 100
|
|
45
49
|
inventoryType: finite
|
|
46
50
|
update:
|
|
47
|
-
path: /collections/{
|
|
51
|
+
path: /collections/{sku_collection_id}/items/{sku_id}/inventory
|
|
48
52
|
method: PATCH
|
|
49
|
-
auth:
|
|
53
|
+
auth:
|
|
54
|
+
- OAuth2:
|
|
55
|
+
- ecommerce:write
|
|
50
56
|
docs: >
|
|
51
57
|
Updates the current inventory levels for a particular SKU item.
|
|
52
58
|
|
|
@@ -65,12 +71,14 @@ service:
|
|
|
65
71
|
source:
|
|
66
72
|
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
67
73
|
path-parameters:
|
|
68
|
-
|
|
74
|
+
sku_collection_id:
|
|
69
75
|
type: string
|
|
70
|
-
docs:
|
|
71
|
-
|
|
76
|
+
docs: >-
|
|
77
|
+
Unique identifier for a SKU collection. Use the List Collections API
|
|
78
|
+
to find this ID.
|
|
79
|
+
sku_id:
|
|
72
80
|
type: string
|
|
73
|
-
docs: Unique identifier for
|
|
81
|
+
docs: Unique identifier for a SKU
|
|
74
82
|
display-name: Update Item Inventory
|
|
75
83
|
request:
|
|
76
84
|
name: InventoryUpdateRequest
|
|
@@ -100,8 +108,8 @@ service:
|
|
|
100
108
|
- root.InternalServerError
|
|
101
109
|
examples:
|
|
102
110
|
- path-parameters:
|
|
103
|
-
|
|
104
|
-
|
|
111
|
+
sku_collection_id: 6377a7c4b7a79608c34a46f7
|
|
112
|
+
sku_id: 5e8518516e147040726cc415
|
|
105
113
|
request:
|
|
106
114
|
inventoryType: infinite
|
|
107
115
|
response:
|
|
@@ -140,5 +148,5 @@ webhooks:
|
|
|
140
148
|
payload:
|
|
141
149
|
triggerType: ecomm_inventory_changed
|
|
142
150
|
payload:
|
|
143
|
-
ref: ./schemas/inventory.yml#/InventoryItem/example
|
|
151
|
+
\$ref: ./schemas/inventory.yml#/InventoryItem/example
|
|
144
152
|
docs: Information about updated ecommerce inventory values
|
|
@@ -15,7 +15,7 @@ webhooks:
|
|
|
15
15
|
workspaceId: 625860a7a6c16d624927122f
|
|
16
16
|
siteId: 65427cf400e02b306eaa049c
|
|
17
17
|
collectionId: 664243617fcc8b464b23c4ee
|
|
18
|
-
|
|
18
|
+
lastPublished: '2023-03-17T18:47:35Z'
|
|
19
19
|
lastUpdated: '2023-03-17T18:47:35Z'
|
|
20
20
|
createdOn: '2023-03-17T18:47:35Z'
|
|
21
21
|
isArchived: false
|
|
@@ -34,18 +34,13 @@ webhooks:
|
|
|
34
34
|
- payload:
|
|
35
35
|
triggerType: collection_item_changed
|
|
36
36
|
payload:
|
|
37
|
-
id:
|
|
38
|
-
workspaceId:
|
|
39
|
-
siteId:
|
|
40
|
-
collectionId:
|
|
41
|
-
cmsLocaleId: 681442a144bb80bd00480fda
|
|
42
|
-
lastUpdated: '2023-03-17T18:47:35Z'
|
|
43
|
-
createdOn: '2023-03-17T18:47:35Z'
|
|
44
|
-
isArchived: false
|
|
45
|
-
isDraft: false
|
|
37
|
+
id: id
|
|
38
|
+
workspaceId: workspaceId
|
|
39
|
+
siteId: siteId
|
|
40
|
+
collectionId: collectionId
|
|
46
41
|
fieldData:
|
|
47
|
-
name:
|
|
48
|
-
slug:
|
|
42
|
+
name: name
|
|
43
|
+
slug: slug
|
|
49
44
|
docs: Information about an updated collection item
|
|
50
45
|
collection_item_deleted:
|
|
51
46
|
audiences: []
|
|
@@ -67,11 +62,28 @@ webhooks:
|
|
|
67
62
|
isArchived: false
|
|
68
63
|
isDraft: false
|
|
69
64
|
fieldData:
|
|
70
|
-
name:
|
|
71
|
-
slug:
|
|
72
|
-
|
|
73
|
-
|
|
65
|
+
name: Earth
|
|
66
|
+
slug: earth
|
|
67
|
+
description: Mostly harmless
|
|
68
|
+
color: '#0000FF'
|
|
69
|
+
type: planet
|
|
70
|
+
galaxy: Milky Way
|
|
74
71
|
docs: Information about a deleted collection item
|
|
72
|
+
collection_item_published:
|
|
73
|
+
audiences: []
|
|
74
|
+
method: POST
|
|
75
|
+
display-name: Collection Item Published
|
|
76
|
+
headers: {}
|
|
77
|
+
payload: root.CollectionItemPublished
|
|
78
|
+
examples:
|
|
79
|
+
- payload:
|
|
80
|
+
triggerType: collection_item_published
|
|
81
|
+
payload:
|
|
82
|
+
id: 6321ca84df3949bfc6752327
|
|
83
|
+
siteId: 65427cf400e02b306eaa049c
|
|
84
|
+
workspaceId: 625860a7a6c16d624927122f
|
|
85
|
+
collectionId: 664243617fcc8b464b23c4ee
|
|
86
|
+
docs: Information about a collection item that was published
|
|
75
87
|
collection_item_unpublished:
|
|
76
88
|
audiences: []
|
|
77
89
|
method: POST
|