webflow-api 3.1.2 → 3.1.3
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 -20
- package/.mock/definition/api.yml +9 -2
- package/.mock/definition/collections/items.yml +21 -4
- package/.mock/definition/components.yml +31 -27
- package/.mock/definition/pages.yml +35 -3
- package/.mock/definition/products.yml +156 -42
- package/.mock/definition/sites/comments.yml +325 -0
- package/.mock/definition/sites/robotsTxt.yml +22 -3
- package/.mock/definition/sites/wellKnown.yml +114 -0
- package/.mock/definition/sites.yml +1 -1
- 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 +1 -1
- package/api/resources/sites/resources/redirects/client/Client.js +8 -8
- 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/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 +1 -1
- package/dist/api/resources/sites/resources/redirects/client/Client.js +8 -8
- 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/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/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 +15 -12
- package/reference.md +674 -16
- 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/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,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type CommentsListCommentRepliesRequestSortOrder = "asc" | "desc";
|
|
5
|
+
export declare const CommentsListCommentRepliesRequestSortOrder: {
|
|
6
|
+
readonly Asc: "asc";
|
|
7
|
+
readonly Desc: "desc";
|
|
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.CommentsListCommentRepliesRequestSortOrder = void 0;
|
|
7
|
+
exports.CommentsListCommentRepliesRequestSortOrder = {
|
|
8
|
+
Asc: "asc",
|
|
9
|
+
Desc: "desc",
|
|
10
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type CommentsListCommentThreadsRequestSortBy = "createdOn" | "lastUpdated";
|
|
5
|
+
export declare const CommentsListCommentThreadsRequestSortBy: {
|
|
6
|
+
readonly CreatedOn: "createdOn";
|
|
7
|
+
readonly LastUpdated: "lastUpdated";
|
|
8
|
+
};
|
package/dist/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.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.CommentsListCommentThreadsRequestSortBy = void 0;
|
|
7
|
+
exports.CommentsListCommentThreadsRequestSortBy = {
|
|
8
|
+
CreatedOn: "createdOn",
|
|
9
|
+
LastUpdated: "lastUpdated",
|
|
10
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type CommentsListCommentThreadsRequestSortOrder = "asc" | "desc";
|
|
5
|
+
export declare const CommentsListCommentThreadsRequestSortOrder: {
|
|
6
|
+
readonly Asc: "asc";
|
|
7
|
+
readonly Desc: "desc";
|
|
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.CommentsListCommentThreadsRequestSortOrder = void 0;
|
|
7
|
+
exports.CommentsListCommentThreadsRequestSortOrder = {
|
|
8
|
+
Asc: "asc",
|
|
9
|
+
Desc: "desc",
|
|
10
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./CommentsListCommentThreadsRequestSortBy";
|
|
2
|
+
export * from "./CommentsListCommentThreadsRequestSortOrder";
|
|
3
|
+
export * from "./CommentsGetCommentThreadRequestSortBy";
|
|
4
|
+
export * from "./CommentsGetCommentThreadRequestSortOrder";
|
|
5
|
+
export * from "./CommentsListCommentRepliesRequestSortBy";
|
|
6
|
+
export * from "./CommentsListCommentRepliesRequestSortOrder";
|
|
@@ -0,0 +1,22 @@
|
|
|
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("./CommentsListCommentThreadsRequestSortBy"), exports);
|
|
18
|
+
__exportStar(require("./CommentsListCommentThreadsRequestSortOrder"), exports);
|
|
19
|
+
__exportStar(require("./CommentsGetCommentThreadRequestSortBy"), exports);
|
|
20
|
+
__exportStar(require("./CommentsGetCommentThreadRequestSortOrder"), exports);
|
|
21
|
+
__exportStar(require("./CommentsListCommentRepliesRequestSortBy"), exports);
|
|
22
|
+
__exportStar(require("./CommentsListCommentRepliesRequestSortOrder"), exports);
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
+
export * as wellKnown from "./wellKnown";
|
|
2
|
+
export * from "./wellKnown/types";
|
|
3
|
+
export * as comments from "./comments";
|
|
4
|
+
export * from "./comments/types";
|
|
1
5
|
export * as redirects from "./redirects";
|
|
2
6
|
export * as plans from "./plans";
|
|
3
7
|
export * as robotsTxt from "./robotsTxt";
|
|
4
8
|
export * as activityLogs from "./activityLogs";
|
|
5
9
|
export * as scripts from "./scripts";
|
|
10
|
+
export * from "./wellKnown/client/requests";
|
|
6
11
|
export * from "./activityLogs/client/requests";
|
|
12
|
+
export * from "./comments/client/requests";
|
|
7
13
|
export * from "./scripts/client/requests";
|
|
@@ -26,11 +26,17 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.scripts = exports.activityLogs = exports.robotsTxt = exports.plans = exports.redirects = void 0;
|
|
29
|
+
exports.scripts = exports.activityLogs = exports.robotsTxt = exports.plans = exports.redirects = exports.comments = exports.wellKnown = void 0;
|
|
30
|
+
exports.wellKnown = __importStar(require("./wellKnown"));
|
|
31
|
+
__exportStar(require("./wellKnown/types"), exports);
|
|
32
|
+
exports.comments = __importStar(require("./comments"));
|
|
33
|
+
__exportStar(require("./comments/types"), exports);
|
|
30
34
|
exports.redirects = __importStar(require("./redirects"));
|
|
31
35
|
exports.plans = __importStar(require("./plans"));
|
|
32
36
|
exports.robotsTxt = __importStar(require("./robotsTxt"));
|
|
33
37
|
exports.activityLogs = __importStar(require("./activityLogs"));
|
|
34
38
|
exports.scripts = __importStar(require("./scripts"));
|
|
39
|
+
__exportStar(require("./wellKnown/client/requests"), exports);
|
|
35
40
|
__exportStar(require("./activityLogs/client/requests"), exports);
|
|
41
|
+
__exportStar(require("./comments/client/requests"), exports);
|
|
36
42
|
__exportStar(require("./scripts/client/requests"), exports);
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
import * as Webflow from "../../../../../index";
|
|
7
7
|
export declare namespace Plans {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.WebflowEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
|
|
10
10
|
accessToken: core.Supplier<core.BearerToken>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -72,9 +72,9 @@ class Plans {
|
|
|
72
72
|
var _a;
|
|
73
73
|
return __awaiter(this, void 0, void 0, function* () {
|
|
74
74
|
const _response = yield core.fetcher({
|
|
75
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
75
|
+
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)}/plan`),
|
|
76
76
|
method: "GET",
|
|
77
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
77
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
78
78
|
contentType: "application/json",
|
|
79
79
|
requestType: "json",
|
|
80
80
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
import * as Webflow from "../../../../../index";
|
|
7
7
|
export declare namespace Redirects {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.WebflowEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
|
|
10
10
|
accessToken: core.Supplier<core.BearerToken>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -74,9 +74,9 @@ class Redirects {
|
|
|
74
74
|
var _a;
|
|
75
75
|
return __awaiter(this, void 0, void 0, function* () {
|
|
76
76
|
const _response = yield core.fetcher({
|
|
77
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
77
|
+
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)}/redirects`),
|
|
78
78
|
method: "GET",
|
|
79
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
79
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
80
80
|
contentType: "application/json",
|
|
81
81
|
requestType: "json",
|
|
82
82
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -180,9 +180,9 @@ class Redirects {
|
|
|
180
180
|
var _a;
|
|
181
181
|
return __awaiter(this, void 0, void 0, function* () {
|
|
182
182
|
const _response = yield core.fetcher({
|
|
183
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
183
|
+
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)}/redirects`),
|
|
184
184
|
method: "POST",
|
|
185
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
185
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
186
186
|
contentType: "application/json",
|
|
187
187
|
requestType: "json",
|
|
188
188
|
body: serializers.Redirect.jsonOrThrow(request, {
|
|
@@ -287,9 +287,9 @@ class Redirects {
|
|
|
287
287
|
var _a;
|
|
288
288
|
return __awaiter(this, void 0, void 0, function* () {
|
|
289
289
|
const _response = yield core.fetcher({
|
|
290
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
290
|
+
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)}/redirects/${encodeURIComponent(redirectId)}`),
|
|
291
291
|
method: "DELETE",
|
|
292
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
292
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
293
293
|
contentType: "application/json",
|
|
294
294
|
requestType: "json",
|
|
295
295
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -392,9 +392,9 @@ class Redirects {
|
|
|
392
392
|
var _a;
|
|
393
393
|
return __awaiter(this, void 0, void 0, function* () {
|
|
394
394
|
const _response = yield core.fetcher({
|
|
395
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
395
|
+
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)}/redirects/${encodeURIComponent(redirectId)}`),
|
|
396
396
|
method: "PATCH",
|
|
397
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
397
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
398
398
|
contentType: "application/json",
|
|
399
399
|
requestType: "json",
|
|
400
400
|
body: serializers.Redirect.jsonOrThrow(request, {
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
import * as Webflow from "../../../../../index";
|
|
7
7
|
export declare namespace RobotsTxt {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.WebflowEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
|
|
10
10
|
accessToken: core.Supplier<core.BearerToken>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -26,6 +26,8 @@ export declare class RobotsTxt {
|
|
|
26
26
|
/**
|
|
27
27
|
* Retrieve the robots.txt configuration for various user agents.
|
|
28
28
|
*
|
|
29
|
+
* <Warning title="Enterprise Only">This endpoint requires an Enterprise workspace.</Warning>
|
|
30
|
+
*
|
|
29
31
|
* Required scope: `site_config:read`
|
|
30
32
|
*
|
|
31
33
|
* @param {string} siteId - Unique identifier for a Site
|
|
@@ -44,6 +46,8 @@ export declare class RobotsTxt {
|
|
|
44
46
|
/**
|
|
45
47
|
* Replace the `robots.txt` configuration for various user agents.
|
|
46
48
|
*
|
|
49
|
+
* <Warning title="Enterprise Only">This endpoint requires an Enterprise workspace.</Warning>
|
|
50
|
+
*
|
|
47
51
|
* Required scope | `site_config:write`
|
|
48
52
|
*
|
|
49
53
|
* @param {string} siteId - Unique identifier for a Site
|
|
@@ -72,6 +76,8 @@ export declare class RobotsTxt {
|
|
|
72
76
|
*
|
|
73
77
|
* **Note:** Deleting a user-agent with no rules will make the user-agent's access unrestricted unless other directives apply.
|
|
74
78
|
*
|
|
79
|
+
* <Warning title="Enterprise Only">This endpoint requires an Enterprise workspace.</Warning>
|
|
80
|
+
*
|
|
75
81
|
* Required scope: `site_config:write`
|
|
76
82
|
*
|
|
77
83
|
* @param {string} siteId - Unique identifier for a Site
|
|
@@ -97,6 +103,8 @@ export declare class RobotsTxt {
|
|
|
97
103
|
/**
|
|
98
104
|
* Update the `robots.txt` configuration for various user agents.
|
|
99
105
|
*
|
|
106
|
+
* <Warning title="Enterprise Only">This endpoint requires an Enterprise workspace.</Warning>
|
|
107
|
+
*
|
|
100
108
|
* Required scope | `site_config:write`
|
|
101
109
|
*
|
|
102
110
|
* @param {string} siteId - Unique identifier for a Site
|
|
@@ -52,6 +52,8 @@ class RobotsTxt {
|
|
|
52
52
|
/**
|
|
53
53
|
* Retrieve the robots.txt configuration for various user agents.
|
|
54
54
|
*
|
|
55
|
+
* <Warning title="Enterprise Only">This endpoint requires an Enterprise workspace.</Warning>
|
|
56
|
+
*
|
|
55
57
|
* Required scope: `site_config:read`
|
|
56
58
|
*
|
|
57
59
|
* @param {string} siteId - Unique identifier for a Site
|
|
@@ -70,9 +72,9 @@ class RobotsTxt {
|
|
|
70
72
|
var _a;
|
|
71
73
|
return __awaiter(this, void 0, void 0, function* () {
|
|
72
74
|
const _response = yield core.fetcher({
|
|
73
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
75
|
+
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)}/robots_txt`),
|
|
74
76
|
method: "GET",
|
|
75
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
77
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
76
78
|
contentType: "application/json",
|
|
77
79
|
requestType: "json",
|
|
78
80
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -149,6 +151,8 @@ class RobotsTxt {
|
|
|
149
151
|
/**
|
|
150
152
|
* Replace the `robots.txt` configuration for various user agents.
|
|
151
153
|
*
|
|
154
|
+
* <Warning title="Enterprise Only">This endpoint requires an Enterprise workspace.</Warning>
|
|
155
|
+
*
|
|
152
156
|
* Required scope | `site_config:write`
|
|
153
157
|
*
|
|
154
158
|
* @param {string} siteId - Unique identifier for a Site
|
|
@@ -175,9 +179,9 @@ class RobotsTxt {
|
|
|
175
179
|
var _a;
|
|
176
180
|
return __awaiter(this, void 0, void 0, function* () {
|
|
177
181
|
const _response = yield core.fetcher({
|
|
178
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
182
|
+
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)}/robots_txt`),
|
|
179
183
|
method: "PUT",
|
|
180
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
184
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
181
185
|
contentType: "application/json",
|
|
182
186
|
requestType: "json",
|
|
183
187
|
body: serializers.Robots.jsonOrThrow(request, {
|
|
@@ -261,6 +265,8 @@ class RobotsTxt {
|
|
|
261
265
|
*
|
|
262
266
|
* **Note:** Deleting a user-agent with no rules will make the user-agent's access unrestricted unless other directives apply.
|
|
263
267
|
*
|
|
268
|
+
* <Warning title="Enterprise Only">This endpoint requires an Enterprise workspace.</Warning>
|
|
269
|
+
*
|
|
264
270
|
* Required scope: `site_config:write`
|
|
265
271
|
*
|
|
266
272
|
* @param {string} siteId - Unique identifier for a Site
|
|
@@ -286,9 +292,9 @@ class RobotsTxt {
|
|
|
286
292
|
var _a;
|
|
287
293
|
return __awaiter(this, void 0, void 0, function* () {
|
|
288
294
|
const _response = yield core.fetcher({
|
|
289
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
295
|
+
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)}/robots_txt`),
|
|
290
296
|
method: "DELETE",
|
|
291
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
297
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
292
298
|
contentType: "application/json",
|
|
293
299
|
requestType: "json",
|
|
294
300
|
body: serializers.Robots.jsonOrThrow(request, {
|
|
@@ -370,6 +376,8 @@ class RobotsTxt {
|
|
|
370
376
|
/**
|
|
371
377
|
* Update the `robots.txt` configuration for various user agents.
|
|
372
378
|
*
|
|
379
|
+
* <Warning title="Enterprise Only">This endpoint requires an Enterprise workspace.</Warning>
|
|
380
|
+
*
|
|
373
381
|
* Required scope | `site_config:write`
|
|
374
382
|
*
|
|
375
383
|
* @param {string} siteId - Unique identifier for a Site
|
|
@@ -396,9 +404,9 @@ class RobotsTxt {
|
|
|
396
404
|
var _a;
|
|
397
405
|
return __awaiter(this, void 0, void 0, function* () {
|
|
398
406
|
const _response = yield core.fetcher({
|
|
399
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
407
|
+
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)}/robots_txt`),
|
|
400
408
|
method: "PATCH",
|
|
401
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
409
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
402
410
|
contentType: "application/json",
|
|
403
411
|
requestType: "json",
|
|
404
412
|
body: serializers.Robots.jsonOrThrow(request, {
|
|
@@ -6,7 +6,7 @@ import * as core from "../../../../../../core";
|
|
|
6
6
|
import * as Webflow from "../../../../../index";
|
|
7
7
|
export declare namespace Scripts {
|
|
8
8
|
interface Options {
|
|
9
|
-
environment?: core.Supplier<environments.WebflowEnvironment |
|
|
9
|
+
environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
|
|
10
10
|
accessToken: core.Supplier<core.BearerToken>;
|
|
11
11
|
}
|
|
12
12
|
interface RequestOptions {
|
|
@@ -74,9 +74,9 @@ class Scripts {
|
|
|
74
74
|
var _a;
|
|
75
75
|
return __awaiter(this, void 0, void 0, function* () {
|
|
76
76
|
const _response = yield core.fetcher({
|
|
77
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
77
|
+
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)}/custom_code`),
|
|
78
78
|
method: "GET",
|
|
79
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
79
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
80
80
|
contentType: "application/json",
|
|
81
81
|
requestType: "json",
|
|
82
82
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -189,9 +189,9 @@ class Scripts {
|
|
|
189
189
|
var _a;
|
|
190
190
|
return __awaiter(this, void 0, void 0, function* () {
|
|
191
191
|
const _response = yield core.fetcher({
|
|
192
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
192
|
+
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)}/custom_code`),
|
|
193
193
|
method: "PUT",
|
|
194
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
194
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
195
195
|
contentType: "application/json",
|
|
196
196
|
requestType: "json",
|
|
197
197
|
body: serializers.ScriptApplyList.jsonOrThrow(request, {
|
|
@@ -291,9 +291,9 @@ class Scripts {
|
|
|
291
291
|
var _a;
|
|
292
292
|
return __awaiter(this, void 0, void 0, function* () {
|
|
293
293
|
const _response = yield core.fetcher({
|
|
294
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
294
|
+
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)}/custom_code`),
|
|
295
295
|
method: "DELETE",
|
|
296
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
296
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
297
297
|
contentType: "application/json",
|
|
298
298
|
requestType: "json",
|
|
299
299
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -397,9 +397,9 @@ class Scripts {
|
|
|
397
397
|
_queryParams["limit"] = limit.toString();
|
|
398
398
|
}
|
|
399
399
|
const _response = yield core.fetcher({
|
|
400
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
400
|
+
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)}/custom_code/blocks`),
|
|
401
401
|
method: "GET",
|
|
402
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
402
|
+
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.3", "User-Agent": "webflow-api/3.1.3", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers),
|
|
403
403
|
contentType: "application/json",
|
|
404
404
|
queryParameters: _queryParams,
|
|
405
405
|
requestType: "json",
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as environments from "../../../../../../environments";
|
|
5
|
+
import * as core from "../../../../../../core";
|
|
6
|
+
import * as Webflow from "../../../../../index";
|
|
7
|
+
export declare namespace WellKnown {
|
|
8
|
+
interface Options {
|
|
9
|
+
environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
|
|
10
|
+
accessToken: core.Supplier<core.BearerToken>;
|
|
11
|
+
}
|
|
12
|
+
interface RequestOptions {
|
|
13
|
+
/** The maximum time to wait for a response in seconds. */
|
|
14
|
+
timeoutInSeconds?: number;
|
|
15
|
+
/** The number of times to retry the request. Defaults to 2. */
|
|
16
|
+
maxRetries?: number;
|
|
17
|
+
/** A hook to abort the request. */
|
|
18
|
+
abortSignal?: AbortSignal;
|
|
19
|
+
/** Additional headers to include in the request. */
|
|
20
|
+
headers?: Record<string, string>;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export declare class WellKnown {
|
|
24
|
+
protected readonly _options: WellKnown.Options;
|
|
25
|
+
constructor(_options: WellKnown.Options);
|
|
26
|
+
/**
|
|
27
|
+
* Upload a supported well-known file to a site.
|
|
28
|
+
*
|
|
29
|
+
* The current restrictions on well-known files are as follows:
|
|
30
|
+
* - Each file must be smaller than 100kb
|
|
31
|
+
* - Less than 30 total files
|
|
32
|
+
* - Have one of the following file extensions (or no extension): `.txt`, `.json`, `.noext`
|
|
33
|
+
*
|
|
34
|
+
* <Note title=".noext">
|
|
35
|
+
* `.noext` is a special file extension that removes other extensions. For example, `apple-app-site-association.noext.txt` will be uploaded as `apple-app-site-association`. Use this extension for tools that have trouble uploading extensionless files.
|
|
36
|
+
* </Note>
|
|
37
|
+
*
|
|
38
|
+
* <Warning title="Enterprise Only">This endpoint requires an Enterprise workspace.</Warning>
|
|
39
|
+
*
|
|
40
|
+
* Required scope: `site_config:write`
|
|
41
|
+
*
|
|
42
|
+
* @param {string} siteId - Unique identifier for a Site
|
|
43
|
+
* @param {Webflow.sites.WellKnownFile} request
|
|
44
|
+
* @param {WellKnown.RequestOptions} requestOptions - Request-specific configuration.
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link Webflow.BadRequestError}
|
|
47
|
+
* @throws {@link Webflow.UnauthorizedError}
|
|
48
|
+
* @throws {@link Webflow.NotFoundError}
|
|
49
|
+
* @throws {@link Webflow.TooManyRequestsError}
|
|
50
|
+
* @throws {@link Webflow.InternalServerError}
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* await client.sites.wellKnown.put("580e63e98c9a982ac9b8b741", {
|
|
54
|
+
* fileName: "fileName",
|
|
55
|
+
* fileData: "fileData"
|
|
56
|
+
* })
|
|
57
|
+
*/
|
|
58
|
+
put(siteId: string, request: Webflow.sites.WellKnownFile, requestOptions?: WellKnown.RequestOptions): Promise<void>;
|
|
59
|
+
/**
|
|
60
|
+
* Delete existing well-known files from a site.
|
|
61
|
+
*
|
|
62
|
+
* <Warning title="Enterprise Only">This endpoint requires an Enterprise workspace.</Warning>
|
|
63
|
+
*
|
|
64
|
+
* Required scope: `site_config:write`
|
|
65
|
+
*
|
|
66
|
+
* @param {string} siteId - Unique identifier for a Site
|
|
67
|
+
* @param {Webflow.sites.WellKnownDeleteRequest} request
|
|
68
|
+
* @param {WellKnown.RequestOptions} requestOptions - Request-specific configuration.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link Webflow.BadRequestError}
|
|
71
|
+
* @throws {@link Webflow.UnauthorizedError}
|
|
72
|
+
* @throws {@link Webflow.NotFoundError}
|
|
73
|
+
* @throws {@link Webflow.TooManyRequestsError}
|
|
74
|
+
* @throws {@link Webflow.InternalServerError}
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* await client.sites.wellKnown.delete("580e63e98c9a982ac9b8b741")
|
|
78
|
+
*/
|
|
79
|
+
delete(siteId: string, request?: Webflow.sites.WellKnownDeleteRequest, requestOptions?: WellKnown.RequestOptions): Promise<void>;
|
|
80
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
81
|
+
}
|