webflow-api 2.3.5 → 2.4.0
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/api/errors/TooManyRequestsError.d.ts +2 -1
- package/api/errors/index.d.ts +1 -1
- package/api/errors/index.js +1 -1
- package/api/resources/accessGroups/client/Client.d.ts +1 -1
- package/api/resources/accessGroups/client/Client.js +12 -4
- package/api/resources/assets/client/Client.d.ts +8 -8
- package/api/resources/assets/client/Client.js +98 -34
- package/api/resources/collections/client/Client.d.ts +5 -5
- package/api/resources/collections/client/Client.js +59 -19
- package/api/resources/collections/resources/fields/client/Client.d.ts +3 -3
- package/api/resources/collections/resources/fields/client/Client.js +27 -11
- package/api/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +1 -1
- package/api/resources/collections/resources/items/client/Client.d.ts +19 -19
- package/api/resources/collections/resources/items/client/Client.js +175 -57
- package/api/resources/collections/resources/items/client/requests/index.d.ts +0 -1
- package/api/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +7 -0
- 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/ecommerce/client/Client.d.ts +1 -1
- package/api/resources/ecommerce/client/Client.js +12 -4
- package/api/resources/forms/client/Client.d.ts +7 -6
- package/api/resources/forms/client/Client.js +72 -24
- package/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +17 -0
- package/api/resources/forms/client/requests/index.d.ts +1 -0
- package/api/resources/index.d.ts +3 -3
- package/api/resources/index.js +4 -4
- package/api/resources/inventory/client/Client.d.ts +3 -3
- package/api/resources/inventory/client/Client.js +26 -10
- package/api/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +1 -1
- package/api/resources/orders/client/Client.d.ts +6 -6
- package/api/resources/orders/client/Client.js +75 -29
- package/api/resources/pages/client/Client.d.ts +24 -11
- package/api/resources/pages/client/Client.js +79 -26
- package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +3 -1
- package/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +3 -1
- package/api/resources/pages/client/requests/PagesListRequest.d.ts +3 -1
- package/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +6 -3
- package/api/resources/pages/resources/scripts/client/Client.d.ts +5 -5
- package/api/resources/pages/resources/scripts/client/Client.js +38 -14
- package/api/resources/products/client/Client.d.ts +6 -6
- package/api/resources/products/client/Client.js +76 -28
- package/api/resources/scripts/client/Client.d.ts +3 -3
- package/api/resources/scripts/client/Client.js +38 -14
- package/api/resources/sites/client/Client.d.ts +5 -7
- package/api/resources/sites/client/Client.js +55 -23
- package/api/resources/sites/index.d.ts +1 -0
- package/api/resources/sites/index.js +1 -0
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
- package/api/resources/sites/resources/activityLogs/client/Client.js +12 -4
- package/api/resources/sites/resources/scripts/client/Client.d.ts +6 -6
- package/api/resources/sites/resources/scripts/client/Client.js +50 -18
- package/api/resources/sites/types/SitesPublishResponse.d.ts +10 -0
- package/api/resources/sites/types/index.d.ts +1 -0
- package/{serialization/resources/webhooks/client → api/resources/sites/types}/index.js +1 -1
- package/api/resources/token/client/Client.js +8 -4
- package/api/resources/users/client/Client.d.ts +5 -5
- package/api/resources/users/client/Client.js +61 -21
- package/api/resources/webhooks/client/Client.d.ts +13 -8
- package/api/resources/webhooks/client/Client.js +56 -19
- package/api/resources/webhooks/client/index.d.ts +1 -1
- package/api/resources/webhooks/client/index.js +0 -15
- package/api/types/Asset.d.ts +10 -8
- package/api/{resources/collections/resources/items/client/requests → types}/BulkCollectionItem.d.ts +3 -6
- package/{dist/api/resources/collections/resources/items → api}/types/BulkCollectionItemFieldData.d.ts +2 -0
- package/api/types/CollectionItemFieldData.d.ts +2 -0
- package/api/types/ConflictErrorBody.d.ts +10 -1
- package/api/types/DuplicateUserEmail.d.ts +10 -1
- package/api/types/Form.d.ts +2 -0
- package/api/types/FormSubmissionList.d.ts +1 -1
- package/api/types/MissingScopes.d.ts +10 -1
- package/api/types/NotEnterprisePlanSite.d.ts +10 -1
- package/api/types/{OauthScope.d.ts → OAuthScope.d.ts} +9 -1
- package/{dist/api/types/OauthScope.js → api/types/OAuthScope.js} +2 -0
- package/api/types/Page.d.ts +5 -1
- package/api/types/TooManyRequestsErrorBody.d.ts +9 -0
- package/api/types/UserLimitReached.d.ts +10 -1
- package/api/types/UsersNotEnabled.d.ts +10 -1
- package/api/types/Webhook.d.ts +5 -5
- package/api/types/WebhookFilter.d.ts +10 -0
- package/api/types/index.d.ts +6 -5
- package/api/types/index.js +6 -5
- package/core/fetcher/Fetcher.d.ts +4 -1
- package/core/fetcher/Fetcher.js +19 -185
- package/core/fetcher/createRequestUrl.d.ts +1 -0
- package/core/fetcher/createRequestUrl.js +13 -0
- package/core/fetcher/getFetchFn.d.ts +4 -0
- package/core/fetcher/getFetchFn.js +59 -0
- package/core/fetcher/getRequestBody.d.ts +7 -0
- package/core/fetcher/getRequestBody.js +23 -0
- package/core/fetcher/getResponseBody.d.ts +1 -0
- package/core/fetcher/getResponseBody.js +52 -0
- package/core/fetcher/makeRequest.d.ts +1 -0
- package/core/fetcher/makeRequest.js +42 -0
- package/core/fetcher/requestWithRetries.d.ts +1 -0
- package/core/fetcher/requestWithRetries.js +32 -0
- package/core/fetcher/signals.d.ts +12 -0
- package/core/fetcher/signals.js +37 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +124 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
- package/core/runtime/runtime.d.ts +1 -0
- package/core/runtime/runtime.js +1 -0
- package/core/schemas/Schema.d.ts +8 -4
- package/core/schemas/Schema.js +1 -0
- package/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/core/schemas/builders/bigint/bigint.js +50 -0
- package/core/schemas/builders/bigint/index.d.ts +1 -0
- package/core/schemas/builders/bigint/index.js +5 -0
- package/core/schemas/builders/index.d.ts +1 -0
- package/core/schemas/builders/index.js +1 -0
- package/core/schemas/builders/lazy/lazy.d.ts +2 -2
- package/core/schemas/builders/lazy/lazy.js +8 -19
- package/core/schemas/builders/lazy/lazyObject.js +1 -10
- package/core/schemas/builders/list/list.js +31 -44
- package/core/schemas/builders/object/object.js +90 -111
- package/core/schemas/builders/object/types.d.ts +2 -2
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
- package/core/schemas/builders/record/record.js +49 -60
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
- package/core/schemas/builders/schema-utils/getSchemaUtils.js +18 -21
- package/core/schemas/builders/set/set.js +6 -15
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
- package/core/schemas/builders/union/union.js +51 -62
- package/core/schemas/utils/getErrorMessageForIncorrectType.js +4 -0
- package/core/schemas/utils/maybeSkipValidation.js +3 -12
- package/dist/api/errors/TooManyRequestsError.d.ts +2 -1
- package/dist/api/errors/index.d.ts +1 -1
- package/dist/api/errors/index.js +1 -1
- package/dist/api/resources/accessGroups/client/Client.d.ts +1 -1
- package/dist/api/resources/accessGroups/client/Client.js +12 -4
- package/dist/api/resources/assets/client/Client.d.ts +8 -8
- package/dist/api/resources/assets/client/Client.js +98 -34
- package/dist/api/resources/collections/client/Client.d.ts +5 -5
- package/dist/api/resources/collections/client/Client.js +59 -19
- package/dist/api/resources/collections/resources/fields/client/Client.d.ts +3 -3
- package/dist/api/resources/collections/resources/fields/client/Client.js +27 -11
- package/dist/api/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +19 -19
- package/dist/api/resources/collections/resources/items/client/Client.js +175 -57
- package/dist/api/resources/collections/resources/items/client/requests/index.d.ts +0 -1
- package/dist/api/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +7 -0
- 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/ecommerce/client/Client.d.ts +1 -1
- package/dist/api/resources/ecommerce/client/Client.js +12 -4
- package/dist/api/resources/forms/client/Client.d.ts +7 -6
- package/dist/api/resources/forms/client/Client.js +72 -24
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +17 -0
- package/dist/api/resources/forms/client/requests/index.d.ts +1 -0
- package/dist/api/resources/index.d.ts +3 -3
- package/dist/api/resources/index.js +4 -4
- package/dist/api/resources/inventory/client/Client.d.ts +3 -3
- package/dist/api/resources/inventory/client/Client.js +26 -10
- package/dist/api/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +1 -1
- package/dist/api/resources/orders/client/Client.d.ts +6 -6
- package/dist/api/resources/orders/client/Client.js +75 -29
- package/dist/api/resources/pages/client/Client.d.ts +24 -11
- package/dist/api/resources/pages/client/Client.js +79 -26
- package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +3 -1
- package/dist/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +3 -1
- package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +3 -1
- package/dist/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +6 -3
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +5 -5
- package/dist/api/resources/pages/resources/scripts/client/Client.js +38 -14
- package/dist/api/resources/products/client/Client.d.ts +6 -6
- package/dist/api/resources/products/client/Client.js +76 -28
- package/dist/api/resources/scripts/client/Client.d.ts +3 -3
- package/dist/api/resources/scripts/client/Client.js +38 -14
- package/dist/api/resources/sites/client/Client.d.ts +5 -7
- package/dist/api/resources/sites/client/Client.js +55 -23
- package/dist/api/resources/sites/index.d.ts +1 -0
- package/dist/api/resources/sites/index.js +1 -0
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +1 -1
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +12 -4
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +6 -6
- package/dist/api/resources/sites/resources/scripts/client/Client.js +50 -18
- package/dist/api/resources/sites/types/SitesPublishResponse.d.ts +10 -0
- package/dist/api/resources/sites/types/index.d.ts +1 -0
- package/{serialization/resources/webhooks → dist/api/resources/sites/types}/index.js +1 -1
- package/dist/api/resources/token/client/Client.js +8 -4
- package/dist/api/resources/users/client/Client.d.ts +5 -5
- package/dist/api/resources/users/client/Client.js +61 -21
- package/dist/api/resources/webhooks/client/Client.d.ts +13 -8
- package/dist/api/resources/webhooks/client/Client.js +56 -19
- package/dist/api/resources/webhooks/client/index.d.ts +1 -1
- package/dist/api/resources/webhooks/client/index.js +0 -15
- package/dist/api/types/Asset.d.ts +10 -8
- package/dist/api/{resources/collections/resources/items/client/requests → types}/BulkCollectionItem.d.ts +3 -6
- package/{api/resources/collections/resources/items → dist/api}/types/BulkCollectionItemFieldData.d.ts +2 -0
- package/dist/api/types/CollectionItemFieldData.d.ts +2 -0
- package/dist/api/types/ConflictErrorBody.d.ts +10 -1
- package/dist/api/types/DuplicateUserEmail.d.ts +10 -1
- package/dist/api/types/Form.d.ts +2 -0
- package/dist/api/types/FormSubmissionList.d.ts +1 -1
- package/dist/api/types/MissingScopes.d.ts +10 -1
- package/dist/api/types/NotEnterprisePlanSite.d.ts +10 -1
- package/dist/api/types/{OauthScope.d.ts → OAuthScope.d.ts} +9 -1
- package/{api/types/OauthScope.js → dist/api/types/OAuthScope.js} +2 -0
- package/dist/api/types/Page.d.ts +5 -1
- package/dist/api/types/TooManyRequestsErrorBody.d.ts +9 -0
- package/dist/api/types/TooManyRequestsErrorBody.js +5 -0
- package/dist/api/types/UserLimitReached.d.ts +10 -1
- package/dist/api/types/UsersNotEnabled.d.ts +10 -1
- package/dist/api/types/Webhook.d.ts +5 -5
- package/dist/api/types/WebhookFilter.d.ts +10 -0
- package/dist/api/types/WebhookFilter.js +5 -0
- package/dist/api/types/index.d.ts +6 -5
- package/dist/api/types/index.js +6 -5
- package/dist/core/fetcher/Fetcher.d.ts +4 -1
- package/dist/core/fetcher/Fetcher.js +19 -185
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -0
- package/dist/core/fetcher/createRequestUrl.js +13 -0
- package/dist/core/fetcher/getFetchFn.d.ts +4 -0
- package/dist/core/fetcher/getFetchFn.js +59 -0
- package/dist/core/fetcher/getRequestBody.d.ts +7 -0
- package/dist/core/fetcher/getRequestBody.js +23 -0
- package/dist/core/fetcher/getResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getResponseBody.js +52 -0
- package/dist/core/fetcher/makeRequest.d.ts +1 -0
- package/dist/core/fetcher/makeRequest.js +42 -0
- package/dist/core/fetcher/requestWithRetries.d.ts +1 -0
- package/dist/core/fetcher/requestWithRetries.js +32 -0
- package/dist/core/fetcher/signals.d.ts +12 -0
- package/dist/core/fetcher/signals.js +37 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +30 -0
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.js +247 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +22 -0
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.js +124 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +31 -0
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.js +229 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.d.ts +18 -0
- package/dist/core/fetcher/stream-wrappers/chooseStreamWrapper.js +50 -0
- package/dist/core/runtime/runtime.d.ts +1 -0
- package/dist/core/runtime/runtime.js +1 -0
- package/dist/core/schemas/Schema.d.ts +8 -4
- package/dist/core/schemas/Schema.js +1 -0
- package/dist/core/schemas/builders/bigint/bigint.d.ts +2 -0
- package/dist/core/schemas/builders/bigint/bigint.js +50 -0
- package/dist/core/schemas/builders/bigint/index.d.ts +1 -0
- package/dist/core/schemas/builders/bigint/index.js +5 -0
- package/dist/core/schemas/builders/index.d.ts +1 -0
- package/dist/core/schemas/builders/index.js +1 -0
- package/dist/core/schemas/builders/lazy/lazy.d.ts +2 -2
- package/dist/core/schemas/builders/lazy/lazy.js +8 -19
- package/dist/core/schemas/builders/lazy/lazyObject.js +1 -10
- package/dist/core/schemas/builders/list/list.js +31 -44
- package/dist/core/schemas/builders/object/object.js +90 -111
- package/dist/core/schemas/builders/object/types.d.ts +2 -2
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +3 -12
- package/dist/core/schemas/builders/record/record.js +49 -60
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +2 -2
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.js +18 -21
- package/dist/core/schemas/builders/set/set.js +6 -15
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +21 -32
- package/dist/core/schemas/builders/union/union.js +51 -62
- package/dist/core/schemas/utils/getErrorMessageForIncorrectType.js +4 -0
- package/dist/core/schemas/utils/maybeSkipValidation.js +3 -12
- package/dist/serialization/resources/collections/resources/items/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/collections/resources/items/client/requests/index.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +13 -0
- package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.js +34 -0
- 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 +3 -4
- package/dist/serialization/resources/index.js +4 -5
- package/dist/serialization/resources/sites/index.d.ts +1 -0
- package/dist/serialization/resources/sites/index.js +1 -0
- package/dist/serialization/resources/sites/types/SitesPublishResponse.d.ts +14 -0
- package/dist/serialization/resources/sites/types/SitesPublishResponse.js +35 -0
- package/dist/serialization/resources/sites/types/index.d.ts +1 -0
- package/dist/serialization/resources/{webhooks/client → sites/types}/index.js +1 -1
- package/dist/serialization/types/Asset.d.ts +5 -4
- package/dist/serialization/types/Asset.js +5 -4
- package/dist/serialization/{resources/collections/resources/items/client/requests → types}/BulkCollectionItem.d.ts +5 -5
- package/dist/serialization/{resources/collections/resources/items/client/requests → types}/BulkCollectionItem.js +2 -2
- package/dist/serialization/types/BulkCollectionItemFieldData.d.ts +14 -0
- package/dist/serialization/{resources/collections/resources/items/types → types}/BulkCollectionItemFieldData.js +1 -1
- package/dist/serialization/types/CollectionItemFieldData.d.ts +1 -0
- package/dist/serialization/types/ConflictErrorBody.d.ts +8 -4
- package/dist/serialization/types/ConflictErrorBody.js +7 -3
- package/dist/serialization/types/DuplicateUserEmail.d.ts +7 -2
- package/dist/serialization/types/DuplicateUserEmail.js +31 -2
- package/dist/serialization/types/Form.d.ts +1 -0
- package/dist/serialization/types/Form.js +1 -0
- package/dist/serialization/types/FormSubmissionList.d.ts +1 -1
- package/dist/serialization/types/FormSubmissionList.js +1 -1
- package/dist/serialization/types/MissingScopes.d.ts +7 -2
- package/dist/serialization/types/MissingScopes.js +31 -2
- package/dist/serialization/types/NotEnterprisePlanSite.d.ts +7 -2
- package/dist/serialization/types/NotEnterprisePlanSite.js +31 -2
- package/dist/serialization/types/Page.d.ts +3 -1
- package/dist/serialization/types/Page.js +3 -1
- package/dist/serialization/types/TooManyRequestsErrorBody.d.ts +15 -0
- package/{serialization/types/PageDetailsOpenGraph.js → dist/serialization/types/TooManyRequestsErrorBody.js} +6 -6
- package/dist/serialization/types/UserLimitReached.d.ts +7 -2
- package/dist/serialization/types/UserLimitReached.js +31 -2
- package/dist/serialization/types/UsersNotEnabled.d.ts +7 -2
- package/dist/serialization/types/UsersNotEnabled.js +31 -2
- package/dist/serialization/types/Webhook.d.ts +4 -3
- package/dist/serialization/types/Webhook.js +4 -3
- package/dist/serialization/types/WebhookFilter.d.ts +12 -0
- package/{serialization/types/PageDetailsSeo.js → dist/serialization/types/WebhookFilter.js} +3 -4
- package/dist/serialization/types/index.d.ts +5 -5
- package/dist/serialization/types/index.js +5 -5
- package/dist/version.d.ts +1 -0
- package/dist/{api/resources/webhooks/client/requests/index.js → version.js} +2 -0
- package/dist/wrapper/ItemsClient.d.ts +49 -1
- package/dist/wrapper/ItemsClient.js +219 -6
- package/package.json +7 -2
- package/reference.md +5790 -0
- package/serialization/resources/collections/resources/items/client/requests/index.d.ts +0 -1
- package/serialization/resources/collections/resources/items/client/requests/index.js +1 -3
- package/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +13 -0
- package/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.js +34 -0
- 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 +3 -4
- package/serialization/resources/index.js +4 -5
- package/serialization/resources/sites/index.d.ts +1 -0
- package/serialization/resources/sites/index.js +1 -0
- package/serialization/resources/sites/types/SitesPublishResponse.d.ts +14 -0
- package/serialization/resources/sites/types/SitesPublishResponse.js +35 -0
- package/serialization/resources/sites/types/index.d.ts +1 -0
- package/{dist/serialization/resources/webhooks → serialization/resources/sites/types}/index.js +1 -1
- package/serialization/types/Asset.d.ts +5 -4
- package/serialization/types/Asset.js +5 -4
- package/serialization/{resources/collections/resources/items/client/requests → types}/BulkCollectionItem.d.ts +5 -5
- package/serialization/{resources/collections/resources/items/client/requests → types}/BulkCollectionItem.js +2 -2
- package/serialization/types/BulkCollectionItemFieldData.d.ts +14 -0
- package/serialization/{resources/collections/resources/items/types → types}/BulkCollectionItemFieldData.js +1 -1
- package/serialization/types/CollectionItemFieldData.d.ts +1 -0
- package/serialization/types/ConflictErrorBody.d.ts +8 -4
- package/serialization/types/ConflictErrorBody.js +7 -3
- package/serialization/types/DuplicateUserEmail.d.ts +7 -2
- package/serialization/types/DuplicateUserEmail.js +31 -2
- package/serialization/types/Form.d.ts +1 -0
- package/serialization/types/Form.js +1 -0
- package/serialization/types/FormSubmissionList.d.ts +1 -1
- package/serialization/types/FormSubmissionList.js +1 -1
- package/serialization/types/MissingScopes.d.ts +7 -2
- package/serialization/types/MissingScopes.js +31 -2
- package/serialization/types/NotEnterprisePlanSite.d.ts +7 -2
- package/serialization/types/NotEnterprisePlanSite.js +31 -2
- package/serialization/types/Page.d.ts +3 -1
- package/serialization/types/Page.js +3 -1
- package/serialization/types/TooManyRequestsErrorBody.d.ts +15 -0
- package/{dist/serialization/types/PageDetailsOpenGraph.js → serialization/types/TooManyRequestsErrorBody.js} +6 -6
- package/serialization/types/UserLimitReached.d.ts +7 -2
- package/serialization/types/UserLimitReached.js +31 -2
- package/serialization/types/UsersNotEnabled.d.ts +7 -2
- package/serialization/types/UsersNotEnabled.js +31 -2
- package/serialization/types/Webhook.d.ts +4 -3
- package/serialization/types/Webhook.js +4 -3
- package/serialization/types/WebhookFilter.d.ts +12 -0
- package/{dist/serialization/types/PageDetailsSeo.js → serialization/types/WebhookFilter.js} +3 -4
- package/serialization/types/index.d.ts +5 -5
- package/serialization/types/index.js +5 -5
- package/version.d.ts +1 -0
- package/{api/resources/webhooks/client/requests/index.js → version.js} +2 -0
- package/wrapper/ItemsClient.d.ts +49 -1
- package/wrapper/ItemsClient.js +219 -6
- package/api/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +0 -25
- package/api/resources/webhooks/client/requests/index.d.ts +0 -1
- package/api/types/PageDetails.d.ts +0 -41
- package/api/types/PageDetailsOpenGraph.d.ts +0 -16
- package/api/types/PageDetailsSeo.d.ts +0 -12
- package/dist/api/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +0 -25
- package/dist/api/resources/webhooks/client/requests/index.d.ts +0 -1
- package/dist/api/types/PageDetails.d.ts +0 -41
- package/dist/api/types/PageDetailsOpenGraph.d.ts +0 -16
- package/dist/api/types/PageDetailsSeo.d.ts +0 -12
- package/dist/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +0 -13
- package/dist/serialization/resources/webhooks/client/index.d.ts +0 -1
- package/dist/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +0 -15
- package/dist/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.js +0 -36
- package/dist/serialization/resources/webhooks/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/webhooks/client/requests/index.js +0 -5
- package/dist/serialization/resources/webhooks/index.d.ts +0 -1
- package/dist/serialization/types/OauthScope.d.ts +0 -10
- package/dist/serialization/types/OauthScope.js +0 -52
- package/dist/serialization/types/PageDetails.d.ts +0 -29
- package/dist/serialization/types/PageDetails.js +0 -50
- package/dist/serialization/types/PageDetailsOpenGraph.d.ts +0 -15
- package/dist/serialization/types/PageDetailsSeo.d.ts +0 -13
- package/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +0 -13
- package/serialization/resources/webhooks/client/index.d.ts +0 -1
- package/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +0 -15
- package/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.js +0 -36
- package/serialization/resources/webhooks/client/requests/index.d.ts +0 -1
- package/serialization/resources/webhooks/client/requests/index.js +0 -5
- package/serialization/resources/webhooks/index.d.ts +0 -1
- package/serialization/types/OauthScope.d.ts +0 -10
- package/serialization/types/OauthScope.js +0 -52
- package/serialization/types/PageDetails.d.ts +0 -29
- package/serialization/types/PageDetails.js +0 -50
- package/serialization/types/PageDetailsOpenGraph.d.ts +0 -15
- package/serialization/types/PageDetailsSeo.d.ts +0 -13
- /package/api/resources/collections/resources/items/{client/requests/BulkCollectionItem.js → types/ItemsPublishItemResponse.js} +0 -0
- /package/api/resources/{collections/resources/items/types/BulkCollectionItemFieldData.js → forms/client/requests/FormsListSubmissionsRequest.js} +0 -0
- /package/api/resources/{webhooks/client/requests/WebhooksCreateRequest.js → sites/types/SitesPublishResponse.js} +0 -0
- /package/{dist/api/resources/collections/resources/items/client/requests → api/types}/BulkCollectionItem.js +0 -0
- /package/{dist/api/resources/collections/resources/items → api}/types/BulkCollectionItemFieldData.js +0 -0
- /package/api/types/{PageDetails.js → TooManyRequestsErrorBody.js} +0 -0
- /package/api/types/{PageDetailsOpenGraph.js → WebhookFilter.js} +0 -0
- /package/{api/types/PageDetailsSeo.js → dist/api/resources/collections/resources/items/types/ItemsPublishItemResponse.js} +0 -0
- /package/dist/api/resources/{webhooks/client/requests/WebhooksCreateRequest.js → forms/client/requests/FormsListSubmissionsRequest.js} +0 -0
- /package/dist/api/{types/PageDetails.js → resources/sites/types/SitesPublishResponse.js} +0 -0
- /package/dist/api/types/{PageDetailsOpenGraph.js → BulkCollectionItem.js} +0 -0
- /package/dist/api/types/{PageDetailsSeo.js → BulkCollectionItemFieldData.js} +0 -0
|
@@ -2,4 +2,4 @@ export * from "./ItemsListItemsRequestSortBy";
|
|
|
2
2
|
export * from "./ItemsListItemsRequestSortOrder";
|
|
3
3
|
export * from "./ItemsListItemsLiveRequestSortBy";
|
|
4
4
|
export * from "./ItemsListItemsLiveRequestSortOrder";
|
|
5
|
-
export * from "./
|
|
5
|
+
export * from "./ItemsPublishItemResponse";
|
|
@@ -18,4 +18,4 @@ __exportStar(require("./ItemsListItemsRequestSortBy"), exports);
|
|
|
18
18
|
__exportStar(require("./ItemsListItemsRequestSortOrder"), exports);
|
|
19
19
|
__exportStar(require("./ItemsListItemsLiveRequestSortBy"), exports);
|
|
20
20
|
__exportStar(require("./ItemsListItemsLiveRequestSortOrder"), exports);
|
|
21
|
-
__exportStar(require("./
|
|
21
|
+
__exportStar(require("./ItemsPublishItemResponse"), exports);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export * as
|
|
1
|
+
export * as sites from "./sites";
|
|
2
|
+
export * from "./sites/types";
|
|
2
3
|
export * as pages from "./pages";
|
|
3
4
|
export * from "./pages/types";
|
|
4
5
|
export * as users from "./users";
|
|
@@ -11,7 +12,7 @@ export * as orders from "./orders";
|
|
|
11
12
|
export * from "./orders/types";
|
|
12
13
|
export * as inventory from "./inventory";
|
|
13
14
|
export * from "./inventory/types";
|
|
14
|
-
export * as
|
|
15
|
+
export * as collections from "./collections";
|
|
15
16
|
export * from "./sites/client/requests";
|
|
16
17
|
export * from "./collections/client/requests";
|
|
17
18
|
export * from "./pages/client/requests";
|
|
@@ -19,8 +20,6 @@ export * as scripts from "./scripts";
|
|
|
19
20
|
export * from "./scripts/client/requests";
|
|
20
21
|
export * as assets from "./assets";
|
|
21
22
|
export * from "./assets/client/requests";
|
|
22
|
-
export * as webhooks from "./webhooks";
|
|
23
|
-
export * from "./webhooks/client/requests";
|
|
24
23
|
export * as forms from "./forms";
|
|
25
24
|
export * from "./forms/client/requests";
|
|
26
25
|
export * from "./users/client/requests";
|
|
@@ -26,8 +26,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.forms = exports.
|
|
30
|
-
exports.
|
|
29
|
+
exports.forms = exports.assets = exports.scripts = exports.collections = exports.inventory = exports.orders = exports.products = exports.accessGroups = exports.users = exports.pages = exports.sites = void 0;
|
|
30
|
+
exports.sites = __importStar(require("./sites"));
|
|
31
|
+
__exportStar(require("./sites/types"), exports);
|
|
31
32
|
exports.pages = __importStar(require("./pages"));
|
|
32
33
|
__exportStar(require("./pages/types"), exports);
|
|
33
34
|
exports.users = __importStar(require("./users"));
|
|
@@ -40,7 +41,7 @@ exports.orders = __importStar(require("./orders"));
|
|
|
40
41
|
__exportStar(require("./orders/types"), exports);
|
|
41
42
|
exports.inventory = __importStar(require("./inventory"));
|
|
42
43
|
__exportStar(require("./inventory/types"), exports);
|
|
43
|
-
exports.
|
|
44
|
+
exports.collections = __importStar(require("./collections"));
|
|
44
45
|
__exportStar(require("./sites/client/requests"), exports);
|
|
45
46
|
__exportStar(require("./collections/client/requests"), exports);
|
|
46
47
|
__exportStar(require("./pages/client/requests"), exports);
|
|
@@ -48,8 +49,6 @@ exports.scripts = __importStar(require("./scripts"));
|
|
|
48
49
|
__exportStar(require("./scripts/client/requests"), exports);
|
|
49
50
|
exports.assets = __importStar(require("./assets"));
|
|
50
51
|
__exportStar(require("./assets/client/requests"), exports);
|
|
51
|
-
exports.webhooks = __importStar(require("./webhooks"));
|
|
52
|
-
__exportStar(require("./webhooks/client/requests"), exports);
|
|
53
52
|
exports.forms = __importStar(require("./forms"));
|
|
54
53
|
__exportStar(require("./forms/client/requests"), exports);
|
|
55
54
|
__exportStar(require("./users/client/requests"), exports);
|
|
@@ -14,4 +14,5 @@ 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("./types"), exports);
|
|
17
18
|
__exportStar(require("./client"), exports);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Webflow from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { Domain } from "../../../types/Domain";
|
|
8
|
+
export declare const SitesPublishResponse: core.serialization.ObjectSchema<serializers.SitesPublishResponse.Raw, Webflow.SitesPublishResponse>;
|
|
9
|
+
export declare namespace SitesPublishResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
customDomains?: Domain.Raw[] | null;
|
|
12
|
+
publishToWebflowSubdomain?: boolean | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
+
exports.SitesPublishResponse = void 0;
|
|
30
|
+
const core = __importStar(require("../../../../core"));
|
|
31
|
+
const Domain_1 = require("../../../types/Domain");
|
|
32
|
+
exports.SitesPublishResponse = core.serialization.object({
|
|
33
|
+
customDomains: core.serialization.list(Domain_1.Domain).optional(),
|
|
34
|
+
publishToWebflowSubdomain: core.serialization.boolean().optional(),
|
|
35
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./SitesPublishResponse";
|
|
@@ -14,4 +14,4 @@ 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("./
|
|
17
|
+
__exportStar(require("./SitesPublishResponse"), exports);
|
|
@@ -9,14 +9,15 @@ export declare const Asset: core.serialization.ObjectSchema<serializers.Asset.Ra
|
|
|
9
9
|
export declare namespace Asset {
|
|
10
10
|
interface Raw {
|
|
11
11
|
id?: string | null;
|
|
12
|
-
originalFileName?: string | null;
|
|
13
|
-
displayName?: string | null;
|
|
14
12
|
contentType?: string | null;
|
|
15
13
|
size?: number | null;
|
|
16
14
|
siteId?: string | null;
|
|
17
|
-
createdOn?: string | null;
|
|
18
|
-
lastUpdated?: string | null;
|
|
19
15
|
hostedUrl?: string | null;
|
|
16
|
+
originalFileName?: string | null;
|
|
17
|
+
displayName?: string | null;
|
|
18
|
+
lastUpdated?: string | null;
|
|
19
|
+
createdOn?: string | null;
|
|
20
20
|
variants?: AssetVariant.Raw[] | null;
|
|
21
|
+
altText?: string | null;
|
|
21
22
|
}
|
|
22
23
|
}
|
|
@@ -31,13 +31,14 @@ const core = __importStar(require("../../core"));
|
|
|
31
31
|
const AssetVariant_1 = require("./AssetVariant");
|
|
32
32
|
exports.Asset = core.serialization.object({
|
|
33
33
|
id: core.serialization.string().optional(),
|
|
34
|
-
originalFileName: core.serialization.string().optional(),
|
|
35
|
-
displayName: core.serialization.string().optional(),
|
|
36
34
|
contentType: core.serialization.string().optional(),
|
|
37
35
|
size: core.serialization.number().optional(),
|
|
38
36
|
siteId: core.serialization.string().optional(),
|
|
39
|
-
createdOn: core.serialization.date().optional(),
|
|
40
|
-
lastUpdated: core.serialization.date().optional(),
|
|
41
37
|
hostedUrl: core.serialization.string().optional(),
|
|
38
|
+
originalFileName: core.serialization.string().optional(),
|
|
39
|
+
displayName: core.serialization.string().optional(),
|
|
40
|
+
lastUpdated: core.serialization.date().optional(),
|
|
41
|
+
createdOn: core.serialization.date().optional(),
|
|
42
42
|
variants: core.serialization.list(AssetVariant_1.AssetVariant).optional(),
|
|
43
|
+
altText: core.serialization.string().optional(),
|
|
43
44
|
});
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
import * as serializers from "
|
|
5
|
-
import * as Webflow from "
|
|
6
|
-
import * as core from "
|
|
7
|
-
import { BulkCollectionItemFieldData } from "
|
|
8
|
-
export declare const BulkCollectionItem: core.serialization.
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { BulkCollectionItemFieldData } from "./BulkCollectionItemFieldData";
|
|
8
|
+
export declare const BulkCollectionItem: core.serialization.ObjectSchema<serializers.BulkCollectionItem.Raw, Webflow.BulkCollectionItem>;
|
|
9
9
|
export declare namespace BulkCollectionItem {
|
|
10
10
|
interface Raw {
|
|
11
11
|
id: string;
|
|
@@ -27,8 +27,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.BulkCollectionItem = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
31
|
-
const BulkCollectionItemFieldData_1 = require("
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const BulkCollectionItemFieldData_1 = require("./BulkCollectionItemFieldData");
|
|
32
32
|
exports.BulkCollectionItem = core.serialization.object({
|
|
33
33
|
id: core.serialization.string(),
|
|
34
34
|
cmsLocaleIds: core.serialization.list(core.serialization.string()).optional(),
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const BulkCollectionItemFieldData: core.serialization.ObjectSchema<serializers.BulkCollectionItemFieldData.Raw, Webflow.BulkCollectionItemFieldData>;
|
|
8
|
+
export declare namespace BulkCollectionItemFieldData {
|
|
9
|
+
interface Raw {
|
|
10
|
+
name?: string | null;
|
|
11
|
+
slug?: string | null;
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -27,7 +27,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.BulkCollectionItemFieldData = void 0;
|
|
30
|
-
const core = __importStar(require("
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.BulkCollectionItemFieldData = core.serialization.object({
|
|
32
32
|
name: core.serialization.string().optional(),
|
|
33
33
|
slug: core.serialization.string().optional(),
|
|
@@ -4,9 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
export declare const ConflictErrorBody: core.serialization.Schema<serializers.ConflictErrorBody.Raw, Webflow.ConflictErrorBody>;
|
|
7
|
+
import { ErrorDetailsItem } from "./ErrorDetailsItem";
|
|
8
|
+
export declare const ConflictErrorBody: core.serialization.ObjectSchema<serializers.ConflictErrorBody.Raw, Webflow.ConflictErrorBody>;
|
|
10
9
|
export declare namespace ConflictErrorBody {
|
|
11
|
-
|
|
10
|
+
interface Raw {
|
|
11
|
+
code?: "ecommerce_not_enabled" | null;
|
|
12
|
+
message?: string | null;
|
|
13
|
+
externalReference?: string | null;
|
|
14
|
+
details?: ErrorDetailsItem.Raw[] | null;
|
|
15
|
+
}
|
|
12
16
|
}
|
|
@@ -28,6 +28,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.ConflictErrorBody = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
const
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
const ErrorDetailsItem_1 = require("./ErrorDetailsItem");
|
|
32
|
+
exports.ConflictErrorBody = core.serialization.object({
|
|
33
|
+
code: core.serialization.stringLiteral("ecommerce_not_enabled").optional(),
|
|
34
|
+
message: core.serialization.string().optional(),
|
|
35
|
+
externalReference: core.serialization.string().optional(),
|
|
36
|
+
details: core.serialization.list(ErrorDetailsItem_1.ErrorDetailsItem).optional(),
|
|
37
|
+
});
|
|
@@ -4,8 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { ErrorDetailsItem } from "./ErrorDetailsItem";
|
|
8
8
|
export declare const DuplicateUserEmail: core.serialization.ObjectSchema<serializers.DuplicateUserEmail.Raw, Webflow.DuplicateUserEmail>;
|
|
9
9
|
export declare namespace DuplicateUserEmail {
|
|
10
|
-
|
|
10
|
+
interface Raw {
|
|
11
|
+
code?: string | null;
|
|
12
|
+
message?: string | null;
|
|
13
|
+
externalReference?: string | null;
|
|
14
|
+
details?: ErrorDetailsItem.Raw[] | null;
|
|
15
|
+
}
|
|
11
16
|
}
|
|
@@ -2,7 +2,36 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
5
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
29
|
exports.DuplicateUserEmail = void 0;
|
|
7
|
-
const
|
|
8
|
-
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const ErrorDetailsItem_1 = require("./ErrorDetailsItem");
|
|
32
|
+
exports.DuplicateUserEmail = core.serialization.object({
|
|
33
|
+
code: core.serialization.string().optional(),
|
|
34
|
+
message: core.serialization.string().optional(),
|
|
35
|
+
externalReference: core.serialization.string().optional(),
|
|
36
|
+
details: core.serialization.list(ErrorDetailsItem_1.ErrorDetailsItem).optional(),
|
|
37
|
+
});
|
|
@@ -41,5 +41,6 @@ exports.Form = core.serialization.object({
|
|
|
41
41
|
siteDomainId: core.serialization.string().optional(),
|
|
42
42
|
pageId: core.serialization.string().optional(),
|
|
43
43
|
pageName: core.serialization.string().optional(),
|
|
44
|
+
formElementId: core.serialization.string().optional(),
|
|
44
45
|
workspaceId: core.serialization.string().optional(),
|
|
45
46
|
});
|
|
@@ -9,7 +9,7 @@ import { Pagination } from "./Pagination";
|
|
|
9
9
|
export declare const FormSubmissionList: core.serialization.ObjectSchema<serializers.FormSubmissionList.Raw, Webflow.FormSubmissionList>;
|
|
10
10
|
export declare namespace FormSubmissionList {
|
|
11
11
|
interface Raw {
|
|
12
|
-
|
|
12
|
+
formSubmissions?: FormSubmission.Raw[] | null;
|
|
13
13
|
pagination?: Pagination.Raw | null;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -31,6 +31,6 @@ const core = __importStar(require("../../core"));
|
|
|
31
31
|
const FormSubmission_1 = require("./FormSubmission");
|
|
32
32
|
const Pagination_1 = require("./Pagination");
|
|
33
33
|
exports.FormSubmissionList = core.serialization.object({
|
|
34
|
-
|
|
34
|
+
formSubmissions: core.serialization.list(FormSubmission_1.FormSubmission).optional(),
|
|
35
35
|
pagination: Pagination_1.Pagination.optional(),
|
|
36
36
|
});
|
|
@@ -4,8 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { ErrorDetailsItem } from "./ErrorDetailsItem";
|
|
8
8
|
export declare const MissingScopes: core.serialization.ObjectSchema<serializers.MissingScopes.Raw, Webflow.MissingScopes>;
|
|
9
9
|
export declare namespace MissingScopes {
|
|
10
|
-
|
|
10
|
+
interface Raw {
|
|
11
|
+
code?: "missing_scopes" | null;
|
|
12
|
+
message?: string | null;
|
|
13
|
+
externalReference?: string | null;
|
|
14
|
+
details?: ErrorDetailsItem.Raw[] | null;
|
|
15
|
+
}
|
|
11
16
|
}
|
|
@@ -2,7 +2,36 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
5
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
29
|
exports.MissingScopes = void 0;
|
|
7
|
-
const
|
|
8
|
-
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const ErrorDetailsItem_1 = require("./ErrorDetailsItem");
|
|
32
|
+
exports.MissingScopes = core.serialization.object({
|
|
33
|
+
code: core.serialization.stringLiteral("missing_scopes").optional(),
|
|
34
|
+
message: core.serialization.string().optional(),
|
|
35
|
+
externalReference: core.serialization.string().optional(),
|
|
36
|
+
details: core.serialization.list(ErrorDetailsItem_1.ErrorDetailsItem).optional(),
|
|
37
|
+
});
|
|
@@ -4,8 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { ErrorDetailsItem } from "./ErrorDetailsItem";
|
|
8
8
|
export declare const NotEnterprisePlanSite: core.serialization.ObjectSchema<serializers.NotEnterprisePlanSite.Raw, Webflow.NotEnterprisePlanSite>;
|
|
9
9
|
export declare namespace NotEnterprisePlanSite {
|
|
10
|
-
|
|
10
|
+
interface Raw {
|
|
11
|
+
code?: "missing_scopes" | null;
|
|
12
|
+
message?: string | null;
|
|
13
|
+
externalReference?: string | null;
|
|
14
|
+
details?: ErrorDetailsItem.Raw[] | null;
|
|
15
|
+
}
|
|
11
16
|
}
|
|
@@ -2,7 +2,36 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
5
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
29
|
exports.NotEnterprisePlanSite = void 0;
|
|
7
|
-
const
|
|
8
|
-
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const ErrorDetailsItem_1 = require("./ErrorDetailsItem");
|
|
32
|
+
exports.NotEnterprisePlanSite = core.serialization.object({
|
|
33
|
+
code: core.serialization.stringLiteral("missing_scopes").optional(),
|
|
34
|
+
message: core.serialization.string().optional(),
|
|
35
|
+
externalReference: core.serialization.string().optional(),
|
|
36
|
+
details: core.serialization.list(ErrorDetailsItem_1.ErrorDetailsItem).optional(),
|
|
37
|
+
});
|
|
@@ -9,7 +9,7 @@ import { PageOpenGraph } from "./PageOpenGraph";
|
|
|
9
9
|
export declare const Page: core.serialization.ObjectSchema<serializers.Page.Raw, Webflow.Page>;
|
|
10
10
|
export declare namespace Page {
|
|
11
11
|
interface Raw {
|
|
12
|
-
id
|
|
12
|
+
id: string;
|
|
13
13
|
siteId?: string | null;
|
|
14
14
|
title?: string | null;
|
|
15
15
|
slug?: string | null;
|
|
@@ -23,5 +23,7 @@ export declare namespace Page {
|
|
|
23
23
|
isMembersOnly?: boolean | null;
|
|
24
24
|
seo?: PageSeo.Raw | null;
|
|
25
25
|
openGraph?: PageOpenGraph.Raw | null;
|
|
26
|
+
localeId?: string | null;
|
|
27
|
+
publishedPath?: string | null;
|
|
26
28
|
}
|
|
27
29
|
}
|
|
@@ -31,7 +31,7 @@ const core = __importStar(require("../../core"));
|
|
|
31
31
|
const PageSeo_1 = require("./PageSeo");
|
|
32
32
|
const PageOpenGraph_1 = require("./PageOpenGraph");
|
|
33
33
|
exports.Page = core.serialization.object({
|
|
34
|
-
id: core.serialization.string()
|
|
34
|
+
id: core.serialization.string(),
|
|
35
35
|
siteId: core.serialization.string().optional(),
|
|
36
36
|
title: core.serialization.string().optional(),
|
|
37
37
|
slug: core.serialization.string().optional(),
|
|
@@ -45,4 +45,6 @@ exports.Page = core.serialization.object({
|
|
|
45
45
|
isMembersOnly: core.serialization.boolean().optional(),
|
|
46
46
|
seo: PageSeo_1.PageSeo.optional(),
|
|
47
47
|
openGraph: PageOpenGraph_1.PageOpenGraph.optional(),
|
|
48
|
+
localeId: core.serialization.string().optional(),
|
|
49
|
+
publishedPath: core.serialization.string().optional(),
|
|
48
50
|
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const TooManyRequestsErrorBody: core.serialization.ObjectSchema<serializers.TooManyRequestsErrorBody.Raw, Webflow.TooManyRequestsErrorBody>;
|
|
8
|
+
export declare namespace TooManyRequestsErrorBody {
|
|
9
|
+
interface Raw {
|
|
10
|
+
message?: string | null;
|
|
11
|
+
code?: string | null;
|
|
12
|
+
externalReference?: string | null;
|
|
13
|
+
details?: unknown[] | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -26,11 +26,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
29
|
+
exports.TooManyRequestsErrorBody = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
exports.TooManyRequestsErrorBody = core.serialization.object({
|
|
32
|
+
message: core.serialization.string().optional(),
|
|
33
|
+
code: core.serialization.string().optional(),
|
|
34
|
+
externalReference: core.serialization.string().optional(),
|
|
35
|
+
details: core.serialization.list(core.serialization.unknown()).optional(),
|
|
36
36
|
});
|
|
@@ -4,8 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { ErrorDetailsItem } from "./ErrorDetailsItem";
|
|
8
8
|
export declare const UserLimitReached: core.serialization.ObjectSchema<serializers.UserLimitReached.Raw, Webflow.UserLimitReached>;
|
|
9
9
|
export declare namespace UserLimitReached {
|
|
10
|
-
|
|
10
|
+
interface Raw {
|
|
11
|
+
code?: string | null;
|
|
12
|
+
message?: string | null;
|
|
13
|
+
externalReference?: string | null;
|
|
14
|
+
details?: ErrorDetailsItem.Raw[] | null;
|
|
15
|
+
}
|
|
11
16
|
}
|
|
@@ -2,7 +2,36 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
|
4
4
|
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
22
|
+
if (mod && mod.__esModule) return mod;
|
|
23
|
+
var result = {};
|
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
25
|
+
__setModuleDefault(result, mod);
|
|
26
|
+
return result;
|
|
27
|
+
};
|
|
5
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
29
|
exports.UserLimitReached = void 0;
|
|
7
|
-
const
|
|
8
|
-
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const ErrorDetailsItem_1 = require("./ErrorDetailsItem");
|
|
32
|
+
exports.UserLimitReached = core.serialization.object({
|
|
33
|
+
code: core.serialization.string().optional(),
|
|
34
|
+
message: core.serialization.string().optional(),
|
|
35
|
+
externalReference: core.serialization.string().optional(),
|
|
36
|
+
details: core.serialization.list(ErrorDetailsItem_1.ErrorDetailsItem).optional(),
|
|
37
|
+
});
|
|
@@ -4,8 +4,13 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
-
import {
|
|
7
|
+
import { ErrorDetailsItem } from "./ErrorDetailsItem";
|
|
8
8
|
export declare const UsersNotEnabled: core.serialization.ObjectSchema<serializers.UsersNotEnabled.Raw, Webflow.UsersNotEnabled>;
|
|
9
9
|
export declare namespace UsersNotEnabled {
|
|
10
|
-
|
|
10
|
+
interface Raw {
|
|
11
|
+
code?: string | null;
|
|
12
|
+
message?: string | null;
|
|
13
|
+
externalReference?: string | null;
|
|
14
|
+
details?: ErrorDetailsItem.Raw[] | null;
|
|
15
|
+
}
|
|
11
16
|
}
|