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
|
@@ -12,7 +12,7 @@ export declare namespace Orders {
|
|
|
12
12
|
*/
|
|
13
13
|
export declare class Orders {
|
|
14
14
|
protected readonly _options: Orders.Options;
|
|
15
|
-
constructor(_options
|
|
15
|
+
constructor(_options: Orders.Options);
|
|
16
16
|
/**
|
|
17
17
|
* List all orders created for a given site.
|
|
18
18
|
*
|
|
@@ -33,8 +33,8 @@ export declare class Orders {
|
|
|
33
33
|
* @example
|
|
34
34
|
* await client.orders.list("580e63e98c9a982ac9b8b741", {
|
|
35
35
|
* status: "pending",
|
|
36
|
-
* offset: 1
|
|
37
|
-
* limit: 1
|
|
36
|
+
* offset: 1,
|
|
37
|
+
* limit: 1
|
|
38
38
|
* })
|
|
39
39
|
*/
|
|
40
40
|
list(siteId: string, request?: Webflow.OrdersListRequest, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Webflow.OrderList>;
|
|
@@ -156,5 +156,5 @@ export declare class Orders {
|
|
|
156
156
|
*/
|
|
157
157
|
refund(siteId: string, orderId: string, request?: Webflow.OrdersRefundRequest, requestOptions?: Orders.RequestOptions): core.HttpResponsePromise<Webflow.Order>;
|
|
158
158
|
private __refund;
|
|
159
|
-
protected _getAuthorizationHeader(): Promise<string
|
|
159
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
160
160
|
}
|
|
@@ -54,7 +54,7 @@ const Webflow = __importStar(require("../../../index"));
|
|
|
54
54
|
* Orders are the orders for your Webflow site.
|
|
55
55
|
*/
|
|
56
56
|
class Orders {
|
|
57
|
-
constructor(_options
|
|
57
|
+
constructor(_options) {
|
|
58
58
|
this._options = _options;
|
|
59
59
|
}
|
|
60
60
|
/**
|
|
@@ -77,8 +77,8 @@ class Orders {
|
|
|
77
77
|
* @example
|
|
78
78
|
* await client.orders.list("580e63e98c9a982ac9b8b741", {
|
|
79
79
|
* status: "pending",
|
|
80
|
-
* offset: 1
|
|
81
|
-
* limit: 1
|
|
80
|
+
* offset: 1,
|
|
81
|
+
* limit: 1
|
|
82
82
|
* })
|
|
83
83
|
*/
|
|
84
84
|
list(siteId, request = {}, requestOptions) {
|
|
@@ -94,6 +94,7 @@ class Orders {
|
|
|
94
94
|
unrecognizedObjectKeys: "passthrough",
|
|
95
95
|
allowUnrecognizedUnionMembers: true,
|
|
96
96
|
allowUnrecognizedEnumValues: true,
|
|
97
|
+
omitUndefined: true,
|
|
97
98
|
});
|
|
98
99
|
}
|
|
99
100
|
if (offset != null) {
|
|
@@ -347,6 +348,7 @@ class Orders {
|
|
|
347
348
|
unrecognizedObjectKeys: "passthrough",
|
|
348
349
|
allowUnrecognizedUnionMembers: true,
|
|
349
350
|
allowUnrecognizedEnumValues: true,
|
|
351
|
+
omitUndefined: true,
|
|
350
352
|
}),
|
|
351
353
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
352
354
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
@@ -469,6 +471,7 @@ class Orders {
|
|
|
469
471
|
unrecognizedObjectKeys: "passthrough",
|
|
470
472
|
allowUnrecognizedUnionMembers: true,
|
|
471
473
|
allowUnrecognizedEnumValues: true,
|
|
474
|
+
omitUndefined: true,
|
|
472
475
|
}),
|
|
473
476
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
474
477
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
@@ -706,6 +709,7 @@ class Orders {
|
|
|
706
709
|
unrecognizedObjectKeys: "passthrough",
|
|
707
710
|
allowUnrecognizedUnionMembers: true,
|
|
708
711
|
allowUnrecognizedEnumValues: true,
|
|
712
|
+
omitUndefined: true,
|
|
709
713
|
}),
|
|
710
714
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
711
715
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
@@ -790,11 +794,7 @@ class Orders {
|
|
|
790
794
|
}
|
|
791
795
|
_getAuthorizationHeader() {
|
|
792
796
|
return __awaiter(this, void 0, void 0, function* () {
|
|
793
|
-
|
|
794
|
-
if (bearer != null) {
|
|
795
|
-
return `Bearer ${bearer}`;
|
|
796
|
-
}
|
|
797
|
-
return undefined;
|
|
797
|
+
return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
|
|
798
798
|
});
|
|
799
799
|
}
|
|
800
800
|
}
|
|
@@ -14,7 +14,7 @@ export declare namespace Pages {
|
|
|
14
14
|
export declare class Pages {
|
|
15
15
|
protected readonly _options: Pages.Options;
|
|
16
16
|
protected _scripts: Scripts | undefined;
|
|
17
|
-
constructor(_options
|
|
17
|
+
constructor(_options: Pages.Options);
|
|
18
18
|
get scripts(): Scripts;
|
|
19
19
|
/**
|
|
20
20
|
* List of all pages for a site.
|
|
@@ -34,8 +34,8 @@ export declare class Pages {
|
|
|
34
34
|
* @example
|
|
35
35
|
* await client.pages.list("580e63e98c9a982ac9b8b741", {
|
|
36
36
|
* localeId: "65427cf400e02b306eaa04a0",
|
|
37
|
-
* limit: 1
|
|
38
|
-
* offset: 1
|
|
37
|
+
* limit: 1,
|
|
38
|
+
* offset: 1
|
|
39
39
|
* })
|
|
40
40
|
*/
|
|
41
41
|
list(siteId: string, request?: Webflow.PagesListRequest, requestOptions?: Pages.RequestOptions): core.HttpResponsePromise<Webflow.PageList>;
|
|
@@ -117,8 +117,8 @@ export declare class Pages {
|
|
|
117
117
|
* @example
|
|
118
118
|
* await client.pages.getContent("63c720f9347c2139b248e552", {
|
|
119
119
|
* localeId: "65427cf400e02b306eaa04a0",
|
|
120
|
-
* limit: 1
|
|
121
|
-
* offset: 1
|
|
120
|
+
* limit: 1,
|
|
121
|
+
* offset: 1
|
|
122
122
|
* })
|
|
123
123
|
*/
|
|
124
124
|
getContent(pageId: string, request?: Webflow.PagesGetContentRequest, requestOptions?: Pages.RequestOptions): core.HttpResponsePromise<Webflow.Dom>;
|
|
@@ -187,5 +187,5 @@ export declare class Pages {
|
|
|
187
187
|
*/
|
|
188
188
|
updateStaticContent(pageId: string, request: Webflow.PageDomWrite, requestOptions?: Pages.RequestOptions): core.HttpResponsePromise<Webflow.UpdateStaticContentResponse>;
|
|
189
189
|
private __updateStaticContent;
|
|
190
|
-
protected _getAuthorizationHeader(): Promise<string
|
|
190
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
191
191
|
}
|
|
@@ -66,7 +66,7 @@ const Client_1 = require("../resources/scripts/client/Client");
|
|
|
66
66
|
* Pages are the pages in your Webflow site.
|
|
67
67
|
*/
|
|
68
68
|
class Pages {
|
|
69
|
-
constructor(_options
|
|
69
|
+
constructor(_options) {
|
|
70
70
|
this._options = _options;
|
|
71
71
|
}
|
|
72
72
|
get scripts() {
|
|
@@ -91,8 +91,8 @@ class Pages {
|
|
|
91
91
|
* @example
|
|
92
92
|
* await client.pages.list("580e63e98c9a982ac9b8b741", {
|
|
93
93
|
* localeId: "65427cf400e02b306eaa04a0",
|
|
94
|
-
* limit: 1
|
|
95
|
-
* offset: 1
|
|
94
|
+
* limit: 1,
|
|
95
|
+
* offset: 1
|
|
96
96
|
* })
|
|
97
97
|
*/
|
|
98
98
|
list(siteId, request = {}, requestOptions) {
|
|
@@ -367,6 +367,7 @@ class Pages {
|
|
|
367
367
|
unrecognizedObjectKeys: "passthrough",
|
|
368
368
|
allowUnrecognizedUnionMembers: true,
|
|
369
369
|
allowUnrecognizedEnumValues: true,
|
|
370
|
+
omitUndefined: true,
|
|
370
371
|
}),
|
|
371
372
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
372
373
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
@@ -466,8 +467,8 @@ class Pages {
|
|
|
466
467
|
* @example
|
|
467
468
|
* await client.pages.getContent("63c720f9347c2139b248e552", {
|
|
468
469
|
* localeId: "65427cf400e02b306eaa04a0",
|
|
469
|
-
* limit: 1
|
|
470
|
-
* offset: 1
|
|
470
|
+
* limit: 1,
|
|
471
|
+
* offset: 1
|
|
471
472
|
* })
|
|
472
473
|
*/
|
|
473
474
|
getContent(pageId, request = {}, requestOptions) {
|
|
@@ -657,6 +658,7 @@ class Pages {
|
|
|
657
658
|
unrecognizedObjectKeys: "passthrough",
|
|
658
659
|
allowUnrecognizedUnionMembers: true,
|
|
659
660
|
allowUnrecognizedEnumValues: true,
|
|
661
|
+
omitUndefined: true,
|
|
660
662
|
}),
|
|
661
663
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
662
664
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
@@ -739,11 +741,7 @@ class Pages {
|
|
|
739
741
|
}
|
|
740
742
|
_getAuthorizationHeader() {
|
|
741
743
|
return __awaiter(this, void 0, void 0, function* () {
|
|
742
|
-
|
|
743
|
-
if (bearer != null) {
|
|
744
|
-
return `Bearer ${bearer}`;
|
|
745
|
-
}
|
|
746
|
-
return undefined;
|
|
744
|
+
return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
|
|
747
745
|
});
|
|
748
746
|
}
|
|
749
747
|
}
|
|
@@ -9,7 +9,7 @@ export declare namespace Scripts {
|
|
|
9
9
|
}
|
|
10
10
|
export declare class Scripts {
|
|
11
11
|
protected readonly _options: Scripts.Options;
|
|
12
|
-
constructor(_options
|
|
12
|
+
constructor(_options: Scripts.Options);
|
|
13
13
|
/**
|
|
14
14
|
* Get all scripts applied to a page.
|
|
15
15
|
*
|
|
@@ -90,5 +90,5 @@ export declare class Scripts {
|
|
|
90
90
|
*/
|
|
91
91
|
deleteCustomCode(pageId: string, requestOptions?: Scripts.RequestOptions): core.HttpResponsePromise<void>;
|
|
92
92
|
private __deleteCustomCode;
|
|
93
|
-
protected _getAuthorizationHeader(): Promise<string
|
|
93
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
94
94
|
}
|
|
@@ -51,7 +51,7 @@ const errors = __importStar(require("../../../../../../errors/index"));
|
|
|
51
51
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
52
52
|
const Webflow = __importStar(require("../../../../../index"));
|
|
53
53
|
class Scripts {
|
|
54
|
-
constructor(_options
|
|
54
|
+
constructor(_options) {
|
|
55
55
|
this._options = _options;
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
@@ -216,6 +216,7 @@ class Scripts {
|
|
|
216
216
|
unrecognizedObjectKeys: "passthrough",
|
|
217
217
|
allowUnrecognizedUnionMembers: true,
|
|
218
218
|
allowUnrecognizedEnumValues: true,
|
|
219
|
+
omitUndefined: true,
|
|
219
220
|
}),
|
|
220
221
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
221
222
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
@@ -400,11 +401,7 @@ class Scripts {
|
|
|
400
401
|
}
|
|
401
402
|
_getAuthorizationHeader() {
|
|
402
403
|
return __awaiter(this, void 0, void 0, function* () {
|
|
403
|
-
|
|
404
|
-
if (bearer != null) {
|
|
405
|
-
return `Bearer ${bearer}`;
|
|
406
|
-
}
|
|
407
|
-
return undefined;
|
|
404
|
+
return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
|
|
408
405
|
});
|
|
409
406
|
}
|
|
410
407
|
}
|
|
@@ -9,7 +9,7 @@ export declare namespace Products {
|
|
|
9
9
|
}
|
|
10
10
|
export declare class Products {
|
|
11
11
|
protected readonly _options: Products.Options;
|
|
12
|
-
constructor(_options
|
|
12
|
+
constructor(_options: Products.Options);
|
|
13
13
|
/**
|
|
14
14
|
* Retrieve all products for a site.
|
|
15
15
|
*
|
|
@@ -32,8 +32,8 @@ export declare class Products {
|
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* await client.products.list("580e63e98c9a982ac9b8b741", {
|
|
35
|
-
* offset: 1
|
|
36
|
-
* limit: 1
|
|
35
|
+
* offset: 1,
|
|
36
|
+
* limit: 1
|
|
37
37
|
* })
|
|
38
38
|
*/
|
|
39
39
|
list(siteId: string, request?: Webflow.ProductsListRequest, requestOptions?: Products.RequestOptions): core.HttpResponsePromise<Webflow.ProductAndSkUsList>;
|
|
@@ -254,5 +254,5 @@ export declare class Products {
|
|
|
254
254
|
*/
|
|
255
255
|
updateSku(siteId: string, productId: string, skuId: string, request: Webflow.ProductsUpdateSkuRequest, requestOptions?: Products.RequestOptions): core.HttpResponsePromise<Webflow.Sku>;
|
|
256
256
|
private __updateSku;
|
|
257
|
-
protected _getAuthorizationHeader(): Promise<string
|
|
257
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
258
258
|
}
|
|
@@ -51,7 +51,7 @@ const errors = __importStar(require("../../../../errors/index"));
|
|
|
51
51
|
const serializers = __importStar(require("../../../../serialization/index"));
|
|
52
52
|
const Webflow = __importStar(require("../../../index"));
|
|
53
53
|
class Products {
|
|
54
|
-
constructor(_options
|
|
54
|
+
constructor(_options) {
|
|
55
55
|
this._options = _options;
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
@@ -76,8 +76,8 @@ class Products {
|
|
|
76
76
|
*
|
|
77
77
|
* @example
|
|
78
78
|
* await client.products.list("580e63e98c9a982ac9b8b741", {
|
|
79
|
-
* offset: 1
|
|
80
|
-
* limit: 1
|
|
79
|
+
* offset: 1,
|
|
80
|
+
* limit: 1
|
|
81
81
|
* })
|
|
82
82
|
*/
|
|
83
83
|
list(siteId, request = {}, requestOptions) {
|
|
@@ -282,6 +282,7 @@ class Products {
|
|
|
282
282
|
unrecognizedObjectKeys: "passthrough",
|
|
283
283
|
allowUnrecognizedUnionMembers: true,
|
|
284
284
|
allowUnrecognizedEnumValues: true,
|
|
285
|
+
omitUndefined: true,
|
|
285
286
|
}),
|
|
286
287
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
287
288
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
@@ -521,6 +522,7 @@ class Products {
|
|
|
521
522
|
unrecognizedObjectKeys: "passthrough",
|
|
522
523
|
allowUnrecognizedUnionMembers: true,
|
|
523
524
|
allowUnrecognizedEnumValues: true,
|
|
525
|
+
omitUndefined: true,
|
|
524
526
|
}),
|
|
525
527
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
526
528
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
@@ -662,6 +664,7 @@ class Products {
|
|
|
662
664
|
unrecognizedObjectKeys: "passthrough",
|
|
663
665
|
allowUnrecognizedUnionMembers: true,
|
|
664
666
|
allowUnrecognizedEnumValues: true,
|
|
667
|
+
omitUndefined: true,
|
|
665
668
|
}),
|
|
666
669
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
667
670
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
@@ -804,6 +807,7 @@ class Products {
|
|
|
804
807
|
unrecognizedObjectKeys: "passthrough",
|
|
805
808
|
allowUnrecognizedUnionMembers: true,
|
|
806
809
|
allowUnrecognizedEnumValues: true,
|
|
810
|
+
omitUndefined: true,
|
|
807
811
|
}),
|
|
808
812
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
809
813
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
@@ -888,11 +892,7 @@ class Products {
|
|
|
888
892
|
}
|
|
889
893
|
_getAuthorizationHeader() {
|
|
890
894
|
return __awaiter(this, void 0, void 0, function* () {
|
|
891
|
-
|
|
892
|
-
if (bearer != null) {
|
|
893
|
-
return `Bearer ${bearer}`;
|
|
894
|
-
}
|
|
895
|
-
return undefined;
|
|
895
|
+
return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
|
|
896
896
|
});
|
|
897
897
|
}
|
|
898
898
|
}
|
|
@@ -9,7 +9,7 @@ export declare namespace Scripts {
|
|
|
9
9
|
}
|
|
10
10
|
export declare class Scripts {
|
|
11
11
|
protected readonly _options: Scripts.Options;
|
|
12
|
-
constructor(_options
|
|
12
|
+
constructor(_options: Scripts.Options);
|
|
13
13
|
/**
|
|
14
14
|
* Get a list of scripts that have been registered to a site. A site can have a maximum of 800 registered scripts.
|
|
15
15
|
*
|
|
@@ -90,5 +90,5 @@ export declare class Scripts {
|
|
|
90
90
|
*/
|
|
91
91
|
registerInline(siteId: string, request: Webflow.CustomCodeInlineRequest, requestOptions?: Scripts.RequestOptions): core.HttpResponsePromise<Webflow.CustomCodeInlineResponse>;
|
|
92
92
|
private __registerInline;
|
|
93
|
-
protected _getAuthorizationHeader(): Promise<string
|
|
93
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
94
94
|
}
|
|
@@ -51,7 +51,7 @@ const errors = __importStar(require("../../../../errors/index"));
|
|
|
51
51
|
const serializers = __importStar(require("../../../../serialization/index"));
|
|
52
52
|
const Webflow = __importStar(require("../../../index"));
|
|
53
53
|
class Scripts {
|
|
54
|
-
constructor(_options
|
|
54
|
+
constructor(_options) {
|
|
55
55
|
this._options = _options;
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
@@ -211,6 +211,7 @@ class Scripts {
|
|
|
211
211
|
unrecognizedObjectKeys: "passthrough",
|
|
212
212
|
allowUnrecognizedUnionMembers: true,
|
|
213
213
|
allowUnrecognizedEnumValues: true,
|
|
214
|
+
omitUndefined: true,
|
|
214
215
|
}),
|
|
215
216
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
216
217
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
@@ -334,6 +335,7 @@ class Scripts {
|
|
|
334
335
|
unrecognizedObjectKeys: "passthrough",
|
|
335
336
|
allowUnrecognizedUnionMembers: true,
|
|
336
337
|
allowUnrecognizedEnumValues: true,
|
|
338
|
+
omitUndefined: true,
|
|
337
339
|
}),
|
|
338
340
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
339
341
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
@@ -414,11 +416,7 @@ class Scripts {
|
|
|
414
416
|
}
|
|
415
417
|
_getAuthorizationHeader() {
|
|
416
418
|
return __awaiter(this, void 0, void 0, function* () {
|
|
417
|
-
|
|
418
|
-
if (bearer != null) {
|
|
419
|
-
return `Bearer ${bearer}`;
|
|
420
|
-
}
|
|
421
|
-
return undefined;
|
|
419
|
+
return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
|
|
422
420
|
});
|
|
423
421
|
}
|
|
424
422
|
}
|
|
@@ -28,7 +28,7 @@ export declare class Sites {
|
|
|
28
28
|
protected _comments: Comments | undefined;
|
|
29
29
|
protected _scripts: Scripts | undefined;
|
|
30
30
|
protected _forms: Forms | undefined;
|
|
31
|
-
constructor(_options
|
|
31
|
+
constructor(_options: Sites.Options);
|
|
32
32
|
get redirects(): Redirects;
|
|
33
33
|
get plans(): Plans;
|
|
34
34
|
get robotsTxt(): RobotsTxt;
|
|
@@ -188,5 +188,5 @@ export declare class Sites {
|
|
|
188
188
|
*/
|
|
189
189
|
publish(siteId: string, request?: Webflow.SitesPublishRequest, requestOptions?: Sites.RequestOptions): core.HttpResponsePromise<Webflow.SitesPublishResponse>;
|
|
190
190
|
private __publish;
|
|
191
|
-
protected _getAuthorizationHeader(): Promise<string
|
|
191
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
192
192
|
}
|
|
@@ -62,7 +62,7 @@ const Client_8 = require("../resources/wellKnown/client/Client");
|
|
|
62
62
|
* Sites are the sites in your Webflow workspace.
|
|
63
63
|
*/
|
|
64
64
|
class Sites {
|
|
65
|
-
constructor(_options
|
|
65
|
+
constructor(_options) {
|
|
66
66
|
this._options = _options;
|
|
67
67
|
}
|
|
68
68
|
get redirects() {
|
|
@@ -139,6 +139,7 @@ class Sites {
|
|
|
139
139
|
unrecognizedObjectKeys: "passthrough",
|
|
140
140
|
allowUnrecognizedUnionMembers: true,
|
|
141
141
|
allowUnrecognizedEnumValues: true,
|
|
142
|
+
omitUndefined: true,
|
|
142
143
|
}),
|
|
143
144
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
144
145
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
@@ -563,6 +564,7 @@ class Sites {
|
|
|
563
564
|
unrecognizedObjectKeys: "passthrough",
|
|
564
565
|
allowUnrecognizedUnionMembers: true,
|
|
565
566
|
allowUnrecognizedEnumValues: true,
|
|
567
|
+
omitUndefined: true,
|
|
566
568
|
}),
|
|
567
569
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
568
570
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
@@ -794,6 +796,7 @@ class Sites {
|
|
|
794
796
|
unrecognizedObjectKeys: "passthrough",
|
|
795
797
|
allowUnrecognizedUnionMembers: true,
|
|
796
798
|
allowUnrecognizedEnumValues: true,
|
|
799
|
+
omitUndefined: true,
|
|
797
800
|
}),
|
|
798
801
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
799
802
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
@@ -868,11 +871,7 @@ class Sites {
|
|
|
868
871
|
}
|
|
869
872
|
_getAuthorizationHeader() {
|
|
870
873
|
return __awaiter(this, void 0, void 0, function* () {
|
|
871
|
-
|
|
872
|
-
if (bearer != null) {
|
|
873
|
-
return `Bearer ${bearer}`;
|
|
874
|
-
}
|
|
875
|
-
return undefined;
|
|
874
|
+
return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
|
|
876
875
|
});
|
|
877
876
|
}
|
|
878
877
|
}
|
|
@@ -9,7 +9,7 @@ export declare namespace ActivityLogs {
|
|
|
9
9
|
}
|
|
10
10
|
export declare class ActivityLogs {
|
|
11
11
|
protected readonly _options: ActivityLogs.Options;
|
|
12
|
-
constructor(_options
|
|
12
|
+
constructor(_options: ActivityLogs.Options);
|
|
13
13
|
/**
|
|
14
14
|
* Retrieve Activity Logs for a specific Site.
|
|
15
15
|
*
|
|
@@ -28,11 +28,11 @@ export declare class ActivityLogs {
|
|
|
28
28
|
*
|
|
29
29
|
* @example
|
|
30
30
|
* await client.sites.activityLogs.list("580e63e98c9a982ac9b8b741", {
|
|
31
|
-
* limit: 1
|
|
32
|
-
* offset: 1
|
|
31
|
+
* limit: 1,
|
|
32
|
+
* offset: 1
|
|
33
33
|
* })
|
|
34
34
|
*/
|
|
35
35
|
list(siteId: string, request?: Webflow.sites.ActivityLogsListRequest, requestOptions?: ActivityLogs.RequestOptions): core.HttpResponsePromise<Webflow.SiteActivityLogResponse>;
|
|
36
36
|
private __list;
|
|
37
|
-
protected _getAuthorizationHeader(): Promise<string
|
|
37
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
38
38
|
}
|
|
@@ -51,7 +51,7 @@ const errors = __importStar(require("../../../../../../errors/index"));
|
|
|
51
51
|
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
52
52
|
const Webflow = __importStar(require("../../../../../index"));
|
|
53
53
|
class ActivityLogs {
|
|
54
|
-
constructor(_options
|
|
54
|
+
constructor(_options) {
|
|
55
55
|
this._options = _options;
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
@@ -72,8 +72,8 @@ class ActivityLogs {
|
|
|
72
72
|
*
|
|
73
73
|
* @example
|
|
74
74
|
* await client.sites.activityLogs.list("580e63e98c9a982ac9b8b741", {
|
|
75
|
-
* limit: 1
|
|
76
|
-
* offset: 1
|
|
75
|
+
* limit: 1,
|
|
76
|
+
* offset: 1
|
|
77
77
|
* })
|
|
78
78
|
*/
|
|
79
79
|
list(siteId, request = {}, requestOptions) {
|
|
@@ -168,11 +168,7 @@ class ActivityLogs {
|
|
|
168
168
|
}
|
|
169
169
|
_getAuthorizationHeader() {
|
|
170
170
|
return __awaiter(this, void 0, void 0, function* () {
|
|
171
|
-
|
|
172
|
-
if (bearer != null) {
|
|
173
|
-
return `Bearer ${bearer}`;
|
|
174
|
-
}
|
|
175
|
-
return undefined;
|
|
171
|
+
return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
|
|
176
172
|
});
|
|
177
173
|
}
|
|
178
174
|
}
|
|
@@ -9,7 +9,7 @@ export declare namespace Comments {
|
|
|
9
9
|
}
|
|
10
10
|
export declare class Comments {
|
|
11
11
|
protected readonly _options: Comments.Options;
|
|
12
|
-
constructor(_options
|
|
12
|
+
constructor(_options: Comments.Options);
|
|
13
13
|
/**
|
|
14
14
|
* List all comment threads for a site.
|
|
15
15
|
*
|
|
@@ -32,8 +32,8 @@ export declare class Comments {
|
|
|
32
32
|
* @example
|
|
33
33
|
* await client.sites.comments.listCommentThreads("580e63e98c9a982ac9b8b741", {
|
|
34
34
|
* localeId: "65427cf400e02b306eaa04a0",
|
|
35
|
-
* offset: 1
|
|
36
|
-
* limit: 1
|
|
35
|
+
* offset: 1,
|
|
36
|
+
* limit: 1,
|
|
37
37
|
* sortBy: "createdOn",
|
|
38
38
|
* sortOrder: "asc"
|
|
39
39
|
* })
|
|
@@ -63,8 +63,8 @@ export declare class Comments {
|
|
|
63
63
|
* @example
|
|
64
64
|
* await client.sites.comments.getCommentThread("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
|
|
65
65
|
* localeId: "65427cf400e02b306eaa04a0",
|
|
66
|
-
* offset: 1
|
|
67
|
-
* limit: 1
|
|
66
|
+
* offset: 1,
|
|
67
|
+
* limit: 1,
|
|
68
68
|
* sortBy: "createdOn",
|
|
69
69
|
* sortOrder: "asc"
|
|
70
70
|
* })
|
|
@@ -94,13 +94,13 @@ export declare class Comments {
|
|
|
94
94
|
* @example
|
|
95
95
|
* await client.sites.comments.listCommentReplies("580e63e98c9a982ac9b8b741", "580e63e98c9a982ac9b8b741", {
|
|
96
96
|
* localeId: "65427cf400e02b306eaa04a0",
|
|
97
|
-
* offset: 1
|
|
98
|
-
* limit: 1
|
|
97
|
+
* offset: 1,
|
|
98
|
+
* limit: 1,
|
|
99
99
|
* sortBy: "createdOn",
|
|
100
100
|
* sortOrder: "asc"
|
|
101
101
|
* })
|
|
102
102
|
*/
|
|
103
103
|
listCommentReplies(siteId: string, commentThreadId: string, request?: Webflow.sites.CommentsListCommentRepliesRequest, requestOptions?: Comments.RequestOptions): core.HttpResponsePromise<Webflow.CommentReplyList>;
|
|
104
104
|
private __listCommentReplies;
|
|
105
|
-
protected _getAuthorizationHeader(): Promise<string
|
|
105
|
+
protected _getAuthorizationHeader(): Promise<string>;
|
|
106
106
|
}
|