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,5 +1,3 @@
|
|
|
1
|
-
export * as accessGroups from "./accessGroups";
|
|
2
|
-
export * from "./accessGroups/types";
|
|
3
1
|
export * as assets from "./assets";
|
|
4
2
|
export * from "./assets/client/requests";
|
|
5
3
|
export * as collections from "./collections";
|
|
@@ -26,7 +24,4 @@ export * from "./scripts/client/requests";
|
|
|
26
24
|
export * as sites from "./sites";
|
|
27
25
|
export * from "./sites/client/requests";
|
|
28
26
|
export * from "./sites/types";
|
|
29
|
-
export * as users from "./users";
|
|
30
|
-
export * from "./users/client/requests";
|
|
31
|
-
export * from "./users/types";
|
|
32
27
|
export * as workspaces from "./workspaces";
|
|
@@ -36,9 +36,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.workspaces = exports.
|
|
40
|
-
exports.accessGroups = __importStar(require("./accessGroups"));
|
|
41
|
-
__exportStar(require("./accessGroups/types"), exports);
|
|
39
|
+
exports.workspaces = exports.sites = exports.scripts = exports.products = exports.pages = exports.orders = exports.inventory = exports.forms = exports.components = exports.collections = exports.assets = void 0;
|
|
42
40
|
exports.assets = __importStar(require("./assets"));
|
|
43
41
|
__exportStar(require("./assets/client/requests"), exports);
|
|
44
42
|
exports.collections = __importStar(require("./collections"));
|
|
@@ -65,7 +63,4 @@ __exportStar(require("./scripts/client/requests"), exports);
|
|
|
65
63
|
exports.sites = __importStar(require("./sites"));
|
|
66
64
|
__exportStar(require("./sites/client/requests"), exports);
|
|
67
65
|
__exportStar(require("./sites/types"), exports);
|
|
68
|
-
exports.users = __importStar(require("./users"));
|
|
69
|
-
__exportStar(require("./users/client/requests"), exports);
|
|
70
|
-
__exportStar(require("./users/types"), exports);
|
|
71
66
|
exports.workspaces = __importStar(require("./workspaces"));
|
|
@@ -3,5 +3,5 @@ import * as core from "../../../../../../core";
|
|
|
3
3
|
import type * as serializers from "../../../../../index";
|
|
4
4
|
export declare const AuditLogsGetWorkspaceAuditLogsRequestEventType: core.serialization.Schema<serializers.workspaces.AuditLogsGetWorkspaceAuditLogsRequestEventType.Raw, Webflow.workspaces.AuditLogsGetWorkspaceAuditLogsRequestEventType>;
|
|
5
5
|
export declare namespace AuditLogsGetWorkspaceAuditLogsRequestEventType {
|
|
6
|
-
type Raw = "user_access" | "custom_role" | "workspace_membership" | "site_membership" | "workspace_invitation";
|
|
6
|
+
type Raw = "user_access" | "custom_role" | "workspace_membership" | "site_membership" | "workspace_invitation" | "workspace_setting";
|
|
7
7
|
}
|
|
@@ -4,13 +4,13 @@ import type * as serializers from "../index";
|
|
|
4
4
|
export declare const AssetVariant: core.serialization.ObjectSchema<serializers.AssetVariant.Raw, Webflow.AssetVariant>;
|
|
5
5
|
export declare namespace AssetVariant {
|
|
6
6
|
interface Raw {
|
|
7
|
-
hostedUrl
|
|
8
|
-
originalFileName
|
|
9
|
-
displayName
|
|
10
|
-
format
|
|
11
|
-
width
|
|
7
|
+
hostedUrl: string;
|
|
8
|
+
originalFileName: string;
|
|
9
|
+
displayName: string;
|
|
10
|
+
format: string;
|
|
11
|
+
width: number;
|
|
12
12
|
height?: number | null;
|
|
13
|
-
quality
|
|
13
|
+
quality: number;
|
|
14
14
|
error?: string | null;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
@@ -37,12 +37,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.AssetVariant = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
exports.AssetVariant = core.serialization.object({
|
|
40
|
-
hostedUrl: core.serialization.string()
|
|
41
|
-
originalFileName: core.serialization.string()
|
|
42
|
-
displayName: core.serialization.string()
|
|
43
|
-
format: core.serialization.string()
|
|
44
|
-
width: core.serialization.number()
|
|
40
|
+
hostedUrl: core.serialization.string(),
|
|
41
|
+
originalFileName: core.serialization.string(),
|
|
42
|
+
displayName: core.serialization.string(),
|
|
43
|
+
format: core.serialization.string(),
|
|
44
|
+
width: core.serialization.number(),
|
|
45
45
|
height: core.serialization.number().optional(),
|
|
46
|
-
quality: core.serialization.number()
|
|
46
|
+
quality: core.serialization.number(),
|
|
47
47
|
error: core.serialization.string().optional(),
|
|
48
48
|
});
|
|
@@ -2,8 +2,8 @@ import type * as Webflow from "../../api/index";
|
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { InvalidScopes } from "./InvalidScopes";
|
|
5
|
-
import {
|
|
5
|
+
import { NotEnterprisePlanSite } from "./NotEnterprisePlanSite";
|
|
6
6
|
export declare const ForbiddenErrorBody: core.serialization.Schema<serializers.ForbiddenErrorBody.Raw, Webflow.ForbiddenErrorBody>;
|
|
7
7
|
export declare namespace ForbiddenErrorBody {
|
|
8
|
-
type Raw = (InvalidScopes.Raw | undefined) | (
|
|
8
|
+
type Raw = (InvalidScopes.Raw | undefined) | (NotEnterprisePlanSite.Raw | undefined);
|
|
9
9
|
}
|
|
@@ -37,5 +37,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.ForbiddenErrorBody = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const InvalidScopes_1 = require("./InvalidScopes");
|
|
40
|
-
const
|
|
41
|
-
exports.ForbiddenErrorBody = core.serialization.undiscriminatedUnion([InvalidScopes_1.InvalidScopes,
|
|
40
|
+
const NotEnterprisePlanSite_1 = require("./NotEnterprisePlanSite");
|
|
41
|
+
exports.ForbiddenErrorBody = core.serialization.undiscriminatedUnion([InvalidScopes_1.InvalidScopes, NotEnterprisePlanSite_1.NotEnterprisePlanSite]);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type * as Webflow from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { WorkspaceAuditLogItemPayloadSettingChangeMethod } from "./WorkspaceAuditLogItemPayloadSettingChangeMethod";
|
|
5
|
+
export declare const SettingChange: core.serialization.ObjectSchema<serializers.SettingChange.Raw, Webflow.SettingChange>;
|
|
6
|
+
export declare namespace SettingChange {
|
|
7
|
+
interface Raw {
|
|
8
|
+
setting?: "ai_toggle" | null;
|
|
9
|
+
previousValue?: string | null;
|
|
10
|
+
value?: string | null;
|
|
11
|
+
method?: WorkspaceAuditLogItemPayloadSettingChangeMethod.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -34,12 +34,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.SettingChange = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
const WorkspaceAuditLogItemPayloadSettingChangeMethod_1 = require("./WorkspaceAuditLogItemPayloadSettingChangeMethod");
|
|
40
|
+
exports.SettingChange = core.serialization.object({
|
|
41
|
+
setting: core.serialization.stringLiteral("ai_toggle").optional(),
|
|
42
|
+
previousValue: core.serialization.string().optional(),
|
|
43
|
+
value: core.serialization.string().optional(),
|
|
44
|
+
method: WorkspaceAuditLogItemPayloadSettingChangeMethod_1.WorkspaceAuditLogItemPayloadSettingChangeMethod.optional(),
|
|
45
45
|
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type * as Webflow from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
import { SettingChange } from "./SettingChange";
|
|
5
|
+
export declare const SettingChangeAuditLogItem: core.serialization.ObjectSchema<serializers.SettingChangeAuditLogItem.Raw, Webflow.SettingChangeAuditLogItem>;
|
|
6
|
+
export declare namespace SettingChangeAuditLogItem {
|
|
7
|
+
interface Raw {
|
|
8
|
+
eventSubType?: "setting_updated" | null;
|
|
9
|
+
payload?: SettingChange.Raw | null;
|
|
10
|
+
}
|
|
11
|
+
}
|
|
@@ -34,10 +34,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.SettingChangeAuditLogItem = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
const
|
|
40
|
-
exports.
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
const SettingChange_1 = require("./SettingChange");
|
|
40
|
+
exports.SettingChangeAuditLogItem = core.serialization.object({
|
|
41
|
+
eventSubType: core.serialization.stringLiteral("setting_updated").optional(),
|
|
42
|
+
payload: SettingChange_1.SettingChange.optional(),
|
|
43
43
|
});
|
|
@@ -3,5 +3,5 @@ import * as core from "../../core";
|
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
export declare const TriggerType: core.serialization.Schema<serializers.TriggerType.Raw, Webflow.TriggerType>;
|
|
5
5
|
export declare namespace TriggerType {
|
|
6
|
-
type Raw = "form_submission" | "site_publish" | "page_created" | "page_metadata_updated" | "page_deleted" | "ecomm_new_order" | "ecomm_order_changed" | "ecomm_inventory_changed" | "
|
|
6
|
+
type Raw = "form_submission" | "site_publish" | "page_created" | "page_metadata_updated" | "page_deleted" | "ecomm_new_order" | "ecomm_order_changed" | "ecomm_inventory_changed" | "collection_item_created" | "collection_item_changed" | "collection_item_deleted" | "collection_item_published" | "collection_item_unpublished" | "comment_created";
|
|
7
7
|
}
|
|
@@ -45,9 +45,6 @@ exports.TriggerType = core.serialization.enum_([
|
|
|
45
45
|
"ecomm_new_order",
|
|
46
46
|
"ecomm_order_changed",
|
|
47
47
|
"ecomm_inventory_changed",
|
|
48
|
-
"user_account_added",
|
|
49
|
-
"user_account_updated",
|
|
50
|
-
"user_account_deleted",
|
|
51
48
|
"collection_item_created",
|
|
52
49
|
"collection_item_changed",
|
|
53
50
|
"collection_item_deleted",
|
|
@@ -2,6 +2,7 @@ import type * as Webflow from "../../api/index";
|
|
|
2
2
|
import * as core from "../../core";
|
|
3
3
|
import type * as serializers from "../index";
|
|
4
4
|
import { CustomRoleAuditLogItem } from "./CustomRoleAuditLogItem";
|
|
5
|
+
import { SettingChangeAuditLogItem } from "./SettingChangeAuditLogItem";
|
|
5
6
|
import { SiteMembershipAuditLogItem } from "./SiteMembershipAuditLogItem";
|
|
6
7
|
import { UserAccessAuditLogItem } from "./UserAccessAuditLogItem";
|
|
7
8
|
import { WorkspaceAuditLogItemActor } from "./WorkspaceAuditLogItemActor";
|
|
@@ -10,7 +11,7 @@ import { WorkspaceInvitationAuditLogItem } from "./WorkspaceInvitationAuditLogIt
|
|
|
10
11
|
import { WorkspaceMembershipAuditLogItem } from "./WorkspaceMembershipAuditLogItem";
|
|
11
12
|
export declare const WorkspaceAuditLogItem: core.serialization.Schema<serializers.WorkspaceAuditLogItem.Raw, Webflow.WorkspaceAuditLogItem>;
|
|
12
13
|
export declare namespace WorkspaceAuditLogItem {
|
|
13
|
-
type Raw = WorkspaceAuditLogItem.UserAccess | WorkspaceAuditLogItem.CustomRole | WorkspaceAuditLogItem.WorkspaceMembership | WorkspaceAuditLogItem.SiteMembership | WorkspaceAuditLogItem.WorkspaceInvitation;
|
|
14
|
+
type Raw = WorkspaceAuditLogItem.UserAccess | WorkspaceAuditLogItem.CustomRole | WorkspaceAuditLogItem.WorkspaceMembership | WorkspaceAuditLogItem.SiteMembership | WorkspaceAuditLogItem.WorkspaceInvitation | WorkspaceAuditLogItem.WorkspaceSetting;
|
|
14
15
|
interface UserAccess extends _Base, UserAccessAuditLogItem.Raw {
|
|
15
16
|
eventType: "user_access";
|
|
16
17
|
}
|
|
@@ -26,6 +27,9 @@ export declare namespace WorkspaceAuditLogItem {
|
|
|
26
27
|
interface WorkspaceInvitation extends _Base, WorkspaceInvitationAuditLogItem.Raw {
|
|
27
28
|
eventType: "workspace_invitation";
|
|
28
29
|
}
|
|
30
|
+
interface WorkspaceSetting extends _Base, SettingChangeAuditLogItem.Raw {
|
|
31
|
+
eventType: "workspace_setting";
|
|
32
|
+
}
|
|
29
33
|
interface _Base {
|
|
30
34
|
timestamp?: string | null;
|
|
31
35
|
actor?: WorkspaceAuditLogItemActor.Raw | null;
|
|
@@ -37,6 +37,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
37
37
|
exports.WorkspaceAuditLogItem = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
39
|
const CustomRoleAuditLogItem_1 = require("./CustomRoleAuditLogItem");
|
|
40
|
+
const SettingChangeAuditLogItem_1 = require("./SettingChangeAuditLogItem");
|
|
40
41
|
const SiteMembershipAuditLogItem_1 = require("./SiteMembershipAuditLogItem");
|
|
41
42
|
const UserAccessAuditLogItem_1 = require("./UserAccessAuditLogItem");
|
|
42
43
|
const WorkspaceAuditLogItemActor_1 = require("./WorkspaceAuditLogItemActor");
|
|
@@ -55,6 +56,7 @@ exports.WorkspaceAuditLogItem = core.serialization
|
|
|
55
56
|
workspace_membership: WorkspaceMembershipAuditLogItem_1.WorkspaceMembershipAuditLogItem.extend(_Base),
|
|
56
57
|
site_membership: SiteMembershipAuditLogItem_1.SiteMembershipAuditLogItem.extend(_Base),
|
|
57
58
|
workspace_invitation: WorkspaceInvitationAuditLogItem_1.WorkspaceInvitationAuditLogItem.extend(_Base),
|
|
59
|
+
workspace_setting: SettingChangeAuditLogItem_1.SettingChangeAuditLogItem.extend(_Base),
|
|
58
60
|
})
|
|
59
61
|
.transform({
|
|
60
62
|
transform: (value) => value,
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as Webflow from "../../api/index";
|
|
2
|
+
import * as core from "../../core";
|
|
3
|
+
import type * as serializers from "../index";
|
|
4
|
+
export declare const WorkspaceAuditLogItemPayloadSettingChangeMethod: core.serialization.Schema<serializers.WorkspaceAuditLogItemPayloadSettingChangeMethod.Raw, Webflow.WorkspaceAuditLogItemPayloadSettingChangeMethod>;
|
|
5
|
+
export declare namespace WorkspaceAuditLogItemPayloadSettingChangeMethod {
|
|
6
|
+
type Raw = "dashboard" | "admin";
|
|
7
|
+
}
|
|
@@ -34,6 +34,6 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
34
34
|
};
|
|
35
35
|
})();
|
|
36
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
-
exports.
|
|
37
|
+
exports.WorkspaceAuditLogItemPayloadSettingChangeMethod = void 0;
|
|
38
38
|
const core = __importStar(require("../../core"));
|
|
39
|
-
exports.
|
|
39
|
+
exports.WorkspaceAuditLogItemPayloadSettingChangeMethod = core.serialization.enum_(["dashboard", "admin"]);
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
export * from "./AccessGroup";
|
|
2
|
-
export * from "./AccessGroupList";
|
|
3
1
|
export * from "./Application";
|
|
4
2
|
export * from "./Asset";
|
|
5
3
|
export * from "./AssetFolder";
|
|
@@ -62,7 +60,6 @@ export * from "./ComponentProperties";
|
|
|
62
60
|
export * from "./ComponentProperty";
|
|
63
61
|
export * from "./ComponentPropertyType";
|
|
64
62
|
export * from "./Conflict";
|
|
65
|
-
export * from "./ConflictErrorBody";
|
|
66
63
|
export * from "./CustomCodeBlock";
|
|
67
64
|
export * from "./CustomCodeBlockType";
|
|
68
65
|
export * from "./CustomCodeHostedResponse";
|
|
@@ -73,7 +70,6 @@ export * from "./CustomRoleAuditLogItemEventSubType";
|
|
|
73
70
|
export * from "./Dom";
|
|
74
71
|
export * from "./Domain";
|
|
75
72
|
export * from "./Domains";
|
|
76
|
-
export * from "./DuplicateUserEmail";
|
|
77
73
|
export * from "./EcommerceSettings";
|
|
78
74
|
export * from "./Error_";
|
|
79
75
|
export * from "./ErrorCode";
|
|
@@ -178,6 +174,8 @@ export * from "./Select";
|
|
|
178
174
|
export * from "./SelectNode";
|
|
179
175
|
export * from "./SelectNodeChoicesItem";
|
|
180
176
|
export * from "./SelectNodeWriteChoicesItem";
|
|
177
|
+
export * from "./SettingChange";
|
|
178
|
+
export * from "./SettingChangeAuditLogItem";
|
|
181
179
|
export * from "./SingleLocaleCreatedPayload";
|
|
182
180
|
export * from "./SingleLocaleCreatedPayloadFieldData";
|
|
183
181
|
export * from "./Site";
|
|
@@ -224,23 +222,15 @@ export * from "./TextNodeText";
|
|
|
224
222
|
export * from "./TextNodeWrite";
|
|
225
223
|
export * from "./TriggerType";
|
|
226
224
|
export * from "./UpdatedOrder";
|
|
227
|
-
export * from "./User";
|
|
228
225
|
export * from "./UserAccess";
|
|
229
226
|
export * from "./UserAccessAuditLogItem";
|
|
230
227
|
export * from "./UserAccessAuditLogItemEventSubType";
|
|
231
|
-
export * from "./UserAccessGroupsItem";
|
|
232
|
-
export * from "./UserAccessGroupsItemType";
|
|
233
|
-
export * from "./UserData";
|
|
234
|
-
export * from "./UserDataData";
|
|
235
|
-
export * from "./UserLimitReached";
|
|
236
|
-
export * from "./UserList";
|
|
237
|
-
export * from "./UserStatus";
|
|
238
|
-
export * from "./UsersNotEnabled";
|
|
239
228
|
export * from "./Webhook";
|
|
240
229
|
export * from "./WebhookFilter";
|
|
241
230
|
export * from "./WebhookList";
|
|
242
231
|
export * from "./WorkspaceAuditLogItem";
|
|
243
232
|
export * from "./WorkspaceAuditLogItemActor";
|
|
233
|
+
export * from "./WorkspaceAuditLogItemPayloadSettingChangeMethod";
|
|
244
234
|
export * from "./WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess";
|
|
245
235
|
export * from "./WorkspaceAuditLogItemPayloadSiteMembershipMethod";
|
|
246
236
|
export * from "./WorkspaceAuditLogItemPayloadSiteMembershipSite";
|
|
@@ -14,8 +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("./AccessGroup"), exports);
|
|
18
|
-
__exportStar(require("./AccessGroupList"), exports);
|
|
19
17
|
__exportStar(require("./Application"), exports);
|
|
20
18
|
__exportStar(require("./Asset"), exports);
|
|
21
19
|
__exportStar(require("./AssetFolder"), exports);
|
|
@@ -78,7 +76,6 @@ __exportStar(require("./ComponentProperties"), exports);
|
|
|
78
76
|
__exportStar(require("./ComponentProperty"), exports);
|
|
79
77
|
__exportStar(require("./ComponentPropertyType"), exports);
|
|
80
78
|
__exportStar(require("./Conflict"), exports);
|
|
81
|
-
__exportStar(require("./ConflictErrorBody"), exports);
|
|
82
79
|
__exportStar(require("./CustomCodeBlock"), exports);
|
|
83
80
|
__exportStar(require("./CustomCodeBlockType"), exports);
|
|
84
81
|
__exportStar(require("./CustomCodeHostedResponse"), exports);
|
|
@@ -89,7 +86,6 @@ __exportStar(require("./CustomRoleAuditLogItemEventSubType"), exports);
|
|
|
89
86
|
__exportStar(require("./Dom"), exports);
|
|
90
87
|
__exportStar(require("./Domain"), exports);
|
|
91
88
|
__exportStar(require("./Domains"), exports);
|
|
92
|
-
__exportStar(require("./DuplicateUserEmail"), exports);
|
|
93
89
|
__exportStar(require("./EcommerceSettings"), exports);
|
|
94
90
|
__exportStar(require("./Error_"), exports);
|
|
95
91
|
__exportStar(require("./ErrorCode"), exports);
|
|
@@ -194,6 +190,8 @@ __exportStar(require("./Select"), exports);
|
|
|
194
190
|
__exportStar(require("./SelectNode"), exports);
|
|
195
191
|
__exportStar(require("./SelectNodeChoicesItem"), exports);
|
|
196
192
|
__exportStar(require("./SelectNodeWriteChoicesItem"), exports);
|
|
193
|
+
__exportStar(require("./SettingChange"), exports);
|
|
194
|
+
__exportStar(require("./SettingChangeAuditLogItem"), exports);
|
|
197
195
|
__exportStar(require("./SingleLocaleCreatedPayload"), exports);
|
|
198
196
|
__exportStar(require("./SingleLocaleCreatedPayloadFieldData"), exports);
|
|
199
197
|
__exportStar(require("./Site"), exports);
|
|
@@ -240,23 +238,15 @@ __exportStar(require("./TextNodeText"), exports);
|
|
|
240
238
|
__exportStar(require("./TextNodeWrite"), exports);
|
|
241
239
|
__exportStar(require("./TriggerType"), exports);
|
|
242
240
|
__exportStar(require("./UpdatedOrder"), exports);
|
|
243
|
-
__exportStar(require("./User"), exports);
|
|
244
241
|
__exportStar(require("./UserAccess"), exports);
|
|
245
242
|
__exportStar(require("./UserAccessAuditLogItem"), exports);
|
|
246
243
|
__exportStar(require("./UserAccessAuditLogItemEventSubType"), exports);
|
|
247
|
-
__exportStar(require("./UserAccessGroupsItem"), exports);
|
|
248
|
-
__exportStar(require("./UserAccessGroupsItemType"), exports);
|
|
249
|
-
__exportStar(require("./UserData"), exports);
|
|
250
|
-
__exportStar(require("./UserDataData"), exports);
|
|
251
|
-
__exportStar(require("./UserLimitReached"), exports);
|
|
252
|
-
__exportStar(require("./UserList"), exports);
|
|
253
|
-
__exportStar(require("./UserStatus"), exports);
|
|
254
|
-
__exportStar(require("./UsersNotEnabled"), exports);
|
|
255
244
|
__exportStar(require("./Webhook"), exports);
|
|
256
245
|
__exportStar(require("./WebhookFilter"), exports);
|
|
257
246
|
__exportStar(require("./WebhookList"), exports);
|
|
258
247
|
__exportStar(require("./WorkspaceAuditLogItem"), exports);
|
|
259
248
|
__exportStar(require("./WorkspaceAuditLogItemActor"), exports);
|
|
249
|
+
__exportStar(require("./WorkspaceAuditLogItemPayloadSettingChangeMethod"), exports);
|
|
260
250
|
__exportStar(require("./WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess"), exports);
|
|
261
251
|
__exportStar(require("./WorkspaceAuditLogItemPayloadSiteMembershipMethod"), exports);
|
|
262
252
|
__exportStar(require("./WorkspaceAuditLogItemPayloadSiteMembershipSite"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.3.
|
|
1
|
+
export declare const SDK_VERSION = "3.3.1";
|
package/dist/version.js
CHANGED
|
@@ -5,7 +5,7 @@ import * as environments from "../environments";
|
|
|
5
5
|
export declare namespace AssetsUtilities {
|
|
6
6
|
interface Options {
|
|
7
7
|
environment?: core.Supplier<environments.WebflowEnvironment | environments.WebflowEnvironmentUrls>;
|
|
8
|
-
accessToken
|
|
8
|
+
accessToken: core.Supplier<core.BearerToken>;
|
|
9
9
|
}
|
|
10
10
|
interface RequestOptions {
|
|
11
11
|
/** The maximum time to wait for a response in seconds. */
|
|
@@ -87,7 +87,7 @@ class Client extends Client_1.Forms {
|
|
|
87
87
|
}
|
|
88
88
|
__listSubmissionsBySite(siteId_1) {
|
|
89
89
|
return __awaiter(this, arguments, void 0, function* (siteId, request = {}, requestOptions) {
|
|
90
|
-
var _a, _b, _c
|
|
90
|
+
var _a, _b, _c;
|
|
91
91
|
const { elementId, offset, limit } = request;
|
|
92
92
|
const _queryParams = {};
|
|
93
93
|
if (elementId != null) {
|
|
@@ -102,12 +102,12 @@ class Client extends Client_1.Forms {
|
|
|
102
102
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
103
103
|
const _response = yield core.fetcher({
|
|
104
104
|
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
105
|
-
.base, `sites/${
|
|
105
|
+
.base, `sites/${encodeURIComponent(siteId)}/form_submissions`),
|
|
106
106
|
method: "GET",
|
|
107
107
|
headers: _headers,
|
|
108
|
-
queryParameters:
|
|
109
|
-
timeoutMs: (
|
|
110
|
-
maxRetries:
|
|
108
|
+
queryParameters: _queryParams,
|
|
109
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
110
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
111
111
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
112
112
|
});
|
|
113
113
|
if (_response.ok) {
|
|
@@ -120,7 +120,7 @@ class Client extends Client_1.Items {
|
|
|
120
120
|
}
|
|
121
121
|
__createItemOverride(collectionId, request, requestOptions) {
|
|
122
122
|
return __awaiter(this, void 0, void 0, function* () {
|
|
123
|
-
var _a, _b, _c
|
|
123
|
+
var _a, _b, _c;
|
|
124
124
|
const { skipInvalidFiles } = request, _body = __rest(request, ["skipInvalidFiles"]);
|
|
125
125
|
const _queryParams = {};
|
|
126
126
|
if (skipInvalidFiles != null) {
|
|
@@ -129,19 +129,19 @@ class Client extends Client_1.Items {
|
|
|
129
129
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
130
130
|
const _response = yield core.fetcher({
|
|
131
131
|
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
132
|
-
.base, `collections/${
|
|
132
|
+
.base, `collections/${encodeURIComponent(collectionId)}/items`),
|
|
133
133
|
method: "POST",
|
|
134
134
|
headers: _headers,
|
|
135
135
|
contentType: "application/json",
|
|
136
|
-
queryParameters:
|
|
136
|
+
queryParameters: _queryParams,
|
|
137
137
|
requestType: "json",
|
|
138
138
|
body: serializers.collections.ItemsCreateItemRequestBody.jsonOrThrow(_body, {
|
|
139
139
|
unrecognizedObjectKeys: "passthrough",
|
|
140
140
|
allowUnrecognizedUnionMembers: true,
|
|
141
141
|
allowUnrecognizedEnumValues: true,
|
|
142
142
|
}),
|
|
143
|
-
timeoutMs: (
|
|
144
|
-
maxRetries:
|
|
143
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
144
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
145
145
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
146
146
|
});
|
|
147
147
|
if (_response.ok) {
|
|
@@ -248,7 +248,7 @@ class Client extends Client_1.Items {
|
|
|
248
248
|
}
|
|
249
249
|
__updateItemOverride(collectionId, itemId, request, requestOptions) {
|
|
250
250
|
return __awaiter(this, void 0, void 0, function* () {
|
|
251
|
-
var _a, _b, _c
|
|
251
|
+
var _a, _b, _c;
|
|
252
252
|
const { skipInvalidFiles } = request, _body = __rest(request, ["skipInvalidFiles"]);
|
|
253
253
|
const _queryParams = {};
|
|
254
254
|
if (skipInvalidFiles != null) {
|
|
@@ -257,19 +257,19 @@ class Client extends Client_1.Items {
|
|
|
257
257
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
258
258
|
const _response = yield core.fetcher({
|
|
259
259
|
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
260
|
-
.base, `collections/${
|
|
260
|
+
.base, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}`),
|
|
261
261
|
method: "PATCH",
|
|
262
262
|
headers: _headers,
|
|
263
263
|
contentType: "application/json",
|
|
264
|
-
queryParameters:
|
|
264
|
+
queryParameters: _queryParams,
|
|
265
265
|
requestType: "json",
|
|
266
266
|
body: serializers.CollectionItemPatchSingle.jsonOrThrow(_body, {
|
|
267
267
|
unrecognizedObjectKeys: "passthrough",
|
|
268
268
|
allowUnrecognizedUnionMembers: true,
|
|
269
269
|
allowUnrecognizedEnumValues: true,
|
|
270
270
|
}),
|
|
271
|
-
timeoutMs: (
|
|
272
|
-
maxRetries:
|
|
271
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
272
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
273
273
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
274
274
|
});
|
|
275
275
|
if (_response.ok) {
|
|
@@ -398,7 +398,7 @@ class Client extends Client_1.Items {
|
|
|
398
398
|
}
|
|
399
399
|
__createItemLiveOverride(collectionId, request, requestOptions) {
|
|
400
400
|
return __awaiter(this, void 0, void 0, function* () {
|
|
401
|
-
var _a, _b, _c
|
|
401
|
+
var _a, _b, _c;
|
|
402
402
|
const { skipInvalidFiles } = request, _body = __rest(request, ["skipInvalidFiles"]);
|
|
403
403
|
const _queryParams = {};
|
|
404
404
|
if (skipInvalidFiles != null) {
|
|
@@ -407,19 +407,19 @@ class Client extends Client_1.Items {
|
|
|
407
407
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
408
408
|
const _response = yield core.fetcher({
|
|
409
409
|
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
410
|
-
.base, `collections/${
|
|
410
|
+
.base, `collections/${encodeURIComponent(collectionId)}/items/live`),
|
|
411
411
|
method: "POST",
|
|
412
412
|
headers: _headers,
|
|
413
413
|
contentType: "application/json",
|
|
414
|
-
queryParameters:
|
|
414
|
+
queryParameters: _queryParams,
|
|
415
415
|
requestType: "json",
|
|
416
416
|
body: serializers.collections.ItemsCreateItemLiveRequestBody.jsonOrThrow(_body, {
|
|
417
417
|
unrecognizedObjectKeys: "passthrough",
|
|
418
418
|
allowUnrecognizedUnionMembers: true,
|
|
419
419
|
allowUnrecognizedEnumValues: true,
|
|
420
420
|
}),
|
|
421
|
-
timeoutMs: (
|
|
422
|
-
maxRetries:
|
|
421
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
422
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
423
423
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
424
424
|
});
|
|
425
425
|
if (_response.ok) {
|
|
@@ -527,7 +527,7 @@ class Client extends Client_1.Items {
|
|
|
527
527
|
}
|
|
528
528
|
__updateItemLiveOverride(collectionId, itemId, request, requestOptions) {
|
|
529
529
|
return __awaiter(this, void 0, void 0, function* () {
|
|
530
|
-
var _a, _b, _c
|
|
530
|
+
var _a, _b, _c;
|
|
531
531
|
const { skipInvalidFiles } = request, _body = __rest(request, ["skipInvalidFiles"]);
|
|
532
532
|
const _queryParams = {};
|
|
533
533
|
if (skipInvalidFiles != null) {
|
|
@@ -536,19 +536,19 @@ class Client extends Client_1.Items {
|
|
|
536
536
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
537
537
|
const _response = yield core.fetcher({
|
|
538
538
|
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
539
|
-
.base, `collections/${
|
|
539
|
+
.base, `collections/${encodeURIComponent(collectionId)}/items/${encodeURIComponent(itemId)}/live`),
|
|
540
540
|
method: "PATCH",
|
|
541
541
|
headers: _headers,
|
|
542
542
|
contentType: "application/json",
|
|
543
|
-
queryParameters:
|
|
543
|
+
queryParameters: _queryParams,
|
|
544
544
|
requestType: "json",
|
|
545
545
|
body: serializers.CollectionItemPatchSingle.jsonOrThrow(_body, {
|
|
546
546
|
unrecognizedObjectKeys: "passthrough",
|
|
547
547
|
allowUnrecognizedUnionMembers: true,
|
|
548
548
|
allowUnrecognizedEnumValues: true,
|
|
549
549
|
}),
|
|
550
|
-
timeoutMs: (
|
|
551
|
-
maxRetries:
|
|
550
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
551
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
552
552
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
553
553
|
});
|
|
554
554
|
if (_response.ok) {
|
|
@@ -110,7 +110,7 @@ class Client extends Client_1.Pages {
|
|
|
110
110
|
}
|
|
111
111
|
__updatePageSettingsOverride(pageId_1) {
|
|
112
112
|
return __awaiter(this, arguments, void 0, function* (pageId, request = {}, requestOptions) {
|
|
113
|
-
var _a, _b, _c
|
|
113
|
+
var _a, _b, _c;
|
|
114
114
|
const { localeId } = request, _body = __rest(request, ["localeId"]);
|
|
115
115
|
const _queryParams = {};
|
|
116
116
|
if (localeId != null) {
|
|
@@ -119,19 +119,19 @@ class Client extends Client_1.Pages {
|
|
|
119
119
|
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
120
120
|
const _response = yield core.fetcher({
|
|
121
121
|
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
122
|
-
.base, `pages/${
|
|
122
|
+
.base, `pages/${encodeURIComponent(pageId)}`),
|
|
123
123
|
method: "PUT",
|
|
124
124
|
headers: _headers,
|
|
125
125
|
contentType: "application/json",
|
|
126
|
-
queryParameters:
|
|
126
|
+
queryParameters: _queryParams,
|
|
127
127
|
requestType: "json",
|
|
128
128
|
body: serializers.PageMetadataWrite.jsonOrThrow(_body, {
|
|
129
129
|
unrecognizedObjectKeys: "passthrough",
|
|
130
130
|
allowUnrecognizedUnionMembers: true,
|
|
131
131
|
allowUnrecognizedEnumValues: true,
|
|
132
132
|
}),
|
|
133
|
-
timeoutMs: (
|
|
134
|
-
maxRetries:
|
|
133
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
134
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
135
135
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
136
136
|
});
|
|
137
137
|
if (_response.ok) {
|
|
@@ -98,7 +98,7 @@ class WebflowClient extends Client_1.WebflowClient {
|
|
|
98
98
|
else {
|
|
99
99
|
params["scope"] = scope.join(" ");
|
|
100
100
|
}
|
|
101
|
-
return `https://webflow.com/oauth/authorize?${
|
|
101
|
+
return `https://webflow.com/oauth/authorize?${new URLSearchParams(params).toString()}`;
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
104
|
* @param clientId The OAuth client ID
|
package/jest.config.mjs
CHANGED