webflow-api 3.1.1 → 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/AssetsClient.d.ts +12 -0
- package/dist/wrapper/AssetsClient.js +16 -0
- package/dist/wrapper/AssetsUtilitiesClient.d.ts +49 -0
- package/dist/wrapper/AssetsUtilitiesClient.js +121 -0
- package/dist/wrapper/WebflowClient.d.ts +3 -0
- package/dist/wrapper/WebflowClient.js +5 -0
- package/environments.d.ts +15 -2
- package/environments.js +7 -1
- package/package.json +7 -3
- 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/AssetsClient.d.ts +12 -0
- package/wrapper/AssetsClient.js +16 -0
- package/wrapper/AssetsUtilitiesClient.d.ts +49 -0
- package/wrapper/AssetsUtilitiesClient.js +121 -0
- package/wrapper/WebflowClient.d.ts +3 -0
- package/wrapper/WebflowClient.js +5 -0
|
@@ -6,7 +6,7 @@ import * as core from "../../../../core";
|
|
|
6
6
|
import * as Webflow from "../../../index";
|
|
7
7
|
export declare namespace Products {
|
|
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 {
|
|
@@ -48,16 +48,12 @@ export declare class Products {
|
|
|
48
48
|
*/
|
|
49
49
|
list(siteId: string, request?: Webflow.ProductsListRequest, requestOptions?: Products.RequestOptions): Promise<Webflow.ProductAndSkUsList>;
|
|
50
50
|
/**
|
|
51
|
-
* Create a new product and SKU.
|
|
51
|
+
* Create a new ecommerce product and defaultSKU. A product, at minimum, must have a single SKU.
|
|
52
52
|
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* -
|
|
57
|
-
* - A single `sku-property` would be `color`. Within the `color` property, list the various colors of T-shirts as an array of `enum` values: `royal-blue`, `crimson-red`, and `forrest-green`.
|
|
58
|
-
* - Once, you've created a Product and its `sku-properties` with `enum` values, Webflow will create a **default SKU**, which will automatically be a combination of the first `sku-properties` you've created.
|
|
59
|
-
* - In our example, the default SKU will be a Royal Blue T-Shirt, because our first `enum` of our Color `sku-property` is Royal Blue.
|
|
60
|
-
* - After you've created your product, you can create additional SKUs using the [Create SKU endpoint.](/data/reference/ecommerce/products/create-sku)
|
|
53
|
+
* To create a product with multiple SKUs:
|
|
54
|
+
* - First, create a list of `sku-properties`, also known as [product options](https://help.webflow.com/hc/en-us/articles/33961334531347-Create-product-options-and-variants). For example, a T-shirt product may have a "color" `sku-property`, with a list of enum values: red, yellow, and blue, another `sku-property` may be "size", with a list of enum values: small, medium, and large.
|
|
55
|
+
* - Once, a product is created with a list of `sku-properties`, Webflow will create a **default SKU**, which is always a combination of the first `enum` values of each `sku-property`. (e.g. Small - Red - T-Shirt)
|
|
56
|
+
* - After creation, you can create additional SKUs for the product, using the [Create SKUs endpoint.](/data/reference/ecommerce/products/create-sku)
|
|
61
57
|
*
|
|
62
58
|
* Upon creation, the default product type will be `Advanced`, which ensures all Product and SKU fields will be shown to users in the Designer.
|
|
63
59
|
*
|
|
@@ -76,9 +72,63 @@ export declare class Products {
|
|
|
76
72
|
* @throws {@link Webflow.InternalServerError}
|
|
77
73
|
*
|
|
78
74
|
* @example
|
|
79
|
-
* await client.products.create("580e63e98c9a982ac9b8b741"
|
|
75
|
+
* await client.products.create("580e63e98c9a982ac9b8b741", {
|
|
76
|
+
* publishStatus: "staging",
|
|
77
|
+
* product: {
|
|
78
|
+
* fieldData: {
|
|
79
|
+
* name: "Colorful T-shirt",
|
|
80
|
+
* slug: "colorful-t-shirt",
|
|
81
|
+
* description: "Our best-selling t-shirt available in multiple colors and sizes",
|
|
82
|
+
* skuProperties: [{
|
|
83
|
+
* id: "color",
|
|
84
|
+
* name: "Color",
|
|
85
|
+
* enum: [{
|
|
86
|
+
* id: "red",
|
|
87
|
+
* name: "Red",
|
|
88
|
+
* slug: "red"
|
|
89
|
+
* }, {
|
|
90
|
+
* id: "yellow",
|
|
91
|
+
* name: "Yellow",
|
|
92
|
+
* slug: "yellow"
|
|
93
|
+
* }, {
|
|
94
|
+
* id: "blue",
|
|
95
|
+
* name: "Blue",
|
|
96
|
+
* slug: "blue"
|
|
97
|
+
* }]
|
|
98
|
+
* }, {
|
|
99
|
+
* id: "size",
|
|
100
|
+
* name: "Size",
|
|
101
|
+
* enum: [{
|
|
102
|
+
* id: "small",
|
|
103
|
+
* name: "Small",
|
|
104
|
+
* slug: "small"
|
|
105
|
+
* }, {
|
|
106
|
+
* id: "medium",
|
|
107
|
+
* name: "Medium",
|
|
108
|
+
* slug: "medium"
|
|
109
|
+
* }, {
|
|
110
|
+
* id: "large",
|
|
111
|
+
* name: "Large",
|
|
112
|
+
* slug: "large"
|
|
113
|
+
* }]
|
|
114
|
+
* }]
|
|
115
|
+
* }
|
|
116
|
+
* },
|
|
117
|
+
* sku: {
|
|
118
|
+
* fieldData: {
|
|
119
|
+
* name: "Colorful T-shirt - Red Small",
|
|
120
|
+
* slug: "colorful-t-shirt-red-small",
|
|
121
|
+
* price: {
|
|
122
|
+
* value: 2499,
|
|
123
|
+
* unit: "USD",
|
|
124
|
+
* currency: "USD"
|
|
125
|
+
* },
|
|
126
|
+
* mainImage: "https://rocketamp-sample-store.myshopify.com/cdn/shop/products/Gildan_2000_Antique_Cherry_Red_Front_1024x1024.jpg?v=1527232987"
|
|
127
|
+
* }
|
|
128
|
+
* }
|
|
129
|
+
* })
|
|
80
130
|
*/
|
|
81
|
-
create(siteId: string, request
|
|
131
|
+
create(siteId: string, request: Webflow.ProductSkuCreate, requestOptions?: Products.RequestOptions): Promise<Webflow.ProductAndSkUs>;
|
|
82
132
|
/**
|
|
83
133
|
* Retrieve a single product by its ID. All of its SKUs will also be
|
|
84
134
|
* retrieved.
|
|
@@ -147,7 +197,17 @@ export declare class Products {
|
|
|
147
197
|
*
|
|
148
198
|
* @example
|
|
149
199
|
* await client.products.createSku("580e63e98c9a982ac9b8b741", "580e63fc8c9a982ac9b8b745", {
|
|
150
|
-
* skus: [{
|
|
200
|
+
* skus: [{
|
|
201
|
+
* fieldData: {
|
|
202
|
+
* name: "Colorful T-shirt - Default",
|
|
203
|
+
* slug: "colorful-t-shirt-default",
|
|
204
|
+
* price: {
|
|
205
|
+
* value: 2499,
|
|
206
|
+
* unit: "USD",
|
|
207
|
+
* currency: "USD"
|
|
208
|
+
* }
|
|
209
|
+
* }
|
|
210
|
+
* }]
|
|
151
211
|
* })
|
|
152
212
|
*/
|
|
153
213
|
createSku(siteId: string, productId: string, request: Webflow.ProductsCreateSkuRequest, requestOptions?: Products.RequestOptions): Promise<Webflow.ProductsCreateSkuResponse>;
|
|
@@ -174,7 +234,17 @@ export declare class Products {
|
|
|
174
234
|
*
|
|
175
235
|
* @example
|
|
176
236
|
* await client.products.updateSku("580e63e98c9a982ac9b8b741", "580e63fc8c9a982ac9b8b745", "5e8518516e147040726cc415", {
|
|
177
|
-
* sku: {
|
|
237
|
+
* sku: {
|
|
238
|
+
* fieldData: {
|
|
239
|
+
* name: "Colorful T-shirt - Default",
|
|
240
|
+
* slug: "colorful-t-shirt-default",
|
|
241
|
+
* price: {
|
|
242
|
+
* value: 2499,
|
|
243
|
+
* unit: "USD",
|
|
244
|
+
* currency: "USD"
|
|
245
|
+
* }
|
|
246
|
+
* }
|
|
247
|
+
* }
|
|
178
248
|
* })
|
|
179
249
|
*/
|
|
180
250
|
updateSku(siteId: string, productId: string, skuId: string, request: Webflow.ProductsUpdateSkuRequest, requestOptions?: Products.RequestOptions): Promise<Webflow.Sku>;
|
|
@@ -84,9 +84,9 @@ class Products {
|
|
|
84
84
|
_queryParams["limit"] = limit.toString();
|
|
85
85
|
}
|
|
86
86
|
const _response = yield core.fetcher({
|
|
87
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
87
|
+
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)}/products`),
|
|
88
88
|
method: "GET",
|
|
89
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
89
|
+
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),
|
|
90
90
|
contentType: "application/json",
|
|
91
91
|
queryParameters: _queryParams,
|
|
92
92
|
requestType: "json",
|
|
@@ -166,16 +166,12 @@ class Products {
|
|
|
166
166
|
});
|
|
167
167
|
}
|
|
168
168
|
/**
|
|
169
|
-
* Create a new product and SKU.
|
|
169
|
+
* Create a new ecommerce product and defaultSKU. A product, at minimum, must have a single SKU.
|
|
170
170
|
*
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
* -
|
|
175
|
-
* - A single `sku-property` would be `color`. Within the `color` property, list the various colors of T-shirts as an array of `enum` values: `royal-blue`, `crimson-red`, and `forrest-green`.
|
|
176
|
-
* - Once, you've created a Product and its `sku-properties` with `enum` values, Webflow will create a **default SKU**, which will automatically be a combination of the first `sku-properties` you've created.
|
|
177
|
-
* - In our example, the default SKU will be a Royal Blue T-Shirt, because our first `enum` of our Color `sku-property` is Royal Blue.
|
|
178
|
-
* - After you've created your product, you can create additional SKUs using the [Create SKU endpoint.](/data/reference/ecommerce/products/create-sku)
|
|
171
|
+
* To create a product with multiple SKUs:
|
|
172
|
+
* - First, create a list of `sku-properties`, also known as [product options](https://help.webflow.com/hc/en-us/articles/33961334531347-Create-product-options-and-variants). For example, a T-shirt product may have a "color" `sku-property`, with a list of enum values: red, yellow, and blue, another `sku-property` may be "size", with a list of enum values: small, medium, and large.
|
|
173
|
+
* - Once, a product is created with a list of `sku-properties`, Webflow will create a **default SKU**, which is always a combination of the first `enum` values of each `sku-property`. (e.g. Small - Red - T-Shirt)
|
|
174
|
+
* - After creation, you can create additional SKUs for the product, using the [Create SKUs endpoint.](/data/reference/ecommerce/products/create-sku)
|
|
179
175
|
*
|
|
180
176
|
* Upon creation, the default product type will be `Advanced`, which ensures all Product and SKU fields will be shown to users in the Designer.
|
|
181
177
|
*
|
|
@@ -194,15 +190,69 @@ class Products {
|
|
|
194
190
|
* @throws {@link Webflow.InternalServerError}
|
|
195
191
|
*
|
|
196
192
|
* @example
|
|
197
|
-
* await client.products.create("580e63e98c9a982ac9b8b741"
|
|
193
|
+
* await client.products.create("580e63e98c9a982ac9b8b741", {
|
|
194
|
+
* publishStatus: "staging",
|
|
195
|
+
* product: {
|
|
196
|
+
* fieldData: {
|
|
197
|
+
* name: "Colorful T-shirt",
|
|
198
|
+
* slug: "colorful-t-shirt",
|
|
199
|
+
* description: "Our best-selling t-shirt available in multiple colors and sizes",
|
|
200
|
+
* skuProperties: [{
|
|
201
|
+
* id: "color",
|
|
202
|
+
* name: "Color",
|
|
203
|
+
* enum: [{
|
|
204
|
+
* id: "red",
|
|
205
|
+
* name: "Red",
|
|
206
|
+
* slug: "red"
|
|
207
|
+
* }, {
|
|
208
|
+
* id: "yellow",
|
|
209
|
+
* name: "Yellow",
|
|
210
|
+
* slug: "yellow"
|
|
211
|
+
* }, {
|
|
212
|
+
* id: "blue",
|
|
213
|
+
* name: "Blue",
|
|
214
|
+
* slug: "blue"
|
|
215
|
+
* }]
|
|
216
|
+
* }, {
|
|
217
|
+
* id: "size",
|
|
218
|
+
* name: "Size",
|
|
219
|
+
* enum: [{
|
|
220
|
+
* id: "small",
|
|
221
|
+
* name: "Small",
|
|
222
|
+
* slug: "small"
|
|
223
|
+
* }, {
|
|
224
|
+
* id: "medium",
|
|
225
|
+
* name: "Medium",
|
|
226
|
+
* slug: "medium"
|
|
227
|
+
* }, {
|
|
228
|
+
* id: "large",
|
|
229
|
+
* name: "Large",
|
|
230
|
+
* slug: "large"
|
|
231
|
+
* }]
|
|
232
|
+
* }]
|
|
233
|
+
* }
|
|
234
|
+
* },
|
|
235
|
+
* sku: {
|
|
236
|
+
* fieldData: {
|
|
237
|
+
* name: "Colorful T-shirt - Red Small",
|
|
238
|
+
* slug: "colorful-t-shirt-red-small",
|
|
239
|
+
* price: {
|
|
240
|
+
* value: 2499,
|
|
241
|
+
* unit: "USD",
|
|
242
|
+
* currency: "USD"
|
|
243
|
+
* },
|
|
244
|
+
* mainImage: "https://rocketamp-sample-store.myshopify.com/cdn/shop/products/Gildan_2000_Antique_Cherry_Red_Front_1024x1024.jpg?v=1527232987"
|
|
245
|
+
* }
|
|
246
|
+
* }
|
|
247
|
+
* })
|
|
198
248
|
*/
|
|
199
|
-
create(siteId, request
|
|
249
|
+
create(siteId, request, requestOptions) {
|
|
200
250
|
var _a;
|
|
201
251
|
return __awaiter(this, void 0, void 0, function* () {
|
|
202
252
|
const _response = yield core.fetcher({
|
|
203
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
253
|
+
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)}/products`),
|
|
204
254
|
method: "POST",
|
|
205
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
255
|
+
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),
|
|
206
256
|
contentType: "application/json",
|
|
207
257
|
requestType: "json",
|
|
208
258
|
body: serializers.ProductSkuCreate.jsonOrThrow(request, {
|
|
@@ -310,9 +360,9 @@ class Products {
|
|
|
310
360
|
var _a;
|
|
311
361
|
return __awaiter(this, void 0, void 0, function* () {
|
|
312
362
|
const _response = yield core.fetcher({
|
|
313
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
363
|
+
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)}/products/${encodeURIComponent(productId)}`),
|
|
314
364
|
method: "GET",
|
|
315
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
365
|
+
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),
|
|
316
366
|
contentType: "application/json",
|
|
317
367
|
requestType: "json",
|
|
318
368
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -417,9 +467,9 @@ class Products {
|
|
|
417
467
|
var _a;
|
|
418
468
|
return __awaiter(this, void 0, void 0, function* () {
|
|
419
469
|
const _response = yield core.fetcher({
|
|
420
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
470
|
+
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)}/products/${encodeURIComponent(productId)}`),
|
|
421
471
|
method: "PATCH",
|
|
422
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
472
|
+
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),
|
|
423
473
|
contentType: "application/json",
|
|
424
474
|
requestType: "json",
|
|
425
475
|
body: serializers.ProductSkuUpdate.jsonOrThrow(request, {
|
|
@@ -524,16 +574,26 @@ class Products {
|
|
|
524
574
|
*
|
|
525
575
|
* @example
|
|
526
576
|
* await client.products.createSku("580e63e98c9a982ac9b8b741", "580e63fc8c9a982ac9b8b745", {
|
|
527
|
-
* skus: [{
|
|
577
|
+
* skus: [{
|
|
578
|
+
* fieldData: {
|
|
579
|
+
* name: "Colorful T-shirt - Default",
|
|
580
|
+
* slug: "colorful-t-shirt-default",
|
|
581
|
+
* price: {
|
|
582
|
+
* value: 2499,
|
|
583
|
+
* unit: "USD",
|
|
584
|
+
* currency: "USD"
|
|
585
|
+
* }
|
|
586
|
+
* }
|
|
587
|
+
* }]
|
|
528
588
|
* })
|
|
529
589
|
*/
|
|
530
590
|
createSku(siteId, productId, request, requestOptions) {
|
|
531
591
|
var _a;
|
|
532
592
|
return __awaiter(this, void 0, void 0, function* () {
|
|
533
593
|
const _response = yield core.fetcher({
|
|
534
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
594
|
+
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)}/products/${encodeURIComponent(productId)}/skus`),
|
|
535
595
|
method: "POST",
|
|
536
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
596
|
+
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),
|
|
537
597
|
contentType: "application/json",
|
|
538
598
|
requestType: "json",
|
|
539
599
|
body: serializers.ProductsCreateSkuRequest.jsonOrThrow(request, {
|
|
@@ -639,16 +699,26 @@ class Products {
|
|
|
639
699
|
*
|
|
640
700
|
* @example
|
|
641
701
|
* await client.products.updateSku("580e63e98c9a982ac9b8b741", "580e63fc8c9a982ac9b8b745", "5e8518516e147040726cc415", {
|
|
642
|
-
* sku: {
|
|
702
|
+
* sku: {
|
|
703
|
+
* fieldData: {
|
|
704
|
+
* name: "Colorful T-shirt - Default",
|
|
705
|
+
* slug: "colorful-t-shirt-default",
|
|
706
|
+
* price: {
|
|
707
|
+
* value: 2499,
|
|
708
|
+
* unit: "USD",
|
|
709
|
+
* currency: "USD"
|
|
710
|
+
* }
|
|
711
|
+
* }
|
|
712
|
+
* }
|
|
643
713
|
* })
|
|
644
714
|
*/
|
|
645
715
|
updateSku(siteId, productId, skuId, request, requestOptions) {
|
|
646
716
|
var _a;
|
|
647
717
|
return __awaiter(this, void 0, void 0, function* () {
|
|
648
718
|
const _response = yield core.fetcher({
|
|
649
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
719
|
+
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)}/products/${encodeURIComponent(productId)}/skus/${encodeURIComponent(skuId)}`),
|
|
650
720
|
method: "PATCH",
|
|
651
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
721
|
+
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),
|
|
652
722
|
contentType: "application/json",
|
|
653
723
|
requestType: "json",
|
|
654
724
|
body: serializers.ProductsUpdateSkuRequest.jsonOrThrow(request, {
|
|
@@ -4,10 +4,64 @@
|
|
|
4
4
|
import * as Webflow from "../../../../index";
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
|
-
* {
|
|
7
|
+
* {
|
|
8
|
+
* publishStatus: "staging",
|
|
9
|
+
* product: {
|
|
10
|
+
* fieldData: {
|
|
11
|
+
* name: "Colorful T-shirt",
|
|
12
|
+
* slug: "colorful-t-shirt",
|
|
13
|
+
* description: "Our best-selling t-shirt available in multiple colors and sizes",
|
|
14
|
+
* skuProperties: [{
|
|
15
|
+
* id: "color",
|
|
16
|
+
* name: "Color",
|
|
17
|
+
* enum: [{
|
|
18
|
+
* id: "red",
|
|
19
|
+
* name: "Red",
|
|
20
|
+
* slug: "red"
|
|
21
|
+
* }, {
|
|
22
|
+
* id: "yellow",
|
|
23
|
+
* name: "Yellow",
|
|
24
|
+
* slug: "yellow"
|
|
25
|
+
* }, {
|
|
26
|
+
* id: "blue",
|
|
27
|
+
* name: "Blue",
|
|
28
|
+
* slug: "blue"
|
|
29
|
+
* }]
|
|
30
|
+
* }, {
|
|
31
|
+
* id: "size",
|
|
32
|
+
* name: "Size",
|
|
33
|
+
* enum: [{
|
|
34
|
+
* id: "small",
|
|
35
|
+
* name: "Small",
|
|
36
|
+
* slug: "small"
|
|
37
|
+
* }, {
|
|
38
|
+
* id: "medium",
|
|
39
|
+
* name: "Medium",
|
|
40
|
+
* slug: "medium"
|
|
41
|
+
* }, {
|
|
42
|
+
* id: "large",
|
|
43
|
+
* name: "Large",
|
|
44
|
+
* slug: "large"
|
|
45
|
+
* }]
|
|
46
|
+
* }]
|
|
47
|
+
* }
|
|
48
|
+
* },
|
|
49
|
+
* sku: {
|
|
50
|
+
* fieldData: {
|
|
51
|
+
* name: "Colorful T-shirt - Red Small",
|
|
52
|
+
* slug: "colorful-t-shirt-red-small",
|
|
53
|
+
* price: {
|
|
54
|
+
* value: 2499,
|
|
55
|
+
* unit: "USD",
|
|
56
|
+
* currency: "USD"
|
|
57
|
+
* },
|
|
58
|
+
* mainImage: "https://rocketamp-sample-store.myshopify.com/cdn/shop/products/Gildan_2000_Antique_Cherry_Red_Front_1024x1024.jpg?v=1527232987"
|
|
59
|
+
* }
|
|
60
|
+
* }
|
|
61
|
+
* }
|
|
8
62
|
*/
|
|
9
63
|
export interface ProductSkuCreate {
|
|
10
64
|
publishStatus?: Webflow.PublishStatus;
|
|
11
|
-
product
|
|
12
|
-
sku
|
|
65
|
+
product: Webflow.ProductSkuCreateProduct;
|
|
66
|
+
sku: Webflow.ProductSkuCreateSku;
|
|
13
67
|
}
|
|
@@ -5,7 +5,17 @@ import * as Webflow from "../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* skus: [{
|
|
8
|
+
* skus: [{
|
|
9
|
+
* fieldData: {
|
|
10
|
+
* name: "Colorful T-shirt - Default",
|
|
11
|
+
* slug: "colorful-t-shirt-default",
|
|
12
|
+
* price: {
|
|
13
|
+
* value: 2499,
|
|
14
|
+
* unit: "USD",
|
|
15
|
+
* currency: "USD"
|
|
16
|
+
* }
|
|
17
|
+
* }
|
|
18
|
+
* }]
|
|
9
19
|
* }
|
|
10
20
|
*/
|
|
11
21
|
export interface ProductsCreateSkuRequest {
|
|
@@ -5,7 +5,17 @@ import * as Webflow from "../../../../index";
|
|
|
5
5
|
/**
|
|
6
6
|
* @example
|
|
7
7
|
* {
|
|
8
|
-
* sku: {
|
|
8
|
+
* sku: {
|
|
9
|
+
* fieldData: {
|
|
10
|
+
* name: "Colorful T-shirt - Default",
|
|
11
|
+
* slug: "colorful-t-shirt-default",
|
|
12
|
+
* price: {
|
|
13
|
+
* value: 2499,
|
|
14
|
+
* unit: "USD",
|
|
15
|
+
* currency: "USD"
|
|
16
|
+
* }
|
|
17
|
+
* }
|
|
18
|
+
* }
|
|
9
19
|
* }
|
|
10
20
|
*/
|
|
11
21
|
export interface ProductsUpdateSkuRequest {
|
|
@@ -14,4 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ProductSkuCreateProduct"), exports);
|
|
18
|
+
__exportStar(require("./ProductSkuCreateSku"), exports);
|
|
17
19
|
__exportStar(require("./ProductsCreateSkuResponse"), exports);
|
|
@@ -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)}/registered_scripts`),
|
|
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,
|
|
@@ -181,9 +181,9 @@ class Scripts {
|
|
|
181
181
|
var _a;
|
|
182
182
|
return __awaiter(this, void 0, void 0, function* () {
|
|
183
183
|
const _response = yield core.fetcher({
|
|
184
|
-
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.WebflowEnvironment.
|
|
184
|
+
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)}/registered_scripts/hosted`),
|
|
185
185
|
method: "POST",
|
|
186
|
-
headers: Object.assign({ Authorization: yield this._getAuthorizationHeader(), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "webflow-api", "X-Fern-SDK-Version": "3.1.
|
|
186
|
+
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),
|
|
187
187
|
contentType: "application/json",
|
|
188
188
|
requestType: "json",
|
|
189
189
|
body: serializers.CustomCodeHostedRequest.jsonOrThrow(request, {
|
|
@@ -292,9 +292,9 @@ class Scripts {
|
|
|
292
292
|
var _a;
|
|
293
293
|
return __awaiter(this, void 0, void 0, function* () {
|
|
294
294
|
const _response = yield core.fetcher({
|
|
295
|
-
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)}/registered_scripts/inline`),
|
|
296
296
|
method: "POST",
|
|
297
|
-
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),
|
|
298
298
|
contentType: "application/json",
|
|
299
299
|
requestType: "json",
|
|
300
300
|
body: serializers.CustomCodeInlineRequest.jsonOrThrow(request, {
|
|
@@ -7,11 +7,13 @@ import * as Webflow from "../../../index";
|
|
|
7
7
|
import { Redirects } from "../resources/redirects/client/Client";
|
|
8
8
|
import { Plans } from "../resources/plans/client/Client";
|
|
9
9
|
import { RobotsTxt } from "../resources/robotsTxt/client/Client";
|
|
10
|
+
import { WellKnown } from "../resources/wellKnown/client/Client";
|
|
10
11
|
import { ActivityLogs } from "../resources/activityLogs/client/Client";
|
|
12
|
+
import { Comments } from "../resources/comments/client/Client";
|
|
11
13
|
import { Scripts } from "../resources/scripts/client/Client";
|
|
12
14
|
export declare namespace Sites {
|
|
13
15
|
interface Options {
|
|
14
|
-
environment?: core.Supplier<environments.WebflowEnvironment |
|
|
16
|
+
environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
|
|
15
17
|
accessToken: core.Supplier<core.BearerToken>;
|
|
16
18
|
}
|
|
17
19
|
interface RequestOptions {
|
|
@@ -176,8 +178,12 @@ export declare class Sites {
|
|
|
176
178
|
get plans(): Plans;
|
|
177
179
|
protected _robotsTxt: RobotsTxt | undefined;
|
|
178
180
|
get robotsTxt(): RobotsTxt;
|
|
181
|
+
protected _wellKnown: WellKnown | undefined;
|
|
182
|
+
get wellKnown(): WellKnown;
|
|
179
183
|
protected _activityLogs: ActivityLogs | undefined;
|
|
180
184
|
get activityLogs(): ActivityLogs;
|
|
185
|
+
protected _comments: Comments | undefined;
|
|
186
|
+
get comments(): Comments;
|
|
181
187
|
protected _scripts: Scripts | undefined;
|
|
182
188
|
get scripts(): Scripts;
|
|
183
189
|
protected _getAuthorizationHeader(): Promise<string>;
|