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
|
@@ -19,7 +19,9 @@ service:
|
|
|
19
19
|
put:
|
|
20
20
|
path: /sites/{site_id}/well_known
|
|
21
21
|
method: PUT
|
|
22
|
-
auth:
|
|
22
|
+
auth:
|
|
23
|
+
- OAuth2:
|
|
24
|
+
- site_config:write
|
|
23
25
|
docs: >
|
|
24
26
|
Upload a supported well-known file to a site.
|
|
25
27
|
|
|
@@ -70,12 +72,26 @@ service:
|
|
|
70
72
|
- path-parameters:
|
|
71
73
|
site_id: 580e63e98c9a982ac9b8b741
|
|
72
74
|
request:
|
|
73
|
-
fileName:
|
|
74
|
-
fileData:
|
|
75
|
+
fileName: apple-app-site-association.txt
|
|
76
|
+
fileData: |
|
|
77
|
+
{
|
|
78
|
+
"applinks": {
|
|
79
|
+
"apps": [],
|
|
80
|
+
"details": [
|
|
81
|
+
{
|
|
82
|
+
"appID": "ABCDE12345.com.example.app",
|
|
83
|
+
"paths": [ "/*", "/some/path/*" ]
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
contentType: application/json
|
|
75
89
|
delete:
|
|
76
90
|
path: /sites/{site_id}/well_known
|
|
77
91
|
method: DELETE
|
|
78
|
-
auth:
|
|
92
|
+
auth:
|
|
93
|
+
- OAuth2:
|
|
94
|
+
- site_config:write
|
|
79
95
|
docs: >
|
|
80
96
|
Delete existing well-known files from a site.
|
|
81
97
|
|
|
@@ -7,7 +7,9 @@ service:
|
|
|
7
7
|
create:
|
|
8
8
|
path: /workspaces/{workspace_id}/sites
|
|
9
9
|
method: POST
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- sites:write
|
|
11
13
|
docs: >
|
|
12
14
|
Create a site.
|
|
13
15
|
|
|
@@ -62,18 +64,42 @@ service:
|
|
|
62
64
|
createdOn: '2024-10-15T20:24:38Z'
|
|
63
65
|
displayName: The Hitchiker's Guide
|
|
64
66
|
shortName: hitchikers-guide
|
|
67
|
+
lastPublished: '2016-10-24T19:43:17Z'
|
|
65
68
|
lastUpdated: '2024-10-15T20:24:38Z'
|
|
69
|
+
previewUrl: >-
|
|
70
|
+
https://dev-assets.website-files.com/580e63e98c9a982ac9b8b741/201610241243.png
|
|
71
|
+
timeZone: America/Los_Angeles
|
|
66
72
|
parentFolderId: 670ece123598db72d9648be1
|
|
67
73
|
customDomains:
|
|
68
74
|
- id: 589a331aa51e760df7ccb89d
|
|
69
75
|
url: test-api-domain.com
|
|
70
76
|
lastPublished: '2022-12-07T16:51:37Z'
|
|
77
|
+
locales:
|
|
78
|
+
primary:
|
|
79
|
+
id: 653fd9af6a07fc9cfd7a5e57
|
|
80
|
+
cmsLocaleId: 653ad57de882f528b32e810e
|
|
81
|
+
enabled: false
|
|
82
|
+
displayName: English (United States)
|
|
83
|
+
displayImageId: displayImageId
|
|
84
|
+
redirect: true
|
|
85
|
+
subdirectory: ''
|
|
86
|
+
tag: en-US
|
|
87
|
+
secondary:
|
|
88
|
+
- id: 653fd9af6a07fc9cfd7a5e57
|
|
89
|
+
cmsLocaleId: 653ad57de882f528b32e810e
|
|
90
|
+
enabled: false
|
|
91
|
+
displayName: English (United States)
|
|
92
|
+
redirect: true
|
|
93
|
+
subdirectory: ''
|
|
94
|
+
tag: en-US
|
|
71
95
|
dataCollectionEnabled: true
|
|
72
96
|
dataCollectionType: always
|
|
73
97
|
list:
|
|
74
98
|
path: /sites
|
|
75
99
|
method: GET
|
|
76
|
-
auth:
|
|
100
|
+
auth:
|
|
101
|
+
- OAuth2:
|
|
102
|
+
- sites:read
|
|
77
103
|
docs: |
|
|
78
104
|
List of all sites the provided access token is able to access.
|
|
79
105
|
|
|
@@ -144,6 +170,7 @@ service:
|
|
|
144
170
|
previewUrl: >-
|
|
145
171
|
https://dev-assets.website-files.com/42e63e98c9a982ac9b8b742/198110121200.png
|
|
146
172
|
timeZone: DeepSpace/Depression
|
|
173
|
+
parentFolderId: 1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6
|
|
147
174
|
customDomains:
|
|
148
175
|
- id: 589a331aa51e760df7ccb89f
|
|
149
176
|
url: marvin.blog
|
|
@@ -177,6 +204,7 @@ service:
|
|
|
177
204
|
previewUrl: >-
|
|
178
205
|
https://dev-assets.website-files.com/42e63e98c9a982ac9b8b743/198210121200.png
|
|
179
206
|
timeZone: Vogsphere/PoetryHall
|
|
207
|
+
parentFolderId: 1as2d3f4g5h6j7k8l9z0x1c2v3b4n5m6
|
|
180
208
|
customDomains:
|
|
181
209
|
- id: 589a331aa51e760df7ccb8a0
|
|
182
210
|
url: vogonpoetry.galaxy
|
|
@@ -203,7 +231,9 @@ service:
|
|
|
203
231
|
get:
|
|
204
232
|
path: /sites/{site_id}
|
|
205
233
|
method: GET
|
|
206
|
-
auth:
|
|
234
|
+
auth:
|
|
235
|
+
- OAuth2:
|
|
236
|
+
- sites:read
|
|
207
237
|
docs: |
|
|
208
238
|
Get details of a site.
|
|
209
239
|
|
|
@@ -226,7 +256,8 @@ service:
|
|
|
226
256
|
- root.TooManyRequestsError
|
|
227
257
|
- root.InternalServerError
|
|
228
258
|
examples:
|
|
229
|
-
-
|
|
259
|
+
- name: SiteWithLocales
|
|
260
|
+
path-parameters:
|
|
230
261
|
site_id: 580e63e98c9a982ac9b8b741
|
|
231
262
|
response:
|
|
232
263
|
body:
|
|
@@ -271,7 +302,9 @@ service:
|
|
|
271
302
|
delete:
|
|
272
303
|
path: /sites/{site_id}
|
|
273
304
|
method: DELETE
|
|
274
|
-
auth:
|
|
305
|
+
auth:
|
|
306
|
+
- OAuth2:
|
|
307
|
+
- sites:write
|
|
275
308
|
docs: >
|
|
276
309
|
Delete a site.
|
|
277
310
|
|
|
@@ -301,7 +334,9 @@ service:
|
|
|
301
334
|
update:
|
|
302
335
|
path: /sites/{site_id}
|
|
303
336
|
method: PATCH
|
|
304
|
-
auth:
|
|
337
|
+
auth:
|
|
338
|
+
- OAuth2:
|
|
339
|
+
- sites:write
|
|
305
340
|
docs: >
|
|
306
341
|
Update a site.
|
|
307
342
|
|
|
@@ -387,7 +422,9 @@ service:
|
|
|
387
422
|
get-custom-domain:
|
|
388
423
|
path: /sites/{site_id}/custom_domains
|
|
389
424
|
method: GET
|
|
390
|
-
auth:
|
|
425
|
+
auth:
|
|
426
|
+
- OAuth2:
|
|
427
|
+
- sites:read
|
|
391
428
|
docs: |
|
|
392
429
|
Get a list of all custom domains related to site.
|
|
393
430
|
|
|
@@ -424,7 +461,9 @@ service:
|
|
|
424
461
|
publish:
|
|
425
462
|
path: /sites/{site_id}/publish
|
|
426
463
|
method: POST
|
|
427
|
-
auth:
|
|
464
|
+
auth:
|
|
465
|
+
- OAuth2:
|
|
466
|
+
- sites:write
|
|
428
467
|
docs: >
|
|
429
468
|
Publishes a site to one or more more domains.
|
|
430
469
|
|
|
@@ -7,7 +7,9 @@ service:
|
|
|
7
7
|
authorized-by:
|
|
8
8
|
path: /token/authorized_by
|
|
9
9
|
method: GET
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- authorized_user:read
|
|
11
13
|
docs: |
|
|
12
14
|
Information about the Authorized User
|
|
13
15
|
|
|
@@ -32,7 +34,6 @@ service:
|
|
|
32
34
|
introspect:
|
|
33
35
|
path: /token/introspect
|
|
34
36
|
method: GET
|
|
35
|
-
auth: true
|
|
36
37
|
docs: >
|
|
37
38
|
Information about the authorization token
|
|
38
39
|
|
|
@@ -180,10 +180,18 @@ service:
|
|
|
180
180
|
list:
|
|
181
181
|
path: /sites/{site_id}/users
|
|
182
182
|
method: GET
|
|
183
|
-
auth:
|
|
184
|
-
|
|
183
|
+
auth:
|
|
184
|
+
- OAuth2:
|
|
185
|
+
- users:read
|
|
186
|
+
docs: >
|
|
187
|
+
<Warning>As of **January 29, 2026**, User Accounts functionality has
|
|
188
|
+
been disabled on all Webflow sites. This endpoint is no longer
|
|
189
|
+
available.</Warning>
|
|
190
|
+
|
|
191
|
+
|
|
185
192
|
Get a list of users for a site
|
|
186
193
|
|
|
194
|
+
|
|
187
195
|
Required scope | `users:read`
|
|
188
196
|
source:
|
|
189
197
|
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -196,12 +204,12 @@ service:
|
|
|
196
204
|
name: UsersListRequest
|
|
197
205
|
query-parameters:
|
|
198
206
|
offset:
|
|
199
|
-
type: optional<
|
|
207
|
+
type: optional<integer>
|
|
200
208
|
docs: >-
|
|
201
209
|
Offset used for pagination if the results have more than limit
|
|
202
210
|
records
|
|
203
211
|
limit:
|
|
204
|
-
type: optional<
|
|
212
|
+
type: optional<integer>
|
|
205
213
|
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
206
214
|
sort:
|
|
207
215
|
type: optional<UsersListRequestSort>
|
|
@@ -215,6 +223,7 @@ service:
|
|
|
215
223
|
docs: Request was successful
|
|
216
224
|
type: root.UserList
|
|
217
225
|
status-code: 200
|
|
226
|
+
availability: deprecated
|
|
218
227
|
errors:
|
|
219
228
|
- root.BadRequestError
|
|
220
229
|
- root.UnauthorizedError
|
|
@@ -225,6 +234,10 @@ service:
|
|
|
225
234
|
examples:
|
|
226
235
|
- path-parameters:
|
|
227
236
|
site_id: 580e63e98c9a982ac9b8b741
|
|
237
|
+
query-parameters:
|
|
238
|
+
offset: 1
|
|
239
|
+
limit: 1
|
|
240
|
+
sort: CreatedOn
|
|
228
241
|
response:
|
|
229
242
|
body:
|
|
230
243
|
count: 5
|
|
@@ -285,10 +298,18 @@ service:
|
|
|
285
298
|
get:
|
|
286
299
|
path: /sites/{site_id}/users/{user_id}
|
|
287
300
|
method: GET
|
|
288
|
-
auth:
|
|
289
|
-
|
|
301
|
+
auth:
|
|
302
|
+
- OAuth2:
|
|
303
|
+
- users:read
|
|
304
|
+
docs: >
|
|
305
|
+
<Warning>As of **January 29, 2026**, User Accounts functionality has
|
|
306
|
+
been disabled on all Webflow sites. This endpoint is no longer
|
|
307
|
+
available.</Warning>
|
|
308
|
+
|
|
309
|
+
|
|
290
310
|
Get a User by ID
|
|
291
311
|
|
|
312
|
+
|
|
292
313
|
Required scope | `users:read`
|
|
293
314
|
source:
|
|
294
315
|
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -304,6 +325,7 @@ service:
|
|
|
304
325
|
docs: Request was successful
|
|
305
326
|
type: root.User
|
|
306
327
|
status-code: 200
|
|
328
|
+
availability: deprecated
|
|
307
329
|
errors:
|
|
308
330
|
- root.BadRequestError
|
|
309
331
|
- root.UnauthorizedError
|
|
@@ -337,10 +359,18 @@ service:
|
|
|
337
359
|
delete:
|
|
338
360
|
path: /sites/{site_id}/users/{user_id}
|
|
339
361
|
method: DELETE
|
|
340
|
-
auth:
|
|
341
|
-
|
|
362
|
+
auth:
|
|
363
|
+
- OAuth2:
|
|
364
|
+
- users:write
|
|
365
|
+
docs: >
|
|
366
|
+
<Warning>As of **January 29, 2026**, User Accounts functionality has
|
|
367
|
+
been disabled on all Webflow sites. This endpoint is no longer
|
|
368
|
+
available.</Warning>
|
|
369
|
+
|
|
370
|
+
|
|
342
371
|
Delete a User by ID
|
|
343
372
|
|
|
373
|
+
|
|
344
374
|
Required scope | `users:write`
|
|
345
375
|
source:
|
|
346
376
|
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -352,6 +382,7 @@ service:
|
|
|
352
382
|
type: string
|
|
353
383
|
docs: Unique identifier for a User
|
|
354
384
|
display-name: Delete User
|
|
385
|
+
availability: deprecated
|
|
355
386
|
errors:
|
|
356
387
|
- root.BadRequestError
|
|
357
388
|
- root.UnauthorizedError
|
|
@@ -366,13 +397,21 @@ service:
|
|
|
366
397
|
update:
|
|
367
398
|
path: /sites/{site_id}/users/{user_id}
|
|
368
399
|
method: PATCH
|
|
369
|
-
auth:
|
|
370
|
-
|
|
371
|
-
|
|
400
|
+
auth:
|
|
401
|
+
- OAuth2:
|
|
402
|
+
- users:write
|
|
403
|
+
docs: >
|
|
404
|
+
<Warning>As of **January 29, 2026**, User Accounts functionality has
|
|
405
|
+
been disabled on all Webflow sites. This endpoint is no longer
|
|
406
|
+
available.</Warning>
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
Update a User by ID
|
|
372
410
|
|
|
373
411
|
Required scope | `users:write`
|
|
374
412
|
|
|
375
413
|
<Note class="notice">The <code>email</code> and <code>password</code>
|
|
414
|
+
|
|
376
415
|
fields cannot be updated using this endpoint</Note>
|
|
377
416
|
source:
|
|
378
417
|
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -391,6 +430,7 @@ service:
|
|
|
391
430
|
docs: Request was successful
|
|
392
431
|
type: root.User
|
|
393
432
|
status-code: 200
|
|
433
|
+
availability: deprecated
|
|
394
434
|
errors:
|
|
395
435
|
- root.BadRequestError
|
|
396
436
|
- root.UnauthorizedError
|
|
@@ -435,13 +475,20 @@ service:
|
|
|
435
475
|
invite:
|
|
436
476
|
path: /sites/{site_id}/users/invite
|
|
437
477
|
method: POST
|
|
438
|
-
auth:
|
|
478
|
+
auth:
|
|
479
|
+
- OAuth2:
|
|
480
|
+
- users:write
|
|
439
481
|
docs: >
|
|
440
|
-
|
|
482
|
+
<Warning>As of **January 29, 2026**, User Accounts functionality has
|
|
483
|
+
been disabled on all Webflow sites. This endpoint is no longer
|
|
484
|
+
available.</Warning>
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
Create and invite a user with an email address.
|
|
441
488
|
|
|
442
489
|
|
|
443
490
|
The user will be sent and invite via email, which they will need to
|
|
444
|
-
accept in order to join paid any paid access group.
|
|
491
|
+
accept in order to join paid any paid access group.
|
|
445
492
|
|
|
446
493
|
|
|
447
494
|
Required scope | `users:write`
|
|
@@ -472,6 +519,7 @@ service:
|
|
|
472
519
|
docs: Request was successful
|
|
473
520
|
type: root.User
|
|
474
521
|
status-code: 200
|
|
522
|
+
availability: deprecated
|
|
475
523
|
errors:
|
|
476
524
|
- root.BadRequestError
|
|
477
525
|
- root.UnauthorizedError
|
|
@@ -531,7 +579,13 @@ webhooks:
|
|
|
531
579
|
accessGroups:
|
|
532
580
|
- slug: webflowers
|
|
533
581
|
type: admin
|
|
534
|
-
docs:
|
|
582
|
+
docs: >
|
|
583
|
+
<Warning>As of **January 29, 2026**, User Accounts functionality has been
|
|
584
|
+
disabled on all Webflow sites. This webhook is no longer
|
|
585
|
+
available.</Warning>
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
Information about a new user account
|
|
535
589
|
user_account_updated:
|
|
536
590
|
audiences: []
|
|
537
591
|
method: POST
|
|
@@ -554,7 +608,13 @@ webhooks:
|
|
|
554
608
|
accessGroups:
|
|
555
609
|
- slug: webflowers
|
|
556
610
|
type: admin
|
|
557
|
-
docs:
|
|
611
|
+
docs: >
|
|
612
|
+
<Warning>As of **January 29, 2026**, User Accounts functionality has been
|
|
613
|
+
disabled on all Webflow sites. This webhook is no longer
|
|
614
|
+
available.</Warning>
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
Information about an updated user account
|
|
558
618
|
user_account_deleted:
|
|
559
619
|
audiences: []
|
|
560
620
|
method: POST
|
|
@@ -577,4 +637,10 @@ webhooks:
|
|
|
577
637
|
accessGroups:
|
|
578
638
|
- slug: webflowers
|
|
579
639
|
type: admin
|
|
580
|
-
docs:
|
|
640
|
+
docs: >
|
|
641
|
+
<Warning>As of **January 29, 2026**, User Accounts functionality has been
|
|
642
|
+
disabled on all Webflow sites. This webhook is no longer
|
|
643
|
+
available.</Warning>
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
Information about a deleted user account
|
|
@@ -7,7 +7,6 @@ service:
|
|
|
7
7
|
list:
|
|
8
8
|
path: /sites/{site_id}/webhooks
|
|
9
9
|
method: GET
|
|
10
|
-
auth: true
|
|
11
10
|
docs: |
|
|
12
11
|
List all App-created Webhooks registered for a given site
|
|
13
12
|
|
|
@@ -69,7 +68,6 @@ service:
|
|
|
69
68
|
create:
|
|
70
69
|
path: /sites/{site_id}/webhooks
|
|
71
70
|
method: POST
|
|
72
|
-
auth: true
|
|
73
71
|
docs: >
|
|
74
72
|
Create a new Webhook.
|
|
75
73
|
|
|
@@ -119,12 +117,13 @@ service:
|
|
|
119
117
|
url: https://webhook.site/7f7f7f7f-7f7f-7f7f-7f7f-7f7f7f7f7f7f
|
|
120
118
|
workspaceId: 4f4e46fd476ea8c507000001
|
|
121
119
|
siteId: 562ac0395358780a1f5e6fbd
|
|
120
|
+
filter:
|
|
121
|
+
name: My Form
|
|
122
122
|
lastTriggered: '2023-02-08T23:59:28Z'
|
|
123
123
|
createdOn: '2022-11-08T23:59:28Z'
|
|
124
124
|
get:
|
|
125
125
|
path: /webhooks/{webhook_id}
|
|
126
126
|
method: GET
|
|
127
|
-
auth: true
|
|
128
127
|
docs: |
|
|
129
128
|
Get a specific Webhook instance
|
|
130
129
|
|
|
@@ -156,12 +155,13 @@ service:
|
|
|
156
155
|
url: https://webhook.site/7f7f7f7f-7f7f-7f7f-7f7f-7f7f7f7f7f7f
|
|
157
156
|
workspaceId: 4f4e46fd476ea8c507000001
|
|
158
157
|
siteId: 562ac0395358780a1f5e6fbd
|
|
158
|
+
filter:
|
|
159
|
+
name: My Form
|
|
159
160
|
lastTriggered: '2023-02-08T23:59:28Z'
|
|
160
161
|
createdOn: '2022-11-08T23:59:28Z'
|
|
161
162
|
delete:
|
|
162
163
|
path: /webhooks/{webhook_id}
|
|
163
164
|
method: DELETE
|
|
164
|
-
auth: true
|
|
165
165
|
docs: |
|
|
166
166
|
Remove a Webhook
|
|
167
167
|
|
|
@@ -23,7 +23,9 @@ service:
|
|
|
23
23
|
get-workspace-audit_logs:
|
|
24
24
|
path: /workspaces/{workspace_id_or_slug}/audit_logs
|
|
25
25
|
method: GET
|
|
26
|
-
auth:
|
|
26
|
+
auth:
|
|
27
|
+
- OAuth2:
|
|
28
|
+
- workspace_activity:read
|
|
27
29
|
docs: >
|
|
28
30
|
Get audit logs for a workspace.
|
|
29
31
|
|
|
@@ -46,10 +48,10 @@ service:
|
|
|
46
48
|
name: AuditLogsGetWorkspaceAuditLogsRequest
|
|
47
49
|
query-parameters:
|
|
48
50
|
limit:
|
|
49
|
-
type: optional<
|
|
51
|
+
type: optional<integer>
|
|
50
52
|
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
51
53
|
offset:
|
|
52
|
-
type: optional<
|
|
54
|
+
type: optional<integer>
|
|
53
55
|
docs: >-
|
|
54
56
|
Offset used for pagination if the results have more than limit
|
|
55
57
|
records
|
|
@@ -79,8 +81,12 @@ service:
|
|
|
79
81
|
- path-parameters:
|
|
80
82
|
workspace_id_or_slug: hitchhikers-workspace
|
|
81
83
|
query-parameters:
|
|
82
|
-
|
|
83
|
-
|
|
84
|
+
limit: 1
|
|
85
|
+
offset: 1
|
|
86
|
+
sortOrder: asc
|
|
87
|
+
eventType: user_access
|
|
88
|
+
from: '2025-06-22T16:00:31Z'
|
|
89
|
+
to: '2025-07-22T16:00:31Z'
|
|
84
90
|
response:
|
|
85
91
|
body:
|
|
86
92
|
items:
|
package/.mock/fern.config.json
CHANGED
package/Client.d.ts
CHANGED
|
@@ -24,7 +24,7 @@ export declare namespace WebflowClient {
|
|
|
24
24
|
environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
|
|
25
25
|
/** Specify a custom URL to connect the client to. */
|
|
26
26
|
baseUrl?: core.Supplier<string>;
|
|
27
|
-
accessToken
|
|
27
|
+
accessToken?: core.Supplier<core.BearerToken | undefined>;
|
|
28
28
|
/** Additional headers to include in requests. */
|
|
29
29
|
headers?: Record<string, string | core.Supplier<string | undefined> | undefined>;
|
|
30
30
|
}
|
|
@@ -57,7 +57,7 @@ export declare class WebflowClient {
|
|
|
57
57
|
protected _inventory: Inventory | undefined;
|
|
58
58
|
protected _ecommerce: Ecommerce | undefined;
|
|
59
59
|
protected _workspaces: Workspaces | undefined;
|
|
60
|
-
constructor(_options
|
|
60
|
+
constructor(_options?: WebflowClient.Options);
|
|
61
61
|
get token(): Token;
|
|
62
62
|
get sites(): Sites;
|
|
63
63
|
get collections(): Collections;
|
package/Client.js
CHANGED
|
@@ -56,12 +56,12 @@ const Client_14 = require("./api/resources/inventory/client/Client");
|
|
|
56
56
|
const Client_15 = require("./api/resources/ecommerce/client/Client");
|
|
57
57
|
const Client_16 = require("./api/resources/workspaces/client/Client");
|
|
58
58
|
class WebflowClient {
|
|
59
|
-
constructor(_options) {
|
|
59
|
+
constructor(_options = {}) {
|
|
60
60
|
this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
|
|
61
61
|
"X-Fern-Language": "JavaScript",
|
|
62
62
|
"X-Fern-SDK-Name": "webflow-api",
|
|
63
|
-
"X-Fern-SDK-Version": "3.2.
|
|
64
|
-
"User-Agent": "webflow-api/3.2.
|
|
63
|
+
"X-Fern-SDK-Version": "3.2.2",
|
|
64
|
+
"User-Agent": "webflow-api/3.2.2",
|
|
65
65
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
66
66
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
67
67
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Webflow.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -9,7 +9,7 @@ export declare namespace AccessGroups {
|
|
|
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,8 +26,10 @@ export declare namespace AccessGroups {
|
|
|
26
26
|
}
|
|
27
27
|
export declare class AccessGroups {
|
|
28
28
|
protected readonly _options: AccessGroups.Options;
|
|
29
|
-
constructor(_options
|
|
29
|
+
constructor(_options?: AccessGroups.Options);
|
|
30
30
|
/**
|
|
31
|
+
* <Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
32
|
+
*
|
|
31
33
|
* Get a list of access groups for a site
|
|
32
34
|
*
|
|
33
35
|
* Required scope | `users:read`
|
|
@@ -44,9 +46,13 @@ export declare class AccessGroups {
|
|
|
44
46
|
* @throws {@link Webflow.InternalServerError}
|
|
45
47
|
*
|
|
46
48
|
* @example
|
|
47
|
-
* await client.accessGroups.list("580e63e98c9a982ac9b8b741"
|
|
49
|
+
* await client.accessGroups.list("580e63e98c9a982ac9b8b741", {
|
|
50
|
+
* offset: 1,
|
|
51
|
+
* limit: 1,
|
|
52
|
+
* sort: "CreatedOn"
|
|
53
|
+
* })
|
|
48
54
|
*/
|
|
49
55
|
list(siteId: string, request?: Webflow.AccessGroupsListRequest, requestOptions?: AccessGroups.RequestOptions): core.HttpResponsePromise<Webflow.AccessGroupList>;
|
|
50
56
|
private __list;
|
|
51
|
-
protected _getAuthorizationHeader(): Promise<string>;
|
|
57
|
+
protected _getAuthorizationHeader(): Promise<string | undefined>;
|
|
52
58
|
}
|
|
@@ -57,10 +57,12 @@ 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 AccessGroups {
|
|
60
|
-
constructor(_options) {
|
|
60
|
+
constructor(_options = {}) {
|
|
61
61
|
this._options = _options;
|
|
62
62
|
}
|
|
63
63
|
/**
|
|
64
|
+
* <Warning>As of **January 29, 2026**, User Accounts functionality has been disabled on all Webflow sites. This endpoint is no longer available.</Warning>
|
|
65
|
+
*
|
|
64
66
|
* Get a list of access groups for a site
|
|
65
67
|
*
|
|
66
68
|
* Required scope | `users:read`
|
|
@@ -77,7 +79,11 @@ class AccessGroups {
|
|
|
77
79
|
* @throws {@link Webflow.InternalServerError}
|
|
78
80
|
*
|
|
79
81
|
* @example
|
|
80
|
-
* await client.accessGroups.list("580e63e98c9a982ac9b8b741"
|
|
82
|
+
* await client.accessGroups.list("580e63e98c9a982ac9b8b741", {
|
|
83
|
+
* offset: 1,
|
|
84
|
+
* limit: 1,
|
|
85
|
+
* sort: "CreatedOn"
|
|
86
|
+
* })
|
|
81
87
|
*/
|
|
82
88
|
list(siteId, request = {}, requestOptions) {
|
|
83
89
|
return core.HttpResponsePromise.fromPromise(this.__list(siteId, request, requestOptions));
|
|
@@ -187,7 +193,11 @@ class AccessGroups {
|
|
|
187
193
|
}
|
|
188
194
|
_getAuthorizationHeader() {
|
|
189
195
|
return __awaiter(this, void 0, void 0, function* () {
|
|
190
|
-
|
|
196
|
+
const bearer = yield core.Supplier.get(this._options.accessToken);
|
|
197
|
+
if (bearer != null) {
|
|
198
|
+
return `Bearer ${bearer}`;
|
|
199
|
+
}
|
|
200
|
+
return undefined;
|
|
191
201
|
});
|
|
192
202
|
}
|
|
193
203
|
}
|