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
|
@@ -44,7 +44,9 @@ service:
|
|
|
44
44
|
list-comment-threads:
|
|
45
45
|
path: /sites/{site_id}/comments
|
|
46
46
|
method: GET
|
|
47
|
-
auth:
|
|
47
|
+
auth:
|
|
48
|
+
- OAuth2:
|
|
49
|
+
- comments:read
|
|
48
50
|
docs: |
|
|
49
51
|
List all comment threads for a site.
|
|
50
52
|
|
|
@@ -65,16 +67,19 @@ service:
|
|
|
65
67
|
query-parameters:
|
|
66
68
|
localeId:
|
|
67
69
|
type: optional<string>
|
|
68
|
-
docs:
|
|
69
|
-
Unique identifier for a specific
|
|
70
|
-
|
|
70
|
+
docs: >
|
|
71
|
+
Unique identifier for a specific Locale.
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
[Lear more about
|
|
75
|
+
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
71
76
|
offset:
|
|
72
|
-
type: optional<
|
|
77
|
+
type: optional<integer>
|
|
73
78
|
docs: >-
|
|
74
79
|
Offset used for pagination if the results have more than limit
|
|
75
80
|
records
|
|
76
81
|
limit:
|
|
77
|
-
type: optional<
|
|
82
|
+
type: optional<integer>
|
|
78
83
|
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
79
84
|
sortBy:
|
|
80
85
|
type: optional<CommentsListCommentThreadsRequestSortBy>
|
|
@@ -99,6 +104,10 @@ service:
|
|
|
99
104
|
site_id: 580e63e98c9a982ac9b8b741
|
|
100
105
|
query-parameters:
|
|
101
106
|
localeId: 65427cf400e02b306eaa04a0
|
|
107
|
+
offset: 1
|
|
108
|
+
limit: 1
|
|
109
|
+
sortBy: createdOn
|
|
110
|
+
sortOrder: asc
|
|
102
111
|
response:
|
|
103
112
|
body:
|
|
104
113
|
comments:
|
|
@@ -106,6 +115,7 @@ service:
|
|
|
106
115
|
siteId: 679826b3b20b045e176bc4b5
|
|
107
116
|
pageId: 679826b3b20b045e176bc4bc
|
|
108
117
|
localeId: 67993753d910db250db64b3e
|
|
118
|
+
itemId: 580e64008c9a982ac9b8b754
|
|
109
119
|
breakpoint: main
|
|
110
120
|
url: >-
|
|
111
121
|
https://webflow.com/design/site-slug-4ec832?workflow=comment&commentId=679d2ddb5196117ad04d1ff8&pageId=679826b3b20b045e176bc4bc
|
|
@@ -125,6 +135,7 @@ service:
|
|
|
125
135
|
siteId: 679826b3b20b045e176bc4b5
|
|
126
136
|
pageId: 679826b3b20b045e176bc4bc
|
|
127
137
|
localeId: 67993753d910db250db64b3e
|
|
138
|
+
itemId: 580e64008c9a982ac9b8b754
|
|
128
139
|
breakpoint: main
|
|
129
140
|
url: >-
|
|
130
141
|
https://webflow.com/design/site-slug-4ec832?workflow=comment&commentId=679d2ddb5196117ad04d1ff8&pageId=679826b3b20b045e176bc4bc
|
|
@@ -149,7 +160,9 @@ service:
|
|
|
149
160
|
get-comment-thread:
|
|
150
161
|
path: /sites/{site_id}/comments/{comment_thread_id}
|
|
151
162
|
method: GET
|
|
152
|
-
auth:
|
|
163
|
+
auth:
|
|
164
|
+
- OAuth2:
|
|
165
|
+
- comments:read
|
|
153
166
|
docs: |
|
|
154
167
|
Get details of a specific comment thread.
|
|
155
168
|
|
|
@@ -173,16 +186,19 @@ service:
|
|
|
173
186
|
query-parameters:
|
|
174
187
|
localeId:
|
|
175
188
|
type: optional<string>
|
|
176
|
-
docs:
|
|
177
|
-
Unique identifier for a specific
|
|
178
|
-
|
|
189
|
+
docs: >
|
|
190
|
+
Unique identifier for a specific Locale.
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
[Lear more about
|
|
194
|
+
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
179
195
|
offset:
|
|
180
|
-
type: optional<
|
|
196
|
+
type: optional<integer>
|
|
181
197
|
docs: >-
|
|
182
198
|
Offset used for pagination if the results have more than limit
|
|
183
199
|
records
|
|
184
200
|
limit:
|
|
185
|
-
type: optional<
|
|
201
|
+
type: optional<integer>
|
|
186
202
|
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
187
203
|
sortBy:
|
|
188
204
|
type: optional<CommentsGetCommentThreadRequestSortBy>
|
|
@@ -208,6 +224,10 @@ service:
|
|
|
208
224
|
comment_thread_id: 580e63e98c9a982ac9b8b741
|
|
209
225
|
query-parameters:
|
|
210
226
|
localeId: 65427cf400e02b306eaa04a0
|
|
227
|
+
offset: 1
|
|
228
|
+
limit: 1
|
|
229
|
+
sortBy: createdOn
|
|
230
|
+
sortOrder: asc
|
|
211
231
|
response:
|
|
212
232
|
body:
|
|
213
233
|
id: 580e64008c9a982ac9b8b754
|
|
@@ -233,7 +253,9 @@ service:
|
|
|
233
253
|
list-comment-replies:
|
|
234
254
|
path: /sites/{site_id}/comments/{comment_thread_id}/replies
|
|
235
255
|
method: GET
|
|
236
|
-
auth:
|
|
256
|
+
auth:
|
|
257
|
+
- OAuth2:
|
|
258
|
+
- comments:read
|
|
237
259
|
docs: |
|
|
238
260
|
List all replies to a specific comment thread.
|
|
239
261
|
|
|
@@ -257,16 +279,19 @@ service:
|
|
|
257
279
|
query-parameters:
|
|
258
280
|
localeId:
|
|
259
281
|
type: optional<string>
|
|
260
|
-
docs:
|
|
261
|
-
Unique identifier for a specific
|
|
262
|
-
|
|
282
|
+
docs: >
|
|
283
|
+
Unique identifier for a specific Locale.
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
[Lear more about
|
|
287
|
+
localization.](/data/v2.0.0/docs/working-with-localization)
|
|
263
288
|
offset:
|
|
264
|
-
type: optional<
|
|
289
|
+
type: optional<integer>
|
|
265
290
|
docs: >-
|
|
266
291
|
Offset used for pagination if the results have more than limit
|
|
267
292
|
records
|
|
268
293
|
limit:
|
|
269
|
-
type: optional<
|
|
294
|
+
type: optional<integer>
|
|
270
295
|
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
271
296
|
sortBy:
|
|
272
297
|
type: optional<CommentsListCommentRepliesRequestSortBy>
|
|
@@ -292,6 +317,10 @@ service:
|
|
|
292
317
|
comment_thread_id: 580e63e98c9a982ac9b8b741
|
|
293
318
|
query-parameters:
|
|
294
319
|
localeId: 65427cf400e02b306eaa04a0
|
|
320
|
+
offset: 1
|
|
321
|
+
limit: 1
|
|
322
|
+
sortBy: createdOn
|
|
323
|
+
sortOrder: asc
|
|
295
324
|
response:
|
|
296
325
|
body:
|
|
297
326
|
comments:
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
imports:
|
|
2
|
+
root: ../__package__.yml
|
|
3
|
+
service:
|
|
4
|
+
auth: false
|
|
5
|
+
base-path: ''
|
|
6
|
+
endpoints:
|
|
7
|
+
list-submissions-by-site:
|
|
8
|
+
path: /sites/{site_id}/form_submissions
|
|
9
|
+
method: GET
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- forms:read
|
|
13
|
+
docs: >
|
|
14
|
+
List all form submissions for a given site with the ability to filter
|
|
15
|
+
submissions by a centralized `elementId`.
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
Add `elementId` when you want to filter form submissions to a specific
|
|
19
|
+
form in a site. You can get the `elementId` from the [List forms
|
|
20
|
+
endpoint](/data/reference/forms/forms/list) (displayed as
|
|
21
|
+
`formElementId` in the response).
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<Note title="Forms in components">
|
|
25
|
+
|
|
26
|
+
When a form is used in a Webflow component definition, each instance of
|
|
27
|
+
the component will yield a unique form. Adding the `elementId` in this
|
|
28
|
+
request ensures this API response includes all submissions from that
|
|
29
|
+
core form, wherever that form is used in instantiated components.
|
|
30
|
+
|
|
31
|
+
</Note>
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
Use the [List Form Submissions
|
|
35
|
+
endpoint](/data/reference/forms/form-submissions/list-submissions) to
|
|
36
|
+
list form submissions for a given form ID.
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
Required scope | `forms:read`
|
|
40
|
+
source:
|
|
41
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
42
|
+
path-parameters:
|
|
43
|
+
site_id:
|
|
44
|
+
type: string
|
|
45
|
+
docs: Unique identifier for a Site
|
|
46
|
+
display-name: List Form Submissions by Site
|
|
47
|
+
request:
|
|
48
|
+
name: FormsListSubmissionsBySiteRequest
|
|
49
|
+
query-parameters:
|
|
50
|
+
elementId:
|
|
51
|
+
type: optional<string>
|
|
52
|
+
docs: Identifier for an element
|
|
53
|
+
offset:
|
|
54
|
+
type: optional<integer>
|
|
55
|
+
docs: >-
|
|
56
|
+
Offset used for pagination if the results have more than limit
|
|
57
|
+
records
|
|
58
|
+
limit:
|
|
59
|
+
type: optional<integer>
|
|
60
|
+
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
61
|
+
response:
|
|
62
|
+
docs: Request was successful
|
|
63
|
+
type: root.FormSubmissionList
|
|
64
|
+
status-code: 200
|
|
65
|
+
errors:
|
|
66
|
+
- root.BadRequestError
|
|
67
|
+
- root.UnauthorizedError
|
|
68
|
+
- root.ForbiddenError
|
|
69
|
+
- root.NotFoundError
|
|
70
|
+
- root.TooManyRequestsError
|
|
71
|
+
- root.InternalServerError
|
|
72
|
+
examples:
|
|
73
|
+
- path-parameters:
|
|
74
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
75
|
+
query-parameters:
|
|
76
|
+
elementId: 18259716-3e5a-646a-5f41-5dc4b9405aa0
|
|
77
|
+
offset: 1
|
|
78
|
+
limit: 1
|
|
79
|
+
response:
|
|
80
|
+
body:
|
|
81
|
+
formSubmissions:
|
|
82
|
+
- id: 6321ca84df3949bfc6752327
|
|
83
|
+
displayName: Sample Form
|
|
84
|
+
siteId: 62749158efef318abc8d5a0f
|
|
85
|
+
workspaceId: 62749158efef318abc8d5a0f
|
|
86
|
+
dateSubmitted: '2022-09-14T12:35:16Z'
|
|
87
|
+
formResponse:
|
|
88
|
+
First Name: Arthur
|
|
89
|
+
Last Name: Dent
|
|
90
|
+
- id: 660d64fabf6e0a0d4edab981
|
|
91
|
+
displayName: Sample Form
|
|
92
|
+
siteId: 62749158efef318abc8d5a0f
|
|
93
|
+
workspaceId: 62749158efef318abc8d5a0f
|
|
94
|
+
dateSubmitted: '2022-09-14T12:35:16Z'
|
|
95
|
+
formResponse:
|
|
96
|
+
First Name: Ford
|
|
97
|
+
Last Name: Prefect
|
|
98
|
+
pagination:
|
|
99
|
+
limit: 25
|
|
100
|
+
offset: 0
|
|
101
|
+
total: 2
|
|
102
|
+
list-submissions:
|
|
103
|
+
path: /sites/{site_id}/forms/{form_id}/submissions
|
|
104
|
+
method: GET
|
|
105
|
+
auth:
|
|
106
|
+
- OAuth2:
|
|
107
|
+
- forms:read
|
|
108
|
+
docs: >
|
|
109
|
+
List form submissions for a given form ID within a specific site.
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
Use the [List Form Submissions by Site
|
|
113
|
+
endpoint](/data/reference/forms/form-submissions/list-submissions-by-site)
|
|
114
|
+
to list form submissions for a given site with the ability to filter by
|
|
115
|
+
a `formElementId`.
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
Required scope | `forms:read`
|
|
119
|
+
source:
|
|
120
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
121
|
+
path-parameters:
|
|
122
|
+
site_id:
|
|
123
|
+
type: string
|
|
124
|
+
docs: Unique identifier for a Site
|
|
125
|
+
form_id:
|
|
126
|
+
type: string
|
|
127
|
+
docs: Unique identifier for a Form
|
|
128
|
+
display-name: List Form Submissions
|
|
129
|
+
request:
|
|
130
|
+
name: FormsListSubmissionsRequest
|
|
131
|
+
query-parameters:
|
|
132
|
+
offset:
|
|
133
|
+
type: optional<integer>
|
|
134
|
+
docs: >-
|
|
135
|
+
Offset used for pagination if the results have more than limit
|
|
136
|
+
records
|
|
137
|
+
limit:
|
|
138
|
+
type: optional<integer>
|
|
139
|
+
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
140
|
+
response:
|
|
141
|
+
docs: Request was successful
|
|
142
|
+
type: root.FormSubmissionList
|
|
143
|
+
status-code: 200
|
|
144
|
+
errors:
|
|
145
|
+
- root.BadRequestError
|
|
146
|
+
- root.UnauthorizedError
|
|
147
|
+
- root.ForbiddenError
|
|
148
|
+
- root.NotFoundError
|
|
149
|
+
- root.TooManyRequestsError
|
|
150
|
+
- root.InternalServerError
|
|
151
|
+
examples:
|
|
152
|
+
- path-parameters:
|
|
153
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
154
|
+
form_id: 580e63e98c9a982ac9b8b741
|
|
155
|
+
query-parameters:
|
|
156
|
+
offset: 1
|
|
157
|
+
limit: 1
|
|
158
|
+
response:
|
|
159
|
+
body:
|
|
160
|
+
formSubmissions:
|
|
161
|
+
- id: 6321ca84df3949bfc6752327
|
|
162
|
+
displayName: Sample Form
|
|
163
|
+
siteId: 62749158efef318abc8d5a0f
|
|
164
|
+
workspaceId: 62749158efef318abc8d5a0f
|
|
165
|
+
dateSubmitted: '2022-09-14T12:35:16Z'
|
|
166
|
+
formResponse:
|
|
167
|
+
First Name: Arthur
|
|
168
|
+
Last Name: Dent
|
|
169
|
+
- id: 660d64fabf6e0a0d4edab981
|
|
170
|
+
displayName: Sample Form
|
|
171
|
+
siteId: 62749158efef318abc8d5a0f
|
|
172
|
+
workspaceId: 62749158efef318abc8d5a0f
|
|
173
|
+
dateSubmitted: '2022-09-14T12:35:16Z'
|
|
174
|
+
formResponse:
|
|
175
|
+
First Name: Ford
|
|
176
|
+
Last Name: Prefect
|
|
177
|
+
pagination:
|
|
178
|
+
limit: 25
|
|
179
|
+
offset: 0
|
|
180
|
+
total: 2
|
|
181
|
+
get-submission:
|
|
182
|
+
path: /sites/{site_id}/form_submissions/{form_submission_id}
|
|
183
|
+
method: GET
|
|
184
|
+
auth:
|
|
185
|
+
- OAuth2:
|
|
186
|
+
- forms:read
|
|
187
|
+
docs: |
|
|
188
|
+
Get information about a form submission within a specific site.
|
|
189
|
+
|
|
190
|
+
Required scope | `forms:read`
|
|
191
|
+
source:
|
|
192
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
193
|
+
path-parameters:
|
|
194
|
+
site_id:
|
|
195
|
+
type: string
|
|
196
|
+
docs: Unique identifier for a Site
|
|
197
|
+
form_submission_id:
|
|
198
|
+
type: string
|
|
199
|
+
docs: Unique identifier for a Form Submission
|
|
200
|
+
display-name: Get Form Submission by Site
|
|
201
|
+
response:
|
|
202
|
+
docs: Request was successful
|
|
203
|
+
type: root.FormSubmission
|
|
204
|
+
status-code: 200
|
|
205
|
+
errors:
|
|
206
|
+
- root.BadRequestError
|
|
207
|
+
- root.UnauthorizedError
|
|
208
|
+
- root.ForbiddenError
|
|
209
|
+
- root.NotFoundError
|
|
210
|
+
- root.TooManyRequestsError
|
|
211
|
+
- root.InternalServerError
|
|
212
|
+
examples:
|
|
213
|
+
- path-parameters:
|
|
214
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
215
|
+
form_submission_id: 580e63e98c9a982ac9b8b741
|
|
216
|
+
response:
|
|
217
|
+
body:
|
|
218
|
+
id: 6321ca84df3949bfc6752327
|
|
219
|
+
displayName: Sample Form
|
|
220
|
+
siteId: 62749158efef318abc8d5a0f
|
|
221
|
+
workspaceId: 62749158efef318abc8d5a0f
|
|
222
|
+
dateSubmitted: '2022-09-14T12:35:16Z'
|
|
223
|
+
formResponse:
|
|
224
|
+
First Name: Arthur
|
|
225
|
+
Last Name: Dent
|
|
226
|
+
delete-submission:
|
|
227
|
+
path: /sites/{site_id}/form_submissions/{form_submission_id}
|
|
228
|
+
method: DELETE
|
|
229
|
+
auth:
|
|
230
|
+
- OAuth2:
|
|
231
|
+
- forms:write
|
|
232
|
+
docs: |
|
|
233
|
+
Delete a form submission within a specific site.
|
|
234
|
+
|
|
235
|
+
Required scope | `forms:write`
|
|
236
|
+
source:
|
|
237
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
238
|
+
path-parameters:
|
|
239
|
+
site_id:
|
|
240
|
+
type: string
|
|
241
|
+
docs: Unique identifier for a Site
|
|
242
|
+
form_submission_id:
|
|
243
|
+
type: string
|
|
244
|
+
docs: Unique identifier for a Form Submission
|
|
245
|
+
display-name: Delete Form Submission by Site
|
|
246
|
+
errors:
|
|
247
|
+
- root.BadRequestError
|
|
248
|
+
- root.UnauthorizedError
|
|
249
|
+
- root.ForbiddenError
|
|
250
|
+
- root.NotFoundError
|
|
251
|
+
- root.ConflictError
|
|
252
|
+
- root.TooManyRequestsError
|
|
253
|
+
- root.InternalServerError
|
|
254
|
+
examples:
|
|
255
|
+
- path-parameters:
|
|
256
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
257
|
+
form_submission_id: 580e63e98c9a982ac9b8b741
|
|
258
|
+
update-submission:
|
|
259
|
+
path: /sites/{site_id}/form_submissions/{form_submission_id}
|
|
260
|
+
method: PATCH
|
|
261
|
+
auth:
|
|
262
|
+
- OAuth2:
|
|
263
|
+
- forms:write
|
|
264
|
+
docs: |
|
|
265
|
+
Update hidden fields on a form submission within a specific site.
|
|
266
|
+
|
|
267
|
+
Required scope | `forms:write`
|
|
268
|
+
source:
|
|
269
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
270
|
+
path-parameters:
|
|
271
|
+
site_id:
|
|
272
|
+
type: string
|
|
273
|
+
docs: Unique identifier for a Site
|
|
274
|
+
form_submission_id:
|
|
275
|
+
type: string
|
|
276
|
+
docs: Unique identifier for a Form Submission
|
|
277
|
+
display-name: Modify Form Submission by Site
|
|
278
|
+
request:
|
|
279
|
+
name: FormsUpdateSubmissionRequest
|
|
280
|
+
body:
|
|
281
|
+
properties:
|
|
282
|
+
formSubmissionData:
|
|
283
|
+
type: optional<map<string, unknown>>
|
|
284
|
+
docs: >-
|
|
285
|
+
An existing **hidden field** defined on the form schema, and the
|
|
286
|
+
corresponding value to set
|
|
287
|
+
content-type: application/json
|
|
288
|
+
response:
|
|
289
|
+
docs: Request was successful
|
|
290
|
+
type: root.FormSubmission
|
|
291
|
+
status-code: 200
|
|
292
|
+
errors:
|
|
293
|
+
- root.BadRequestError
|
|
294
|
+
- root.UnauthorizedError
|
|
295
|
+
- root.ForbiddenError
|
|
296
|
+
- root.NotFoundError
|
|
297
|
+
- root.ConflictError
|
|
298
|
+
- root.TooManyRequestsError
|
|
299
|
+
- root.InternalServerError
|
|
300
|
+
examples:
|
|
301
|
+
- path-parameters:
|
|
302
|
+
site_id: 580e63e98c9a982ac9b8b741
|
|
303
|
+
form_submission_id: 580e63e98c9a982ac9b8b741
|
|
304
|
+
request: {}
|
|
305
|
+
response:
|
|
306
|
+
body:
|
|
307
|
+
id: 6321ca84df3949bfc6752327
|
|
308
|
+
displayName: Sample Form
|
|
309
|
+
siteId: 62749158efef318abc8d5a0f
|
|
310
|
+
workspaceId: 62749158efef318abc8d5a0f
|
|
311
|
+
dateSubmitted: '2022-09-14T12:35:16Z'
|
|
312
|
+
formResponse:
|
|
313
|
+
First Name: Arthur
|
|
314
|
+
Last Name: Dent
|
|
315
|
+
source:
|
|
316
|
+
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -7,7 +7,9 @@ service:
|
|
|
7
7
|
list:
|
|
8
8
|
path: /sites/{site_id}/redirects
|
|
9
9
|
method: GET
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- sites:read
|
|
11
13
|
docs: >
|
|
12
14
|
Fetch a list of all 301 redirect rules configured for a specific site.
|
|
13
15
|
|
|
@@ -57,7 +59,9 @@ service:
|
|
|
57
59
|
create:
|
|
58
60
|
path: /sites/{site_id}/redirects
|
|
59
61
|
method: POST
|
|
60
|
-
auth:
|
|
62
|
+
auth:
|
|
63
|
+
- OAuth2:
|
|
64
|
+
- sites:write
|
|
61
65
|
docs: >
|
|
62
66
|
Add a new 301 redirection rule to a site.
|
|
63
67
|
|
|
@@ -108,7 +112,9 @@ service:
|
|
|
108
112
|
delete:
|
|
109
113
|
path: /sites/{site_id}/redirects/{redirect_id}
|
|
110
114
|
method: DELETE
|
|
111
|
-
auth:
|
|
115
|
+
auth:
|
|
116
|
+
- OAuth2:
|
|
117
|
+
- sites:write
|
|
112
118
|
docs: >
|
|
113
119
|
Remove a 301 redirection rule from a site.
|
|
114
120
|
|
|
@@ -163,7 +169,9 @@ service:
|
|
|
163
169
|
update:
|
|
164
170
|
path: /sites/{site_id}/redirects/{redirect_id}
|
|
165
171
|
method: PATCH
|
|
166
|
-
auth:
|
|
172
|
+
auth:
|
|
173
|
+
- OAuth2:
|
|
174
|
+
- sites:write
|
|
167
175
|
docs: >
|
|
168
176
|
Update a 301 redirection rule from a site.
|
|
169
177
|
|
|
@@ -7,7 +7,9 @@ service:
|
|
|
7
7
|
get:
|
|
8
8
|
path: /sites/{site_id}/robots_txt
|
|
9
9
|
method: GET
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- site_config:read
|
|
11
13
|
docs: >
|
|
12
14
|
Retrieve the robots.txt configuration for various user agents.
|
|
13
15
|
|
|
@@ -50,7 +52,9 @@ service:
|
|
|
50
52
|
put:
|
|
51
53
|
path: /sites/{site_id}/robots_txt
|
|
52
54
|
method: PUT
|
|
53
|
-
auth:
|
|
55
|
+
auth:
|
|
56
|
+
- OAuth2:
|
|
57
|
+
- site_config:write
|
|
54
58
|
docs: >
|
|
55
59
|
Replace the `robots.txt` configuration for various user agents.
|
|
56
60
|
|
|
@@ -105,7 +109,9 @@ service:
|
|
|
105
109
|
delete:
|
|
106
110
|
path: /sites/{site_id}/robots_txt
|
|
107
111
|
method: DELETE
|
|
108
|
-
auth:
|
|
112
|
+
auth:
|
|
113
|
+
- OAuth2:
|
|
114
|
+
- site_config:write
|
|
109
115
|
docs: >
|
|
110
116
|
Remove specific rules for a user-agent in your `robots.txt` file. To
|
|
111
117
|
delete all rules for a user-agent, provide an empty rule set. This will
|
|
@@ -165,7 +171,9 @@ service:
|
|
|
165
171
|
patch:
|
|
166
172
|
path: /sites/{site_id}/robots_txt
|
|
167
173
|
method: PATCH
|
|
168
|
-
auth:
|
|
174
|
+
auth:
|
|
175
|
+
- OAuth2:
|
|
176
|
+
- site_config:write
|
|
169
177
|
docs: >
|
|
170
178
|
Update the `robots.txt` configuration for various user agents.
|
|
171
179
|
|
|
@@ -7,7 +7,9 @@ service:
|
|
|
7
7
|
get-custom-code:
|
|
8
8
|
path: /sites/{site_id}/custom_code
|
|
9
9
|
method: GET
|
|
10
|
-
auth:
|
|
10
|
+
auth:
|
|
11
|
+
- OAuth2:
|
|
12
|
+
- custom_code:read
|
|
11
13
|
docs: |
|
|
12
14
|
Get all scripts applied to a site by the App.
|
|
13
15
|
|
|
@@ -54,14 +56,22 @@ service:
|
|
|
54
56
|
upsert-custom-code:
|
|
55
57
|
path: /sites/{site_id}/custom_code
|
|
56
58
|
method: PUT
|
|
57
|
-
auth:
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
auth:
|
|
60
|
+
- OAuth2:
|
|
61
|
+
- custom_code:write
|
|
62
|
+
docs: >
|
|
63
|
+
Apply registered scripts to a site. If you have multiple scripts your
|
|
64
|
+
App needs to apply or maintain on a site, ensure they are always
|
|
65
|
+
included in the request body for this endpoint. To remove individual
|
|
66
|
+
scripts, simply call this endpoint without the script in the request
|
|
67
|
+
body.
|
|
68
|
+
|
|
60
69
|
|
|
61
70
|
<Note title="Script Registration">
|
|
62
71
|
To apply a script to a site or page, the script must first be registered to a site via the [Register Script](/data/reference/custom-code/custom-code/register-hosted) endpoints. Once registered, the script can be applied to a Site or Page using the appropriate endpoints. See the documentation on [working with Custom Code](/data/docs/custom-code) for more information.
|
|
63
72
|
</Note>
|
|
64
73
|
|
|
74
|
+
|
|
65
75
|
Required scope | `custom_code:write`
|
|
66
76
|
source:
|
|
67
77
|
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
@@ -114,10 +124,22 @@ service:
|
|
|
114
124
|
delete-custom-code:
|
|
115
125
|
path: /sites/{site_id}/custom_code
|
|
116
126
|
method: DELETE
|
|
117
|
-
auth:
|
|
127
|
+
auth:
|
|
128
|
+
- OAuth2:
|
|
129
|
+
- custom_code:write
|
|
118
130
|
docs: >
|
|
119
|
-
Remove scripts from a site applied by the App. This endpoint will
|
|
120
|
-
remove scripts from the site's registered scripts.
|
|
131
|
+
Remove all scripts from a site applied by the App. This endpoint will
|
|
132
|
+
not remove scripts from the site's registered scripts.
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
To remove individual scripts applied by the App, use the [Add/Update
|
|
136
|
+
Custom
|
|
137
|
+
Code](/data/reference/custom-code/custom-code-sites/upsert-custom-code)
|
|
138
|
+
endpoint.
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
<Note>Access to this endpoint requires a bearer token obtained from an
|
|
142
|
+
[OAuth Code Grant Flow](/data/reference/oauth-app).</Note>
|
|
121
143
|
|
|
122
144
|
|
|
123
145
|
Required scope | `custom_code:write`
|
|
@@ -140,7 +162,9 @@ service:
|
|
|
140
162
|
list-custom-code-blocks:
|
|
141
163
|
path: /sites/{site_id}/custom_code/blocks
|
|
142
164
|
method: GET
|
|
143
|
-
auth:
|
|
165
|
+
auth:
|
|
166
|
+
- OAuth2:
|
|
167
|
+
- custom_code:read
|
|
144
168
|
docs: >
|
|
145
169
|
Get a list of scripts that have been applied to a site and/or individual
|
|
146
170
|
pages.
|
|
@@ -165,12 +189,12 @@ service:
|
|
|
165
189
|
name: ScriptsListCustomCodeBlocksRequest
|
|
166
190
|
query-parameters:
|
|
167
191
|
offset:
|
|
168
|
-
type: optional<
|
|
192
|
+
type: optional<integer>
|
|
169
193
|
docs: >-
|
|
170
194
|
Offset used for pagination if the results have more than limit
|
|
171
195
|
records
|
|
172
196
|
limit:
|
|
173
|
-
type: optional<
|
|
197
|
+
type: optional<integer>
|
|
174
198
|
docs: 'Maximum number of records to be returned (max limit: 100)'
|
|
175
199
|
response:
|
|
176
200
|
docs: Request was successful
|
|
@@ -185,10 +209,14 @@ service:
|
|
|
185
209
|
examples:
|
|
186
210
|
- path-parameters:
|
|
187
211
|
site_id: 580e63e98c9a982ac9b8b741
|
|
212
|
+
query-parameters:
|
|
213
|
+
offset: 1
|
|
214
|
+
limit: 1
|
|
188
215
|
response:
|
|
189
216
|
body:
|
|
190
217
|
blocks:
|
|
191
218
|
- siteId: 6258612d1ee792848f805dcf
|
|
219
|
+
pageId: pageId
|
|
192
220
|
type: site
|
|
193
221
|
scripts:
|
|
194
222
|
- id: chartjs
|