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
|
@@ -57,7 +57,7 @@ const url_join_1 = __importDefault(require("url-join"));
|
|
|
57
57
|
const serializers = __importStar(require("../../../../serialization/index"));
|
|
58
58
|
const errors = __importStar(require("../../../../errors/index"));
|
|
59
59
|
class Scripts {
|
|
60
|
-
constructor(_options) {
|
|
60
|
+
constructor(_options = {}) {
|
|
61
61
|
this._options = _options;
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
@@ -414,7 +414,11 @@ class Scripts {
|
|
|
414
414
|
}
|
|
415
415
|
_getAuthorizationHeader() {
|
|
416
416
|
return __awaiter(this, void 0, void 0, function* () {
|
|
417
|
-
|
|
417
|
+
const bearer = yield core.Supplier.get(this._options.accessToken);
|
|
418
|
+
if (bearer != null) {
|
|
419
|
+
return `Bearer ${bearer}`;
|
|
420
|
+
}
|
|
421
|
+
return undefined;
|
|
418
422
|
});
|
|
419
423
|
}
|
|
420
424
|
}
|
|
@@ -11,12 +11,13 @@ import { WellKnown } from "../resources/wellKnown/client/Client";
|
|
|
11
11
|
import { ActivityLogs } from "../resources/activityLogs/client/Client";
|
|
12
12
|
import { Comments } from "../resources/comments/client/Client";
|
|
13
13
|
import { Scripts } from "../resources/scripts/client/Client";
|
|
14
|
+
import { Forms } from "../resources/forms/client/Client";
|
|
14
15
|
export declare namespace Sites {
|
|
15
16
|
interface Options {
|
|
16
17
|
environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
|
|
17
18
|
/** Specify a custom URL to connect the client to. */
|
|
18
19
|
baseUrl?: core.Supplier<string>;
|
|
19
|
-
accessToken
|
|
20
|
+
accessToken?: core.Supplier<core.BearerToken | undefined>;
|
|
20
21
|
/** Additional headers to include in requests. */
|
|
21
22
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
22
23
|
}
|
|
@@ -43,7 +44,8 @@ export declare class Sites {
|
|
|
43
44
|
protected _activityLogs: ActivityLogs | undefined;
|
|
44
45
|
protected _comments: Comments | undefined;
|
|
45
46
|
protected _scripts: Scripts | undefined;
|
|
46
|
-
|
|
47
|
+
protected _forms: Forms | undefined;
|
|
48
|
+
constructor(_options?: Sites.Options);
|
|
47
49
|
get redirects(): Redirects;
|
|
48
50
|
get plans(): Plans;
|
|
49
51
|
get robotsTxt(): RobotsTxt;
|
|
@@ -51,6 +53,7 @@ export declare class Sites {
|
|
|
51
53
|
get activityLogs(): ActivityLogs;
|
|
52
54
|
get comments(): Comments;
|
|
53
55
|
get scripts(): Scripts;
|
|
56
|
+
get forms(): Forms;
|
|
54
57
|
/**
|
|
55
58
|
* Create a site.
|
|
56
59
|
*
|
|
@@ -202,5 +205,5 @@ export declare class Sites {
|
|
|
202
205
|
*/
|
|
203
206
|
publish(siteId: string, request?: Webflow.SitesPublishRequest, requestOptions?: Sites.RequestOptions): core.HttpResponsePromise<Webflow.SitesPublishResponse>;
|
|
204
207
|
private __publish;
|
|
205
|
-
protected _getAuthorizationHeader(): Promise<string>;
|
|
208
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
206
209
|
}
|
|
@@ -63,11 +63,12 @@ const Client_4 = require("../resources/wellKnown/client/Client");
|
|
|
63
63
|
const Client_5 = require("../resources/activityLogs/client/Client");
|
|
64
64
|
const Client_6 = require("../resources/comments/client/Client");
|
|
65
65
|
const Client_7 = require("../resources/scripts/client/Client");
|
|
66
|
+
const Client_8 = require("../resources/forms/client/Client");
|
|
66
67
|
/**
|
|
67
68
|
* Sites are the sites in your Webflow workspace.
|
|
68
69
|
*/
|
|
69
70
|
class Sites {
|
|
70
|
-
constructor(_options) {
|
|
71
|
+
constructor(_options = {}) {
|
|
71
72
|
this._options = _options;
|
|
72
73
|
}
|
|
73
74
|
get redirects() {
|
|
@@ -98,6 +99,10 @@ class Sites {
|
|
|
98
99
|
var _a;
|
|
99
100
|
return ((_a = this._scripts) !== null && _a !== void 0 ? _a : (this._scripts = new Client_7.Scripts(this._options)));
|
|
100
101
|
}
|
|
102
|
+
get forms() {
|
|
103
|
+
var _a;
|
|
104
|
+
return ((_a = this._forms) !== null && _a !== void 0 ? _a : (this._forms = new Client_8.Forms(this._options)));
|
|
105
|
+
}
|
|
101
106
|
/**
|
|
102
107
|
* Create a site.
|
|
103
108
|
*
|
|
@@ -855,7 +860,11 @@ class Sites {
|
|
|
855
860
|
}
|
|
856
861
|
_getAuthorizationHeader() {
|
|
857
862
|
return __awaiter(this, void 0, void 0, function* () {
|
|
858
|
-
|
|
863
|
+
const bearer = yield core.Supplier.get(this._options.accessToken);
|
|
864
|
+
if (bearer != null) {
|
|
865
|
+
return `Bearer ${bearer}`;
|
|
866
|
+
}
|
|
867
|
+
return undefined;
|
|
859
868
|
});
|
|
860
869
|
}
|
|
861
870
|
}
|
|
@@ -9,7 +9,7 @@ export declare namespace ActivityLogs {
|
|
|
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 ActivityLogs {
|
|
|
26
26
|
}
|
|
27
27
|
export declare class ActivityLogs {
|
|
28
28
|
protected readonly _options: ActivityLogs.Options;
|
|
29
|
-
constructor(_options
|
|
29
|
+
constructor(_options?: ActivityLogs.Options);
|
|
30
30
|
/**
|
|
31
31
|
* Retrieve Activity Logs for a specific Site.
|
|
32
32
|
*
|
|
@@ -44,9 +44,12 @@ export declare class ActivityLogs {
|
|
|
44
44
|
* @throws {@link Webflow.InternalServerError}
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
|
-
* await client.sites.activityLogs.list("580e63e98c9a982ac9b8b741"
|
|
47
|
+
* await client.sites.activityLogs.list("580e63e98c9a982ac9b8b741", {
|
|
48
|
+
* limit: 1,
|
|
49
|
+
* offset: 1
|
|
50
|
+
* })
|
|
48
51
|
*/
|
|
49
52
|
list(siteId: string, request?: Webflow.sites.ActivityLogsListRequest, requestOptions?: ActivityLogs.RequestOptions): core.HttpResponsePromise<Webflow.SiteActivityLogResponse>;
|
|
50
53
|
private __list;
|
|
51
|
-
protected _getAuthorizationHeader(): Promise<string>;
|
|
54
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
52
55
|
}
|
|
@@ -57,7 +57,7 @@ const url_join_1 = __importDefault(require("url-join"));
|
|
|
57
57
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
58
58
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
59
59
|
class ActivityLogs {
|
|
60
|
-
constructor(_options) {
|
|
60
|
+
constructor(_options = {}) {
|
|
61
61
|
this._options = _options;
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
@@ -77,7 +77,10 @@ class ActivityLogs {
|
|
|
77
77
|
* @throws {@link Webflow.InternalServerError}
|
|
78
78
|
*
|
|
79
79
|
* @example
|
|
80
|
-
* await client.sites.activityLogs.list("580e63e98c9a982ac9b8b741"
|
|
80
|
+
* await client.sites.activityLogs.list("580e63e98c9a982ac9b8b741", {
|
|
81
|
+
* limit: 1,
|
|
82
|
+
* offset: 1
|
|
83
|
+
* })
|
|
81
84
|
*/
|
|
82
85
|
list(siteId, request = {}, requestOptions) {
|
|
83
86
|
return core.HttpResponsePromise.fromPromise(this.__list(siteId, request, requestOptions));
|
|
@@ -170,7 +173,11 @@ class ActivityLogs {
|
|
|
170
173
|
}
|
|
171
174
|
_getAuthorizationHeader() {
|
|
172
175
|
return __awaiter(this, void 0, void 0, function* () {
|
|
173
|
-
|
|
176
|
+
const bearer = yield core.Supplier.get(this._options.accessToken);
|
|
177
|
+
if (bearer != null) {
|
|
178
|
+
return `Bearer ${bearer}`;
|
|
179
|
+
}
|
|
180
|
+
return undefined;
|
|
174
181
|
});
|
|
175
182
|
}
|
|
176
183
|
}
|
|
@@ -9,7 +9,7 @@ export declare namespace Comments {
|
|
|
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 Comments {
|
|
|
26
26
|
}
|
|
27
27
|
export declare class Comments {
|
|
28
28
|
protected readonly _options: Comments.Options;
|
|
29
|
-
constructor(_options
|
|
29
|
+
constructor(_options?: Comments.Options);
|
|
30
30
|
/**
|
|
31
31
|
* List all comment threads for a site.
|
|
32
32
|
*
|
|
@@ -48,7 +48,11 @@ export declare class Comments {
|
|
|
48
48
|
*
|
|
49
49
|
* @example
|
|
50
50
|
* await client.sites.comments.listCommentThreads("580e63e98c9a982ac9b8b741", {
|
|
51
|
-
* localeId: "65427cf400e02b306eaa04a0"
|
|
51
|
+
* localeId: "65427cf400e02b306eaa04a0",
|
|
52
|
+
* offset: 1,
|
|
53
|
+
* limit: 1,
|
|
54
|
+
* sortBy: "createdOn",
|
|
55
|
+
* sortOrder: "asc"
|
|
52
56
|
* })
|
|
53
57
|
*/
|
|
54
58
|
listCommentThreads(siteId: string, request?: Webflow.sites.CommentsListCommentThreadsRequest, requestOptions?: Comments.RequestOptions): core.HttpResponsePromise<Webflow.CommentThreadList>;
|
|
@@ -75,7 +79,11 @@ export declare class Comments {
|
|
|
75
79
|
*
|
|
76
80
|
* @example
|
|
77
81
|
* await client.sites.comments.getCommentThread("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
|
|
78
|
-
* localeId: "65427cf400e02b306eaa04a0"
|
|
82
|
+
* localeId: "65427cf400e02b306eaa04a0",
|
|
83
|
+
* offset: 1,
|
|
84
|
+
* limit: 1,
|
|
85
|
+
* sortBy: "createdOn",
|
|
86
|
+
* sortOrder: "asc"
|
|
79
87
|
* })
|
|
80
88
|
*/
|
|
81
89
|
getCommentThread(siteId: string, commentThreadId: string, request?: Webflow.sites.CommentsGetCommentThreadRequest, requestOptions?: Comments.RequestOptions): core.HttpResponsePromise<Webflow.CommentThread>;
|
|
@@ -102,10 +110,14 @@ export declare class Comments {
|
|
|
102
110
|
*
|
|
103
111
|
* @example
|
|
104
112
|
* await client.sites.comments.listCommentReplies("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
|
|
105
|
-
* localeId: "65427cf400e02b306eaa04a0"
|
|
113
|
+
* localeId: "65427cf400e02b306eaa04a0",
|
|
114
|
+
* offset: 1,
|
|
115
|
+
* limit: 1,
|
|
116
|
+
* sortBy: "createdOn",
|
|
117
|
+
* sortOrder: "asc"
|
|
106
118
|
* })
|
|
107
119
|
*/
|
|
108
120
|
listCommentReplies(siteId: string, commentThreadId: string, request?: Webflow.sites.CommentsListCommentRepliesRequest, requestOptions?: Comments.RequestOptions): core.HttpResponsePromise<Webflow.CommentReplyList>;
|
|
109
121
|
private __listCommentReplies;
|
|
110
|
-
protected _getAuthorizationHeader(): Promise<string>;
|
|
122
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
111
123
|
}
|
|
@@ -57,7 +57,7 @@ const headers_js_1 = require("../../../../../../core/headers.js");
|
|
|
57
57
|
const url_join_1 = __importDefault(require("url-join"));
|
|
58
58
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
59
59
|
class Comments {
|
|
60
|
-
constructor(_options) {
|
|
60
|
+
constructor(_options = {}) {
|
|
61
61
|
this._options = _options;
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
@@ -81,7 +81,11 @@ class Comments {
|
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* await client.sites.comments.listCommentThreads("580e63e98c9a982ac9b8b741", {
|
|
84
|
-
* localeId: "65427cf400e02b306eaa04a0"
|
|
84
|
+
* localeId: "65427cf400e02b306eaa04a0",
|
|
85
|
+
* offset: 1,
|
|
86
|
+
* limit: 1,
|
|
87
|
+
* sortBy: "createdOn",
|
|
88
|
+
* sortOrder: "asc"
|
|
85
89
|
* })
|
|
86
90
|
*/
|
|
87
91
|
listCommentThreads(siteId, request = {}, requestOptions) {
|
|
@@ -220,7 +224,11 @@ class Comments {
|
|
|
220
224
|
*
|
|
221
225
|
* @example
|
|
222
226
|
* await client.sites.comments.getCommentThread("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
|
|
223
|
-
* localeId: "65427cf400e02b306eaa04a0"
|
|
227
|
+
* localeId: "65427cf400e02b306eaa04a0",
|
|
228
|
+
* offset: 1,
|
|
229
|
+
* limit: 1,
|
|
230
|
+
* sortBy: "createdOn",
|
|
231
|
+
* sortOrder: "asc"
|
|
224
232
|
* })
|
|
225
233
|
*/
|
|
226
234
|
getCommentThread(siteId, commentThreadId, request = {}, requestOptions) {
|
|
@@ -359,7 +367,11 @@ class Comments {
|
|
|
359
367
|
*
|
|
360
368
|
* @example
|
|
361
369
|
* await client.sites.comments.listCommentReplies("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
|
|
362
|
-
* localeId: "65427cf400e02b306eaa04a0"
|
|
370
|
+
* localeId: "65427cf400e02b306eaa04a0",
|
|
371
|
+
* offset: 1,
|
|
372
|
+
* limit: 1,
|
|
373
|
+
* sortBy: "createdOn",
|
|
374
|
+
* sortOrder: "asc"
|
|
363
375
|
* })
|
|
364
376
|
*/
|
|
365
377
|
listCommentReplies(siteId, commentThreadId, request = {}, requestOptions) {
|
|
@@ -478,7 +490,11 @@ class Comments {
|
|
|
478
490
|
}
|
|
479
491
|
_getAuthorizationHeader() {
|
|
480
492
|
return __awaiter(this, void 0, void 0, function* () {
|
|
481
|
-
|
|
493
|
+
const bearer = yield core.Supplier.get(this._options.accessToken);
|
|
494
|
+
if (bearer != null) {
|
|
495
|
+
return `Bearer ${bearer}`;
|
|
496
|
+
}
|
|
497
|
+
return undefined;
|
|
482
498
|
});
|
|
483
499
|
}
|
|
484
500
|
}
|
package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts
CHANGED
|
@@ -5,12 +5,18 @@ import * as Webflow from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* localeId: "65427cf400e02b306eaa04a0"
|
|
8
|
+
* localeId: "65427cf400e02b306eaa04a0",
|
|
9
|
+
* offset: 1,
|
|
10
|
+
* limit: 1,
|
|
11
|
+
* sortBy: "createdOn",
|
|
12
|
+
* sortOrder: "asc"
|
|
9
13
|
* }
|
|
10
14
|
*/
|
|
11
15
|
export interface CommentsGetCommentThreadRequest {
|
|
12
16
|
/**
|
|
13
|
-
* Unique identifier for a specific
|
|
17
|
+
* Unique identifier for a specific Locale.
|
|
18
|
+
*
|
|
19
|
+
* [Lear more about localization.](/data/v2.0.0/docs/working-with-localization)
|
|
14
20
|
*/
|
|
15
21
|
localeId?: string;
|
|
16
22
|
/**
|
|
@@ -5,12 +5,18 @@ import * as Webflow from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* localeId: "65427cf400e02b306eaa04a0"
|
|
8
|
+
* localeId: "65427cf400e02b306eaa04a0",
|
|
9
|
+
* offset: 1,
|
|
10
|
+
* limit: 1,
|
|
11
|
+
* sortBy: "createdOn",
|
|
12
|
+
* sortOrder: "asc"
|
|
9
13
|
* }
|
|
10
14
|
*/
|
|
11
15
|
export interface CommentsListCommentRepliesRequest {
|
|
12
16
|
/**
|
|
13
|
-
* Unique identifier for a specific
|
|
17
|
+
* Unique identifier for a specific Locale.
|
|
18
|
+
*
|
|
19
|
+
* [Lear more about localization.](/data/v2.0.0/docs/working-with-localization)
|
|
14
20
|
*/
|
|
15
21
|
localeId?: string;
|
|
16
22
|
/**
|
|
@@ -5,12 +5,18 @@ import * as Webflow from "../../../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* localeId: "65427cf400e02b306eaa04a0"
|
|
8
|
+
* localeId: "65427cf400e02b306eaa04a0",
|
|
9
|
+
* offset: 1,
|
|
10
|
+
* limit: 1,
|
|
11
|
+
* sortBy: "createdOn",
|
|
12
|
+
* sortOrder: "asc"
|
|
9
13
|
* }
|
|
10
14
|
*/
|
|
11
15
|
export interface CommentsListCommentThreadsRequest {
|
|
12
16
|
/**
|
|
13
|
-
* Unique identifier for a specific
|
|
17
|
+
* Unique identifier for a specific Locale.
|
|
18
|
+
*
|
|
19
|
+
* [Lear more about localization.](/data/v2.0.0/docs/working-with-localization)
|
|
14
20
|
*/
|
|
15
21
|
localeId?: string;
|
|
16
22
|
/**
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import * as Webflow from "../../../../../index";
|
|
7
|
+
export declare namespace Forms {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
|
|
10
|
+
/** Specify a custom URL to connect the client to. */
|
|
11
|
+
baseUrl?: core.Supplier<string>;
|
|
12
|
+
accessToken?: core.Supplier<core.BearerToken | undefined>;
|
|
13
|
+
/** Additional headers to include in requests. */
|
|
14
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
15
|
+
}
|
|
16
|
+
interface RequestOptions {
|
|
17
|
+
/** The maximum time to wait for a response in seconds. */
|
|
18
|
+
timeoutInSeconds?: number;
|
|
19
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
20
|
+
maxRetries?: number;
|
|
21
|
+
/** A hook to abort the request. */
|
|
22
|
+
abortSignal?: AbortSignal;
|
|
23
|
+
/** Additional headers to include in the request. */
|
|
24
|
+
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
export declare class Forms {
|
|
28
|
+
protected readonly _options: Forms.Options;
|
|
29
|
+
constructor(_options?: Forms.Options);
|
|
30
|
+
/**
|
|
31
|
+
* List all form submissions for a given site with the ability to filter submissions by a centralized `elementId`.
|
|
32
|
+
*
|
|
33
|
+
* Add `elementId` when you want to filter form submissions to a specific form in a site. You can get the `elementId` from the [List forms endpoint](/data/reference/forms/forms/list) (displayed as `formElementId` in the response).
|
|
34
|
+
*
|
|
35
|
+
* <Note title="Forms in components">
|
|
36
|
+
* When a form is used in a Webflow component definition, each instance of the component will yield a unique form. Adding the `elementId` in this request ensures this API response includes all submissions from that core form, wherever that form is used in instantiated components.
|
|
37
|
+
* </Note>
|
|
38
|
+
*
|
|
39
|
+
* Use the [List Form Submissions endpoint](/data/reference/forms/form-submissions/list-submissions) to list form submissions for a given form ID.
|
|
40
|
+
*
|
|
41
|
+
* Required scope | `forms:read`
|
|
42
|
+
*
|
|
43
|
+
* @param {string} siteId - Unique identifier for a Site
|
|
44
|
+
* @param {Webflow.sites.FormsListSubmissionsBySiteRequest} request
|
|
45
|
+
* @param {Forms.RequestOptions} requestOptions - Request-specific configuration.
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link Webflow.BadRequestError}
|
|
48
|
+
* @throws {@link Webflow.UnauthorizedError}
|
|
49
|
+
* @throws {@link Webflow.ForbiddenError}
|
|
50
|
+
* @throws {@link Webflow.NotFoundError}
|
|
51
|
+
* @throws {@link Webflow.TooManyRequestsError}
|
|
52
|
+
* @throws {@link Webflow.InternalServerError}
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* await client.sites.forms.listSubmissionsBySite("580e63e98c9a982ac9b8b741", {
|
|
56
|
+
* elementId: "18259716-3e5a-646a-5f41-5dc4b9405aa0",
|
|
57
|
+
* offset: 1,
|
|
58
|
+
* limit: 1
|
|
59
|
+
* })
|
|
60
|
+
*/
|
|
61
|
+
listSubmissionsBySite(siteId: string, request?: Webflow.sites.FormsListSubmissionsBySiteRequest, requestOptions?: Forms.RequestOptions): core.HttpResponsePromise<Webflow.FormSubmissionList>;
|
|
62
|
+
private __listSubmissionsBySite;
|
|
63
|
+
/**
|
|
64
|
+
* List form submissions for a given form ID within a specific site.
|
|
65
|
+
*
|
|
66
|
+
* Use the [List Form Submissions by Site endpoint](/data/reference/forms/form-submissions/list-submissions-by-site) to list form submissions for a given site with the ability to filter by a `formElementId`.
|
|
67
|
+
*
|
|
68
|
+
* Required scope | `forms:read`
|
|
69
|
+
*
|
|
70
|
+
* @param {string} siteId - Unique identifier for a Site
|
|
71
|
+
* @param {string} formId - Unique identifier for a Form
|
|
72
|
+
* @param {Webflow.sites.FormsListSubmissionsRequest} request
|
|
73
|
+
* @param {Forms.RequestOptions} requestOptions - Request-specific configuration.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link Webflow.BadRequestError}
|
|
76
|
+
* @throws {@link Webflow.UnauthorizedError}
|
|
77
|
+
* @throws {@link Webflow.ForbiddenError}
|
|
78
|
+
* @throws {@link Webflow.NotFoundError}
|
|
79
|
+
* @throws {@link Webflow.TooManyRequestsError}
|
|
80
|
+
* @throws {@link Webflow.InternalServerError}
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* await client.sites.forms.listSubmissions("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
|
|
84
|
+
* offset: 1,
|
|
85
|
+
* limit: 1
|
|
86
|
+
* })
|
|
87
|
+
*/
|
|
88
|
+
listSubmissions(siteId: string, formId: string, request?: Webflow.sites.FormsListSubmissionsRequest, requestOptions?: Forms.RequestOptions): core.HttpResponsePromise<Webflow.FormSubmissionList>;
|
|
89
|
+
private __listSubmissions;
|
|
90
|
+
/**
|
|
91
|
+
* Get information about a form submission within a specific site.
|
|
92
|
+
*
|
|
93
|
+
* Required scope | `forms:read`
|
|
94
|
+
*
|
|
95
|
+
* @param {string} siteId - Unique identifier for a Site
|
|
96
|
+
* @param {string} formSubmissionId - Unique identifier for a Form Submission
|
|
97
|
+
* @param {Forms.RequestOptions} requestOptions - Request-specific configuration.
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link Webflow.BadRequestError}
|
|
100
|
+
* @throws {@link Webflow.UnauthorizedError}
|
|
101
|
+
* @throws {@link Webflow.ForbiddenError}
|
|
102
|
+
* @throws {@link Webflow.NotFoundError}
|
|
103
|
+
* @throws {@link Webflow.TooManyRequestsError}
|
|
104
|
+
* @throws {@link Webflow.InternalServerError}
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* await client.sites.forms.getSubmission("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741")
|
|
108
|
+
*/
|
|
109
|
+
getSubmission(siteId: string, formSubmissionId: string, requestOptions?: Forms.RequestOptions): core.HttpResponsePromise<Webflow.FormSubmission>;
|
|
110
|
+
private __getSubmission;
|
|
111
|
+
/**
|
|
112
|
+
* Delete a form submission within a specific site.
|
|
113
|
+
*
|
|
114
|
+
* Required scope | `forms:write`
|
|
115
|
+
*
|
|
116
|
+
* @param {string} siteId - Unique identifier for a Site
|
|
117
|
+
* @param {string} formSubmissionId - Unique identifier for a Form Submission
|
|
118
|
+
* @param {Forms.RequestOptions} requestOptions - Request-specific configuration.
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link Webflow.BadRequestError}
|
|
121
|
+
* @throws {@link Webflow.UnauthorizedError}
|
|
122
|
+
* @throws {@link Webflow.ForbiddenError}
|
|
123
|
+
* @throws {@link Webflow.NotFoundError}
|
|
124
|
+
* @throws {@link Webflow.ConflictError}
|
|
125
|
+
* @throws {@link Webflow.TooManyRequestsError}
|
|
126
|
+
* @throws {@link Webflow.InternalServerError}
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* await client.sites.forms.deleteSubmission("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741")
|
|
130
|
+
*/
|
|
131
|
+
deleteSubmission(siteId: string, formSubmissionId: string, requestOptions?: Forms.RequestOptions): core.HttpResponsePromise<void>;
|
|
132
|
+
private __deleteSubmission;
|
|
133
|
+
/**
|
|
134
|
+
* Update hidden fields on a form submission within a specific site.
|
|
135
|
+
*
|
|
136
|
+
* Required scope | `forms:write`
|
|
137
|
+
*
|
|
138
|
+
* @param {string} siteId - Unique identifier for a Site
|
|
139
|
+
* @param {string} formSubmissionId - Unique identifier for a Form Submission
|
|
140
|
+
* @param {Webflow.sites.FormsUpdateSubmissionRequest} request
|
|
141
|
+
* @param {Forms.RequestOptions} requestOptions - Request-specific configuration.
|
|
142
|
+
*
|
|
143
|
+
* @throws {@link Webflow.BadRequestError}
|
|
144
|
+
* @throws {@link Webflow.UnauthorizedError}
|
|
145
|
+
* @throws {@link Webflow.ForbiddenError}
|
|
146
|
+
* @throws {@link Webflow.NotFoundError}
|
|
147
|
+
* @throws {@link Webflow.ConflictError}
|
|
148
|
+
* @throws {@link Webflow.TooManyRequestsError}
|
|
149
|
+
* @throws {@link Webflow.InternalServerError}
|
|
150
|
+
*
|
|
151
|
+
* @example
|
|
152
|
+
* await client.sites.forms.updateSubmission("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741")
|
|
153
|
+
*/
|
|
154
|
+
updateSubmission(siteId: string, formSubmissionId: string, request?: Webflow.sites.FormsUpdateSubmissionRequest, requestOptions?: Forms.RequestOptions): core.HttpResponsePromise<Webflow.FormSubmission>;
|
|
155
|
+
private __updateSubmission;
|
|
156
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
157
|
+
}
|