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
|
@@ -9,7 +9,7 @@ export declare namespace Assets {
|
|
|
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
|
}
|
|
@@ -29,13 +29,14 @@ export declare namespace Assets {
|
|
|
29
29
|
*/
|
|
30
30
|
export declare class Assets {
|
|
31
31
|
protected readonly _options: Assets.Options;
|
|
32
|
-
constructor(_options
|
|
32
|
+
constructor(_options?: Assets.Options);
|
|
33
33
|
/**
|
|
34
34
|
* List of assets uploaded to a site
|
|
35
35
|
*
|
|
36
36
|
* Required scope | `assets:read`
|
|
37
37
|
*
|
|
38
38
|
* @param {string} siteId - Unique identifier for a Site
|
|
39
|
+
* @param {Webflow.AssetsListRequest} request
|
|
39
40
|
* @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
|
|
40
41
|
*
|
|
41
42
|
* @throws {@link Webflow.BadRequestError}
|
|
@@ -45,9 +46,12 @@ export declare class Assets {
|
|
|
45
46
|
* @throws {@link Webflow.InternalServerError}
|
|
46
47
|
*
|
|
47
48
|
* @example
|
|
48
|
-
* await client.assets.list("580e63e98c9a982ac9b8b741"
|
|
49
|
+
* await client.assets.list("580e63e98c9a982ac9b8b741", {
|
|
50
|
+
* offset: 1,
|
|
51
|
+
* limit: 1
|
|
52
|
+
* })
|
|
49
53
|
*/
|
|
50
|
-
list(siteId: string, requestOptions?: Assets.RequestOptions): core.HttpResponsePromise<Webflow.Assets>;
|
|
54
|
+
list(siteId: string, request?: Webflow.AssetsListRequest, requestOptions?: Assets.RequestOptions): core.HttpResponsePromise<Webflow.Assets>;
|
|
51
55
|
private __list;
|
|
52
56
|
/**
|
|
53
57
|
* The first step in uploading an asset to a site.
|
|
@@ -199,5 +203,5 @@ export declare class Assets {
|
|
|
199
203
|
*/
|
|
200
204
|
getFolder(assetFolderId: string, requestOptions?: Assets.RequestOptions): core.HttpResponsePromise<Webflow.AssetFolder>;
|
|
201
205
|
private __getFolder;
|
|
202
|
-
protected _getAuthorizationHeader(): Promise<string>;
|
|
206
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
203
207
|
}
|
|
@@ -60,7 +60,7 @@ const errors = __importStar(require("../../../../errors/index"));
|
|
|
60
60
|
* Assets are files that are uploaded to your Webflow account.
|
|
61
61
|
*/
|
|
62
62
|
class Assets {
|
|
63
|
-
constructor(_options) {
|
|
63
|
+
constructor(_options = {}) {
|
|
64
64
|
this._options = _options;
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
@@ -69,6 +69,7 @@ class Assets {
|
|
|
69
69
|
* Required scope | `assets:read`
|
|
70
70
|
*
|
|
71
71
|
* @param {string} siteId - Unique identifier for a Site
|
|
72
|
+
* @param {Webflow.AssetsListRequest} request
|
|
72
73
|
* @param {Assets.RequestOptions} requestOptions - Request-specific configuration.
|
|
73
74
|
*
|
|
74
75
|
* @throws {@link Webflow.BadRequestError}
|
|
@@ -78,19 +79,31 @@ class Assets {
|
|
|
78
79
|
* @throws {@link Webflow.InternalServerError}
|
|
79
80
|
*
|
|
80
81
|
* @example
|
|
81
|
-
* await client.assets.list("580e63e98c9a982ac9b8b741"
|
|
82
|
+
* await client.assets.list("580e63e98c9a982ac9b8b741", {
|
|
83
|
+
* offset: 1,
|
|
84
|
+
* limit: 1
|
|
85
|
+
* })
|
|
82
86
|
*/
|
|
83
|
-
list(siteId, requestOptions) {
|
|
84
|
-
return core.HttpResponsePromise.fromPromise(this.__list(siteId, requestOptions));
|
|
87
|
+
list(siteId, request = {}, requestOptions) {
|
|
88
|
+
return core.HttpResponsePromise.fromPromise(this.__list(siteId, request, requestOptions));
|
|
85
89
|
}
|
|
86
|
-
__list(
|
|
87
|
-
return __awaiter(this,
|
|
90
|
+
__list(siteId_1) {
|
|
91
|
+
return __awaiter(this, arguments, void 0, function* (siteId, request = {}, requestOptions) {
|
|
88
92
|
var _a, _b, _c;
|
|
93
|
+
const { offset, limit } = request;
|
|
94
|
+
const _queryParams = {};
|
|
95
|
+
if (offset != null) {
|
|
96
|
+
_queryParams["offset"] = offset.toString();
|
|
97
|
+
}
|
|
98
|
+
if (limit != null) {
|
|
99
|
+
_queryParams["limit"] = limit.toString();
|
|
100
|
+
}
|
|
89
101
|
const _response = yield core.fetcher({
|
|
90
102
|
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)
|
|
91
103
|
.base, `sites/${encodeURIComponent(siteId)}/assets`),
|
|
92
104
|
method: "GET",
|
|
93
105
|
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),
|
|
106
|
+
queryParameters: _queryParams,
|
|
94
107
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
95
108
|
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
96
109
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -934,7 +947,11 @@ class Assets {
|
|
|
934
947
|
}
|
|
935
948
|
_getAuthorizationHeader() {
|
|
936
949
|
return __awaiter(this, void 0, void 0, function* () {
|
|
937
|
-
|
|
950
|
+
const bearer = yield core.Supplier.get(this._options.accessToken);
|
|
951
|
+
if (bearer != null) {
|
|
952
|
+
return `Bearer ${bearer}`;
|
|
953
|
+
}
|
|
954
|
+
return undefined;
|
|
938
955
|
});
|
|
939
956
|
}
|
|
940
957
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* offset: 1,
|
|
8
|
+
* limit: 1
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface AssetsListRequest {
|
|
12
|
+
/**
|
|
13
|
+
* Offset used for pagination if the results have more than limit records
|
|
14
|
+
*/
|
|
15
|
+
offset?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Maximum number of records to be returned (max limit: 100)
|
|
18
|
+
*/
|
|
19
|
+
limit?: number;
|
|
20
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export { type AssetsListRequest } from "./AssetsListRequest";
|
|
1
2
|
export { type AssetsCreateRequest } from "./AssetsCreateRequest";
|
|
2
3
|
export { type AssetsUpdateRequest } from "./AssetsUpdateRequest";
|
|
3
4
|
export { type AssetsCreateFolderRequest } from "./AssetsCreateFolderRequest";
|
|
@@ -11,7 +11,7 @@ export declare namespace Collections {
|
|
|
11
11
|
environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
|
|
12
12
|
/** Specify a custom URL to connect the client to. */
|
|
13
13
|
baseUrl?: core.Supplier<string>;
|
|
14
|
-
accessToken
|
|
14
|
+
accessToken?: core.Supplier<core.BearerToken | undefined>;
|
|
15
15
|
/** Additional headers to include in requests. */
|
|
16
16
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
17
17
|
}
|
|
@@ -33,7 +33,7 @@ export declare class Collections {
|
|
|
33
33
|
protected readonly _options: Collections.Options;
|
|
34
34
|
protected _fields: Fields | undefined;
|
|
35
35
|
protected _items: Items | undefined;
|
|
36
|
-
constructor(_options
|
|
36
|
+
constructor(_options?: Collections.Options);
|
|
37
37
|
get fields(): Fields;
|
|
38
38
|
get items(): Items;
|
|
39
39
|
/**
|
|
@@ -139,5 +139,5 @@ export declare class Collections {
|
|
|
139
139
|
*/
|
|
140
140
|
delete(collectionId: string, requestOptions?: Collections.RequestOptions): core.HttpResponsePromise<void>;
|
|
141
141
|
private __delete;
|
|
142
|
-
protected _getAuthorizationHeader(): Promise<string>;
|
|
142
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
143
143
|
}
|
|
@@ -62,7 +62,7 @@ const Client_2 = require("../resources/items/client/Client");
|
|
|
62
62
|
* Collections are CMS collections of items.
|
|
63
63
|
*/
|
|
64
64
|
class Collections {
|
|
65
|
-
constructor(_options) {
|
|
65
|
+
constructor(_options = {}) {
|
|
66
66
|
this._options = _options;
|
|
67
67
|
}
|
|
68
68
|
get fields() {
|
|
@@ -522,7 +522,11 @@ class Collections {
|
|
|
522
522
|
}
|
|
523
523
|
_getAuthorizationHeader() {
|
|
524
524
|
return __awaiter(this, void 0, void 0, function* () {
|
|
525
|
-
|
|
525
|
+
const bearer = yield core.Supplier.get(this._options.accessToken);
|
|
526
|
+
if (bearer != null) {
|
|
527
|
+
return `Bearer ${bearer}`;
|
|
528
|
+
}
|
|
529
|
+
return undefined;
|
|
526
530
|
});
|
|
527
531
|
}
|
|
528
532
|
}
|
|
@@ -9,7 +9,7 @@ export declare namespace Fields {
|
|
|
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 Fields {
|
|
|
26
26
|
}
|
|
27
27
|
export declare class Fields {
|
|
28
28
|
protected readonly _options: Fields.Options;
|
|
29
|
-
constructor(_options
|
|
29
|
+
constructor(_options?: Fields.Options);
|
|
30
30
|
/**
|
|
31
31
|
* Create a custom field in a collection.
|
|
32
32
|
*
|
|
@@ -136,5 +136,5 @@ export declare class Fields {
|
|
|
136
136
|
*/
|
|
137
137
|
update(collectionId: string, fieldId: string, request?: Webflow.collections.FieldUpdate, requestOptions?: Fields.RequestOptions): core.HttpResponsePromise<Webflow.Field>;
|
|
138
138
|
private __update;
|
|
139
|
-
protected _getAuthorizationHeader(): Promise<string>;
|
|
139
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
140
140
|
}
|
|
@@ -57,7 +57,7 @@ const serializers = __importStar(require("../../../../../../serialization/index"
|
|
|
57
57
|
const url_join_1 = __importDefault(require("url-join"));
|
|
58
58
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
59
59
|
class Fields {
|
|
60
|
-
constructor(_options) {
|
|
60
|
+
constructor(_options = {}) {
|
|
61
61
|
this._options = _options;
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
@@ -436,7 +436,11 @@ class Fields {
|
|
|
436
436
|
}
|
|
437
437
|
_getAuthorizationHeader() {
|
|
438
438
|
return __awaiter(this, void 0, void 0, function* () {
|
|
439
|
-
|
|
439
|
+
const bearer = yield core.Supplier.get(this._options.accessToken);
|
|
440
|
+
if (bearer != null) {
|
|
441
|
+
return `Bearer ${bearer}`;
|
|
442
|
+
}
|
|
443
|
+
return undefined;
|
|
440
444
|
});
|
|
441
445
|
}
|
|
442
446
|
}
|
|
@@ -9,7 +9,7 @@ export declare namespace Items {
|
|
|
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 Items {
|
|
|
26
26
|
}
|
|
27
27
|
export declare class Items {
|
|
28
28
|
protected readonly _options: Items.Options;
|
|
29
|
-
constructor(_options
|
|
29
|
+
constructor(_options?: Items.Options);
|
|
30
30
|
/**
|
|
31
31
|
* List of all Items within a Collection.
|
|
32
32
|
*
|
|
@@ -43,7 +43,15 @@ export declare class Items {
|
|
|
43
43
|
* @throws {@link Webflow.InternalServerError}
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
|
-
* await client.collections.items.listItems("580e63fc8c9a982ac9b8b745"
|
|
46
|
+
* await client.collections.items.listItems("580e63fc8c9a982ac9b8b745", {
|
|
47
|
+
* cmsLocaleId: "cmsLocaleId",
|
|
48
|
+
* offset: 1,
|
|
49
|
+
* limit: 1,
|
|
50
|
+
* name: "name",
|
|
51
|
+
* slug: "slug",
|
|
52
|
+
* sortBy: "lastPublished",
|
|
53
|
+
* sortOrder: "asc"
|
|
54
|
+
* })
|
|
47
55
|
*/
|
|
48
56
|
listItems(collectionId: string, request?: Webflow.collections.ItemsListItemsRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Webflow.CollectionItemList>;
|
|
49
57
|
private __listItems;
|
|
@@ -67,18 +75,20 @@ export declare class Items {
|
|
|
67
75
|
*
|
|
68
76
|
* @example
|
|
69
77
|
* await client.collections.items.createItem("580e63fc8c9a982ac9b8b745", {
|
|
78
|
+
* skipInvalidFiles: true,
|
|
70
79
|
* body: {
|
|
71
80
|
* isArchived: false,
|
|
72
81
|
* isDraft: false,
|
|
73
82
|
* fieldData: {
|
|
74
|
-
* name: "
|
|
75
|
-
* slug: "
|
|
83
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
84
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
76
85
|
* }
|
|
77
86
|
* }
|
|
78
87
|
* })
|
|
79
88
|
*
|
|
80
89
|
* @example
|
|
81
90
|
* await client.collections.items.createItem("580e63fc8c9a982ac9b8b745", {
|
|
91
|
+
* skipInvalidFiles: true,
|
|
82
92
|
* body: {
|
|
83
93
|
* items: [{
|
|
84
94
|
* isArchived: false,
|
|
@@ -148,6 +158,7 @@ export declare class Items {
|
|
|
148
158
|
*
|
|
149
159
|
* @example
|
|
150
160
|
* await client.collections.items.updateItems("580e63fc8c9a982ac9b8b745", {
|
|
161
|
+
* skipInvalidFiles: true,
|
|
151
162
|
* items: [{
|
|
152
163
|
* id: "66f6ed9576ddacf3149d5ea6",
|
|
153
164
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
|
@@ -181,6 +192,7 @@ export declare class Items {
|
|
|
181
192
|
*
|
|
182
193
|
* @example
|
|
183
194
|
* await client.collections.items.updateItems("580e63fc8c9a982ac9b8b745", {
|
|
195
|
+
* skipInvalidFiles: true,
|
|
184
196
|
* items: [{
|
|
185
197
|
* id: "580e64008c9a982ac9b8b754",
|
|
186
198
|
* isArchived: false,
|
|
@@ -205,10 +217,9 @@ export declare class Items {
|
|
|
205
217
|
/**
|
|
206
218
|
* List all published items in a collection.
|
|
207
219
|
*
|
|
208
|
-
* <
|
|
209
|
-
*
|
|
210
|
-
*
|
|
211
|
-
* </Note>
|
|
220
|
+
* <Tip title="Serve data with the Content Delivery API">
|
|
221
|
+
* 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.
|
|
222
|
+
* </Tip>
|
|
212
223
|
*
|
|
213
224
|
* Required scope | `CMS:read`
|
|
214
225
|
*
|
|
@@ -223,7 +234,15 @@ export declare class Items {
|
|
|
223
234
|
* @throws {@link Webflow.InternalServerError}
|
|
224
235
|
*
|
|
225
236
|
* @example
|
|
226
|
-
* await client.collections.items.listItemsLive("580e63fc8c9a982ac9b8b745"
|
|
237
|
+
* await client.collections.items.listItemsLive("580e63fc8c9a982ac9b8b745", {
|
|
238
|
+
* cmsLocaleId: "cmsLocaleId",
|
|
239
|
+
* offset: 1,
|
|
240
|
+
* limit: 1,
|
|
241
|
+
* name: "name",
|
|
242
|
+
* slug: "slug",
|
|
243
|
+
* sortBy: "lastPublished",
|
|
244
|
+
* sortOrder: "asc"
|
|
245
|
+
* })
|
|
227
246
|
*/
|
|
228
247
|
listItemsLive(collectionId: string, request?: Webflow.collections.ItemsListItemsLiveRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Webflow.CollectionItemList>;
|
|
229
248
|
private __listItemsLive;
|
|
@@ -248,18 +267,20 @@ export declare class Items {
|
|
|
248
267
|
*
|
|
249
268
|
* @example
|
|
250
269
|
* await client.collections.items.createItemLive("580e63fc8c9a982ac9b8b745", {
|
|
270
|
+
* skipInvalidFiles: true,
|
|
251
271
|
* body: {
|
|
252
272
|
* isArchived: false,
|
|
253
273
|
* isDraft: false,
|
|
254
274
|
* fieldData: {
|
|
255
|
-
* name: "
|
|
256
|
-
* slug: "
|
|
275
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
276
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
257
277
|
* }
|
|
258
278
|
* }
|
|
259
279
|
* })
|
|
260
280
|
*
|
|
261
281
|
* @example
|
|
262
282
|
* await client.collections.items.createItemLive("580e63fc8c9a982ac9b8b745", {
|
|
283
|
+
* skipInvalidFiles: true,
|
|
263
284
|
* body: {
|
|
264
285
|
* items: [{
|
|
265
286
|
* isArchived: false,
|
|
@@ -327,6 +348,7 @@ export declare class Items {
|
|
|
327
348
|
*
|
|
328
349
|
* @example
|
|
329
350
|
* await client.collections.items.updateItemsLive("580e63fc8c9a982ac9b8b745", {
|
|
351
|
+
* skipInvalidFiles: true,
|
|
330
352
|
* items: [{
|
|
331
353
|
* id: "66f6ed9576ddacf3149d5ea6",
|
|
332
354
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
|
@@ -360,6 +382,7 @@ export declare class Items {
|
|
|
360
382
|
*
|
|
361
383
|
* @example
|
|
362
384
|
* await client.collections.items.updateItemsLive("580e63fc8c9a982ac9b8b745", {
|
|
385
|
+
* skipInvalidFiles: true,
|
|
363
386
|
* items: [{
|
|
364
387
|
* id: "580e64008c9a982ac9b8b754",
|
|
365
388
|
* isArchived: false,
|
|
@@ -403,6 +426,7 @@ export declare class Items {
|
|
|
403
426
|
*
|
|
404
427
|
* @example
|
|
405
428
|
* await client.collections.items.createItems("580e63fc8c9a982ac9b8b745", {
|
|
429
|
+
* skipInvalidFiles: true,
|
|
406
430
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4", "66f6e966c9e1dc700a857ca5"],
|
|
407
431
|
* isArchived: false,
|
|
408
432
|
* isDraft: false,
|
|
@@ -414,6 +438,7 @@ export declare class Items {
|
|
|
414
438
|
*
|
|
415
439
|
* @example
|
|
416
440
|
* await client.collections.items.createItems("580e63fc8c9a982ac9b8b745", {
|
|
441
|
+
* skipInvalidFiles: true,
|
|
417
442
|
* cmsLocaleIds: ["66f6e966c9e1dc700a857ca3", "66f6e966c9e1dc700a857ca4"],
|
|
418
443
|
* isArchived: false,
|
|
419
444
|
* isDraft: false,
|
|
@@ -445,7 +470,9 @@ export declare class Items {
|
|
|
445
470
|
* @throws {@link Webflow.InternalServerError}
|
|
446
471
|
*
|
|
447
472
|
* @example
|
|
448
|
-
* await client.collections.items.getItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
473
|
+
* await client.collections.items.getItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
474
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
475
|
+
* })
|
|
449
476
|
*/
|
|
450
477
|
getItem(collectionId: string, itemId: string, request?: Webflow.collections.ItemsGetItemRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Webflow.CollectionItem>;
|
|
451
478
|
private __getItem;
|
|
@@ -466,7 +493,9 @@ export declare class Items {
|
|
|
466
493
|
* @throws {@link Webflow.InternalServerError}
|
|
467
494
|
*
|
|
468
495
|
* @example
|
|
469
|
-
* await client.collections.items.deleteItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
496
|
+
* await client.collections.items.deleteItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
497
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
498
|
+
* })
|
|
470
499
|
*/
|
|
471
500
|
deleteItem(collectionId: string, itemId: string, request?: Webflow.collections.ItemsDeleteItemRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<void>;
|
|
472
501
|
private __deleteItem;
|
|
@@ -488,12 +517,13 @@ export declare class Items {
|
|
|
488
517
|
*
|
|
489
518
|
* @example
|
|
490
519
|
* await client.collections.items.updateItem("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
520
|
+
* skipInvalidFiles: true,
|
|
491
521
|
* body: {
|
|
492
522
|
* isArchived: false,
|
|
493
523
|
* isDraft: false,
|
|
494
524
|
* fieldData: {
|
|
495
|
-
* name: "
|
|
496
|
-
* slug: "
|
|
525
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
526
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
497
527
|
* }
|
|
498
528
|
* }
|
|
499
529
|
* })
|
|
@@ -503,10 +533,9 @@ export declare class Items {
|
|
|
503
533
|
/**
|
|
504
534
|
* Get details of a selected Collection live Item.
|
|
505
535
|
*
|
|
506
|
-
* <
|
|
507
|
-
*
|
|
508
|
-
*
|
|
509
|
-
* </Note>
|
|
536
|
+
* <Tip title="Serve data with the Content Delivery API">
|
|
537
|
+
* 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.
|
|
538
|
+
* </Tip>
|
|
510
539
|
*
|
|
511
540
|
* Required scope | `CMS:read`
|
|
512
541
|
*
|
|
@@ -522,7 +551,9 @@ export declare class Items {
|
|
|
522
551
|
* @throws {@link Webflow.InternalServerError}
|
|
523
552
|
*
|
|
524
553
|
* @example
|
|
525
|
-
* await client.collections.items.getItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
554
|
+
* await client.collections.items.getItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
555
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
556
|
+
* })
|
|
526
557
|
*/
|
|
527
558
|
getItemLive(collectionId: string, itemId: string, request?: Webflow.collections.ItemsGetItemLiveRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Webflow.CollectionItem>;
|
|
528
559
|
private __getItemLive;
|
|
@@ -545,7 +576,9 @@ export declare class Items {
|
|
|
545
576
|
* @throws {@link Webflow.InternalServerError}
|
|
546
577
|
*
|
|
547
578
|
* @example
|
|
548
|
-
* await client.collections.items.deleteItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754"
|
|
579
|
+
* await client.collections.items.deleteItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
580
|
+
* cmsLocaleId: "cmsLocaleId"
|
|
581
|
+
* })
|
|
549
582
|
*/
|
|
550
583
|
deleteItemLive(collectionId: string, itemId: string, request?: Webflow.collections.ItemsDeleteItemLiveRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<void>;
|
|
551
584
|
private __deleteItemLive;
|
|
@@ -568,12 +601,13 @@ export declare class Items {
|
|
|
568
601
|
*
|
|
569
602
|
* @example
|
|
570
603
|
* await client.collections.items.updateItemLive("580e63fc8c9a982ac9b8b745", "580e64008c9a982ac9b8b754", {
|
|
604
|
+
* skipInvalidFiles: true,
|
|
571
605
|
* body: {
|
|
572
606
|
* isArchived: false,
|
|
573
607
|
* isDraft: false,
|
|
574
608
|
* fieldData: {
|
|
575
|
-
* name: "
|
|
576
|
-
* slug: "
|
|
609
|
+
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
610
|
+
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
577
611
|
* }
|
|
578
612
|
* }
|
|
579
613
|
* })
|
|
@@ -625,5 +659,5 @@ export declare class Items {
|
|
|
625
659
|
*/
|
|
626
660
|
publishItem(collectionId: string, request: Webflow.collections.ItemsPublishItemRequest, requestOptions?: Items.RequestOptions): core.HttpResponsePromise<Webflow.collections.ItemsPublishItemResponse>;
|
|
627
661
|
private __publishItem;
|
|
628
|
-
protected _getAuthorizationHeader(): Promise<string>;
|
|
662
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
629
663
|
}
|