webflow-api 3.2.0 → 3.2.2
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 +132 -289
- package/.mock/definition/accessGroups.yml +17 -4
- package/.mock/definition/api.yml +0 -2
- package/.mock/definition/assets.yml +41 -8
- package/.mock/definition/collections/fields.yml +9 -3
- package/.mock/definition/collections/items.yml +468 -88
- package/.mock/definition/collections.yml +15 -4
- package/.mock/definition/comments.yml +1 -0
- package/.mock/definition/components.yml +75 -31
- package/.mock/definition/ecommerce.yml +3 -1
- package/.mock/definition/forms.yml +35 -86
- package/.mock/definition/inventory.yml +25 -17
- package/.mock/definition/items.yml +29 -16
- package/.mock/definition/orders.yml +206 -112
- package/.mock/definition/pages/scripts.yml +27 -8
- package/.mock/definition/pages.yml +79 -49
- package/.mock/definition/products.yml +23 -14
- package/.mock/definition/scripts.yml +14 -4
- package/.mock/definition/sites/activityLogs.yml +12 -3
- package/.mock/definition/sites/comments.yml +47 -18
- package/.mock/definition/sites/forms.yml +316 -0
- 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 +38 -10
- package/.mock/definition/sites/wellKnown.yml +20 -4
- package/.mock/definition/sites.yml +47 -8
- package/.mock/definition/token.yml +3 -2
- package/.mock/definition/users.yml +83 -17
- package/.mock/definition/webhooks.yml +4 -4
- package/.mock/definition/workspaces/auditLogs.yml +11 -5
- package/.mock/fern.config.json +1 -1
- package/Client.d.ts +2 -2
- package/Client.js +3 -3
- package/LICENSE +21 -0
- package/api/resources/accessGroups/client/Client.d.ts +10 -4
- package/api/resources/accessGroups/client/Client.js +13 -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 +59 -25
- package/api/resources/collections/resources/items/client/Client.js +63 -25
- 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 +11 -30
- package/api/resources/forms/client/Client.js +14 -129
- package/api/resources/forms/client/requests/FormsListRequest.d.ts +4 -1
- package/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +4 -1
- package/api/resources/forms/client/requests/index.d.ts +0 -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 +6 -3
- package/api/resources/sites/client/Client.js +11 -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/forms/client/Client.d.ts +157 -0
- package/api/resources/sites/resources/forms/client/Client.js +662 -0
- package/api/resources/sites/resources/forms/client/index.d.ts +2 -0
- package/api/resources/sites/resources/forms/client/index.js +17 -0
- package/api/resources/{forms → sites/resources/forms}/client/requests/FormsListSubmissionsBySiteRequest.d.ts +3 -1
- package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +20 -0
- package/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +11 -0
- package/api/resources/sites/resources/forms/client/requests/index.d.ts +3 -0
- package/api/resources/sites/resources/forms/client/requests/index.js +2 -0
- package/api/resources/sites/resources/forms/index.d.ts +1 -0
- package/api/resources/sites/resources/forms/index.js +17 -0
- 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 +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 +18 -4
- package/api/resources/users/client/Client.js +21 -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/{dist/api/types/ImageNodeDom.d.ts → api/types/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/{dist/api/types/SelectNodeDom.d.ts → api/types/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/api/types/{SubmitButton.d.ts → SubmitButtonNodeWrite.d.ts} +1 -1
- package/api/types/{TextInputNodeDom.d.ts → 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 +10 -4
- package/dist/api/resources/accessGroups/client/Client.js +13 -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 +59 -25
- package/dist/api/resources/collections/resources/items/client/Client.js +63 -25
- 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 +11 -30
- package/dist/api/resources/forms/client/Client.js +14 -129
- package/dist/api/resources/forms/client/requests/FormsListRequest.d.ts +4 -1
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +4 -1
- package/dist/api/resources/forms/client/requests/index.d.ts +0 -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 +6 -3
- package/dist/api/resources/sites/client/Client.js +11 -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/forms/client/Client.d.ts +157 -0
- package/dist/api/resources/sites/resources/forms/client/Client.js +662 -0
- package/dist/api/resources/sites/resources/forms/client/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/forms/client/index.js +17 -0
- package/dist/api/resources/{forms → sites/resources/forms}/client/requests/FormsListSubmissionsBySiteRequest.d.ts +3 -1
- package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +20 -0
- package/dist/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +11 -0
- package/dist/api/resources/sites/resources/forms/client/requests/index.d.ts +3 -0
- package/dist/api/resources/sites/resources/forms/client/requests/index.js +2 -0
- package/dist/api/resources/sites/resources/forms/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/forms/index.js +17 -0
- 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 +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 +18 -4
- package/dist/api/resources/users/client/Client.js +21 -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/{api/types/ImageNodeDom.d.ts → dist/api/types/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/{api/types/SelectNodeDom.d.ts → dist/api/types/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/dist/api/types/{SubmitButton.d.ts → SubmitButtonNodeWrite.d.ts} +1 -1
- package/dist/api/types/{TextInputNodeDom.d.ts → 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/resources/sites/resources/forms/client/index.d.ts +1 -0
- package/dist/serialization/resources/sites/resources/forms/client/index.js +17 -0
- package/dist/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +12 -0
- package/dist/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +43 -0
- package/dist/serialization/resources/sites/resources/forms/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/sites/resources/forms/client/requests/index.js +5 -0
- package/dist/serialization/resources/sites/resources/forms/index.d.ts +1 -0
- package/dist/serialization/resources/sites/resources/forms/index.js +17 -0
- package/dist/serialization/resources/sites/resources/index.d.ts +2 -0
- package/dist/serialization/resources/sites/resources/index.js +3 -1
- 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/dist/serialization/types/{SelectNodeDom.d.ts → 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/dist/wrapper/FormsClient.d.ts +37 -0
- package/dist/wrapper/FormsClient.js +193 -0
- package/dist/wrapper/ItemsClient.js +18 -14
- package/dist/wrapper/PagesClient.js +6 -5
- package/dist/wrapper/WebflowClient.d.ts +3 -0
- package/dist/wrapper/WebflowClient.js +6 -5
- package/environments.d.ts +0 -4
- package/environments.js +0 -2
- package/jest.config.mjs +25 -8
- package/package.json +3 -2
- package/reference.md +574 -137
- 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/resources/sites/resources/forms/client/index.d.ts +1 -0
- package/serialization/resources/sites/resources/forms/client/index.js +17 -0
- package/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +12 -0
- package/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +43 -0
- package/serialization/resources/sites/resources/forms/client/requests/index.d.ts +1 -0
- package/serialization/resources/sites/resources/forms/client/requests/index.js +5 -0
- package/serialization/resources/sites/resources/forms/index.d.ts +1 -0
- package/serialization/resources/sites/resources/forms/index.js +17 -0
- package/serialization/resources/sites/resources/index.d.ts +2 -0
- package/serialization/resources/sites/resources/index.js +3 -1
- 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/serialization/types/{SelectNodeDom.d.ts → 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/wrapper/FormsClient.d.ts +37 -0
- package/wrapper/FormsClient.js +193 -0
- package/wrapper/ItemsClient.js +18 -14
- package/wrapper/PagesClient.js +6 -5
- package/wrapper/WebflowClient.d.ts +3 -0
- package/wrapper/WebflowClient.js +6 -5
- 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/TextNodeDom.d.ts +0 -15
- 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/resources/{forms/client/requests/FormsListSubmissionsBySiteRequest.js → assets/client/requests/AssetsListRequest.js} +0 -0
- /package/{dist/api → api/resources/sites}/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js +0 -0
- /package/api/{types/CollectionItemChangedPayload.js → resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.js} +0 -0
- /package/api/{types/CollectionItemCreatedPayload.js → resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js} +0 -0
- /package/api/types/{ComponentInstance.js → CollectionItemPublished.js} +0 -0
- /package/api/types/{ComponentNodeDom.js → ComponentInstanceNodePropertyOverridesWrite.js} +0 -0
- /package/api/types/{ImageNodeDom.js → ComponentNode.js} +0 -0
- /package/api/types/{LocalizedItem.js → ImageNode.js} +0 -0
- /package/api/types/{MultiLocaleChangedPayload.js → Payload.js} +0 -0
- /package/api/types/{MultiLocaleChangedPayloadFieldData.js → PayloadFieldData.js} +0 -0
- /package/api/types/{MultiLocaleCreatedPayload.js → SearchButtonNode.js} +0 -0
- /package/api/types/{SearchButton.js → SearchButtonNodeWrite.js} +0 -0
- /package/api/types/{SearchButtonNodeDom.js → SelectNode.js} +0 -0
- /package/api/types/{SelectNodeDom.js → SubmitButtonNode.js} +0 -0
- /package/api/types/{SingleLocaleChangedPayload.js → SubmitButtonNodeWrite.js} +0 -0
- /package/api/types/{SingleLocaleChangedPayloadFieldData.js → TextInputNode.js} +0 -0
- /package/api/types/{SubmitButton.js → TextInputNodeWrite.js} +0 -0
- /package/api/types/{SubmitButtonNodeDom.js → TextNodeWrite.js} +0 -0
- /package/api/types/{TextInput.js → WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js} +0 -0
- /package/api/types/{TextInputNodeDom.js → WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js} +0 -0
- /package/{api/types/TextNodeDom.js → dist/api/resources/assets/client/requests/AssetsListRequest.js} +0 -0
- /package/dist/api/{types/CollectionItemChangedPayload.js → resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js} +0 -0
- /package/dist/api/{types/CollectionItemCreatedPayload.js → resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.js} +0 -0
- /package/dist/api/{types/ComponentInstance.js → resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js} +0 -0
- /package/dist/api/types/{ComponentNodeDom.js → CollectionItemPublished.js} +0 -0
- /package/dist/api/types/{ImageNodeDom.js → ComponentInstanceNodePropertyOverridesWrite.js} +0 -0
- /package/dist/api/types/{LocalizedItem.js → ComponentNode.js} +0 -0
- /package/dist/api/types/{MultiLocaleChangedPayload.js → ImageNode.js} +0 -0
- /package/dist/api/types/{MultiLocaleChangedPayloadFieldData.js → Payload.js} +0 -0
- /package/dist/api/types/{MultiLocaleCreatedPayload.js → PayloadFieldData.js} +0 -0
- /package/dist/api/types/{SearchButton.js → SearchButtonNode.js} +0 -0
- /package/dist/api/types/{SearchButtonNodeDom.js → SearchButtonNodeWrite.js} +0 -0
- /package/dist/api/types/{SelectNodeDom.js → SelectNode.js} +0 -0
- /package/dist/api/types/{SingleLocaleChangedPayload.js → SubmitButtonNode.js} +0 -0
- /package/dist/api/types/{SingleLocaleChangedPayloadFieldData.js → SubmitButtonNodeWrite.js} +0 -0
- /package/dist/api/types/{SubmitButton.js → TextInputNode.js} +0 -0
- /package/dist/api/types/{SubmitButtonNodeDom.js → TextInputNodeWrite.js} +0 -0
- /package/dist/api/types/{TextInput.js → TextNodeWrite.js} +0 -0
- /package/dist/api/types/{TextInputNodeDom.js → WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js} +0 -0
- /package/dist/api/types/{TextNodeDom.js → WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js} +0 -0
|
@@ -68,7 +68,7 @@ const headers_js_1 = require("../../../../../../core/headers.js");
|
|
|
68
68
|
const url_join_1 = __importDefault(require("url-join"));
|
|
69
69
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
70
70
|
class Items {
|
|
71
|
-
constructor(_options) {
|
|
71
|
+
constructor(_options = {}) {
|
|
72
72
|
this._options = _options;
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
@@ -87,7 +87,15 @@ class Items {
|
|
|
87
87
|
* @throws {@link Webflow.InternalServerError}
|
|
88
88
|
*
|
|
89
89
|
* @example
|
|
90
|
-
* await client.collections.items.listItems("580e63fc8c9a982ac9b8b745"
|
|
90
|
+
* await client.collections.items.listItems("580e63fc8c9a982ac9b8b745", {
|
|
91
|
+
* cmsLocaleId: "cmsLocaleId",
|
|
92
|
+
* offset: 1,
|
|
93
|
+
* limit: 1,
|
|
94
|
+
* name: "name",
|
|
95
|
+
* slug: "slug",
|
|
96
|
+
* sortBy: "lastPublished",
|
|
97
|
+
* sortOrder: "asc"
|
|
98
|
+
* })
|
|
91
99
|
*/
|
|
92
100
|
listItems(collectionId, request = {}, requestOptions) {
|
|
93
101
|
return core.HttpResponsePromise.fromPromise(this.__listItems(collectionId, request, requestOptions));
|
|
@@ -237,18 +245,20 @@ class Items {
|
|
|
237
245
|
*
|
|
238
246
|
* @example
|
|
239
247
|
* await client.collections.items.createItem("580e63fc8c9a982ac9b8b745", {
|
|
248
|
+
* skipInvalidFiles: true,
|
|
240
249
|
* body: {
|
|
241
250
|
* isArchived: false,
|
|
242
251
|
* isDraft: false,
|
|
243
252
|
* fieldData: {
|
|
244
|
-
* name: "
|
|
245
|
-
* slug: "
|
|
253
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
254
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
246
255
|
* }
|
|
247
256
|
* }
|
|
248
257
|
* })
|
|
249
258
|
*
|
|
250
259
|
* @example
|
|
251
260
|
* await client.collections.items.createItem("580e63fc8c9a982ac9b8b745", {
|
|
261
|
+
* skipInvalidFiles: true,
|
|
252
262
|
* body: {
|
|
253
263
|
* items: [{
|
|
254
264
|
* isArchived: false,
|
|
@@ -503,6 +513,7 @@ class Items {
|
|
|
503
513
|
*
|
|
504
514
|
* @example
|
|
505
515
|
* await client.collections.items.updateItems("580e63fc8c9a982ac9b8b745", {
|
|
516
|
+
* skipInvalidFiles: true,
|
|
506
517
|
* items: [{
|
|
507
518
|
* id: "66f6ed9576ddacf3149d5ea6",
|
|
508
519
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
|
@@ -536,6 +547,7 @@ class Items {
|
|
|
536
547
|
*
|
|
537
548
|
* @example
|
|
538
549
|
* await client.collections.items.updateItems("580e63fc8c9a982ac9b8b745", {
|
|
550
|
+
* skipInvalidFiles: true,
|
|
539
551
|
* items: [{
|
|
540
552
|
* id: "580e64008c9a982ac9b8b754",
|
|
541
553
|
* isArchived: false,
|
|
@@ -659,10 +671,9 @@ class Items {
|
|
|
659
671
|
/**
|
|
660
672
|
* List all published items in a collection.
|
|
661
673
|
*
|
|
662
|
-
* <
|
|
663
|
-
*
|
|
664
|
-
*
|
|
665
|
-
* </Note>
|
|
674
|
+
* <Tip title="Serve data with the Content Delivery API">
|
|
675
|
+
* Serving data to applications in real-time? Use the Content Delivery API at `api-cdn.webflow.com` for better performance. The CDN-backed endpoint is optimized for high-volume reads, while the Data API is designed for writes and management operations.
|
|
676
|
+
* </Tip>
|
|
666
677
|
*
|
|
667
678
|
* Required scope | `CMS:read`
|
|
668
679
|
*
|
|
@@ -677,7 +688,15 @@ class Items {
|
|
|
677
688
|
* @throws {@link Webflow.InternalServerError}
|
|
678
689
|
*
|
|
679
690
|
* @example
|
|
680
|
-
* await client.collections.items.listItemsLive("580e63fc8c9a982ac9b8b745"
|
|
691
|
+
* await client.collections.items.listItemsLive("580e63fc8c9a982ac9b8b745", {
|
|
692
|
+
* cmsLocaleId: "cmsLocaleId",
|
|
693
|
+
* offset: 1,
|
|
694
|
+
* limit: 1,
|
|
695
|
+
* name: "name",
|
|
696
|
+
* slug: "slug",
|
|
697
|
+
* sortBy: "lastPublished",
|
|
698
|
+
* sortOrder: "asc"
|
|
699
|
+
* })
|
|
681
700
|
*/
|
|
682
701
|
listItemsLive(collectionId, request = {}, requestOptions) {
|
|
683
702
|
return core.HttpResponsePromise.fromPromise(this.__listItemsLive(collectionId, request, requestOptions));
|
|
@@ -828,18 +847,20 @@ class Items {
|
|
|
828
847
|
*
|
|
829
848
|
* @example
|
|
830
849
|
* await client.collections.items.createItemLive("580e63fc8c9a982ac9b8b745", {
|
|
850
|
+
* skipInvalidFiles: true,
|
|
831
851
|
* body: {
|
|
832
852
|
* isArchived: false,
|
|
833
853
|
* isDraft: false,
|
|
834
854
|
* fieldData: {
|
|
835
|
-
* name: "
|
|
836
|
-
* slug: "
|
|
855
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
856
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
837
857
|
* }
|
|
838
858
|
* }
|
|
839
859
|
* })
|
|
840
860
|
*
|
|
841
861
|
* @example
|
|
842
862
|
* await client.collections.items.createItemLive("580e63fc8c9a982ac9b8b745", {
|
|
863
|
+
* skipInvalidFiles: true,
|
|
843
864
|
* body: {
|
|
844
865
|
* items: [{
|
|
845
866
|
* isArchived: false,
|
|
@@ -1090,6 +1111,7 @@ class Items {
|
|
|
1090
1111
|
*
|
|
1091
1112
|
* @example
|
|
1092
1113
|
* await client.collections.items.updateItemsLive("580e63fc8c9a982ac9b8b745", {
|
|
1114
|
+
* skipInvalidFiles: true,
|
|
1093
1115
|
* items: [{
|
|
1094
1116
|
* id: "66f6ed9576ddacf3149d5ea6",
|
|
1095
1117
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
|
@@ -1123,6 +1145,7 @@ class Items {
|
|
|
1123
1145
|
*
|
|
1124
1146
|
* @example
|
|
1125
1147
|
* await client.collections.items.updateItemsLive("580e63fc8c9a982ac9b8b745", {
|
|
1148
|
+
* skipInvalidFiles: true,
|
|
1126
1149
|
* items: [{
|
|
1127
1150
|
* id: "580e64008c9a982ac9b8b754",
|
|
1128
1151
|
* isArchived: false,
|
|
@@ -1267,6 +1290,7 @@ class Items {
|
|
|
1267
1290
|
*
|
|
1268
1291
|
* @example
|
|
1269
1292
|
* await client.collections.items.createItems("580e63fc8c9a982ac9b8b745", {
|
|
1293
|
+
* skipInvalidFiles: true,
|
|
1270
1294
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4", "66f6e966c9e1dc700a857ca5"],
|
|
1271
1295
|
* isArchived: false,
|
|
1272
1296
|
* isDraft: false,
|
|
@@ -1278,6 +1302,7 @@ class Items {
|
|
|
1278
1302
|
*
|
|
1279
1303
|
* @example
|
|
1280
1304
|
* await client.collections.items.createItems("580e63fc8c9a982ac9b8b745", {
|
|
1305
|
+
* skipInvalidFiles: true,
|
|
1281
1306
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4"],
|
|
1282
1307
|
* isArchived: false,
|
|
1283
1308
|
* isDraft: false,
|
|
@@ -1408,7 +1433,9 @@ class Items {
|
|
|
1408
1433
|
* @throws {@link Webflow.InternalServerError}
|
|
1409
1434
|
*
|
|
1410
1435
|
* @example
|
|
1411
|
-
* await client.collections.items.getItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
1436
|
+
* await client.collections.items.getItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
1437
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
1438
|
+
* })
|
|
1412
1439
|
*/
|
|
1413
1440
|
getItem(collectionId, itemId, request = {}, requestOptions) {
|
|
1414
1441
|
return core.HttpResponsePromise.fromPromise(this.__getItem(collectionId, itemId, request, requestOptions));
|
|
@@ -1423,7 +1450,7 @@ class Items {
|
|
|
1423
1450
|
}
|
|
1424
1451
|
const _response = yield core.fetcher({
|
|
1425
1452
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.baseUrl))) !== null && _a !== void 0 ? _a : ((_b = (yield core.Supplier.get(this._options.environment))) !== null && _b !== void 0 ? _b : environments.WebflowEnvironment.DataApi)
|
|
1426
|
-
.
|
|
1453
|
+
.base, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}`),
|
|
1427
1454
|
method: "GET",
|
|
1428
1455
|
headers: (0, headers_js_1.mergeHeaders)((_c = this._options) === null || _c === void 0 ? void 0 : _c.headers, (0, headers_js_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
1429
1456
|
queryParameters: _queryParams,
|
|
@@ -1521,7 +1548,9 @@ class Items {
|
|
|
1521
1548
|
* @throws {@link Webflow.InternalServerError}
|
|
1522
1549
|
*
|
|
1523
1550
|
* @example
|
|
1524
|
-
* await client.collections.items.deleteItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
1551
|
+
* await client.collections.items.deleteItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
1552
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
1553
|
+
* })
|
|
1525
1554
|
*/
|
|
1526
1555
|
deleteItem(collectionId, itemId, request = {}, requestOptions) {
|
|
1527
1556
|
return core.HttpResponsePromise.fromPromise(this.__deleteItem(collectionId, itemId, request, requestOptions));
|
|
@@ -1626,12 +1655,13 @@ class Items {
|
|
|
1626
1655
|
*
|
|
1627
1656
|
* @example
|
|
1628
1657
|
* await client.collections.items.updateItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
1658
|
+
* skipInvalidFiles: true,
|
|
1629
1659
|
* body: {
|
|
1630
1660
|
* isArchived: false,
|
|
1631
1661
|
* isDraft: false,
|
|
1632
1662
|
* fieldData: {
|
|
1633
|
-
* name: "
|
|
1634
|
-
* slug: "
|
|
1663
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
1664
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
1635
1665
|
* }
|
|
1636
1666
|
* }
|
|
1637
1667
|
* })
|
|
@@ -1740,10 +1770,9 @@ class Items {
|
|
|
1740
1770
|
/**
|
|
1741
1771
|
* Get details of a selected Collection live Item.
|
|
1742
1772
|
*
|
|
1743
|
-
* <
|
|
1744
|
-
*
|
|
1745
|
-
*
|
|
1746
|
-
* </Note>
|
|
1773
|
+
* <Tip title="Serve data with the Content Delivery API">
|
|
1774
|
+
* Serving data to applications in real-time? Use the Content Delivery API at `api-cdn.webflow.com` for better performance. The CDN-backed endpoint is optimized for high-volume reads, while the Data API is designed for writes and management operations.
|
|
1775
|
+
* </Tip>
|
|
1747
1776
|
*
|
|
1748
1777
|
* Required scope | `CMS:read`
|
|
1749
1778
|
*
|
|
@@ -1759,7 +1788,9 @@ class Items {
|
|
|
1759
1788
|
* @throws {@link Webflow.InternalServerError}
|
|
1760
1789
|
*
|
|
1761
1790
|
* @example
|
|
1762
|
-
* await client.collections.items.getItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
1791
|
+
* await client.collections.items.getItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
1792
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
1793
|
+
* })
|
|
1763
1794
|
*/
|
|
1764
1795
|
getItemLive(collectionId, itemId, request = {}, requestOptions) {
|
|
1765
1796
|
return core.HttpResponsePromise.fromPromise(this.__getItemLive(collectionId, itemId, request, requestOptions));
|
|
@@ -1874,7 +1905,9 @@ class Items {
|
|
|
1874
1905
|
* @throws {@link Webflow.InternalServerError}
|
|
1875
1906
|
*
|
|
1876
1907
|
* @example
|
|
1877
|
-
* await client.collections.items.deleteItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
1908
|
+
* await client.collections.items.deleteItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
1909
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
1910
|
+
* })
|
|
1878
1911
|
*/
|
|
1879
1912
|
deleteItemLive(collectionId, itemId, request = {}, requestOptions) {
|
|
1880
1913
|
return core.HttpResponsePromise.fromPromise(this.__deleteItemLive(collectionId, itemId, request, requestOptions));
|
|
@@ -1980,12 +2013,13 @@ class Items {
|
|
|
1980
2013
|
*
|
|
1981
2014
|
* @example
|
|
1982
2015
|
* await client.collections.items.updateItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
2016
|
+
* skipInvalidFiles: true,
|
|
1983
2017
|
* body: {
|
|
1984
2018
|
* isArchived: false,
|
|
1985
2019
|
* isDraft: false,
|
|
1986
2020
|
* fieldData: {
|
|
1987
|
-
* name: "
|
|
1988
|
-
* slug: "
|
|
2021
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
2022
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
1989
2023
|
* }
|
|
1990
2024
|
* }
|
|
1991
2025
|
* })
|
|
@@ -2235,7 +2269,11 @@ class Items {
|
|
|
2235
2269
|
}
|
|
2236
2270
|
_getAuthorizationHeader() {
|
|
2237
2271
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2238
|
-
|
|
2272
|
+
const bearer = yield core.Supplier.get(this._options.accessToken);
|
|
2273
|
+
if (bearer != null) {
|
|
2274
|
+
return `Bearer ${bearer}`;
|
|
2275
|
+
}
|
|
2276
|
+
return undefined;
|
|
2239
2277
|
});
|
|
2240
2278
|
}
|
|
2241
2279
|
}
|
|
@@ -5,6 +5,7 @@ import * as Webflow from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* skipInvalidFiles: true,
|
|
8
9
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4", "66f6e966c9e1dc700a857ca5"],
|
|
9
10
|
* isArchived: false,
|
|
10
11
|
* isDraft: false,
|
|
@@ -16,6 +17,7 @@ import * as Webflow from "../../../../../../index";
|
|
|
16
17
|
*
|
|
17
18
|
* @example
|
|
18
19
|
* {
|
|
20
|
+
* skipInvalidFiles: true,
|
|
19
21
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4"],
|
|
20
22
|
* isArchived: false,
|
|
21
23
|
* isDraft: false,
|
|
@@ -30,6 +32,7 @@ import * as Webflow from "../../../../../../index";
|
|
|
30
32
|
*
|
|
31
33
|
* @example
|
|
32
34
|
* {
|
|
35
|
+
* skipInvalidFiles: true,
|
|
33
36
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4", "66f6e966c9e1dc700a857ca5"],
|
|
34
37
|
* isArchived: false,
|
|
35
38
|
* isDraft: false,
|
|
@@ -41,6 +44,7 @@ import * as Webflow from "../../../../../../index";
|
|
|
41
44
|
*
|
|
42
45
|
* @example
|
|
43
46
|
* {
|
|
47
|
+
* skipInvalidFiles: true,
|
|
44
48
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4", "66f6e966c9e1dc700a857ca5"],
|
|
45
49
|
* isArchived: false,
|
|
46
50
|
* isDraft: false,
|
package/api/resources/collections/resources/items/client/requests/ItemsCreateItemLiveRequest.d.ts
CHANGED
|
@@ -5,18 +5,20 @@ import * as Webflow from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* skipInvalidFiles: true,
|
|
8
9
|
* body: {
|
|
9
10
|
* isArchived: false,
|
|
10
11
|
* isDraft: false,
|
|
11
12
|
* fieldData: {
|
|
12
|
-
* name: "
|
|
13
|
-
* slug: "
|
|
13
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
14
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
14
15
|
* }
|
|
15
16
|
* }
|
|
16
17
|
* }
|
|
17
18
|
*
|
|
18
19
|
* @example
|
|
19
20
|
* {
|
|
21
|
+
* skipInvalidFiles: true,
|
|
20
22
|
* body: {
|
|
21
23
|
* items: [{
|
|
22
24
|
* isArchived: false,
|
package/api/resources/collections/resources/items/client/requests/ItemsCreateItemRequest.d.ts
CHANGED
|
@@ -5,18 +5,20 @@ import * as Webflow from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* skipInvalidFiles: true,
|
|
8
9
|
* body: {
|
|
9
10
|
* isArchived: false,
|
|
10
11
|
* isDraft: false,
|
|
11
12
|
* fieldData: {
|
|
12
|
-
* name: "
|
|
13
|
-
* slug: "
|
|
13
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
14
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
14
15
|
* }
|
|
15
16
|
* }
|
|
16
17
|
* }
|
|
17
18
|
*
|
|
18
19
|
* @example
|
|
19
20
|
* {
|
|
21
|
+
* skipInvalidFiles: true,
|
|
20
22
|
* body: {
|
|
21
23
|
* items: [{
|
|
22
24
|
* isArchived: false,
|
package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts
CHANGED
|
@@ -4,7 +4,15 @@
|
|
|
4
4
|
import * as Webflow from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* cmsLocaleId: "cmsLocaleId",
|
|
9
|
+
* offset: 1,
|
|
10
|
+
* limit: 1,
|
|
11
|
+
* name: "name",
|
|
12
|
+
* slug: "slug",
|
|
13
|
+
* sortBy: "lastPublished",
|
|
14
|
+
* sortOrder: "asc"
|
|
15
|
+
* }
|
|
8
16
|
*/
|
|
9
17
|
export interface ItemsListItemsLiveRequest {
|
|
10
18
|
/**
|
package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts
CHANGED
|
@@ -4,7 +4,15 @@
|
|
|
4
4
|
import * as Webflow from "../../../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* cmsLocaleId: "cmsLocaleId",
|
|
9
|
+
* offset: 1,
|
|
10
|
+
* limit: 1,
|
|
11
|
+
* name: "name",
|
|
12
|
+
* slug: "slug",
|
|
13
|
+
* sortBy: "lastPublished",
|
|
14
|
+
* sortOrder: "asc"
|
|
15
|
+
* }
|
|
8
16
|
*/
|
|
9
17
|
export interface ItemsListItemsRequest {
|
|
10
18
|
/**
|
package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemLiveRequest.d.ts
CHANGED
|
@@ -5,12 +5,13 @@ import * as Webflow from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* skipInvalidFiles: true,
|
|
8
9
|
* body: {
|
|
9
10
|
* isArchived: false,
|
|
10
11
|
* isDraft: false,
|
|
11
12
|
* fieldData: {
|
|
12
|
-
* name: "
|
|
13
|
-
* slug: "
|
|
13
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
14
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
14
15
|
* }
|
|
15
16
|
* }
|
|
16
17
|
* }
|
package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemRequest.d.ts
CHANGED
|
@@ -5,12 +5,13 @@ import * as Webflow from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* skipInvalidFiles: true,
|
|
8
9
|
* body: {
|
|
9
10
|
* isArchived: false,
|
|
10
11
|
* isDraft: false,
|
|
11
12
|
* fieldData: {
|
|
12
|
-
* name: "
|
|
13
|
-
* slug: "
|
|
13
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
14
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
14
15
|
* }
|
|
15
16
|
* }
|
|
16
17
|
* }
|
package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as Webflow from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* skipInvalidFiles: true,
|
|
8
9
|
* items: [{
|
|
9
10
|
* id: "66f6ed9576ddacf3149d5ea6",
|
|
10
11
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
|
@@ -38,6 +39,7 @@ import * as Webflow from "../../../../../../index";
|
|
|
38
39
|
*
|
|
39
40
|
* @example
|
|
40
41
|
* {
|
|
42
|
+
* skipInvalidFiles: true,
|
|
41
43
|
* items: [{
|
|
42
44
|
* id: "580e64008c9a982ac9b8b754",
|
|
43
45
|
* isArchived: false,
|
|
@@ -59,6 +61,7 @@ import * as Webflow from "../../../../../../index";
|
|
|
59
61
|
*
|
|
60
62
|
* @example
|
|
61
63
|
* {
|
|
64
|
+
* skipInvalidFiles: true,
|
|
62
65
|
* items: [{
|
|
63
66
|
* id: "66f6ed9576ddacf3149d5ea6",
|
|
64
67
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
|
@@ -92,6 +95,7 @@ import * as Webflow from "../../../../../../index";
|
|
|
92
95
|
*
|
|
93
96
|
* @example
|
|
94
97
|
* {
|
|
98
|
+
* skipInvalidFiles: true,
|
|
95
99
|
* items: [{
|
|
96
100
|
* id: "66f6ed9576ddacf3149d5ea6",
|
|
97
101
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as Webflow from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
+
* skipInvalidFiles: true,
|
|
8
9
|
* items: [{
|
|
9
10
|
* id: "66f6ed9576ddacf3149d5ea6",
|
|
10
11
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
|
@@ -38,6 +39,7 @@ import * as Webflow from "../../../../../../index";
|
|
|
38
39
|
*
|
|
39
40
|
* @example
|
|
40
41
|
* {
|
|
42
|
+
* skipInvalidFiles: true,
|
|
41
43
|
* items: [{
|
|
42
44
|
* id: "580e64008c9a982ac9b8b754",
|
|
43
45
|
* isArchived: false,
|
|
@@ -9,7 +9,7 @@ export declare namespace Components {
|
|
|
9
9
|
environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
|
|
10
10
|
/** Specify a custom URL to connect the client to. */
|
|
11
11
|
baseUrl?: core.Supplier<string>;
|
|
12
|
-
accessToken
|
|
12
|
+
accessToken?: core.Supplier<core.BearerToken | undefined>;
|
|
13
13
|
/** Additional headers to include in requests. */
|
|
14
14
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
15
15
|
}
|
|
@@ -26,7 +26,7 @@ export declare namespace Components {
|
|
|
26
26
|
}
|
|
27
27
|
export declare class Components {
|
|
28
28
|
protected readonly _options: Components.Options;
|
|
29
|
-
constructor(_options
|
|
29
|
+
constructor(_options?: Components.Options);
|
|
30
30
|
/**
|
|
31
31
|
* List of all components for a site.
|
|
32
32
|
*
|
|
@@ -44,7 +44,9 @@ export declare class Components {
|
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* await client.components.list("580e63e98c9a982ac9b8b741", {
|
|
47
|
-
* branchId: "68026fa68ef6dc744c75b833"
|
|
47
|
+
* branchId: "68026fa68ef6dc744c75b833",
|
|
48
|
+
* limit: 1,
|
|
49
|
+
* offset: 1
|
|
48
50
|
* })
|
|
49
51
|
*/
|
|
50
52
|
list(siteId: string, request?: Webflow.ComponentsListRequest, requestOptions?: Components.RequestOptions): core.HttpResponsePromise<Webflow.ComponentList>;
|
|
@@ -71,7 +73,9 @@ export declare class Components {
|
|
|
71
73
|
* @example
|
|
72
74
|
* await client.components.getContent("580e63e98c9a982ac9b8b741", "8505ba55-ef72-629e-f85c-33e4b703d48b", {
|
|
73
75
|
* localeId: "65427cf400e02b306eaa04a0",
|
|
74
|
-
* branchId: "68026fa68ef6dc744c75b833"
|
|
76
|
+
* branchId: "68026fa68ef6dc744c75b833",
|
|
77
|
+
* limit: 1,
|
|
78
|
+
* offset: 1
|
|
75
79
|
* })
|
|
76
80
|
*/
|
|
77
81
|
getContent(siteId: string, componentId: string, request?: Webflow.ComponentsGetContentRequest, requestOptions?: Components.RequestOptions): core.HttpResponsePromise<Webflow.ComponentDom>;
|
|
@@ -80,8 +84,9 @@ export declare class Components {
|
|
|
80
84
|
* This endpoint updates content within a component defintion for **secondary locales**. It supports updating up to 1000 nodes in a single request.
|
|
81
85
|
*
|
|
82
86
|
* Before making updates:
|
|
83
|
-
* 1. Use the [get component content](/data/reference/pages-and-components/components/get-content) endpoint to identify available content nodes and their types
|
|
84
|
-
* 2. If your component definition has a component instance nested within it, retrieve the nested component instance's properties that you'll override using the [get component properties](/data/reference/pages-and-components/components/get-properties) endpoint
|
|
87
|
+
* 1. Use the [get component content](/data/reference/pages-and-components/components/get-content) endpoint to identify available content nodes and their types.
|
|
88
|
+
* 2. If your component definition has a component instance nested within it, retrieve the nested component instance's properties that you'll override using the [get component properties](/data/reference/pages-and-components/components/get-properties) endpoint.
|
|
89
|
+
* 3. DOM elements may include a `data-w-id` attribute. This attribute is used by Webflow to maintain custom attributes and links across locales. Always include the original `data-w-id` value in your update requests to ensure consistent behavior across all locales.
|
|
85
90
|
*
|
|
86
91
|
* <Note>
|
|
87
92
|
* 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.
|
|
@@ -162,7 +167,9 @@ export declare class Components {
|
|
|
162
167
|
* @example
|
|
163
168
|
* await client.components.getProperties("580e63e98c9a982ac9b8b741", "8505ba55-ef72-629e-f85c-33e4b703d48b", {
|
|
164
169
|
* localeId: "65427cf400e02b306eaa04a0",
|
|
165
|
-
* branchId: "68026fa68ef6dc744c75b833"
|
|
170
|
+
* branchId: "68026fa68ef6dc744c75b833",
|
|
171
|
+
* limit: 1,
|
|
172
|
+
* offset: 1
|
|
166
173
|
* })
|
|
167
174
|
*/
|
|
168
175
|
getProperties(siteId: string, componentId: string, request?: Webflow.ComponentsGetPropertiesRequest, requestOptions?: Components.RequestOptions): core.HttpResponsePromise<Webflow.ComponentProperties>;
|
|
@@ -170,7 +177,9 @@ export declare class Components {
|
|
|
170
177
|
/**
|
|
171
178
|
* Update the default property values of a component definition in a specificed locale.
|
|
172
179
|
*
|
|
173
|
-
* Before making updates
|
|
180
|
+
* Before making updates:
|
|
181
|
+
* 1. Use the [get component properties](/data/reference/pages-and-components/components/get-properties) endpoint to identify properties that can be updated in a secondary locale.
|
|
182
|
+
* 2. Rich Text properties may include a `data-w-id` attribute. This attribute is used by Webflow to maintain links across locales. Always include the original `data-w-id` value in your update requests to ensure consistent behavior across all locales.
|
|
174
183
|
*
|
|
175
184
|
* <Note>The request requires a secondary locale ID. If a `localeId` is missing, the request will not be processed and will result in an error.</Note>
|
|
176
185
|
*
|
|
@@ -202,5 +211,5 @@ export declare class Components {
|
|
|
202
211
|
*/
|
|
203
212
|
updateProperties(siteId: string, componentId: string, request: Webflow.ComponentPropertiesWrite, requestOptions?: Components.RequestOptions): core.HttpResponsePromise<Webflow.ComponentsUpdatePropertiesResponse>;
|
|
204
213
|
private __updateProperties;
|
|
205
|
-
protected _getAuthorizationHeader(): Promise<string>;
|
|
214
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
206
215
|
}
|