webflow-api 2.3.1 → 2.3.5
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/Client.d.ts +4 -0
- package/api/errors/BadRequestError.d.ts +1 -1
- package/api/errors/BadRequestError.js +1 -1
- package/api/errors/ConflictError.d.ts +1 -1
- package/api/errors/ConflictError.js +1 -1
- package/api/errors/ForbiddenError.d.ts +1 -1
- package/api/errors/ForbiddenError.js +1 -1
- package/api/errors/InternalServerError.d.ts +1 -1
- package/api/errors/InternalServerError.js +1 -1
- package/api/errors/NotFoundError.d.ts +1 -1
- package/api/errors/NotFoundError.js +1 -1
- package/api/errors/TooManyRequestsError.d.ts +1 -1
- package/api/errors/TooManyRequestsError.js +1 -1
- package/api/errors/UnauthorizedError.d.ts +1 -1
- package/api/errors/UnauthorizedError.js +1 -1
- package/api/errors/index.d.ts +2 -2
- package/api/errors/index.js +2 -2
- package/api/resources/accessGroups/client/Client.d.ts +11 -2
- package/api/resources/accessGroups/client/Client.js +12 -6
- package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +1 -1
- package/api/resources/accessGroups/client/requests/index.d.ts +1 -1
- package/api/resources/assets/client/Client.d.ts +50 -13
- package/api/resources/assets/client/Client.js +72 -31
- package/api/resources/assets/client/requests/AssetsCreateFolderRequest.d.ts +1 -2
- package/api/resources/assets/client/requests/AssetsCreateRequest.d.ts +1 -2
- package/api/resources/assets/client/requests/index.d.ts +3 -3
- package/api/resources/collections/client/Client.d.ts +32 -6
- package/api/resources/collections/client/Client.js +45 -18
- package/api/resources/collections/client/requests/index.d.ts +1 -1
- package/api/resources/collections/resources/fields/client/Client.d.ts +18 -3
- package/api/resources/collections/resources/fields/client/Client.js +22 -9
- package/api/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +1 -1
- package/api/resources/collections/resources/fields/client/requests/index.d.ts +2 -2
- package/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +2 -2
- package/api/resources/collections/resources/fields/types/FieldCreateType.js +1 -1
- package/api/resources/collections/resources/items/client/Client.d.ts +108 -20
- package/api/resources/collections/resources/items/client/Client.js +312 -58
- package/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +2 -8
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.d.ts +13 -0
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.js +5 -0
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +2 -2
- package/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.d.ts +13 -0
- package/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.js +5 -0
- package/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +1 -1
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +38 -0
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.js +5 -0
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +19 -2
- package/api/resources/collections/resources/items/client/requests/index.d.ts +8 -5
- package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +9 -0
- package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +11 -0
- package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +8 -0
- package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +10 -0
- package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +9 -0
- package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +11 -0
- package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +8 -0
- package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +10 -0
- package/api/resources/collections/resources/items/types/index.d.ts +4 -0
- package/api/resources/collections/resources/items/types/index.js +4 -0
- package/api/resources/ecommerce/client/Client.d.ts +10 -2
- package/api/resources/ecommerce/client/Client.js +11 -6
- package/api/resources/forms/client/Client.d.ts +32 -6
- package/api/resources/forms/client/Client.js +45 -18
- package/api/resources/forms/client/requests/index.d.ts +2 -2
- package/api/resources/inventory/client/Client.d.ts +19 -6
- package/api/resources/inventory/client/Client.js +23 -12
- package/api/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +2 -4
- package/api/resources/inventory/client/requests/index.d.ts +1 -1
- package/api/resources/orders/client/Client.d.ts +44 -12
- package/api/resources/orders/client/Client.js +60 -26
- package/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -1
- package/api/resources/orders/client/requests/OrdersRefundRequest.d.ts +1 -1
- package/api/resources/orders/client/requests/OrdersUpdateRequest.d.ts +1 -6
- package/api/resources/orders/client/requests/index.d.ts +4 -4
- package/api/resources/orders/types/OrdersListRequestStatus.d.ts +12 -0
- package/api/resources/orders/types/OrdersListRequestStatus.js +14 -0
- package/api/resources/orders/types/index.d.ts +1 -0
- package/api/resources/orders/types/index.js +1 -0
- package/api/resources/pages/client/Client.d.ts +37 -12
- package/api/resources/pages/client/Client.js +57 -25
- package/api/resources/pages/client/requests/DomWrite.d.ts +1 -4
- package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +8 -0
- package/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +1 -2
- package/api/resources/pages/client/requests/index.d.ts +5 -5
- package/api/resources/pages/resources/scripts/client/Client.d.ts +24 -11
- package/api/resources/pages/resources/scripts/client/Client.js +31 -19
- package/api/resources/products/client/Client.d.ts +47 -89
- package/api/resources/products/client/Client.js +63 -103
- package/api/resources/products/client/requests/ProductSkuCreate.d.ts +2 -27
- package/api/resources/products/client/requests/ProductSkuUpdate.d.ts +2 -27
- package/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +2 -17
- package/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +2 -17
- package/api/resources/products/client/requests/index.d.ts +5 -5
- package/api/resources/products/types/ProductsCreateSkuResponse.d.ts +1 -1
- package/api/resources/scripts/client/Client.d.ts +25 -7
- package/api/resources/scripts/client/Client.js +32 -15
- package/api/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +1 -1
- package/api/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +1 -1
- package/api/resources/scripts/client/requests/index.d.ts +2 -2
- package/api/resources/sites/client/Client.d.ts +25 -8
- package/api/resources/sites/client/Client.js +34 -17
- package/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -4
- package/api/resources/sites/client/requests/index.d.ts +1 -1
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +11 -2
- package/api/resources/sites/resources/activityLogs/client/Client.js +12 -6
- package/api/resources/sites/resources/activityLogs/client/requests/index.d.ts +1 -1
- package/api/resources/sites/resources/scripts/client/Client.d.ts +31 -13
- package/api/resources/sites/resources/scripts/client/Client.js +41 -23
- package/api/resources/sites/resources/scripts/client/requests/index.d.ts +1 -1
- package/api/resources/token/client/Client.d.ts +14 -4
- package/api/resources/token/client/Client.js +16 -8
- package/api/resources/users/client/Client.d.ts +38 -8
- package/api/resources/users/client/Client.js +51 -20
- package/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -1
- package/api/resources/users/client/requests/UsersListRequest.d.ts +1 -1
- package/api/resources/users/client/requests/UsersUpdateRequest.d.ts +2 -2
- package/api/resources/users/client/requests/index.d.ts +3 -3
- package/api/resources/webhooks/client/Client.d.ts +27 -6
- package/api/resources/webhooks/client/Client.js +37 -16
- package/api/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +1 -1
- package/api/resources/webhooks/client/requests/index.d.ts +1 -1
- package/api/types/AccessGroupList.d.ts +1 -1
- package/api/types/Asset.d.ts +1 -1
- package/api/types/AssetFolderList.d.ts +1 -1
- package/api/types/AssetUpload.d.ts +1 -1
- package/api/types/Assets.d.ts +1 -1
- package/api/types/Authorization.d.ts +1 -1
- package/api/types/AuthorizationAuthorization.d.ts +1 -1
- package/api/types/BadRequestErrorBody.d.ts +5 -0
- package/api/types/BadRequestErrorBody.js +5 -0
- package/api/types/Collection.d.ts +2 -1
- package/api/types/CollectionItem.d.ts +1 -1
- package/api/types/CollectionItemList.d.ts +1 -1
- package/api/types/CollectionList.d.ts +1 -1
- package/api/types/ConflictErrorBody.d.ts +5 -0
- package/api/types/ConflictErrorBody.js +5 -0
- package/api/types/CustomCodeBlock.d.ts +1 -1
- package/api/types/CustomCodeHostedResponse.d.ts +1 -1
- package/api/types/CustomCodeInlineResponse.d.ts +1 -1
- package/api/types/Dom.d.ts +1 -1
- package/api/types/Domains.d.ts +1 -1
- package/api/types/DuplicateUserEmail.d.ts +2 -11
- package/api/types/Error_.d.ts +1 -1
- package/api/types/Field.d.ts +1 -1
- package/api/types/FieldType.d.ts +2 -2
- package/api/types/FieldType.js +1 -1
- package/api/types/ForbiddenErrorBody.d.ts +10 -0
- package/api/types/ForbiddenErrorBody.js +5 -0
- package/api/types/Form.d.ts +1 -1
- package/api/types/FormField.d.ts +1 -1
- package/api/types/FormFieldValue.d.ts +1 -1
- package/api/types/FormList.d.ts +1 -1
- package/api/types/FormSubmissionList.d.ts +1 -1
- package/api/types/InventoryItem.d.ts +1 -1
- package/api/types/ListCustomCodeBlocks.d.ts +1 -1
- package/api/types/Locales.d.ts +1 -1
- package/api/types/MissingScopes.d.ts +2 -11
- package/api/types/Node.d.ts +1 -1
- package/api/types/NotEnterprisePlanSite.d.ts +2 -11
- package/api/types/OauthScope.d.ts +9 -1
- package/api/types/OauthScope.js +2 -0
- package/api/types/Order.d.ts +1 -1
- package/api/types/OrderAddress.d.ts +1 -1
- package/api/types/OrderList.d.ts +1 -1
- package/api/types/OrderPurchasedItem.d.ts +1 -1
- package/api/types/OrderPurchasedItemVariantImage.d.ts +1 -1
- package/api/types/OrderPurchasedItemVariantImageFile.d.ts +1 -1
- package/api/types/OrderTotals.d.ts +1 -1
- package/api/types/OrderTotalsExtrasItem.d.ts +1 -1
- package/api/types/Page.d.ts +1 -1
- package/api/types/PageDetails.d.ts +41 -0
- package/api/types/PageDetails.js +5 -0
- package/api/types/PageDetailsOpenGraph.d.ts +16 -0
- package/api/types/PageDetailsOpenGraph.js +5 -0
- package/api/types/PageDetailsSeo.d.ts +12 -0
- package/api/types/PageDetailsSeo.js +5 -0
- package/api/types/PageList.d.ts +1 -1
- package/api/types/Product.d.ts +1 -1
- package/api/types/ProductAndSkUs.d.ts +1 -1
- package/api/types/ProductAndSkUsList.d.ts +1 -1
- package/api/types/ProductFieldData.d.ts +1 -1
- package/api/types/RegisteredScriptList.d.ts +1 -1
- package/api/types/ScriptApply.d.ts +1 -1
- package/api/types/ScriptApplyList.d.ts +1 -1
- package/api/types/Scripts.d.ts +1 -1
- package/api/types/Site.d.ts +1 -1
- package/api/types/SiteActivityLogItem.d.ts +1 -1
- package/api/types/SiteActivityLogResponse.d.ts +1 -1
- package/api/types/Sites.d.ts +1 -1
- package/api/types/Sku.d.ts +1 -1
- package/api/types/SkuFieldData.d.ts +1 -1
- package/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -1
- package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +2 -1
- package/api/types/SkuPropertyList.d.ts +1 -1
- package/api/types/StripeCard.d.ts +1 -1
- package/api/types/User.d.ts +1 -1
- package/api/types/UserAccessGroupsItem.d.ts +1 -1
- package/api/types/UserData.d.ts +1 -1
- package/api/types/UserLimitReached.d.ts +2 -11
- package/api/types/UserList.d.ts +1 -1
- package/api/types/UsersNotEnabled.d.ts +2 -11
- package/api/types/Webhook.d.ts +1 -1
- package/api/types/WebhookList.d.ts +1 -1
- package/api/types/index.d.ts +6 -0
- package/api/types/index.js +6 -0
- package/core/fetcher/Fetcher.d.ts +2 -1
- package/core/fetcher/Fetcher.js +126 -19
- package/core/runtime/runtime.d.ts +1 -1
- package/core/runtime/runtime.js +11 -1
- package/core/schemas/builders/object/object.js +11 -15
- package/dist/Client.d.ts +4 -0
- package/dist/api/errors/BadRequestError.d.ts +1 -1
- package/dist/api/errors/BadRequestError.js +1 -1
- package/dist/api/errors/ConflictError.d.ts +1 -1
- package/dist/api/errors/ConflictError.js +1 -1
- package/dist/api/errors/ForbiddenError.d.ts +1 -1
- package/dist/api/errors/ForbiddenError.js +1 -1
- package/dist/api/errors/InternalServerError.d.ts +1 -1
- package/dist/api/errors/InternalServerError.js +1 -1
- package/dist/api/errors/NotFoundError.d.ts +1 -1
- package/dist/api/errors/NotFoundError.js +1 -1
- package/dist/api/errors/TooManyRequestsError.d.ts +1 -1
- package/dist/api/errors/TooManyRequestsError.js +1 -1
- package/dist/api/errors/UnauthorizedError.d.ts +1 -1
- package/dist/api/errors/UnauthorizedError.js +1 -1
- package/dist/api/errors/index.d.ts +2 -2
- package/dist/api/errors/index.js +2 -2
- package/dist/api/resources/accessGroups/client/Client.d.ts +11 -2
- package/dist/api/resources/accessGroups/client/Client.js +12 -6
- package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +1 -1
- package/dist/api/resources/accessGroups/client/requests/index.d.ts +1 -1
- package/dist/api/resources/assets/client/Client.d.ts +50 -13
- package/dist/api/resources/assets/client/Client.js +72 -31
- package/dist/api/resources/assets/client/requests/AssetsCreateFolderRequest.d.ts +1 -2
- package/dist/api/resources/assets/client/requests/AssetsCreateRequest.d.ts +1 -2
- package/dist/api/resources/assets/client/requests/index.d.ts +3 -3
- package/dist/api/resources/collections/client/Client.d.ts +32 -6
- package/dist/api/resources/collections/client/Client.js +45 -18
- package/dist/api/resources/collections/client/requests/index.d.ts +1 -1
- package/dist/api/resources/collections/resources/fields/client/Client.d.ts +18 -3
- package/dist/api/resources/collections/resources/fields/client/Client.js +22 -9
- package/dist/api/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +1 -1
- package/dist/api/resources/collections/resources/fields/client/requests/index.d.ts +2 -2
- package/dist/api/resources/collections/resources/fields/types/FieldCreateType.d.ts +2 -2
- package/dist/api/resources/collections/resources/fields/types/FieldCreateType.js +1 -1
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +108 -20
- package/dist/api/resources/collections/resources/items/client/Client.js +312 -58
- package/dist/api/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +2 -8
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.d.ts +13 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.js +5 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +2 -2
- package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.d.ts +13 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.js +5 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +38 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.js +5 -0
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +19 -2
- package/dist/api/resources/collections/resources/items/client/requests/index.d.ts +8 -5
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +9 -0
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +11 -0
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +8 -0
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +10 -0
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +9 -0
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +11 -0
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +8 -0
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +10 -0
- package/dist/api/resources/collections/resources/items/types/index.d.ts +4 -0
- package/dist/api/resources/collections/resources/items/types/index.js +4 -0
- package/dist/api/resources/ecommerce/client/Client.d.ts +10 -2
- package/dist/api/resources/ecommerce/client/Client.js +11 -6
- package/dist/api/resources/forms/client/Client.d.ts +32 -6
- package/dist/api/resources/forms/client/Client.js +45 -18
- package/dist/api/resources/forms/client/requests/index.d.ts +2 -2
- package/dist/api/resources/inventory/client/Client.d.ts +19 -6
- package/dist/api/resources/inventory/client/Client.js +23 -12
- package/dist/api/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +2 -4
- package/dist/api/resources/inventory/client/requests/index.d.ts +1 -1
- package/dist/api/resources/orders/client/Client.d.ts +44 -12
- package/dist/api/resources/orders/client/Client.js +60 -26
- package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +2 -1
- package/dist/api/resources/orders/client/requests/OrdersRefundRequest.d.ts +1 -1
- package/dist/api/resources/orders/client/requests/OrdersUpdateRequest.d.ts +1 -6
- package/dist/api/resources/orders/client/requests/index.d.ts +4 -4
- package/dist/api/resources/orders/types/OrdersListRequestStatus.d.ts +12 -0
- package/dist/api/resources/orders/types/OrdersListRequestStatus.js +14 -0
- package/dist/api/resources/orders/types/index.d.ts +1 -0
- package/dist/api/resources/orders/types/index.js +1 -0
- package/dist/api/resources/pages/client/Client.d.ts +37 -12
- package/dist/api/resources/pages/client/Client.js +57 -25
- package/dist/api/resources/pages/client/requests/DomWrite.d.ts +1 -4
- package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +8 -0
- package/dist/api/resources/pages/client/requests/UpdatePageSettingsRequest.d.ts +1 -2
- package/dist/api/resources/pages/client/requests/index.d.ts +5 -5
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +24 -11
- package/dist/api/resources/pages/resources/scripts/client/Client.js +31 -19
- package/dist/api/resources/products/client/Client.d.ts +47 -89
- package/dist/api/resources/products/client/Client.js +63 -103
- package/dist/api/resources/products/client/requests/ProductSkuCreate.d.ts +2 -27
- package/dist/api/resources/products/client/requests/ProductSkuUpdate.d.ts +2 -27
- package/dist/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +2 -17
- package/dist/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +2 -17
- package/dist/api/resources/products/client/requests/index.d.ts +5 -5
- package/dist/api/resources/products/types/ProductsCreateSkuResponse.d.ts +1 -1
- package/dist/api/resources/scripts/client/Client.d.ts +25 -7
- package/dist/api/resources/scripts/client/Client.js +32 -15
- package/dist/api/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +1 -1
- package/dist/api/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +1 -1
- package/dist/api/resources/scripts/client/requests/index.d.ts +2 -2
- package/dist/api/resources/sites/client/Client.d.ts +25 -8
- package/dist/api/resources/sites/client/Client.js +34 -17
- package/dist/api/resources/sites/client/requests/SitesPublishRequest.d.ts +1 -4
- package/dist/api/resources/sites/client/requests/index.d.ts +1 -1
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +11 -2
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +12 -6
- package/dist/api/resources/sites/resources/activityLogs/client/requests/index.d.ts +1 -1
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +31 -13
- package/dist/api/resources/sites/resources/scripts/client/Client.js +41 -23
- package/dist/api/resources/sites/resources/scripts/client/requests/index.d.ts +1 -1
- package/dist/api/resources/token/client/Client.d.ts +14 -4
- package/dist/api/resources/token/client/Client.js +16 -8
- package/dist/api/resources/users/client/Client.d.ts +38 -8
- package/dist/api/resources/users/client/Client.js +51 -20
- package/dist/api/resources/users/client/requests/UsersInviteRequest.d.ts +1 -1
- package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +1 -1
- package/dist/api/resources/users/client/requests/UsersUpdateRequest.d.ts +2 -2
- package/dist/api/resources/users/client/requests/index.d.ts +3 -3
- package/dist/api/resources/webhooks/client/Client.d.ts +27 -6
- package/dist/api/resources/webhooks/client/Client.js +37 -16
- package/dist/api/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +1 -1
- package/dist/api/resources/webhooks/client/requests/index.d.ts +1 -1
- package/dist/api/types/AccessGroupList.d.ts +1 -1
- package/dist/api/types/Asset.d.ts +1 -1
- package/dist/api/types/AssetFolderList.d.ts +1 -1
- package/dist/api/types/AssetUpload.d.ts +1 -1
- package/dist/api/types/Assets.d.ts +1 -1
- package/dist/api/types/Authorization.d.ts +1 -1
- package/dist/api/types/AuthorizationAuthorization.d.ts +1 -1
- package/dist/api/types/BadRequestErrorBody.d.ts +5 -0
- package/dist/api/types/BadRequestErrorBody.js +5 -0
- package/dist/api/types/Collection.d.ts +2 -1
- package/dist/api/types/CollectionItem.d.ts +1 -1
- package/dist/api/types/CollectionItemList.d.ts +1 -1
- package/dist/api/types/CollectionList.d.ts +1 -1
- package/dist/api/types/ConflictErrorBody.d.ts +5 -0
- package/dist/api/types/ConflictErrorBody.js +5 -0
- package/dist/api/types/CustomCodeBlock.d.ts +1 -1
- package/dist/api/types/CustomCodeHostedResponse.d.ts +1 -1
- package/dist/api/types/CustomCodeInlineResponse.d.ts +1 -1
- package/dist/api/types/Dom.d.ts +1 -1
- package/dist/api/types/Domains.d.ts +1 -1
- package/dist/api/types/DuplicateUserEmail.d.ts +2 -11
- package/dist/api/types/Error_.d.ts +1 -1
- package/dist/api/types/Field.d.ts +1 -1
- package/dist/api/types/FieldType.d.ts +2 -2
- package/dist/api/types/FieldType.js +1 -1
- package/dist/api/types/ForbiddenErrorBody.d.ts +10 -0
- package/dist/api/types/ForbiddenErrorBody.js +5 -0
- package/dist/api/types/Form.d.ts +1 -1
- package/dist/api/types/FormField.d.ts +1 -1
- package/dist/api/types/FormFieldValue.d.ts +1 -1
- package/dist/api/types/FormList.d.ts +1 -1
- package/dist/api/types/FormSubmissionList.d.ts +1 -1
- package/dist/api/types/InventoryItem.d.ts +1 -1
- package/dist/api/types/ListCustomCodeBlocks.d.ts +1 -1
- package/dist/api/types/Locales.d.ts +1 -1
- package/dist/api/types/MissingScopes.d.ts +2 -11
- package/dist/api/types/Node.d.ts +1 -1
- package/dist/api/types/NotEnterprisePlanSite.d.ts +2 -11
- package/dist/api/types/OauthScope.d.ts +9 -1
- package/dist/api/types/OauthScope.js +2 -0
- package/dist/api/types/Order.d.ts +1 -1
- package/dist/api/types/OrderAddress.d.ts +1 -1
- package/dist/api/types/OrderList.d.ts +1 -1
- package/dist/api/types/OrderPurchasedItem.d.ts +1 -1
- package/dist/api/types/OrderPurchasedItemVariantImage.d.ts +1 -1
- package/dist/api/types/OrderPurchasedItemVariantImageFile.d.ts +1 -1
- package/dist/api/types/OrderTotals.d.ts +1 -1
- package/dist/api/types/OrderTotalsExtrasItem.d.ts +1 -1
- package/dist/api/types/Page.d.ts +1 -1
- package/dist/api/types/PageDetails.d.ts +41 -0
- package/dist/api/types/PageDetails.js +5 -0
- package/dist/api/types/PageDetailsOpenGraph.d.ts +16 -0
- package/dist/api/types/PageDetailsOpenGraph.js +5 -0
- package/dist/api/types/PageDetailsSeo.d.ts +12 -0
- package/dist/api/types/PageDetailsSeo.js +5 -0
- package/dist/api/types/PageList.d.ts +1 -1
- package/dist/api/types/Product.d.ts +1 -1
- package/dist/api/types/ProductAndSkUs.d.ts +1 -1
- package/dist/api/types/ProductAndSkUsList.d.ts +1 -1
- package/dist/api/types/ProductFieldData.d.ts +1 -1
- package/dist/api/types/RegisteredScriptList.d.ts +1 -1
- package/dist/api/types/ScriptApply.d.ts +1 -1
- package/dist/api/types/ScriptApplyList.d.ts +1 -1
- package/dist/api/types/Scripts.d.ts +1 -1
- package/dist/api/types/Site.d.ts +1 -1
- package/dist/api/types/SiteActivityLogItem.d.ts +1 -1
- package/dist/api/types/SiteActivityLogResponse.d.ts +1 -1
- package/dist/api/types/Sites.d.ts +1 -1
- package/dist/api/types/Sku.d.ts +1 -1
- package/dist/api/types/SkuFieldData.d.ts +1 -1
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -1
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +2 -1
- package/dist/api/types/SkuPropertyList.d.ts +1 -1
- package/dist/api/types/StripeCard.d.ts +1 -1
- package/dist/api/types/User.d.ts +1 -1
- package/dist/api/types/UserAccessGroupsItem.d.ts +1 -1
- package/dist/api/types/UserData.d.ts +1 -1
- package/dist/api/types/UserLimitReached.d.ts +2 -11
- package/dist/api/types/UserList.d.ts +1 -1
- package/dist/api/types/UsersNotEnabled.d.ts +2 -11
- package/dist/api/types/Webhook.d.ts +1 -1
- package/dist/api/types/WebhookList.d.ts +1 -1
- package/dist/api/types/index.d.ts +6 -0
- package/dist/api/types/index.js +6 -0
- package/dist/core/fetcher/Fetcher.d.ts +2 -1
- package/dist/core/fetcher/Fetcher.js +126 -19
- package/dist/core/runtime/runtime.d.ts +1 -1
- package/dist/core/runtime/runtime.js +11 -1
- package/dist/core/schemas/builders/object/object.js +11 -15
- package/dist/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +2 -2
- package/dist/serialization/resources/assets/client/requests/AssetsCreateFolderRequest.d.ts +2 -2
- package/dist/serialization/resources/assets/client/requests/AssetsCreateRequest.d.ts +2 -2
- package/dist/serialization/resources/assets/client/requests/AssetsUpdateRequest.d.ts +2 -2
- package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -2
- package/dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +4 -3
- package/dist/serialization/resources/collections/resources/fields/client/requests/FieldCreate.js +2 -10
- package/dist/serialization/resources/collections/resources/fields/client/requests/FieldUpdate.d.ts +2 -2
- package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +3 -3
- package/dist/serialization/resources/collections/resources/fields/types/FieldCreateType.js +1 -1
- package/dist/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +4 -3
- package/dist/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.js +2 -12
- package/dist/serialization/resources/collections/resources/items/client/requests/ItemsPublishItemRequest.d.ts +2 -2
- package/dist/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +2 -2
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +10 -0
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +31 -0
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +10 -0
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +31 -0
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +10 -0
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +31 -0
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +10 -0
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +31 -0
- package/dist/serialization/resources/collections/resources/items/types/index.d.ts +4 -0
- package/dist/serialization/resources/collections/resources/items/types/index.js +4 -0
- package/dist/serialization/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +2 -2
- package/dist/serialization/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +4 -3
- package/dist/serialization/resources/inventory/client/requests/InventoryUpdateRequest.js +2 -10
- package/dist/serialization/resources/inventory/types/InventoryUpdateRequestInventoryType.d.ts +2 -2
- package/dist/serialization/resources/orders/client/requests/OrdersRefundRequest.d.ts +4 -3
- package/dist/serialization/resources/orders/client/requests/OrdersRefundRequest.js +2 -10
- package/dist/serialization/resources/orders/client/requests/OrdersUpdateFulfillRequest.d.ts +2 -2
- package/dist/serialization/resources/orders/client/requests/OrdersUpdateRequest.d.ts +2 -2
- package/dist/serialization/resources/orders/types/OrdersListRequestStatus.d.ts +10 -0
- package/dist/serialization/resources/orders/types/OrdersListRequestStatus.js +31 -0
- package/dist/serialization/resources/orders/types/OrdersRefundRequestReason.d.ts +2 -2
- package/dist/serialization/resources/orders/types/index.d.ts +1 -0
- package/dist/serialization/resources/orders/types/index.js +1 -0
- package/dist/serialization/resources/pages/client/requests/DomWrite.d.ts +4 -3
- package/dist/serialization/resources/pages/client/requests/DomWrite.js +2 -10
- package/dist/serialization/resources/pages/types/DomWriteNodesItem.d.ts +2 -2
- package/dist/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +2 -2
- package/dist/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +8 -5
- package/dist/serialization/resources/products/client/requests/ProductSkuCreate.js +6 -12
- package/dist/serialization/resources/products/client/requests/ProductSkuUpdate.d.ts +8 -5
- package/dist/serialization/resources/products/client/requests/ProductSkuUpdate.js +6 -12
- package/dist/serialization/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +6 -4
- package/dist/serialization/resources/products/client/requests/ProductsCreateSkuRequest.js +4 -11
- package/dist/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +6 -4
- package/dist/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.js +4 -11
- package/dist/serialization/resources/products/types/ProductsCreateSkuResponse.d.ts +4 -3
- package/dist/serialization/resources/products/types/ProductsCreateSkuResponse.js +2 -10
- package/dist/serialization/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +2 -2
- package/dist/serialization/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +2 -2
- package/dist/serialization/resources/sites/client/requests/SitesPublishRequest.d.ts +2 -2
- package/dist/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +2 -2
- package/dist/serialization/resources/users/client/requests/UsersUpdateRequest.d.ts +4 -3
- package/dist/serialization/resources/users/client/requests/UsersUpdateRequest.js +2 -10
- package/dist/serialization/resources/users/types/UsersListRequestSort.d.ts +2 -2
- package/dist/serialization/resources/users/types/UsersUpdateRequestData.d.ts +2 -2
- package/dist/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +4 -3
- package/dist/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.js +2 -10
- package/dist/serialization/types/AccessGroup.d.ts +2 -2
- package/dist/serialization/types/AccessGroupList.d.ts +4 -3
- package/dist/serialization/types/AccessGroupList.js +2 -12
- package/dist/serialization/types/Application.d.ts +2 -2
- package/dist/serialization/types/Asset.d.ts +4 -3
- package/dist/serialization/types/Asset.js +2 -12
- package/dist/serialization/types/AssetFolder.d.ts +2 -2
- package/dist/serialization/types/AssetFolderList.d.ts +6 -4
- package/dist/serialization/types/AssetFolderList.js +4 -13
- package/dist/serialization/types/AssetUpload.d.ts +4 -3
- package/dist/serialization/types/AssetUpload.js +2 -12
- package/dist/serialization/types/AssetUploadUploadDetails.d.ts +2 -2
- package/dist/serialization/types/AssetVariant.d.ts +2 -2
- package/dist/serialization/types/Assets.d.ts +4 -3
- package/dist/serialization/types/Assets.js +2 -12
- package/dist/serialization/types/Authorization.d.ts +6 -4
- package/dist/serialization/types/Authorization.js +4 -13
- package/dist/serialization/types/AuthorizationAuthorization.d.ts +4 -3
- package/dist/serialization/types/AuthorizationAuthorization.js +2 -12
- package/dist/serialization/types/AuthorizationAuthorizationAuthorizedTo.d.ts +2 -2
- package/dist/serialization/types/AuthorizedUser.d.ts +2 -2
- package/dist/serialization/types/BadRequestErrorBody.d.ts +12 -0
- package/dist/serialization/types/BadRequestErrorBody.js +33 -0
- package/dist/serialization/types/Collection.d.ts +4 -3
- package/dist/serialization/types/Collection.js +2 -1
- package/dist/serialization/types/CollectionItem.d.ts +4 -3
- package/dist/serialization/types/CollectionItem.js +2 -10
- package/dist/serialization/types/CollectionItemFieldData.d.ts +2 -2
- package/dist/serialization/types/CollectionItemList.d.ts +6 -4
- package/dist/serialization/types/CollectionItemList.js +4 -13
- package/dist/serialization/types/CollectionItemListPagination.d.ts +2 -2
- package/dist/serialization/types/CollectionList.d.ts +4 -3
- package/dist/serialization/types/CollectionList.js +2 -12
- package/dist/serialization/types/CollectionListArrayItem.d.ts +2 -2
- package/dist/serialization/types/ConflictErrorBody.d.ts +12 -0
- package/dist/serialization/types/ConflictErrorBody.js +33 -0
- package/dist/serialization/types/CustomCodeBlock.d.ts +6 -4
- package/dist/serialization/types/CustomCodeBlock.js +4 -11
- package/dist/serialization/types/CustomCodeBlockType.d.ts +2 -2
- package/dist/serialization/types/CustomCodeHostedResponse.d.ts +2 -2
- package/dist/serialization/types/CustomCodeInlineResponse.d.ts +2 -2
- package/dist/serialization/types/Dom.d.ts +6 -4
- package/dist/serialization/types/Dom.js +4 -11
- package/dist/serialization/types/Domain.d.ts +2 -2
- package/dist/serialization/types/Domains.d.ts +4 -3
- package/dist/serialization/types/Domains.js +2 -12
- package/dist/serialization/types/DuplicateUserEmail.d.ts +4 -8
- package/dist/serialization/types/DuplicateUserEmail.js +2 -41
- package/dist/serialization/types/EcommerceSettings.d.ts +2 -2
- package/dist/serialization/types/ErrorDetailsItem.d.ts +2 -2
- package/dist/serialization/types/Error_.d.ts +4 -3
- package/dist/serialization/types/Error_.js +2 -12
- package/dist/serialization/types/Field.d.ts +4 -3
- package/dist/serialization/types/Field.js +2 -10
- package/dist/serialization/types/FieldType.d.ts +3 -3
- package/dist/serialization/types/FieldType.js +1 -1
- package/dist/serialization/types/ForbiddenErrorBody.d.ts +16 -0
- package/dist/serialization/types/ForbiddenErrorBody.js +37 -0
- package/dist/serialization/types/Form.d.ts +6 -4
- package/dist/serialization/types/Form.js +4 -11
- package/dist/serialization/types/FormField.d.ts +4 -3
- package/dist/serialization/types/FormField.js +2 -10
- package/dist/serialization/types/FormFieldValue.d.ts +4 -3
- package/dist/serialization/types/FormFieldValue.js +2 -10
- package/dist/serialization/types/FormFieldValueType.d.ts +2 -2
- package/dist/serialization/types/FormList.d.ts +6 -4
- package/dist/serialization/types/FormList.js +4 -11
- package/dist/serialization/types/FormResponseSettings.d.ts +2 -2
- package/dist/serialization/types/FormSubmission.d.ts +2 -2
- package/dist/serialization/types/FormSubmissionList.d.ts +6 -4
- package/dist/serialization/types/FormSubmissionList.js +4 -13
- package/dist/serialization/types/ImageNode.d.ts +2 -2
- package/dist/serialization/types/InvalidDomain.d.ts +2 -2
- package/dist/serialization/types/InventoryItem.d.ts +4 -3
- package/dist/serialization/types/InventoryItem.js +2 -10
- package/dist/serialization/types/InventoryItemInventoryType.d.ts +2 -2
- package/dist/serialization/types/ListCustomCodeBlocks.d.ts +6 -4
- package/dist/serialization/types/ListCustomCodeBlocks.js +4 -13
- package/dist/serialization/types/Locale.d.ts +2 -2
- package/dist/serialization/types/Locales.d.ts +5 -4
- package/dist/serialization/types/Locales.js +3 -13
- package/dist/serialization/types/MissingScopes.d.ts +4 -9
- package/dist/serialization/types/MissingScopes.js +2 -42
- package/dist/serialization/types/NoDomains.d.ts +2 -2
- package/dist/serialization/types/Node.d.ts +8 -5
- package/dist/serialization/types/Node.js +6 -12
- package/dist/serialization/types/NodeType.d.ts +2 -2
- package/dist/serialization/types/NotEnterprisePlanSite.d.ts +4 -9
- package/dist/serialization/types/NotEnterprisePlanSite.js +2 -42
- package/dist/serialization/types/OauthScope.d.ts +3 -3
- package/dist/serialization/types/OauthScope.js +2 -0
- package/dist/serialization/types/Order.d.ts +30 -18
- package/dist/serialization/types/Order.js +28 -31
- package/dist/serialization/types/OrderAddress.d.ts +6 -4
- package/dist/serialization/types/OrderAddress.js +4 -11
- package/dist/serialization/types/OrderAddressJapanType.d.ts +2 -2
- package/dist/serialization/types/OrderAddressType.d.ts +2 -2
- package/dist/serialization/types/OrderCustomerInfo.d.ts +2 -2
- package/dist/serialization/types/OrderDisputeLastStatus.d.ts +2 -2
- package/dist/serialization/types/OrderDownloadFilesItem.d.ts +2 -2
- package/dist/serialization/types/OrderList.d.ts +6 -4
- package/dist/serialization/types/OrderList.js +4 -13
- package/dist/serialization/types/OrderMetadata.d.ts +2 -2
- package/dist/serialization/types/OrderPrice.d.ts +2 -2
- package/dist/serialization/types/OrderPurchasedItem.d.ts +7 -5
- package/dist/serialization/types/OrderPurchasedItem.js +5 -14
- package/dist/serialization/types/OrderPurchasedItemVariantImage.d.ts +4 -3
- package/dist/serialization/types/OrderPurchasedItemVariantImage.js +2 -10
- package/dist/serialization/types/OrderPurchasedItemVariantImageFile.d.ts +4 -3
- package/dist/serialization/types/OrderPurchasedItemVariantImageFile.js +2 -12
- package/dist/serialization/types/OrderPurchasedItemVariantImageFileVariantsItem.d.ts +2 -2
- package/dist/serialization/types/OrderStatus.d.ts +2 -2
- package/dist/serialization/types/OrderTotals.d.ts +7 -5
- package/dist/serialization/types/OrderTotals.js +5 -14
- package/dist/serialization/types/OrderTotalsExtrasItem.d.ts +6 -4
- package/dist/serialization/types/OrderTotalsExtrasItem.js +4 -11
- package/dist/serialization/types/OrderTotalsExtrasItemType.d.ts +2 -2
- package/dist/serialization/types/Page.d.ts +6 -4
- package/dist/serialization/types/Page.js +4 -11
- package/dist/serialization/types/PageDetails.d.ts +29 -0
- package/dist/serialization/types/PageDetails.js +50 -0
- package/dist/serialization/types/PageDetailsOpenGraph.d.ts +15 -0
- package/dist/serialization/types/PageDetailsOpenGraph.js +36 -0
- package/dist/serialization/types/PageDetailsSeo.d.ts +13 -0
- package/dist/serialization/types/PageDetailsSeo.js +34 -0
- package/dist/serialization/types/PageList.d.ts +6 -4
- package/dist/serialization/types/PageList.js +4 -11
- package/dist/serialization/types/PageOpenGraph.d.ts +2 -2
- package/dist/serialization/types/PageSeo.d.ts +2 -2
- package/dist/serialization/types/Pagination.d.ts +2 -2
- package/dist/serialization/types/PaypalDetails.d.ts +2 -2
- package/dist/serialization/types/Product.d.ts +4 -3
- package/dist/serialization/types/Product.js +2 -10
- package/dist/serialization/types/ProductAndSkUs.d.ts +6 -4
- package/dist/serialization/types/ProductAndSkUs.js +4 -11
- package/dist/serialization/types/ProductAndSkUsList.d.ts +6 -4
- package/dist/serialization/types/ProductAndSkUsList.js +4 -13
- package/dist/serialization/types/ProductFieldData.d.ts +8 -5
- package/dist/serialization/types/ProductFieldData.js +6 -14
- package/dist/serialization/types/ProductFieldDataEcProductType.d.ts +2 -2
- package/dist/serialization/types/ProductFieldDataTaxCategory.d.ts +2 -2
- package/dist/serialization/types/PublishStatus.d.ts +2 -2
- package/dist/serialization/types/RegisteredScriptList.d.ts +4 -3
- package/dist/serialization/types/RegisteredScriptList.js +2 -12
- package/dist/serialization/types/ScriptApply.d.ts +4 -3
- package/dist/serialization/types/ScriptApply.js +2 -10
- package/dist/serialization/types/ScriptApplyList.d.ts +4 -3
- package/dist/serialization/types/ScriptApplyList.js +2 -12
- package/dist/serialization/types/ScriptApplyLocation.d.ts +2 -2
- package/dist/serialization/types/Scripts.d.ts +4 -3
- package/dist/serialization/types/Scripts.js +2 -10
- package/dist/serialization/types/Site.d.ts +6 -4
- package/dist/serialization/types/Site.js +4 -13
- package/dist/serialization/types/SiteActivityLogItem.d.ts +6 -4
- package/dist/serialization/types/SiteActivityLogItem.js +4 -13
- package/dist/serialization/types/SiteActivityLogItemResourceOperation.d.ts +2 -2
- package/dist/serialization/types/SiteActivityLogItemUser.d.ts +2 -2
- package/dist/serialization/types/SiteActivityLogResponse.d.ts +6 -4
- package/dist/serialization/types/SiteActivityLogResponse.js +4 -13
- package/dist/serialization/types/Sites.d.ts +4 -3
- package/dist/serialization/types/Sites.js +2 -10
- package/dist/serialization/types/Sku.d.ts +4 -3
- package/dist/serialization/types/Sku.js +2 -10
- package/dist/serialization/types/SkuFieldData.d.ts +12 -7
- package/dist/serialization/types/SkuFieldData.js +10 -14
- package/dist/serialization/types/SkuFieldDataCompareAtPrice.d.ts +2 -2
- package/dist/serialization/types/SkuFieldDataEcSkuBillingMethod.d.ts +2 -2
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +6 -4
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +4 -15
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +2 -2
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +4 -3
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js +2 -12
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +2 -2
- package/dist/serialization/types/SkuFieldDataPrice.d.ts +2 -2
- package/dist/serialization/types/SkuPropertyList.d.ts +4 -3
- package/dist/serialization/types/SkuPropertyList.js +2 -10
- package/dist/serialization/types/SkuPropertyListEnumItem.d.ts +2 -2
- package/dist/serialization/types/SkuValueList.d.ts +2 -2
- package/dist/serialization/types/StripeCard.d.ts +6 -4
- package/dist/serialization/types/StripeCard.js +4 -11
- package/dist/serialization/types/StripeCardBrand.d.ts +2 -2
- package/dist/serialization/types/StripeCardExpires.d.ts +2 -2
- package/dist/serialization/types/StripeDetails.d.ts +2 -2
- package/dist/serialization/types/TextNode.d.ts +2 -2
- package/dist/serialization/types/TriggerType.d.ts +2 -2
- package/dist/serialization/types/User.d.ts +8 -5
- package/dist/serialization/types/User.js +6 -14
- package/dist/serialization/types/UserAccessGroupsItem.d.ts +4 -3
- package/dist/serialization/types/UserAccessGroupsItem.js +2 -10
- package/dist/serialization/types/UserAccessGroupsItemType.d.ts +2 -2
- package/dist/serialization/types/UserData.d.ts +4 -3
- package/dist/serialization/types/UserData.js +2 -10
- package/dist/serialization/types/UserDataData.d.ts +2 -2
- package/dist/serialization/types/UserLimitReached.d.ts +4 -8
- package/dist/serialization/types/UserLimitReached.js +2 -41
- package/dist/serialization/types/UserList.d.ts +4 -3
- package/dist/serialization/types/UserList.js +2 -10
- package/dist/serialization/types/UserStatus.d.ts +2 -2
- package/dist/serialization/types/UsersNotEnabled.d.ts +4 -8
- package/dist/serialization/types/UsersNotEnabled.js +2 -41
- package/dist/serialization/types/Webhook.d.ts +4 -3
- package/dist/serialization/types/Webhook.js +2 -10
- package/dist/serialization/types/WebhookList.d.ts +6 -4
- package/dist/serialization/types/WebhookList.js +4 -13
- package/dist/serialization/types/index.d.ts +6 -0
- package/dist/serialization/types/index.js +6 -0
- package/jest.config.js +2 -2
- package/package.json +13 -6
- package/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +2 -2
- package/serialization/resources/assets/client/requests/AssetsCreateFolderRequest.d.ts +2 -2
- package/serialization/resources/assets/client/requests/AssetsCreateRequest.d.ts +2 -2
- package/serialization/resources/assets/client/requests/AssetsUpdateRequest.d.ts +2 -2
- package/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -2
- package/serialization/resources/collections/resources/fields/client/requests/FieldCreate.d.ts +4 -3
- package/serialization/resources/collections/resources/fields/client/requests/FieldCreate.js +2 -10
- package/serialization/resources/collections/resources/fields/client/requests/FieldUpdate.d.ts +2 -2
- package/serialization/resources/collections/resources/fields/types/FieldCreateType.d.ts +3 -3
- package/serialization/resources/collections/resources/fields/types/FieldCreateType.js +1 -1
- package/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.d.ts +4 -3
- package/serialization/resources/collections/resources/items/client/requests/BulkCollectionItem.js +2 -12
- package/serialization/resources/collections/resources/items/client/requests/ItemsPublishItemRequest.d.ts +2 -2
- package/serialization/resources/collections/resources/items/types/BulkCollectionItemFieldData.d.ts +2 -2
- package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +10 -0
- package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +31 -0
- package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +10 -0
- package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +31 -0
- package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +10 -0
- package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +31 -0
- package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +10 -0
- package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +31 -0
- package/serialization/resources/collections/resources/items/types/index.d.ts +4 -0
- package/serialization/resources/collections/resources/items/types/index.js +4 -0
- package/serialization/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +2 -2
- package/serialization/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +4 -3
- package/serialization/resources/inventory/client/requests/InventoryUpdateRequest.js +2 -10
- package/serialization/resources/inventory/types/InventoryUpdateRequestInventoryType.d.ts +2 -2
- package/serialization/resources/orders/client/requests/OrdersRefundRequest.d.ts +4 -3
- package/serialization/resources/orders/client/requests/OrdersRefundRequest.js +2 -10
- package/serialization/resources/orders/client/requests/OrdersUpdateFulfillRequest.d.ts +2 -2
- package/serialization/resources/orders/client/requests/OrdersUpdateRequest.d.ts +2 -2
- package/serialization/resources/orders/types/OrdersListRequestStatus.d.ts +10 -0
- package/serialization/resources/orders/types/OrdersListRequestStatus.js +31 -0
- package/serialization/resources/orders/types/OrdersRefundRequestReason.d.ts +2 -2
- package/serialization/resources/orders/types/index.d.ts +1 -0
- package/serialization/resources/orders/types/index.js +1 -0
- package/serialization/resources/pages/client/requests/DomWrite.d.ts +4 -3
- package/serialization/resources/pages/client/requests/DomWrite.js +2 -10
- package/serialization/resources/pages/types/DomWriteNodesItem.d.ts +2 -2
- package/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +2 -2
- package/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +8 -5
- package/serialization/resources/products/client/requests/ProductSkuCreate.js +6 -12
- package/serialization/resources/products/client/requests/ProductSkuUpdate.d.ts +8 -5
- package/serialization/resources/products/client/requests/ProductSkuUpdate.js +6 -12
- package/serialization/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +6 -4
- package/serialization/resources/products/client/requests/ProductsCreateSkuRequest.js +4 -11
- package/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +6 -4
- package/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.js +4 -11
- package/serialization/resources/products/types/ProductsCreateSkuResponse.d.ts +4 -3
- package/serialization/resources/products/types/ProductsCreateSkuResponse.js +2 -10
- package/serialization/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +2 -2
- package/serialization/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +2 -2
- package/serialization/resources/sites/client/requests/SitesPublishRequest.d.ts +2 -2
- package/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +2 -2
- package/serialization/resources/users/client/requests/UsersUpdateRequest.d.ts +4 -3
- package/serialization/resources/users/client/requests/UsersUpdateRequest.js +2 -10
- package/serialization/resources/users/types/UsersListRequestSort.d.ts +2 -2
- package/serialization/resources/users/types/UsersUpdateRequestData.d.ts +2 -2
- package/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.d.ts +4 -3
- package/serialization/resources/webhooks/client/requests/WebhooksCreateRequest.js +2 -10
- package/serialization/types/AccessGroup.d.ts +2 -2
- package/serialization/types/AccessGroupList.d.ts +4 -3
- package/serialization/types/AccessGroupList.js +2 -12
- package/serialization/types/Application.d.ts +2 -2
- package/serialization/types/Asset.d.ts +4 -3
- package/serialization/types/Asset.js +2 -12
- package/serialization/types/AssetFolder.d.ts +2 -2
- package/serialization/types/AssetFolderList.d.ts +6 -4
- package/serialization/types/AssetFolderList.js +4 -13
- package/serialization/types/AssetUpload.d.ts +4 -3
- package/serialization/types/AssetUpload.js +2 -12
- package/serialization/types/AssetUploadUploadDetails.d.ts +2 -2
- package/serialization/types/AssetVariant.d.ts +2 -2
- package/serialization/types/Assets.d.ts +4 -3
- package/serialization/types/Assets.js +2 -12
- package/serialization/types/Authorization.d.ts +6 -4
- package/serialization/types/Authorization.js +4 -13
- package/serialization/types/AuthorizationAuthorization.d.ts +4 -3
- package/serialization/types/AuthorizationAuthorization.js +2 -12
- package/serialization/types/AuthorizationAuthorizationAuthorizedTo.d.ts +2 -2
- package/serialization/types/AuthorizedUser.d.ts +2 -2
- package/serialization/types/BadRequestErrorBody.d.ts +12 -0
- package/serialization/types/BadRequestErrorBody.js +33 -0
- package/serialization/types/Collection.d.ts +4 -3
- package/serialization/types/Collection.js +2 -1
- package/serialization/types/CollectionItem.d.ts +4 -3
- package/serialization/types/CollectionItem.js +2 -10
- package/serialization/types/CollectionItemFieldData.d.ts +2 -2
- package/serialization/types/CollectionItemList.d.ts +6 -4
- package/serialization/types/CollectionItemList.js +4 -13
- package/serialization/types/CollectionItemListPagination.d.ts +2 -2
- package/serialization/types/CollectionList.d.ts +4 -3
- package/serialization/types/CollectionList.js +2 -12
- package/serialization/types/CollectionListArrayItem.d.ts +2 -2
- package/serialization/types/ConflictErrorBody.d.ts +12 -0
- package/serialization/types/ConflictErrorBody.js +33 -0
- package/serialization/types/CustomCodeBlock.d.ts +6 -4
- package/serialization/types/CustomCodeBlock.js +4 -11
- package/serialization/types/CustomCodeBlockType.d.ts +2 -2
- package/serialization/types/CustomCodeHostedResponse.d.ts +2 -2
- package/serialization/types/CustomCodeInlineResponse.d.ts +2 -2
- package/serialization/types/Dom.d.ts +6 -4
- package/serialization/types/Dom.js +4 -11
- package/serialization/types/Domain.d.ts +2 -2
- package/serialization/types/Domains.d.ts +4 -3
- package/serialization/types/Domains.js +2 -12
- package/serialization/types/DuplicateUserEmail.d.ts +4 -8
- package/serialization/types/DuplicateUserEmail.js +2 -41
- package/serialization/types/EcommerceSettings.d.ts +2 -2
- package/serialization/types/ErrorDetailsItem.d.ts +2 -2
- package/serialization/types/Error_.d.ts +4 -3
- package/serialization/types/Error_.js +2 -12
- package/serialization/types/Field.d.ts +4 -3
- package/serialization/types/Field.js +2 -10
- package/serialization/types/FieldType.d.ts +3 -3
- package/serialization/types/FieldType.js +1 -1
- package/serialization/types/ForbiddenErrorBody.d.ts +16 -0
- package/serialization/types/ForbiddenErrorBody.js +37 -0
- package/serialization/types/Form.d.ts +6 -4
- package/serialization/types/Form.js +4 -11
- package/serialization/types/FormField.d.ts +4 -3
- package/serialization/types/FormField.js +2 -10
- package/serialization/types/FormFieldValue.d.ts +4 -3
- package/serialization/types/FormFieldValue.js +2 -10
- package/serialization/types/FormFieldValueType.d.ts +2 -2
- package/serialization/types/FormList.d.ts +6 -4
- package/serialization/types/FormList.js +4 -11
- package/serialization/types/FormResponseSettings.d.ts +2 -2
- package/serialization/types/FormSubmission.d.ts +2 -2
- package/serialization/types/FormSubmissionList.d.ts +6 -4
- package/serialization/types/FormSubmissionList.js +4 -13
- package/serialization/types/ImageNode.d.ts +2 -2
- package/serialization/types/InvalidDomain.d.ts +2 -2
- package/serialization/types/InventoryItem.d.ts +4 -3
- package/serialization/types/InventoryItem.js +2 -10
- package/serialization/types/InventoryItemInventoryType.d.ts +2 -2
- package/serialization/types/ListCustomCodeBlocks.d.ts +6 -4
- package/serialization/types/ListCustomCodeBlocks.js +4 -13
- package/serialization/types/Locale.d.ts +2 -2
- package/serialization/types/Locales.d.ts +5 -4
- package/serialization/types/Locales.js +3 -13
- package/serialization/types/MissingScopes.d.ts +4 -9
- package/serialization/types/MissingScopes.js +2 -42
- package/serialization/types/NoDomains.d.ts +2 -2
- package/serialization/types/Node.d.ts +8 -5
- package/serialization/types/Node.js +6 -12
- package/serialization/types/NodeType.d.ts +2 -2
- package/serialization/types/NotEnterprisePlanSite.d.ts +4 -9
- package/serialization/types/NotEnterprisePlanSite.js +2 -42
- package/serialization/types/OauthScope.d.ts +3 -3
- package/serialization/types/OauthScope.js +2 -0
- package/serialization/types/Order.d.ts +30 -18
- package/serialization/types/Order.js +28 -31
- package/serialization/types/OrderAddress.d.ts +6 -4
- package/serialization/types/OrderAddress.js +4 -11
- package/serialization/types/OrderAddressJapanType.d.ts +2 -2
- package/serialization/types/OrderAddressType.d.ts +2 -2
- package/serialization/types/OrderCustomerInfo.d.ts +2 -2
- package/serialization/types/OrderDisputeLastStatus.d.ts +2 -2
- package/serialization/types/OrderDownloadFilesItem.d.ts +2 -2
- package/serialization/types/OrderList.d.ts +6 -4
- package/serialization/types/OrderList.js +4 -13
- package/serialization/types/OrderMetadata.d.ts +2 -2
- package/serialization/types/OrderPrice.d.ts +2 -2
- package/serialization/types/OrderPurchasedItem.d.ts +7 -5
- package/serialization/types/OrderPurchasedItem.js +5 -14
- package/serialization/types/OrderPurchasedItemVariantImage.d.ts +4 -3
- package/serialization/types/OrderPurchasedItemVariantImage.js +2 -10
- package/serialization/types/OrderPurchasedItemVariantImageFile.d.ts +4 -3
- package/serialization/types/OrderPurchasedItemVariantImageFile.js +2 -12
- package/serialization/types/OrderPurchasedItemVariantImageFileVariantsItem.d.ts +2 -2
- package/serialization/types/OrderStatus.d.ts +2 -2
- package/serialization/types/OrderTotals.d.ts +7 -5
- package/serialization/types/OrderTotals.js +5 -14
- package/serialization/types/OrderTotalsExtrasItem.d.ts +6 -4
- package/serialization/types/OrderTotalsExtrasItem.js +4 -11
- package/serialization/types/OrderTotalsExtrasItemType.d.ts +2 -2
- package/serialization/types/Page.d.ts +6 -4
- package/serialization/types/Page.js +4 -11
- package/serialization/types/PageDetails.d.ts +29 -0
- package/serialization/types/PageDetails.js +50 -0
- package/serialization/types/PageDetailsOpenGraph.d.ts +15 -0
- package/serialization/types/PageDetailsOpenGraph.js +36 -0
- package/serialization/types/PageDetailsSeo.d.ts +13 -0
- package/serialization/types/PageDetailsSeo.js +34 -0
- package/serialization/types/PageList.d.ts +6 -4
- package/serialization/types/PageList.js +4 -11
- package/serialization/types/PageOpenGraph.d.ts +2 -2
- package/serialization/types/PageSeo.d.ts +2 -2
- package/serialization/types/Pagination.d.ts +2 -2
- package/serialization/types/PaypalDetails.d.ts +2 -2
- package/serialization/types/Product.d.ts +4 -3
- package/serialization/types/Product.js +2 -10
- package/serialization/types/ProductAndSkUs.d.ts +6 -4
- package/serialization/types/ProductAndSkUs.js +4 -11
- package/serialization/types/ProductAndSkUsList.d.ts +6 -4
- package/serialization/types/ProductAndSkUsList.js +4 -13
- package/serialization/types/ProductFieldData.d.ts +8 -5
- package/serialization/types/ProductFieldData.js +6 -14
- package/serialization/types/ProductFieldDataEcProductType.d.ts +2 -2
- package/serialization/types/ProductFieldDataTaxCategory.d.ts +2 -2
- package/serialization/types/PublishStatus.d.ts +2 -2
- package/serialization/types/RegisteredScriptList.d.ts +4 -3
- package/serialization/types/RegisteredScriptList.js +2 -12
- package/serialization/types/ScriptApply.d.ts +4 -3
- package/serialization/types/ScriptApply.js +2 -10
- package/serialization/types/ScriptApplyList.d.ts +4 -3
- package/serialization/types/ScriptApplyList.js +2 -12
- package/serialization/types/ScriptApplyLocation.d.ts +2 -2
- package/serialization/types/Scripts.d.ts +4 -3
- package/serialization/types/Scripts.js +2 -10
- package/serialization/types/Site.d.ts +6 -4
- package/serialization/types/Site.js +4 -13
- package/serialization/types/SiteActivityLogItem.d.ts +6 -4
- package/serialization/types/SiteActivityLogItem.js +4 -13
- package/serialization/types/SiteActivityLogItemResourceOperation.d.ts +2 -2
- package/serialization/types/SiteActivityLogItemUser.d.ts +2 -2
- package/serialization/types/SiteActivityLogResponse.d.ts +6 -4
- package/serialization/types/SiteActivityLogResponse.js +4 -13
- package/serialization/types/Sites.d.ts +4 -3
- package/serialization/types/Sites.js +2 -10
- package/serialization/types/Sku.d.ts +4 -3
- package/serialization/types/Sku.js +2 -10
- package/serialization/types/SkuFieldData.d.ts +12 -7
- package/serialization/types/SkuFieldData.js +10 -14
- package/serialization/types/SkuFieldDataCompareAtPrice.d.ts +2 -2
- package/serialization/types/SkuFieldDataEcSkuBillingMethod.d.ts +2 -2
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +6 -4
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +4 -15
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +2 -2
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +4 -3
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js +2 -12
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +2 -2
- package/serialization/types/SkuFieldDataPrice.d.ts +2 -2
- package/serialization/types/SkuPropertyList.d.ts +4 -3
- package/serialization/types/SkuPropertyList.js +2 -10
- package/serialization/types/SkuPropertyListEnumItem.d.ts +2 -2
- package/serialization/types/SkuValueList.d.ts +2 -2
- package/serialization/types/StripeCard.d.ts +6 -4
- package/serialization/types/StripeCard.js +4 -11
- package/serialization/types/StripeCardBrand.d.ts +2 -2
- package/serialization/types/StripeCardExpires.d.ts +2 -2
- package/serialization/types/StripeDetails.d.ts +2 -2
- package/serialization/types/TextNode.d.ts +2 -2
- package/serialization/types/TriggerType.d.ts +2 -2
- package/serialization/types/User.d.ts +8 -5
- package/serialization/types/User.js +6 -14
- package/serialization/types/UserAccessGroupsItem.d.ts +4 -3
- package/serialization/types/UserAccessGroupsItem.js +2 -10
- package/serialization/types/UserAccessGroupsItemType.d.ts +2 -2
- package/serialization/types/UserData.d.ts +4 -3
- package/serialization/types/UserData.js +2 -10
- package/serialization/types/UserDataData.d.ts +2 -2
- package/serialization/types/UserLimitReached.d.ts +4 -8
- package/serialization/types/UserLimitReached.js +2 -41
- package/serialization/types/UserList.d.ts +4 -3
- package/serialization/types/UserList.js +2 -10
- package/serialization/types/UserStatus.d.ts +2 -2
- package/serialization/types/UsersNotEnabled.d.ts +4 -8
- package/serialization/types/UsersNotEnabled.js +2 -41
- package/serialization/types/Webhook.d.ts +4 -3
- package/serialization/types/Webhook.js +2 -10
- package/serialization/types/WebhookList.d.ts +6 -4
- package/serialization/types/WebhookList.js +4 -13
- package/serialization/types/index.d.ts +6 -0
- package/serialization/types/index.js +6 -0
- package/tests/client.test.ts +0 -11
|
@@ -25,23 +25,15 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
29
|
exports.Field = void 0;
|
|
39
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const FieldType_1 = require("./FieldType");
|
|
40
32
|
exports.Field = core.serialization.object({
|
|
41
33
|
id: core.serialization.string(),
|
|
42
34
|
isRequired: core.serialization.boolean(),
|
|
43
35
|
isEditable: core.serialization.boolean().optional(),
|
|
44
|
-
type:
|
|
36
|
+
type: FieldType_1.FieldType,
|
|
45
37
|
slug: core.serialization.string().optional(),
|
|
46
38
|
displayName: core.serialization.string(),
|
|
47
39
|
helpText: core.serialization.string().optional(),
|
|
@@ -1,10 +1,10 @@
|
|
|
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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const FieldType: core.serialization.Schema<serializers.FieldType.Raw, Webflow.FieldType>;
|
|
8
8
|
export declare namespace FieldType {
|
|
9
|
-
type Raw = "PlainText" | "RichText" | "Image" | "MultiImage" | "Video" | "Link" | "Email" | "Phone" | "Number" | "DateTime" | "
|
|
9
|
+
type Raw = "PlainText" | "RichText" | "Image" | "MultiImage" | "Video" | "Link" | "Email" | "Phone" | "Number" | "DateTime" | "Switch" | "Color" | "ExtFileRef";
|
|
10
10
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 ForbiddenErrorBody: core.serialization.ObjectSchema<serializers.ForbiddenErrorBody.Raw, Webflow.ForbiddenErrorBody>;
|
|
8
|
+
export declare namespace ForbiddenErrorBody {
|
|
9
|
+
interface Raw {
|
|
10
|
+
status?: number | null;
|
|
11
|
+
message?: string | null;
|
|
12
|
+
publicErrorCode?: string | null;
|
|
13
|
+
externalReference?: string | null;
|
|
14
|
+
details?: string[] | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
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.ForbiddenErrorBody = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.ForbiddenErrorBody = core.serialization.object({
|
|
32
|
+
status: core.serialization.number().optional(),
|
|
33
|
+
message: core.serialization.string().optional(),
|
|
34
|
+
publicErrorCode: core.serialization.string().optional(),
|
|
35
|
+
externalReference: core.serialization.string().optional(),
|
|
36
|
+
details: core.serialization.list(core.serialization.string()).optional(),
|
|
37
|
+
});
|
|
@@ -1,17 +1,19 @@
|
|
|
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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { FormField } from "./FormField";
|
|
8
|
+
import { FormResponseSettings } from "./FormResponseSettings";
|
|
7
9
|
export declare const Form: core.serialization.ObjectSchema<serializers.Form.Raw, Webflow.Form>;
|
|
8
10
|
export declare namespace Form {
|
|
9
11
|
interface Raw {
|
|
10
12
|
displayName?: string | null;
|
|
11
13
|
createdOn?: string | null;
|
|
12
14
|
lastUpdated?: string | null;
|
|
13
|
-
fields?:
|
|
14
|
-
responseSettings?:
|
|
15
|
+
fields?: FormField.Raw[] | null;
|
|
16
|
+
responseSettings?: FormResponseSettings.Raw | null;
|
|
15
17
|
id?: string | null;
|
|
16
18
|
siteId?: string | null;
|
|
17
19
|
siteDomainId?: string | null;
|
|
@@ -25,24 +25,17 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
29
|
exports.Form = void 0;
|
|
39
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const FormField_1 = require("./FormField");
|
|
32
|
+
const FormResponseSettings_1 = require("./FormResponseSettings");
|
|
40
33
|
exports.Form = core.serialization.object({
|
|
41
34
|
displayName: core.serialization.string().optional(),
|
|
42
35
|
createdOn: core.serialization.date().optional(),
|
|
43
36
|
lastUpdated: core.serialization.date().optional(),
|
|
44
|
-
fields: core.serialization.list(
|
|
45
|
-
responseSettings:
|
|
37
|
+
fields: core.serialization.list(FormField_1.FormField).optional(),
|
|
38
|
+
responseSettings: FormResponseSettings_1.FormResponseSettings.optional(),
|
|
46
39
|
id: core.serialization.string().optional(),
|
|
47
40
|
siteId: core.serialization.string().optional(),
|
|
48
41
|
siteDomainId: core.serialization.string().optional(),
|
|
@@ -1,10 +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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { FormFieldValue } from "./FormFieldValue";
|
|
7
8
|
export declare const FormField: core.serialization.Schema<serializers.FormField.Raw, Webflow.FormField>;
|
|
8
9
|
export declare namespace FormField {
|
|
9
|
-
type Raw = Record<string,
|
|
10
|
+
type Raw = Record<string, FormFieldValue.Raw>;
|
|
10
11
|
}
|
|
@@ -25,16 +25,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
29
|
exports.FormField = void 0;
|
|
39
30
|
const core = __importStar(require("../../core"));
|
|
40
|
-
|
|
31
|
+
const FormFieldValue_1 = require("./FormFieldValue");
|
|
32
|
+
exports.FormField = core.serialization.record(core.serialization.string(), FormFieldValue_1.FormFieldValue);
|
|
@@ -1,14 +1,15 @@
|
|
|
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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { FormFieldValueType } from "./FormFieldValueType";
|
|
7
8
|
export declare const FormFieldValue: core.serialization.ObjectSchema<serializers.FormFieldValue.Raw, Webflow.FormFieldValue>;
|
|
8
9
|
export declare namespace FormFieldValue {
|
|
9
10
|
interface Raw {
|
|
10
11
|
displayName?: string | null;
|
|
11
|
-
type?:
|
|
12
|
+
type?: FormFieldValueType.Raw | null;
|
|
12
13
|
placeholder?: string | null;
|
|
13
14
|
userVisible?: boolean | null;
|
|
14
15
|
}
|
|
@@ -25,21 +25,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
29
|
exports.FormFieldValue = void 0;
|
|
39
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const FormFieldValueType_1 = require("./FormFieldValueType");
|
|
40
32
|
exports.FormFieldValue = core.serialization.object({
|
|
41
33
|
displayName: core.serialization.string().optional(),
|
|
42
|
-
type:
|
|
34
|
+
type: FormFieldValueType_1.FormFieldValueType.optional(),
|
|
43
35
|
placeholder: core.serialization.string().optional(),
|
|
44
36
|
userVisible: core.serialization.boolean().optional(),
|
|
45
37
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const FormFieldValueType: core.serialization.Schema<serializers.FormFieldValueType.Raw, Webflow.FormFieldValueType>;
|
|
8
8
|
export declare namespace FormFieldValueType {
|
|
@@ -1,13 +1,15 @@
|
|
|
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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { Form } from "./Form";
|
|
8
|
+
import { Pagination } from "./Pagination";
|
|
7
9
|
export declare const FormList: core.serialization.ObjectSchema<serializers.FormList.Raw, Webflow.FormList>;
|
|
8
10
|
export declare namespace FormList {
|
|
9
11
|
interface Raw {
|
|
10
|
-
forms?:
|
|
11
|
-
pagination?:
|
|
12
|
+
forms?: Form.Raw[] | null;
|
|
13
|
+
pagination?: Pagination.Raw | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -25,19 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
29
|
exports.FormList = void 0;
|
|
39
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const Form_1 = require("./Form");
|
|
32
|
+
const Pagination_1 = require("./Pagination");
|
|
40
33
|
exports.FormList = core.serialization.object({
|
|
41
|
-
forms: core.serialization.list(
|
|
42
|
-
pagination:
|
|
34
|
+
forms: core.serialization.list(Form_1.Form).optional(),
|
|
35
|
+
pagination: Pagination_1.Pagination.optional(),
|
|
43
36
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const FormResponseSettings: core.serialization.ObjectSchema<serializers.FormResponseSettings.Raw, Webflow.FormResponseSettings>;
|
|
8
8
|
export declare namespace FormResponseSettings {
|
|
@@ -1,8 +1,8 @@
|
|
|
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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const FormSubmission: core.serialization.ObjectSchema<serializers.FormSubmission.Raw, Webflow.FormSubmission>;
|
|
8
8
|
export declare namespace FormSubmission {
|
|
@@ -1,13 +1,15 @@
|
|
|
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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { FormSubmission } from "./FormSubmission";
|
|
8
|
+
import { Pagination } from "./Pagination";
|
|
7
9
|
export declare const FormSubmissionList: core.serialization.ObjectSchema<serializers.FormSubmissionList.Raw, Webflow.FormSubmissionList>;
|
|
8
10
|
export declare namespace FormSubmissionList {
|
|
9
11
|
interface Raw {
|
|
10
|
-
submissions?:
|
|
11
|
-
pagination?:
|
|
12
|
+
submissions?: FormSubmission.Raw[] | null;
|
|
13
|
+
pagination?: Pagination.Raw | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -25,21 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
29
|
exports.FormSubmissionList = void 0;
|
|
39
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const FormSubmission_1 = require("./FormSubmission");
|
|
32
|
+
const Pagination_1 = require("./Pagination");
|
|
40
33
|
exports.FormSubmissionList = core.serialization.object({
|
|
41
|
-
submissions: core.serialization
|
|
42
|
-
|
|
43
|
-
.optional(),
|
|
44
|
-
pagination: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Pagination; })).optional(),
|
|
34
|
+
submissions: core.serialization.list(FormSubmission_1.FormSubmission).optional(),
|
|
35
|
+
pagination: Pagination_1.Pagination.optional(),
|
|
45
36
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const ImageNode: core.serialization.ObjectSchema<serializers.ImageNode.Raw, Webflow.ImageNode>;
|
|
8
8
|
export declare namespace ImageNode {
|
|
@@ -1,8 +1,8 @@
|
|
|
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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const InvalidDomain: core.serialization.Schema<serializers.InvalidDomain.Raw, Webflow.InvalidDomain>;
|
|
8
8
|
export declare namespace InvalidDomain {
|
|
@@ -1,14 +1,15 @@
|
|
|
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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { InventoryItemInventoryType } from "./InventoryItemInventoryType";
|
|
7
8
|
export declare const InventoryItem: core.serialization.ObjectSchema<serializers.InventoryItem.Raw, Webflow.InventoryItem>;
|
|
8
9
|
export declare namespace InventoryItem {
|
|
9
10
|
interface Raw {
|
|
10
11
|
id?: string | null;
|
|
11
12
|
quantity?: number | null;
|
|
12
|
-
inventoryType?:
|
|
13
|
+
inventoryType?: InventoryItemInventoryType.Raw | null;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
@@ -25,20 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
29
|
exports.InventoryItem = void 0;
|
|
39
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const InventoryItemInventoryType_1 = require("./InventoryItemInventoryType");
|
|
40
32
|
exports.InventoryItem = core.serialization.object({
|
|
41
33
|
id: core.serialization.string().optional(),
|
|
42
34
|
quantity: core.serialization.number().optional(),
|
|
43
|
-
inventoryType:
|
|
35
|
+
inventoryType: InventoryItemInventoryType_1.InventoryItemInventoryType.optional(),
|
|
44
36
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const InventoryItemInventoryType: core.serialization.Schema<serializers.InventoryItemInventoryType.Raw, Webflow.InventoryItemInventoryType>;
|
|
8
8
|
export declare namespace InventoryItemInventoryType {
|
|
@@ -1,13 +1,15 @@
|
|
|
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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { CustomCodeBlock } from "./CustomCodeBlock";
|
|
8
|
+
import { Pagination } from "./Pagination";
|
|
7
9
|
export declare const ListCustomCodeBlocks: core.serialization.ObjectSchema<serializers.ListCustomCodeBlocks.Raw, Webflow.ListCustomCodeBlocks>;
|
|
8
10
|
export declare namespace ListCustomCodeBlocks {
|
|
9
11
|
interface Raw {
|
|
10
|
-
blocks?:
|
|
11
|
-
pagination?:
|
|
12
|
+
blocks?: CustomCodeBlock.Raw[] | null;
|
|
13
|
+
pagination?: Pagination.Raw | null;
|
|
12
14
|
}
|
|
13
15
|
}
|
|
@@ -25,21 +25,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
29
|
exports.ListCustomCodeBlocks = void 0;
|
|
39
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const CustomCodeBlock_1 = require("./CustomCodeBlock");
|
|
32
|
+
const Pagination_1 = require("./Pagination");
|
|
40
33
|
exports.ListCustomCodeBlocks = core.serialization.object({
|
|
41
|
-
blocks: core.serialization
|
|
42
|
-
|
|
43
|
-
.optional(),
|
|
44
|
-
pagination: core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Pagination; })).optional(),
|
|
34
|
+
blocks: core.serialization.list(CustomCodeBlock_1.CustomCodeBlock).optional(),
|
|
35
|
+
pagination: Pagination_1.Pagination.optional(),
|
|
45
36
|
});
|
|
@@ -1,8 +1,8 @@
|
|
|
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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const Locale: core.serialization.ObjectSchema<serializers.Locale.Raw, Webflow.Locale>;
|
|
8
8
|
export declare namespace Locale {
|
|
@@ -1,13 +1,14 @@
|
|
|
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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { Locale } from "./Locale";
|
|
7
8
|
export declare const Locales: core.serialization.ObjectSchema<serializers.Locales.Raw, Webflow.Locales>;
|
|
8
9
|
export declare namespace Locales {
|
|
9
10
|
interface Raw {
|
|
10
|
-
primary?:
|
|
11
|
-
secondary?:
|
|
11
|
+
primary?: Locale.Raw | null;
|
|
12
|
+
secondary?: Locale.Raw[] | null;
|
|
12
13
|
}
|
|
13
14
|
}
|
|
@@ -25,21 +25,11 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
25
25
|
__setModuleDefault(result, mod);
|
|
26
26
|
return result;
|
|
27
27
|
};
|
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
29
|
exports.Locales = void 0;
|
|
39
30
|
const core = __importStar(require("../../core"));
|
|
31
|
+
const Locale_1 = require("./Locale");
|
|
40
32
|
exports.Locales = core.serialization.object({
|
|
41
|
-
primary:
|
|
42
|
-
secondary: core.serialization
|
|
43
|
-
.list(core.serialization.lazyObject(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).Locale; })))
|
|
44
|
-
.optional(),
|
|
33
|
+
primary: Locale_1.Locale.optional(),
|
|
34
|
+
secondary: core.serialization.list(Locale_1.Locale).optional(),
|
|
45
35
|
});
|
|
@@ -1,16 +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 "../../api";
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Webflow from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { Error_ } from "./Error_";
|
|
7
8
|
export declare const MissingScopes: core.serialization.ObjectSchema<serializers.MissingScopes.Raw, Webflow.MissingScopes>;
|
|
8
9
|
export declare namespace MissingScopes {
|
|
9
|
-
|
|
10
|
-
code?: "missing_scopes" | null;
|
|
11
|
-
type?: string | null;
|
|
12
|
-
message?: string | null;
|
|
13
|
-
externalReference?: string | null;
|
|
14
|
-
details?: serializers.ErrorDetailsItem.Raw[] | null;
|
|
15
|
-
}
|
|
10
|
+
type Raw = Error_.Raw;
|
|
16
11
|
}
|
|
@@ -2,47 +2,7 @@
|
|
|
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
|
-
};
|
|
28
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
29
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
30
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
31
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
32
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
33
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
34
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
35
|
-
});
|
|
36
|
-
};
|
|
37
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
38
6
|
exports.MissingScopes = void 0;
|
|
39
|
-
const
|
|
40
|
-
exports.MissingScopes =
|
|
41
|
-
code: core.serialization.stringLiteral("missing_scopes").optional(),
|
|
42
|
-
type: core.serialization.string().optional(),
|
|
43
|
-
message: core.serialization.string().optional(),
|
|
44
|
-
externalReference: core.serialization.string().optional(),
|
|
45
|
-
details: core.serialization
|
|
46
|
-
.list(core.serialization.lazy(() => __awaiter(void 0, void 0, void 0, function* () { return (yield Promise.resolve().then(() => __importStar(require("..")))).ErrorDetailsItem; })))
|
|
47
|
-
.optional(),
|
|
48
|
-
});
|
|
7
|
+
const Error_1 = require("./Error_");
|
|
8
|
+
exports.MissingScopes = Error_1.Error_;
|