webflow-api 3.3.0-beta → 3.3.1
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/BaseClient.d.ts +1 -1
- package/Client.d.ts +1 -7
- package/Client.js +31 -41
- package/LICENSE +18 -18
- package/README.md +55 -28
- package/api/resources/assets/client/Client.d.ts +4 -4
- package/api/resources/assets/client/Client.js +7 -8
- package/api/resources/assets/client/requests/AssetsListRequest.d.ts +2 -2
- package/api/resources/collections/client/Client.d.ts +2 -2
- package/api/resources/collections/client/Client.js +3 -6
- package/api/resources/collections/resources/fields/client/Client.d.ts +2 -2
- package/api/resources/collections/resources/fields/client/Client.js +4 -6
- package/api/resources/collections/resources/items/client/Client.d.ts +6 -6
- package/api/resources/collections/resources/items/client/Client.js +24 -12
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
- package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +1 -1
- package/{dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +1 -1
- package/api/resources/collections/resources/items/types/index.d.ts +1 -1
- package/api/resources/collections/resources/items/types/index.js +1 -1
- package/api/resources/components/client/Client.d.ts +8 -8
- package/api/resources/components/client/Client.js +10 -12
- package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +2 -2
- package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +2 -2
- package/api/resources/components/client/requests/ComponentsListRequest.d.ts +2 -2
- package/api/resources/ecommerce/client/Client.d.ts +2 -2
- package/api/resources/ecommerce/client/Client.js +2 -6
- package/api/resources/forms/client/Client.d.ts +6 -6
- package/api/resources/forms/client/Client.js +7 -10
- package/api/resources/forms/client/requests/FormsListRequest.d.ts +2 -2
- package/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
- package/api/resources/index.d.ts +0 -6
- package/api/resources/index.js +1 -7
- package/api/resources/inventory/client/Client.d.ts +2 -2
- package/api/resources/inventory/client/Client.js +3 -6
- package/api/resources/orders/client/Client.d.ts +4 -4
- package/api/resources/orders/client/Client.js +8 -8
- package/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -2
- package/api/resources/pages/client/Client.d.ts +6 -6
- package/api/resources/pages/client/Client.js +8 -10
- package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
- package/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
- package/api/resources/pages/resources/scripts/client/Client.d.ts +2 -2
- package/api/resources/pages/resources/scripts/client/Client.js +3 -6
- package/api/resources/products/client/Client.d.ts +4 -4
- package/api/resources/products/client/Client.js +8 -8
- package/api/resources/products/client/requests/ProductsListRequest.d.ts +2 -2
- package/api/resources/scripts/client/Client.d.ts +2 -2
- package/api/resources/scripts/client/Client.js +4 -6
- package/api/resources/sites/client/Client.d.ts +2 -2
- package/api/resources/sites/client/Client.js +5 -6
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +4 -4
- package/api/resources/sites/resources/activityLogs/client/Client.js +4 -8
- package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +2 -2
- package/api/resources/sites/resources/comments/client/Client.d.ts +8 -8
- package/api/resources/sites/resources/comments/client/Client.js +14 -12
- package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +2 -2
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +2 -2
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +2 -2
- package/api/resources/sites/resources/forms/client/Client.d.ts +6 -6
- package/api/resources/sites/resources/forms/client/Client.js +7 -10
- package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +2 -2
- package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
- package/api/resources/sites/resources/plans/client/Client.d.ts +2 -2
- package/api/resources/sites/resources/plans/client/Client.js +2 -6
- package/api/resources/sites/resources/redirects/client/Client.d.ts +4 -4
- package/api/resources/sites/resources/redirects/client/Client.js +6 -8
- package/api/resources/sites/resources/robotsTxt/client/Client.d.ts +2 -2
- package/api/resources/sites/resources/robotsTxt/client/Client.js +5 -6
- package/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
- package/api/resources/sites/resources/scripts/client/Client.js +5 -8
- package/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +2 -2
- package/api/resources/sites/resources/wellKnown/client/Client.d.ts +2 -2
- package/api/resources/sites/resources/wellKnown/client/Client.js +4 -6
- package/api/resources/token/client/Client.d.ts +2 -2
- package/api/resources/token/client/Client.js +2 -6
- package/api/resources/webhooks/client/Client.d.ts +2 -2
- package/api/resources/webhooks/client/Client.js +3 -6
- package/api/resources/workspaces/client/Client.d.ts +1 -1
- package/api/resources/workspaces/client/Client.js +1 -1
- package/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +4 -4
- package/api/resources/workspaces/resources/auditLogs/client/Client.js +6 -8
- package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +2 -2
- package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -0
- package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
- package/api/types/AssetVariant.d.ts +6 -6
- package/api/types/ComponentDom.d.ts +1 -1
- package/api/types/ForbiddenErrorBody.d.ts +1 -1
- package/api/types/ProductFieldData.d.ts +1 -1
- package/api/types/SettingChange.d.ts +7 -0
- package/api/types/SettingChangeAuditLogItem.d.ts +5 -0
- package/api/types/TriggerType.d.ts +0 -3
- package/api/types/TriggerType.js +0 -3
- package/api/types/WorkspaceAuditLogItem.d.ts +4 -1
- package/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +5 -0
- package/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.js +8 -0
- package/api/types/index.d.ts +3 -13
- package/api/types/index.js +3 -13
- package/dist/BaseClient.d.ts +1 -1
- package/dist/Client.d.ts +1 -7
- package/dist/Client.js +31 -41
- package/dist/api/resources/assets/client/Client.d.ts +4 -4
- package/dist/api/resources/assets/client/Client.js +7 -8
- package/dist/api/resources/assets/client/requests/AssetsListRequest.d.ts +2 -2
- package/dist/api/resources/collections/client/Client.d.ts +2 -2
- package/dist/api/resources/collections/client/Client.js +3 -6
- package/dist/api/resources/collections/resources/fields/client/Client.d.ts +2 -2
- package/dist/api/resources/collections/resources/fields/client/Client.js +4 -6
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +6 -6
- package/dist/api/resources/collections/resources/items/client/Client.js +24 -12
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +1 -1
- package/{api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +1 -1
- package/dist/api/resources/collections/resources/items/types/index.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/types/index.js +1 -1
- package/dist/api/resources/components/client/Client.d.ts +8 -8
- package/dist/api/resources/components/client/Client.js +10 -12
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +2 -2
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +2 -2
- package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +2 -2
- package/dist/api/resources/ecommerce/client/Client.d.ts +2 -2
- package/dist/api/resources/ecommerce/client/Client.js +2 -6
- package/dist/api/resources/forms/client/Client.d.ts +6 -6
- package/dist/api/resources/forms/client/Client.js +7 -10
- package/dist/api/resources/forms/client/requests/FormsListRequest.d.ts +2 -2
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
- package/dist/api/resources/index.d.ts +0 -6
- package/dist/api/resources/index.js +1 -7
- package/dist/api/resources/inventory/client/Client.d.ts +2 -2
- package/dist/api/resources/inventory/client/Client.js +3 -6
- package/dist/api/resources/orders/client/Client.d.ts +4 -4
- package/dist/api/resources/orders/client/Client.js +8 -8
- package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -2
- package/dist/api/resources/pages/client/Client.d.ts +6 -6
- package/dist/api/resources/pages/client/Client.js +8 -10
- package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +2 -2
- package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +2 -2
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +2 -2
- package/dist/api/resources/pages/resources/scripts/client/Client.js +3 -6
- package/dist/api/resources/products/client/Client.d.ts +4 -4
- package/dist/api/resources/products/client/Client.js +8 -8
- package/dist/api/resources/products/client/requests/ProductsListRequest.d.ts +2 -2
- package/dist/api/resources/scripts/client/Client.d.ts +2 -2
- package/dist/api/resources/scripts/client/Client.js +4 -6
- package/dist/api/resources/sites/client/Client.d.ts +2 -2
- package/dist/api/resources/sites/client/Client.js +5 -6
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +4 -4
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +4 -8
- package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/comments/client/Client.d.ts +8 -8
- package/dist/api/resources/sites/resources/comments/client/Client.js +14 -12
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/forms/client/Client.d.ts +6 -6
- package/dist/api/resources/sites/resources/forms/client/Client.js +7 -10
- package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/plans/client/Client.d.ts +2 -2
- package/dist/api/resources/sites/resources/plans/client/Client.js +2 -6
- package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +4 -4
- package/dist/api/resources/sites/resources/redirects/client/Client.js +6 -8
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.d.ts +2 -2
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +5 -6
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +4 -4
- package/dist/api/resources/sites/resources/scripts/client/Client.js +5 -8
- package/dist/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +2 -2
- package/dist/api/resources/sites/resources/wellKnown/client/Client.d.ts +2 -2
- package/dist/api/resources/sites/resources/wellKnown/client/Client.js +4 -6
- package/dist/api/resources/token/client/Client.d.ts +2 -2
- package/dist/api/resources/token/client/Client.js +2 -6
- package/dist/api/resources/webhooks/client/Client.d.ts +2 -2
- package/dist/api/resources/webhooks/client/Client.js +3 -6
- package/dist/api/resources/workspaces/client/Client.d.ts +1 -1
- package/dist/api/resources/workspaces/client/Client.js +1 -1
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +4 -4
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.js +6 -8
- package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +2 -2
- package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -0
- package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
- package/dist/api/types/AssetVariant.d.ts +6 -6
- package/dist/api/types/ComponentDom.d.ts +1 -1
- package/dist/api/types/ForbiddenErrorBody.d.ts +1 -1
- package/dist/api/types/ProductFieldData.d.ts +1 -1
- package/dist/api/types/SettingChange.d.ts +7 -0
- package/dist/api/types/SettingChangeAuditLogItem.d.ts +5 -0
- package/dist/api/types/TriggerType.d.ts +0 -3
- package/dist/api/types/TriggerType.js +0 -3
- package/dist/api/types/WorkspaceAuditLogItem.d.ts +4 -1
- package/dist/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +5 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.js +8 -0
- package/dist/api/types/index.d.ts +3 -13
- package/dist/api/types/index.js +3 -13
- package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
- package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
- package/{serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +2 -2
- package/{serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js → dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +2 -2
- package/dist/serialization/resources/collections/resources/items/types/index.d.ts +1 -1
- package/dist/serialization/resources/collections/resources/items/types/index.js +1 -1
- package/dist/serialization/resources/index.d.ts +0 -5
- package/dist/serialization/resources/index.js +1 -6
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -1
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
- package/dist/serialization/types/AssetVariant.d.ts +6 -6
- package/dist/serialization/types/AssetVariant.js +6 -6
- package/dist/serialization/types/ForbiddenErrorBody.d.ts +2 -2
- package/dist/serialization/types/ForbiddenErrorBody.js +2 -2
- package/dist/serialization/types/SettingChange.d.ts +13 -0
- package/dist/serialization/types/{AccessGroup.js → SettingChange.js} +7 -7
- package/dist/serialization/types/SettingChangeAuditLogItem.d.ts +11 -0
- package/dist/serialization/types/{UserAccessGroupsItem.js → SettingChangeAuditLogItem.js} +5 -5
- package/dist/serialization/types/TriggerType.d.ts +1 -1
- package/dist/serialization/types/TriggerType.js +0 -3
- package/dist/serialization/types/WorkspaceAuditLogItem.d.ts +5 -1
- package/dist/serialization/types/WorkspaceAuditLogItem.js +2 -0
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +7 -0
- package/dist/serialization/types/{UserStatus.js → WorkspaceAuditLogItemPayloadSettingChangeMethod.js} +2 -2
- package/dist/serialization/types/index.d.ts +3 -13
- package/dist/serialization/types/index.js +3 -13
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/AssetsUtilitiesClient.d.ts +1 -1
- package/dist/wrapper/FormsClient.js +5 -5
- package/dist/wrapper/ItemsClient.js +20 -20
- package/dist/wrapper/PagesClient.js +5 -5
- package/dist/wrapper/WebflowClient.js +1 -1
- package/jest.config.mjs +1 -1
- package/package.json +2 -1
- package/reference.md +68 -544
- package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -2
- package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +2 -2
- package/{dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +2 -2
- package/{dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js → serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +2 -2
- package/serialization/resources/collections/resources/items/types/index.d.ts +1 -1
- package/serialization/resources/collections/resources/items/types/index.js +1 -1
- package/serialization/resources/index.d.ts +0 -5
- package/serialization/resources/index.js +1 -6
- package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +1 -1
- package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +1 -0
- package/serialization/types/AssetVariant.d.ts +6 -6
- package/serialization/types/AssetVariant.js +6 -6
- package/serialization/types/ForbiddenErrorBody.d.ts +2 -2
- package/serialization/types/ForbiddenErrorBody.js +2 -2
- package/serialization/types/SettingChange.d.ts +13 -0
- package/{dist/serialization/types/AccessGroupList.js → serialization/types/SettingChange.js} +7 -8
- package/serialization/types/SettingChangeAuditLogItem.d.ts +11 -0
- package/serialization/types/{UserAccessGroupsItem.js → SettingChangeAuditLogItem.js} +5 -5
- package/serialization/types/TriggerType.d.ts +1 -1
- package/serialization/types/TriggerType.js +0 -3
- package/serialization/types/WorkspaceAuditLogItem.d.ts +5 -1
- package/serialization/types/WorkspaceAuditLogItem.js +2 -0
- package/serialization/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +7 -0
- package/{dist/serialization/types/UserLimitReached.js → serialization/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.js} +2 -2
- package/serialization/types/index.d.ts +3 -13
- package/serialization/types/index.js +3 -13
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/AssetsUtilitiesClient.d.ts +1 -1
- package/wrapper/FormsClient.js +5 -5
- package/wrapper/ItemsClient.js +20 -20
- package/wrapper/PagesClient.js +5 -5
- package/wrapper/WebflowClient.js +1 -1
- package/.mock/definition/__package__.yml +0 -4471
- package/.mock/definition/accessGroups.yml +0 -87
- package/.mock/definition/api.yml +0 -18
- package/.mock/definition/assets.yml +0 -487
- package/.mock/definition/collections/fields.yml +0 -212
- package/.mock/definition/collections/items.yml +0 -2145
- package/.mock/definition/collections.yml +0 -350
- package/.mock/definition/comments.yml +0 -41
- package/.mock/definition/components.yml +0 -548
- package/.mock/definition/ecommerce.yml +0 -45
- package/.mock/definition/forms.yml +0 -399
- package/.mock/definition/inventory.yml +0 -152
- package/.mock/definition/items.yml +0 -112
- package/.mock/definition/orders.yml +0 -1971
- package/.mock/definition/pages/scripts.yml +0 -155
- package/.mock/definition/pages.yml +0 -611
- package/.mock/definition/products.yml +0 -642
- package/.mock/definition/scripts.yml +0 -236
- package/.mock/definition/sites/activityLogs.yml +0 -77
- package/.mock/definition/sites/comments.yml +0 -352
- package/.mock/definition/sites/forms.yml +0 -316
- package/.mock/definition/sites/plans.yml +0 -48
- package/.mock/definition/sites/redirects.yml +0 -221
- package/.mock/definition/sites/robotsTxt.yml +0 -229
- package/.mock/definition/sites/scripts.yml +0 -243
- package/.mock/definition/sites/wellKnown.yml +0 -130
- package/.mock/definition/sites.yml +0 -558
- package/.mock/definition/token.yml +0 -75
- package/.mock/definition/users.yml +0 -594
- package/.mock/definition/webhooks.yml +0 -188
- package/.mock/definition/workspaces/auditLogs.yml +0 -125
- package/.mock/fern.config.json +0 -4
- package/api/resources/accessGroups/client/Client.d.ts +0 -39
- package/api/resources/accessGroups/client/Client.js +0 -197
- package/api/resources/accessGroups/client/index.d.ts +0 -1
- package/api/resources/accessGroups/client/index.js +0 -17
- package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +0 -20
- package/api/resources/accessGroups/client/requests/index.d.ts +0 -1
- package/api/resources/accessGroups/client/requests/index.js +0 -2
- package/api/resources/accessGroups/index.d.ts +0 -2
- package/api/resources/accessGroups/index.js +0 -18
- package/api/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -9
- package/api/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -12
- package/api/resources/accessGroups/types/index.d.ts +0 -1
- package/api/resources/accessGroups/types/index.js +0 -17
- package/api/resources/users/client/Client.d.ts +0 -145
- package/api/resources/users/client/Client.js +0 -670
- package/api/resources/users/client/index.d.ts +0 -1
- package/api/resources/users/client/index.js +0 -17
- package/api/resources/users/client/requests/UsersInviteRequest.d.ts +0 -13
- package/api/resources/users/client/requests/UsersListRequest.d.ts +0 -23
- package/api/resources/users/client/requests/index.d.ts +0 -2
- package/api/resources/users/client/requests/index.js +0 -2
- package/api/resources/users/index.d.ts +0 -2
- package/api/resources/users/index.js +0 -18
- package/api/resources/users/types/UserAccountAddedPayload.d.ts +0 -5
- package/api/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
- package/api/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -9
- package/api/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -3
- package/api/resources/users/types/UserAccountDeletedPayload.d.ts +0 -5
- package/api/resources/users/types/UserAccountDeletedPayload.js +0 -3
- package/api/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
- package/api/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -3
- package/api/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -9
- package/api/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -3
- package/api/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -5
- package/api/resources/users/types/UserAccountUpdatedPayload.js +0 -3
- package/api/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
- package/api/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -3
- package/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -9
- package/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -3
- package/api/resources/users/types/UsersListRequestSort.d.ts +0 -33
- package/api/resources/users/types/UsersListRequestSort.js +0 -36
- package/api/resources/users/types/index.d.ts +0 -10
- package/api/resources/users/types/index.js +0 -26
- package/api/types/AccessGroup.d.ts +0 -12
- package/api/types/AccessGroup.js +0 -3
- package/api/types/AccessGroupList.d.ts +0 -16
- package/api/types/AccessGroupList.js +0 -3
- package/api/types/ConflictErrorBody.d.ts +0 -2
- package/api/types/ConflictErrorBody.js +0 -3
- package/api/types/DuplicateUserEmail.d.ts +0 -1
- package/api/types/DuplicateUserEmail.js +0 -3
- package/api/types/User.d.ts +0 -22
- package/api/types/User.js +0 -3
- package/api/types/UserAccessGroupsItem.d.ts +0 -14
- package/api/types/UserAccessGroupsItem.js +0 -3
- package/api/types/UserAccessGroupsItemType.d.ts +0 -10
- package/api/types/UserAccessGroupsItemType.js +0 -13
- package/api/types/UserData.d.ts +0 -7
- package/api/types/UserData.js +0 -3
- package/api/types/UserDataData.d.ts +0 -12
- package/api/types/UserDataData.js +0 -3
- package/api/types/UserLimitReached.d.ts +0 -1
- package/api/types/UserLimitReached.js +0 -3
- package/api/types/UserList.d.ts +0 -16
- package/api/types/UserList.js +0 -3
- package/api/types/UserStatus.d.ts +0 -7
- package/api/types/UserStatus.js +0 -10
- package/api/types/UsersNotEnabled.d.ts +0 -1
- package/api/types/UsersNotEnabled.js +0 -3
- package/dist/api/resources/accessGroups/client/Client.d.ts +0 -39
- package/dist/api/resources/accessGroups/client/Client.js +0 -197
- package/dist/api/resources/accessGroups/client/index.d.ts +0 -1
- package/dist/api/resources/accessGroups/client/index.js +0 -17
- package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +0 -20
- package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.js +0 -3
- package/dist/api/resources/accessGroups/client/requests/index.d.ts +0 -1
- package/dist/api/resources/accessGroups/client/requests/index.js +0 -2
- package/dist/api/resources/accessGroups/index.d.ts +0 -2
- package/dist/api/resources/accessGroups/index.js +0 -18
- package/dist/api/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -9
- package/dist/api/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -12
- package/dist/api/resources/accessGroups/types/index.d.ts +0 -1
- package/dist/api/resources/accessGroups/types/index.js +0 -17
- package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js +0 -3
- package/dist/api/resources/users/client/Client.d.ts +0 -145
- package/dist/api/resources/users/client/Client.js +0 -670
- package/dist/api/resources/users/client/index.d.ts +0 -1
- package/dist/api/resources/users/client/index.js +0 -17
- package/dist/api/resources/users/client/requests/UsersInviteRequest.d.ts +0 -13
- package/dist/api/resources/users/client/requests/UsersInviteRequest.js +0 -3
- package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +0 -23
- package/dist/api/resources/users/client/requests/UsersListRequest.js +0 -3
- package/dist/api/resources/users/client/requests/index.d.ts +0 -2
- package/dist/api/resources/users/client/requests/index.js +0 -2
- package/dist/api/resources/users/index.d.ts +0 -2
- package/dist/api/resources/users/index.js +0 -18
- package/dist/api/resources/users/types/UserAccountAddedPayload.d.ts +0 -5
- package/dist/api/resources/users/types/UserAccountAddedPayload.js +0 -3
- package/dist/api/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
- package/dist/api/resources/users/types/UserAccountAddedPayloadPayload.js +0 -3
- package/dist/api/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -9
- package/dist/api/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -3
- package/dist/api/resources/users/types/UserAccountDeletedPayload.d.ts +0 -5
- package/dist/api/resources/users/types/UserAccountDeletedPayload.js +0 -3
- package/dist/api/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
- package/dist/api/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -3
- package/dist/api/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -9
- package/dist/api/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -3
- package/dist/api/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -5
- package/dist/api/resources/users/types/UserAccountUpdatedPayload.js +0 -3
- package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
- package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -3
- package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -9
- package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -3
- package/dist/api/resources/users/types/UsersListRequestSort.d.ts +0 -33
- package/dist/api/resources/users/types/UsersListRequestSort.js +0 -36
- package/dist/api/resources/users/types/index.d.ts +0 -10
- package/dist/api/resources/users/types/index.js +0 -26
- package/dist/api/types/AccessGroup.d.ts +0 -12
- package/dist/api/types/AccessGroup.js +0 -3
- package/dist/api/types/AccessGroupList.d.ts +0 -16
- package/dist/api/types/AccessGroupList.js +0 -3
- package/dist/api/types/ConflictErrorBody.d.ts +0 -2
- package/dist/api/types/ConflictErrorBody.js +0 -3
- package/dist/api/types/DuplicateUserEmail.d.ts +0 -1
- package/dist/api/types/DuplicateUserEmail.js +0 -3
- package/dist/api/types/User.d.ts +0 -22
- package/dist/api/types/User.js +0 -3
- package/dist/api/types/UserAccessGroupsItem.d.ts +0 -14
- package/dist/api/types/UserAccessGroupsItem.js +0 -3
- package/dist/api/types/UserAccessGroupsItemType.d.ts +0 -10
- package/dist/api/types/UserAccessGroupsItemType.js +0 -13
- package/dist/api/types/UserData.d.ts +0 -7
- package/dist/api/types/UserData.js +0 -3
- package/dist/api/types/UserDataData.d.ts +0 -12
- package/dist/api/types/UserDataData.js +0 -3
- package/dist/api/types/UserLimitReached.d.ts +0 -1
- package/dist/api/types/UserLimitReached.js +0 -3
- package/dist/api/types/UserList.d.ts +0 -16
- package/dist/api/types/UserList.js +0 -3
- package/dist/api/types/UserStatus.d.ts +0 -7
- package/dist/api/types/UserStatus.js +0 -10
- package/dist/api/types/UsersNotEnabled.d.ts +0 -1
- package/dist/api/types/UsersNotEnabled.js +0 -3
- package/dist/serialization/resources/accessGroups/index.d.ts +0 -1
- package/dist/serialization/resources/accessGroups/index.js +0 -17
- package/dist/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -7
- package/dist/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -39
- package/dist/serialization/resources/accessGroups/types/index.d.ts +0 -1
- package/dist/serialization/resources/accessGroups/types/index.js +0 -17
- package/dist/serialization/resources/users/client/index.d.ts +0 -1
- package/dist/serialization/resources/users/client/index.js +0 -17
- package/dist/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +0 -10
- package/dist/serialization/resources/users/client/requests/UsersInviteRequest.js +0 -42
- package/dist/serialization/resources/users/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/users/client/requests/index.js +0 -5
- package/dist/serialization/resources/users/index.d.ts +0 -2
- package/dist/serialization/resources/users/index.js +0 -18
- package/dist/serialization/resources/users/types/UserAccountAddedPayload.d.ts +0 -11
- package/dist/serialization/resources/users/types/UserAccountAddedPayload.js +0 -43
- package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
- package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayload.js +0 -52
- package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -12
- package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -44
- package/dist/serialization/resources/users/types/UserAccountDeletedPayload.d.ts +0 -11
- package/dist/serialization/resources/users/types/UserAccountDeletedPayload.js +0 -43
- package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
- package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -52
- package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -12
- package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -44
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -11
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayload.js +0 -43
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -52
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -12
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -44
- package/dist/serialization/resources/users/types/UsersListRequestSort.d.ts +0 -7
- package/dist/serialization/resources/users/types/UsersListRequestSort.js +0 -50
- package/dist/serialization/resources/users/types/index.d.ts +0 -10
- package/dist/serialization/resources/users/types/index.js +0 -26
- package/dist/serialization/types/AccessGroup.d.ts +0 -13
- package/dist/serialization/types/AccessGroupList.d.ts +0 -14
- package/dist/serialization/types/ConflictErrorBody.d.ts +0 -9
- package/dist/serialization/types/ConflictErrorBody.js +0 -41
- package/dist/serialization/types/DuplicateUserEmail.d.ts +0 -7
- package/dist/serialization/types/DuplicateUserEmail.js +0 -39
- package/dist/serialization/types/User.d.ts +0 -20
- package/dist/serialization/types/User.js +0 -52
- package/dist/serialization/types/UserAccessGroupsItem.d.ts +0 -11
- package/dist/serialization/types/UserAccessGroupsItemType.d.ts +0 -7
- package/dist/serialization/types/UserAccessGroupsItemType.js +0 -39
- package/dist/serialization/types/UserData.d.ts +0 -10
- package/dist/serialization/types/UserData.js +0 -42
- package/dist/serialization/types/UserDataData.d.ts +0 -13
- package/dist/serialization/types/UserDataData.js +0 -45
- package/dist/serialization/types/UserLimitReached.d.ts +0 -7
- package/dist/serialization/types/UserList.d.ts +0 -14
- package/dist/serialization/types/UserList.js +0 -46
- package/dist/serialization/types/UserStatus.d.ts +0 -7
- package/dist/serialization/types/UsersNotEnabled.d.ts +0 -7
- package/dist/serialization/types/UsersNotEnabled.js +0 -39
- package/serialization/resources/accessGroups/index.d.ts +0 -1
- package/serialization/resources/accessGroups/index.js +0 -17
- package/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -7
- package/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -39
- package/serialization/resources/accessGroups/types/index.d.ts +0 -1
- package/serialization/resources/accessGroups/types/index.js +0 -17
- package/serialization/resources/users/client/index.d.ts +0 -1
- package/serialization/resources/users/client/index.js +0 -17
- package/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +0 -10
- package/serialization/resources/users/client/requests/UsersInviteRequest.js +0 -42
- package/serialization/resources/users/client/requests/index.d.ts +0 -1
- package/serialization/resources/users/client/requests/index.js +0 -5
- package/serialization/resources/users/index.d.ts +0 -2
- package/serialization/resources/users/index.js +0 -18
- package/serialization/resources/users/types/UserAccountAddedPayload.d.ts +0 -11
- package/serialization/resources/users/types/UserAccountAddedPayload.js +0 -43
- package/serialization/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -20
- package/serialization/resources/users/types/UserAccountAddedPayloadPayload.js +0 -52
- package/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -12
- package/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -44
- package/serialization/resources/users/types/UserAccountDeletedPayload.d.ts +0 -11
- package/serialization/resources/users/types/UserAccountDeletedPayload.js +0 -43
- package/serialization/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -20
- package/serialization/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -52
- package/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -12
- package/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -44
- package/serialization/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -11
- package/serialization/resources/users/types/UserAccountUpdatedPayload.js +0 -43
- package/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -20
- package/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -52
- package/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -12
- package/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -44
- package/serialization/resources/users/types/UsersListRequestSort.d.ts +0 -7
- package/serialization/resources/users/types/UsersListRequestSort.js +0 -50
- package/serialization/resources/users/types/index.d.ts +0 -10
- package/serialization/resources/users/types/index.js +0 -26
- package/serialization/types/AccessGroup.d.ts +0 -13
- package/serialization/types/AccessGroup.js +0 -45
- package/serialization/types/AccessGroupList.d.ts +0 -14
- package/serialization/types/AccessGroupList.js +0 -46
- package/serialization/types/ConflictErrorBody.d.ts +0 -9
- package/serialization/types/ConflictErrorBody.js +0 -41
- package/serialization/types/DuplicateUserEmail.d.ts +0 -7
- package/serialization/types/DuplicateUserEmail.js +0 -39
- package/serialization/types/User.d.ts +0 -20
- package/serialization/types/User.js +0 -52
- package/serialization/types/UserAccessGroupsItem.d.ts +0 -11
- package/serialization/types/UserAccessGroupsItemType.d.ts +0 -7
- package/serialization/types/UserAccessGroupsItemType.js +0 -39
- package/serialization/types/UserData.d.ts +0 -10
- package/serialization/types/UserData.js +0 -42
- package/serialization/types/UserDataData.d.ts +0 -13
- package/serialization/types/UserDataData.js +0 -45
- package/serialization/types/UserLimitReached.d.ts +0 -7
- package/serialization/types/UserLimitReached.js +0 -39
- package/serialization/types/UserList.d.ts +0 -14
- package/serialization/types/UserList.js +0 -46
- package/serialization/types/UserStatus.d.ts +0 -7
- package/serialization/types/UserStatus.js +0 -39
- package/serialization/types/UsersNotEnabled.d.ts +0 -7
- package/serialization/types/UsersNotEnabled.js +0 -39
- /package/api/resources/{accessGroups/client/requests/AccessGroupsListRequest.js → collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +0 -0
- /package/api/{resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js → types/SettingChange.js} +0 -0
- /package/api/{resources/users/client/requests/UsersInviteRequest.js → types/SettingChangeAuditLogItem.js} +0 -0
- /package/{api/resources/users/client/requests/UsersListRequest.js → dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +0 -0
- /package/{api/resources/users/types/UserAccountAddedPayload.js → dist/api/types/SettingChange.js} +0 -0
- /package/{api/resources/users/types/UserAccountAddedPayloadPayload.js → dist/api/types/SettingChangeAuditLogItem.js} +0 -0
|
@@ -1,350 +0,0 @@
|
|
|
1
|
-
imports:
|
|
2
|
-
root: __package__.yml
|
|
3
|
-
service:
|
|
4
|
-
auth: false
|
|
5
|
-
base-path: ''
|
|
6
|
-
endpoints:
|
|
7
|
-
list:
|
|
8
|
-
path: /sites/{site_id}/collections
|
|
9
|
-
method: GET
|
|
10
|
-
auth:
|
|
11
|
-
- OAuth2:
|
|
12
|
-
- cms:read
|
|
13
|
-
docs: |
|
|
14
|
-
List of all Collections within a Site.
|
|
15
|
-
|
|
16
|
-
Required scope | `cms:read`
|
|
17
|
-
source:
|
|
18
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
19
|
-
path-parameters:
|
|
20
|
-
site_id:
|
|
21
|
-
type: string
|
|
22
|
-
docs: Unique identifier for a Site
|
|
23
|
-
display-name: List Collections
|
|
24
|
-
response:
|
|
25
|
-
docs: Request was successful
|
|
26
|
-
type: root.CollectionList
|
|
27
|
-
status-code: 200
|
|
28
|
-
errors:
|
|
29
|
-
- root.BadRequestError
|
|
30
|
-
- root.UnauthorizedError
|
|
31
|
-
- root.NotFoundError
|
|
32
|
-
- root.TooManyRequestsError
|
|
33
|
-
- root.InternalServerError
|
|
34
|
-
examples:
|
|
35
|
-
- path-parameters:
|
|
36
|
-
site_id: 580e63e98c9a982ac9b8b741
|
|
37
|
-
response:
|
|
38
|
-
body:
|
|
39
|
-
collections:
|
|
40
|
-
- id: 63692ab61fb2852f582ba8f5
|
|
41
|
-
displayName: Products
|
|
42
|
-
singularName: Product
|
|
43
|
-
slug: product
|
|
44
|
-
createdOn: '2019-06-12T13:35:14Z'
|
|
45
|
-
lastUpdated: '2022-11-17T15:08:50Z'
|
|
46
|
-
- id: 63692ab61fb2856e6a2ba8f6
|
|
47
|
-
displayName: Categories
|
|
48
|
-
singularName: Category
|
|
49
|
-
slug: category
|
|
50
|
-
createdOn: '2019-06-12T13:35:14Z'
|
|
51
|
-
lastUpdated: '2022-11-17T15:08:50Z'
|
|
52
|
-
- id: 63692ab61fb285a8562ba8f4
|
|
53
|
-
displayName: SKUs
|
|
54
|
-
singularName: SKU
|
|
55
|
-
slug: sku
|
|
56
|
-
createdOn: '2019-06-12T13:35:14Z'
|
|
57
|
-
lastUpdated: '2022-11-17T15:08:50Z'
|
|
58
|
-
create:
|
|
59
|
-
path: /sites/{site_id}/collections
|
|
60
|
-
method: POST
|
|
61
|
-
auth:
|
|
62
|
-
- OAuth2:
|
|
63
|
-
- cms:write
|
|
64
|
-
docs: >
|
|
65
|
-
Create a Collection for a site with collection fields.
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
Each collection includes the required _name_ and _slug_ fields, which
|
|
69
|
-
are generated automatically. You can update the `displayName` of these
|
|
70
|
-
fields, but the slug for them cannot be changed. Fields slugs are
|
|
71
|
-
automatically converted to lowercase. Spaces in slugs are replaced with
|
|
72
|
-
hyphens.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
Required scope | `cms:write`
|
|
76
|
-
source:
|
|
77
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
78
|
-
path-parameters:
|
|
79
|
-
site_id:
|
|
80
|
-
type: string
|
|
81
|
-
docs: Unique identifier for a Site
|
|
82
|
-
display-name: Create Collection
|
|
83
|
-
request:
|
|
84
|
-
name: CollectionsCreateRequest
|
|
85
|
-
body:
|
|
86
|
-
properties:
|
|
87
|
-
displayName:
|
|
88
|
-
type: string
|
|
89
|
-
docs: Name of the collection. Each collection name must be distinct.
|
|
90
|
-
singularName:
|
|
91
|
-
type: string
|
|
92
|
-
docs: Singular name of each item.
|
|
93
|
-
slug:
|
|
94
|
-
type: optional<string>
|
|
95
|
-
docs: Part of a URL that identifier
|
|
96
|
-
fields:
|
|
97
|
-
type: optional<list<root.FieldCreate>>
|
|
98
|
-
docs: An array of custom fields to add to the collection
|
|
99
|
-
content-type: application/json
|
|
100
|
-
response:
|
|
101
|
-
docs: Request was successful
|
|
102
|
-
type: root.Collection
|
|
103
|
-
status-code: 200
|
|
104
|
-
errors:
|
|
105
|
-
- root.BadRequestError
|
|
106
|
-
- root.UnauthorizedError
|
|
107
|
-
- root.NotFoundError
|
|
108
|
-
- root.ConflictError
|
|
109
|
-
- root.TooManyRequestsError
|
|
110
|
-
- root.InternalServerError
|
|
111
|
-
examples:
|
|
112
|
-
- path-parameters:
|
|
113
|
-
site_id: 580e63e98c9a982ac9b8b741
|
|
114
|
-
request:
|
|
115
|
-
displayName: Blog Posts
|
|
116
|
-
singularName: Blog Post
|
|
117
|
-
slug: posts
|
|
118
|
-
fields:
|
|
119
|
-
- isRequired: true
|
|
120
|
-
type: PlainText
|
|
121
|
-
displayName: Title
|
|
122
|
-
helpText: The title of the blog post
|
|
123
|
-
- isRequired: true
|
|
124
|
-
type: RichText
|
|
125
|
-
displayName: Content
|
|
126
|
-
helpText: The content of the blog post
|
|
127
|
-
- isRequired: true
|
|
128
|
-
type: Reference
|
|
129
|
-
displayName: Author
|
|
130
|
-
helpText: The author of the blog post
|
|
131
|
-
metadata:
|
|
132
|
-
collectionId: 23cc2d952d4e4631ffd4345d2743db4e
|
|
133
|
-
response:
|
|
134
|
-
body:
|
|
135
|
-
id: 562ac0395358780a1f5e6fbd
|
|
136
|
-
displayName: Blog Posts
|
|
137
|
-
singularName: Blog Post
|
|
138
|
-
slug: posts
|
|
139
|
-
createdOn: '2016-10-24T19:41:48Z'
|
|
140
|
-
lastUpdated: '2016-10-24T19:42:38Z'
|
|
141
|
-
fields:
|
|
142
|
-
- id: id
|
|
143
|
-
isRequired: true
|
|
144
|
-
isEditable: true
|
|
145
|
-
type: PlainText
|
|
146
|
-
slug: title
|
|
147
|
-
displayName: Title
|
|
148
|
-
helpText: The title of the blog post
|
|
149
|
-
- id: id
|
|
150
|
-
isRequired: true
|
|
151
|
-
isEditable: true
|
|
152
|
-
type: RichText
|
|
153
|
-
slug: content
|
|
154
|
-
displayName: Content
|
|
155
|
-
helpText: The content of the blog post
|
|
156
|
-
- id: id
|
|
157
|
-
isRequired: true
|
|
158
|
-
isEditable: true
|
|
159
|
-
type: Reference
|
|
160
|
-
slug: author
|
|
161
|
-
displayName: Author
|
|
162
|
-
helpText: The author of the blog post
|
|
163
|
-
get:
|
|
164
|
-
path: /collections/{collection_id}
|
|
165
|
-
method: GET
|
|
166
|
-
auth:
|
|
167
|
-
- OAuth2:
|
|
168
|
-
- cms:read
|
|
169
|
-
docs: |
|
|
170
|
-
Get the full details of a collection from its ID.
|
|
171
|
-
|
|
172
|
-
Required scope | `cms:read`
|
|
173
|
-
source:
|
|
174
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
175
|
-
path-parameters:
|
|
176
|
-
collection_id:
|
|
177
|
-
type: string
|
|
178
|
-
docs: Unique identifier for a Collection
|
|
179
|
-
display-name: Get Collection Details
|
|
180
|
-
response:
|
|
181
|
-
docs: Request was successful
|
|
182
|
-
type: root.Collection
|
|
183
|
-
status-code: 200
|
|
184
|
-
errors:
|
|
185
|
-
- root.BadRequestError
|
|
186
|
-
- root.UnauthorizedError
|
|
187
|
-
- root.NotFoundError
|
|
188
|
-
- root.TooManyRequestsError
|
|
189
|
-
- root.InternalServerError
|
|
190
|
-
examples:
|
|
191
|
-
- path-parameters:
|
|
192
|
-
collection_id: 580e63fc8c9a982ac9b8b745
|
|
193
|
-
response:
|
|
194
|
-
body:
|
|
195
|
-
id: 7f15043107e2fc95644e93807ee25dd6
|
|
196
|
-
displayName: Guide Entries
|
|
197
|
-
singularName: Guide Entry
|
|
198
|
-
slug: guide-entry
|
|
199
|
-
createdOn: '2024-04-12T12:42:00Z'
|
|
200
|
-
lastUpdated: '2024-04-12T12:42:00Z'
|
|
201
|
-
fields:
|
|
202
|
-
- id: 5e2a1b3c4d5e6f7890a1b2c3
|
|
203
|
-
isRequired: true
|
|
204
|
-
isEditable: true
|
|
205
|
-
type: PlainText
|
|
206
|
-
slug: name
|
|
207
|
-
displayName: Entry Title
|
|
208
|
-
helpText: Name of the entry.
|
|
209
|
-
- id: 5e2a1b3c4d5e6f7890a1b2c4
|
|
210
|
-
isRequired: true
|
|
211
|
-
isEditable: true
|
|
212
|
-
type: PlainText
|
|
213
|
-
slug: slug
|
|
214
|
-
displayName: Slug
|
|
215
|
-
helpText: Slug of the entry.
|
|
216
|
-
- id: 6f7e8d9c0b1a2e3d4c5b6a7f
|
|
217
|
-
isRequired: false
|
|
218
|
-
isEditable: true
|
|
219
|
-
type: PlainText
|
|
220
|
-
slug: summary
|
|
221
|
-
displayName: Summary
|
|
222
|
-
helpText: A short summary of the entry.
|
|
223
|
-
- id: 1a2b3c4d5e6f7a8b9c0d1e2f
|
|
224
|
-
isRequired: false
|
|
225
|
-
isEditable: true
|
|
226
|
-
type: RichText
|
|
227
|
-
slug: entry-html
|
|
228
|
-
displayName: Entry HTML
|
|
229
|
-
helpText: The HTML content of the entry.
|
|
230
|
-
- id: 7e8d9c0b1a2e3d4c5b6a7f8e
|
|
231
|
-
isRequired: false
|
|
232
|
-
isEditable: true
|
|
233
|
-
type: Image
|
|
234
|
-
slug: illustration-image
|
|
235
|
-
displayName: Illustration Image
|
|
236
|
-
helpText: An image of the entry.
|
|
237
|
-
- id: 2f3e4d5c6b7a8e9d0c1b2a3f
|
|
238
|
-
isRequired: false
|
|
239
|
-
isEditable: true
|
|
240
|
-
type: VideoLink
|
|
241
|
-
slug: demonstration-video
|
|
242
|
-
displayName: Demonstration Video
|
|
243
|
-
helpText: A video of the entry.
|
|
244
|
-
- id: 8e9d0c1b2a3f4e5d6c7b8a9e
|
|
245
|
-
isRequired: false
|
|
246
|
-
isEditable: true
|
|
247
|
-
type: Link
|
|
248
|
-
slug: more-info-link
|
|
249
|
-
displayName: More Info Link
|
|
250
|
-
helpText: A link to more information about the entry.
|
|
251
|
-
- id: 3f4e5d6c7b8a9e0d1c2b3a4f
|
|
252
|
-
isRequired: false
|
|
253
|
-
isEditable: true
|
|
254
|
-
type: Number
|
|
255
|
-
slug: importance-level
|
|
256
|
-
displayName: Importance Level
|
|
257
|
-
helpText: The importance level of the entry.
|
|
258
|
-
- id: 9e0d1c2b3a4f5e6d7c8b9a0e
|
|
259
|
-
isRequired: false
|
|
260
|
-
isEditable: true
|
|
261
|
-
type: Switch
|
|
262
|
-
slug: is-essential
|
|
263
|
-
displayName: Is Essential
|
|
264
|
-
helpText: Is this entry essential?
|
|
265
|
-
- id: 4f5e6d7c8b9a0e1d2c3b4a5f
|
|
266
|
-
isRequired: false
|
|
267
|
-
isEditable: true
|
|
268
|
-
type: Color
|
|
269
|
-
slug: first-mentioned
|
|
270
|
-
displayName: First Mentioned
|
|
271
|
-
helpText: Date of the first mention of the subject.
|
|
272
|
-
- id: 0e1d2c3b4a5f6e7d8c9b0a1e
|
|
273
|
-
isRequired: false
|
|
274
|
-
isEditable: true
|
|
275
|
-
type: Color
|
|
276
|
-
slug: towel-color
|
|
277
|
-
displayName: Towel Color
|
|
278
|
-
helpText: The color of the towel.
|
|
279
|
-
- id: 5f6e7d8c9b0a1e2d3c4b5a6f
|
|
280
|
-
isRequired: false
|
|
281
|
-
isEditable: true
|
|
282
|
-
type: Reference
|
|
283
|
-
slug: related-entry
|
|
284
|
-
displayName: Related Entry
|
|
285
|
-
helpText: A related entry.
|
|
286
|
-
- id: 1e2d3c4b5a6f7e8d9c0b1a2f
|
|
287
|
-
isRequired: false
|
|
288
|
-
isEditable: true
|
|
289
|
-
type: MultiReference
|
|
290
|
-
slug: mentioned-in-entries
|
|
291
|
-
displayName: Mentioned In Entries
|
|
292
|
-
helpText: Entries that mention this subject.
|
|
293
|
-
- id: 6f7e8d9c0b1a2e3d4c5b6a8f
|
|
294
|
-
isRequired: false
|
|
295
|
-
isEditable: true
|
|
296
|
-
type: Option
|
|
297
|
-
slug: item-type
|
|
298
|
-
displayName: Item Type
|
|
299
|
-
helpText: The type of item.
|
|
300
|
-
- id: 2e3d4c5b6a7f8e9d0c1b2a4f
|
|
301
|
-
isRequired: false
|
|
302
|
-
isEditable: true
|
|
303
|
-
type: File
|
|
304
|
-
slug: guide-file
|
|
305
|
-
displayName: Guide File
|
|
306
|
-
helpText: helpText
|
|
307
|
-
- id: 7f8e9d0c1b2a3f4e5d6c8b9e
|
|
308
|
-
isRequired: false
|
|
309
|
-
isEditable: true
|
|
310
|
-
type: Email
|
|
311
|
-
slug: contributor-email
|
|
312
|
-
displayName: Contributor Email
|
|
313
|
-
helpText: helpText
|
|
314
|
-
- id: 3a4f5e6d7c8b9a0e1d2c4b5f
|
|
315
|
-
isRequired: false
|
|
316
|
-
isEditable: true
|
|
317
|
-
type: Phone
|
|
318
|
-
slug: emergency-contact
|
|
319
|
-
displayName: Emergency Contact
|
|
320
|
-
helpText: helpText
|
|
321
|
-
delete:
|
|
322
|
-
path: /collections/{collection_id}
|
|
323
|
-
method: DELETE
|
|
324
|
-
auth:
|
|
325
|
-
- OAuth2:
|
|
326
|
-
- cms:write
|
|
327
|
-
docs: |
|
|
328
|
-
Delete a collection using its ID.
|
|
329
|
-
|
|
330
|
-
Required scope | `cms:write`
|
|
331
|
-
source:
|
|
332
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
333
|
-
path-parameters:
|
|
334
|
-
collection_id:
|
|
335
|
-
type: string
|
|
336
|
-
docs: Unique identifier for a Collection
|
|
337
|
-
display-name: Delete Collection
|
|
338
|
-
errors:
|
|
339
|
-
- root.BadRequestError
|
|
340
|
-
- root.UnauthorizedError
|
|
341
|
-
- root.NotFoundError
|
|
342
|
-
- root.TooManyRequestsError
|
|
343
|
-
- root.InternalServerError
|
|
344
|
-
examples:
|
|
345
|
-
- path-parameters:
|
|
346
|
-
collection_id: 580e63fc8c9a982ac9b8b745
|
|
347
|
-
source:
|
|
348
|
-
openapi: ../../../openapi/referenced-specs/v2.yml
|
|
349
|
-
display-name: Collections
|
|
350
|
-
docs: Collections are CMS collections of items.
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
imports:
|
|
2
|
-
root: __package__.yml
|
|
3
|
-
webhooks:
|
|
4
|
-
comment_created:
|
|
5
|
-
audiences: []
|
|
6
|
-
method: POST
|
|
7
|
-
display-name: New Comment Thread
|
|
8
|
-
headers: {}
|
|
9
|
-
payload: root.Comment
|
|
10
|
-
examples:
|
|
11
|
-
- payload:
|
|
12
|
-
triggerType: comment_created
|
|
13
|
-
payload:
|
|
14
|
-
threadId: 679d2ddb5196117ad04d1ffa
|
|
15
|
-
commentId: 679d2ddb5196117ad04d1ff8
|
|
16
|
-
type: new_comment
|
|
17
|
-
siteId: 679826b3b20b045e176bc4b5
|
|
18
|
-
pageId: 679826b3b20b045e176bc4bc
|
|
19
|
-
localeId: 67993753d910db250db64b3e
|
|
20
|
-
itemId: 580e64008c9a982ac9b8b754
|
|
21
|
-
breakpoint: main
|
|
22
|
-
url: >-
|
|
23
|
-
https://webflow.com/design/site-slug-4ec832?workflow=comment&commentId=679d2ddb5196117ad04d1ffa&pageId=679826b3b20b045e176bc4bc
|
|
24
|
-
content: 'This comment mentions another user [[6287ec36a841b25637c663df]] '
|
|
25
|
-
isResolved: false
|
|
26
|
-
author:
|
|
27
|
-
userId: 6287ec36a841b25637c663df
|
|
28
|
-
email: ford.prefect@heartofgold.spaceship
|
|
29
|
-
name: Ford Prefect
|
|
30
|
-
mentionedUsers:
|
|
31
|
-
- userId: 6287ec36a841b25637c663df
|
|
32
|
-
email: arthur.dent@heartofgold.spaceship
|
|
33
|
-
name: Arthur Dent
|
|
34
|
-
createdOn: '2025-01-31T20:08:59.759Z'
|
|
35
|
-
lastUpdated: '2025-01-31T20:08:59.759Z'
|
|
36
|
-
docs: |
|
|
37
|
-
Information about a new comment thread or reply
|
|
38
|
-
|
|
39
|
-
<Note title="Timing of comment webhooks">
|
|
40
|
-
There may be a delay of up to 5 minutes before new comments appear in the system and trigger the webhook notification.
|
|
41
|
-
</Note>
|