webflow-api 3.1.2 → 3.1.4
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 +657 -27
- package/.mock/definition/api.yml +9 -2
- package/.mock/definition/assets.yml +1 -1
- package/.mock/definition/collections/items.yml +21 -4
- package/.mock/definition/components.yml +31 -27
- package/.mock/definition/orders.yml +14 -14
- package/.mock/definition/pages.yml +35 -7
- package/.mock/definition/products.yml +156 -42
- package/.mock/definition/sites/comments.yml +325 -0
- package/.mock/definition/sites/redirects.yml +8 -8
- package/.mock/definition/sites/robotsTxt.yml +22 -3
- package/.mock/definition/sites/wellKnown.yml +114 -0
- package/.mock/definition/sites.yml +4 -4
- package/.mock/definition/workspaces/auditLogs.yml +119 -0
- package/.mock/fern.config.json +1 -1
- package/Client.d.ts +4 -1
- package/Client.js +5 -0
- package/api/resources/accessGroups/client/Client.d.ts +1 -1
- package/api/resources/accessGroups/client/Client.js +2 -2
- package/api/resources/assets/client/Client.d.ts +1 -1
- package/api/resources/assets/client/Client.js +16 -16
- package/api/resources/collections/client/Client.d.ts +1 -1
- package/api/resources/collections/client/Client.js +8 -8
- package/api/resources/collections/resources/fields/client/Client.d.ts +1 -1
- package/api/resources/collections/resources/fields/client/Client.js +6 -6
- package/api/resources/collections/resources/items/client/Client.d.ts +23 -5
- package/api/resources/collections/resources/items/client/Client.js +57 -36
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +6 -2
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +6 -2
- package/api/resources/components/client/Client.d.ts +18 -2
- package/api/resources/components/client/Client.js +27 -11
- package/api/resources/components/client/requests/ComponentDomWrite.d.ts +16 -0
- package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +0 -5
- package/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +1 -1
- package/api/resources/ecommerce/client/Client.d.ts +1 -1
- package/api/resources/ecommerce/client/Client.js +2 -2
- package/api/resources/forms/client/Client.d.ts +1 -1
- package/api/resources/forms/client/Client.js +14 -14
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +2 -1
- package/api/resources/inventory/client/Client.d.ts +1 -1
- package/api/resources/inventory/client/Client.js +4 -4
- package/api/resources/orders/client/Client.d.ts +1 -1
- package/api/resources/orders/client/Client.js +12 -12
- package/api/resources/pages/client/Client.d.ts +18 -2
- package/api/resources/pages/client/Client.js +27 -11
- package/api/resources/pages/client/requests/PageDomWrite.d.ts +16 -0
- package/api/resources/pages/resources/scripts/client/Client.d.ts +1 -1
- package/api/resources/pages/resources/scripts/client/Client.js +6 -6
- package/api/resources/pages/types/PageDomWriteNodesItem.d.ts +1 -1
- package/api/resources/products/client/Client.d.ts +84 -14
- package/api/resources/products/client/Client.js +95 -25
- package/api/resources/products/client/requests/ProductSkuCreate.d.ts +57 -3
- package/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +11 -1
- package/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +11 -1
- package/api/resources/products/types/ProductSkuCreateProduct.d.ts +7 -0
- package/api/resources/products/types/ProductSkuCreateProduct.js +5 -0
- package/api/resources/products/types/ProductSkuCreateSku.d.ts +7 -0
- package/api/resources/products/types/ProductSkuCreateSku.js +5 -0
- package/api/resources/products/types/index.d.ts +2 -0
- package/api/resources/products/types/index.js +2 -0
- package/api/resources/scripts/client/Client.d.ts +1 -1
- package/api/resources/scripts/client/Client.js +6 -6
- package/api/resources/sites/client/Client.d.ts +7 -1
- package/api/resources/sites/client/Client.js +28 -18
- package/api/resources/sites/index.d.ts +1 -1
- package/api/resources/sites/index.js +1 -1
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
- package/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
- package/api/resources/sites/resources/comments/client/Client.d.ts +104 -0
- package/api/resources/sites/resources/comments/client/Client.js +426 -0
- package/api/resources/sites/resources/comments/client/index.d.ts +1 -0
- package/api/resources/sites/resources/comments/client/index.js +17 -0
- package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +32 -0
- package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.js +5 -0
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +32 -0
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.js +5 -0
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +32 -0
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.js +5 -0
- package/api/resources/sites/resources/comments/client/requests/index.d.ts +3 -0
- package/api/resources/sites/resources/comments/client/requests/index.js +2 -0
- package/api/resources/sites/resources/comments/index.d.ts +2 -0
- package/api/resources/sites/resources/comments/index.js +18 -0
- package/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.d.ts +8 -0
- package/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.js +10 -0
- package/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.d.ts +8 -0
- package/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.js +10 -0
- package/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.d.ts +8 -0
- package/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.js +10 -0
- package/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.d.ts +8 -0
- package/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.js +10 -0
- package/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.d.ts +8 -0
- package/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.js +10 -0
- package/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.d.ts +8 -0
- package/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.js +10 -0
- package/api/resources/sites/resources/comments/types/index.d.ts +6 -0
- package/api/resources/sites/resources/comments/types/index.js +22 -0
- package/api/resources/sites/resources/index.d.ts +6 -0
- package/api/resources/sites/resources/index.js +7 -1
- package/api/resources/sites/resources/plans/client/Client.d.ts +1 -1
- package/api/resources/sites/resources/plans/client/Client.js +2 -2
- package/api/resources/sites/resources/redirects/client/Client.d.ts +5 -5
- package/api/resources/sites/resources/redirects/client/Client.js +12 -12
- package/api/resources/sites/resources/robotsTxt/client/Client.d.ts +9 -1
- package/api/resources/sites/resources/robotsTxt/client/Client.js +16 -8
- package/api/resources/sites/resources/scripts/client/Client.d.ts +1 -1
- package/api/resources/sites/resources/scripts/client/Client.js +8 -8
- package/api/resources/sites/resources/wellKnown/client/Client.d.ts +81 -0
- package/api/resources/sites/resources/wellKnown/client/Client.js +268 -0
- package/api/resources/sites/resources/wellKnown/client/index.d.ts +1 -0
- package/api/resources/sites/resources/wellKnown/client/index.js +17 -0
- package/api/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.d.ts +11 -0
- package/api/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.js +5 -0
- package/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +19 -0
- package/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.js +5 -0
- package/api/resources/sites/resources/wellKnown/client/requests/index.d.ts +2 -0
- package/api/resources/sites/resources/wellKnown/client/requests/index.js +2 -0
- package/api/resources/sites/resources/wellKnown/index.d.ts +2 -0
- package/api/resources/sites/resources/wellKnown/index.js +18 -0
- package/api/resources/sites/resources/wellKnown/types/WellKnownFileContentType.d.ts +11 -0
- package/api/resources/sites/resources/wellKnown/types/WellKnownFileContentType.js +10 -0
- package/api/resources/sites/resources/wellKnown/types/index.d.ts +1 -0
- package/api/resources/sites/resources/wellKnown/types/index.js +17 -0
- package/api/resources/token/client/Client.d.ts +1 -1
- package/api/resources/token/client/Client.js +4 -4
- package/api/resources/users/client/Client.d.ts +1 -1
- package/api/resources/users/client/Client.js +10 -10
- package/api/resources/webhooks/client/Client.d.ts +1 -1
- package/api/resources/webhooks/client/Client.js +8 -8
- package/api/resources/workspaces/client/Client.d.ts +28 -0
- package/api/resources/workspaces/client/Client.js +17 -0
- package/api/resources/workspaces/client/index.d.ts +1 -0
- package/api/resources/workspaces/client/index.js +2 -0
- package/api/resources/workspaces/index.d.ts +2 -0
- package/api/resources/workspaces/index.js +18 -0
- package/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +51 -0
- package/api/resources/workspaces/resources/auditLogs/client/Client.js +182 -0
- package/api/resources/workspaces/resources/auditLogs/client/index.d.ts +1 -0
- package/api/resources/workspaces/resources/auditLogs/client/index.js +17 -0
- package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +37 -0
- package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.js +5 -0
- package/api/resources/workspaces/resources/auditLogs/client/requests/index.d.ts +1 -0
- package/api/resources/workspaces/resources/auditLogs/client/requests/index.js +2 -0
- package/api/resources/workspaces/resources/auditLogs/index.d.ts +2 -0
- package/api/resources/workspaces/resources/auditLogs/index.js +18 -0
- package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +11 -0
- package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +13 -0
- package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.d.ts +8 -0
- package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.js +10 -0
- package/api/resources/workspaces/resources/auditLogs/types/index.d.ts +2 -0
- package/api/resources/workspaces/resources/auditLogs/types/index.js +18 -0
- package/api/resources/workspaces/resources/index.d.ts +3 -0
- package/api/resources/workspaces/resources/index.js +32 -0
- package/api/types/CommentReply.d.ts +32 -0
- package/api/types/CommentReply.js +5 -0
- package/api/types/CommentReplyAuthor.d.ts +11 -0
- package/api/types/CommentReplyAuthor.js +5 -0
- package/api/types/CommentReplyList.d.ts +11 -0
- package/api/types/CommentReplyList.js +5 -0
- package/api/types/CommentReplyListPagination.d.ts +11 -0
- package/api/types/CommentReplyListPagination.js +5 -0
- package/api/types/CommentReplyMentionedUsersItem.d.ts +11 -0
- package/api/types/CommentReplyMentionedUsersItem.js +5 -0
- package/api/types/CommentThread.d.ts +34 -0
- package/api/types/CommentThread.js +5 -0
- package/api/types/CommentThreadAuthor.d.ts +11 -0
- package/api/types/CommentThreadAuthor.js +5 -0
- package/api/types/CommentThreadList.d.ts +11 -0
- package/api/types/CommentThreadList.js +5 -0
- package/api/types/CommentThreadListPagination.d.ts +11 -0
- package/api/types/CommentThreadListPagination.js +5 -0
- package/api/types/CommentThreadMentionedUsersItem.d.ts +11 -0
- package/api/types/CommentThreadMentionedUsersItem.js +5 -0
- package/api/types/ComponentDom.d.ts +1 -1
- package/api/types/CustomRole.d.ts +9 -0
- package/api/types/CustomRole.js +5 -0
- package/api/types/CustomRoleAuditLogItem.d.ts +8 -0
- package/api/types/CustomRoleAuditLogItem.js +5 -0
- package/api/types/CustomRoleAuditLogItemEventSubType.d.ts +9 -0
- package/api/types/CustomRoleAuditLogItemEventSubType.js +11 -0
- package/api/types/FieldType.d.ts +4 -2
- package/api/types/FieldType.js +3 -1
- package/api/types/Node.d.ts +13 -1
- package/api/types/Page.d.ts +0 -2
- package/api/types/SearchButtonNode.d.ts +14 -0
- package/api/types/SearchButtonNode.js +5 -0
- package/api/types/SearchButtonNodeWrite.d.ts +12 -0
- package/api/types/SearchButtonNodeWrite.js +5 -0
- package/api/types/SelectNode.d.ts +15 -0
- package/api/types/SelectNode.js +5 -0
- package/api/types/SelectNodeChoicesItem.d.ts +9 -0
- package/api/types/SelectNodeChoicesItem.js +5 -0
- package/api/types/SelectNodeWrite.d.ts +13 -0
- package/api/types/SelectNodeWrite.js +5 -0
- package/api/types/SelectNodeWriteChoicesItem.d.ts +9 -0
- package/api/types/SelectNodeWriteChoicesItem.js +5 -0
- package/api/types/SiteMembership.d.ts +14 -0
- package/api/types/SiteMembership.js +5 -0
- package/api/types/SiteMembershipAuditLogItem.d.ts +8 -0
- package/api/types/SiteMembershipAuditLogItem.js +5 -0
- package/api/types/SiteMembershipAuditLogItemEventSubType.d.ts +9 -0
- package/api/types/SiteMembershipAuditLogItemEventSubType.js +11 -0
- package/api/types/SkuFieldData.d.ts +6 -0
- package/api/types/SkuFieldDataPrice.d.ts +2 -0
- package/api/types/SkuValueList.d.ts +1 -1
- package/api/types/StaticFieldType.d.ts +2 -2
- package/api/types/StaticFieldType.js +1 -1
- package/api/types/SubmitButtonNode.d.ts +16 -0
- package/api/types/SubmitButtonNode.js +5 -0
- package/api/types/SubmitButtonNodeWrite.d.ts +14 -0
- package/api/types/SubmitButtonNodeWrite.js +5 -0
- package/api/types/TextInputNode.d.ts +14 -0
- package/api/types/TextInputNode.js +5 -0
- package/api/types/TextInputNodeWrite.d.ts +12 -0
- package/api/types/TextInputNodeWrite.js +5 -0
- package/api/types/TriggerType.d.ts +2 -1
- package/api/types/TriggerType.js +1 -0
- package/api/types/UserAccess.d.ts +11 -0
- package/api/types/UserAccess.js +5 -0
- package/api/types/UserAccessAuditLogItem.d.ts +8 -0
- package/api/types/UserAccessAuditLogItem.js +5 -0
- package/api/types/UserAccessAuditLogItemEventSubType.d.ts +8 -0
- package/api/types/UserAccessAuditLogItemEventSubType.js +10 -0
- package/api/types/WorkspaceAuditLogItem.d.ts +27 -0
- package/api/types/WorkspaceAuditLogItem.js +5 -0
- package/api/types/WorkspaceAuditLogItemActor.d.ts +7 -0
- package/api/types/WorkspaceAuditLogItemActor.js +5 -0
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +11 -0
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +13 -0
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.d.ts +7 -0
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.js +5 -0
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.d.ts +7 -0
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.js +5 -0
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.d.ts +10 -0
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.js +12 -0
- package/api/types/WorkspaceAuditLogItemPayloadUserAccessMethod.d.ts +10 -0
- package/api/types/WorkspaceAuditLogItemPayloadUserAccessMethod.js +12 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.d.ts +9 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.js +11 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.d.ts +7 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.js +5 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.d.ts +10 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.js +12 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +9 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +11 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.d.ts +7 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.js +5 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.d.ts +10 -0
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.js +12 -0
- package/api/types/WorkspaceAuditLogItemWorkspace.d.ts +7 -0
- package/api/types/WorkspaceAuditLogItemWorkspace.js +5 -0
- package/api/types/WorkspaceAuditLogResponse.d.ts +8 -0
- package/api/types/WorkspaceAuditLogResponse.js +5 -0
- package/api/types/WorkspaceInvitation.d.ts +13 -0
- package/api/types/WorkspaceInvitation.js +5 -0
- package/api/types/WorkspaceInvitationAuditLogItem.d.ts +8 -0
- package/api/types/WorkspaceInvitationAuditLogItem.js +5 -0
- package/api/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +11 -0
- package/api/types/WorkspaceInvitationAuditLogItemEventSubType.js +13 -0
- package/api/types/WorkspaceMembership.d.ts +13 -0
- package/api/types/WorkspaceMembership.js +5 -0
- package/api/types/WorkspaceMembershipAuditLogItem.d.ts +8 -0
- package/api/types/WorkspaceMembershipAuditLogItem.js +5 -0
- package/api/types/WorkspaceMembershipAuditLogItemEventSubType.d.ts +9 -0
- package/api/types/WorkspaceMembershipAuditLogItemEventSubType.js +11 -0
- package/api/types/index.d.ts +51 -1
- package/api/types/index.js +51 -1
- package/dist/Client.d.ts +4 -1
- package/dist/Client.js +5 -0
- package/dist/api/resources/accessGroups/client/Client.d.ts +1 -1
- package/dist/api/resources/accessGroups/client/Client.js +2 -2
- package/dist/api/resources/assets/client/Client.d.ts +1 -1
- package/dist/api/resources/assets/client/Client.js +16 -16
- package/dist/api/resources/collections/client/Client.d.ts +1 -1
- package/dist/api/resources/collections/client/Client.js +8 -8
- package/dist/api/resources/collections/resources/fields/client/Client.d.ts +1 -1
- package/dist/api/resources/collections/resources/fields/client/Client.js +6 -6
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +23 -5
- package/dist/api/resources/collections/resources/items/client/Client.js +57 -36
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +6 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +6 -2
- package/dist/api/resources/components/client/Client.d.ts +18 -2
- package/dist/api/resources/components/client/Client.js +27 -11
- package/dist/api/resources/components/client/requests/ComponentDomWrite.d.ts +16 -0
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +0 -5
- package/dist/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +1 -1
- package/dist/api/resources/ecommerce/client/Client.d.ts +1 -1
- package/dist/api/resources/ecommerce/client/Client.js +2 -2
- package/dist/api/resources/forms/client/Client.d.ts +1 -1
- package/dist/api/resources/forms/client/Client.js +14 -14
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +2 -1
- package/dist/api/resources/inventory/client/Client.d.ts +1 -1
- package/dist/api/resources/inventory/client/Client.js +4 -4
- package/dist/api/resources/orders/client/Client.d.ts +1 -1
- package/dist/api/resources/orders/client/Client.js +12 -12
- package/dist/api/resources/pages/client/Client.d.ts +18 -2
- package/dist/api/resources/pages/client/Client.js +27 -11
- package/dist/api/resources/pages/client/requests/PageDomWrite.d.ts +16 -0
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +1 -1
- package/dist/api/resources/pages/resources/scripts/client/Client.js +6 -6
- package/dist/api/resources/pages/types/PageDomWriteNodesItem.d.ts +1 -1
- package/dist/api/resources/products/client/Client.d.ts +84 -14
- package/dist/api/resources/products/client/Client.js +95 -25
- package/dist/api/resources/products/client/requests/ProductSkuCreate.d.ts +57 -3
- package/dist/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +11 -1
- package/dist/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +11 -1
- package/dist/api/resources/products/types/ProductSkuCreateProduct.d.ts +7 -0
- package/dist/api/resources/products/types/ProductSkuCreateProduct.js +5 -0
- package/dist/api/resources/products/types/ProductSkuCreateSku.d.ts +7 -0
- package/dist/api/resources/products/types/ProductSkuCreateSku.js +5 -0
- package/dist/api/resources/products/types/index.d.ts +2 -0
- package/dist/api/resources/products/types/index.js +2 -0
- package/dist/api/resources/scripts/client/Client.d.ts +1 -1
- package/dist/api/resources/scripts/client/Client.js +6 -6
- package/dist/api/resources/sites/client/Client.d.ts +7 -1
- package/dist/api/resources/sites/client/Client.js +28 -18
- package/dist/api/resources/sites/index.d.ts +1 -1
- package/dist/api/resources/sites/index.js +1 -1
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +2 -2
- package/dist/api/resources/sites/resources/comments/client/Client.d.ts +104 -0
- package/dist/api/resources/sites/resources/comments/client/Client.js +426 -0
- package/dist/api/resources/sites/resources/comments/client/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/comments/client/index.js +17 -0
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +32 -0
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.js +5 -0
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +32 -0
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.js +5 -0
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +32 -0
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.js +5 -0
- package/dist/api/resources/sites/resources/comments/client/requests/index.d.ts +3 -0
- package/dist/api/resources/sites/resources/comments/client/requests/index.js +2 -0
- package/dist/api/resources/sites/resources/comments/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/comments/index.js +18 -0
- package/dist/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.d.ts +8 -0
- package/dist/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.js +10 -0
- package/dist/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.d.ts +8 -0
- package/dist/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.js +10 -0
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.d.ts +8 -0
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.js +10 -0
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.d.ts +8 -0
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.js +10 -0
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.d.ts +8 -0
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.js +10 -0
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.d.ts +8 -0
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.js +10 -0
- package/dist/api/resources/sites/resources/comments/types/index.d.ts +6 -0
- package/dist/api/resources/sites/resources/comments/types/index.js +22 -0
- package/dist/api/resources/sites/resources/index.d.ts +6 -0
- package/dist/api/resources/sites/resources/index.js +7 -1
- package/dist/api/resources/sites/resources/plans/client/Client.d.ts +1 -1
- package/dist/api/resources/sites/resources/plans/client/Client.js +2 -2
- package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +5 -5
- package/dist/api/resources/sites/resources/redirects/client/Client.js +12 -12
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.d.ts +9 -1
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +16 -8
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +1 -1
- package/dist/api/resources/sites/resources/scripts/client/Client.js +8 -8
- package/dist/api/resources/sites/resources/wellKnown/client/Client.d.ts +81 -0
- package/dist/api/resources/sites/resources/wellKnown/client/Client.js +268 -0
- package/dist/api/resources/sites/resources/wellKnown/client/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/wellKnown/client/index.js +17 -0
- package/dist/api/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.d.ts +11 -0
- package/dist/api/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.js +5 -0
- package/dist/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +19 -0
- package/dist/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.js +5 -0
- package/dist/api/resources/sites/resources/wellKnown/client/requests/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/wellKnown/client/requests/index.js +2 -0
- package/dist/api/resources/sites/resources/wellKnown/index.d.ts +2 -0
- package/dist/api/resources/sites/resources/wellKnown/index.js +18 -0
- package/dist/api/resources/sites/resources/wellKnown/types/WellKnownFileContentType.d.ts +11 -0
- package/dist/api/resources/sites/resources/wellKnown/types/WellKnownFileContentType.js +10 -0
- package/dist/api/resources/sites/resources/wellKnown/types/index.d.ts +1 -0
- package/dist/api/resources/sites/resources/wellKnown/types/index.js +17 -0
- package/dist/api/resources/token/client/Client.d.ts +1 -1
- package/dist/api/resources/token/client/Client.js +4 -4
- package/dist/api/resources/users/client/Client.d.ts +1 -1
- package/dist/api/resources/users/client/Client.js +10 -10
- package/dist/api/resources/webhooks/client/Client.d.ts +1 -1
- package/dist/api/resources/webhooks/client/Client.js +8 -8
- package/dist/api/resources/workspaces/client/Client.d.ts +28 -0
- package/dist/api/resources/workspaces/client/Client.js +17 -0
- package/dist/api/resources/workspaces/client/index.d.ts +1 -0
- package/dist/api/resources/workspaces/client/index.js +2 -0
- package/dist/api/resources/workspaces/index.d.ts +2 -0
- package/dist/api/resources/workspaces/index.js +18 -0
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +51 -0
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.js +182 -0
- package/dist/api/resources/workspaces/resources/auditLogs/client/index.d.ts +1 -0
- package/dist/api/resources/workspaces/resources/auditLogs/client/index.js +17 -0
- package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +37 -0
- package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.js +5 -0
- package/dist/api/resources/workspaces/resources/auditLogs/client/requests/index.d.ts +1 -0
- package/dist/api/resources/workspaces/resources/auditLogs/client/requests/index.js +2 -0
- package/dist/api/resources/workspaces/resources/auditLogs/index.d.ts +2 -0
- package/dist/api/resources/workspaces/resources/auditLogs/index.js +18 -0
- package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +11 -0
- package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +13 -0
- package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.d.ts +8 -0
- package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.js +10 -0
- package/dist/api/resources/workspaces/resources/auditLogs/types/index.d.ts +2 -0
- package/dist/api/resources/workspaces/resources/auditLogs/types/index.js +18 -0
- package/dist/api/resources/workspaces/resources/index.d.ts +3 -0
- package/dist/api/resources/workspaces/resources/index.js +32 -0
- package/dist/api/types/CommentReply.d.ts +32 -0
- package/dist/api/types/CommentReply.js +5 -0
- package/dist/api/types/CommentReplyAuthor.d.ts +11 -0
- package/dist/api/types/CommentReplyAuthor.js +5 -0
- package/dist/api/types/CommentReplyList.d.ts +11 -0
- package/dist/api/types/CommentReplyList.js +5 -0
- package/dist/api/types/CommentReplyListPagination.d.ts +11 -0
- package/dist/api/types/CommentReplyListPagination.js +5 -0
- package/dist/api/types/CommentReplyMentionedUsersItem.d.ts +11 -0
- package/dist/api/types/CommentReplyMentionedUsersItem.js +5 -0
- package/dist/api/types/CommentThread.d.ts +34 -0
- package/dist/api/types/CommentThread.js +5 -0
- package/dist/api/types/CommentThreadAuthor.d.ts +11 -0
- package/dist/api/types/CommentThreadAuthor.js +5 -0
- package/dist/api/types/CommentThreadList.d.ts +11 -0
- package/dist/api/types/CommentThreadList.js +5 -0
- package/dist/api/types/CommentThreadListPagination.d.ts +11 -0
- package/dist/api/types/CommentThreadListPagination.js +5 -0
- package/dist/api/types/CommentThreadMentionedUsersItem.d.ts +11 -0
- package/dist/api/types/CommentThreadMentionedUsersItem.js +5 -0
- package/dist/api/types/ComponentDom.d.ts +1 -1
- package/dist/api/types/CustomRole.d.ts +9 -0
- package/dist/api/types/CustomRole.js +5 -0
- package/dist/api/types/CustomRoleAuditLogItem.d.ts +8 -0
- package/dist/api/types/CustomRoleAuditLogItem.js +5 -0
- package/dist/api/types/CustomRoleAuditLogItemEventSubType.d.ts +9 -0
- package/dist/api/types/CustomRoleAuditLogItemEventSubType.js +11 -0
- package/dist/api/types/FieldType.d.ts +4 -2
- package/dist/api/types/FieldType.js +3 -1
- package/dist/api/types/Node.d.ts +13 -1
- package/dist/api/types/Page.d.ts +0 -2
- package/dist/api/types/SearchButtonNode.d.ts +14 -0
- package/dist/api/types/SearchButtonNode.js +5 -0
- package/dist/api/types/SearchButtonNodeWrite.d.ts +12 -0
- package/dist/api/types/SearchButtonNodeWrite.js +5 -0
- package/dist/api/types/SelectNode.d.ts +15 -0
- package/dist/api/types/SelectNode.js +5 -0
- package/dist/api/types/SelectNodeChoicesItem.d.ts +9 -0
- package/dist/api/types/SelectNodeChoicesItem.js +5 -0
- package/dist/api/types/SelectNodeWrite.d.ts +13 -0
- package/dist/api/types/SelectNodeWrite.js +5 -0
- package/dist/api/types/SelectNodeWriteChoicesItem.d.ts +9 -0
- package/dist/api/types/SelectNodeWriteChoicesItem.js +5 -0
- package/dist/api/types/SiteMembership.d.ts +14 -0
- package/dist/api/types/SiteMembership.js +5 -0
- package/dist/api/types/SiteMembershipAuditLogItem.d.ts +8 -0
- package/dist/api/types/SiteMembershipAuditLogItem.js +5 -0
- package/dist/api/types/SiteMembershipAuditLogItemEventSubType.d.ts +9 -0
- package/dist/api/types/SiteMembershipAuditLogItemEventSubType.js +11 -0
- package/dist/api/types/SkuFieldData.d.ts +6 -0
- package/dist/api/types/SkuFieldDataPrice.d.ts +2 -0
- package/dist/api/types/SkuValueList.d.ts +1 -1
- package/dist/api/types/StaticFieldType.d.ts +2 -2
- package/dist/api/types/StaticFieldType.js +1 -1
- package/dist/api/types/SubmitButtonNode.d.ts +16 -0
- package/dist/api/types/SubmitButtonNode.js +5 -0
- package/dist/api/types/SubmitButtonNodeWrite.d.ts +14 -0
- package/dist/api/types/SubmitButtonNodeWrite.js +5 -0
- package/dist/api/types/TextInputNode.d.ts +14 -0
- package/dist/api/types/TextInputNode.js +5 -0
- package/dist/api/types/TextInputNodeWrite.d.ts +12 -0
- package/dist/api/types/TextInputNodeWrite.js +5 -0
- package/dist/api/types/TriggerType.d.ts +2 -1
- package/dist/api/types/TriggerType.js +1 -0
- package/dist/api/types/UserAccess.d.ts +11 -0
- package/dist/api/types/UserAccess.js +5 -0
- package/dist/api/types/UserAccessAuditLogItem.d.ts +8 -0
- package/dist/api/types/UserAccessAuditLogItem.js +5 -0
- package/dist/api/types/UserAccessAuditLogItemEventSubType.d.ts +8 -0
- package/dist/api/types/UserAccessAuditLogItemEventSubType.js +10 -0
- package/dist/api/types/WorkspaceAuditLogItem.d.ts +27 -0
- package/dist/api/types/WorkspaceAuditLogItem.js +5 -0
- package/dist/api/types/WorkspaceAuditLogItemActor.d.ts +7 -0
- package/dist/api/types/WorkspaceAuditLogItemActor.js +5 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +11 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +13 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.d.ts +7 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.js +5 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.d.ts +7 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.js +5 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.d.ts +10 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.js +12 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadUserAccessMethod.d.ts +10 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadUserAccessMethod.js +12 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.d.ts +9 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.js +11 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.d.ts +7 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.js +5 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.d.ts +10 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.js +12 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +9 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +11 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.d.ts +7 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.js +5 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.d.ts +10 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.js +12 -0
- package/dist/api/types/WorkspaceAuditLogItemWorkspace.d.ts +7 -0
- package/dist/api/types/WorkspaceAuditLogItemWorkspace.js +5 -0
- package/dist/api/types/WorkspaceAuditLogResponse.d.ts +8 -0
- package/dist/api/types/WorkspaceAuditLogResponse.js +5 -0
- package/dist/api/types/WorkspaceInvitation.d.ts +13 -0
- package/dist/api/types/WorkspaceInvitation.js +5 -0
- package/dist/api/types/WorkspaceInvitationAuditLogItem.d.ts +8 -0
- package/dist/api/types/WorkspaceInvitationAuditLogItem.js +5 -0
- package/dist/api/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +11 -0
- package/dist/api/types/WorkspaceInvitationAuditLogItemEventSubType.js +13 -0
- package/dist/api/types/WorkspaceMembership.d.ts +13 -0
- package/dist/api/types/WorkspaceMembership.js +5 -0
- package/dist/api/types/WorkspaceMembershipAuditLogItem.d.ts +8 -0
- package/dist/api/types/WorkspaceMembershipAuditLogItem.js +5 -0
- package/dist/api/types/WorkspaceMembershipAuditLogItemEventSubType.d.ts +9 -0
- package/dist/api/types/WorkspaceMembershipAuditLogItemEventSubType.js +11 -0
- package/dist/api/types/index.d.ts +51 -1
- package/dist/api/types/index.js +51 -1
- package/dist/environments.d.ts +15 -2
- package/dist/environments.js +7 -1
- package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +1 -1
- package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.js +1 -1
- package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +1 -1
- package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.js +1 -1
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -1
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.js +12 -1
- package/dist/serialization/resources/index.d.ts +1 -0
- package/dist/serialization/resources/index.js +2 -1
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -1
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.js +12 -1
- package/dist/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +4 -4
- package/dist/serialization/resources/products/client/requests/ProductSkuCreate.js +4 -4
- package/dist/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +13 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateProduct.js +34 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSku.d.ts +13 -0
- package/dist/serialization/resources/products/types/ProductSkuCreateSku.js +34 -0
- package/dist/serialization/resources/products/types/index.d.ts +2 -0
- package/dist/serialization/resources/products/types/index.js +2 -0
- package/dist/serialization/resources/sites/index.d.ts +1 -0
- package/dist/serialization/resources/sites/index.js +1 -0
- package/dist/serialization/resources/sites/resources/comments/index.d.ts +1 -0
- package/dist/serialization/resources/sites/resources/comments/index.js +17 -0
- package/dist/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.d.ts +10 -0
- package/dist/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.js +31 -0
- package/dist/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.d.ts +10 -0
- package/dist/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.js +31 -0
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.d.ts +10 -0
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.js +31 -0
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.d.ts +10 -0
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.js +31 -0
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.d.ts +10 -0
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.js +31 -0
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.d.ts +10 -0
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.js +31 -0
- package/dist/serialization/resources/sites/resources/comments/types/index.d.ts +6 -0
- package/dist/serialization/resources/sites/resources/comments/types/index.js +22 -0
- package/dist/serialization/resources/sites/resources/index.d.ts +5 -0
- package/dist/serialization/resources/sites/resources/index.js +34 -0
- package/dist/serialization/resources/sites/resources/wellKnown/client/index.d.ts +1 -0
- package/dist/serialization/resources/sites/resources/wellKnown/client/index.js +17 -0
- package/dist/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.d.ts +12 -0
- package/dist/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.js +33 -0
- package/dist/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +15 -0
- package/dist/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownFile.js +36 -0
- package/dist/serialization/resources/sites/resources/wellKnown/client/requests/index.d.ts +2 -0
- package/dist/serialization/resources/sites/resources/wellKnown/client/requests/index.js +7 -0
- package/dist/serialization/resources/sites/resources/wellKnown/index.d.ts +2 -0
- package/dist/serialization/resources/sites/resources/wellKnown/index.js +18 -0
- package/dist/serialization/resources/sites/resources/wellKnown/types/WellKnownFileContentType.d.ts +10 -0
- package/dist/serialization/resources/sites/resources/wellKnown/types/WellKnownFileContentType.js +31 -0
- package/dist/serialization/resources/sites/resources/wellKnown/types/index.d.ts +1 -0
- package/dist/serialization/resources/sites/resources/wellKnown/types/index.js +17 -0
- package/dist/serialization/resources/workspaces/index.d.ts +1 -0
- package/dist/serialization/resources/workspaces/index.js +17 -0
- package/dist/serialization/resources/workspaces/resources/auditLogs/index.d.ts +1 -0
- package/dist/serialization/resources/workspaces/resources/auditLogs/index.js +17 -0
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +10 -0
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +37 -0
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.d.ts +10 -0
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.js +31 -0
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/index.d.ts +2 -0
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/index.js +18 -0
- package/dist/serialization/resources/workspaces/resources/index.d.ts +2 -0
- package/dist/serialization/resources/workspaces/resources/index.js +31 -0
- package/dist/serialization/types/CommentReply.d.ts +25 -0
- package/dist/serialization/types/CommentReply.js +46 -0
- package/dist/serialization/types/CommentReplyAuthor.d.ts +14 -0
- package/dist/serialization/types/CommentReplyAuthor.js +35 -0
- package/dist/serialization/types/CommentReplyList.d.ts +15 -0
- package/dist/serialization/types/CommentReplyList.js +36 -0
- package/dist/serialization/types/CommentReplyListPagination.d.ts +14 -0
- package/dist/serialization/types/CommentReplyListPagination.js +35 -0
- package/dist/serialization/types/CommentReplyMentionedUsersItem.d.ts +14 -0
- package/dist/serialization/types/CommentReplyMentionedUsersItem.js +35 -0
- package/dist/serialization/types/CommentThread.d.ts +26 -0
- package/dist/serialization/types/CommentThread.js +47 -0
- package/dist/serialization/types/CommentThreadAuthor.d.ts +14 -0
- package/dist/serialization/types/CommentThreadAuthor.js +35 -0
- package/dist/serialization/types/CommentThreadList.d.ts +15 -0
- package/dist/serialization/types/CommentThreadList.js +36 -0
- package/dist/serialization/types/CommentThreadListPagination.d.ts +14 -0
- package/dist/serialization/types/CommentThreadListPagination.js +35 -0
- package/dist/serialization/types/CommentThreadMentionedUsersItem.d.ts +14 -0
- package/dist/serialization/types/CommentThreadMentionedUsersItem.js +35 -0
- package/dist/serialization/types/CustomRole.d.ts +13 -0
- package/dist/serialization/types/CustomRole.js +34 -0
- package/dist/serialization/types/CustomRoleAuditLogItem.d.ts +15 -0
- package/dist/serialization/types/CustomRoleAuditLogItem.js +36 -0
- package/dist/serialization/types/CustomRoleAuditLogItemEventSubType.d.ts +10 -0
- package/dist/serialization/types/CustomRoleAuditLogItemEventSubType.js +31 -0
- package/dist/serialization/types/FieldType.d.ts +1 -1
- package/dist/serialization/types/FieldType.js +3 -1
- package/dist/serialization/types/Node.d.ts +17 -1
- package/dist/serialization/types/Node.js +8 -0
- package/dist/serialization/types/Page.d.ts +0 -1
- package/dist/serialization/types/Page.js +0 -1
- package/dist/serialization/types/SearchButtonNode.d.ts +14 -0
- package/dist/serialization/types/SearchButtonNode.js +35 -0
- package/dist/serialization/types/SearchButtonNodeWrite.d.ts +13 -0
- package/dist/serialization/types/SearchButtonNodeWrite.js +34 -0
- package/dist/serialization/types/SelectNode.d.ts +15 -0
- package/dist/serialization/types/SelectNode.js +36 -0
- package/dist/serialization/types/SelectNodeChoicesItem.d.ts +13 -0
- package/dist/serialization/types/SelectNodeChoicesItem.js +34 -0
- package/dist/serialization/types/SelectNodeWrite.d.ts +14 -0
- package/dist/serialization/types/SelectNodeWrite.js +35 -0
- package/dist/serialization/types/SelectNodeWriteChoicesItem.d.ts +13 -0
- package/dist/serialization/types/SelectNodeWriteChoicesItem.js +34 -0
- package/dist/serialization/types/SiteMembership.d.ts +21 -0
- package/dist/serialization/types/SiteMembership.js +42 -0
- package/dist/serialization/types/SiteMembershipAuditLogItem.d.ts +15 -0
- package/dist/serialization/types/SiteMembershipAuditLogItem.js +36 -0
- package/dist/serialization/types/SiteMembershipAuditLogItemEventSubType.d.ts +10 -0
- package/dist/serialization/types/SiteMembershipAuditLogItemEventSubType.js +31 -0
- package/dist/serialization/types/SkuFieldData.d.ts +4 -0
- package/dist/serialization/types/SkuFieldData.js +4 -0
- package/dist/serialization/types/SkuFieldDataPrice.d.ts +1 -0
- package/dist/serialization/types/SkuFieldDataPrice.js +1 -0
- package/dist/serialization/types/StaticFieldType.d.ts +1 -1
- package/dist/serialization/types/StaticFieldType.js +1 -1
- package/dist/serialization/types/SubmitButtonNode.d.ts +15 -0
- package/dist/serialization/types/SubmitButtonNode.js +36 -0
- package/dist/serialization/types/SubmitButtonNodeWrite.d.ts +14 -0
- package/dist/serialization/types/SubmitButtonNodeWrite.js +35 -0
- package/dist/serialization/types/TextInputNode.d.ts +14 -0
- package/dist/serialization/types/TextInputNode.js +35 -0
- package/dist/serialization/types/TextInputNodeWrite.d.ts +13 -0
- package/dist/serialization/types/TextInputNodeWrite.js +34 -0
- package/dist/serialization/types/TriggerType.d.ts +1 -1
- package/dist/serialization/types/TriggerType.js +1 -0
- package/dist/serialization/types/UserAccess.d.ts +15 -0
- package/dist/serialization/types/UserAccess.js +36 -0
- package/dist/serialization/types/UserAccessAuditLogItem.d.ts +15 -0
- package/dist/serialization/types/UserAccessAuditLogItem.js +36 -0
- package/dist/serialization/types/UserAccessAuditLogItemEventSubType.d.ts +10 -0
- package/dist/serialization/types/UserAccessAuditLogItemEventSubType.js +31 -0
- package/dist/serialization/types/WorkspaceAuditLogItem.d.ts +37 -0
- package/dist/serialization/types/WorkspaceAuditLogItem.js +54 -0
- package/dist/serialization/types/WorkspaceAuditLogItemActor.d.ts +13 -0
- package/dist/serialization/types/WorkspaceAuditLogItemActor.js +34 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +10 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +31 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.d.ts +13 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.js +34 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.d.ts +13 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.js +34 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.d.ts +10 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.js +31 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadUserAccessMethod.d.ts +10 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadUserAccessMethod.js +31 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.d.ts +10 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.js +31 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.d.ts +13 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.js +34 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.d.ts +10 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.js +31 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +10 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +31 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.d.ts +13 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.js +34 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.d.ts +10 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.js +31 -0
- package/dist/serialization/types/WorkspaceAuditLogItemWorkspace.d.ts +13 -0
- package/dist/serialization/types/WorkspaceAuditLogItemWorkspace.js +34 -0
- package/dist/serialization/types/WorkspaceAuditLogResponse.d.ts +15 -0
- package/dist/serialization/types/WorkspaceAuditLogResponse.js +36 -0
- package/dist/serialization/types/WorkspaceInvitation.d.ts +19 -0
- package/dist/serialization/types/WorkspaceInvitation.js +40 -0
- package/dist/serialization/types/WorkspaceInvitationAuditLogItem.d.ts +15 -0
- package/dist/serialization/types/WorkspaceInvitationAuditLogItem.js +36 -0
- package/dist/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +10 -0
- package/dist/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.js +37 -0
- package/dist/serialization/types/WorkspaceMembership.d.ts +19 -0
- package/dist/serialization/types/WorkspaceMembership.js +40 -0
- package/dist/serialization/types/WorkspaceMembershipAuditLogItem.d.ts +15 -0
- package/dist/serialization/types/WorkspaceMembershipAuditLogItem.js +36 -0
- package/dist/serialization/types/WorkspaceMembershipAuditLogItemEventSubType.d.ts +10 -0
- package/dist/serialization/types/WorkspaceMembershipAuditLogItemEventSubType.js +31 -0
- package/dist/serialization/types/index.d.ts +51 -1
- package/dist/serialization/types/index.js +51 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/AssetsUtilitiesClient.d.ts +1 -1
- package/environments.d.ts +15 -2
- package/environments.js +7 -1
- package/package.json +5 -1
- package/reference.md +678 -20
- package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +1 -1
- package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.js +1 -1
- package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +1 -1
- package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.js +1 -1
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -1
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.js +12 -1
- package/serialization/resources/index.d.ts +1 -0
- package/serialization/resources/index.js +2 -1
- package/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -1
- package/serialization/resources/pages/types/PageDomWriteNodesItem.js +12 -1
- package/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +4 -4
- package/serialization/resources/products/client/requests/ProductSkuCreate.js +4 -4
- package/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +13 -0
- package/serialization/resources/products/types/ProductSkuCreateProduct.js +34 -0
- package/serialization/resources/products/types/ProductSkuCreateSku.d.ts +13 -0
- package/serialization/resources/products/types/ProductSkuCreateSku.js +34 -0
- package/serialization/resources/products/types/index.d.ts +2 -0
- package/serialization/resources/products/types/index.js +2 -0
- package/serialization/resources/sites/index.d.ts +1 -0
- package/serialization/resources/sites/index.js +1 -0
- package/serialization/resources/sites/resources/comments/index.d.ts +1 -0
- package/serialization/resources/sites/resources/comments/index.js +17 -0
- package/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.d.ts +10 -0
- package/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.js +31 -0
- package/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.d.ts +10 -0
- package/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.js +31 -0
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.d.ts +10 -0
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.js +31 -0
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.d.ts +10 -0
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.js +31 -0
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.d.ts +10 -0
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.js +31 -0
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.d.ts +10 -0
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.js +31 -0
- package/serialization/resources/sites/resources/comments/types/index.d.ts +6 -0
- package/serialization/resources/sites/resources/comments/types/index.js +22 -0
- package/serialization/resources/sites/resources/index.d.ts +5 -0
- package/serialization/resources/sites/resources/index.js +34 -0
- package/serialization/resources/sites/resources/wellKnown/client/index.d.ts +1 -0
- package/serialization/resources/sites/resources/wellKnown/client/index.js +17 -0
- package/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.d.ts +12 -0
- package/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.js +33 -0
- package/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +15 -0
- package/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownFile.js +36 -0
- package/serialization/resources/sites/resources/wellKnown/client/requests/index.d.ts +2 -0
- package/serialization/resources/sites/resources/wellKnown/client/requests/index.js +7 -0
- package/serialization/resources/sites/resources/wellKnown/index.d.ts +2 -0
- package/serialization/resources/sites/resources/wellKnown/index.js +18 -0
- package/serialization/resources/sites/resources/wellKnown/types/WellKnownFileContentType.d.ts +10 -0
- package/serialization/resources/sites/resources/wellKnown/types/WellKnownFileContentType.js +31 -0
- package/serialization/resources/sites/resources/wellKnown/types/index.d.ts +1 -0
- package/serialization/resources/sites/resources/wellKnown/types/index.js +17 -0
- package/serialization/resources/workspaces/index.d.ts +1 -0
- package/serialization/resources/workspaces/index.js +17 -0
- package/serialization/resources/workspaces/resources/auditLogs/index.d.ts +1 -0
- package/serialization/resources/workspaces/resources/auditLogs/index.js +17 -0
- package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +10 -0
- package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +37 -0
- package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.d.ts +10 -0
- package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.js +31 -0
- package/serialization/resources/workspaces/resources/auditLogs/types/index.d.ts +2 -0
- package/serialization/resources/workspaces/resources/auditLogs/types/index.js +18 -0
- package/serialization/resources/workspaces/resources/index.d.ts +2 -0
- package/serialization/resources/workspaces/resources/index.js +31 -0
- package/serialization/types/CommentReply.d.ts +25 -0
- package/serialization/types/CommentReply.js +46 -0
- package/serialization/types/CommentReplyAuthor.d.ts +14 -0
- package/serialization/types/CommentReplyAuthor.js +35 -0
- package/serialization/types/CommentReplyList.d.ts +15 -0
- package/serialization/types/CommentReplyList.js +36 -0
- package/serialization/types/CommentReplyListPagination.d.ts +14 -0
- package/serialization/types/CommentReplyListPagination.js +35 -0
- package/serialization/types/CommentReplyMentionedUsersItem.d.ts +14 -0
- package/serialization/types/CommentReplyMentionedUsersItem.js +35 -0
- package/serialization/types/CommentThread.d.ts +26 -0
- package/serialization/types/CommentThread.js +47 -0
- package/serialization/types/CommentThreadAuthor.d.ts +14 -0
- package/serialization/types/CommentThreadAuthor.js +35 -0
- package/serialization/types/CommentThreadList.d.ts +15 -0
- package/serialization/types/CommentThreadList.js +36 -0
- package/serialization/types/CommentThreadListPagination.d.ts +14 -0
- package/serialization/types/CommentThreadListPagination.js +35 -0
- package/serialization/types/CommentThreadMentionedUsersItem.d.ts +14 -0
- package/serialization/types/CommentThreadMentionedUsersItem.js +35 -0
- package/serialization/types/CustomRole.d.ts +13 -0
- package/serialization/types/CustomRole.js +34 -0
- package/serialization/types/CustomRoleAuditLogItem.d.ts +15 -0
- package/serialization/types/CustomRoleAuditLogItem.js +36 -0
- package/serialization/types/CustomRoleAuditLogItemEventSubType.d.ts +10 -0
- package/serialization/types/CustomRoleAuditLogItemEventSubType.js +31 -0
- package/serialization/types/FieldType.d.ts +1 -1
- package/serialization/types/FieldType.js +3 -1
- package/serialization/types/Node.d.ts +17 -1
- package/serialization/types/Node.js +8 -0
- package/serialization/types/Page.d.ts +0 -1
- package/serialization/types/Page.js +0 -1
- package/serialization/types/SearchButtonNode.d.ts +14 -0
- package/serialization/types/SearchButtonNode.js +35 -0
- package/serialization/types/SearchButtonNodeWrite.d.ts +13 -0
- package/serialization/types/SearchButtonNodeWrite.js +34 -0
- package/serialization/types/SelectNode.d.ts +15 -0
- package/serialization/types/SelectNode.js +36 -0
- package/serialization/types/SelectNodeChoicesItem.d.ts +13 -0
- package/serialization/types/SelectNodeChoicesItem.js +34 -0
- package/serialization/types/SelectNodeWrite.d.ts +14 -0
- package/serialization/types/SelectNodeWrite.js +35 -0
- package/serialization/types/SelectNodeWriteChoicesItem.d.ts +13 -0
- package/serialization/types/SelectNodeWriteChoicesItem.js +34 -0
- package/serialization/types/SiteMembership.d.ts +21 -0
- package/serialization/types/SiteMembership.js +42 -0
- package/serialization/types/SiteMembershipAuditLogItem.d.ts +15 -0
- package/serialization/types/SiteMembershipAuditLogItem.js +36 -0
- package/serialization/types/SiteMembershipAuditLogItemEventSubType.d.ts +10 -0
- package/serialization/types/SiteMembershipAuditLogItemEventSubType.js +31 -0
- package/serialization/types/SkuFieldData.d.ts +4 -0
- package/serialization/types/SkuFieldData.js +4 -0
- package/serialization/types/SkuFieldDataPrice.d.ts +1 -0
- package/serialization/types/SkuFieldDataPrice.js +1 -0
- package/serialization/types/StaticFieldType.d.ts +1 -1
- package/serialization/types/StaticFieldType.js +1 -1
- package/serialization/types/SubmitButtonNode.d.ts +15 -0
- package/serialization/types/SubmitButtonNode.js +36 -0
- package/serialization/types/SubmitButtonNodeWrite.d.ts +14 -0
- package/serialization/types/SubmitButtonNodeWrite.js +35 -0
- package/serialization/types/TextInputNode.d.ts +14 -0
- package/serialization/types/TextInputNode.js +35 -0
- package/serialization/types/TextInputNodeWrite.d.ts +13 -0
- package/serialization/types/TextInputNodeWrite.js +34 -0
- package/serialization/types/TriggerType.d.ts +1 -1
- package/serialization/types/TriggerType.js +1 -0
- package/serialization/types/UserAccess.d.ts +15 -0
- package/serialization/types/UserAccess.js +36 -0
- package/serialization/types/UserAccessAuditLogItem.d.ts +15 -0
- package/serialization/types/UserAccessAuditLogItem.js +36 -0
- package/serialization/types/UserAccessAuditLogItemEventSubType.d.ts +10 -0
- package/serialization/types/UserAccessAuditLogItemEventSubType.js +31 -0
- package/serialization/types/WorkspaceAuditLogItem.d.ts +37 -0
- package/serialization/types/WorkspaceAuditLogItem.js +54 -0
- package/serialization/types/WorkspaceAuditLogItemActor.d.ts +13 -0
- package/serialization/types/WorkspaceAuditLogItemActor.js +34 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +10 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +31 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.d.ts +13 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.js +34 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.d.ts +13 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.js +34 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.d.ts +10 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.js +31 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadUserAccessMethod.d.ts +10 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadUserAccessMethod.js +31 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.d.ts +10 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.js +31 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.d.ts +13 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.js +34 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.d.ts +10 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.js +31 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +10 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +31 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.d.ts +13 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.js +34 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.d.ts +10 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.js +31 -0
- package/serialization/types/WorkspaceAuditLogItemWorkspace.d.ts +13 -0
- package/serialization/types/WorkspaceAuditLogItemWorkspace.js +34 -0
- package/serialization/types/WorkspaceAuditLogResponse.d.ts +15 -0
- package/serialization/types/WorkspaceAuditLogResponse.js +36 -0
- package/serialization/types/WorkspaceInvitation.d.ts +19 -0
- package/serialization/types/WorkspaceInvitation.js +40 -0
- package/serialization/types/WorkspaceInvitationAuditLogItem.d.ts +15 -0
- package/serialization/types/WorkspaceInvitationAuditLogItem.js +36 -0
- package/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +10 -0
- package/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.js +37 -0
- package/serialization/types/WorkspaceMembership.d.ts +19 -0
- package/serialization/types/WorkspaceMembership.js +40 -0
- package/serialization/types/WorkspaceMembershipAuditLogItem.d.ts +15 -0
- package/serialization/types/WorkspaceMembershipAuditLogItem.js +36 -0
- package/serialization/types/WorkspaceMembershipAuditLogItemEventSubType.d.ts +10 -0
- package/serialization/types/WorkspaceMembershipAuditLogItemEventSubType.js +31 -0
- package/serialization/types/index.d.ts +51 -1
- package/serialization/types/index.js +51 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/AssetsUtilitiesClient.d.ts +1 -1
|
@@ -0,0 +1,426 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
38
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
39
|
+
};
|
|
40
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
41
|
+
exports.Comments = void 0;
|
|
42
|
+
const environments = __importStar(require("../../../../../../environments"));
|
|
43
|
+
const core = __importStar(require("../../../../../../core"));
|
|
44
|
+
const Webflow = __importStar(require("../../../../../index"));
|
|
45
|
+
const url_join_1 = __importDefault(require("url-join"));
|
|
46
|
+
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
47
|
+
const errors = __importStar(require("../../../../../../errors/index"));
|
|
48
|
+
class Comments {
|
|
49
|
+
constructor(_options) {
|
|
50
|
+
this._options = _options;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* List all comment threads for a site.
|
|
54
|
+
*
|
|
55
|
+
* <Note title="Timing of comment threads">
|
|
56
|
+
* There may be a delay of up to 5 minutes before new comments appear in the system.
|
|
57
|
+
* </Note>
|
|
58
|
+
*
|
|
59
|
+
* Required scope | `comments:read`
|
|
60
|
+
*
|
|
61
|
+
* @param {string} siteId - Unique identifier for a Site
|
|
62
|
+
* @param {Webflow.sites.CommentsListCommentThreadsRequest} request
|
|
63
|
+
* @param {Comments.RequestOptions} requestOptions - Request-specific configuration.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link Webflow.BadRequestError}
|
|
66
|
+
* @throws {@link Webflow.UnauthorizedError}
|
|
67
|
+
* @throws {@link Webflow.NotFoundError}
|
|
68
|
+
* @throws {@link Webflow.TooManyRequestsError}
|
|
69
|
+
* @throws {@link Webflow.InternalServerError}
|
|
70
|
+
*
|
|
71
|
+
* @example
|
|
72
|
+
* await client.sites.comments.listCommentThreads("580e63e98c9a982ac9b8b741", {
|
|
73
|
+
* localeId: "65427cf400e02b306eaa04a0"
|
|
74
|
+
* })
|
|
75
|
+
*/
|
|
76
|
+
listCommentThreads(siteId, request = {}, requestOptions) {
|
|
77
|
+
var _a;
|
|
78
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
79
|
+
const { localeId, offset, limit, sortBy, sortOrder } = request;
|
|
80
|
+
const _queryParams = {};
|
|
81
|
+
if (localeId != null) {
|
|
82
|
+
_queryParams["localeId"] = localeId;
|
|
83
|
+
}
|
|
84
|
+
if (offset != null) {
|
|
85
|
+
_queryParams["offset"] = offset.toString();
|
|
86
|
+
}
|
|
87
|
+
if (limit != null) {
|
|
88
|
+
_queryParams["limit"] = limit.toString();
|
|
89
|
+
}
|
|
90
|
+
if (sortBy != null) {
|
|
91
|
+
_queryParams["sortBy"] = sortBy;
|
|
92
|
+
}
|
|
93
|
+
if (sortOrder != null) {
|
|
94
|
+
_queryParams["sortOrder"] = sortOrder;
|
|
95
|
+
}
|
|
96
|
+
const _response = yield core.fetcher({
|
|
97
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/comments`),
|
|
98
|
+
method: "GET",
|
|
99
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
100
|
+
contentType: "application/json",
|
|
101
|
+
queryParameters: _queryParams,
|
|
102
|
+
requestType: "json",
|
|
103
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
104
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
105
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
106
|
+
});
|
|
107
|
+
if (_response.ok) {
|
|
108
|
+
return serializers.CommentThreadList.parseOrThrow(_response.body, {
|
|
109
|
+
unrecognizedObjectKeys: "passthrough",
|
|
110
|
+
allowUnrecognizedUnionMembers: true,
|
|
111
|
+
allowUnrecognizedEnumValues: true,
|
|
112
|
+
skipValidation: true,
|
|
113
|
+
breadcrumbsPrefix: ["response"],
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
if (_response.error.reason === "status-code") {
|
|
117
|
+
switch (_response.error.statusCode) {
|
|
118
|
+
case 400:
|
|
119
|
+
throw new Webflow.BadRequestError(_response.error.body);
|
|
120
|
+
case 401:
|
|
121
|
+
throw new Webflow.UnauthorizedError(serializers.Error_.parseOrThrow(_response.error.body, {
|
|
122
|
+
unrecognizedObjectKeys: "passthrough",
|
|
123
|
+
allowUnrecognizedUnionMembers: true,
|
|
124
|
+
allowUnrecognizedEnumValues: true,
|
|
125
|
+
skipValidation: true,
|
|
126
|
+
breadcrumbsPrefix: ["response"],
|
|
127
|
+
}));
|
|
128
|
+
case 404:
|
|
129
|
+
throw new Webflow.NotFoundError(serializers.Error_.parseOrThrow(_response.error.body, {
|
|
130
|
+
unrecognizedObjectKeys: "passthrough",
|
|
131
|
+
allowUnrecognizedUnionMembers: true,
|
|
132
|
+
allowUnrecognizedEnumValues: true,
|
|
133
|
+
skipValidation: true,
|
|
134
|
+
breadcrumbsPrefix: ["response"],
|
|
135
|
+
}));
|
|
136
|
+
case 429:
|
|
137
|
+
throw new Webflow.TooManyRequestsError(serializers.Error_.parseOrThrow(_response.error.body, {
|
|
138
|
+
unrecognizedObjectKeys: "passthrough",
|
|
139
|
+
allowUnrecognizedUnionMembers: true,
|
|
140
|
+
allowUnrecognizedEnumValues: true,
|
|
141
|
+
skipValidation: true,
|
|
142
|
+
breadcrumbsPrefix: ["response"],
|
|
143
|
+
}));
|
|
144
|
+
case 500:
|
|
145
|
+
throw new Webflow.InternalServerError(serializers.Error_.parseOrThrow(_response.error.body, {
|
|
146
|
+
unrecognizedObjectKeys: "passthrough",
|
|
147
|
+
allowUnrecognizedUnionMembers: true,
|
|
148
|
+
allowUnrecognizedEnumValues: true,
|
|
149
|
+
skipValidation: true,
|
|
150
|
+
breadcrumbsPrefix: ["response"],
|
|
151
|
+
}));
|
|
152
|
+
default:
|
|
153
|
+
throw new errors.WebflowError({
|
|
154
|
+
statusCode: _response.error.statusCode,
|
|
155
|
+
body: _response.error.body,
|
|
156
|
+
});
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
switch (_response.error.reason) {
|
|
160
|
+
case "non-json":
|
|
161
|
+
throw new errors.WebflowError({
|
|
162
|
+
statusCode: _response.error.statusCode,
|
|
163
|
+
body: _response.error.rawBody,
|
|
164
|
+
});
|
|
165
|
+
case "timeout":
|
|
166
|
+
throw new errors.WebflowTimeoutError("Timeout exceeded when calling GET /sites/{site_id}/comments.");
|
|
167
|
+
case "unknown":
|
|
168
|
+
throw new errors.WebflowError({
|
|
169
|
+
message: _response.error.errorMessage,
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
}
|
|
174
|
+
/**
|
|
175
|
+
* Get details of a specific comment thread.
|
|
176
|
+
*
|
|
177
|
+
* <Note title="Timing of comment threads">
|
|
178
|
+
* There may be a delay of up to 5 minutes before new comments appear in the system.
|
|
179
|
+
* </Note>
|
|
180
|
+
*
|
|
181
|
+
* Required scope | `comments:read`
|
|
182
|
+
*
|
|
183
|
+
* @param {string} siteId - Unique identifier for a Site
|
|
184
|
+
* @param {string} commentThreadId - Unique identifier for a Comment Thread
|
|
185
|
+
* @param {Webflow.sites.CommentsGetCommentThreadRequest} request
|
|
186
|
+
* @param {Comments.RequestOptions} requestOptions - Request-specific configuration.
|
|
187
|
+
*
|
|
188
|
+
* @throws {@link Webflow.BadRequestError}
|
|
189
|
+
* @throws {@link Webflow.UnauthorizedError}
|
|
190
|
+
* @throws {@link Webflow.NotFoundError}
|
|
191
|
+
* @throws {@link Webflow.TooManyRequestsError}
|
|
192
|
+
* @throws {@link Webflow.InternalServerError}
|
|
193
|
+
*
|
|
194
|
+
* @example
|
|
195
|
+
* await client.sites.comments.getCommentThread("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
|
|
196
|
+
* localeId: "65427cf400e02b306eaa04a0"
|
|
197
|
+
* })
|
|
198
|
+
*/
|
|
199
|
+
getCommentThread(siteId, commentThreadId, request = {}, requestOptions) {
|
|
200
|
+
var _a;
|
|
201
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
202
|
+
const { localeId, offset, limit, sortBy, sortOrder } = request;
|
|
203
|
+
const _queryParams = {};
|
|
204
|
+
if (localeId != null) {
|
|
205
|
+
_queryParams["localeId"] = localeId;
|
|
206
|
+
}
|
|
207
|
+
if (offset != null) {
|
|
208
|
+
_queryParams["offset"] = offset.toString();
|
|
209
|
+
}
|
|
210
|
+
if (limit != null) {
|
|
211
|
+
_queryParams["limit"] = limit.toString();
|
|
212
|
+
}
|
|
213
|
+
if (sortBy != null) {
|
|
214
|
+
_queryParams["sortBy"] = sortBy;
|
|
215
|
+
}
|
|
216
|
+
if (sortOrder != null) {
|
|
217
|
+
_queryParams["sortOrder"] = sortOrder;
|
|
218
|
+
}
|
|
219
|
+
const _response = yield core.fetcher({
|
|
220
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/comments/${encodeURIComponent(commentThreadId)}`),
|
|
221
|
+
method: "GET",
|
|
222
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
223
|
+
contentType: "application/json",
|
|
224
|
+
queryParameters: _queryParams,
|
|
225
|
+
requestType: "json",
|
|
226
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
227
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
228
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
229
|
+
});
|
|
230
|
+
if (_response.ok) {
|
|
231
|
+
return serializers.CommentThread.parseOrThrow(_response.body, {
|
|
232
|
+
unrecognizedObjectKeys: "passthrough",
|
|
233
|
+
allowUnrecognizedUnionMembers: true,
|
|
234
|
+
allowUnrecognizedEnumValues: true,
|
|
235
|
+
skipValidation: true,
|
|
236
|
+
breadcrumbsPrefix: ["response"],
|
|
237
|
+
});
|
|
238
|
+
}
|
|
239
|
+
if (_response.error.reason === "status-code") {
|
|
240
|
+
switch (_response.error.statusCode) {
|
|
241
|
+
case 400:
|
|
242
|
+
throw new Webflow.BadRequestError(_response.error.body);
|
|
243
|
+
case 401:
|
|
244
|
+
throw new Webflow.UnauthorizedError(serializers.Error_.parseOrThrow(_response.error.body, {
|
|
245
|
+
unrecognizedObjectKeys: "passthrough",
|
|
246
|
+
allowUnrecognizedUnionMembers: true,
|
|
247
|
+
allowUnrecognizedEnumValues: true,
|
|
248
|
+
skipValidation: true,
|
|
249
|
+
breadcrumbsPrefix: ["response"],
|
|
250
|
+
}));
|
|
251
|
+
case 404:
|
|
252
|
+
throw new Webflow.NotFoundError(serializers.Error_.parseOrThrow(_response.error.body, {
|
|
253
|
+
unrecognizedObjectKeys: "passthrough",
|
|
254
|
+
allowUnrecognizedUnionMembers: true,
|
|
255
|
+
allowUnrecognizedEnumValues: true,
|
|
256
|
+
skipValidation: true,
|
|
257
|
+
breadcrumbsPrefix: ["response"],
|
|
258
|
+
}));
|
|
259
|
+
case 429:
|
|
260
|
+
throw new Webflow.TooManyRequestsError(serializers.Error_.parseOrThrow(_response.error.body, {
|
|
261
|
+
unrecognizedObjectKeys: "passthrough",
|
|
262
|
+
allowUnrecognizedUnionMembers: true,
|
|
263
|
+
allowUnrecognizedEnumValues: true,
|
|
264
|
+
skipValidation: true,
|
|
265
|
+
breadcrumbsPrefix: ["response"],
|
|
266
|
+
}));
|
|
267
|
+
case 500:
|
|
268
|
+
throw new Webflow.InternalServerError(serializers.Error_.parseOrThrow(_response.error.body, {
|
|
269
|
+
unrecognizedObjectKeys: "passthrough",
|
|
270
|
+
allowUnrecognizedUnionMembers: true,
|
|
271
|
+
allowUnrecognizedEnumValues: true,
|
|
272
|
+
skipValidation: true,
|
|
273
|
+
breadcrumbsPrefix: ["response"],
|
|
274
|
+
}));
|
|
275
|
+
default:
|
|
276
|
+
throw new errors.WebflowError({
|
|
277
|
+
statusCode: _response.error.statusCode,
|
|
278
|
+
body: _response.error.body,
|
|
279
|
+
});
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
switch (_response.error.reason) {
|
|
283
|
+
case "non-json":
|
|
284
|
+
throw new errors.WebflowError({
|
|
285
|
+
statusCode: _response.error.statusCode,
|
|
286
|
+
body: _response.error.rawBody,
|
|
287
|
+
});
|
|
288
|
+
case "timeout":
|
|
289
|
+
throw new errors.WebflowTimeoutError("Timeout exceeded when calling GET /sites/{site_id}/comments/{comment_thread_id}.");
|
|
290
|
+
case "unknown":
|
|
291
|
+
throw new errors.WebflowError({
|
|
292
|
+
message: _response.error.errorMessage,
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* List all replies to a specific comment thread.
|
|
299
|
+
*
|
|
300
|
+
* <Note title="Timing of comment threads">
|
|
301
|
+
* There may be a delay of up to 5 minutes before new comments appear in the system.
|
|
302
|
+
* </Note>
|
|
303
|
+
*
|
|
304
|
+
* Required scope | `comments:read`
|
|
305
|
+
*
|
|
306
|
+
* @param {string} siteId - Unique identifier for a Site
|
|
307
|
+
* @param {string} commentThreadId - Unique identifier for a Comment Thread
|
|
308
|
+
* @param {Webflow.sites.CommentsListCommentRepliesRequest} request
|
|
309
|
+
* @param {Comments.RequestOptions} requestOptions - Request-specific configuration.
|
|
310
|
+
*
|
|
311
|
+
* @throws {@link Webflow.BadRequestError}
|
|
312
|
+
* @throws {@link Webflow.UnauthorizedError}
|
|
313
|
+
* @throws {@link Webflow.NotFoundError}
|
|
314
|
+
* @throws {@link Webflow.TooManyRequestsError}
|
|
315
|
+
* @throws {@link Webflow.InternalServerError}
|
|
316
|
+
*
|
|
317
|
+
* @example
|
|
318
|
+
* await client.sites.comments.listCommentReplies("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
|
|
319
|
+
* localeId: "65427cf400e02b306eaa04a0"
|
|
320
|
+
* })
|
|
321
|
+
*/
|
|
322
|
+
listCommentReplies(siteId, commentThreadId, request = {}, requestOptions) {
|
|
323
|
+
var _a;
|
|
324
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
325
|
+
const { localeId, offset, limit, sortBy, sortOrder } = request;
|
|
326
|
+
const _queryParams = {};
|
|
327
|
+
if (localeId != null) {
|
|
328
|
+
_queryParams["localeId"] = localeId;
|
|
329
|
+
}
|
|
330
|
+
if (offset != null) {
|
|
331
|
+
_queryParams["offset"] = offset.toString();
|
|
332
|
+
}
|
|
333
|
+
if (limit != null) {
|
|
334
|
+
_queryParams["limit"] = limit.toString();
|
|
335
|
+
}
|
|
336
|
+
if (sortBy != null) {
|
|
337
|
+
_queryParams["sortBy"] = sortBy;
|
|
338
|
+
}
|
|
339
|
+
if (sortOrder != null) {
|
|
340
|
+
_queryParams["sortOrder"] = sortOrder;
|
|
341
|
+
}
|
|
342
|
+
const _response = yield core.fetcher({
|
|
343
|
+
url: (0, url_join_1.default)(((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.DataApi).base, `sites/${encodeURIComponent(siteId)}/comments/${encodeURIComponent(commentThreadId)}/replies`),
|
|
344
|
+
method: "GET",
|
|
345
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.4", "User-Agent": "webflow-api/3.1.4", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
346
|
+
contentType: "application/json",
|
|
347
|
+
queryParameters: _queryParams,
|
|
348
|
+
requestType: "json",
|
|
349
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
350
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
351
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
352
|
+
});
|
|
353
|
+
if (_response.ok) {
|
|
354
|
+
return serializers.CommentReplyList.parseOrThrow(_response.body, {
|
|
355
|
+
unrecognizedObjectKeys: "passthrough",
|
|
356
|
+
allowUnrecognizedUnionMembers: true,
|
|
357
|
+
allowUnrecognizedEnumValues: true,
|
|
358
|
+
skipValidation: true,
|
|
359
|
+
breadcrumbsPrefix: ["response"],
|
|
360
|
+
});
|
|
361
|
+
}
|
|
362
|
+
if (_response.error.reason === "status-code") {
|
|
363
|
+
switch (_response.error.statusCode) {
|
|
364
|
+
case 400:
|
|
365
|
+
throw new Webflow.BadRequestError(_response.error.body);
|
|
366
|
+
case 401:
|
|
367
|
+
throw new Webflow.UnauthorizedError(serializers.Error_.parseOrThrow(_response.error.body, {
|
|
368
|
+
unrecognizedObjectKeys: "passthrough",
|
|
369
|
+
allowUnrecognizedUnionMembers: true,
|
|
370
|
+
allowUnrecognizedEnumValues: true,
|
|
371
|
+
skipValidation: true,
|
|
372
|
+
breadcrumbsPrefix: ["response"],
|
|
373
|
+
}));
|
|
374
|
+
case 404:
|
|
375
|
+
throw new Webflow.NotFoundError(serializers.Error_.parseOrThrow(_response.error.body, {
|
|
376
|
+
unrecognizedObjectKeys: "passthrough",
|
|
377
|
+
allowUnrecognizedUnionMembers: true,
|
|
378
|
+
allowUnrecognizedEnumValues: true,
|
|
379
|
+
skipValidation: true,
|
|
380
|
+
breadcrumbsPrefix: ["response"],
|
|
381
|
+
}));
|
|
382
|
+
case 429:
|
|
383
|
+
throw new Webflow.TooManyRequestsError(serializers.Error_.parseOrThrow(_response.error.body, {
|
|
384
|
+
unrecognizedObjectKeys: "passthrough",
|
|
385
|
+
allowUnrecognizedUnionMembers: true,
|
|
386
|
+
allowUnrecognizedEnumValues: true,
|
|
387
|
+
skipValidation: true,
|
|
388
|
+
breadcrumbsPrefix: ["response"],
|
|
389
|
+
}));
|
|
390
|
+
case 500:
|
|
391
|
+
throw new Webflow.InternalServerError(serializers.Error_.parseOrThrow(_response.error.body, {
|
|
392
|
+
unrecognizedObjectKeys: "passthrough",
|
|
393
|
+
allowUnrecognizedUnionMembers: true,
|
|
394
|
+
allowUnrecognizedEnumValues: true,
|
|
395
|
+
skipValidation: true,
|
|
396
|
+
breadcrumbsPrefix: ["response"],
|
|
397
|
+
}));
|
|
398
|
+
default:
|
|
399
|
+
throw new errors.WebflowError({
|
|
400
|
+
statusCode: _response.error.statusCode,
|
|
401
|
+
body: _response.error.body,
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
switch (_response.error.reason) {
|
|
406
|
+
case "non-json":
|
|
407
|
+
throw new errors.WebflowError({
|
|
408
|
+
statusCode: _response.error.statusCode,
|
|
409
|
+
body: _response.error.rawBody,
|
|
410
|
+
});
|
|
411
|
+
case "timeout":
|
|
412
|
+
throw new errors.WebflowTimeoutError("Timeout exceeded when calling GET /sites/{site_id}/comments/{comment_thread_id}/replies.");
|
|
413
|
+
case "unknown":
|
|
414
|
+
throw new errors.WebflowError({
|
|
415
|
+
message: _response.error.errorMessage,
|
|
416
|
+
});
|
|
417
|
+
}
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
_getAuthorizationHeader() {
|
|
421
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
422
|
+
return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
|
|
423
|
+
});
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
exports.Comments = Comments;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./requests";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Webflow from "../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* localeId: "65427cf400e02b306eaa04a0"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface CommentsGetCommentThreadRequest {
|
|
12
|
+
/**
|
|
13
|
+
* Unique identifier for a specific locale. Applicable, when using localization.
|
|
14
|
+
*/
|
|
15
|
+
localeId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Offset used for pagination if the results have more than limit records
|
|
18
|
+
*/
|
|
19
|
+
offset?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Maximum number of records to be returned (max limit: 100)
|
|
22
|
+
*/
|
|
23
|
+
limit?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Sort results by the provided value. Only allowed when sortOrder is provided.
|
|
26
|
+
*/
|
|
27
|
+
sortBy?: Webflow.sites.CommentsGetCommentThreadRequestSortBy;
|
|
28
|
+
/**
|
|
29
|
+
* Sorts the results by asc or desc
|
|
30
|
+
*/
|
|
31
|
+
sortOrder?: Webflow.sites.CommentsGetCommentThreadRequestSortOrder;
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Webflow from "../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* localeId: "65427cf400e02b306eaa04a0"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface CommentsListCommentRepliesRequest {
|
|
12
|
+
/**
|
|
13
|
+
* Unique identifier for a specific locale. Applicable, when using localization.
|
|
14
|
+
*/
|
|
15
|
+
localeId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Offset used for pagination if the results have more than limit records
|
|
18
|
+
*/
|
|
19
|
+
offset?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Maximum number of records to be returned (max limit: 100)
|
|
22
|
+
*/
|
|
23
|
+
limit?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Sort results by the provided value. Only allowed when sortOrder is provided.
|
|
26
|
+
*/
|
|
27
|
+
sortBy?: Webflow.sites.CommentsListCommentRepliesRequestSortBy;
|
|
28
|
+
/**
|
|
29
|
+
* Sorts the results by asc or desc
|
|
30
|
+
*/
|
|
31
|
+
sortOrder?: Webflow.sites.CommentsListCommentRepliesRequestSortOrder;
|
|
32
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as Webflow from "../../../../../../index";
|
|
5
|
+
/**
|
|
6
|
+
* @example
|
|
7
|
+
* {
|
|
8
|
+
* localeId: "65427cf400e02b306eaa04a0"
|
|
9
|
+
* }
|
|
10
|
+
*/
|
|
11
|
+
export interface CommentsListCommentThreadsRequest {
|
|
12
|
+
/**
|
|
13
|
+
* Unique identifier for a specific locale. Applicable, when using localization.
|
|
14
|
+
*/
|
|
15
|
+
localeId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Offset used for pagination if the results have more than limit records
|
|
18
|
+
*/
|
|
19
|
+
offset?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Maximum number of records to be returned (max limit: 100)
|
|
22
|
+
*/
|
|
23
|
+
limit?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Sort results by the provided value. Only allowed when sortOrder is provided.
|
|
26
|
+
*/
|
|
27
|
+
sortBy?: Webflow.sites.CommentsListCommentThreadsRequestSortBy;
|
|
28
|
+
/**
|
|
29
|
+
* Sorts the results by asc or desc
|
|
30
|
+
*/
|
|
31
|
+
sortOrder?: Webflow.sites.CommentsListCommentThreadsRequestSortOrder;
|
|
32
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { type CommentsListCommentThreadsRequest } from "./CommentsListCommentThreadsRequest";
|
|
2
|
+
export { type CommentsGetCommentThreadRequest } from "./CommentsGetCommentThreadRequest";
|
|
3
|
+
export { type CommentsListCommentRepliesRequest } from "./CommentsListCommentRepliesRequest";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./types"), exports);
|
|
18
|
+
__exportStar(require("./client"), exports);
|
package/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type CommentsGetCommentThreadRequestSortBy = "createdOn" | "lastUpdated";
|
|
5
|
+
export declare const CommentsGetCommentThreadRequestSortBy: {
|
|
6
|
+
readonly CreatedOn: "createdOn";
|
|
7
|
+
readonly LastUpdated: "lastUpdated";
|
|
8
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CommentsGetCommentThreadRequestSortBy = void 0;
|
|
7
|
+
exports.CommentsGetCommentThreadRequestSortBy = {
|
|
8
|
+
CreatedOn: "createdOn",
|
|
9
|
+
LastUpdated: "lastUpdated",
|
|
10
|
+
};
|
package/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type CommentsGetCommentThreadRequestSortOrder = "asc" | "desc";
|
|
5
|
+
export declare const CommentsGetCommentThreadRequestSortOrder: {
|
|
6
|
+
readonly Asc: "asc";
|
|
7
|
+
readonly Desc: "desc";
|
|
8
|
+
};
|
package/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CommentsGetCommentThreadRequestSortOrder = void 0;
|
|
7
|
+
exports.CommentsGetCommentThreadRequestSortOrder = {
|
|
8
|
+
Asc: "asc",
|
|
9
|
+
Desc: "desc",
|
|
10
|
+
};
|
package/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type CommentsListCommentRepliesRequestSortBy = "createdOn" | "lastUpdated";
|
|
5
|
+
export declare const CommentsListCommentRepliesRequestSortBy: {
|
|
6
|
+
readonly CreatedOn: "createdOn";
|
|
7
|
+
readonly LastUpdated: "lastUpdated";
|
|
8
|
+
};
|
package/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.js
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.CommentsListCommentRepliesRequestSortBy = void 0;
|
|
7
|
+
exports.CommentsListCommentRepliesRequestSortBy = {
|
|
8
|
+
CreatedOn: "createdOn",
|
|
9
|
+
LastUpdated: "lastUpdated",
|
|
10
|
+
};
|