webflow-api 3.2.1 → 3.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/BaseClient.d.ts +26 -0
- package/BaseClient.js +3 -0
- package/Client.d.ts +13 -37
- package/Client.js +34 -46
- package/LICENSE +21 -0
- package/README.md +55 -28
- package/api/errors/BadRequestError.d.ts +1 -4
- package/api/errors/BadRequestError.js +1 -3
- package/api/errors/ConflictError.d.ts +1 -4
- package/api/errors/ConflictError.js +1 -3
- package/api/errors/ForbiddenError.d.ts +1 -4
- package/api/errors/ForbiddenError.js +1 -3
- package/api/errors/InternalServerError.d.ts +2 -5
- package/api/errors/InternalServerError.js +1 -3
- package/api/errors/NotFoundError.d.ts +2 -5
- package/api/errors/NotFoundError.js +1 -3
- package/api/errors/TooManyRequestsError.d.ts +2 -5
- package/api/errors/TooManyRequestsError.js +1 -3
- package/api/errors/UnauthorizedError.d.ts +2 -5
- package/api/errors/UnauthorizedError.js +1 -3
- package/api/errors/index.d.ts +4 -4
- package/api/errors/index.js +4 -4
- package/api/index.d.ts +1 -1
- package/api/index.js +1 -1
- package/api/resources/assets/client/Client.d.ts +7 -24
- package/api/resources/assets/client/Client.js +78 -70
- package/api/resources/assets/client/index.d.ts +0 -1
- package/api/resources/assets/client/requests/AssetsCreateFolderRequest.d.ts +0 -3
- package/api/resources/assets/client/requests/AssetsCreateFolderRequest.js +1 -3
- package/api/resources/assets/client/requests/AssetsCreateRequest.d.ts +0 -3
- package/api/resources/assets/client/requests/AssetsCreateRequest.js +1 -3
- package/api/resources/assets/client/requests/AssetsListRequest.d.ts +4 -11
- package/api/resources/assets/client/requests/AssetsListRequest.js +1 -3
- package/api/resources/assets/client/requests/AssetsUpdateRequest.d.ts +0 -3
- package/api/resources/assets/client/requests/AssetsUpdateRequest.js +1 -3
- package/api/resources/assets/client/requests/index.d.ts +4 -4
- package/api/resources/collections/client/Client.d.ts +5 -22
- package/api/resources/collections/client/Client.js +40 -41
- package/api/resources/collections/client/index.d.ts +0 -1
- package/api/resources/collections/client/requests/CollectionsCreateRequest.d.ts +1 -4
- package/api/resources/collections/client/requests/CollectionsCreateRequest.js +1 -3
- package/api/resources/collections/client/requests/index.d.ts +1 -1
- package/api/resources/collections/index.d.ts +1 -1
- package/api/resources/collections/index.js +1 -1
- package/api/resources/collections/resources/fields/client/Client.d.ts +5 -22
- package/api/resources/collections/resources/fields/client/Client.js +33 -35
- package/api/resources/collections/resources/fields/client/index.d.ts +0 -1
- package/api/resources/collections/resources/fields/client/requests/FieldUpdate.d.ts +0 -3
- package/api/resources/collections/resources/fields/client/requests/FieldUpdate.js +1 -3
- package/api/resources/collections/resources/fields/client/requests/index.d.ts +1 -1
- package/api/resources/collections/resources/index.d.ts +2 -2
- package/api/resources/collections/resources/index.js +3 -3
- package/api/resources/collections/resources/items/client/Client.d.ts +195 -54
- package/api/resources/collections/resources/items/client/Client.js +368 -185
- package/api/resources/collections/resources/items/client/index.d.ts +0 -1
- package/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +2 -7
- package/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +1 -3
- package/api/resources/collections/resources/items/client/requests/ItemsCreateItemLiveRequest.d.ts +43 -10
- package/api/resources/collections/resources/items/client/requests/ItemsCreateItemLiveRequest.js +1 -3
- package/api/resources/collections/resources/items/client/requests/ItemsCreateItemRequest.d.ts +43 -10
- package/api/resources/collections/resources/items/client/requests/ItemsCreateItemRequest.js +1 -3
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.d.ts +1 -6
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.js +1 -3
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +1 -6
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.js +1 -3
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +1 -4
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.js +1 -3
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +1 -4
- package/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.js +1 -3
- package/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.d.ts +1 -6
- package/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.js +1 -3
- package/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +1 -6
- package/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.js +1 -3
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +11 -30
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.js +1 -3
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +11 -30
- package/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.js +1 -3
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemLiveRequest.d.ts +37 -8
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemLiveRequest.js +1 -3
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemRequest.d.ts +37 -8
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemRequest.js +1 -3
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.d.ts +32 -21
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.js +1 -3
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.d.ts +16 -13
- package/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.js +1 -3
- package/api/resources/collections/resources/items/client/requests/index.d.ts +15 -15
- package/api/resources/collections/resources/items/index.d.ts +1 -1
- package/api/resources/collections/resources/items/index.js +1 -1
- package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -5
- package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +1 -3
- package/{dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +1 -4
- package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js +3 -0
- package/api/resources/collections/resources/items/types/ItemIDs.d.ts +0 -3
- package/api/resources/collections/resources/items/types/ItemIDs.js +1 -3
- package/api/resources/collections/resources/items/types/ItemIDsWithLocales.d.ts +1 -4
- package/api/resources/collections/resources/items/types/ItemIDsWithLocales.js +1 -3
- package/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestBody.d.ts +1 -4
- package/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestBody.js +1 -3
- package/api/resources/collections/resources/items/types/ItemsCreateItemRequestBody.d.ts +1 -4
- package/api/resources/collections/resources/items/types/ItemsCreateItemRequestBody.js +1 -3
- package/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +0 -3
- package/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +1 -3
- package/api/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.d.ts +0 -3
- package/api/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.js +1 -3
- package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +1 -4
- package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +1 -3
- package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +1 -4
- package/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +1 -3
- package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +1 -4
- package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +1 -3
- package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +1 -4
- package/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +1 -3
- package/api/resources/collections/resources/items/types/ItemsPublishItemRequest.d.ts +1 -4
- package/api/resources/collections/resources/items/types/ItemsPublishItemRequest.js +1 -3
- package/api/resources/collections/resources/items/types/ItemsPublishItemRequestItemsItemsItem.d.ts +0 -3
- package/api/resources/collections/resources/items/types/ItemsPublishItemRequestItemsItemsItem.js +1 -3
- package/api/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -3
- package/api/resources/collections/resources/items/types/ItemsPublishItemResponse.js +1 -3
- package/api/resources/collections/resources/items/types/ItemsUpdateItemsResponse.d.ts +1 -4
- package/api/resources/collections/resources/items/types/ItemsUpdateItemsResponse.js +1 -3
- package/api/resources/collections/resources/items/types/MultipleItems.d.ts +1 -4
- package/api/resources/collections/resources/items/types/MultipleItems.js +1 -3
- package/api/resources/collections/resources/items/types/MultipleLiveItems.d.ts +1 -4
- package/api/resources/collections/resources/items/types/MultipleLiveItems.js +1 -3
- package/api/resources/collections/resources/items/types/SingleCmsItem.d.ts +0 -3
- package/api/resources/collections/resources/items/types/SingleCmsItem.js +1 -3
- package/api/resources/collections/resources/items/types/index.d.ts +13 -13
- package/api/resources/collections/resources/items/types/index.js +13 -13
- package/api/resources/components/client/Client.d.ts +11 -28
- package/api/resources/components/client/Client.js +70 -73
- package/api/resources/components/client/index.d.ts +0 -1
- package/api/resources/components/client/requests/ComponentDomWrite.d.ts +2 -7
- package/api/resources/components/client/requests/ComponentDomWrite.js +1 -3
- package/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +2 -7
- package/api/resources/components/client/requests/ComponentPropertiesWrite.js +1 -3
- package/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +5 -14
- package/api/resources/components/client/requests/ComponentsGetContentRequest.js +1 -3
- package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +5 -14
- package/api/resources/components/client/requests/ComponentsGetPropertiesRequest.js +1 -3
- package/api/resources/components/client/requests/ComponentsListRequest.d.ts +5 -14
- package/api/resources/components/client/requests/ComponentsListRequest.js +1 -3
- package/api/resources/components/client/requests/index.d.ts +5 -5
- package/api/resources/components/index.d.ts +1 -1
- package/api/resources/components/index.js +1 -1
- package/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +1 -4
- package/api/resources/components/types/ComponentDomWriteNodesItem.js +1 -3
- package/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +0 -3
- package/api/resources/components/types/ComponentPropertiesWritePropertiesItem.js +1 -3
- package/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +0 -3
- package/api/resources/components/types/ComponentsUpdateContentResponse.js +1 -3
- package/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +0 -3
- package/api/resources/components/types/ComponentsUpdatePropertiesResponse.js +1 -3
- package/api/resources/components/types/index.d.ts +1 -1
- package/api/resources/components/types/index.js +1 -1
- package/api/resources/ecommerce/client/Client.d.ts +5 -22
- package/api/resources/ecommerce/client/Client.js +15 -23
- package/api/resources/forms/client/Client.d.ts +9 -53
- package/api/resources/forms/client/Client.js +64 -190
- package/api/resources/forms/client/index.d.ts +0 -1
- package/api/resources/forms/client/requests/FormsListRequest.d.ts +4 -11
- package/api/resources/forms/client/requests/FormsListRequest.js +1 -3
- package/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +4 -11
- package/api/resources/forms/client/requests/FormsListSubmissionsRequest.js +1 -3
- package/api/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +0 -3
- package/api/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +1 -3
- package/api/resources/forms/client/requests/index.d.ts +3 -4
- package/api/resources/index.d.ts +24 -30
- package/api/resources/index.js +25 -31
- package/api/resources/inventory/client/Client.d.ts +5 -22
- package/api/resources/inventory/client/Client.js +24 -29
- package/api/resources/inventory/client/index.d.ts +0 -1
- package/api/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +1 -4
- package/api/resources/inventory/client/requests/InventoryUpdateRequest.js +1 -3
- package/api/resources/inventory/client/requests/index.d.ts +1 -1
- package/api/resources/inventory/index.d.ts +1 -1
- package/api/resources/inventory/index.js +1 -1
- package/api/resources/inventory/types/EcommInventoryChangedPayload.d.ts +1 -4
- package/api/resources/inventory/types/EcommInventoryChangedPayload.js +1 -3
- package/api/resources/inventory/types/InventoryUpdateRequestInventoryType.d.ts +2 -7
- package/api/resources/inventory/types/InventoryUpdateRequestInventoryType.js +2 -3
- package/api/resources/inventory/types/index.d.ts +1 -1
- package/api/resources/inventory/types/index.js +1 -1
- package/api/resources/orders/client/Client.d.ts +7 -24
- package/api/resources/orders/client/Client.js +64 -59
- package/api/resources/orders/client/index.d.ts +0 -1
- package/api/resources/orders/client/requests/OrdersListRequest.d.ts +6 -15
- package/api/resources/orders/client/requests/OrdersListRequest.js +1 -3
- package/api/resources/orders/client/requests/OrdersRefundRequest.d.ts +1 -4
- package/api/resources/orders/client/requests/OrdersRefundRequest.js +1 -3
- package/api/resources/orders/client/requests/OrdersUpdateFulfillRequest.d.ts +0 -3
- package/api/resources/orders/client/requests/OrdersUpdateFulfillRequest.js +1 -3
- package/api/resources/orders/client/requests/OrdersUpdateRequest.d.ts +0 -3
- package/api/resources/orders/client/requests/OrdersUpdateRequest.js +1 -3
- package/api/resources/orders/client/requests/index.d.ts +4 -4
- package/api/resources/orders/index.d.ts +1 -1
- package/api/resources/orders/index.js +1 -1
- package/api/resources/orders/types/OrdersListRequestStatus.d.ts +1 -4
- package/api/resources/orders/types/OrdersListRequestStatus.js +1 -3
- package/api/resources/orders/types/OrdersRefundRequestReason.d.ts +2 -7
- package/api/resources/orders/types/OrdersRefundRequestReason.js +2 -3
- package/api/resources/pages/client/Client.d.ts +9 -26
- package/api/resources/pages/client/Client.js +62 -65
- package/api/resources/pages/client/index.d.ts +0 -1
- package/api/resources/pages/client/requests/PageDomWrite.d.ts +2 -7
- package/api/resources/pages/client/requests/PageDomWrite.js +1 -3
- package/api/resources/pages/client/requests/PageMetadataWrite.d.ts +1 -4
- package/api/resources/pages/client/requests/PageMetadataWrite.js +1 -3
- package/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +4 -11
- package/api/resources/pages/client/requests/PagesGetContentRequest.js +1 -3
- package/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +0 -3
- package/api/resources/pages/client/requests/PagesGetMetadataRequest.js +1 -3
- package/api/resources/pages/client/requests/PagesListRequest.d.ts +4 -11
- package/api/resources/pages/client/requests/PagesListRequest.js +1 -3
- package/api/resources/pages/client/requests/index.d.ts +5 -5
- package/api/resources/pages/index.d.ts +1 -1
- package/api/resources/pages/index.js +1 -1
- package/api/resources/pages/resources/scripts/client/Client.d.ts +5 -22
- package/api/resources/pages/resources/scripts/client/Client.js +32 -35
- package/api/resources/pages/types/PageDomWriteNodesItem.d.ts +1 -4
- package/api/resources/pages/types/PageDomWriteNodesItem.js +1 -3
- package/api/resources/pages/types/PageMetadataWriteOpenGraph.d.ts +0 -3
- package/api/resources/pages/types/PageMetadataWriteOpenGraph.js +1 -3
- package/api/resources/pages/types/PageMetadataWriteSeo.d.ts +0 -3
- package/api/resources/pages/types/PageMetadataWriteSeo.js +1 -3
- package/api/resources/pages/types/UpdateStaticContentResponse.d.ts +0 -3
- package/api/resources/pages/types/UpdateStaticContentResponse.js +1 -3
- package/api/resources/pages/types/index.d.ts +2 -2
- package/api/resources/pages/types/index.js +2 -2
- package/api/resources/products/client/Client.d.ts +7 -24
- package/api/resources/products/client/Client.js +63 -58
- package/api/resources/products/client/index.d.ts +0 -1
- package/api/resources/products/client/requests/ProductSkuCreate.d.ts +1 -4
- package/api/resources/products/client/requests/ProductSkuCreate.js +1 -3
- package/api/resources/products/client/requests/ProductSkuUpdate.d.ts +1 -4
- package/api/resources/products/client/requests/ProductSkuUpdate.js +1 -3
- package/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +1 -4
- package/api/resources/products/client/requests/ProductsCreateSkuRequest.js +1 -3
- package/api/resources/products/client/requests/ProductsListRequest.d.ts +4 -11
- package/api/resources/products/client/requests/ProductsListRequest.js +1 -3
- package/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +1 -4
- package/api/resources/products/client/requests/ProductsUpdateSkuRequest.js +1 -3
- package/api/resources/products/client/requests/index.d.ts +5 -5
- package/api/resources/products/index.d.ts +1 -1
- package/api/resources/products/index.js +1 -1
- package/api/resources/products/types/ProductSkuCreateProduct.d.ts +1 -4
- package/api/resources/products/types/ProductSkuCreateProduct.js +1 -3
- package/api/resources/products/types/ProductSkuCreateSku.d.ts +1 -4
- package/api/resources/products/types/ProductSkuCreateSku.js +1 -3
- package/api/resources/products/types/ProductsCreateSkuResponse.d.ts +1 -4
- package/api/resources/products/types/ProductsCreateSkuResponse.js +1 -3
- package/api/resources/scripts/client/Client.d.ts +5 -22
- package/api/resources/scripts/client/Client.js +33 -35
- package/api/resources/scripts/client/index.d.ts +0 -1
- package/api/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +0 -3
- package/api/resources/scripts/client/requests/CustomCodeHostedRequest.js +1 -3
- package/api/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +0 -3
- package/api/resources/scripts/client/requests/CustomCodeInlineRequest.js +1 -3
- package/api/resources/scripts/client/requests/index.d.ts +2 -2
- package/api/resources/sites/client/Client.d.ts +12 -26
- package/api/resources/sites/client/Client.js +82 -70
- package/api/resources/sites/client/index.d.ts +0 -1
- package/api/resources/sites/client/requests/SitesCreateRequest.d.ts +0 -3
- package/api/resources/sites/client/requests/SitesCreateRequest.js +1 -3
- package/api/resources/sites/client/requests/SitesPublishRequest.d.ts +0 -3
- package/api/resources/sites/client/requests/SitesPublishRequest.js +1 -3
- package/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +0 -3
- package/api/resources/sites/client/requests/SitesUpdateRequest.js +1 -3
- package/api/resources/sites/client/requests/index.d.ts +3 -3
- package/api/resources/sites/index.d.ts +2 -2
- package/api/resources/sites/index.js +2 -2
- package/api/resources/sites/resources/activityLogs/client/Client.d.ts +7 -24
- package/api/resources/sites/resources/activityLogs/client/Client.js +19 -28
- package/api/resources/sites/resources/activityLogs/client/index.d.ts +0 -1
- package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +4 -11
- package/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.js +1 -3
- package/api/resources/sites/resources/activityLogs/client/requests/index.d.ts +1 -1
- package/api/resources/sites/resources/comments/client/Client.d.ts +11 -28
- package/api/resources/sites/resources/comments/client/Client.js +58 -59
- package/api/resources/sites/resources/comments/client/index.d.ts +0 -1
- package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +7 -18
- package/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.js +1 -3
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +7 -18
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.js +1 -3
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +7 -18
- package/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.js +1 -3
- package/api/resources/sites/resources/comments/client/requests/index.d.ts +3 -3
- package/api/resources/sites/resources/comments/index.d.ts +1 -1
- package/api/resources/sites/resources/comments/index.js +1 -1
- package/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.d.ts +1 -4
- package/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.js +1 -3
- package/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.d.ts +1 -4
- package/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.js +1 -3
- package/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.d.ts +1 -4
- package/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.js +1 -3
- package/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.d.ts +1 -4
- package/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.js +1 -3
- package/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.d.ts +1 -4
- package/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.js +1 -3
- package/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.d.ts +1 -4
- package/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.js +1 -3
- package/api/resources/sites/resources/comments/types/index.d.ts +2 -2
- package/api/resources/sites/resources/comments/types/index.js +2 -2
- package/api/resources/sites/resources/forms/client/Client.d.ts +140 -0
- package/api/resources/{users → sites/resources/forms}/client/Client.js +153 -159
- package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +16 -0
- package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js +3 -0
- package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +13 -0
- package/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.js +3 -0
- package/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +8 -0
- package/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +3 -0
- package/api/resources/sites/resources/forms/client/requests/index.d.ts +3 -0
- package/api/resources/{users → sites/resources/forms}/index.d.ts +0 -1
- package/{dist/api/resources/accessGroups → api/resources/sites/resources/forms}/index.js +0 -1
- package/api/resources/sites/resources/index.d.ts +9 -7
- package/api/resources/sites/resources/index.js +10 -8
- package/api/resources/sites/resources/plans/client/Client.d.ts +5 -22
- package/api/resources/sites/resources/plans/client/Client.js +15 -23
- package/api/resources/sites/resources/redirects/client/Client.d.ts +7 -24
- package/api/resources/sites/resources/redirects/client/Client.js +43 -43
- package/api/resources/sites/resources/robotsTxt/client/Client.d.ts +5 -22
- package/api/resources/sites/resources/robotsTxt/client/Client.js +42 -41
- package/api/resources/sites/resources/scripts/client/Client.d.ts +7 -24
- package/api/resources/sites/resources/scripts/client/Client.js +44 -46
- package/api/resources/sites/resources/scripts/client/index.d.ts +0 -1
- package/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +4 -11
- package/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.js +1 -3
- package/api/resources/sites/resources/scripts/client/requests/index.d.ts +1 -1
- package/api/resources/sites/resources/wellKnown/client/Client.d.ts +5 -22
- package/api/resources/sites/resources/wellKnown/client/Client.js +25 -29
- package/api/resources/sites/resources/wellKnown/client/index.d.ts +0 -1
- package/api/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.d.ts +0 -3
- package/api/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.js +1 -3
- package/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +1 -4
- package/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.js +1 -3
- package/api/resources/sites/resources/wellKnown/client/requests/index.d.ts +2 -2
- package/api/resources/sites/resources/wellKnown/index.d.ts +1 -1
- package/api/resources/sites/resources/wellKnown/index.js +1 -1
- package/api/resources/sites/resources/wellKnown/types/WellKnownFileContentType.d.ts +2 -7
- package/api/resources/sites/resources/wellKnown/types/WellKnownFileContentType.js +2 -3
- package/api/resources/sites/types/SitesPublishResponse.d.ts +1 -4
- package/api/resources/sites/types/SitesPublishResponse.js +1 -3
- package/api/resources/token/client/Client.d.ts +5 -22
- package/api/resources/token/client/Client.js +21 -27
- package/api/resources/webhooks/client/Client.d.ts +5 -22
- package/api/resources/webhooks/client/Client.js +40 -41
- package/api/resources/workspaces/client/Client.d.ts +3 -13
- package/api/resources/workspaces/client/Client.js +2 -4
- package/api/resources/workspaces/index.d.ts +1 -1
- package/api/resources/workspaces/index.js +1 -1
- package/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +7 -24
- package/api/resources/workspaces/resources/auditLogs/client/Client.js +33 -42
- package/api/resources/workspaces/resources/auditLogs/client/index.d.ts +0 -1
- package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +9 -24
- package/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.js +1 -3
- package/api/resources/workspaces/resources/auditLogs/client/requests/index.d.ts +1 -1
- package/api/resources/workspaces/resources/auditLogs/index.d.ts +1 -1
- package/api/resources/workspaces/resources/auditLogs/index.js +1 -1
- package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +2 -4
- package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +2 -3
- package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.d.ts +1 -4
- package/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.js +1 -3
- package/api/resources/workspaces/resources/auditLogs/types/index.d.ts +1 -1
- package/api/resources/workspaces/resources/auditLogs/types/index.js +1 -1
- package/api/resources/workspaces/resources/index.d.ts +1 -1
- package/api/resources/workspaces/resources/index.js +1 -1
- package/api/types/Application.d.ts +0 -3
- package/api/types/Application.js +1 -3
- package/api/types/Asset.d.ts +1 -4
- package/api/types/Asset.js +1 -3
- package/api/types/AssetFolder.d.ts +0 -3
- package/api/types/AssetFolder.js +1 -3
- package/api/types/AssetFolderList.d.ts +1 -4
- package/api/types/AssetFolderList.js +1 -3
- package/api/types/AssetUpload.d.ts +1 -4
- package/api/types/AssetUpload.js +1 -3
- package/api/types/AssetUploadUploadDetails.d.ts +0 -3
- package/api/types/AssetUploadUploadDetails.js +1 -3
- package/api/types/AssetVariant.d.ts +0 -3
- package/api/types/AssetVariant.js +1 -3
- package/api/types/Assets.d.ts +1 -4
- package/api/types/Assets.js +1 -3
- package/api/types/Authorization.d.ts +1 -4
- package/api/types/Authorization.js +1 -3
- package/api/types/AuthorizationAuthorization.d.ts +1 -4
- package/api/types/AuthorizationAuthorization.js +1 -3
- package/api/types/AuthorizationAuthorizationAuthorizedTo.d.ts +0 -3
- package/api/types/AuthorizationAuthorizationAuthorizedTo.js +1 -3
- package/api/types/AuthorizedUser.d.ts +0 -3
- package/api/types/AuthorizedUser.js +1 -3
- package/api/types/BadRequestErrorBody.d.ts +1 -4
- package/api/types/BadRequestErrorBody.js +1 -3
- package/api/types/BulkCollectionItem.d.ts +1 -4
- package/api/types/BulkCollectionItem.js +1 -3
- package/api/types/BulkCollectionItemFieldData.d.ts +0 -3
- package/api/types/BulkCollectionItemFieldData.js +1 -3
- package/api/types/Collection.d.ts +1 -4
- package/api/types/Collection.js +1 -3
- package/api/types/CollectionItem.d.ts +1 -4
- package/api/types/CollectionItem.js +1 -3
- package/api/types/CollectionItemChanged.d.ts +1 -4
- package/api/types/CollectionItemChanged.js +1 -3
- package/api/types/CollectionItemCreated.d.ts +1 -4
- package/api/types/CollectionItemCreated.js +1 -3
- package/api/types/CollectionItemFieldData.d.ts +0 -3
- package/api/types/CollectionItemFieldData.js +1 -3
- package/api/types/CollectionItemList.d.ts +1 -4
- package/api/types/CollectionItemList.js +1 -3
- package/api/types/CollectionItemListNoPagination.d.ts +1 -4
- package/api/types/CollectionItemListNoPagination.js +1 -3
- package/api/types/CollectionItemListPagination.d.ts +0 -3
- package/api/types/CollectionItemListPagination.js +1 -3
- package/api/types/CollectionItemPatchSingle.d.ts +1 -4
- package/api/types/CollectionItemPatchSingle.js +1 -3
- package/api/types/CollectionItemPatchSingleFieldData.d.ts +0 -3
- package/api/types/CollectionItemPatchSingleFieldData.js +1 -3
- package/api/types/CollectionItemPostSingle.d.ts +1 -4
- package/api/types/CollectionItemPostSingle.js +1 -3
- package/api/types/CollectionItemPostSingleFieldData.d.ts +0 -3
- package/api/types/CollectionItemPostSingleFieldData.js +1 -3
- package/api/types/CollectionItemPublished.d.ts +1 -4
- package/api/types/CollectionItemPublished.js +1 -3
- package/api/types/CollectionItemRemoved.d.ts +1 -4
- package/api/types/CollectionItemRemoved.js +1 -3
- package/api/types/CollectionItemRemovedPayload.d.ts +1 -4
- package/api/types/CollectionItemRemovedPayload.js +1 -3
- package/api/types/CollectionItemRemovedPayloadFieldData.d.ts +0 -3
- package/api/types/CollectionItemRemovedPayloadFieldData.js +1 -3
- package/api/types/CollectionItemUnpublished.d.ts +1 -4
- package/api/types/CollectionItemUnpublished.js +1 -3
- package/api/types/CollectionItemUnpublishedPayload.d.ts +1 -4
- package/api/types/CollectionItemUnpublishedPayload.js +1 -3
- package/api/types/CollectionItemUnpublishedPayloadFieldData.d.ts +0 -3
- package/api/types/CollectionItemUnpublishedPayloadFieldData.js +1 -3
- package/api/types/CollectionItemWithIdInput.d.ts +1 -4
- package/api/types/CollectionItemWithIdInput.js +1 -3
- package/api/types/CollectionItemWithIdInputFieldData.d.ts +0 -3
- package/api/types/CollectionItemWithIdInputFieldData.js +1 -3
- package/api/types/CollectionList.d.ts +1 -4
- package/api/types/CollectionList.js +1 -3
- package/api/types/CollectionListArrayItem.d.ts +0 -3
- package/api/types/CollectionListArrayItem.js +1 -3
- package/api/types/Comment.d.ts +1 -4
- package/api/types/Comment.js +1 -3
- package/api/types/CommentPayload.d.ts +1 -4
- package/api/types/CommentPayload.js +1 -3
- package/api/types/CommentPayloadAuthor.d.ts +0 -3
- package/api/types/CommentPayloadAuthor.js +1 -3
- package/api/types/CommentPayloadMentionedUsersItem.d.ts +0 -3
- package/api/types/CommentPayloadMentionedUsersItem.js +1 -3
- package/api/types/CommentReply.d.ts +1 -4
- package/api/types/CommentReply.js +1 -3
- package/api/types/CommentReplyAuthor.d.ts +0 -3
- package/api/types/CommentReplyAuthor.js +1 -3
- package/api/types/CommentReplyList.d.ts +1 -4
- package/api/types/CommentReplyList.js +1 -3
- package/api/types/CommentReplyListPagination.d.ts +0 -3
- package/api/types/CommentReplyListPagination.js +1 -3
- package/api/types/CommentReplyMentionedUsersItem.d.ts +0 -3
- package/api/types/CommentReplyMentionedUsersItem.js +1 -3
- package/api/types/CommentThread.d.ts +1 -4
- package/api/types/CommentThread.js +1 -3
- package/api/types/CommentThreadAuthor.d.ts +0 -3
- package/api/types/CommentThreadAuthor.js +1 -3
- package/api/types/CommentThreadList.d.ts +1 -4
- package/api/types/CommentThreadList.js +1 -3
- package/api/types/CommentThreadListPagination.d.ts +0 -3
- package/api/types/CommentThreadListPagination.js +1 -3
- package/api/types/CommentThreadMentionedUsersItem.d.ts +0 -3
- package/api/types/CommentThreadMentionedUsersItem.js +1 -3
- package/api/types/Component.d.ts +0 -3
- package/api/types/Component.js +1 -3
- package/api/types/ComponentDom.d.ts +2 -5
- package/api/types/ComponentDom.js +1 -3
- package/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +1 -4
- package/api/types/ComponentInstanceNodePropertyOverridesWrite.js +1 -3
- package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +0 -3
- package/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +1 -3
- package/api/types/ComponentList.d.ts +1 -4
- package/api/types/ComponentList.js +1 -3
- package/api/types/ComponentNode.d.ts +1 -4
- package/api/types/ComponentNode.js +1 -3
- package/api/types/ComponentProperties.d.ts +1 -4
- package/api/types/ComponentProperties.js +1 -3
- package/api/types/ComponentProperty.d.ts +1 -4
- package/api/types/ComponentProperty.js +1 -3
- package/api/types/ComponentPropertyType.d.ts +2 -7
- package/api/types/ComponentPropertyType.js +2 -3
- package/api/types/Conflict.d.ts +0 -3
- package/api/types/Conflict.js +1 -3
- package/api/types/CustomCodeBlock.d.ts +1 -4
- package/api/types/CustomCodeBlock.js +1 -3
- package/api/types/CustomCodeBlockType.d.ts +2 -7
- package/api/types/CustomCodeBlockType.js +2 -3
- package/api/types/CustomCodeHostedResponse.d.ts +0 -3
- package/api/types/CustomCodeHostedResponse.js +1 -3
- package/api/types/CustomCodeInlineResponse.d.ts +0 -3
- package/api/types/CustomCodeInlineResponse.js +1 -3
- package/api/types/CustomRole.d.ts +0 -3
- package/api/types/CustomRole.js +1 -3
- package/api/types/CustomRoleAuditLogItem.d.ts +1 -4
- package/api/types/CustomRoleAuditLogItem.js +1 -3
- package/api/types/CustomRoleAuditLogItemEventSubType.d.ts +1 -4
- package/api/types/CustomRoleAuditLogItemEventSubType.js +1 -3
- package/api/types/Dom.d.ts +1 -4
- package/api/types/Dom.js +1 -3
- package/api/types/Domain.d.ts +0 -3
- package/api/types/Domain.js +1 -3
- package/api/types/Domains.d.ts +1 -4
- package/api/types/Domains.js +1 -3
- package/api/types/EcommerceSettings.d.ts +0 -3
- package/api/types/EcommerceSettings.js +1 -3
- package/api/types/ErrorCode.d.ts +2 -7
- package/api/types/ErrorCode.js +2 -3
- package/api/types/Error_.d.ts +1 -4
- package/api/types/Error_.js +1 -3
- package/api/types/Field.d.ts +1 -4
- package/api/types/Field.js +1 -3
- package/api/types/FieldCreate.d.ts +1 -4
- package/api/types/FieldCreate.js +1 -3
- package/api/types/FieldType.d.ts +2 -7
- package/api/types/FieldType.js +2 -3
- package/api/types/FieldValidations.d.ts +1 -4
- package/api/types/FieldValidations.js +1 -3
- package/api/types/FieldValidationsAdditionalProperties.d.ts +1 -4
- package/api/types/FieldValidationsAdditionalProperties.js +1 -3
- package/api/types/FieldValidationsAdditionalPropertiesAdditionalProperties.d.ts +0 -3
- package/api/types/FieldValidationsAdditionalPropertiesAdditionalProperties.js +1 -3
- package/api/types/ForbiddenErrorBody.d.ts +2 -5
- package/api/types/ForbiddenErrorBody.js +1 -3
- package/api/types/Form.d.ts +1 -4
- package/api/types/Form.js +1 -3
- package/api/types/FormField.d.ts +1 -4
- package/api/types/FormField.js +1 -3
- package/api/types/FormFieldValue.d.ts +1 -4
- package/api/types/FormFieldValue.js +1 -3
- package/api/types/FormFieldValueType.d.ts +2 -7
- package/api/types/FormFieldValueType.js +2 -3
- package/api/types/FormList.d.ts +1 -4
- package/api/types/FormList.js +1 -3
- package/api/types/FormResponseSettings.d.ts +0 -3
- package/api/types/FormResponseSettings.js +1 -3
- package/api/types/FormSubmission.d.ts +0 -3
- package/api/types/FormSubmission.js +1 -3
- package/api/types/FormSubmissionList.d.ts +1 -4
- package/api/types/FormSubmissionList.js +1 -3
- package/api/types/FormSubmissionTrigger.d.ts +1 -4
- package/api/types/FormSubmissionTrigger.js +1 -3
- package/api/types/FormSubmissionTriggerPayload.d.ts +1 -4
- package/api/types/FormSubmissionTriggerPayload.js +1 -3
- package/api/types/FormSubmissionTriggerPayloadSchemaItem.d.ts +1 -4
- package/api/types/FormSubmissionTriggerPayloadSchemaItem.js +1 -3
- package/api/types/FormSubmissionTriggerPayloadSchemaItemFieldType.d.ts +2 -7
- package/api/types/FormSubmissionTriggerPayloadSchemaItemFieldType.js +2 -3
- package/api/types/ImageNode.d.ts +1 -4
- package/api/types/ImageNode.js +1 -3
- package/api/types/ImageNodeImage.d.ts +0 -3
- package/api/types/ImageNodeImage.js +1 -3
- package/api/types/InvalidDomain.d.ts +0 -3
- package/api/types/InvalidDomain.js +1 -3
- package/api/types/InvalidScopes.d.ts +0 -3
- package/api/types/InvalidScopes.js +1 -3
- package/api/types/InventoryItem.d.ts +1 -4
- package/api/types/InventoryItem.js +1 -3
- package/api/types/InventoryItemInventoryType.d.ts +2 -7
- package/api/types/InventoryItemInventoryType.js +2 -3
- package/api/types/ItemsListItemsLiveRequestLastPublished.d.ts +0 -3
- package/api/types/ItemsListItemsLiveRequestLastPublished.js +1 -3
- package/api/types/ItemsListItemsRequestLastPublished.d.ts +0 -3
- package/api/types/ItemsListItemsRequestLastPublished.js +1 -3
- package/api/types/ListCustomCodeBlocks.d.ts +1 -4
- package/api/types/ListCustomCodeBlocks.js +1 -3
- package/api/types/Locale.d.ts +0 -3
- package/api/types/Locale.js +1 -3
- package/api/types/Locales.d.ts +1 -4
- package/api/types/Locales.js +1 -3
- package/api/types/Metadata.d.ts +1 -4
- package/api/types/Metadata.js +1 -3
- package/api/types/MetadataOptionsItem.d.ts +0 -3
- package/api/types/MetadataOptionsItem.js +1 -3
- package/api/types/NewOrder.d.ts +1 -4
- package/api/types/NewOrder.js +1 -3
- package/api/types/NoDomains.d.ts +0 -3
- package/api/types/NoDomains.js +1 -3
- package/api/types/Node.d.ts +1 -4
- package/api/types/Node.js +1 -3
- package/api/types/NotEnterprisePlanSite.d.ts +0 -3
- package/api/types/NotEnterprisePlanSite.js +1 -3
- package/api/types/NotEnterprisePlanWorkspace.d.ts +0 -3
- package/api/types/NotEnterprisePlanWorkspace.js +1 -3
- package/api/types/OptionField.d.ts +1 -4
- package/api/types/OptionField.js +1 -3
- package/api/types/Order.d.ts +1 -4
- package/api/types/Order.js +1 -3
- package/api/types/OrderAddress.d.ts +1 -4
- package/api/types/OrderAddress.js +1 -3
- package/api/types/OrderAddressJapanType.d.ts +2 -7
- package/api/types/OrderAddressJapanType.js +2 -3
- package/api/types/OrderAddressType.d.ts +2 -7
- package/api/types/OrderAddressType.js +2 -3
- package/api/types/OrderBillingAddress.d.ts +1 -4
- package/api/types/OrderBillingAddress.js +1 -3
- package/api/types/OrderBillingAddressJapanType.d.ts +2 -7
- package/api/types/OrderBillingAddressJapanType.js +2 -3
- package/api/types/OrderBillingAddressType.d.ts +2 -7
- package/api/types/OrderBillingAddressType.js +2 -3
- package/api/types/OrderCustomerInfo.d.ts +0 -3
- package/api/types/OrderCustomerInfo.js +1 -3
- package/api/types/OrderDisputeLastStatus.d.ts +2 -7
- package/api/types/OrderDisputeLastStatus.js +2 -3
- package/api/types/OrderDownloadFilesItem.d.ts +0 -3
- package/api/types/OrderDownloadFilesItem.js +1 -3
- package/api/types/OrderList.d.ts +1 -4
- package/api/types/OrderList.js +1 -3
- package/api/types/OrderMetadata.d.ts +0 -3
- package/api/types/OrderMetadata.js +1 -3
- package/api/types/OrderPrice.d.ts +0 -3
- package/api/types/OrderPrice.js +1 -3
- package/api/types/OrderPurchasedItem.d.ts +1 -4
- package/api/types/OrderPurchasedItem.js +1 -3
- package/api/types/OrderPurchasedItemVariantImage.d.ts +1 -4
- package/api/types/OrderPurchasedItemVariantImage.js +1 -3
- package/api/types/OrderPurchasedItemVariantImageFile.d.ts +1 -4
- package/api/types/OrderPurchasedItemVariantImageFile.js +1 -3
- package/api/types/OrderPurchasedItemVariantImageFileVariantsItem.d.ts +0 -3
- package/api/types/OrderPurchasedItemVariantImageFileVariantsItem.js +1 -3
- package/api/types/OrderShippingAddress.d.ts +1 -4
- package/api/types/OrderShippingAddress.js +1 -3
- package/api/types/OrderShippingAddressJapanType.d.ts +2 -7
- package/api/types/OrderShippingAddressJapanType.js +2 -3
- package/api/types/OrderShippingAddressType.d.ts +2 -7
- package/api/types/OrderShippingAddressType.js +2 -3
- package/api/types/OrderStatus.d.ts +2 -7
- package/api/types/OrderStatus.js +2 -3
- package/api/types/OrderTotals.d.ts +1 -4
- package/api/types/OrderTotals.js +1 -3
- package/api/types/OrderTotalsExtrasItem.d.ts +1 -4
- package/api/types/OrderTotalsExtrasItem.js +1 -3
- package/api/types/OrderTotalsExtrasItemType.d.ts +2 -7
- package/api/types/OrderTotalsExtrasItemType.js +2 -3
- package/api/types/Page.d.ts +1 -4
- package/api/types/Page.js +1 -3
- package/api/types/PageCreatedWebhook.d.ts +1 -4
- package/api/types/PageCreatedWebhook.js +1 -3
- package/api/types/PageCreatedWebhookPayload.d.ts +0 -3
- package/api/types/PageCreatedWebhookPayload.js +1 -3
- package/api/types/PageDeletedWebhook.d.ts +1 -4
- package/api/types/PageDeletedWebhook.js +1 -3
- package/api/types/PageDeletedWebhookPayload.d.ts +0 -3
- package/api/types/PageDeletedWebhookPayload.js +1 -3
- package/api/types/PageList.d.ts +1 -4
- package/api/types/PageList.js +1 -3
- package/api/types/PageMetadataUpdatedWebhook.d.ts +1 -4
- package/api/types/PageMetadataUpdatedWebhook.js +1 -3
- package/api/types/PageMetadataUpdatedWebhookPayload.d.ts +0 -3
- package/api/types/PageMetadataUpdatedWebhookPayload.js +1 -3
- package/api/types/PageOpenGraph.d.ts +0 -3
- package/api/types/PageOpenGraph.js +1 -3
- package/api/types/PageSeo.d.ts +0 -3
- package/api/types/PageSeo.js +1 -3
- package/api/types/Pagination.d.ts +0 -3
- package/api/types/Pagination.js +1 -3
- package/api/types/Payload.d.ts +1 -4
- package/api/types/Payload.js +1 -3
- package/api/types/PayloadFieldData.d.ts +0 -3
- package/api/types/PayloadFieldData.js +1 -3
- package/api/types/PaypalDetails.d.ts +0 -3
- package/api/types/PaypalDetails.js +1 -3
- package/api/types/Product.d.ts +1 -4
- package/api/types/Product.js +1 -3
- package/api/types/ProductAndSkUs.d.ts +1 -4
- package/api/types/ProductAndSkUs.js +1 -3
- package/api/types/ProductAndSkUsList.d.ts +1 -4
- package/api/types/ProductAndSkUsList.js +1 -3
- package/api/types/ProductFieldData.d.ts +2 -5
- package/api/types/ProductFieldData.js +1 -3
- package/api/types/ProductFieldDataEcProductType.d.ts +2 -7
- package/api/types/ProductFieldDataEcProductType.js +2 -3
- package/api/types/ProductFieldDataTaxCategory.d.ts +2 -7
- package/api/types/ProductFieldDataTaxCategory.js +2 -3
- package/api/types/PublishStatus.d.ts +2 -7
- package/api/types/PublishStatus.js +2 -3
- package/api/types/Redirect.d.ts +0 -3
- package/api/types/Redirect.js +1 -3
- package/api/types/Redirects.d.ts +1 -4
- package/api/types/Redirects.js +1 -3
- package/api/types/ReferenceField.d.ts +1 -4
- package/api/types/ReferenceField.js +1 -3
- package/api/types/ReferenceFieldMetadata.d.ts +0 -3
- package/api/types/ReferenceFieldMetadata.js +1 -3
- package/api/types/ReferenceFieldType.d.ts +2 -7
- package/api/types/ReferenceFieldType.js +2 -3
- package/api/types/RegisteredScriptList.d.ts +1 -4
- package/api/types/RegisteredScriptList.js +1 -3
- package/api/types/Robots.d.ts +1 -4
- package/api/types/Robots.js +1 -3
- package/api/types/RobotsRulesItem.d.ts +0 -3
- package/api/types/RobotsRulesItem.js +1 -3
- package/api/types/ScriptApply.d.ts +1 -4
- package/api/types/ScriptApply.js +1 -3
- package/api/types/ScriptApplyList.d.ts +1 -4
- package/api/types/ScriptApplyList.js +1 -3
- package/api/types/ScriptApplyLocation.d.ts +2 -7
- package/api/types/ScriptApplyLocation.js +2 -3
- package/api/types/Scripts.d.ts +1 -4
- package/api/types/Scripts.js +1 -3
- package/api/types/SearchButtonNode.d.ts +0 -3
- package/api/types/SearchButtonNode.js +1 -3
- package/api/types/SearchButtonNodeWrite.d.ts +0 -3
- package/api/types/SearchButtonNodeWrite.js +1 -3
- package/api/types/Select.d.ts +1 -4
- package/api/types/Select.js +1 -3
- package/api/types/SelectNode.d.ts +1 -4
- package/api/types/SelectNode.js +1 -3
- package/api/types/SelectNodeChoicesItem.d.ts +0 -3
- package/api/types/SelectNodeChoicesItem.js +1 -3
- package/api/types/SelectNodeWriteChoicesItem.d.ts +0 -3
- package/api/types/SelectNodeWriteChoicesItem.js +1 -3
- package/api/types/SettingChange.d.ts +7 -0
- package/api/types/SettingChange.js +3 -0
- package/api/types/SettingChangeAuditLogItem.d.ts +5 -0
- package/api/types/SettingChangeAuditLogItem.js +3 -0
- package/api/types/SingleLocaleCreatedPayload.d.ts +1 -4
- package/api/types/SingleLocaleCreatedPayload.js +1 -3
- package/api/types/SingleLocaleCreatedPayloadFieldData.d.ts +0 -3
- package/api/types/SingleLocaleCreatedPayloadFieldData.js +1 -3
- package/api/types/Site.d.ts +1 -4
- package/api/types/Site.js +1 -3
- package/api/types/SiteActivityLogItem.d.ts +1 -4
- package/api/types/SiteActivityLogItem.js +1 -3
- package/api/types/SiteActivityLogItemEvent.d.ts +1 -4
- package/api/types/SiteActivityLogItemEvent.js +1 -3
- package/api/types/SiteActivityLogItemResourceOperation.d.ts +1 -4
- package/api/types/SiteActivityLogItemResourceOperation.js +1 -3
- package/api/types/SiteActivityLogItemUser.d.ts +0 -3
- package/api/types/SiteActivityLogItemUser.js +1 -3
- package/api/types/SiteActivityLogResponse.d.ts +1 -4
- package/api/types/SiteActivityLogResponse.js +1 -3
- package/api/types/SiteDataCollectionType.d.ts +2 -7
- package/api/types/SiteDataCollectionType.js +2 -3
- package/api/types/SiteMembership.d.ts +1 -4
- package/api/types/SiteMembership.js +1 -3
- package/api/types/SiteMembershipAuditLogItem.d.ts +1 -4
- package/api/types/SiteMembershipAuditLogItem.js +1 -3
- package/api/types/SiteMembershipAuditLogItemEventSubType.d.ts +1 -4
- package/api/types/SiteMembershipAuditLogItemEventSubType.js +1 -3
- package/api/types/SitePlan.d.ts +1 -4
- package/api/types/SitePlan.js +1 -3
- package/api/types/SitePlanId.d.ts +2 -7
- package/api/types/SitePlanId.js +2 -3
- package/api/types/SitePlanName.d.ts +2 -7
- package/api/types/SitePlanName.js +2 -3
- package/api/types/SitePublish.d.ts +1 -4
- package/api/types/SitePublish.js +1 -3
- package/api/types/SitePublishPayload.d.ts +0 -3
- package/api/types/SitePublishPayload.js +1 -3
- package/api/types/Sites.d.ts +1 -4
- package/api/types/Sites.js +1 -3
- package/api/types/Sku.d.ts +1 -4
- package/api/types/Sku.js +1 -3
- package/api/types/SkuFieldData.d.ts +1 -4
- package/api/types/SkuFieldData.js +1 -3
- package/api/types/SkuFieldDataCompareAtPrice.d.ts +0 -3
- package/api/types/SkuFieldDataCompareAtPrice.js +1 -3
- package/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +2 -7
- package/api/types/SkuFieldDataEcSkuBillingMethod.js +2 -3
- package/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -4
- package/api/types/SkuFieldDataEcSkuSubscriptionPlan.js +1 -3
- package/api/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +2 -7
- package/api/types/SkuFieldDataEcSkuSubscriptionPlanInterval.js +2 -3
- package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +1 -4
- package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js +1 -3
- package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +2 -7
- package/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js +2 -3
- package/api/types/SkuFieldDataPrice.d.ts +0 -3
- package/api/types/SkuFieldDataPrice.js +1 -3
- package/api/types/SkuPropertyList.d.ts +1 -4
- package/api/types/SkuPropertyList.js +1 -3
- package/api/types/SkuPropertyListEnumItem.d.ts +0 -3
- package/api/types/SkuPropertyListEnumItem.js +1 -3
- package/api/types/SkuValueList.d.ts +0 -3
- package/api/types/SkuValueList.js +1 -3
- package/api/types/StaticField.d.ts +1 -4
- package/api/types/StaticField.js +1 -3
- package/api/types/StaticFieldType.d.ts +2 -7
- package/api/types/StaticFieldType.js +2 -3
- package/api/types/StripeCard.d.ts +1 -4
- package/api/types/StripeCard.js +1 -3
- package/api/types/StripeCardBrand.d.ts +2 -7
- package/api/types/StripeCardBrand.js +2 -3
- package/api/types/StripeCardExpires.d.ts +0 -3
- package/api/types/StripeCardExpires.js +1 -3
- package/api/types/StripeDetails.d.ts +0 -3
- package/api/types/StripeDetails.js +1 -3
- package/api/types/SubmitButtonNode.d.ts +0 -3
- package/api/types/SubmitButtonNode.js +1 -3
- package/api/types/SubmitButtonNodeWrite.d.ts +0 -3
- package/api/types/SubmitButtonNodeWrite.js +1 -3
- package/api/types/Text.d.ts +0 -3
- package/api/types/Text.js +1 -3
- package/api/types/TextInputNode.d.ts +0 -3
- package/api/types/TextInputNode.js +1 -3
- package/api/types/TextInputNodeWrite.d.ts +0 -3
- package/api/types/TextInputNodeWrite.js +1 -3
- package/api/types/TextNode.d.ts +1 -4
- package/api/types/TextNode.js +1 -3
- package/api/types/TextNodeText.d.ts +0 -3
- package/api/types/TextNodeText.js +1 -3
- package/api/types/TextNodeWrite.d.ts +0 -3
- package/api/types/TextNodeWrite.js +1 -3
- package/api/types/TriggerType.d.ts +2 -10
- package/api/types/TriggerType.js +2 -6
- package/api/types/UpdatedOrder.d.ts +1 -4
- package/api/types/UpdatedOrder.js +1 -3
- package/api/types/UserAccess.d.ts +1 -4
- package/api/types/UserAccess.js +1 -3
- package/api/types/UserAccessAuditLogItem.d.ts +1 -4
- package/api/types/UserAccessAuditLogItem.js +1 -3
- package/api/types/UserAccessAuditLogItemEventSubType.d.ts +1 -4
- package/api/types/UserAccessAuditLogItemEventSubType.js +1 -3
- package/api/types/Webhook.d.ts +1 -4
- package/api/types/Webhook.js +1 -3
- package/api/types/WebhookFilter.d.ts +0 -3
- package/api/types/WebhookFilter.js +1 -3
- package/api/types/WebhookList.d.ts +1 -4
- package/api/types/WebhookList.js +1 -3
- package/api/types/WorkspaceAuditLogItem.d.ts +5 -5
- package/api/types/WorkspaceAuditLogItem.js +1 -3
- package/api/types/WorkspaceAuditLogItemActor.d.ts +0 -3
- package/api/types/WorkspaceAuditLogItemActor.js +1 -3
- package/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +5 -0
- package/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.js +8 -0
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +0 -3
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js +1 -3
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +1 -4
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -3
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.d.ts +0 -3
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.js +1 -3
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.d.ts +0 -3
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.js +1 -3
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.d.ts +1 -4
- package/api/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.js +1 -3
- package/api/types/WorkspaceAuditLogItemPayloadUserAccessMethod.d.ts +1 -4
- package/api/types/WorkspaceAuditLogItemPayloadUserAccessMethod.js +1 -3
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.d.ts +1 -4
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.js +1 -3
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.d.ts +0 -3
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.js +1 -3
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +0 -3
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js +1 -3
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.d.ts +1 -4
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.js +1 -3
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +1 -4
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -3
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.d.ts +0 -3
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.js +1 -3
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.d.ts +1 -4
- package/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.js +1 -3
- package/api/types/WorkspaceAuditLogItemWorkspace.d.ts +0 -3
- package/api/types/WorkspaceAuditLogItemWorkspace.js +1 -3
- package/api/types/WorkspaceAuditLogResponse.d.ts +1 -4
- package/api/types/WorkspaceAuditLogResponse.js +1 -3
- package/api/types/WorkspaceInvitation.d.ts +1 -4
- package/api/types/WorkspaceInvitation.js +1 -3
- package/api/types/WorkspaceInvitationAuditLogItem.d.ts +1 -4
- package/api/types/WorkspaceInvitationAuditLogItem.js +1 -3
- package/api/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +1 -4
- package/api/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -3
- package/api/types/WorkspaceMembership.d.ts +1 -4
- package/api/types/WorkspaceMembership.js +1 -3
- package/api/types/WorkspaceMembershipAuditLogItem.d.ts +1 -4
- package/api/types/WorkspaceMembershipAuditLogItem.js +1 -3
- package/api/types/WorkspaceMembershipAuditLogItemEventSubType.d.ts +1 -4
- package/api/types/WorkspaceMembershipAuditLogItemEventSubType.js +1 -3
- package/api/types/index.d.ts +228 -238
- package/api/types/index.js +228 -238
- package/core/auth/AuthProvider.d.ts +4 -0
- package/core/auth/AuthRequest.d.ts +9 -0
- package/core/auth/BasicAuth.js +5 -4
- package/core/auth/index.d.ts +2 -0
- package/core/base64.d.ts +2 -0
- package/core/base64.js +26 -0
- package/core/fetcher/APIResponse.d.ts +1 -1
- package/core/fetcher/BinaryResponse.d.ts +20 -0
- package/core/fetcher/BinaryResponse.js +17 -0
- package/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/core/fetcher/EndpointSupplier.js +22 -0
- package/core/fetcher/Fetcher.d.ts +7 -5
- package/core/fetcher/Fetcher.js +9 -7
- package/core/fetcher/HttpResponsePromise.d.ts +1 -1
- package/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/core/fetcher/ResponseWithBody.js +6 -0
- package/core/fetcher/createRequestUrl.d.ts +1 -1
- package/core/fetcher/createRequestUrl.js +3 -7
- package/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/core/fetcher/getErrorResponseBody.js +45 -0
- package/core/fetcher/getFetchFn.js +4 -4
- package/core/fetcher/getResponseBody.js +34 -32
- package/core/fetcher/index.d.ts +7 -4
- package/core/fetcher/index.js +7 -5
- package/core/fetcher/makeRequest.js +2 -2
- package/core/fetcher/requestWithRetries.js +44 -8
- package/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +1 -1
- package/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +1 -1
- package/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +1 -1
- package/core/headers.d.ts +2 -3
- package/core/index.d.ts +3 -1
- package/core/index.js +4 -2
- package/core/schemas/Schema.d.ts +1 -1
- package/core/schemas/builders/bigint/bigint.d.ts +1 -1
- package/core/schemas/builders/bigint/bigint.js +2 -2
- package/core/schemas/builders/date/date.d.ts +1 -1
- package/core/schemas/builders/date/date.js +2 -2
- package/core/schemas/builders/enum/enum.d.ts +1 -1
- package/core/schemas/builders/index.d.ts +14 -14
- package/core/schemas/builders/index.js +14 -14
- package/core/schemas/builders/lazy/index.d.ts +1 -1
- package/core/schemas/builders/lazy/lazy.d.ts +1 -1
- package/core/schemas/builders/lazy/lazy.js +2 -2
- package/core/schemas/builders/lazy/lazyObject.d.ts +2 -2
- package/core/schemas/builders/lazy/lazyObject.js +4 -4
- package/core/schemas/builders/list/list.d.ts +1 -1
- package/core/schemas/builders/list/list.js +2 -2
- package/core/schemas/builders/literals/booleanLiteral.d.ts +1 -1
- package/core/schemas/builders/literals/index.d.ts +1 -1
- package/core/schemas/builders/literals/index.js +3 -3
- package/core/schemas/builders/literals/stringLiteral.d.ts +1 -1
- package/core/schemas/builders/object/index.d.ts +2 -2
- package/core/schemas/builders/object/object.d.ts +1 -1
- package/core/schemas/builders/object/object.js +5 -5
- package/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/core/schemas/builders/object/property.d.ts +1 -1
- package/core/schemas/builders/object/types.d.ts +5 -5
- package/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +2 -2
- package/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -2
- package/core/schemas/builders/object-like/types.d.ts +1 -1
- package/core/schemas/builders/primitives/any.d.ts +2 -1
- package/core/schemas/builders/primitives/any.js +4 -1
- package/core/schemas/builders/primitives/boolean.d.ts +2 -1
- package/core/schemas/builders/primitives/number.d.ts +2 -1
- package/core/schemas/builders/primitives/string.d.ts +2 -1
- package/core/schemas/builders/primitives/unknown.d.ts +2 -1
- package/core/schemas/builders/record/record.d.ts +2 -2
- package/core/schemas/builders/record/record.js +3 -3
- package/core/schemas/builders/record/types.d.ts +2 -2
- package/core/schemas/builders/schema-utils/JsonError.d.ts +1 -1
- package/core/schemas/builders/schema-utils/ParseError.d.ts +1 -1
- package/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +1 -1
- package/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +1 -1
- package/core/schemas/builders/set/set.d.ts +1 -1
- package/core/schemas/builders/set/set.js +4 -4
- package/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +2 -2
- package/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +2 -2
- package/core/schemas/builders/union/index.d.ts +1 -1
- package/core/schemas/builders/union/types.d.ts +2 -2
- package/core/schemas/builders/union/union.d.ts +3 -3
- package/core/schemas/builders/union/union.js +4 -4
- package/core/schemas/index.d.ts +1 -1
- package/core/schemas/index.js +1 -1
- package/core/schemas/utils/createIdentitySchemaCreator.d.ts +1 -1
- package/core/schemas/utils/createIdentitySchemaCreator.js +2 -2
- package/core/schemas/utils/maybeSkipValidation.d.ts +1 -1
- package/core/schemas/utils/maybeSkipValidation.js +1 -1
- package/core/url/encodePathParam.d.ts +1 -0
- package/core/url/encodePathParam.js +21 -0
- package/core/url/index.d.ts +3 -0
- package/core/url/index.js +9 -0
- package/core/url/join.d.ts +1 -0
- package/core/url/join.js +69 -0
- package/core/url/qs.d.ts +6 -0
- package/core/url/qs.js +64 -0
- package/dist/BaseClient.d.ts +26 -0
- package/dist/BaseClient.js +3 -0
- package/dist/Client.d.ts +13 -37
- package/dist/Client.js +34 -46
- package/dist/api/errors/BadRequestError.d.ts +1 -4
- package/dist/api/errors/BadRequestError.js +1 -3
- package/dist/api/errors/ConflictError.d.ts +1 -4
- package/dist/api/errors/ConflictError.js +1 -3
- package/dist/api/errors/ForbiddenError.d.ts +1 -4
- package/dist/api/errors/ForbiddenError.js +1 -3
- package/dist/api/errors/InternalServerError.d.ts +2 -5
- package/dist/api/errors/InternalServerError.js +1 -3
- package/dist/api/errors/NotFoundError.d.ts +2 -5
- package/dist/api/errors/NotFoundError.js +1 -3
- package/dist/api/errors/TooManyRequestsError.d.ts +2 -5
- package/dist/api/errors/TooManyRequestsError.js +1 -3
- package/dist/api/errors/UnauthorizedError.d.ts +2 -5
- package/dist/api/errors/UnauthorizedError.js +1 -3
- package/dist/api/errors/index.d.ts +4 -4
- package/dist/api/errors/index.js +4 -4
- package/dist/api/index.d.ts +1 -1
- package/dist/api/index.js +1 -1
- package/dist/api/resources/assets/client/Client.d.ts +7 -24
- package/dist/api/resources/assets/client/Client.js +78 -70
- package/dist/api/resources/assets/client/index.d.ts +0 -1
- package/dist/api/resources/assets/client/requests/AssetsCreateFolderRequest.d.ts +0 -3
- package/dist/api/resources/assets/client/requests/AssetsCreateFolderRequest.js +1 -3
- package/dist/api/resources/assets/client/requests/AssetsCreateRequest.d.ts +0 -3
- package/dist/api/resources/assets/client/requests/AssetsCreateRequest.js +1 -3
- package/dist/api/resources/assets/client/requests/AssetsListRequest.d.ts +4 -11
- package/dist/api/resources/assets/client/requests/AssetsListRequest.js +1 -3
- package/dist/api/resources/assets/client/requests/AssetsUpdateRequest.d.ts +0 -3
- package/dist/api/resources/assets/client/requests/AssetsUpdateRequest.js +1 -3
- package/dist/api/resources/assets/client/requests/index.d.ts +4 -4
- package/dist/api/resources/collections/client/Client.d.ts +5 -22
- package/dist/api/resources/collections/client/Client.js +40 -41
- package/dist/api/resources/collections/client/index.d.ts +0 -1
- package/dist/api/resources/collections/client/requests/CollectionsCreateRequest.d.ts +1 -4
- package/dist/api/resources/collections/client/requests/CollectionsCreateRequest.js +1 -3
- package/dist/api/resources/collections/client/requests/index.d.ts +1 -1
- package/dist/api/resources/collections/index.d.ts +1 -1
- package/dist/api/resources/collections/index.js +1 -1
- package/dist/api/resources/collections/resources/fields/client/Client.d.ts +5 -22
- package/dist/api/resources/collections/resources/fields/client/Client.js +33 -35
- package/dist/api/resources/collections/resources/fields/client/index.d.ts +0 -1
- package/dist/api/resources/collections/resources/fields/client/requests/FieldUpdate.d.ts +0 -3
- package/dist/api/resources/collections/resources/fields/client/requests/FieldUpdate.js +1 -3
- package/dist/api/resources/collections/resources/fields/client/requests/index.d.ts +1 -1
- package/dist/api/resources/collections/resources/index.d.ts +2 -2
- package/dist/api/resources/collections/resources/index.js +3 -3
- package/dist/api/resources/collections/resources/items/client/Client.d.ts +195 -54
- package/dist/api/resources/collections/resources/items/client/Client.js +368 -185
- package/dist/api/resources/collections/resources/items/client/index.d.ts +0 -1
- package/dist/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +2 -7
- package/dist/api/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +1 -3
- package/dist/api/resources/collections/resources/items/client/requests/ItemsCreateItemLiveRequest.d.ts +43 -10
- package/dist/api/resources/collections/resources/items/client/requests/ItemsCreateItemLiveRequest.js +1 -3
- package/dist/api/resources/collections/resources/items/client/requests/ItemsCreateItemRequest.d.ts +43 -10
- package/dist/api/resources/collections/resources/items/client/requests/ItemsCreateItemRequest.js +1 -3
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.d.ts +1 -6
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemLiveRequest.js +1 -3
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.d.ts +1 -6
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemRequest.js +1 -3
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +1 -4
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.js +1 -3
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +1 -4
- package/dist/api/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.js +1 -3
- package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.d.ts +1 -6
- package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemLiveRequest.js +1 -3
- package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.d.ts +1 -6
- package/dist/api/resources/collections/resources/items/client/requests/ItemsGetItemRequest.js +1 -3
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.d.ts +11 -30
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsLiveRequest.js +1 -3
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.d.ts +11 -30
- package/dist/api/resources/collections/resources/items/client/requests/ItemsListItemsRequest.js +1 -3
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemLiveRequest.d.ts +37 -8
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemLiveRequest.js +1 -3
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemRequest.d.ts +37 -8
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemRequest.js +1 -3
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.d.ts +32 -21
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.js +1 -3
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.d.ts +16 -13
- package/dist/api/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.js +1 -3
- package/dist/api/resources/collections/resources/items/client/requests/index.d.ts +15 -15
- package/dist/api/resources/collections/resources/items/index.d.ts +1 -1
- package/dist/api/resources/collections/resources/items/index.js +1 -1
- package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +2 -5
- package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +1 -3
- package/{api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts → dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts} +1 -4
- package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js +3 -0
- package/dist/api/resources/collections/resources/items/types/ItemIDs.d.ts +0 -3
- package/dist/api/resources/collections/resources/items/types/ItemIDs.js +1 -3
- package/dist/api/resources/collections/resources/items/types/ItemIDsWithLocales.d.ts +1 -4
- package/dist/api/resources/collections/resources/items/types/ItemIDsWithLocales.js +1 -3
- package/dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestBody.d.ts +1 -4
- package/dist/api/resources/collections/resources/items/types/ItemsCreateItemLiveRequestBody.js +1 -3
- package/dist/api/resources/collections/resources/items/types/ItemsCreateItemRequestBody.d.ts +1 -4
- package/dist/api/resources/collections/resources/items/types/ItemsCreateItemRequestBody.js +1 -3
- package/dist/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +0 -3
- package/dist/api/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +1 -3
- package/dist/api/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.d.ts +0 -3
- package/dist/api/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.js +1 -3
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +1 -4
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +1 -3
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +1 -4
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +1 -3
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +1 -4
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +1 -3
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +1 -4
- package/dist/api/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +1 -3
- package/dist/api/resources/collections/resources/items/types/ItemsPublishItemRequest.d.ts +1 -4
- package/dist/api/resources/collections/resources/items/types/ItemsPublishItemRequest.js +1 -3
- package/dist/api/resources/collections/resources/items/types/ItemsPublishItemRequestItemsItemsItem.d.ts +0 -3
- package/dist/api/resources/collections/resources/items/types/ItemsPublishItemRequestItemsItemsItem.js +1 -3
- package/dist/api/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +0 -3
- package/dist/api/resources/collections/resources/items/types/ItemsPublishItemResponse.js +1 -3
- package/dist/api/resources/collections/resources/items/types/ItemsUpdateItemsResponse.d.ts +1 -4
- package/dist/api/resources/collections/resources/items/types/ItemsUpdateItemsResponse.js +1 -3
- package/dist/api/resources/collections/resources/items/types/MultipleItems.d.ts +1 -4
- package/dist/api/resources/collections/resources/items/types/MultipleItems.js +1 -3
- package/dist/api/resources/collections/resources/items/types/MultipleLiveItems.d.ts +1 -4
- package/dist/api/resources/collections/resources/items/types/MultipleLiveItems.js +1 -3
- package/dist/api/resources/collections/resources/items/types/SingleCmsItem.d.ts +0 -3
- package/dist/api/resources/collections/resources/items/types/SingleCmsItem.js +1 -3
- package/dist/api/resources/collections/resources/items/types/index.d.ts +13 -13
- package/dist/api/resources/collections/resources/items/types/index.js +13 -13
- package/dist/api/resources/components/client/Client.d.ts +11 -28
- package/dist/api/resources/components/client/Client.js +70 -73
- package/dist/api/resources/components/client/index.d.ts +0 -1
- package/dist/api/resources/components/client/requests/ComponentDomWrite.d.ts +2 -7
- package/dist/api/resources/components/client/requests/ComponentDomWrite.js +1 -3
- package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.d.ts +2 -7
- package/dist/api/resources/components/client/requests/ComponentPropertiesWrite.js +1 -3
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.d.ts +5 -14
- package/dist/api/resources/components/client/requests/ComponentsGetContentRequest.js +1 -3
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.d.ts +5 -14
- package/dist/api/resources/components/client/requests/ComponentsGetPropertiesRequest.js +1 -3
- package/dist/api/resources/components/client/requests/ComponentsListRequest.d.ts +5 -14
- package/dist/api/resources/components/client/requests/ComponentsListRequest.js +1 -3
- package/dist/api/resources/components/client/requests/index.d.ts +5 -5
- package/dist/api/resources/components/index.d.ts +1 -1
- package/dist/api/resources/components/index.js +1 -1
- package/dist/api/resources/components/types/ComponentDomWriteNodesItem.d.ts +1 -4
- package/dist/api/resources/components/types/ComponentDomWriteNodesItem.js +1 -3
- package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +0 -3
- package/dist/api/resources/components/types/ComponentPropertiesWritePropertiesItem.js +1 -3
- package/dist/api/resources/components/types/ComponentsUpdateContentResponse.d.ts +0 -3
- package/dist/api/resources/components/types/ComponentsUpdateContentResponse.js +1 -3
- package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +0 -3
- package/dist/api/resources/components/types/ComponentsUpdatePropertiesResponse.js +1 -3
- package/dist/api/resources/components/types/index.d.ts +1 -1
- package/dist/api/resources/components/types/index.js +1 -1
- package/dist/api/resources/ecommerce/client/Client.d.ts +5 -22
- package/dist/api/resources/ecommerce/client/Client.js +15 -23
- package/dist/api/resources/forms/client/Client.d.ts +9 -53
- package/dist/api/resources/forms/client/Client.js +64 -190
- package/dist/api/resources/forms/client/index.d.ts +0 -1
- package/dist/api/resources/forms/client/requests/FormsListRequest.d.ts +4 -11
- package/dist/api/resources/forms/client/requests/FormsListRequest.js +1 -3
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +4 -11
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsRequest.js +1 -3
- package/dist/api/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +0 -3
- package/dist/api/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +1 -3
- package/dist/api/resources/forms/client/requests/index.d.ts +3 -4
- package/dist/api/resources/index.d.ts +24 -30
- package/dist/api/resources/index.js +25 -31
- package/dist/api/resources/inventory/client/Client.d.ts +5 -22
- package/dist/api/resources/inventory/client/Client.js +24 -29
- package/dist/api/resources/inventory/client/index.d.ts +0 -1
- package/dist/api/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +1 -4
- package/dist/api/resources/inventory/client/requests/InventoryUpdateRequest.js +1 -3
- package/dist/api/resources/inventory/client/requests/index.d.ts +1 -1
- package/dist/api/resources/inventory/index.d.ts +1 -1
- package/dist/api/resources/inventory/index.js +1 -1
- package/dist/api/resources/inventory/types/EcommInventoryChangedPayload.d.ts +1 -4
- package/dist/api/resources/inventory/types/EcommInventoryChangedPayload.js +1 -3
- package/dist/api/resources/inventory/types/InventoryUpdateRequestInventoryType.d.ts +2 -7
- package/dist/api/resources/inventory/types/InventoryUpdateRequestInventoryType.js +2 -3
- package/dist/api/resources/inventory/types/index.d.ts +1 -1
- package/dist/api/resources/inventory/types/index.js +1 -1
- package/dist/api/resources/orders/client/Client.d.ts +7 -24
- package/dist/api/resources/orders/client/Client.js +64 -59
- package/dist/api/resources/orders/client/index.d.ts +0 -1
- package/dist/api/resources/orders/client/requests/OrdersListRequest.d.ts +6 -15
- package/dist/api/resources/orders/client/requests/OrdersListRequest.js +1 -3
- package/dist/api/resources/orders/client/requests/OrdersRefundRequest.d.ts +1 -4
- package/dist/api/resources/orders/client/requests/OrdersRefundRequest.js +1 -3
- package/dist/api/resources/orders/client/requests/OrdersUpdateFulfillRequest.d.ts +0 -3
- package/dist/api/resources/orders/client/requests/OrdersUpdateFulfillRequest.js +1 -3
- package/dist/api/resources/orders/client/requests/OrdersUpdateRequest.d.ts +0 -3
- package/dist/api/resources/orders/client/requests/OrdersUpdateRequest.js +1 -3
- package/dist/api/resources/orders/client/requests/index.d.ts +4 -4
- package/dist/api/resources/orders/index.d.ts +1 -1
- package/dist/api/resources/orders/index.js +1 -1
- package/dist/api/resources/orders/types/OrdersListRequestStatus.d.ts +1 -4
- package/dist/api/resources/orders/types/OrdersListRequestStatus.js +1 -3
- package/dist/api/resources/orders/types/OrdersRefundRequestReason.d.ts +2 -7
- package/dist/api/resources/orders/types/OrdersRefundRequestReason.js +2 -3
- package/dist/api/resources/pages/client/Client.d.ts +9 -26
- package/dist/api/resources/pages/client/Client.js +62 -65
- package/dist/api/resources/pages/client/index.d.ts +0 -1
- package/dist/api/resources/pages/client/requests/PageDomWrite.d.ts +2 -7
- package/dist/api/resources/pages/client/requests/PageDomWrite.js +1 -3
- package/dist/api/resources/pages/client/requests/PageMetadataWrite.d.ts +1 -4
- package/dist/api/resources/pages/client/requests/PageMetadataWrite.js +1 -3
- package/dist/api/resources/pages/client/requests/PagesGetContentRequest.d.ts +4 -11
- package/dist/api/resources/pages/client/requests/PagesGetContentRequest.js +1 -3
- package/dist/api/resources/pages/client/requests/PagesGetMetadataRequest.d.ts +0 -3
- package/dist/api/resources/pages/client/requests/PagesGetMetadataRequest.js +1 -3
- package/dist/api/resources/pages/client/requests/PagesListRequest.d.ts +4 -11
- package/dist/api/resources/pages/client/requests/PagesListRequest.js +1 -3
- package/dist/api/resources/pages/client/requests/index.d.ts +5 -5
- package/dist/api/resources/pages/index.d.ts +1 -1
- package/dist/api/resources/pages/index.js +1 -1
- package/dist/api/resources/pages/resources/scripts/client/Client.d.ts +5 -22
- package/dist/api/resources/pages/resources/scripts/client/Client.js +32 -35
- package/dist/api/resources/pages/types/PageDomWriteNodesItem.d.ts +1 -4
- package/dist/api/resources/pages/types/PageDomWriteNodesItem.js +1 -3
- package/dist/api/resources/pages/types/PageMetadataWriteOpenGraph.d.ts +0 -3
- package/dist/api/resources/pages/types/PageMetadataWriteOpenGraph.js +1 -3
- package/dist/api/resources/pages/types/PageMetadataWriteSeo.d.ts +0 -3
- package/dist/api/resources/pages/types/PageMetadataWriteSeo.js +1 -3
- package/dist/api/resources/pages/types/UpdateStaticContentResponse.d.ts +0 -3
- package/dist/api/resources/pages/types/UpdateStaticContentResponse.js +1 -3
- package/dist/api/resources/pages/types/index.d.ts +2 -2
- package/dist/api/resources/pages/types/index.js +2 -2
- package/dist/api/resources/products/client/Client.d.ts +7 -24
- package/dist/api/resources/products/client/Client.js +63 -58
- package/dist/api/resources/products/client/index.d.ts +0 -1
- package/dist/api/resources/products/client/requests/ProductSkuCreate.d.ts +1 -4
- package/dist/api/resources/products/client/requests/ProductSkuCreate.js +1 -3
- package/dist/api/resources/products/client/requests/ProductSkuUpdate.d.ts +1 -4
- package/dist/api/resources/products/client/requests/ProductSkuUpdate.js +1 -3
- package/dist/api/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +1 -4
- package/dist/api/resources/products/client/requests/ProductsCreateSkuRequest.js +1 -3
- package/dist/api/resources/products/client/requests/ProductsListRequest.d.ts +4 -11
- package/dist/api/resources/products/client/requests/ProductsListRequest.js +1 -3
- package/dist/api/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +1 -4
- package/dist/api/resources/products/client/requests/ProductsUpdateSkuRequest.js +1 -3
- package/dist/api/resources/products/client/requests/index.d.ts +5 -5
- package/dist/api/resources/products/index.d.ts +1 -1
- package/dist/api/resources/products/index.js +1 -1
- package/dist/api/resources/products/types/ProductSkuCreateProduct.d.ts +1 -4
- package/dist/api/resources/products/types/ProductSkuCreateProduct.js +1 -3
- package/dist/api/resources/products/types/ProductSkuCreateSku.d.ts +1 -4
- package/dist/api/resources/products/types/ProductSkuCreateSku.js +1 -3
- package/dist/api/resources/products/types/ProductsCreateSkuResponse.d.ts +1 -4
- package/dist/api/resources/products/types/ProductsCreateSkuResponse.js +1 -3
- package/dist/api/resources/scripts/client/Client.d.ts +5 -22
- package/dist/api/resources/scripts/client/Client.js +33 -35
- package/dist/api/resources/scripts/client/index.d.ts +0 -1
- package/dist/api/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +0 -3
- package/dist/api/resources/scripts/client/requests/CustomCodeHostedRequest.js +1 -3
- package/dist/api/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +0 -3
- package/dist/api/resources/scripts/client/requests/CustomCodeInlineRequest.js +1 -3
- package/dist/api/resources/scripts/client/requests/index.d.ts +2 -2
- package/dist/api/resources/sites/client/Client.d.ts +12 -26
- package/dist/api/resources/sites/client/Client.js +82 -70
- package/dist/api/resources/sites/client/index.d.ts +0 -1
- package/dist/api/resources/sites/client/requests/SitesCreateRequest.d.ts +0 -3
- package/dist/api/resources/sites/client/requests/SitesCreateRequest.js +1 -3
- package/dist/api/resources/sites/client/requests/SitesPublishRequest.d.ts +0 -3
- package/dist/api/resources/sites/client/requests/SitesPublishRequest.js +1 -3
- package/dist/api/resources/sites/client/requests/SitesUpdateRequest.d.ts +0 -3
- package/dist/api/resources/sites/client/requests/SitesUpdateRequest.js +1 -3
- package/dist/api/resources/sites/client/requests/index.d.ts +3 -3
- package/dist/api/resources/sites/index.d.ts +2 -2
- package/dist/api/resources/sites/index.js +2 -2
- package/dist/api/resources/sites/resources/activityLogs/client/Client.d.ts +7 -24
- package/dist/api/resources/sites/resources/activityLogs/client/Client.js +19 -28
- package/dist/api/resources/sites/resources/activityLogs/client/index.d.ts +0 -1
- package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.d.ts +4 -11
- package/dist/api/resources/sites/resources/activityLogs/client/requests/ActivityLogsListRequest.js +1 -3
- package/dist/api/resources/sites/resources/activityLogs/client/requests/index.d.ts +1 -1
- package/dist/api/resources/sites/resources/comments/client/Client.d.ts +11 -28
- package/dist/api/resources/sites/resources/comments/client/Client.js +58 -59
- package/dist/api/resources/sites/resources/comments/client/index.d.ts +0 -1
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.d.ts +7 -18
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsGetCommentThreadRequest.js +1 -3
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.d.ts +7 -18
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentRepliesRequest.js +1 -3
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.d.ts +7 -18
- package/dist/api/resources/sites/resources/comments/client/requests/CommentsListCommentThreadsRequest.js +1 -3
- package/dist/api/resources/sites/resources/comments/client/requests/index.d.ts +3 -3
- package/dist/api/resources/sites/resources/comments/index.d.ts +1 -1
- package/dist/api/resources/sites/resources/comments/index.js +1 -1
- package/dist/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.d.ts +1 -4
- package/dist/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.js +1 -3
- package/dist/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.d.ts +1 -4
- package/dist/api/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.js +1 -3
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.d.ts +1 -4
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.js +1 -3
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.d.ts +1 -4
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.js +1 -3
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.d.ts +1 -4
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.js +1 -3
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.d.ts +1 -4
- package/dist/api/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.js +1 -3
- package/dist/api/resources/sites/resources/comments/types/index.d.ts +2 -2
- package/dist/api/resources/sites/resources/comments/types/index.js +2 -2
- package/dist/api/resources/sites/resources/forms/client/Client.d.ts +140 -0
- package/dist/api/resources/{users → sites/resources/forms}/client/Client.js +153 -159
- package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +16 -0
- package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js +3 -0
- package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.d.ts +13 -0
- package/dist/api/resources/sites/resources/forms/client/requests/FormsListSubmissionsRequest.js +3 -0
- package/dist/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +8 -0
- package/dist/api/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +3 -0
- package/dist/api/resources/sites/resources/forms/client/requests/index.d.ts +3 -0
- package/dist/api/resources/sites/resources/forms/client/requests/index.js +2 -0
- package/dist/api/resources/{accessGroups → sites/resources/forms}/index.d.ts +0 -1
- package/{api/resources/users → dist/api/resources/sites/resources/forms}/index.js +0 -1
- package/dist/api/resources/sites/resources/index.d.ts +9 -7
- package/dist/api/resources/sites/resources/index.js +10 -8
- package/dist/api/resources/sites/resources/plans/client/Client.d.ts +5 -22
- package/dist/api/resources/sites/resources/plans/client/Client.js +15 -23
- package/dist/api/resources/sites/resources/redirects/client/Client.d.ts +7 -24
- package/dist/api/resources/sites/resources/redirects/client/Client.js +43 -43
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.d.ts +5 -22
- package/dist/api/resources/sites/resources/robotsTxt/client/Client.js +42 -41
- package/dist/api/resources/sites/resources/scripts/client/Client.d.ts +7 -24
- package/dist/api/resources/sites/resources/scripts/client/Client.js +44 -46
- package/dist/api/resources/sites/resources/scripts/client/index.d.ts +0 -1
- package/dist/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.d.ts +4 -11
- package/dist/api/resources/sites/resources/scripts/client/requests/ScriptsListCustomCodeBlocksRequest.js +1 -3
- package/dist/api/resources/sites/resources/scripts/client/requests/index.d.ts +1 -1
- package/dist/api/resources/sites/resources/wellKnown/client/Client.d.ts +5 -22
- package/dist/api/resources/sites/resources/wellKnown/client/Client.js +25 -29
- package/dist/api/resources/sites/resources/wellKnown/client/index.d.ts +0 -1
- package/dist/api/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.d.ts +0 -3
- package/dist/api/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.js +1 -3
- package/dist/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +1 -4
- package/dist/api/resources/sites/resources/wellKnown/client/requests/WellKnownFile.js +1 -3
- package/dist/api/resources/sites/resources/wellKnown/client/requests/index.d.ts +2 -2
- package/dist/api/resources/sites/resources/wellKnown/index.d.ts +1 -1
- package/dist/api/resources/sites/resources/wellKnown/index.js +1 -1
- package/dist/api/resources/sites/resources/wellKnown/types/WellKnownFileContentType.d.ts +2 -7
- package/dist/api/resources/sites/resources/wellKnown/types/WellKnownFileContentType.js +2 -3
- package/dist/api/resources/sites/types/SitesPublishResponse.d.ts +1 -4
- package/dist/api/resources/sites/types/SitesPublishResponse.js +1 -3
- package/dist/api/resources/token/client/Client.d.ts +5 -22
- package/dist/api/resources/token/client/Client.js +21 -27
- package/dist/api/resources/webhooks/client/Client.d.ts +5 -22
- package/dist/api/resources/webhooks/client/Client.js +40 -41
- package/dist/api/resources/workspaces/client/Client.d.ts +3 -13
- package/dist/api/resources/workspaces/client/Client.js +2 -4
- package/dist/api/resources/workspaces/index.d.ts +1 -1
- package/dist/api/resources/workspaces/index.js +1 -1
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.d.ts +7 -24
- package/dist/api/resources/workspaces/resources/auditLogs/client/Client.js +33 -42
- package/dist/api/resources/workspaces/resources/auditLogs/client/index.d.ts +0 -1
- package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.d.ts +9 -24
- package/dist/api/resources/workspaces/resources/auditLogs/client/requests/AuditLogsGetWorkspaceAuditLogsRequest.js +1 -3
- package/dist/api/resources/workspaces/resources/auditLogs/client/requests/index.d.ts +1 -1
- package/dist/api/resources/workspaces/resources/auditLogs/index.d.ts +1 -1
- package/dist/api/resources/workspaces/resources/auditLogs/index.js +1 -1
- package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +2 -4
- package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +2 -3
- package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.d.ts +1 -4
- package/dist/api/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.js +1 -3
- package/dist/api/resources/workspaces/resources/auditLogs/types/index.d.ts +1 -1
- package/dist/api/resources/workspaces/resources/auditLogs/types/index.js +1 -1
- package/dist/api/resources/workspaces/resources/index.d.ts +1 -1
- package/dist/api/resources/workspaces/resources/index.js +1 -1
- package/dist/api/types/Application.d.ts +0 -3
- package/dist/api/types/Application.js +1 -3
- package/dist/api/types/Asset.d.ts +1 -4
- package/dist/api/types/Asset.js +1 -3
- package/dist/api/types/AssetFolder.d.ts +0 -3
- package/dist/api/types/AssetFolder.js +1 -3
- package/dist/api/types/AssetFolderList.d.ts +1 -4
- package/dist/api/types/AssetFolderList.js +1 -3
- package/dist/api/types/AssetUpload.d.ts +1 -4
- package/dist/api/types/AssetUpload.js +1 -3
- package/dist/api/types/AssetUploadUploadDetails.d.ts +0 -3
- package/dist/api/types/AssetUploadUploadDetails.js +1 -3
- package/dist/api/types/AssetVariant.d.ts +0 -3
- package/dist/api/types/AssetVariant.js +1 -3
- package/dist/api/types/Assets.d.ts +1 -4
- package/dist/api/types/Assets.js +1 -3
- package/dist/api/types/Authorization.d.ts +1 -4
- package/dist/api/types/Authorization.js +1 -3
- package/dist/api/types/AuthorizationAuthorization.d.ts +1 -4
- package/dist/api/types/AuthorizationAuthorization.js +1 -3
- package/dist/api/types/AuthorizationAuthorizationAuthorizedTo.d.ts +0 -3
- package/dist/api/types/AuthorizationAuthorizationAuthorizedTo.js +1 -3
- package/dist/api/types/AuthorizedUser.d.ts +0 -3
- package/dist/api/types/AuthorizedUser.js +1 -3
- package/dist/api/types/BadRequestErrorBody.d.ts +1 -4
- package/dist/api/types/BadRequestErrorBody.js +1 -3
- package/dist/api/types/BulkCollectionItem.d.ts +1 -4
- package/dist/api/types/BulkCollectionItem.js +1 -3
- package/dist/api/types/BulkCollectionItemFieldData.d.ts +0 -3
- package/dist/api/types/BulkCollectionItemFieldData.js +1 -3
- package/dist/api/types/Collection.d.ts +1 -4
- package/dist/api/types/Collection.js +1 -3
- package/dist/api/types/CollectionItem.d.ts +1 -4
- package/dist/api/types/CollectionItem.js +1 -3
- package/dist/api/types/CollectionItemChanged.d.ts +1 -4
- package/dist/api/types/CollectionItemChanged.js +1 -3
- package/dist/api/types/CollectionItemCreated.d.ts +1 -4
- package/dist/api/types/CollectionItemCreated.js +1 -3
- package/dist/api/types/CollectionItemFieldData.d.ts +0 -3
- package/dist/api/types/CollectionItemFieldData.js +1 -3
- package/dist/api/types/CollectionItemList.d.ts +1 -4
- package/dist/api/types/CollectionItemList.js +1 -3
- package/dist/api/types/CollectionItemListNoPagination.d.ts +1 -4
- package/dist/api/types/CollectionItemListNoPagination.js +1 -3
- package/dist/api/types/CollectionItemListPagination.d.ts +0 -3
- package/dist/api/types/CollectionItemListPagination.js +1 -3
- package/dist/api/types/CollectionItemPatchSingle.d.ts +1 -4
- package/dist/api/types/CollectionItemPatchSingle.js +1 -3
- package/dist/api/types/CollectionItemPatchSingleFieldData.d.ts +0 -3
- package/dist/api/types/CollectionItemPatchSingleFieldData.js +1 -3
- package/dist/api/types/CollectionItemPostSingle.d.ts +1 -4
- package/dist/api/types/CollectionItemPostSingle.js +1 -3
- package/dist/api/types/CollectionItemPostSingleFieldData.d.ts +0 -3
- package/dist/api/types/CollectionItemPostSingleFieldData.js +1 -3
- package/dist/api/types/CollectionItemPublished.d.ts +1 -4
- package/dist/api/types/CollectionItemPublished.js +1 -3
- package/dist/api/types/CollectionItemRemoved.d.ts +1 -4
- package/dist/api/types/CollectionItemRemoved.js +1 -3
- package/dist/api/types/CollectionItemRemovedPayload.d.ts +1 -4
- package/dist/api/types/CollectionItemRemovedPayload.js +1 -3
- package/dist/api/types/CollectionItemRemovedPayloadFieldData.d.ts +0 -3
- package/dist/api/types/CollectionItemRemovedPayloadFieldData.js +1 -3
- package/dist/api/types/CollectionItemUnpublished.d.ts +1 -4
- package/dist/api/types/CollectionItemUnpublished.js +1 -3
- package/dist/api/types/CollectionItemUnpublishedPayload.d.ts +1 -4
- package/dist/api/types/CollectionItemUnpublishedPayload.js +1 -3
- package/dist/api/types/CollectionItemUnpublishedPayloadFieldData.d.ts +0 -3
- package/dist/api/types/CollectionItemUnpublishedPayloadFieldData.js +1 -3
- package/dist/api/types/CollectionItemWithIdInput.d.ts +1 -4
- package/dist/api/types/CollectionItemWithIdInput.js +1 -3
- package/dist/api/types/CollectionItemWithIdInputFieldData.d.ts +0 -3
- package/dist/api/types/CollectionItemWithIdInputFieldData.js +1 -3
- package/dist/api/types/CollectionList.d.ts +1 -4
- package/dist/api/types/CollectionList.js +1 -3
- package/dist/api/types/CollectionListArrayItem.d.ts +0 -3
- package/dist/api/types/CollectionListArrayItem.js +1 -3
- package/dist/api/types/Comment.d.ts +1 -4
- package/dist/api/types/Comment.js +1 -3
- package/dist/api/types/CommentPayload.d.ts +1 -4
- package/dist/api/types/CommentPayload.js +1 -3
- package/dist/api/types/CommentPayloadAuthor.d.ts +0 -3
- package/dist/api/types/CommentPayloadAuthor.js +1 -3
- package/dist/api/types/CommentPayloadMentionedUsersItem.d.ts +0 -3
- package/dist/api/types/CommentPayloadMentionedUsersItem.js +1 -3
- package/dist/api/types/CommentReply.d.ts +1 -4
- package/dist/api/types/CommentReply.js +1 -3
- package/dist/api/types/CommentReplyAuthor.d.ts +0 -3
- package/dist/api/types/CommentReplyAuthor.js +1 -3
- package/dist/api/types/CommentReplyList.d.ts +1 -4
- package/dist/api/types/CommentReplyList.js +1 -3
- package/dist/api/types/CommentReplyListPagination.d.ts +0 -3
- package/dist/api/types/CommentReplyListPagination.js +1 -3
- package/dist/api/types/CommentReplyMentionedUsersItem.d.ts +0 -3
- package/dist/api/types/CommentReplyMentionedUsersItem.js +1 -3
- package/dist/api/types/CommentThread.d.ts +1 -4
- package/dist/api/types/CommentThread.js +1 -3
- package/dist/api/types/CommentThreadAuthor.d.ts +0 -3
- package/dist/api/types/CommentThreadAuthor.js +1 -3
- package/dist/api/types/CommentThreadList.d.ts +1 -4
- package/dist/api/types/CommentThreadList.js +1 -3
- package/dist/api/types/CommentThreadListPagination.d.ts +0 -3
- package/dist/api/types/CommentThreadListPagination.js +1 -3
- package/dist/api/types/CommentThreadMentionedUsersItem.d.ts +0 -3
- package/dist/api/types/CommentThreadMentionedUsersItem.js +1 -3
- package/dist/api/types/Component.d.ts +0 -3
- package/dist/api/types/Component.js +1 -3
- package/dist/api/types/ComponentDom.d.ts +2 -5
- package/dist/api/types/ComponentDom.js +1 -3
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +1 -4
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWrite.js +1 -3
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +0 -3
- package/dist/api/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +1 -3
- package/dist/api/types/ComponentList.d.ts +1 -4
- package/dist/api/types/ComponentList.js +1 -3
- package/dist/api/types/ComponentNode.d.ts +1 -4
- package/dist/api/types/ComponentNode.js +1 -3
- package/dist/api/types/ComponentProperties.d.ts +1 -4
- package/dist/api/types/ComponentProperties.js +1 -3
- package/dist/api/types/ComponentProperty.d.ts +1 -4
- package/dist/api/types/ComponentProperty.js +1 -3
- package/dist/api/types/ComponentPropertyType.d.ts +2 -7
- package/dist/api/types/ComponentPropertyType.js +2 -3
- package/dist/api/types/Conflict.d.ts +0 -3
- package/dist/api/types/Conflict.js +1 -3
- package/dist/api/types/CustomCodeBlock.d.ts +1 -4
- package/dist/api/types/CustomCodeBlock.js +1 -3
- package/dist/api/types/CustomCodeBlockType.d.ts +2 -7
- package/dist/api/types/CustomCodeBlockType.js +2 -3
- package/dist/api/types/CustomCodeHostedResponse.d.ts +0 -3
- package/dist/api/types/CustomCodeHostedResponse.js +1 -3
- package/dist/api/types/CustomCodeInlineResponse.d.ts +0 -3
- package/dist/api/types/CustomCodeInlineResponse.js +1 -3
- package/dist/api/types/CustomRole.d.ts +0 -3
- package/dist/api/types/CustomRole.js +1 -3
- package/dist/api/types/CustomRoleAuditLogItem.d.ts +1 -4
- package/dist/api/types/CustomRoleAuditLogItem.js +1 -3
- package/dist/api/types/CustomRoleAuditLogItemEventSubType.d.ts +1 -4
- package/dist/api/types/CustomRoleAuditLogItemEventSubType.js +1 -3
- package/dist/api/types/Dom.d.ts +1 -4
- package/dist/api/types/Dom.js +1 -3
- package/dist/api/types/Domain.d.ts +0 -3
- package/dist/api/types/Domain.js +1 -3
- package/dist/api/types/Domains.d.ts +1 -4
- package/dist/api/types/Domains.js +1 -3
- package/dist/api/types/EcommerceSettings.d.ts +0 -3
- package/dist/api/types/EcommerceSettings.js +1 -3
- package/dist/api/types/ErrorCode.d.ts +2 -7
- package/dist/api/types/ErrorCode.js +2 -3
- package/dist/api/types/Error_.d.ts +1 -4
- package/dist/api/types/Error_.js +1 -3
- package/dist/api/types/Field.d.ts +1 -4
- package/dist/api/types/Field.js +1 -3
- package/dist/api/types/FieldCreate.d.ts +1 -4
- package/dist/api/types/FieldCreate.js +1 -3
- package/dist/api/types/FieldType.d.ts +2 -7
- package/dist/api/types/FieldType.js +2 -3
- package/dist/api/types/FieldValidations.d.ts +1 -4
- package/dist/api/types/FieldValidations.js +1 -3
- package/dist/api/types/FieldValidationsAdditionalProperties.d.ts +1 -4
- package/dist/api/types/FieldValidationsAdditionalProperties.js +1 -3
- package/dist/api/types/FieldValidationsAdditionalPropertiesAdditionalProperties.d.ts +0 -3
- package/dist/api/types/FieldValidationsAdditionalPropertiesAdditionalProperties.js +1 -3
- package/dist/api/types/ForbiddenErrorBody.d.ts +2 -5
- package/dist/api/types/ForbiddenErrorBody.js +1 -3
- package/dist/api/types/Form.d.ts +1 -4
- package/dist/api/types/Form.js +1 -3
- package/dist/api/types/FormField.d.ts +1 -4
- package/dist/api/types/FormField.js +1 -3
- package/dist/api/types/FormFieldValue.d.ts +1 -4
- package/dist/api/types/FormFieldValue.js +1 -3
- package/dist/api/types/FormFieldValueType.d.ts +2 -7
- package/dist/api/types/FormFieldValueType.js +2 -3
- package/dist/api/types/FormList.d.ts +1 -4
- package/dist/api/types/FormList.js +1 -3
- package/dist/api/types/FormResponseSettings.d.ts +0 -3
- package/dist/api/types/FormResponseSettings.js +1 -3
- package/dist/api/types/FormSubmission.d.ts +0 -3
- package/dist/api/types/FormSubmission.js +1 -3
- package/dist/api/types/FormSubmissionList.d.ts +1 -4
- package/dist/api/types/FormSubmissionList.js +1 -3
- package/dist/api/types/FormSubmissionTrigger.d.ts +1 -4
- package/dist/api/types/FormSubmissionTrigger.js +1 -3
- package/dist/api/types/FormSubmissionTriggerPayload.d.ts +1 -4
- package/dist/api/types/FormSubmissionTriggerPayload.js +1 -3
- package/dist/api/types/FormSubmissionTriggerPayloadSchemaItem.d.ts +1 -4
- package/dist/api/types/FormSubmissionTriggerPayloadSchemaItem.js +1 -3
- package/dist/api/types/FormSubmissionTriggerPayloadSchemaItemFieldType.d.ts +2 -7
- package/dist/api/types/FormSubmissionTriggerPayloadSchemaItemFieldType.js +2 -3
- package/dist/api/types/ImageNode.d.ts +1 -4
- package/dist/api/types/ImageNode.js +1 -3
- package/dist/api/types/ImageNodeImage.d.ts +0 -3
- package/dist/api/types/ImageNodeImage.js +1 -3
- package/dist/api/types/InvalidDomain.d.ts +0 -3
- package/dist/api/types/InvalidDomain.js +1 -3
- package/dist/api/types/InvalidScopes.d.ts +0 -3
- package/dist/api/types/InvalidScopes.js +1 -3
- package/dist/api/types/InventoryItem.d.ts +1 -4
- package/dist/api/types/InventoryItem.js +1 -3
- package/dist/api/types/InventoryItemInventoryType.d.ts +2 -7
- package/dist/api/types/InventoryItemInventoryType.js +2 -3
- package/dist/api/types/ItemsListItemsLiveRequestLastPublished.d.ts +0 -3
- package/dist/api/types/ItemsListItemsLiveRequestLastPublished.js +1 -3
- package/dist/api/types/ItemsListItemsRequestLastPublished.d.ts +0 -3
- package/dist/api/types/ItemsListItemsRequestLastPublished.js +1 -3
- package/dist/api/types/ListCustomCodeBlocks.d.ts +1 -4
- package/dist/api/types/ListCustomCodeBlocks.js +1 -3
- package/dist/api/types/Locale.d.ts +0 -3
- package/dist/api/types/Locale.js +1 -3
- package/dist/api/types/Locales.d.ts +1 -4
- package/dist/api/types/Locales.js +1 -3
- package/dist/api/types/Metadata.d.ts +1 -4
- package/dist/api/types/Metadata.js +1 -3
- package/dist/api/types/MetadataOptionsItem.d.ts +0 -3
- package/dist/api/types/MetadataOptionsItem.js +1 -3
- package/dist/api/types/NewOrder.d.ts +1 -4
- package/dist/api/types/NewOrder.js +1 -3
- package/dist/api/types/NoDomains.d.ts +0 -3
- package/dist/api/types/NoDomains.js +1 -3
- package/dist/api/types/Node.d.ts +1 -4
- package/dist/api/types/Node.js +1 -3
- package/dist/api/types/NotEnterprisePlanSite.d.ts +0 -3
- package/dist/api/types/NotEnterprisePlanSite.js +1 -3
- package/dist/api/types/NotEnterprisePlanWorkspace.d.ts +0 -3
- package/dist/api/types/NotEnterprisePlanWorkspace.js +1 -3
- package/dist/api/types/OptionField.d.ts +1 -4
- package/dist/api/types/OptionField.js +1 -3
- package/dist/api/types/Order.d.ts +1 -4
- package/dist/api/types/Order.js +1 -3
- package/dist/api/types/OrderAddress.d.ts +1 -4
- package/dist/api/types/OrderAddress.js +1 -3
- package/dist/api/types/OrderAddressJapanType.d.ts +2 -7
- package/dist/api/types/OrderAddressJapanType.js +2 -3
- package/dist/api/types/OrderAddressType.d.ts +2 -7
- package/dist/api/types/OrderAddressType.js +2 -3
- package/dist/api/types/OrderBillingAddress.d.ts +1 -4
- package/dist/api/types/OrderBillingAddress.js +1 -3
- package/dist/api/types/OrderBillingAddressJapanType.d.ts +2 -7
- package/dist/api/types/OrderBillingAddressJapanType.js +2 -3
- package/dist/api/types/OrderBillingAddressType.d.ts +2 -7
- package/dist/api/types/OrderBillingAddressType.js +2 -3
- package/dist/api/types/OrderCustomerInfo.d.ts +0 -3
- package/dist/api/types/OrderCustomerInfo.js +1 -3
- package/dist/api/types/OrderDisputeLastStatus.d.ts +2 -7
- package/dist/api/types/OrderDisputeLastStatus.js +2 -3
- package/dist/api/types/OrderDownloadFilesItem.d.ts +0 -3
- package/dist/api/types/OrderDownloadFilesItem.js +1 -3
- package/dist/api/types/OrderList.d.ts +1 -4
- package/dist/api/types/OrderList.js +1 -3
- package/dist/api/types/OrderMetadata.d.ts +0 -3
- package/dist/api/types/OrderMetadata.js +1 -3
- package/dist/api/types/OrderPrice.d.ts +0 -3
- package/dist/api/types/OrderPrice.js +1 -3
- package/dist/api/types/OrderPurchasedItem.d.ts +1 -4
- package/dist/api/types/OrderPurchasedItem.js +1 -3
- package/dist/api/types/OrderPurchasedItemVariantImage.d.ts +1 -4
- package/dist/api/types/OrderPurchasedItemVariantImage.js +1 -3
- package/dist/api/types/OrderPurchasedItemVariantImageFile.d.ts +1 -4
- package/dist/api/types/OrderPurchasedItemVariantImageFile.js +1 -3
- package/dist/api/types/OrderPurchasedItemVariantImageFileVariantsItem.d.ts +0 -3
- package/dist/api/types/OrderPurchasedItemVariantImageFileVariantsItem.js +1 -3
- package/dist/api/types/OrderShippingAddress.d.ts +1 -4
- package/dist/api/types/OrderShippingAddress.js +1 -3
- package/dist/api/types/OrderShippingAddressJapanType.d.ts +2 -7
- package/dist/api/types/OrderShippingAddressJapanType.js +2 -3
- package/dist/api/types/OrderShippingAddressType.d.ts +2 -7
- package/dist/api/types/OrderShippingAddressType.js +2 -3
- package/dist/api/types/OrderStatus.d.ts +2 -7
- package/dist/api/types/OrderStatus.js +2 -3
- package/dist/api/types/OrderTotals.d.ts +1 -4
- package/dist/api/types/OrderTotals.js +1 -3
- package/dist/api/types/OrderTotalsExtrasItem.d.ts +1 -4
- package/dist/api/types/OrderTotalsExtrasItem.js +1 -3
- package/dist/api/types/OrderTotalsExtrasItemType.d.ts +2 -7
- package/dist/api/types/OrderTotalsExtrasItemType.js +2 -3
- package/dist/api/types/Page.d.ts +1 -4
- package/dist/api/types/Page.js +1 -3
- package/dist/api/types/PageCreatedWebhook.d.ts +1 -4
- package/dist/api/types/PageCreatedWebhook.js +1 -3
- package/dist/api/types/PageCreatedWebhookPayload.d.ts +0 -3
- package/dist/api/types/PageCreatedWebhookPayload.js +1 -3
- package/dist/api/types/PageDeletedWebhook.d.ts +1 -4
- package/dist/api/types/PageDeletedWebhook.js +1 -3
- package/dist/api/types/PageDeletedWebhookPayload.d.ts +0 -3
- package/dist/api/types/PageDeletedWebhookPayload.js +1 -3
- package/dist/api/types/PageList.d.ts +1 -4
- package/dist/api/types/PageList.js +1 -3
- package/dist/api/types/PageMetadataUpdatedWebhook.d.ts +1 -4
- package/dist/api/types/PageMetadataUpdatedWebhook.js +1 -3
- package/dist/api/types/PageMetadataUpdatedWebhookPayload.d.ts +0 -3
- package/dist/api/types/PageMetadataUpdatedWebhookPayload.js +1 -3
- package/dist/api/types/PageOpenGraph.d.ts +0 -3
- package/dist/api/types/PageOpenGraph.js +1 -3
- package/dist/api/types/PageSeo.d.ts +0 -3
- package/dist/api/types/PageSeo.js +1 -3
- package/dist/api/types/Pagination.d.ts +0 -3
- package/dist/api/types/Pagination.js +1 -3
- package/dist/api/types/Payload.d.ts +1 -4
- package/dist/api/types/Payload.js +1 -3
- package/dist/api/types/PayloadFieldData.d.ts +0 -3
- package/dist/api/types/PayloadFieldData.js +1 -3
- package/dist/api/types/PaypalDetails.d.ts +0 -3
- package/dist/api/types/PaypalDetails.js +1 -3
- package/dist/api/types/Product.d.ts +1 -4
- package/dist/api/types/Product.js +1 -3
- package/dist/api/types/ProductAndSkUs.d.ts +1 -4
- package/dist/api/types/ProductAndSkUs.js +1 -3
- package/dist/api/types/ProductAndSkUsList.d.ts +1 -4
- package/dist/api/types/ProductAndSkUsList.js +1 -3
- package/dist/api/types/ProductFieldData.d.ts +2 -5
- package/dist/api/types/ProductFieldData.js +1 -3
- package/dist/api/types/ProductFieldDataEcProductType.d.ts +2 -7
- package/dist/api/types/ProductFieldDataEcProductType.js +2 -3
- package/dist/api/types/ProductFieldDataTaxCategory.d.ts +2 -7
- package/dist/api/types/ProductFieldDataTaxCategory.js +2 -3
- package/dist/api/types/PublishStatus.d.ts +2 -7
- package/dist/api/types/PublishStatus.js +2 -3
- package/dist/api/types/Redirect.d.ts +0 -3
- package/dist/api/types/Redirect.js +1 -3
- package/dist/api/types/Redirects.d.ts +1 -4
- package/dist/api/types/Redirects.js +1 -3
- package/dist/api/types/ReferenceField.d.ts +1 -4
- package/dist/api/types/ReferenceField.js +1 -3
- package/dist/api/types/ReferenceFieldMetadata.d.ts +0 -3
- package/dist/api/types/ReferenceFieldMetadata.js +1 -3
- package/dist/api/types/ReferenceFieldType.d.ts +2 -7
- package/dist/api/types/ReferenceFieldType.js +2 -3
- package/dist/api/types/RegisteredScriptList.d.ts +1 -4
- package/dist/api/types/RegisteredScriptList.js +1 -3
- package/dist/api/types/Robots.d.ts +1 -4
- package/dist/api/types/Robots.js +1 -3
- package/dist/api/types/RobotsRulesItem.d.ts +0 -3
- package/dist/api/types/RobotsRulesItem.js +1 -3
- package/dist/api/types/ScriptApply.d.ts +1 -4
- package/dist/api/types/ScriptApply.js +1 -3
- package/dist/api/types/ScriptApplyList.d.ts +1 -4
- package/dist/api/types/ScriptApplyList.js +1 -3
- package/dist/api/types/ScriptApplyLocation.d.ts +2 -7
- package/dist/api/types/ScriptApplyLocation.js +2 -3
- package/dist/api/types/Scripts.d.ts +1 -4
- package/dist/api/types/Scripts.js +1 -3
- package/dist/api/types/SearchButtonNode.d.ts +0 -3
- package/dist/api/types/SearchButtonNode.js +1 -3
- package/dist/api/types/SearchButtonNodeWrite.d.ts +0 -3
- package/dist/api/types/SearchButtonNodeWrite.js +1 -3
- package/dist/api/types/Select.d.ts +1 -4
- package/dist/api/types/Select.js +1 -3
- package/dist/api/types/SelectNode.d.ts +1 -4
- package/dist/api/types/SelectNode.js +1 -3
- package/dist/api/types/SelectNodeChoicesItem.d.ts +0 -3
- package/dist/api/types/SelectNodeChoicesItem.js +1 -3
- package/dist/api/types/SelectNodeWriteChoicesItem.d.ts +0 -3
- package/dist/api/types/SelectNodeWriteChoicesItem.js +1 -3
- package/dist/api/types/SettingChange.d.ts +7 -0
- package/dist/api/types/SettingChange.js +3 -0
- package/dist/api/types/SettingChangeAuditLogItem.d.ts +5 -0
- package/dist/api/types/SettingChangeAuditLogItem.js +3 -0
- package/dist/api/types/SingleLocaleCreatedPayload.d.ts +1 -4
- package/dist/api/types/SingleLocaleCreatedPayload.js +1 -3
- package/dist/api/types/SingleLocaleCreatedPayloadFieldData.d.ts +0 -3
- package/dist/api/types/SingleLocaleCreatedPayloadFieldData.js +1 -3
- package/dist/api/types/Site.d.ts +1 -4
- package/dist/api/types/Site.js +1 -3
- package/dist/api/types/SiteActivityLogItem.d.ts +1 -4
- package/dist/api/types/SiteActivityLogItem.js +1 -3
- package/dist/api/types/SiteActivityLogItemEvent.d.ts +1 -4
- package/dist/api/types/SiteActivityLogItemEvent.js +1 -3
- package/dist/api/types/SiteActivityLogItemResourceOperation.d.ts +1 -4
- package/dist/api/types/SiteActivityLogItemResourceOperation.js +1 -3
- package/dist/api/types/SiteActivityLogItemUser.d.ts +0 -3
- package/dist/api/types/SiteActivityLogItemUser.js +1 -3
- package/dist/api/types/SiteActivityLogResponse.d.ts +1 -4
- package/dist/api/types/SiteActivityLogResponse.js +1 -3
- package/dist/api/types/SiteDataCollectionType.d.ts +2 -7
- package/dist/api/types/SiteDataCollectionType.js +2 -3
- package/dist/api/types/SiteMembership.d.ts +1 -4
- package/dist/api/types/SiteMembership.js +1 -3
- package/dist/api/types/SiteMembershipAuditLogItem.d.ts +1 -4
- package/dist/api/types/SiteMembershipAuditLogItem.js +1 -3
- package/dist/api/types/SiteMembershipAuditLogItemEventSubType.d.ts +1 -4
- package/dist/api/types/SiteMembershipAuditLogItemEventSubType.js +1 -3
- package/dist/api/types/SitePlan.d.ts +1 -4
- package/dist/api/types/SitePlan.js +1 -3
- package/dist/api/types/SitePlanId.d.ts +2 -7
- package/dist/api/types/SitePlanId.js +2 -3
- package/dist/api/types/SitePlanName.d.ts +2 -7
- package/dist/api/types/SitePlanName.js +2 -3
- package/dist/api/types/SitePublish.d.ts +1 -4
- package/dist/api/types/SitePublish.js +1 -3
- package/dist/api/types/SitePublishPayload.d.ts +0 -3
- package/dist/api/types/SitePublishPayload.js +1 -3
- package/dist/api/types/Sites.d.ts +1 -4
- package/dist/api/types/Sites.js +1 -3
- package/dist/api/types/Sku.d.ts +1 -4
- package/dist/api/types/Sku.js +1 -3
- package/dist/api/types/SkuFieldData.d.ts +1 -4
- package/dist/api/types/SkuFieldData.js +1 -3
- package/dist/api/types/SkuFieldDataCompareAtPrice.d.ts +0 -3
- package/dist/api/types/SkuFieldDataCompareAtPrice.js +1 -3
- package/dist/api/types/SkuFieldDataEcSkuBillingMethod.d.ts +2 -7
- package/dist/api/types/SkuFieldDataEcSkuBillingMethod.js +2 -3
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +1 -4
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlan.js +1 -3
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +2 -7
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanInterval.js +2 -3
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +1 -4
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js +1 -3
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +2 -7
- package/dist/api/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js +2 -3
- package/dist/api/types/SkuFieldDataPrice.d.ts +0 -3
- package/dist/api/types/SkuFieldDataPrice.js +1 -3
- package/dist/api/types/SkuPropertyList.d.ts +1 -4
- package/dist/api/types/SkuPropertyList.js +1 -3
- package/dist/api/types/SkuPropertyListEnumItem.d.ts +0 -3
- package/dist/api/types/SkuPropertyListEnumItem.js +1 -3
- package/dist/api/types/SkuValueList.d.ts +0 -3
- package/dist/api/types/SkuValueList.js +1 -3
- package/dist/api/types/StaticField.d.ts +1 -4
- package/dist/api/types/StaticField.js +1 -3
- package/dist/api/types/StaticFieldType.d.ts +2 -7
- package/dist/api/types/StaticFieldType.js +2 -3
- package/dist/api/types/StripeCard.d.ts +1 -4
- package/dist/api/types/StripeCard.js +1 -3
- package/dist/api/types/StripeCardBrand.d.ts +2 -7
- package/dist/api/types/StripeCardBrand.js +2 -3
- package/dist/api/types/StripeCardExpires.d.ts +0 -3
- package/dist/api/types/StripeCardExpires.js +1 -3
- package/dist/api/types/StripeDetails.d.ts +0 -3
- package/dist/api/types/StripeDetails.js +1 -3
- package/dist/api/types/SubmitButtonNode.d.ts +0 -3
- package/dist/api/types/SubmitButtonNode.js +1 -3
- package/dist/api/types/SubmitButtonNodeWrite.d.ts +0 -3
- package/dist/api/types/SubmitButtonNodeWrite.js +1 -3
- package/dist/api/types/Text.d.ts +0 -3
- package/dist/api/types/Text.js +1 -3
- package/dist/api/types/TextInputNode.d.ts +0 -3
- package/dist/api/types/TextInputNode.js +1 -3
- package/dist/api/types/TextInputNodeWrite.d.ts +0 -3
- package/dist/api/types/TextInputNodeWrite.js +1 -3
- package/dist/api/types/TextNode.d.ts +1 -4
- package/dist/api/types/TextNode.js +1 -3
- package/dist/api/types/TextNodeText.d.ts +0 -3
- package/dist/api/types/TextNodeText.js +1 -3
- package/dist/api/types/TextNodeWrite.d.ts +0 -3
- package/dist/api/types/TextNodeWrite.js +1 -3
- package/dist/api/types/TriggerType.d.ts +2 -10
- package/dist/api/types/TriggerType.js +2 -6
- package/dist/api/types/UpdatedOrder.d.ts +1 -4
- package/dist/api/types/UpdatedOrder.js +1 -3
- package/dist/api/types/UserAccess.d.ts +1 -4
- package/dist/api/types/UserAccess.js +1 -3
- package/dist/api/types/UserAccessAuditLogItem.d.ts +1 -4
- package/dist/api/types/UserAccessAuditLogItem.js +1 -3
- package/dist/api/types/UserAccessAuditLogItemEventSubType.d.ts +1 -4
- package/dist/api/types/UserAccessAuditLogItemEventSubType.js +1 -3
- package/dist/api/types/Webhook.d.ts +1 -4
- package/dist/api/types/Webhook.js +1 -3
- package/dist/api/types/WebhookFilter.d.ts +0 -3
- package/dist/api/types/WebhookFilter.js +1 -3
- package/dist/api/types/WebhookList.d.ts +1 -4
- package/dist/api/types/WebhookList.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItem.d.ts +5 -5
- package/dist/api/types/WorkspaceAuditLogItem.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItemActor.d.ts +0 -3
- package/dist/api/types/WorkspaceAuditLogItemActor.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +5 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.js +8 -0
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +0 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +1 -4
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.d.ts +0 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.d.ts +0 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.d.ts +1 -4
- package/dist/api/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadUserAccessMethod.d.ts +1 -4
- package/dist/api/types/WorkspaceAuditLogItemPayloadUserAccessMethod.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.d.ts +1 -4
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.d.ts +0 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +0 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.d.ts +1 -4
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +1 -4
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.d.ts +0 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.d.ts +1 -4
- package/dist/api/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.js +1 -3
- package/dist/api/types/WorkspaceAuditLogItemWorkspace.d.ts +0 -3
- package/dist/api/types/WorkspaceAuditLogItemWorkspace.js +1 -3
- package/dist/api/types/WorkspaceAuditLogResponse.d.ts +1 -4
- package/dist/api/types/WorkspaceAuditLogResponse.js +1 -3
- package/dist/api/types/WorkspaceInvitation.d.ts +1 -4
- package/dist/api/types/WorkspaceInvitation.js +1 -3
- package/dist/api/types/WorkspaceInvitationAuditLogItem.d.ts +1 -4
- package/dist/api/types/WorkspaceInvitationAuditLogItem.js +1 -3
- package/dist/api/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +1 -4
- package/dist/api/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -3
- package/dist/api/types/WorkspaceMembership.d.ts +1 -4
- package/dist/api/types/WorkspaceMembership.js +1 -3
- package/dist/api/types/WorkspaceMembershipAuditLogItem.d.ts +1 -4
- package/dist/api/types/WorkspaceMembershipAuditLogItem.js +1 -3
- package/dist/api/types/WorkspaceMembershipAuditLogItemEventSubType.d.ts +1 -4
- package/dist/api/types/WorkspaceMembershipAuditLogItemEventSubType.js +1 -3
- package/dist/api/types/index.d.ts +228 -238
- package/dist/api/types/index.js +228 -238
- package/dist/core/auth/AuthProvider.d.ts +4 -0
- package/dist/core/auth/AuthProvider.js +2 -0
- package/dist/core/auth/AuthRequest.d.ts +9 -0
- package/dist/core/auth/AuthRequest.js +2 -0
- package/dist/core/auth/BasicAuth.js +5 -4
- package/dist/core/auth/index.d.ts +2 -0
- package/dist/core/base64.d.ts +2 -0
- package/dist/core/base64.js +26 -0
- package/dist/core/fetcher/APIResponse.d.ts +1 -1
- package/dist/core/fetcher/BinaryResponse.d.ts +20 -0
- package/dist/core/fetcher/BinaryResponse.js +17 -0
- package/dist/core/fetcher/EndpointMetadata.d.ts +13 -0
- package/dist/core/fetcher/EndpointMetadata.js +2 -0
- package/dist/core/fetcher/EndpointSupplier.d.ts +12 -0
- package/dist/core/fetcher/EndpointSupplier.js +22 -0
- package/dist/core/fetcher/Fetcher.d.ts +7 -5
- package/dist/core/fetcher/Fetcher.js +9 -7
- package/dist/core/fetcher/HttpResponsePromise.d.ts +1 -1
- package/dist/core/fetcher/ResponseWithBody.d.ts +4 -0
- package/dist/core/fetcher/ResponseWithBody.js +6 -0
- package/dist/core/fetcher/createRequestUrl.d.ts +1 -1
- package/dist/core/fetcher/createRequestUrl.js +3 -7
- package/dist/core/fetcher/getErrorResponseBody.d.ts +1 -0
- package/dist/core/fetcher/getErrorResponseBody.js +45 -0
- package/dist/core/fetcher/getFetchFn.js +4 -4
- package/dist/core/fetcher/getResponseBody.js +34 -32
- package/dist/core/fetcher/index.d.ts +7 -4
- package/dist/core/fetcher/index.js +7 -5
- package/dist/core/fetcher/makeRequest.js +2 -2
- package/dist/core/fetcher/requestWithRetries.js +44 -8
- package/dist/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.d.ts +1 -1
- package/dist/core/fetcher/stream-wrappers/NodePre18StreamWrapper.d.ts +1 -1
- package/dist/core/fetcher/stream-wrappers/UndiciStreamWrapper.d.ts +1 -1
- package/dist/core/headers.d.ts +2 -3
- package/dist/core/index.d.ts +3 -1
- package/dist/core/index.js +4 -2
- package/dist/core/schemas/Schema.d.ts +1 -1
- package/dist/core/schemas/builders/bigint/bigint.d.ts +1 -1
- package/dist/core/schemas/builders/bigint/bigint.js +2 -2
- package/dist/core/schemas/builders/date/date.d.ts +1 -1
- package/dist/core/schemas/builders/date/date.js +2 -2
- package/dist/core/schemas/builders/enum/enum.d.ts +1 -1
- package/dist/core/schemas/builders/index.d.ts +14 -14
- package/dist/core/schemas/builders/index.js +14 -14
- package/dist/core/schemas/builders/lazy/index.d.ts +1 -1
- package/dist/core/schemas/builders/lazy/lazy.d.ts +1 -1
- package/dist/core/schemas/builders/lazy/lazy.js +2 -2
- package/dist/core/schemas/builders/lazy/lazyObject.d.ts +2 -2
- package/dist/core/schemas/builders/lazy/lazyObject.js +4 -4
- package/dist/core/schemas/builders/list/list.d.ts +1 -1
- package/dist/core/schemas/builders/list/list.js +2 -2
- package/dist/core/schemas/builders/literals/booleanLiteral.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.d.ts +1 -1
- package/dist/core/schemas/builders/literals/index.js +3 -3
- package/dist/core/schemas/builders/literals/stringLiteral.d.ts +1 -1
- package/dist/core/schemas/builders/object/index.d.ts +2 -2
- package/dist/core/schemas/builders/object/object.d.ts +1 -1
- package/dist/core/schemas/builders/object/object.js +5 -5
- package/dist/core/schemas/builders/object/objectWithoutOptionalProperties.d.ts +1 -1
- package/dist/core/schemas/builders/object/property.d.ts +1 -1
- package/dist/core/schemas/builders/object/types.d.ts +5 -5
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.d.ts +2 -2
- package/dist/core/schemas/builders/object-like/getObjectLikeUtils.js +2 -2
- package/dist/core/schemas/builders/object-like/types.d.ts +1 -1
- package/dist/core/schemas/builders/primitives/any.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/any.js +4 -1
- package/dist/core/schemas/builders/primitives/boolean.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/number.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/string.d.ts +2 -1
- package/dist/core/schemas/builders/primitives/unknown.d.ts +2 -1
- package/dist/core/schemas/builders/record/record.d.ts +2 -2
- package/dist/core/schemas/builders/record/record.js +3 -3
- package/dist/core/schemas/builders/record/types.d.ts +2 -2
- package/dist/core/schemas/builders/schema-utils/JsonError.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/ParseError.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/getSchemaUtils.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/index.d.ts +1 -1
- package/dist/core/schemas/builders/schema-utils/stringifyValidationErrors.d.ts +1 -1
- package/dist/core/schemas/builders/set/set.d.ts +1 -1
- package/dist/core/schemas/builders/set/set.js +4 -4
- package/dist/core/schemas/builders/undiscriminated-union/types.d.ts +1 -1
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.d.ts +2 -2
- package/dist/core/schemas/builders/undiscriminated-union/undiscriminatedUnion.js +2 -2
- package/dist/core/schemas/builders/union/index.d.ts +1 -1
- package/dist/core/schemas/builders/union/types.d.ts +2 -2
- package/dist/core/schemas/builders/union/union.d.ts +3 -3
- package/dist/core/schemas/builders/union/union.js +4 -4
- package/dist/core/schemas/index.d.ts +1 -1
- package/dist/core/schemas/index.js +1 -1
- package/dist/core/schemas/utils/createIdentitySchemaCreator.d.ts +1 -1
- package/dist/core/schemas/utils/createIdentitySchemaCreator.js +2 -2
- package/dist/core/schemas/utils/maybeSkipValidation.d.ts +1 -1
- package/dist/core/schemas/utils/maybeSkipValidation.js +1 -1
- package/dist/core/url/encodePathParam.d.ts +1 -0
- package/dist/core/url/encodePathParam.js +21 -0
- package/dist/core/url/index.d.ts +3 -0
- package/dist/core/url/index.js +9 -0
- package/dist/core/url/join.d.ts +1 -0
- package/dist/core/url/join.js +69 -0
- package/dist/core/url/qs.d.ts +6 -0
- package/dist/core/url/qs.js +64 -0
- package/dist/environments.d.ts +0 -3
- package/dist/environments.js +1 -3
- package/dist/errors/WebflowError.d.ts +1 -4
- package/dist/errors/WebflowError.js +2 -4
- package/dist/errors/WebflowTimeoutError.d.ts +0 -3
- package/dist/errors/WebflowTimeoutError.js +1 -3
- package/dist/serialization/resources/assets/client/requests/AssetsCreateFolderRequest.d.ts +2 -5
- package/dist/serialization/resources/assets/client/requests/AssetsCreateFolderRequest.js +1 -3
- package/dist/serialization/resources/assets/client/requests/AssetsCreateRequest.d.ts +2 -5
- package/dist/serialization/resources/assets/client/requests/AssetsCreateRequest.js +1 -3
- package/dist/serialization/resources/assets/client/requests/AssetsUpdateRequest.d.ts +2 -5
- package/dist/serialization/resources/assets/client/requests/AssetsUpdateRequest.js +1 -3
- package/dist/serialization/resources/assets/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/assets/client/requests/index.js +3 -3
- package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -5
- package/dist/serialization/resources/collections/client/requests/CollectionsCreateRequest.js +1 -3
- package/dist/serialization/resources/collections/index.d.ts +1 -1
- package/dist/serialization/resources/collections/index.js +1 -1
- package/dist/serialization/resources/collections/resources/fields/client/requests/FieldUpdate.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/fields/client/requests/FieldUpdate.js +1 -3
- package/dist/serialization/resources/collections/resources/index.d.ts +2 -2
- package/dist/serialization/resources/collections/resources/index.js +3 -3
- package/dist/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +1 -3
- package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.js +1 -3
- package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.js +1 -3
- package/dist/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.js +1 -3
- package/dist/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.js +1 -3
- package/dist/serialization/resources/collections/resources/items/client/requests/index.d.ts +3 -3
- package/dist/serialization/resources/collections/resources/items/client/requests/index.js +7 -7
- package/dist/serialization/resources/collections/resources/items/index.d.ts +1 -1
- package/dist/serialization/resources/collections/resources/items/index.js +1 -1
- package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +4 -7
- package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +3 -5
- package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts +11 -0
- package/{serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js → dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +3 -5
- package/dist/serialization/resources/collections/resources/items/types/ItemIDs.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/ItemIDs.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemIDsWithLocales.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/ItemIDsWithLocales.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestBody.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestBody.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemRequestBody.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/ItemsCreateItemRequestBody.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemRequest.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemRequest.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemRequestItemsItemsItem.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemRequestItemsItemsItem.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/ItemsUpdateItemsResponse.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/ItemsUpdateItemsResponse.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/MultipleItems.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/MultipleLiveItems.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/MultipleLiveItems.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/SingleCmsItem.d.ts +2 -5
- package/dist/serialization/resources/collections/resources/items/types/SingleCmsItem.js +1 -3
- package/dist/serialization/resources/collections/resources/items/types/index.d.ts +13 -13
- package/dist/serialization/resources/collections/resources/items/types/index.js +13 -13
- package/dist/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +2 -5
- package/dist/serialization/resources/components/client/requests/ComponentDomWrite.js +1 -3
- package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +2 -5
- package/dist/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +1 -3
- package/dist/serialization/resources/components/index.d.ts +1 -1
- package/dist/serialization/resources/components/index.js +1 -1
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -8
- package/dist/serialization/resources/components/types/ComponentDomWriteNodesItem.js +4 -6
- package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +2 -5
- package/dist/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +1 -3
- package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/ComponentsUpdateContentResponse.js +1 -3
- package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +2 -5
- package/dist/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +1 -3
- package/dist/serialization/resources/components/types/index.d.ts +1 -1
- package/dist/serialization/resources/components/types/index.js +1 -1
- package/dist/serialization/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +2 -5
- package/dist/serialization/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +1 -3
- package/dist/serialization/resources/index.d.ts +20 -25
- package/dist/serialization/resources/index.js +21 -26
- package/dist/serialization/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +2 -5
- package/dist/serialization/resources/inventory/client/requests/InventoryUpdateRequest.js +1 -3
- package/dist/serialization/resources/inventory/index.d.ts +1 -1
- package/dist/serialization/resources/inventory/index.js +1 -1
- package/dist/serialization/resources/inventory/types/EcommInventoryChangedPayload.d.ts +2 -5
- package/dist/serialization/resources/inventory/types/EcommInventoryChangedPayload.js +1 -3
- package/dist/serialization/resources/inventory/types/InventoryUpdateRequestInventoryType.d.ts +2 -5
- package/dist/serialization/resources/inventory/types/InventoryUpdateRequestInventoryType.js +1 -3
- package/dist/serialization/resources/inventory/types/index.d.ts +1 -1
- package/dist/serialization/resources/inventory/types/index.js +1 -1
- package/dist/serialization/resources/orders/client/requests/OrdersRefundRequest.d.ts +2 -5
- package/dist/serialization/resources/orders/client/requests/OrdersRefundRequest.js +1 -3
- package/dist/serialization/resources/orders/client/requests/OrdersUpdateFulfillRequest.d.ts +2 -5
- package/dist/serialization/resources/orders/client/requests/OrdersUpdateFulfillRequest.js +1 -3
- package/dist/serialization/resources/orders/client/requests/OrdersUpdateRequest.d.ts +2 -5
- package/dist/serialization/resources/orders/client/requests/OrdersUpdateRequest.js +1 -3
- package/dist/serialization/resources/orders/client/requests/index.d.ts +2 -2
- package/dist/serialization/resources/orders/client/requests/index.js +5 -5
- package/dist/serialization/resources/orders/index.d.ts +1 -1
- package/dist/serialization/resources/orders/index.js +1 -1
- package/dist/serialization/resources/orders/types/OrdersListRequestStatus.d.ts +2 -5
- package/dist/serialization/resources/orders/types/OrdersListRequestStatus.js +1 -3
- package/dist/serialization/resources/orders/types/OrdersRefundRequestReason.d.ts +2 -5
- package/dist/serialization/resources/orders/types/OrdersRefundRequestReason.js +1 -3
- package/dist/serialization/resources/pages/client/requests/PageDomWrite.d.ts +2 -5
- package/dist/serialization/resources/pages/client/requests/PageDomWrite.js +1 -3
- package/dist/serialization/resources/pages/client/requests/PageMetadataWrite.d.ts +3 -6
- package/dist/serialization/resources/pages/client/requests/PageMetadataWrite.js +2 -4
- package/dist/serialization/resources/pages/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/pages/client/requests/index.js +3 -3
- package/dist/serialization/resources/pages/index.d.ts +1 -1
- package/dist/serialization/resources/pages/index.js +1 -1
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -8
- package/dist/serialization/resources/pages/types/PageDomWriteNodesItem.js +4 -6
- package/dist/serialization/resources/pages/types/PageMetadataWriteOpenGraph.d.ts +2 -5
- package/dist/serialization/resources/pages/types/PageMetadataWriteOpenGraph.js +1 -3
- package/dist/serialization/resources/pages/types/PageMetadataWriteSeo.d.ts +2 -5
- package/dist/serialization/resources/pages/types/PageMetadataWriteSeo.js +1 -3
- package/dist/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +2 -5
- package/dist/serialization/resources/pages/types/UpdateStaticContentResponse.js +1 -3
- package/dist/serialization/resources/pages/types/index.d.ts +2 -2
- package/dist/serialization/resources/pages/types/index.js +2 -2
- package/dist/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +2 -5
- package/dist/serialization/resources/products/client/requests/ProductSkuCreate.js +1 -3
- package/dist/serialization/resources/products/client/requests/ProductSkuUpdate.d.ts +3 -6
- package/dist/serialization/resources/products/client/requests/ProductSkuUpdate.js +2 -4
- package/dist/serialization/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +2 -5
- package/dist/serialization/resources/products/client/requests/ProductsCreateSkuRequest.js +1 -3
- package/dist/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +2 -5
- package/dist/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.js +1 -3
- package/dist/serialization/resources/products/index.d.ts +1 -1
- package/dist/serialization/resources/products/index.js +1 -1
- package/dist/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +2 -5
- package/dist/serialization/resources/products/types/ProductSkuCreateProduct.js +1 -3
- package/dist/serialization/resources/products/types/ProductSkuCreateSku.d.ts +2 -5
- package/dist/serialization/resources/products/types/ProductSkuCreateSku.js +1 -3
- package/dist/serialization/resources/products/types/ProductsCreateSkuResponse.d.ts +2 -5
- package/dist/serialization/resources/products/types/ProductsCreateSkuResponse.js +1 -3
- package/dist/serialization/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +2 -5
- package/dist/serialization/resources/scripts/client/requests/CustomCodeHostedRequest.js +1 -3
- package/dist/serialization/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +2 -5
- package/dist/serialization/resources/scripts/client/requests/CustomCodeInlineRequest.js +1 -3
- package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +2 -5
- package/dist/serialization/resources/sites/client/requests/SitesCreateRequest.js +1 -3
- package/dist/serialization/resources/sites/client/requests/SitesPublishRequest.d.ts +2 -5
- package/dist/serialization/resources/sites/client/requests/SitesPublishRequest.js +1 -3
- package/dist/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +2 -5
- package/dist/serialization/resources/sites/client/requests/SitesUpdateRequest.js +1 -3
- package/dist/serialization/resources/sites/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/sites/client/requests/index.js +3 -3
- package/dist/serialization/resources/sites/index.d.ts +2 -2
- package/dist/serialization/resources/sites/index.js +2 -2
- package/dist/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.d.ts +2 -5
- package/dist/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.js +1 -3
- package/dist/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.d.ts +2 -5
- package/dist/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.js +1 -3
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.d.ts +2 -5
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.js +1 -3
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.d.ts +2 -5
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.js +1 -3
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.d.ts +2 -5
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.js +1 -3
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.d.ts +2 -5
- package/dist/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.js +1 -3
- package/dist/serialization/resources/sites/resources/comments/types/index.d.ts +2 -2
- package/dist/serialization/resources/sites/resources/comments/types/index.js +2 -2
- package/dist/{api/resources/accessGroups → serialization/resources/sites/resources/forms}/client/index.d.ts +0 -1
- package/dist/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +9 -0
- package/dist/serialization/resources/{users/client/requests/UsersInviteRequest.js → sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js} +5 -8
- package/dist/serialization/resources/sites/resources/forms/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/sites/resources/forms/client/requests/index.js +5 -0
- package/{api/resources/accessGroups → dist/serialization/resources/sites/resources/forms}/index.d.ts +0 -1
- package/{api/resources/accessGroups → dist/serialization/resources/sites/resources/forms}/index.js +0 -1
- package/dist/serialization/resources/sites/resources/index.d.ts +4 -2
- package/dist/serialization/resources/sites/resources/index.js +5 -3
- package/dist/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.d.ts +2 -5
- package/dist/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.js +1 -3
- package/dist/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +2 -5
- package/dist/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownFile.js +1 -3
- package/dist/serialization/resources/sites/resources/wellKnown/client/requests/index.d.ts +1 -1
- package/dist/serialization/resources/sites/resources/wellKnown/client/requests/index.js +3 -3
- package/dist/serialization/resources/sites/resources/wellKnown/index.d.ts +1 -1
- package/dist/serialization/resources/sites/resources/wellKnown/index.js +1 -1
- package/dist/serialization/resources/sites/resources/wellKnown/types/WellKnownFileContentType.d.ts +2 -5
- package/dist/serialization/resources/sites/resources/wellKnown/types/WellKnownFileContentType.js +1 -3
- package/dist/serialization/resources/sites/types/SitesPublishResponse.d.ts +2 -5
- package/dist/serialization/resources/sites/types/SitesPublishResponse.js +1 -3
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +3 -6
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +2 -3
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.d.ts +2 -5
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.js +1 -3
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/index.d.ts +1 -1
- package/dist/serialization/resources/workspaces/resources/auditLogs/types/index.js +1 -1
- package/dist/serialization/types/Application.d.ts +2 -5
- package/dist/serialization/types/Application.js +1 -3
- package/dist/serialization/types/Asset.d.ts +2 -5
- package/dist/serialization/types/Asset.js +1 -3
- package/dist/serialization/types/AssetFolder.d.ts +2 -5
- package/dist/serialization/types/AssetFolder.js +1 -3
- package/dist/serialization/types/AssetFolderList.d.ts +2 -5
- package/dist/serialization/types/AssetFolderList.js +1 -3
- package/dist/serialization/types/AssetUpload.d.ts +2 -5
- package/dist/serialization/types/AssetUpload.js +1 -3
- package/dist/serialization/types/AssetUploadUploadDetails.d.ts +2 -5
- package/dist/serialization/types/AssetUploadUploadDetails.js +1 -3
- package/dist/serialization/types/AssetVariant.d.ts +2 -5
- package/dist/serialization/types/AssetVariant.js +1 -3
- package/dist/serialization/types/Assets.d.ts +2 -5
- package/dist/serialization/types/Assets.js +1 -3
- package/dist/serialization/types/Authorization.d.ts +3 -6
- package/dist/serialization/types/Authorization.js +2 -4
- package/dist/serialization/types/AuthorizationAuthorization.d.ts +2 -5
- package/dist/serialization/types/AuthorizationAuthorization.js +1 -3
- package/dist/serialization/types/AuthorizationAuthorizationAuthorizedTo.d.ts +2 -5
- package/dist/serialization/types/AuthorizationAuthorizationAuthorizedTo.js +1 -3
- package/dist/serialization/types/AuthorizedUser.d.ts +2 -5
- package/dist/serialization/types/AuthorizedUser.js +1 -3
- package/dist/serialization/types/BadRequestErrorBody.d.ts +2 -5
- package/dist/serialization/types/BadRequestErrorBody.js +1 -3
- package/dist/serialization/types/BulkCollectionItem.d.ts +2 -5
- package/dist/serialization/types/BulkCollectionItem.js +1 -3
- package/dist/serialization/types/BulkCollectionItemFieldData.d.ts +2 -5
- package/dist/serialization/types/BulkCollectionItemFieldData.js +1 -3
- package/dist/serialization/types/Collection.d.ts +2 -5
- package/dist/serialization/types/Collection.js +1 -3
- package/dist/serialization/types/CollectionItem.d.ts +2 -5
- package/dist/serialization/types/CollectionItem.js +1 -3
- package/dist/serialization/types/CollectionItemChanged.d.ts +2 -5
- package/dist/serialization/types/CollectionItemChanged.js +1 -3
- package/dist/serialization/types/CollectionItemCreated.d.ts +2 -5
- package/dist/serialization/types/CollectionItemCreated.js +1 -3
- package/dist/serialization/types/CollectionItemFieldData.d.ts +2 -5
- package/dist/serialization/types/CollectionItemFieldData.js +1 -3
- package/dist/serialization/types/CollectionItemList.d.ts +2 -5
- package/dist/serialization/types/CollectionItemList.js +1 -3
- package/dist/serialization/types/CollectionItemListNoPagination.d.ts +2 -5
- package/dist/serialization/types/CollectionItemListNoPagination.js +1 -3
- package/dist/serialization/types/CollectionItemListPagination.d.ts +2 -5
- package/dist/serialization/types/CollectionItemListPagination.js +1 -3
- package/dist/serialization/types/CollectionItemPatchSingle.d.ts +2 -5
- package/dist/serialization/types/CollectionItemPatchSingle.js +1 -3
- package/dist/serialization/types/CollectionItemPatchSingleFieldData.d.ts +2 -5
- package/dist/serialization/types/CollectionItemPatchSingleFieldData.js +1 -3
- package/dist/serialization/types/CollectionItemPostSingle.d.ts +2 -5
- package/dist/serialization/types/CollectionItemPostSingle.js +1 -3
- package/dist/serialization/types/CollectionItemPostSingleFieldData.d.ts +2 -5
- package/dist/serialization/types/CollectionItemPostSingleFieldData.js +1 -3
- package/dist/serialization/types/CollectionItemPublished.d.ts +2 -5
- package/dist/serialization/types/CollectionItemPublished.js +1 -3
- package/dist/serialization/types/CollectionItemRemoved.d.ts +2 -5
- package/dist/serialization/types/CollectionItemRemoved.js +1 -3
- package/dist/serialization/types/CollectionItemRemovedPayload.d.ts +2 -5
- package/dist/serialization/types/CollectionItemRemovedPayload.js +1 -3
- package/dist/serialization/types/CollectionItemRemovedPayloadFieldData.d.ts +2 -5
- package/dist/serialization/types/CollectionItemRemovedPayloadFieldData.js +1 -3
- package/dist/serialization/types/CollectionItemUnpublished.d.ts +2 -5
- package/dist/serialization/types/CollectionItemUnpublished.js +1 -3
- package/dist/serialization/types/CollectionItemUnpublishedPayload.d.ts +2 -5
- package/dist/serialization/types/CollectionItemUnpublishedPayload.js +1 -3
- package/dist/serialization/types/CollectionItemUnpublishedPayloadFieldData.d.ts +2 -5
- package/dist/serialization/types/CollectionItemUnpublishedPayloadFieldData.js +1 -3
- package/dist/serialization/types/CollectionItemWithIdInput.d.ts +2 -5
- package/dist/serialization/types/CollectionItemWithIdInput.js +1 -3
- package/dist/serialization/types/CollectionItemWithIdInputFieldData.d.ts +2 -5
- package/dist/serialization/types/CollectionItemWithIdInputFieldData.js +1 -3
- package/dist/serialization/types/CollectionList.d.ts +2 -5
- package/dist/serialization/types/CollectionList.js +1 -3
- package/dist/serialization/types/CollectionListArrayItem.d.ts +2 -5
- package/dist/serialization/types/CollectionListArrayItem.js +1 -3
- package/dist/serialization/types/Comment.d.ts +2 -5
- package/dist/serialization/types/Comment.js +1 -3
- package/dist/serialization/types/CommentPayload.d.ts +2 -5
- package/dist/serialization/types/CommentPayload.js +1 -3
- package/dist/serialization/types/CommentPayloadAuthor.d.ts +2 -5
- package/dist/serialization/types/CommentPayloadAuthor.js +1 -3
- package/dist/serialization/types/CommentPayloadMentionedUsersItem.d.ts +2 -5
- package/dist/serialization/types/CommentPayloadMentionedUsersItem.js +1 -3
- package/dist/serialization/types/CommentReply.d.ts +2 -5
- package/dist/serialization/types/CommentReply.js +1 -3
- package/dist/serialization/types/CommentReplyAuthor.d.ts +2 -5
- package/dist/serialization/types/CommentReplyAuthor.js +1 -3
- package/dist/serialization/types/CommentReplyList.d.ts +2 -5
- package/dist/serialization/types/CommentReplyList.js +1 -3
- package/dist/serialization/types/CommentReplyListPagination.d.ts +2 -5
- package/dist/serialization/types/CommentReplyListPagination.js +1 -3
- package/dist/serialization/types/CommentReplyMentionedUsersItem.d.ts +2 -5
- package/dist/serialization/types/CommentReplyMentionedUsersItem.js +1 -3
- package/dist/serialization/types/CommentThread.d.ts +2 -5
- package/dist/serialization/types/CommentThread.js +1 -3
- package/dist/serialization/types/CommentThreadAuthor.d.ts +2 -5
- package/dist/serialization/types/CommentThreadAuthor.js +1 -3
- package/dist/serialization/types/CommentThreadList.d.ts +2 -5
- package/dist/serialization/types/CommentThreadList.js +1 -3
- package/dist/serialization/types/CommentThreadListPagination.d.ts +2 -5
- package/dist/serialization/types/CommentThreadListPagination.js +1 -3
- package/dist/serialization/types/CommentThreadMentionedUsersItem.d.ts +2 -5
- package/dist/serialization/types/CommentThreadMentionedUsersItem.js +1 -3
- package/dist/serialization/types/Component.d.ts +2 -5
- package/dist/serialization/types/Component.js +1 -3
- package/dist/serialization/types/ComponentDom.d.ts +2 -5
- package/dist/serialization/types/ComponentDom.js +1 -3
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +2 -5
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js +1 -3
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +2 -5
- package/dist/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +1 -3
- package/dist/serialization/types/ComponentList.d.ts +2 -5
- package/dist/serialization/types/ComponentList.js +1 -3
- package/dist/serialization/types/ComponentNode.d.ts +2 -5
- package/dist/serialization/types/ComponentNode.js +1 -3
- package/dist/serialization/types/ComponentProperties.d.ts +2 -5
- package/dist/serialization/types/ComponentProperties.js +1 -3
- package/dist/serialization/types/ComponentProperty.d.ts +2 -5
- package/dist/serialization/types/ComponentProperty.js +1 -3
- package/dist/serialization/types/ComponentPropertyType.d.ts +2 -5
- package/dist/serialization/types/ComponentPropertyType.js +1 -3
- package/dist/serialization/types/Conflict.d.ts +2 -5
- package/dist/serialization/types/Conflict.js +1 -3
- package/dist/serialization/types/CustomCodeBlock.d.ts +2 -5
- package/dist/serialization/types/CustomCodeBlock.js +1 -3
- package/dist/serialization/types/CustomCodeBlockType.d.ts +2 -5
- package/dist/serialization/types/CustomCodeBlockType.js +1 -3
- package/dist/serialization/types/CustomCodeHostedResponse.d.ts +2 -5
- package/dist/serialization/types/CustomCodeHostedResponse.js +1 -3
- package/dist/serialization/types/CustomCodeInlineResponse.d.ts +2 -5
- package/dist/serialization/types/CustomCodeInlineResponse.js +1 -3
- package/dist/serialization/types/CustomRole.d.ts +2 -5
- package/dist/serialization/types/CustomRole.js +1 -3
- package/dist/serialization/types/CustomRoleAuditLogItem.d.ts +3 -6
- package/dist/serialization/types/CustomRoleAuditLogItem.js +2 -4
- package/dist/serialization/types/CustomRoleAuditLogItemEventSubType.d.ts +2 -5
- package/dist/serialization/types/CustomRoleAuditLogItemEventSubType.js +1 -3
- package/dist/serialization/types/Dom.d.ts +2 -5
- package/dist/serialization/types/Dom.js +1 -3
- package/dist/serialization/types/Domain.d.ts +2 -5
- package/dist/serialization/types/Domain.js +1 -3
- package/dist/serialization/types/Domains.d.ts +2 -5
- package/dist/serialization/types/Domains.js +1 -3
- package/dist/serialization/types/EcommerceSettings.d.ts +2 -5
- package/dist/serialization/types/EcommerceSettings.js +1 -3
- package/dist/serialization/types/ErrorCode.d.ts +2 -5
- package/dist/serialization/types/ErrorCode.js +1 -3
- package/dist/serialization/types/Error_.d.ts +2 -5
- package/dist/serialization/types/Error_.js +1 -3
- package/dist/serialization/types/Field.d.ts +2 -5
- package/dist/serialization/types/Field.js +1 -3
- package/dist/serialization/types/FieldCreate.d.ts +3 -6
- package/dist/serialization/types/FieldCreate.js +2 -4
- package/dist/serialization/types/FieldType.d.ts +2 -5
- package/dist/serialization/types/FieldType.js +1 -3
- package/dist/serialization/types/FieldValidations.d.ts +2 -5
- package/dist/serialization/types/FieldValidations.js +1 -3
- package/dist/serialization/types/FieldValidationsAdditionalProperties.d.ts +2 -5
- package/dist/serialization/types/FieldValidationsAdditionalProperties.js +1 -3
- package/dist/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.d.ts +2 -5
- package/dist/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.js +1 -3
- package/dist/serialization/types/ForbiddenErrorBody.d.ts +4 -7
- package/dist/serialization/types/ForbiddenErrorBody.js +3 -5
- package/dist/serialization/types/Form.d.ts +2 -5
- package/dist/serialization/types/Form.js +1 -3
- package/dist/serialization/types/FormField.d.ts +2 -5
- package/dist/serialization/types/FormField.js +1 -3
- package/dist/serialization/types/FormFieldValue.d.ts +2 -5
- package/dist/serialization/types/FormFieldValue.js +1 -3
- package/dist/serialization/types/FormFieldValueType.d.ts +2 -5
- package/dist/serialization/types/FormFieldValueType.js +1 -3
- package/dist/serialization/types/FormList.d.ts +2 -5
- package/dist/serialization/types/FormList.js +1 -3
- package/dist/serialization/types/FormResponseSettings.d.ts +2 -5
- package/dist/serialization/types/FormResponseSettings.js +1 -3
- package/dist/serialization/types/FormSubmission.d.ts +2 -5
- package/dist/serialization/types/FormSubmission.js +1 -3
- package/dist/serialization/types/FormSubmissionList.d.ts +2 -5
- package/dist/serialization/types/FormSubmissionList.js +1 -3
- package/dist/serialization/types/FormSubmissionTrigger.d.ts +2 -5
- package/dist/serialization/types/FormSubmissionTrigger.js +1 -3
- package/dist/serialization/types/FormSubmissionTriggerPayload.d.ts +2 -5
- package/dist/serialization/types/FormSubmissionTriggerPayload.js +1 -3
- package/dist/serialization/types/FormSubmissionTriggerPayloadSchemaItem.d.ts +2 -5
- package/dist/serialization/types/FormSubmissionTriggerPayloadSchemaItem.js +1 -3
- package/dist/serialization/types/FormSubmissionTriggerPayloadSchemaItemFieldType.d.ts +2 -5
- package/dist/serialization/types/FormSubmissionTriggerPayloadSchemaItemFieldType.js +1 -3
- package/dist/serialization/types/ImageNode.d.ts +2 -5
- package/dist/serialization/types/ImageNode.js +1 -3
- package/dist/serialization/types/ImageNodeImage.d.ts +2 -5
- package/dist/serialization/types/ImageNodeImage.js +1 -3
- package/dist/serialization/types/InvalidDomain.d.ts +2 -5
- package/dist/serialization/types/InvalidDomain.js +1 -3
- package/dist/serialization/types/InvalidScopes.d.ts +2 -5
- package/dist/serialization/types/InvalidScopes.js +1 -3
- package/dist/serialization/types/InventoryItem.d.ts +2 -5
- package/dist/serialization/types/InventoryItem.js +1 -3
- package/dist/serialization/types/InventoryItemInventoryType.d.ts +2 -5
- package/dist/serialization/types/InventoryItemInventoryType.js +1 -3
- package/dist/serialization/types/ItemsListItemsLiveRequestLastPublished.d.ts +2 -5
- package/dist/serialization/types/ItemsListItemsLiveRequestLastPublished.js +1 -3
- package/dist/serialization/types/ItemsListItemsRequestLastPublished.d.ts +2 -5
- package/dist/serialization/types/ItemsListItemsRequestLastPublished.js +1 -3
- package/dist/serialization/types/ListCustomCodeBlocks.d.ts +2 -5
- package/dist/serialization/types/ListCustomCodeBlocks.js +1 -3
- package/dist/serialization/types/Locale.d.ts +2 -5
- package/dist/serialization/types/Locale.js +1 -3
- package/dist/serialization/types/Locales.d.ts +2 -5
- package/dist/serialization/types/Locales.js +1 -3
- package/dist/serialization/types/Metadata.d.ts +2 -5
- package/dist/serialization/types/Metadata.js +1 -3
- package/dist/serialization/types/MetadataOptionsItem.d.ts +2 -5
- package/dist/serialization/types/MetadataOptionsItem.js +1 -3
- package/dist/serialization/types/NewOrder.d.ts +2 -5
- package/dist/serialization/types/NewOrder.js +1 -3
- package/dist/serialization/types/NoDomains.d.ts +2 -5
- package/dist/serialization/types/NoDomains.js +1 -3
- package/dist/serialization/types/Node.d.ts +6 -9
- package/dist/serialization/types/Node.js +5 -7
- package/dist/serialization/types/NotEnterprisePlanSite.d.ts +2 -5
- package/dist/serialization/types/NotEnterprisePlanSite.js +1 -3
- package/dist/serialization/types/NotEnterprisePlanWorkspace.d.ts +2 -5
- package/dist/serialization/types/NotEnterprisePlanWorkspace.js +1 -3
- package/dist/serialization/types/OptionField.d.ts +2 -5
- package/dist/serialization/types/OptionField.js +1 -3
- package/dist/serialization/types/Order.d.ts +11 -14
- package/dist/serialization/types/Order.js +10 -12
- package/dist/serialization/types/OrderAddress.d.ts +3 -6
- package/dist/serialization/types/OrderAddress.js +2 -4
- package/dist/serialization/types/OrderAddressJapanType.d.ts +2 -5
- package/dist/serialization/types/OrderAddressJapanType.js +1 -3
- package/dist/serialization/types/OrderAddressType.d.ts +2 -5
- package/dist/serialization/types/OrderAddressType.js +1 -3
- package/dist/serialization/types/OrderBillingAddress.d.ts +3 -6
- package/dist/serialization/types/OrderBillingAddress.js +2 -4
- package/dist/serialization/types/OrderBillingAddressJapanType.d.ts +2 -5
- package/dist/serialization/types/OrderBillingAddressJapanType.js +1 -3
- package/dist/serialization/types/OrderBillingAddressType.d.ts +2 -5
- package/dist/serialization/types/OrderBillingAddressType.js +1 -3
- package/dist/serialization/types/OrderCustomerInfo.d.ts +2 -5
- package/dist/serialization/types/OrderCustomerInfo.js +1 -3
- package/dist/serialization/types/OrderDisputeLastStatus.d.ts +2 -5
- package/dist/serialization/types/OrderDisputeLastStatus.js +1 -3
- package/dist/serialization/types/OrderDownloadFilesItem.d.ts +2 -5
- package/dist/serialization/types/OrderDownloadFilesItem.js +1 -3
- package/dist/serialization/types/OrderList.d.ts +2 -5
- package/dist/serialization/types/OrderList.js +1 -3
- package/dist/serialization/types/OrderMetadata.d.ts +2 -5
- package/dist/serialization/types/OrderMetadata.js +1 -3
- package/dist/serialization/types/OrderPrice.d.ts +2 -5
- package/dist/serialization/types/OrderPrice.js +1 -3
- package/dist/serialization/types/OrderPurchasedItem.d.ts +2 -5
- package/dist/serialization/types/OrderPurchasedItem.js +1 -3
- package/dist/serialization/types/OrderPurchasedItemVariantImage.d.ts +2 -5
- package/dist/serialization/types/OrderPurchasedItemVariantImage.js +1 -3
- package/dist/serialization/types/OrderPurchasedItemVariantImageFile.d.ts +2 -5
- package/dist/serialization/types/OrderPurchasedItemVariantImageFile.js +1 -3
- package/dist/serialization/types/OrderPurchasedItemVariantImageFileVariantsItem.d.ts +2 -5
- package/dist/serialization/types/OrderPurchasedItemVariantImageFileVariantsItem.js +1 -3
- package/dist/serialization/types/OrderShippingAddress.d.ts +3 -6
- package/dist/serialization/types/OrderShippingAddress.js +2 -4
- package/dist/serialization/types/OrderShippingAddressJapanType.d.ts +2 -5
- package/dist/serialization/types/OrderShippingAddressJapanType.js +1 -3
- package/dist/serialization/types/OrderShippingAddressType.d.ts +2 -5
- package/dist/serialization/types/OrderShippingAddressType.js +1 -3
- package/dist/serialization/types/OrderStatus.d.ts +2 -5
- package/dist/serialization/types/OrderStatus.js +1 -3
- package/dist/serialization/types/OrderTotals.d.ts +2 -5
- package/dist/serialization/types/OrderTotals.js +1 -3
- package/dist/serialization/types/OrderTotalsExtrasItem.d.ts +3 -6
- package/dist/serialization/types/OrderTotalsExtrasItem.js +2 -4
- package/dist/serialization/types/OrderTotalsExtrasItemType.d.ts +2 -5
- package/dist/serialization/types/OrderTotalsExtrasItemType.js +1 -3
- package/dist/serialization/types/Page.d.ts +3 -6
- package/dist/serialization/types/Page.js +2 -4
- package/dist/serialization/types/PageCreatedWebhook.d.ts +2 -5
- package/dist/serialization/types/PageCreatedWebhook.js +1 -3
- package/dist/serialization/types/PageCreatedWebhookPayload.d.ts +2 -5
- package/dist/serialization/types/PageCreatedWebhookPayload.js +1 -3
- package/dist/serialization/types/PageDeletedWebhook.d.ts +2 -5
- package/dist/serialization/types/PageDeletedWebhook.js +1 -3
- package/dist/serialization/types/PageDeletedWebhookPayload.d.ts +2 -5
- package/dist/serialization/types/PageDeletedWebhookPayload.js +1 -3
- package/dist/serialization/types/PageList.d.ts +2 -5
- package/dist/serialization/types/PageList.js +1 -3
- package/dist/serialization/types/PageMetadataUpdatedWebhook.d.ts +2 -5
- package/dist/serialization/types/PageMetadataUpdatedWebhook.js +1 -3
- package/dist/serialization/types/PageMetadataUpdatedWebhookPayload.d.ts +2 -5
- package/dist/serialization/types/PageMetadataUpdatedWebhookPayload.js +1 -3
- package/dist/serialization/types/PageOpenGraph.d.ts +2 -5
- package/dist/serialization/types/PageOpenGraph.js +1 -3
- package/dist/serialization/types/PageSeo.d.ts +2 -5
- package/dist/serialization/types/PageSeo.js +1 -3
- package/dist/serialization/types/Pagination.d.ts +2 -5
- package/dist/serialization/types/Pagination.js +1 -3
- package/dist/serialization/types/Payload.d.ts +2 -5
- package/dist/serialization/types/Payload.js +1 -3
- package/dist/serialization/types/PayloadFieldData.d.ts +2 -5
- package/dist/serialization/types/PayloadFieldData.js +1 -3
- package/dist/serialization/types/PaypalDetails.d.ts +2 -5
- package/dist/serialization/types/PaypalDetails.js +1 -3
- package/dist/serialization/types/Product.d.ts +2 -5
- package/dist/serialization/types/Product.js +1 -3
- package/dist/serialization/types/ProductAndSkUs.d.ts +2 -5
- package/dist/serialization/types/ProductAndSkUs.js +1 -3
- package/dist/serialization/types/ProductAndSkUsList.d.ts +3 -6
- package/dist/serialization/types/ProductAndSkUsList.js +2 -4
- package/dist/serialization/types/ProductFieldData.d.ts +4 -7
- package/dist/serialization/types/ProductFieldData.js +3 -5
- package/dist/serialization/types/ProductFieldDataEcProductType.d.ts +2 -5
- package/dist/serialization/types/ProductFieldDataEcProductType.js +1 -3
- package/dist/serialization/types/ProductFieldDataTaxCategory.d.ts +2 -5
- package/dist/serialization/types/ProductFieldDataTaxCategory.js +1 -3
- package/dist/serialization/types/PublishStatus.d.ts +2 -5
- package/dist/serialization/types/PublishStatus.js +1 -3
- package/dist/serialization/types/Redirect.d.ts +2 -5
- package/dist/serialization/types/Redirect.js +1 -3
- package/dist/serialization/types/Redirects.d.ts +3 -6
- package/dist/serialization/types/Redirects.js +2 -4
- package/dist/serialization/types/ReferenceField.d.ts +3 -6
- package/dist/serialization/types/ReferenceField.js +2 -4
- package/dist/serialization/types/ReferenceFieldMetadata.d.ts +2 -5
- package/dist/serialization/types/ReferenceFieldMetadata.js +1 -3
- package/dist/serialization/types/ReferenceFieldType.d.ts +2 -5
- package/dist/serialization/types/ReferenceFieldType.js +1 -3
- package/dist/serialization/types/RegisteredScriptList.d.ts +2 -5
- package/dist/serialization/types/RegisteredScriptList.js +1 -3
- package/dist/serialization/types/Robots.d.ts +2 -5
- package/dist/serialization/types/Robots.js +1 -3
- package/dist/serialization/types/RobotsRulesItem.d.ts +2 -5
- package/dist/serialization/types/RobotsRulesItem.js +1 -3
- package/dist/serialization/types/ScriptApply.d.ts +2 -5
- package/dist/serialization/types/ScriptApply.js +1 -3
- package/dist/serialization/types/ScriptApplyList.d.ts +2 -5
- package/dist/serialization/types/ScriptApplyList.js +1 -3
- package/dist/serialization/types/ScriptApplyLocation.d.ts +2 -5
- package/dist/serialization/types/ScriptApplyLocation.js +1 -3
- package/dist/serialization/types/Scripts.d.ts +2 -5
- package/dist/serialization/types/Scripts.js +1 -3
- package/dist/serialization/types/SearchButtonNode.d.ts +2 -5
- package/dist/serialization/types/SearchButtonNode.js +1 -3
- package/dist/serialization/types/SearchButtonNodeWrite.d.ts +2 -5
- package/dist/serialization/types/SearchButtonNodeWrite.js +1 -3
- package/dist/serialization/types/Select.d.ts +2 -5
- package/dist/serialization/types/Select.js +1 -3
- package/dist/serialization/types/SelectNode.d.ts +2 -5
- package/dist/serialization/types/SelectNode.js +1 -3
- package/dist/serialization/types/SelectNodeChoicesItem.d.ts +2 -5
- package/dist/serialization/types/SelectNodeChoicesItem.js +1 -3
- package/dist/serialization/types/SelectNodeWriteChoicesItem.d.ts +2 -5
- package/dist/serialization/types/SelectNodeWriteChoicesItem.js +1 -3
- package/dist/serialization/types/SettingChange.d.ts +13 -0
- package/dist/serialization/types/{AccessGroup.js → SettingChange.js} +8 -10
- package/dist/serialization/types/SettingChangeAuditLogItem.d.ts +11 -0
- package/{serialization/types/UserData.js → dist/serialization/types/SettingChangeAuditLogItem.js} +6 -7
- package/dist/serialization/types/SingleLocaleCreatedPayload.d.ts +2 -5
- package/dist/serialization/types/SingleLocaleCreatedPayload.js +1 -3
- package/dist/serialization/types/SingleLocaleCreatedPayloadFieldData.d.ts +2 -5
- package/dist/serialization/types/SingleLocaleCreatedPayloadFieldData.js +1 -3
- package/dist/serialization/types/Site.d.ts +2 -5
- package/dist/serialization/types/Site.js +1 -3
- package/dist/serialization/types/SiteActivityLogItem.d.ts +2 -5
- package/dist/serialization/types/SiteActivityLogItem.js +1 -3
- package/dist/serialization/types/SiteActivityLogItemEvent.d.ts +2 -5
- package/dist/serialization/types/SiteActivityLogItemEvent.js +1 -3
- package/dist/serialization/types/SiteActivityLogItemResourceOperation.d.ts +2 -5
- package/dist/serialization/types/SiteActivityLogItemResourceOperation.js +1 -3
- package/dist/serialization/types/SiteActivityLogItemUser.d.ts +2 -5
- package/dist/serialization/types/SiteActivityLogItemUser.js +1 -3
- package/dist/serialization/types/SiteActivityLogResponse.d.ts +3 -6
- package/dist/serialization/types/SiteActivityLogResponse.js +2 -4
- package/dist/serialization/types/SiteDataCollectionType.d.ts +2 -5
- package/dist/serialization/types/SiteDataCollectionType.js +1 -3
- package/dist/serialization/types/SiteMembership.d.ts +4 -7
- package/dist/serialization/types/SiteMembership.js +3 -5
- package/dist/serialization/types/SiteMembershipAuditLogItem.d.ts +3 -6
- package/dist/serialization/types/SiteMembershipAuditLogItem.js +2 -4
- package/dist/serialization/types/SiteMembershipAuditLogItemEventSubType.d.ts +2 -5
- package/dist/serialization/types/SiteMembershipAuditLogItemEventSubType.js +1 -3
- package/dist/serialization/types/SitePlan.d.ts +2 -5
- package/dist/serialization/types/SitePlan.js +1 -3
- package/dist/serialization/types/SitePlanId.d.ts +2 -5
- package/dist/serialization/types/SitePlanId.js +1 -3
- package/dist/serialization/types/SitePlanName.d.ts +2 -5
- package/dist/serialization/types/SitePlanName.js +1 -3
- package/dist/serialization/types/SitePublish.d.ts +2 -5
- package/dist/serialization/types/SitePublish.js +1 -3
- package/dist/serialization/types/SitePublishPayload.d.ts +2 -5
- package/dist/serialization/types/SitePublishPayload.js +1 -3
- package/dist/serialization/types/Sites.d.ts +2 -5
- package/dist/serialization/types/Sites.js +1 -3
- package/dist/serialization/types/Sku.d.ts +2 -5
- package/dist/serialization/types/Sku.js +1 -3
- package/dist/serialization/types/SkuFieldData.d.ts +4 -7
- package/dist/serialization/types/SkuFieldData.js +3 -5
- package/dist/serialization/types/SkuFieldDataCompareAtPrice.d.ts +2 -5
- package/dist/serialization/types/SkuFieldDataCompareAtPrice.js +1 -3
- package/dist/serialization/types/SkuFieldDataEcSkuBillingMethod.d.ts +2 -5
- package/dist/serialization/types/SkuFieldDataEcSkuBillingMethod.js +1 -3
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +2 -5
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +1 -3
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +2 -5
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.js +1 -3
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +2 -5
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js +1 -3
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +2 -5
- package/dist/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js +1 -3
- package/dist/serialization/types/SkuFieldDataPrice.d.ts +2 -5
- package/dist/serialization/types/SkuFieldDataPrice.js +1 -3
- package/dist/serialization/types/SkuPropertyList.d.ts +2 -5
- package/dist/serialization/types/SkuPropertyList.js +1 -3
- package/dist/serialization/types/SkuPropertyListEnumItem.d.ts +2 -5
- package/dist/serialization/types/SkuPropertyListEnumItem.js +1 -3
- package/dist/serialization/types/SkuValueList.d.ts +2 -5
- package/dist/serialization/types/SkuValueList.js +1 -3
- package/dist/serialization/types/StaticField.d.ts +2 -5
- package/dist/serialization/types/StaticField.js +1 -3
- package/dist/serialization/types/StaticFieldType.d.ts +2 -5
- package/dist/serialization/types/StaticFieldType.js +1 -3
- package/dist/serialization/types/StripeCard.d.ts +2 -5
- package/dist/serialization/types/StripeCard.js +1 -3
- package/dist/serialization/types/StripeCardBrand.d.ts +2 -5
- package/dist/serialization/types/StripeCardBrand.js +1 -3
- package/dist/serialization/types/StripeCardExpires.d.ts +2 -5
- package/dist/serialization/types/StripeCardExpires.js +1 -3
- package/dist/serialization/types/StripeDetails.d.ts +2 -5
- package/dist/serialization/types/StripeDetails.js +1 -3
- package/dist/serialization/types/SubmitButtonNode.d.ts +2 -5
- package/dist/serialization/types/SubmitButtonNode.js +1 -3
- package/dist/serialization/types/SubmitButtonNodeWrite.d.ts +2 -5
- package/dist/serialization/types/SubmitButtonNodeWrite.js +1 -3
- package/dist/serialization/types/Text.d.ts +2 -5
- package/dist/serialization/types/Text.js +1 -3
- package/dist/serialization/types/TextInputNode.d.ts +2 -5
- package/dist/serialization/types/TextInputNode.js +1 -3
- package/dist/serialization/types/TextInputNodeWrite.d.ts +2 -5
- package/dist/serialization/types/TextInputNodeWrite.js +1 -3
- package/dist/serialization/types/TextNode.d.ts +2 -5
- package/dist/serialization/types/TextNode.js +1 -3
- package/dist/serialization/types/TextNodeText.d.ts +2 -5
- package/dist/serialization/types/TextNodeText.js +1 -3
- package/dist/serialization/types/TextNodeWrite.d.ts +2 -5
- package/dist/serialization/types/TextNodeWrite.js +1 -3
- package/dist/serialization/types/TriggerType.d.ts +3 -6
- package/dist/serialization/types/TriggerType.js +1 -6
- package/dist/serialization/types/UpdatedOrder.d.ts +2 -5
- package/dist/serialization/types/UpdatedOrder.js +1 -3
- package/dist/serialization/types/UserAccess.d.ts +2 -5
- package/dist/serialization/types/UserAccess.js +1 -3
- package/dist/serialization/types/UserAccessAuditLogItem.d.ts +3 -6
- package/dist/serialization/types/UserAccessAuditLogItem.js +2 -4
- package/dist/serialization/types/UserAccessAuditLogItemEventSubType.d.ts +2 -5
- package/dist/serialization/types/UserAccessAuditLogItemEventSubType.js +1 -3
- package/dist/serialization/types/Webhook.d.ts +2 -5
- package/dist/serialization/types/Webhook.js +1 -3
- package/dist/serialization/types/WebhookFilter.d.ts +2 -5
- package/dist/serialization/types/WebhookFilter.js +1 -3
- package/dist/serialization/types/WebhookList.d.ts +3 -6
- package/dist/serialization/types/WebhookList.js +2 -4
- package/dist/serialization/types/WorkspaceAuditLogItem.d.ts +11 -10
- package/dist/serialization/types/WorkspaceAuditLogItem.js +7 -7
- package/dist/serialization/types/WorkspaceAuditLogItemActor.d.ts +2 -5
- package/dist/serialization/types/WorkspaceAuditLogItemActor.js +1 -3
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +7 -0
- package/dist/serialization/types/{UserLimitReached.js → WorkspaceAuditLogItemPayloadSettingChangeMethod.js} +3 -5
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +2 -5
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js +1 -3
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +2 -5
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -3
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.d.ts +2 -5
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.js +1 -3
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.d.ts +2 -5
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.js +1 -3
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.d.ts +2 -5
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.js +1 -3
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadUserAccessMethod.d.ts +2 -5
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadUserAccessMethod.js +1 -3
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.d.ts +2 -5
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.js +1 -3
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.d.ts +2 -5
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.js +1 -3
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +2 -5
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js +1 -3
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.d.ts +2 -5
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.js +1 -3
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +2 -5
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -3
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.d.ts +2 -5
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.js +1 -3
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.d.ts +2 -5
- package/dist/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.js +1 -3
- package/dist/serialization/types/WorkspaceAuditLogItemWorkspace.d.ts +2 -5
- package/dist/serialization/types/WorkspaceAuditLogItemWorkspace.js +1 -3
- package/dist/serialization/types/WorkspaceAuditLogResponse.d.ts +3 -6
- package/dist/serialization/types/WorkspaceAuditLogResponse.js +2 -4
- package/dist/serialization/types/WorkspaceInvitation.d.ts +4 -7
- package/dist/serialization/types/WorkspaceInvitation.js +3 -5
- package/dist/serialization/types/WorkspaceInvitationAuditLogItem.d.ts +3 -6
- package/dist/serialization/types/WorkspaceInvitationAuditLogItem.js +2 -4
- package/dist/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +2 -5
- package/dist/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -3
- package/dist/serialization/types/WorkspaceMembership.d.ts +3 -6
- package/dist/serialization/types/WorkspaceMembership.js +2 -4
- package/dist/serialization/types/WorkspaceMembershipAuditLogItem.d.ts +3 -6
- package/dist/serialization/types/WorkspaceMembershipAuditLogItem.js +2 -4
- package/dist/serialization/types/WorkspaceMembershipAuditLogItemEventSubType.d.ts +2 -5
- package/dist/serialization/types/WorkspaceMembershipAuditLogItemEventSubType.js +1 -3
- package/dist/serialization/types/index.d.ts +228 -238
- package/dist/serialization/types/index.js +228 -238
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/dist/wrapper/AssetsUtilitiesClient.d.ts +1 -1
- package/dist/wrapper/FormsClient.d.ts +37 -0
- package/dist/{api/resources/accessGroups/client/Client.js → wrapper/FormsClient.js} +38 -51
- package/dist/wrapper/ItemsClient.js +17 -17
- package/dist/wrapper/PagesClient.js +5 -8
- package/dist/wrapper/WebflowClient.d.ts +3 -0
- package/dist/wrapper/WebflowClient.js +6 -5
- package/environments.d.ts +0 -3
- package/environments.js +1 -3
- package/errors/WebflowError.d.ts +1 -4
- package/errors/WebflowError.js +2 -4
- package/errors/WebflowTimeoutError.d.ts +0 -3
- package/errors/WebflowTimeoutError.js +1 -3
- package/jest.config.mjs +26 -5
- package/package.json +19 -13
- package/reference.md +1728 -1843
- package/serialization/resources/assets/client/requests/AssetsCreateFolderRequest.d.ts +2 -5
- package/serialization/resources/assets/client/requests/AssetsCreateFolderRequest.js +1 -3
- package/serialization/resources/assets/client/requests/AssetsCreateRequest.d.ts +2 -5
- package/serialization/resources/assets/client/requests/AssetsCreateRequest.js +1 -3
- package/serialization/resources/assets/client/requests/AssetsUpdateRequest.d.ts +2 -5
- package/serialization/resources/assets/client/requests/AssetsUpdateRequest.js +1 -3
- package/serialization/resources/assets/client/requests/index.d.ts +1 -1
- package/serialization/resources/assets/client/requests/index.js +3 -3
- package/serialization/resources/collections/client/requests/CollectionsCreateRequest.d.ts +2 -5
- package/serialization/resources/collections/client/requests/CollectionsCreateRequest.js +1 -3
- package/serialization/resources/collections/index.d.ts +1 -1
- package/serialization/resources/collections/index.js +1 -1
- package/serialization/resources/collections/resources/fields/client/requests/FieldUpdate.d.ts +2 -5
- package/serialization/resources/collections/resources/fields/client/requests/FieldUpdate.js +1 -3
- package/serialization/resources/collections/resources/index.d.ts +2 -2
- package/serialization/resources/collections/resources/index.js +3 -3
- package/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.d.ts +2 -5
- package/serialization/resources/collections/resources/items/client/requests/CreateBulkCollectionItemRequestBody.js +1 -3
- package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.d.ts +2 -5
- package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsLiveRequest.js +1 -3
- package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.d.ts +2 -5
- package/serialization/resources/collections/resources/items/client/requests/ItemsDeleteItemsRequest.js +1 -3
- package/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.d.ts +2 -5
- package/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsLiveRequest.js +1 -3
- package/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.d.ts +2 -5
- package/serialization/resources/collections/resources/items/client/requests/ItemsUpdateItemsRequest.js +1 -3
- package/serialization/resources/collections/resources/items/client/requests/index.d.ts +3 -3
- package/serialization/resources/collections/resources/items/client/requests/index.js +7 -7
- package/serialization/resources/collections/resources/items/index.d.ts +1 -1
- package/serialization/resources/collections/resources/items/index.js +1 -1
- package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.d.ts +4 -7
- package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldData.js +3 -5
- package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.d.ts +11 -0
- package/{dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js → serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataOneItem.js} +3 -5
- package/serialization/resources/collections/resources/items/types/ItemIDs.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/ItemIDs.js +1 -3
- package/serialization/resources/collections/resources/items/types/ItemIDsWithLocales.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/ItemIDsWithLocales.js +1 -3
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestBody.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemLiveRequestBody.js +1 -3
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemRequestBody.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/ItemsCreateItemRequestBody.js +1 -3
- package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsLiveRequestItemsItem.js +1 -3
- package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/ItemsDeleteItemsRequestItemsItem.js +1 -3
- package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortBy.js +1 -3
- package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/ItemsListItemsLiveRequestSortOrder.js +1 -3
- package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortBy.js +1 -3
- package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/ItemsListItemsRequestSortOrder.js +1 -3
- package/serialization/resources/collections/resources/items/types/ItemsPublishItemRequest.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/ItemsPublishItemRequest.js +1 -3
- package/serialization/resources/collections/resources/items/types/ItemsPublishItemRequestItemsItemsItem.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/ItemsPublishItemRequestItemsItemsItem.js +1 -3
- package/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/ItemsPublishItemResponse.js +1 -3
- package/serialization/resources/collections/resources/items/types/ItemsUpdateItemsResponse.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/ItemsUpdateItemsResponse.js +1 -3
- package/serialization/resources/collections/resources/items/types/MultipleItems.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/MultipleItems.js +1 -3
- package/serialization/resources/collections/resources/items/types/MultipleLiveItems.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/MultipleLiveItems.js +1 -3
- package/serialization/resources/collections/resources/items/types/SingleCmsItem.d.ts +2 -5
- package/serialization/resources/collections/resources/items/types/SingleCmsItem.js +1 -3
- package/serialization/resources/collections/resources/items/types/index.d.ts +13 -13
- package/serialization/resources/collections/resources/items/types/index.js +13 -13
- package/serialization/resources/components/client/requests/ComponentDomWrite.d.ts +2 -5
- package/serialization/resources/components/client/requests/ComponentDomWrite.js +1 -3
- package/serialization/resources/components/client/requests/ComponentPropertiesWrite.d.ts +2 -5
- package/serialization/resources/components/client/requests/ComponentPropertiesWrite.js +1 -3
- package/serialization/resources/components/index.d.ts +1 -1
- package/serialization/resources/components/index.js +1 -1
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.d.ts +5 -8
- package/serialization/resources/components/types/ComponentDomWriteNodesItem.js +4 -6
- package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.d.ts +2 -5
- package/serialization/resources/components/types/ComponentPropertiesWritePropertiesItem.js +1 -3
- package/serialization/resources/components/types/ComponentsUpdateContentResponse.d.ts +2 -5
- package/serialization/resources/components/types/ComponentsUpdateContentResponse.js +1 -3
- package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.d.ts +2 -5
- package/serialization/resources/components/types/ComponentsUpdatePropertiesResponse.js +1 -3
- package/serialization/resources/components/types/index.d.ts +1 -1
- package/serialization/resources/components/types/index.js +1 -1
- package/serialization/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +2 -5
- package/serialization/resources/forms/client/requests/FormsUpdateSubmissionRequest.js +1 -3
- package/serialization/resources/index.d.ts +20 -25
- package/serialization/resources/index.js +21 -26
- package/serialization/resources/inventory/client/requests/InventoryUpdateRequest.d.ts +2 -5
- package/serialization/resources/inventory/client/requests/InventoryUpdateRequest.js +1 -3
- package/serialization/resources/inventory/index.d.ts +1 -1
- package/serialization/resources/inventory/index.js +1 -1
- package/serialization/resources/inventory/types/EcommInventoryChangedPayload.d.ts +2 -5
- package/serialization/resources/inventory/types/EcommInventoryChangedPayload.js +1 -3
- package/serialization/resources/inventory/types/InventoryUpdateRequestInventoryType.d.ts +2 -5
- package/serialization/resources/inventory/types/InventoryUpdateRequestInventoryType.js +1 -3
- package/serialization/resources/inventory/types/index.d.ts +1 -1
- package/serialization/resources/inventory/types/index.js +1 -1
- package/serialization/resources/orders/client/requests/OrdersRefundRequest.d.ts +2 -5
- package/serialization/resources/orders/client/requests/OrdersRefundRequest.js +1 -3
- package/serialization/resources/orders/client/requests/OrdersUpdateFulfillRequest.d.ts +2 -5
- package/serialization/resources/orders/client/requests/OrdersUpdateFulfillRequest.js +1 -3
- package/serialization/resources/orders/client/requests/OrdersUpdateRequest.d.ts +2 -5
- package/serialization/resources/orders/client/requests/OrdersUpdateRequest.js +1 -3
- package/serialization/resources/orders/client/requests/index.d.ts +2 -2
- package/serialization/resources/orders/client/requests/index.js +5 -5
- package/serialization/resources/orders/index.d.ts +1 -1
- package/serialization/resources/orders/index.js +1 -1
- package/serialization/resources/orders/types/OrdersListRequestStatus.d.ts +2 -5
- package/serialization/resources/orders/types/OrdersListRequestStatus.js +1 -3
- package/serialization/resources/orders/types/OrdersRefundRequestReason.d.ts +2 -5
- package/serialization/resources/orders/types/OrdersRefundRequestReason.js +1 -3
- package/serialization/resources/pages/client/requests/PageDomWrite.d.ts +2 -5
- package/serialization/resources/pages/client/requests/PageDomWrite.js +1 -3
- package/serialization/resources/pages/client/requests/PageMetadataWrite.d.ts +3 -6
- package/serialization/resources/pages/client/requests/PageMetadataWrite.js +2 -4
- package/serialization/resources/pages/client/requests/index.d.ts +1 -1
- package/serialization/resources/pages/client/requests/index.js +3 -3
- package/serialization/resources/pages/index.d.ts +1 -1
- package/serialization/resources/pages/index.js +1 -1
- package/serialization/resources/pages/types/PageDomWriteNodesItem.d.ts +5 -8
- package/serialization/resources/pages/types/PageDomWriteNodesItem.js +4 -6
- package/serialization/resources/pages/types/PageMetadataWriteOpenGraph.d.ts +2 -5
- package/serialization/resources/pages/types/PageMetadataWriteOpenGraph.js +1 -3
- package/serialization/resources/pages/types/PageMetadataWriteSeo.d.ts +2 -5
- package/serialization/resources/pages/types/PageMetadataWriteSeo.js +1 -3
- package/serialization/resources/pages/types/UpdateStaticContentResponse.d.ts +2 -5
- package/serialization/resources/pages/types/UpdateStaticContentResponse.js +1 -3
- package/serialization/resources/pages/types/index.d.ts +2 -2
- package/serialization/resources/pages/types/index.js +2 -2
- package/serialization/resources/products/client/requests/ProductSkuCreate.d.ts +2 -5
- package/serialization/resources/products/client/requests/ProductSkuCreate.js +1 -3
- package/serialization/resources/products/client/requests/ProductSkuUpdate.d.ts +3 -6
- package/serialization/resources/products/client/requests/ProductSkuUpdate.js +2 -4
- package/serialization/resources/products/client/requests/ProductsCreateSkuRequest.d.ts +2 -5
- package/serialization/resources/products/client/requests/ProductsCreateSkuRequest.js +1 -3
- package/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.d.ts +2 -5
- package/serialization/resources/products/client/requests/ProductsUpdateSkuRequest.js +1 -3
- package/serialization/resources/products/index.d.ts +1 -1
- package/serialization/resources/products/index.js +1 -1
- package/serialization/resources/products/types/ProductSkuCreateProduct.d.ts +2 -5
- package/serialization/resources/products/types/ProductSkuCreateProduct.js +1 -3
- package/serialization/resources/products/types/ProductSkuCreateSku.d.ts +2 -5
- package/serialization/resources/products/types/ProductSkuCreateSku.js +1 -3
- package/serialization/resources/products/types/ProductsCreateSkuResponse.d.ts +2 -5
- package/serialization/resources/products/types/ProductsCreateSkuResponse.js +1 -3
- package/serialization/resources/scripts/client/requests/CustomCodeHostedRequest.d.ts +2 -5
- package/serialization/resources/scripts/client/requests/CustomCodeHostedRequest.js +1 -3
- package/serialization/resources/scripts/client/requests/CustomCodeInlineRequest.d.ts +2 -5
- package/serialization/resources/scripts/client/requests/CustomCodeInlineRequest.js +1 -3
- package/serialization/resources/sites/client/requests/SitesCreateRequest.d.ts +2 -5
- package/serialization/resources/sites/client/requests/SitesCreateRequest.js +1 -3
- package/serialization/resources/sites/client/requests/SitesPublishRequest.d.ts +2 -5
- package/serialization/resources/sites/client/requests/SitesPublishRequest.js +1 -3
- package/serialization/resources/sites/client/requests/SitesUpdateRequest.d.ts +2 -5
- package/serialization/resources/sites/client/requests/SitesUpdateRequest.js +1 -3
- package/serialization/resources/sites/client/requests/index.d.ts +1 -1
- package/serialization/resources/sites/client/requests/index.js +3 -3
- package/serialization/resources/sites/index.d.ts +2 -2
- package/serialization/resources/sites/index.js +2 -2
- package/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.d.ts +2 -5
- package/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortBy.js +1 -3
- package/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.d.ts +2 -5
- package/serialization/resources/sites/resources/comments/types/CommentsGetCommentThreadRequestSortOrder.js +1 -3
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.d.ts +2 -5
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortBy.js +1 -3
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.d.ts +2 -5
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentRepliesRequestSortOrder.js +1 -3
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.d.ts +2 -5
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortBy.js +1 -3
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.d.ts +2 -5
- package/serialization/resources/sites/resources/comments/types/CommentsListCommentThreadsRequestSortOrder.js +1 -3
- package/serialization/resources/sites/resources/comments/types/index.d.ts +2 -2
- package/serialization/resources/sites/resources/comments/types/index.js +2 -2
- package/{dist/api/resources/users → serialization/resources/sites/resources/forms}/client/index.d.ts +0 -1
- package/serialization/resources/sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.d.ts +9 -0
- package/serialization/resources/{users/client/requests/UsersInviteRequest.js → sites/resources/forms/client/requests/FormsUpdateSubmissionRequest.js} +5 -8
- package/serialization/resources/sites/resources/forms/client/requests/index.d.ts +1 -0
- package/serialization/resources/sites/resources/forms/client/requests/index.js +5 -0
- package/{dist/api/resources/users → serialization/resources/sites/resources/forms}/index.d.ts +0 -1
- package/{dist/api/resources/users → serialization/resources/sites/resources/forms}/index.js +0 -1
- package/serialization/resources/sites/resources/index.d.ts +4 -2
- package/serialization/resources/sites/resources/index.js +5 -3
- package/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.d.ts +2 -5
- package/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownDeleteRequest.js +1 -3
- package/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownFile.d.ts +2 -5
- package/serialization/resources/sites/resources/wellKnown/client/requests/WellKnownFile.js +1 -3
- package/serialization/resources/sites/resources/wellKnown/client/requests/index.d.ts +1 -1
- package/serialization/resources/sites/resources/wellKnown/client/requests/index.js +3 -3
- package/serialization/resources/sites/resources/wellKnown/index.d.ts +1 -1
- package/serialization/resources/sites/resources/wellKnown/index.js +1 -1
- package/serialization/resources/sites/resources/wellKnown/types/WellKnownFileContentType.d.ts +2 -5
- package/serialization/resources/sites/resources/wellKnown/types/WellKnownFileContentType.js +1 -3
- package/serialization/resources/sites/types/SitesPublishResponse.d.ts +2 -5
- package/serialization/resources/sites/types/SitesPublishResponse.js +1 -3
- package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.d.ts +3 -6
- package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestEventType.js +2 -3
- package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.d.ts +2 -5
- package/serialization/resources/workspaces/resources/auditLogs/types/AuditLogsGetWorkspaceAuditLogsRequestSortOrder.js +1 -3
- package/serialization/resources/workspaces/resources/auditLogs/types/index.d.ts +1 -1
- package/serialization/resources/workspaces/resources/auditLogs/types/index.js +1 -1
- package/serialization/types/Application.d.ts +2 -5
- package/serialization/types/Application.js +1 -3
- package/serialization/types/Asset.d.ts +2 -5
- package/serialization/types/Asset.js +1 -3
- package/serialization/types/AssetFolder.d.ts +2 -5
- package/serialization/types/AssetFolder.js +1 -3
- package/serialization/types/AssetFolderList.d.ts +2 -5
- package/serialization/types/AssetFolderList.js +1 -3
- package/serialization/types/AssetUpload.d.ts +2 -5
- package/serialization/types/AssetUpload.js +1 -3
- package/serialization/types/AssetUploadUploadDetails.d.ts +2 -5
- package/serialization/types/AssetUploadUploadDetails.js +1 -3
- package/serialization/types/AssetVariant.d.ts +2 -5
- package/serialization/types/AssetVariant.js +1 -3
- package/serialization/types/Assets.d.ts +2 -5
- package/serialization/types/Assets.js +1 -3
- package/serialization/types/Authorization.d.ts +3 -6
- package/serialization/types/Authorization.js +2 -4
- package/serialization/types/AuthorizationAuthorization.d.ts +2 -5
- package/serialization/types/AuthorizationAuthorization.js +1 -3
- package/serialization/types/AuthorizationAuthorizationAuthorizedTo.d.ts +2 -5
- package/serialization/types/AuthorizationAuthorizationAuthorizedTo.js +1 -3
- package/serialization/types/AuthorizedUser.d.ts +2 -5
- package/serialization/types/AuthorizedUser.js +1 -3
- package/serialization/types/BadRequestErrorBody.d.ts +2 -5
- package/serialization/types/BadRequestErrorBody.js +1 -3
- package/serialization/types/BulkCollectionItem.d.ts +2 -5
- package/serialization/types/BulkCollectionItem.js +1 -3
- package/serialization/types/BulkCollectionItemFieldData.d.ts +2 -5
- package/serialization/types/BulkCollectionItemFieldData.js +1 -3
- package/serialization/types/Collection.d.ts +2 -5
- package/serialization/types/Collection.js +1 -3
- package/serialization/types/CollectionItem.d.ts +2 -5
- package/serialization/types/CollectionItem.js +1 -3
- package/serialization/types/CollectionItemChanged.d.ts +2 -5
- package/serialization/types/CollectionItemChanged.js +1 -3
- package/serialization/types/CollectionItemCreated.d.ts +2 -5
- package/serialization/types/CollectionItemCreated.js +1 -3
- package/serialization/types/CollectionItemFieldData.d.ts +2 -5
- package/serialization/types/CollectionItemFieldData.js +1 -3
- package/serialization/types/CollectionItemList.d.ts +2 -5
- package/serialization/types/CollectionItemList.js +1 -3
- package/serialization/types/CollectionItemListNoPagination.d.ts +2 -5
- package/serialization/types/CollectionItemListNoPagination.js +1 -3
- package/serialization/types/CollectionItemListPagination.d.ts +2 -5
- package/serialization/types/CollectionItemListPagination.js +1 -3
- package/serialization/types/CollectionItemPatchSingle.d.ts +2 -5
- package/serialization/types/CollectionItemPatchSingle.js +1 -3
- package/serialization/types/CollectionItemPatchSingleFieldData.d.ts +2 -5
- package/serialization/types/CollectionItemPatchSingleFieldData.js +1 -3
- package/serialization/types/CollectionItemPostSingle.d.ts +2 -5
- package/serialization/types/CollectionItemPostSingle.js +1 -3
- package/serialization/types/CollectionItemPostSingleFieldData.d.ts +2 -5
- package/serialization/types/CollectionItemPostSingleFieldData.js +1 -3
- package/serialization/types/CollectionItemPublished.d.ts +2 -5
- package/serialization/types/CollectionItemPublished.js +1 -3
- package/serialization/types/CollectionItemRemoved.d.ts +2 -5
- package/serialization/types/CollectionItemRemoved.js +1 -3
- package/serialization/types/CollectionItemRemovedPayload.d.ts +2 -5
- package/serialization/types/CollectionItemRemovedPayload.js +1 -3
- package/serialization/types/CollectionItemRemovedPayloadFieldData.d.ts +2 -5
- package/serialization/types/CollectionItemRemovedPayloadFieldData.js +1 -3
- package/serialization/types/CollectionItemUnpublished.d.ts +2 -5
- package/serialization/types/CollectionItemUnpublished.js +1 -3
- package/serialization/types/CollectionItemUnpublishedPayload.d.ts +2 -5
- package/serialization/types/CollectionItemUnpublishedPayload.js +1 -3
- package/serialization/types/CollectionItemUnpublishedPayloadFieldData.d.ts +2 -5
- package/serialization/types/CollectionItemUnpublishedPayloadFieldData.js +1 -3
- package/serialization/types/CollectionItemWithIdInput.d.ts +2 -5
- package/serialization/types/CollectionItemWithIdInput.js +1 -3
- package/serialization/types/CollectionItemWithIdInputFieldData.d.ts +2 -5
- package/serialization/types/CollectionItemWithIdInputFieldData.js +1 -3
- package/serialization/types/CollectionList.d.ts +2 -5
- package/serialization/types/CollectionList.js +1 -3
- package/serialization/types/CollectionListArrayItem.d.ts +2 -5
- package/serialization/types/CollectionListArrayItem.js +1 -3
- package/serialization/types/Comment.d.ts +2 -5
- package/serialization/types/Comment.js +1 -3
- package/serialization/types/CommentPayload.d.ts +2 -5
- package/serialization/types/CommentPayload.js +1 -3
- package/serialization/types/CommentPayloadAuthor.d.ts +2 -5
- package/serialization/types/CommentPayloadAuthor.js +1 -3
- package/serialization/types/CommentPayloadMentionedUsersItem.d.ts +2 -5
- package/serialization/types/CommentPayloadMentionedUsersItem.js +1 -3
- package/serialization/types/CommentReply.d.ts +2 -5
- package/serialization/types/CommentReply.js +1 -3
- package/serialization/types/CommentReplyAuthor.d.ts +2 -5
- package/serialization/types/CommentReplyAuthor.js +1 -3
- package/serialization/types/CommentReplyList.d.ts +2 -5
- package/serialization/types/CommentReplyList.js +1 -3
- package/serialization/types/CommentReplyListPagination.d.ts +2 -5
- package/serialization/types/CommentReplyListPagination.js +1 -3
- package/serialization/types/CommentReplyMentionedUsersItem.d.ts +2 -5
- package/serialization/types/CommentReplyMentionedUsersItem.js +1 -3
- package/serialization/types/CommentThread.d.ts +2 -5
- package/serialization/types/CommentThread.js +1 -3
- package/serialization/types/CommentThreadAuthor.d.ts +2 -5
- package/serialization/types/CommentThreadAuthor.js +1 -3
- package/serialization/types/CommentThreadList.d.ts +2 -5
- package/serialization/types/CommentThreadList.js +1 -3
- package/serialization/types/CommentThreadListPagination.d.ts +2 -5
- package/serialization/types/CommentThreadListPagination.js +1 -3
- package/serialization/types/CommentThreadMentionedUsersItem.d.ts +2 -5
- package/serialization/types/CommentThreadMentionedUsersItem.js +1 -3
- package/serialization/types/Component.d.ts +2 -5
- package/serialization/types/Component.js +1 -3
- package/serialization/types/ComponentDom.d.ts +2 -5
- package/serialization/types/ComponentDom.js +1 -3
- package/serialization/types/ComponentInstanceNodePropertyOverridesWrite.d.ts +2 -5
- package/serialization/types/ComponentInstanceNodePropertyOverridesWrite.js +1 -3
- package/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.d.ts +2 -5
- package/serialization/types/ComponentInstanceNodePropertyOverridesWritePropertyOverridesItem.js +1 -3
- package/serialization/types/ComponentList.d.ts +2 -5
- package/serialization/types/ComponentList.js +1 -3
- package/serialization/types/ComponentNode.d.ts +2 -5
- package/serialization/types/ComponentNode.js +1 -3
- package/serialization/types/ComponentProperties.d.ts +2 -5
- package/serialization/types/ComponentProperties.js +1 -3
- package/serialization/types/ComponentProperty.d.ts +2 -5
- package/serialization/types/ComponentProperty.js +1 -3
- package/serialization/types/ComponentPropertyType.d.ts +2 -5
- package/serialization/types/ComponentPropertyType.js +1 -3
- package/serialization/types/Conflict.d.ts +2 -5
- package/serialization/types/Conflict.js +1 -3
- package/serialization/types/CustomCodeBlock.d.ts +2 -5
- package/serialization/types/CustomCodeBlock.js +1 -3
- package/serialization/types/CustomCodeBlockType.d.ts +2 -5
- package/serialization/types/CustomCodeBlockType.js +1 -3
- package/serialization/types/CustomCodeHostedResponse.d.ts +2 -5
- package/serialization/types/CustomCodeHostedResponse.js +1 -3
- package/serialization/types/CustomCodeInlineResponse.d.ts +2 -5
- package/serialization/types/CustomCodeInlineResponse.js +1 -3
- package/serialization/types/CustomRole.d.ts +2 -5
- package/serialization/types/CustomRole.js +1 -3
- package/serialization/types/CustomRoleAuditLogItem.d.ts +3 -6
- package/serialization/types/CustomRoleAuditLogItem.js +2 -4
- package/serialization/types/CustomRoleAuditLogItemEventSubType.d.ts +2 -5
- package/serialization/types/CustomRoleAuditLogItemEventSubType.js +1 -3
- package/serialization/types/Dom.d.ts +2 -5
- package/serialization/types/Dom.js +1 -3
- package/serialization/types/Domain.d.ts +2 -5
- package/serialization/types/Domain.js +1 -3
- package/serialization/types/Domains.d.ts +2 -5
- package/serialization/types/Domains.js +1 -3
- package/serialization/types/EcommerceSettings.d.ts +2 -5
- package/serialization/types/EcommerceSettings.js +1 -3
- package/serialization/types/ErrorCode.d.ts +2 -5
- package/serialization/types/ErrorCode.js +1 -3
- package/serialization/types/Error_.d.ts +2 -5
- package/serialization/types/Error_.js +1 -3
- package/serialization/types/Field.d.ts +2 -5
- package/serialization/types/Field.js +1 -3
- package/serialization/types/FieldCreate.d.ts +3 -6
- package/serialization/types/FieldCreate.js +2 -4
- package/serialization/types/FieldType.d.ts +2 -5
- package/serialization/types/FieldType.js +1 -3
- package/serialization/types/FieldValidations.d.ts +2 -5
- package/serialization/types/FieldValidations.js +1 -3
- package/serialization/types/FieldValidationsAdditionalProperties.d.ts +2 -5
- package/serialization/types/FieldValidationsAdditionalProperties.js +1 -3
- package/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.d.ts +2 -5
- package/serialization/types/FieldValidationsAdditionalPropertiesAdditionalProperties.js +1 -3
- package/serialization/types/ForbiddenErrorBody.d.ts +4 -7
- package/serialization/types/ForbiddenErrorBody.js +3 -5
- package/serialization/types/Form.d.ts +2 -5
- package/serialization/types/Form.js +1 -3
- package/serialization/types/FormField.d.ts +2 -5
- package/serialization/types/FormField.js +1 -3
- package/serialization/types/FormFieldValue.d.ts +2 -5
- package/serialization/types/FormFieldValue.js +1 -3
- package/serialization/types/FormFieldValueType.d.ts +2 -5
- package/serialization/types/FormFieldValueType.js +1 -3
- package/serialization/types/FormList.d.ts +2 -5
- package/serialization/types/FormList.js +1 -3
- package/serialization/types/FormResponseSettings.d.ts +2 -5
- package/serialization/types/FormResponseSettings.js +1 -3
- package/serialization/types/FormSubmission.d.ts +2 -5
- package/serialization/types/FormSubmission.js +1 -3
- package/serialization/types/FormSubmissionList.d.ts +2 -5
- package/serialization/types/FormSubmissionList.js +1 -3
- package/serialization/types/FormSubmissionTrigger.d.ts +2 -5
- package/serialization/types/FormSubmissionTrigger.js +1 -3
- package/serialization/types/FormSubmissionTriggerPayload.d.ts +2 -5
- package/serialization/types/FormSubmissionTriggerPayload.js +1 -3
- package/serialization/types/FormSubmissionTriggerPayloadSchemaItem.d.ts +2 -5
- package/serialization/types/FormSubmissionTriggerPayloadSchemaItem.js +1 -3
- package/serialization/types/FormSubmissionTriggerPayloadSchemaItemFieldType.d.ts +2 -5
- package/serialization/types/FormSubmissionTriggerPayloadSchemaItemFieldType.js +1 -3
- package/serialization/types/ImageNode.d.ts +2 -5
- package/serialization/types/ImageNode.js +1 -3
- package/serialization/types/ImageNodeImage.d.ts +2 -5
- package/serialization/types/ImageNodeImage.js +1 -3
- package/serialization/types/InvalidDomain.d.ts +2 -5
- package/serialization/types/InvalidDomain.js +1 -3
- package/serialization/types/InvalidScopes.d.ts +2 -5
- package/serialization/types/InvalidScopes.js +1 -3
- package/serialization/types/InventoryItem.d.ts +2 -5
- package/serialization/types/InventoryItem.js +1 -3
- package/serialization/types/InventoryItemInventoryType.d.ts +2 -5
- package/serialization/types/InventoryItemInventoryType.js +1 -3
- package/serialization/types/ItemsListItemsLiveRequestLastPublished.d.ts +2 -5
- package/serialization/types/ItemsListItemsLiveRequestLastPublished.js +1 -3
- package/serialization/types/ItemsListItemsRequestLastPublished.d.ts +2 -5
- package/serialization/types/ItemsListItemsRequestLastPublished.js +1 -3
- package/serialization/types/ListCustomCodeBlocks.d.ts +2 -5
- package/serialization/types/ListCustomCodeBlocks.js +1 -3
- package/serialization/types/Locale.d.ts +2 -5
- package/serialization/types/Locale.js +1 -3
- package/serialization/types/Locales.d.ts +2 -5
- package/serialization/types/Locales.js +1 -3
- package/serialization/types/Metadata.d.ts +2 -5
- package/serialization/types/Metadata.js +1 -3
- package/serialization/types/MetadataOptionsItem.d.ts +2 -5
- package/serialization/types/MetadataOptionsItem.js +1 -3
- package/serialization/types/NewOrder.d.ts +2 -5
- package/serialization/types/NewOrder.js +1 -3
- package/serialization/types/NoDomains.d.ts +2 -5
- package/serialization/types/NoDomains.js +1 -3
- package/serialization/types/Node.d.ts +6 -9
- package/serialization/types/Node.js +5 -7
- package/serialization/types/NotEnterprisePlanSite.d.ts +2 -5
- package/serialization/types/NotEnterprisePlanSite.js +1 -3
- package/serialization/types/NotEnterprisePlanWorkspace.d.ts +2 -5
- package/serialization/types/NotEnterprisePlanWorkspace.js +1 -3
- package/serialization/types/OptionField.d.ts +2 -5
- package/serialization/types/OptionField.js +1 -3
- package/serialization/types/Order.d.ts +11 -14
- package/serialization/types/Order.js +10 -12
- package/serialization/types/OrderAddress.d.ts +3 -6
- package/serialization/types/OrderAddress.js +2 -4
- package/serialization/types/OrderAddressJapanType.d.ts +2 -5
- package/serialization/types/OrderAddressJapanType.js +1 -3
- package/serialization/types/OrderAddressType.d.ts +2 -5
- package/serialization/types/OrderAddressType.js +1 -3
- package/serialization/types/OrderBillingAddress.d.ts +3 -6
- package/serialization/types/OrderBillingAddress.js +2 -4
- package/serialization/types/OrderBillingAddressJapanType.d.ts +2 -5
- package/serialization/types/OrderBillingAddressJapanType.js +1 -3
- package/serialization/types/OrderBillingAddressType.d.ts +2 -5
- package/serialization/types/OrderBillingAddressType.js +1 -3
- package/serialization/types/OrderCustomerInfo.d.ts +2 -5
- package/serialization/types/OrderCustomerInfo.js +1 -3
- package/serialization/types/OrderDisputeLastStatus.d.ts +2 -5
- package/serialization/types/OrderDisputeLastStatus.js +1 -3
- package/serialization/types/OrderDownloadFilesItem.d.ts +2 -5
- package/serialization/types/OrderDownloadFilesItem.js +1 -3
- package/serialization/types/OrderList.d.ts +2 -5
- package/serialization/types/OrderList.js +1 -3
- package/serialization/types/OrderMetadata.d.ts +2 -5
- package/serialization/types/OrderMetadata.js +1 -3
- package/serialization/types/OrderPrice.d.ts +2 -5
- package/serialization/types/OrderPrice.js +1 -3
- package/serialization/types/OrderPurchasedItem.d.ts +2 -5
- package/serialization/types/OrderPurchasedItem.js +1 -3
- package/serialization/types/OrderPurchasedItemVariantImage.d.ts +2 -5
- package/serialization/types/OrderPurchasedItemVariantImage.js +1 -3
- package/serialization/types/OrderPurchasedItemVariantImageFile.d.ts +2 -5
- package/serialization/types/OrderPurchasedItemVariantImageFile.js +1 -3
- package/serialization/types/OrderPurchasedItemVariantImageFileVariantsItem.d.ts +2 -5
- package/serialization/types/OrderPurchasedItemVariantImageFileVariantsItem.js +1 -3
- package/serialization/types/OrderShippingAddress.d.ts +3 -6
- package/serialization/types/OrderShippingAddress.js +2 -4
- package/serialization/types/OrderShippingAddressJapanType.d.ts +2 -5
- package/serialization/types/OrderShippingAddressJapanType.js +1 -3
- package/serialization/types/OrderShippingAddressType.d.ts +2 -5
- package/serialization/types/OrderShippingAddressType.js +1 -3
- package/serialization/types/OrderStatus.d.ts +2 -5
- package/serialization/types/OrderStatus.js +1 -3
- package/serialization/types/OrderTotals.d.ts +2 -5
- package/serialization/types/OrderTotals.js +1 -3
- package/serialization/types/OrderTotalsExtrasItem.d.ts +3 -6
- package/serialization/types/OrderTotalsExtrasItem.js +2 -4
- package/serialization/types/OrderTotalsExtrasItemType.d.ts +2 -5
- package/serialization/types/OrderTotalsExtrasItemType.js +1 -3
- package/serialization/types/Page.d.ts +3 -6
- package/serialization/types/Page.js +2 -4
- package/serialization/types/PageCreatedWebhook.d.ts +2 -5
- package/serialization/types/PageCreatedWebhook.js +1 -3
- package/serialization/types/PageCreatedWebhookPayload.d.ts +2 -5
- package/serialization/types/PageCreatedWebhookPayload.js +1 -3
- package/serialization/types/PageDeletedWebhook.d.ts +2 -5
- package/serialization/types/PageDeletedWebhook.js +1 -3
- package/serialization/types/PageDeletedWebhookPayload.d.ts +2 -5
- package/serialization/types/PageDeletedWebhookPayload.js +1 -3
- package/serialization/types/PageList.d.ts +2 -5
- package/serialization/types/PageList.js +1 -3
- package/serialization/types/PageMetadataUpdatedWebhook.d.ts +2 -5
- package/serialization/types/PageMetadataUpdatedWebhook.js +1 -3
- package/serialization/types/PageMetadataUpdatedWebhookPayload.d.ts +2 -5
- package/serialization/types/PageMetadataUpdatedWebhookPayload.js +1 -3
- package/serialization/types/PageOpenGraph.d.ts +2 -5
- package/serialization/types/PageOpenGraph.js +1 -3
- package/serialization/types/PageSeo.d.ts +2 -5
- package/serialization/types/PageSeo.js +1 -3
- package/serialization/types/Pagination.d.ts +2 -5
- package/serialization/types/Pagination.js +1 -3
- package/serialization/types/Payload.d.ts +2 -5
- package/serialization/types/Payload.js +1 -3
- package/serialization/types/PayloadFieldData.d.ts +2 -5
- package/serialization/types/PayloadFieldData.js +1 -3
- package/serialization/types/PaypalDetails.d.ts +2 -5
- package/serialization/types/PaypalDetails.js +1 -3
- package/serialization/types/Product.d.ts +2 -5
- package/serialization/types/Product.js +1 -3
- package/serialization/types/ProductAndSkUs.d.ts +2 -5
- package/serialization/types/ProductAndSkUs.js +1 -3
- package/serialization/types/ProductAndSkUsList.d.ts +3 -6
- package/serialization/types/ProductAndSkUsList.js +2 -4
- package/serialization/types/ProductFieldData.d.ts +4 -7
- package/serialization/types/ProductFieldData.js +3 -5
- package/serialization/types/ProductFieldDataEcProductType.d.ts +2 -5
- package/serialization/types/ProductFieldDataEcProductType.js +1 -3
- package/serialization/types/ProductFieldDataTaxCategory.d.ts +2 -5
- package/serialization/types/ProductFieldDataTaxCategory.js +1 -3
- package/serialization/types/PublishStatus.d.ts +2 -5
- package/serialization/types/PublishStatus.js +1 -3
- package/serialization/types/Redirect.d.ts +2 -5
- package/serialization/types/Redirect.js +1 -3
- package/serialization/types/Redirects.d.ts +3 -6
- package/serialization/types/Redirects.js +2 -4
- package/serialization/types/ReferenceField.d.ts +3 -6
- package/serialization/types/ReferenceField.js +2 -4
- package/serialization/types/ReferenceFieldMetadata.d.ts +2 -5
- package/serialization/types/ReferenceFieldMetadata.js +1 -3
- package/serialization/types/ReferenceFieldType.d.ts +2 -5
- package/serialization/types/ReferenceFieldType.js +1 -3
- package/serialization/types/RegisteredScriptList.d.ts +2 -5
- package/serialization/types/RegisteredScriptList.js +1 -3
- package/serialization/types/Robots.d.ts +2 -5
- package/serialization/types/Robots.js +1 -3
- package/serialization/types/RobotsRulesItem.d.ts +2 -5
- package/serialization/types/RobotsRulesItem.js +1 -3
- package/serialization/types/ScriptApply.d.ts +2 -5
- package/serialization/types/ScriptApply.js +1 -3
- package/serialization/types/ScriptApplyList.d.ts +2 -5
- package/serialization/types/ScriptApplyList.js +1 -3
- package/serialization/types/ScriptApplyLocation.d.ts +2 -5
- package/serialization/types/ScriptApplyLocation.js +1 -3
- package/serialization/types/Scripts.d.ts +2 -5
- package/serialization/types/Scripts.js +1 -3
- package/serialization/types/SearchButtonNode.d.ts +2 -5
- package/serialization/types/SearchButtonNode.js +1 -3
- package/serialization/types/SearchButtonNodeWrite.d.ts +2 -5
- package/serialization/types/SearchButtonNodeWrite.js +1 -3
- package/serialization/types/Select.d.ts +2 -5
- package/serialization/types/Select.js +1 -3
- package/serialization/types/SelectNode.d.ts +2 -5
- package/serialization/types/SelectNode.js +1 -3
- package/serialization/types/SelectNodeChoicesItem.d.ts +2 -5
- package/serialization/types/SelectNodeChoicesItem.js +1 -3
- package/serialization/types/SelectNodeWriteChoicesItem.d.ts +2 -5
- package/serialization/types/SelectNodeWriteChoicesItem.js +1 -3
- package/serialization/types/SettingChange.d.ts +13 -0
- package/{dist/serialization/types/AccessGroupList.js → serialization/types/SettingChange.js} +8 -11
- package/serialization/types/SettingChangeAuditLogItem.d.ts +11 -0
- package/{dist/serialization/types/UserData.js → serialization/types/SettingChangeAuditLogItem.js} +6 -7
- package/serialization/types/SingleLocaleCreatedPayload.d.ts +2 -5
- package/serialization/types/SingleLocaleCreatedPayload.js +1 -3
- package/serialization/types/SingleLocaleCreatedPayloadFieldData.d.ts +2 -5
- package/serialization/types/SingleLocaleCreatedPayloadFieldData.js +1 -3
- package/serialization/types/Site.d.ts +2 -5
- package/serialization/types/Site.js +1 -3
- package/serialization/types/SiteActivityLogItem.d.ts +2 -5
- package/serialization/types/SiteActivityLogItem.js +1 -3
- package/serialization/types/SiteActivityLogItemEvent.d.ts +2 -5
- package/serialization/types/SiteActivityLogItemEvent.js +1 -3
- package/serialization/types/SiteActivityLogItemResourceOperation.d.ts +2 -5
- package/serialization/types/SiteActivityLogItemResourceOperation.js +1 -3
- package/serialization/types/SiteActivityLogItemUser.d.ts +2 -5
- package/serialization/types/SiteActivityLogItemUser.js +1 -3
- package/serialization/types/SiteActivityLogResponse.d.ts +3 -6
- package/serialization/types/SiteActivityLogResponse.js +2 -4
- package/serialization/types/SiteDataCollectionType.d.ts +2 -5
- package/serialization/types/SiteDataCollectionType.js +1 -3
- package/serialization/types/SiteMembership.d.ts +4 -7
- package/serialization/types/SiteMembership.js +3 -5
- package/serialization/types/SiteMembershipAuditLogItem.d.ts +3 -6
- package/serialization/types/SiteMembershipAuditLogItem.js +2 -4
- package/serialization/types/SiteMembershipAuditLogItemEventSubType.d.ts +2 -5
- package/serialization/types/SiteMembershipAuditLogItemEventSubType.js +1 -3
- package/serialization/types/SitePlan.d.ts +2 -5
- package/serialization/types/SitePlan.js +1 -3
- package/serialization/types/SitePlanId.d.ts +2 -5
- package/serialization/types/SitePlanId.js +1 -3
- package/serialization/types/SitePlanName.d.ts +2 -5
- package/serialization/types/SitePlanName.js +1 -3
- package/serialization/types/SitePublish.d.ts +2 -5
- package/serialization/types/SitePublish.js +1 -3
- package/serialization/types/SitePublishPayload.d.ts +2 -5
- package/serialization/types/SitePublishPayload.js +1 -3
- package/serialization/types/Sites.d.ts +2 -5
- package/serialization/types/Sites.js +1 -3
- package/serialization/types/Sku.d.ts +2 -5
- package/serialization/types/Sku.js +1 -3
- package/serialization/types/SkuFieldData.d.ts +4 -7
- package/serialization/types/SkuFieldData.js +3 -5
- package/serialization/types/SkuFieldDataCompareAtPrice.d.ts +2 -5
- package/serialization/types/SkuFieldDataCompareAtPrice.js +1 -3
- package/serialization/types/SkuFieldDataEcSkuBillingMethod.d.ts +2 -5
- package/serialization/types/SkuFieldDataEcSkuBillingMethod.js +1 -3
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.d.ts +2 -5
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlan.js +1 -3
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.d.ts +2 -5
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanInterval.js +1 -3
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.d.ts +2 -5
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItem.js +1 -3
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.d.ts +2 -5
- package/serialization/types/SkuFieldDataEcSkuSubscriptionPlanPlansItemStatus.js +1 -3
- package/serialization/types/SkuFieldDataPrice.d.ts +2 -5
- package/serialization/types/SkuFieldDataPrice.js +1 -3
- package/serialization/types/SkuPropertyList.d.ts +2 -5
- package/serialization/types/SkuPropertyList.js +1 -3
- package/serialization/types/SkuPropertyListEnumItem.d.ts +2 -5
- package/serialization/types/SkuPropertyListEnumItem.js +1 -3
- package/serialization/types/SkuValueList.d.ts +2 -5
- package/serialization/types/SkuValueList.js +1 -3
- package/serialization/types/StaticField.d.ts +2 -5
- package/serialization/types/StaticField.js +1 -3
- package/serialization/types/StaticFieldType.d.ts +2 -5
- package/serialization/types/StaticFieldType.js +1 -3
- package/serialization/types/StripeCard.d.ts +2 -5
- package/serialization/types/StripeCard.js +1 -3
- package/serialization/types/StripeCardBrand.d.ts +2 -5
- package/serialization/types/StripeCardBrand.js +1 -3
- package/serialization/types/StripeCardExpires.d.ts +2 -5
- package/serialization/types/StripeCardExpires.js +1 -3
- package/serialization/types/StripeDetails.d.ts +2 -5
- package/serialization/types/StripeDetails.js +1 -3
- package/serialization/types/SubmitButtonNode.d.ts +2 -5
- package/serialization/types/SubmitButtonNode.js +1 -3
- package/serialization/types/SubmitButtonNodeWrite.d.ts +2 -5
- package/serialization/types/SubmitButtonNodeWrite.js +1 -3
- package/serialization/types/Text.d.ts +2 -5
- package/serialization/types/Text.js +1 -3
- package/serialization/types/TextInputNode.d.ts +2 -5
- package/serialization/types/TextInputNode.js +1 -3
- package/serialization/types/TextInputNodeWrite.d.ts +2 -5
- package/serialization/types/TextInputNodeWrite.js +1 -3
- package/serialization/types/TextNode.d.ts +2 -5
- package/serialization/types/TextNode.js +1 -3
- package/serialization/types/TextNodeText.d.ts +2 -5
- package/serialization/types/TextNodeText.js +1 -3
- package/serialization/types/TextNodeWrite.d.ts +2 -5
- package/serialization/types/TextNodeWrite.js +1 -3
- package/serialization/types/TriggerType.d.ts +3 -6
- package/serialization/types/TriggerType.js +1 -6
- package/serialization/types/UpdatedOrder.d.ts +2 -5
- package/serialization/types/UpdatedOrder.js +1 -3
- package/serialization/types/UserAccess.d.ts +2 -5
- package/serialization/types/UserAccess.js +1 -3
- package/serialization/types/UserAccessAuditLogItem.d.ts +3 -6
- package/serialization/types/UserAccessAuditLogItem.js +2 -4
- package/serialization/types/UserAccessAuditLogItemEventSubType.d.ts +2 -5
- package/serialization/types/UserAccessAuditLogItemEventSubType.js +1 -3
- package/serialization/types/Webhook.d.ts +2 -5
- package/serialization/types/Webhook.js +1 -3
- package/serialization/types/WebhookFilter.d.ts +2 -5
- package/serialization/types/WebhookFilter.js +1 -3
- package/serialization/types/WebhookList.d.ts +3 -6
- package/serialization/types/WebhookList.js +2 -4
- package/serialization/types/WorkspaceAuditLogItem.d.ts +11 -10
- package/serialization/types/WorkspaceAuditLogItem.js +7 -7
- package/serialization/types/WorkspaceAuditLogItemActor.d.ts +2 -5
- package/serialization/types/WorkspaceAuditLogItemActor.js +1 -3
- package/serialization/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.d.ts +7 -0
- package/{dist/serialization/types/UserStatus.js → serialization/types/WorkspaceAuditLogItemPayloadSettingChangeMethod.js} +3 -5
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.d.ts +2 -5
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipGranularAccess.js +1 -3
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.d.ts +2 -5
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipMethod.js +1 -3
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.d.ts +2 -5
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipSite.js +1 -3
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.d.ts +2 -5
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipTargetUser.js +1 -3
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.d.ts +2 -5
- package/serialization/types/WorkspaceAuditLogItemPayloadSiteMembershipUserType.js +1 -3
- package/serialization/types/WorkspaceAuditLogItemPayloadUserAccessMethod.d.ts +2 -5
- package/serialization/types/WorkspaceAuditLogItemPayloadUserAccessMethod.js +1 -3
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.d.ts +2 -5
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationMethod.js +1 -3
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.d.ts +2 -5
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUser.js +1 -3
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.d.ts +2 -5
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationTargetUsersItem.js +1 -3
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.d.ts +2 -5
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceInvitationUserType.js +1 -3
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.d.ts +2 -5
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipMethod.js +1 -3
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.d.ts +2 -5
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipTargetUser.js +1 -3
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.d.ts +2 -5
- package/serialization/types/WorkspaceAuditLogItemPayloadWorkspaceMembershipUserType.js +1 -3
- package/serialization/types/WorkspaceAuditLogItemWorkspace.d.ts +2 -5
- package/serialization/types/WorkspaceAuditLogItemWorkspace.js +1 -3
- package/serialization/types/WorkspaceAuditLogResponse.d.ts +3 -6
- package/serialization/types/WorkspaceAuditLogResponse.js +2 -4
- package/serialization/types/WorkspaceInvitation.d.ts +4 -7
- package/serialization/types/WorkspaceInvitation.js +3 -5
- package/serialization/types/WorkspaceInvitationAuditLogItem.d.ts +3 -6
- package/serialization/types/WorkspaceInvitationAuditLogItem.js +2 -4
- package/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.d.ts +2 -5
- package/serialization/types/WorkspaceInvitationAuditLogItemEventSubType.js +1 -3
- package/serialization/types/WorkspaceMembership.d.ts +3 -6
- package/serialization/types/WorkspaceMembership.js +2 -4
- package/serialization/types/WorkspaceMembershipAuditLogItem.d.ts +3 -6
- package/serialization/types/WorkspaceMembershipAuditLogItem.js +2 -4
- package/serialization/types/WorkspaceMembershipAuditLogItemEventSubType.d.ts +2 -5
- package/serialization/types/WorkspaceMembershipAuditLogItemEventSubType.js +1 -3
- package/serialization/types/index.d.ts +228 -238
- package/serialization/types/index.js +228 -238
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/wrapper/AssetsUtilitiesClient.d.ts +1 -1
- package/wrapper/FormsClient.d.ts +37 -0
- package/{api/resources/accessGroups/client/Client.js → wrapper/FormsClient.js} +38 -51
- package/wrapper/ItemsClient.js +17 -17
- package/wrapper/PagesClient.js +5 -8
- package/wrapper/WebflowClient.d.ts +3 -0
- package/wrapper/WebflowClient.js +6 -5
- package/.mock/definition/__package__.yml +0 -4471
- package/.mock/definition/accessGroups.yml +0 -87
- package/.mock/definition/api.yml +0 -18
- package/.mock/definition/assets.yml +0 -484
- package/.mock/definition/collections/fields.yml +0 -212
- package/.mock/definition/collections/items.yml +0 -2147
- package/.mock/definition/collections.yml +0 -347
- package/.mock/definition/comments.yml +0 -40
- package/.mock/definition/components.yml +0 -544
- package/.mock/definition/ecommerce.yml +0 -45
- package/.mock/definition/forms.yml +0 -472
- package/.mock/definition/inventory.yml +0 -152
- package/.mock/definition/items.yml +0 -111
- package/.mock/definition/orders.yml +0 -1893
- package/.mock/definition/pages/scripts.yml +0 -155
- package/.mock/definition/pages.yml +0 -602
- package/.mock/definition/products.yml +0 -642
- package/.mock/definition/scripts.yml +0 -232
- package/.mock/definition/sites/activityLogs.yml +0 -73
- package/.mock/definition/sites/comments.yml +0 -350
- package/.mock/definition/sites/plans.yml +0 -48
- package/.mock/definition/sites/redirects.yml +0 -221
- package/.mock/definition/sites/robotsTxt.yml +0 -229
- package/.mock/definition/sites/scripts.yml +0 -242
- package/.mock/definition/sites/wellKnown.yml +0 -130
- package/.mock/definition/sites.yml +0 -534
- package/.mock/definition/token.yml +0 -75
- package/.mock/definition/users.yml +0 -594
- package/.mock/definition/webhooks.yml +0 -184
- package/.mock/definition/workspaces/auditLogs.yml +0 -125
- package/.mock/fern.config.json +0 -4
- package/api/resources/accessGroups/client/Client.d.ts +0 -56
- package/api/resources/accessGroups/client/index.d.ts +0 -2
- package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +0 -27
- package/api/resources/accessGroups/client/requests/AccessGroupsListRequest.js +0 -5
- package/api/resources/accessGroups/client/requests/index.d.ts +0 -1
- package/api/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -14
- package/api/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -10
- package/api/resources/accessGroups/types/index.d.ts +0 -1
- package/api/resources/accessGroups/types/index.js +0 -17
- package/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js +0 -5
- package/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +0 -25
- package/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js +0 -5
- package/api/resources/users/client/Client.d.ts +0 -162
- package/api/resources/users/client/index.d.ts +0 -2
- package/api/resources/users/client/requests/UsersInviteRequest.d.ts +0 -16
- package/api/resources/users/client/requests/UsersInviteRequest.js +0 -5
- package/api/resources/users/client/requests/UsersListRequest.d.ts +0 -30
- package/api/resources/users/client/requests/UsersListRequest.js +0 -5
- package/api/resources/users/client/requests/index.d.ts +0 -2
- package/api/resources/users/types/UserAccountAddedPayload.d.ts +0 -8
- package/api/resources/users/types/UserAccountAddedPayload.js +0 -5
- package/api/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -23
- package/api/resources/users/types/UserAccountAddedPayloadPayload.js +0 -5
- package/api/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -12
- package/api/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -5
- package/api/resources/users/types/UserAccountDeletedPayload.d.ts +0 -8
- package/api/resources/users/types/UserAccountDeletedPayload.js +0 -5
- package/api/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -23
- package/api/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -5
- package/api/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -12
- package/api/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -5
- package/api/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -8
- package/api/resources/users/types/UserAccountUpdatedPayload.js +0 -5
- package/api/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -23
- package/api/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -5
- package/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -12
- package/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -5
- package/api/resources/users/types/UsersListRequestSort.d.ts +0 -46
- package/api/resources/users/types/UsersListRequestSort.js +0 -18
- package/api/resources/users/types/index.d.ts +0 -10
- package/api/resources/users/types/index.js +0 -26
- package/api/types/AccessGroup.d.ts +0 -15
- package/api/types/AccessGroup.js +0 -5
- package/api/types/AccessGroupList.d.ts +0 -19
- package/api/types/AccessGroupList.js +0 -5
- package/api/types/ConflictErrorBody.d.ts +0 -5
- package/api/types/ConflictErrorBody.js +0 -5
- package/api/types/DuplicateUserEmail.d.ts +0 -4
- package/api/types/DuplicateUserEmail.js +0 -5
- package/api/types/User.d.ts +0 -25
- package/api/types/User.js +0 -5
- package/api/types/UserAccessGroupsItem.d.ts +0 -17
- package/api/types/UserAccessGroupsItem.js +0 -5
- package/api/types/UserAccessGroupsItemType.d.ts +0 -13
- package/api/types/UserAccessGroupsItemType.js +0 -10
- package/api/types/UserData.d.ts +0 -10
- package/api/types/UserData.js +0 -5
- package/api/types/UserDataData.d.ts +0 -15
- package/api/types/UserDataData.js +0 -5
- package/api/types/UserLimitReached.d.ts +0 -4
- package/api/types/UserLimitReached.js +0 -5
- package/api/types/UserList.d.ts +0 -19
- package/api/types/UserList.js +0 -5
- package/api/types/UserStatus.d.ts +0 -12
- package/api/types/UserStatus.js +0 -11
- package/api/types/UsersNotEnabled.d.ts +0 -4
- package/api/types/UsersNotEnabled.js +0 -5
- package/dist/api/resources/accessGroups/client/Client.d.ts +0 -56
- package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.d.ts +0 -27
- package/dist/api/resources/accessGroups/client/requests/AccessGroupsListRequest.js +0 -5
- package/dist/api/resources/accessGroups/client/requests/index.d.ts +0 -1
- package/dist/api/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -14
- package/dist/api/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -10
- package/dist/api/resources/accessGroups/types/index.d.ts +0 -1
- package/dist/api/resources/accessGroups/types/index.js +0 -17
- package/dist/api/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.js +0 -5
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.d.ts +0 -25
- package/dist/api/resources/forms/client/requests/FormsListSubmissionsBySiteRequest.js +0 -5
- package/dist/api/resources/users/client/Client.d.ts +0 -162
- package/dist/api/resources/users/client/requests/UsersInviteRequest.d.ts +0 -16
- package/dist/api/resources/users/client/requests/UsersInviteRequest.js +0 -5
- package/dist/api/resources/users/client/requests/UsersListRequest.d.ts +0 -30
- package/dist/api/resources/users/client/requests/UsersListRequest.js +0 -5
- package/dist/api/resources/users/client/requests/index.d.ts +0 -2
- package/dist/api/resources/users/types/UserAccountAddedPayload.d.ts +0 -8
- package/dist/api/resources/users/types/UserAccountAddedPayload.js +0 -5
- package/dist/api/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -23
- package/dist/api/resources/users/types/UserAccountAddedPayloadPayload.js +0 -5
- package/dist/api/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -12
- package/dist/api/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -5
- package/dist/api/resources/users/types/UserAccountDeletedPayload.d.ts +0 -8
- package/dist/api/resources/users/types/UserAccountDeletedPayload.js +0 -5
- package/dist/api/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -23
- package/dist/api/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -5
- package/dist/api/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -12
- package/dist/api/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -5
- package/dist/api/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -8
- package/dist/api/resources/users/types/UserAccountUpdatedPayload.js +0 -5
- package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -23
- package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -5
- package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -12
- package/dist/api/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -5
- package/dist/api/resources/users/types/UsersListRequestSort.d.ts +0 -46
- package/dist/api/resources/users/types/UsersListRequestSort.js +0 -18
- package/dist/api/resources/users/types/index.d.ts +0 -10
- package/dist/api/resources/users/types/index.js +0 -26
- package/dist/api/types/AccessGroup.d.ts +0 -15
- package/dist/api/types/AccessGroup.js +0 -5
- package/dist/api/types/AccessGroupList.d.ts +0 -19
- package/dist/api/types/AccessGroupList.js +0 -5
- package/dist/api/types/ConflictErrorBody.d.ts +0 -5
- package/dist/api/types/ConflictErrorBody.js +0 -5
- package/dist/api/types/DuplicateUserEmail.d.ts +0 -4
- package/dist/api/types/DuplicateUserEmail.js +0 -5
- package/dist/api/types/User.d.ts +0 -25
- package/dist/api/types/User.js +0 -5
- package/dist/api/types/UserAccessGroupsItem.d.ts +0 -17
- package/dist/api/types/UserAccessGroupsItem.js +0 -5
- package/dist/api/types/UserAccessGroupsItemType.d.ts +0 -13
- package/dist/api/types/UserAccessGroupsItemType.js +0 -10
- package/dist/api/types/UserData.d.ts +0 -10
- package/dist/api/types/UserData.js +0 -5
- package/dist/api/types/UserDataData.d.ts +0 -15
- package/dist/api/types/UserDataData.js +0 -5
- package/dist/api/types/UserLimitReached.d.ts +0 -4
- package/dist/api/types/UserLimitReached.js +0 -5
- package/dist/api/types/UserList.d.ts +0 -19
- package/dist/api/types/UserList.js +0 -5
- package/dist/api/types/UserStatus.d.ts +0 -12
- package/dist/api/types/UserStatus.js +0 -11
- package/dist/api/types/UsersNotEnabled.d.ts +0 -4
- package/dist/api/types/UsersNotEnabled.js +0 -5
- package/dist/serialization/resources/accessGroups/index.d.ts +0 -1
- package/dist/serialization/resources/accessGroups/index.js +0 -17
- package/dist/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -10
- package/dist/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -41
- package/dist/serialization/resources/accessGroups/types/index.d.ts +0 -1
- package/dist/serialization/resources/accessGroups/types/index.js +0 -17
- package/dist/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +0 -14
- package/dist/serialization/resources/users/client/index.js +0 -17
- package/dist/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +0 -13
- package/dist/serialization/resources/users/client/requests/index.d.ts +0 -1
- package/dist/serialization/resources/users/client/requests/index.js +0 -5
- package/dist/serialization/resources/users/index.d.ts +0 -2
- package/dist/serialization/resources/users/index.js +0 -18
- package/dist/serialization/resources/users/types/UserAccountAddedPayload.d.ts +0 -14
- package/dist/serialization/resources/users/types/UserAccountAddedPayload.js +0 -45
- package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -23
- package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayload.js +0 -54
- package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -15
- package/dist/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -46
- package/dist/serialization/resources/users/types/UserAccountDeletedPayload.d.ts +0 -14
- package/dist/serialization/resources/users/types/UserAccountDeletedPayload.js +0 -45
- package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -23
- package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -54
- package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -15
- package/dist/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -46
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -14
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayload.js +0 -45
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -23
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -54
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -15
- package/dist/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -46
- package/dist/serialization/resources/users/types/UsersListRequestSort.d.ts +0 -10
- package/dist/serialization/resources/users/types/UsersListRequestSort.js +0 -52
- package/dist/serialization/resources/users/types/index.d.ts +0 -10
- package/dist/serialization/resources/users/types/index.js +0 -26
- package/dist/serialization/types/AccessGroup.d.ts +0 -16
- package/dist/serialization/types/AccessGroupList.d.ts +0 -17
- package/dist/serialization/types/ConflictErrorBody.d.ts +0 -12
- package/dist/serialization/types/ConflictErrorBody.js +0 -43
- package/dist/serialization/types/DuplicateUserEmail.d.ts +0 -10
- package/dist/serialization/types/DuplicateUserEmail.js +0 -41
- package/dist/serialization/types/User.d.ts +0 -23
- package/dist/serialization/types/User.js +0 -54
- package/dist/serialization/types/UserAccessGroupsItem.d.ts +0 -14
- package/dist/serialization/types/UserAccessGroupsItem.js +0 -45
- package/dist/serialization/types/UserAccessGroupsItemType.d.ts +0 -10
- package/dist/serialization/types/UserAccessGroupsItemType.js +0 -41
- package/dist/serialization/types/UserData.d.ts +0 -13
- package/dist/serialization/types/UserDataData.d.ts +0 -16
- package/dist/serialization/types/UserDataData.js +0 -47
- package/dist/serialization/types/UserLimitReached.d.ts +0 -10
- package/dist/serialization/types/UserList.d.ts +0 -17
- package/dist/serialization/types/UserList.js +0 -48
- package/dist/serialization/types/UserStatus.d.ts +0 -10
- package/dist/serialization/types/UsersNotEnabled.d.ts +0 -10
- package/dist/serialization/types/UsersNotEnabled.js +0 -41
- package/serialization/resources/accessGroups/index.d.ts +0 -1
- package/serialization/resources/accessGroups/index.js +0 -17
- package/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.d.ts +0 -10
- package/serialization/resources/accessGroups/types/AccessGroupsListRequestSort.js +0 -41
- package/serialization/resources/accessGroups/types/index.d.ts +0 -1
- package/serialization/resources/accessGroups/types/index.js +0 -17
- package/serialization/resources/collections/resources/items/types/CreateBulkCollectionItemRequestBodyFieldDataItem.d.ts +0 -14
- package/serialization/resources/users/client/index.js +0 -17
- package/serialization/resources/users/client/requests/UsersInviteRequest.d.ts +0 -13
- package/serialization/resources/users/client/requests/index.d.ts +0 -1
- package/serialization/resources/users/client/requests/index.js +0 -5
- package/serialization/resources/users/index.d.ts +0 -2
- package/serialization/resources/users/index.js +0 -18
- package/serialization/resources/users/types/UserAccountAddedPayload.d.ts +0 -14
- package/serialization/resources/users/types/UserAccountAddedPayload.js +0 -45
- package/serialization/resources/users/types/UserAccountAddedPayloadPayload.d.ts +0 -23
- package/serialization/resources/users/types/UserAccountAddedPayloadPayload.js +0 -54
- package/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.d.ts +0 -15
- package/serialization/resources/users/types/UserAccountAddedPayloadPayloadData.js +0 -46
- package/serialization/resources/users/types/UserAccountDeletedPayload.d.ts +0 -14
- package/serialization/resources/users/types/UserAccountDeletedPayload.js +0 -45
- package/serialization/resources/users/types/UserAccountDeletedPayloadPayload.d.ts +0 -23
- package/serialization/resources/users/types/UserAccountDeletedPayloadPayload.js +0 -54
- package/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.d.ts +0 -15
- package/serialization/resources/users/types/UserAccountDeletedPayloadPayloadData.js +0 -46
- package/serialization/resources/users/types/UserAccountUpdatedPayload.d.ts +0 -14
- package/serialization/resources/users/types/UserAccountUpdatedPayload.js +0 -45
- package/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.d.ts +0 -23
- package/serialization/resources/users/types/UserAccountUpdatedPayloadPayload.js +0 -54
- package/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.d.ts +0 -15
- package/serialization/resources/users/types/UserAccountUpdatedPayloadPayloadData.js +0 -46
- package/serialization/resources/users/types/UsersListRequestSort.d.ts +0 -10
- package/serialization/resources/users/types/UsersListRequestSort.js +0 -52
- package/serialization/resources/users/types/index.d.ts +0 -10
- package/serialization/resources/users/types/index.js +0 -26
- package/serialization/types/AccessGroup.d.ts +0 -16
- package/serialization/types/AccessGroup.js +0 -47
- package/serialization/types/AccessGroupList.d.ts +0 -17
- package/serialization/types/AccessGroupList.js +0 -48
- package/serialization/types/ConflictErrorBody.d.ts +0 -12
- package/serialization/types/ConflictErrorBody.js +0 -43
- package/serialization/types/DuplicateUserEmail.d.ts +0 -10
- package/serialization/types/DuplicateUserEmail.js +0 -41
- package/serialization/types/User.d.ts +0 -23
- package/serialization/types/User.js +0 -54
- package/serialization/types/UserAccessGroupsItem.d.ts +0 -14
- package/serialization/types/UserAccessGroupsItem.js +0 -45
- package/serialization/types/UserAccessGroupsItemType.d.ts +0 -10
- package/serialization/types/UserAccessGroupsItemType.js +0 -41
- package/serialization/types/UserData.d.ts +0 -13
- package/serialization/types/UserDataData.d.ts +0 -16
- package/serialization/types/UserDataData.js +0 -47
- package/serialization/types/UserLimitReached.d.ts +0 -10
- package/serialization/types/UserLimitReached.js +0 -41
- package/serialization/types/UserList.d.ts +0 -17
- package/serialization/types/UserList.js +0 -48
- package/serialization/types/UserStatus.d.ts +0 -10
- package/serialization/types/UserStatus.js +0 -41
- package/serialization/types/UsersNotEnabled.d.ts +0 -10
- package/serialization/types/UsersNotEnabled.js +0 -41
- /package/{dist/serialization/resources/users → api/resources/sites/resources/forms}/client/index.d.ts +0 -0
- /package/api/resources/{accessGroups → sites/resources/forms}/client/index.js +0 -0
- /package/api/resources/{accessGroups → sites/resources/forms}/client/requests/index.js +0 -0
- /package/{api/resources/users/client/requests/index.js → core/auth/AuthProvider.js} +0 -0
- /package/{dist/api/resources/accessGroups/client/requests/index.js → core/auth/AuthRequest.js} +0 -0
- /package/{dist/api/resources/users/client/requests/index.js → core/fetcher/EndpointMetadata.js} +0 -0
- /package/{serialization/resources/users → dist/api/resources/sites/resources/forms}/client/index.d.ts +0 -0
- /package/{api/resources/users → dist/api/resources/sites/resources/forms}/client/index.js +0 -0
- /package/dist/{api/resources/accessGroups → serialization/resources/sites/resources/forms}/client/index.js +0 -0
- /package/{dist/api/resources/users → serialization/resources/sites/resources/forms}/client/index.js +0 -0
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
-
*/
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
5
3
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
4
|
if (k2 === undefined) k2 = k;
|
|
7
5
|
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
@@ -55,20 +53,16 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
55
53
|
}
|
|
56
54
|
return t;
|
|
57
55
|
};
|
|
58
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
59
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
60
|
-
};
|
|
61
56
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
62
57
|
exports.Items = void 0;
|
|
63
|
-
const environments = __importStar(require("../../../../../../environments"));
|
|
64
58
|
const core = __importStar(require("../../../../../../core"));
|
|
65
|
-
const
|
|
66
|
-
const
|
|
67
|
-
const headers_js_1 = require("../../../../../../core/headers.js");
|
|
68
|
-
const url_join_1 = __importDefault(require("url-join"));
|
|
59
|
+
const headers_1 = require("../../../../../../core/headers");
|
|
60
|
+
const environments = __importStar(require("../../../../../../environments"));
|
|
69
61
|
const errors = __importStar(require("../../../../../../errors/index"));
|
|
62
|
+
const serializers = __importStar(require("../../../../../../serialization/index"));
|
|
63
|
+
const Webflow = __importStar(require("../../../../../index"));
|
|
70
64
|
class Items {
|
|
71
|
-
constructor(_options
|
|
65
|
+
constructor(_options) {
|
|
72
66
|
this._options = _options;
|
|
73
67
|
}
|
|
74
68
|
/**
|
|
@@ -89,8 +83,8 @@ class Items {
|
|
|
89
83
|
* @example
|
|
90
84
|
* await client.collections.items.listItems("580e63fc8c9a982ac9b8b745", {
|
|
91
85
|
* cmsLocaleId: "cmsLocaleId",
|
|
92
|
-
* offset: 1
|
|
93
|
-
* limit: 1
|
|
86
|
+
* offset: 1,
|
|
87
|
+
* limit: 1,
|
|
94
88
|
* name: "name",
|
|
95
89
|
* slug: "slug",
|
|
96
90
|
* sortBy: "lastPublished",
|
|
@@ -102,54 +96,58 @@ class Items {
|
|
|
102
96
|
}
|
|
103
97
|
__listItems(collectionId_1) {
|
|
104
98
|
return __awaiter(this, arguments, void 0, function* (collectionId, request = {}, requestOptions) {
|
|
105
|
-
var _a, _b, _c;
|
|
99
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
106
100
|
const { cmsLocaleId, offset, limit, name, slug, lastPublished, sortBy, sortOrder } = request;
|
|
107
101
|
const _queryParams = {};
|
|
108
102
|
if (cmsLocaleId != null) {
|
|
109
|
-
_queryParams
|
|
103
|
+
_queryParams.cmsLocaleId = cmsLocaleId;
|
|
110
104
|
}
|
|
111
105
|
if (offset != null) {
|
|
112
|
-
_queryParams
|
|
106
|
+
_queryParams.offset = offset.toString();
|
|
113
107
|
}
|
|
114
108
|
if (limit != null) {
|
|
115
|
-
_queryParams
|
|
109
|
+
_queryParams.limit = limit.toString();
|
|
116
110
|
}
|
|
117
111
|
if (name != null) {
|
|
118
|
-
_queryParams
|
|
112
|
+
_queryParams.name = name;
|
|
119
113
|
}
|
|
120
114
|
if (slug != null) {
|
|
121
|
-
_queryParams
|
|
115
|
+
_queryParams.slug = slug;
|
|
122
116
|
}
|
|
123
117
|
if (lastPublished != null) {
|
|
124
|
-
_queryParams
|
|
118
|
+
_queryParams.lastPublished = serializers.ItemsListItemsRequestLastPublished.jsonOrThrow(lastPublished, {
|
|
125
119
|
unrecognizedObjectKeys: "passthrough",
|
|
126
120
|
allowUnrecognizedUnionMembers: true,
|
|
127
121
|
allowUnrecognizedEnumValues: true,
|
|
122
|
+
omitUndefined: true,
|
|
128
123
|
breadcrumbsPrefix: ["request", "lastPublished"],
|
|
129
124
|
});
|
|
130
125
|
}
|
|
131
126
|
if (sortBy != null) {
|
|
132
|
-
_queryParams
|
|
127
|
+
_queryParams.sortBy = serializers.collections.ItemsListItemsRequestSortBy.jsonOrThrow(sortBy, {
|
|
133
128
|
unrecognizedObjectKeys: "passthrough",
|
|
134
129
|
allowUnrecognizedUnionMembers: true,
|
|
135
130
|
allowUnrecognizedEnumValues: true,
|
|
131
|
+
omitUndefined: true,
|
|
136
132
|
});
|
|
137
133
|
}
|
|
138
134
|
if (sortOrder != null) {
|
|
139
|
-
_queryParams
|
|
135
|
+
_queryParams.sortOrder = serializers.collections.ItemsListItemsRequestSortOrder.jsonOrThrow(sortOrder, {
|
|
140
136
|
unrecognizedObjectKeys: "passthrough",
|
|
141
137
|
allowUnrecognizedUnionMembers: true,
|
|
142
138
|
allowUnrecognizedEnumValues: true,
|
|
139
|
+
omitUndefined: true,
|
|
143
140
|
});
|
|
144
141
|
}
|
|
142
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
145
143
|
const _response = yield core.fetcher({
|
|
146
|
-
url:
|
|
147
|
-
.base, `collections/${
|
|
144
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
145
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items`),
|
|
148
146
|
method: "GET",
|
|
149
|
-
headers:
|
|
150
|
-
queryParameters: _queryParams,
|
|
151
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
152
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
147
|
+
headers: _headers,
|
|
148
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
149
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
150
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
153
151
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
154
152
|
});
|
|
155
153
|
if (_response.ok) {
|
|
@@ -251,7 +249,41 @@ class Items {
|
|
|
251
249
|
* isDraft: false,
|
|
252
250
|
* fieldData: {
|
|
253
251
|
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
254
|
-
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
252
|
+
* slug: "hitchhikers-guide-to-the-galaxy",
|
|
253
|
+
* "plain-text": "Don't Panic.",
|
|
254
|
+
* "rich-text": "<h3>A Guide to Interstellar Travel</h3><p>A towel is about the most massively useful thing an interstellar hitchhiker can have. <strong>Don't forget yours!</strong></p>",
|
|
255
|
+
* "main-image": {
|
|
256
|
+
* "fileId": "62b720ef280c7a7a3be8cabe",
|
|
257
|
+
* "url": "/files/62b720ef280c7a7a3be8cabe_image.png"
|
|
258
|
+
* },
|
|
259
|
+
* "image-gallery": [
|
|
260
|
+
* {
|
|
261
|
+
* "fileId": "62b720ef280c7a7a3be8cabd",
|
|
262
|
+
* "url": "/files/62b720ef280c7a7a3be8cabd_image.png"
|
|
263
|
+
* },
|
|
264
|
+
* {
|
|
265
|
+
* "fileId": "62b720ef280c7a7a3be8cabe",
|
|
266
|
+
* "url": "/files/62b720ef280c7a7a3be8cabe_image.png"
|
|
267
|
+
* }
|
|
268
|
+
* ],
|
|
269
|
+
* "intro-video": "https://www.youtube.com/watch?v=aJ83KAggd-4",
|
|
270
|
+
* "official-site": "https://hitchhikers.fandom.com/wiki/The_Hitchhiker%27s_Guide_to_the_Galaxy",
|
|
271
|
+
* "contact-email": "zaphod.beeblebrox@heartofgold.gov",
|
|
272
|
+
* "support-phone": "424-242-4242",
|
|
273
|
+
* "answer-to-everything": 42,
|
|
274
|
+
* "release-date": "1979-10-12T00:00:00.000Z",
|
|
275
|
+
* "is-featured": true,
|
|
276
|
+
* "brand-color": "#000000",
|
|
277
|
+
* category: "62b720ef280c7a7a3be8cabf",
|
|
278
|
+
* author: "62b720ef280c7a7a3be8cab0",
|
|
279
|
+
* tags: [
|
|
280
|
+
* "62b720ef280c7a7a3be8cab1",
|
|
281
|
+
* "62b720ef280c7a7a3be8cab2"
|
|
282
|
+
* ],
|
|
283
|
+
* "downloadable-asset": {
|
|
284
|
+
* "fileId": "62b720ef280c7a7a3be8cab3",
|
|
285
|
+
* "url": "/files/62b720ef280c7a7a3be8cab3_document.pdf"
|
|
286
|
+
* }
|
|
255
287
|
* }
|
|
256
288
|
* }
|
|
257
289
|
* })
|
|
@@ -265,14 +297,18 @@ class Items {
|
|
|
265
297
|
* isDraft: false,
|
|
266
298
|
* fieldData: {
|
|
267
299
|
* name: "Senior Data Analyst",
|
|
268
|
-
* slug: "senior-data-analyst"
|
|
300
|
+
* slug: "senior-data-analyst",
|
|
301
|
+
* url: "https://boards.greenhouse.io/webflow/jobs/26567701",
|
|
302
|
+
* department: "Data"
|
|
269
303
|
* }
|
|
270
304
|
* }, {
|
|
271
305
|
* isArchived: false,
|
|
272
306
|
* isDraft: false,
|
|
273
307
|
* fieldData: {
|
|
274
308
|
* name: "Product Manager",
|
|
275
|
-
* slug: "product-manager"
|
|
309
|
+
* slug: "product-manager",
|
|
310
|
+
* url: "https://boards.greenhouse.io/webflow/jobs/31234567",
|
|
311
|
+
* department: "Product"
|
|
276
312
|
* }
|
|
277
313
|
* }]
|
|
278
314
|
* }
|
|
@@ -283,27 +319,29 @@ class Items {
|
|
|
283
319
|
}
|
|
284
320
|
__createItem(collectionId, request, requestOptions) {
|
|
285
321
|
return __awaiter(this, void 0, void 0, function* () {
|
|
286
|
-
var _a, _b, _c;
|
|
322
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
287
323
|
const { skipInvalidFiles, body: _body } = request;
|
|
288
324
|
const _queryParams = {};
|
|
289
325
|
if (skipInvalidFiles != null) {
|
|
290
|
-
_queryParams
|
|
326
|
+
_queryParams.skipInvalidFiles = skipInvalidFiles.toString();
|
|
291
327
|
}
|
|
328
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
292
329
|
const _response = yield core.fetcher({
|
|
293
|
-
url:
|
|
294
|
-
.base, `collections/${
|
|
330
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
331
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items`),
|
|
295
332
|
method: "POST",
|
|
296
|
-
headers:
|
|
333
|
+
headers: _headers,
|
|
297
334
|
contentType: "application/json",
|
|
298
|
-
queryParameters: _queryParams,
|
|
335
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
299
336
|
requestType: "json",
|
|
300
337
|
body: serializers.collections.ItemsCreateItemRequestBody.jsonOrThrow(_body, {
|
|
301
338
|
unrecognizedObjectKeys: "passthrough",
|
|
302
339
|
allowUnrecognizedUnionMembers: true,
|
|
303
340
|
allowUnrecognizedEnumValues: true,
|
|
341
|
+
omitUndefined: true,
|
|
304
342
|
}),
|
|
305
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
306
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
343
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
344
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
307
345
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
308
346
|
});
|
|
309
347
|
if (_response.ok) {
|
|
@@ -409,21 +447,24 @@ class Items {
|
|
|
409
447
|
}
|
|
410
448
|
__deleteItems(collectionId, request, requestOptions) {
|
|
411
449
|
return __awaiter(this, void 0, void 0, function* () {
|
|
412
|
-
var _a, _b, _c;
|
|
450
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
451
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
413
452
|
const _response = yield core.fetcher({
|
|
414
|
-
url:
|
|
415
|
-
.base, `collections/${
|
|
453
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
454
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items`),
|
|
416
455
|
method: "DELETE",
|
|
417
|
-
headers:
|
|
456
|
+
headers: _headers,
|
|
418
457
|
contentType: "application/json",
|
|
458
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
419
459
|
requestType: "json",
|
|
420
460
|
body: serializers.collections.ItemsDeleteItemsRequest.jsonOrThrow(request, {
|
|
421
461
|
unrecognizedObjectKeys: "passthrough",
|
|
422
462
|
allowUnrecognizedUnionMembers: true,
|
|
423
463
|
allowUnrecognizedEnumValues: true,
|
|
464
|
+
omitUndefined: true,
|
|
424
465
|
}),
|
|
425
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
426
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
466
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
467
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
427
468
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
428
469
|
});
|
|
429
470
|
if (_response.ok) {
|
|
@@ -519,28 +560,32 @@ class Items {
|
|
|
519
560
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
|
520
561
|
* fieldData: {
|
|
521
562
|
* name: "Ne Paniquez Pas",
|
|
522
|
-
* slug: "ne-paniquez-pas"
|
|
563
|
+
* slug: "ne-paniquez-pas",
|
|
564
|
+
* featured: false
|
|
523
565
|
* }
|
|
524
566
|
* }, {
|
|
525
567
|
* id: "66f6ed9576ddacf3149d5ea6",
|
|
526
568
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca4",
|
|
527
569
|
* fieldData: {
|
|
528
570
|
* name: "No Entrar en P\u00E1nico",
|
|
529
|
-
* slug: "no-entrar-en-panico"
|
|
571
|
+
* slug: "no-entrar-en-panico",
|
|
572
|
+
* featured: false
|
|
530
573
|
* }
|
|
531
574
|
* }, {
|
|
532
575
|
* id: "66f6ed9576ddacf3149d5eaa",
|
|
533
576
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
|
534
577
|
* fieldData: {
|
|
535
578
|
* name: "Au Revoir et Merci pour Tous les Poissons",
|
|
536
|
-
* slug: "au-revoir-et-merci"
|
|
579
|
+
* slug: "au-revoir-et-merci",
|
|
580
|
+
* featured: false
|
|
537
581
|
* }
|
|
538
582
|
* }, {
|
|
539
583
|
* id: "66f6ed9576ddacf3149d5eaa",
|
|
540
584
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca4",
|
|
541
585
|
* fieldData: {
|
|
542
586
|
* name: "Hasta Luego y Gracias por Todo el Pescado",
|
|
543
|
-
* slug: "hasta-luego-y-gracias"
|
|
587
|
+
* slug: "hasta-luego-y-gracias",
|
|
588
|
+
* featured: false
|
|
544
589
|
* }
|
|
545
590
|
* }]
|
|
546
591
|
* })
|
|
@@ -554,7 +599,9 @@ class Items {
|
|
|
554
599
|
* isDraft: false,
|
|
555
600
|
* fieldData: {
|
|
556
601
|
* name: "Senior Data Analyst",
|
|
557
|
-
* slug: "senior-data-analyst"
|
|
602
|
+
* slug: "senior-data-analyst",
|
|
603
|
+
* url: "https://boards.greenhouse.io/webflow/jobs/26567701",
|
|
604
|
+
* department: "Data"
|
|
558
605
|
* }
|
|
559
606
|
* }, {
|
|
560
607
|
* id: "580e64008c9a982ac9b8b754",
|
|
@@ -562,7 +609,9 @@ class Items {
|
|
|
562
609
|
* isDraft: false,
|
|
563
610
|
* fieldData: {
|
|
564
611
|
* name: "Product Manager",
|
|
565
|
-
* slug: "product-manager"
|
|
612
|
+
* slug: "product-manager",
|
|
613
|
+
* url: "https://boards.greenhouse.io/webflow/jobs/31234567",
|
|
614
|
+
* department: "Product"
|
|
566
615
|
* }
|
|
567
616
|
* }]
|
|
568
617
|
* })
|
|
@@ -572,27 +621,29 @@ class Items {
|
|
|
572
621
|
}
|
|
573
622
|
__updateItems(collectionId_1) {
|
|
574
623
|
return __awaiter(this, arguments, void 0, function* (collectionId, request = {}, requestOptions) {
|
|
575
|
-
var _a, _b, _c;
|
|
624
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
576
625
|
const { skipInvalidFiles } = request, _body = __rest(request, ["skipInvalidFiles"]);
|
|
577
626
|
const _queryParams = {};
|
|
578
627
|
if (skipInvalidFiles != null) {
|
|
579
|
-
_queryParams
|
|
628
|
+
_queryParams.skipInvalidFiles = skipInvalidFiles.toString();
|
|
580
629
|
}
|
|
630
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
581
631
|
const _response = yield core.fetcher({
|
|
582
|
-
url:
|
|
583
|
-
.base, `collections/${
|
|
632
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
633
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items`),
|
|
584
634
|
method: "PATCH",
|
|
585
|
-
headers:
|
|
635
|
+
headers: _headers,
|
|
586
636
|
contentType: "application/json",
|
|
587
|
-
queryParameters: _queryParams,
|
|
637
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
588
638
|
requestType: "json",
|
|
589
639
|
body: serializers.collections.ItemsUpdateItemsRequest.jsonOrThrow(_body, {
|
|
590
640
|
unrecognizedObjectKeys: "passthrough",
|
|
591
641
|
allowUnrecognizedUnionMembers: true,
|
|
592
642
|
allowUnrecognizedEnumValues: true,
|
|
643
|
+
omitUndefined: true,
|
|
593
644
|
}),
|
|
594
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
595
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
645
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
646
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
596
647
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
597
648
|
});
|
|
598
649
|
if (_response.ok) {
|
|
@@ -671,10 +722,9 @@ class Items {
|
|
|
671
722
|
/**
|
|
672
723
|
* List all published items in a collection.
|
|
673
724
|
*
|
|
674
|
-
* <
|
|
675
|
-
*
|
|
676
|
-
*
|
|
677
|
-
* </Note>
|
|
725
|
+
* <Tip title="Serve data with the Content Delivery API">
|
|
726
|
+
* Serving data to applications in real-time? Use the Content Delivery API at `api-cdn.webflow.com` for better performance. The CDN-backed endpoint is optimized for high-volume reads, while the Data API is designed for writes and management operations.
|
|
727
|
+
* </Tip>
|
|
678
728
|
*
|
|
679
729
|
* Required scope | `CMS:read`
|
|
680
730
|
*
|
|
@@ -691,8 +741,8 @@ class Items {
|
|
|
691
741
|
* @example
|
|
692
742
|
* await client.collections.items.listItemsLive("580e63fc8c9a982ac9b8b745", {
|
|
693
743
|
* cmsLocaleId: "cmsLocaleId",
|
|
694
|
-
* offset: 1
|
|
695
|
-
* limit: 1
|
|
744
|
+
* offset: 1,
|
|
745
|
+
* limit: 1,
|
|
696
746
|
* name: "name",
|
|
697
747
|
* slug: "slug",
|
|
698
748
|
* sortBy: "lastPublished",
|
|
@@ -704,54 +754,58 @@ class Items {
|
|
|
704
754
|
}
|
|
705
755
|
__listItemsLive(collectionId_1) {
|
|
706
756
|
return __awaiter(this, arguments, void 0, function* (collectionId, request = {}, requestOptions) {
|
|
707
|
-
var _a, _b, _c;
|
|
757
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
708
758
|
const { cmsLocaleId, offset, limit, name, slug, lastPublished, sortBy, sortOrder } = request;
|
|
709
759
|
const _queryParams = {};
|
|
710
760
|
if (cmsLocaleId != null) {
|
|
711
|
-
_queryParams
|
|
761
|
+
_queryParams.cmsLocaleId = cmsLocaleId;
|
|
712
762
|
}
|
|
713
763
|
if (offset != null) {
|
|
714
|
-
_queryParams
|
|
764
|
+
_queryParams.offset = offset.toString();
|
|
715
765
|
}
|
|
716
766
|
if (limit != null) {
|
|
717
|
-
_queryParams
|
|
767
|
+
_queryParams.limit = limit.toString();
|
|
718
768
|
}
|
|
719
769
|
if (name != null) {
|
|
720
|
-
_queryParams
|
|
770
|
+
_queryParams.name = name;
|
|
721
771
|
}
|
|
722
772
|
if (slug != null) {
|
|
723
|
-
_queryParams
|
|
773
|
+
_queryParams.slug = slug;
|
|
724
774
|
}
|
|
725
775
|
if (lastPublished != null) {
|
|
726
|
-
_queryParams
|
|
776
|
+
_queryParams.lastPublished = serializers.ItemsListItemsLiveRequestLastPublished.jsonOrThrow(lastPublished, {
|
|
727
777
|
unrecognizedObjectKeys: "passthrough",
|
|
728
778
|
allowUnrecognizedUnionMembers: true,
|
|
729
779
|
allowUnrecognizedEnumValues: true,
|
|
780
|
+
omitUndefined: true,
|
|
730
781
|
breadcrumbsPrefix: ["request", "lastPublished"],
|
|
731
782
|
});
|
|
732
783
|
}
|
|
733
784
|
if (sortBy != null) {
|
|
734
|
-
_queryParams
|
|
785
|
+
_queryParams.sortBy = serializers.collections.ItemsListItemsLiveRequestSortBy.jsonOrThrow(sortBy, {
|
|
735
786
|
unrecognizedObjectKeys: "passthrough",
|
|
736
787
|
allowUnrecognizedUnionMembers: true,
|
|
737
788
|
allowUnrecognizedEnumValues: true,
|
|
789
|
+
omitUndefined: true,
|
|
738
790
|
});
|
|
739
791
|
}
|
|
740
792
|
if (sortOrder != null) {
|
|
741
|
-
_queryParams
|
|
793
|
+
_queryParams.sortOrder = serializers.collections.ItemsListItemsLiveRequestSortOrder.jsonOrThrow(sortOrder, {
|
|
742
794
|
unrecognizedObjectKeys: "passthrough",
|
|
743
795
|
allowUnrecognizedUnionMembers: true,
|
|
744
796
|
allowUnrecognizedEnumValues: true,
|
|
797
|
+
omitUndefined: true,
|
|
745
798
|
});
|
|
746
799
|
}
|
|
800
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
747
801
|
const _response = yield core.fetcher({
|
|
748
|
-
url:
|
|
749
|
-
.
|
|
802
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
803
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items/live`),
|
|
750
804
|
method: "GET",
|
|
751
|
-
headers:
|
|
752
|
-
queryParameters: _queryParams,
|
|
753
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
754
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
805
|
+
headers: _headers,
|
|
806
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
807
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
808
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
755
809
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
756
810
|
});
|
|
757
811
|
if (_response.ok) {
|
|
@@ -854,7 +908,41 @@ class Items {
|
|
|
854
908
|
* isDraft: false,
|
|
855
909
|
* fieldData: {
|
|
856
910
|
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
857
|
-
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
911
|
+
* slug: "hitchhikers-guide-to-the-galaxy",
|
|
912
|
+
* "plain-text": "Don't Panic.",
|
|
913
|
+
* "rich-text": "<h3>A Guide to Interstellar Travel</h3><p>A towel is about the most massively useful thing an interstellar hitchhiker can have. <strong>Don't forget yours!</strong></p>",
|
|
914
|
+
* "main-image": {
|
|
915
|
+
* "fileId": "62b720ef280c7a7a3be8cabe",
|
|
916
|
+
* "url": "/files/62b720ef280c7a7a3be8cabe_image.png"
|
|
917
|
+
* },
|
|
918
|
+
* "image-gallery": [
|
|
919
|
+
* {
|
|
920
|
+
* "fileId": "62b720ef280c7a7a3be8cabd",
|
|
921
|
+
* "url": "/files/62b720ef280c7a7a3be8cabd_image.png"
|
|
922
|
+
* },
|
|
923
|
+
* {
|
|
924
|
+
* "fileId": "62b720ef280c7a7a3be8cabe",
|
|
925
|
+
* "url": "/files/62b720ef280c7a7a3be8cabe_image.png"
|
|
926
|
+
* }
|
|
927
|
+
* ],
|
|
928
|
+
* "intro-video": "https://www.youtube.com/watch?v=aJ83KAggd-4",
|
|
929
|
+
* "official-site": "https://hitchhikers.fandom.com/wiki/The_Hitchhiker%27s_Guide_to_the_Galaxy",
|
|
930
|
+
* "contact-email": "zaphod.beeblebrox@heartofgold.gov",
|
|
931
|
+
* "support-phone": "424-242-4242",
|
|
932
|
+
* "answer-to-everything": 42,
|
|
933
|
+
* "release-date": "1979-10-12T00:00:00.000Z",
|
|
934
|
+
* "is-featured": true,
|
|
935
|
+
* "brand-color": "#000000",
|
|
936
|
+
* category: "62b720ef280c7a7a3be8cabf",
|
|
937
|
+
* author: "62b720ef280c7a7a3be8cab0",
|
|
938
|
+
* tags: [
|
|
939
|
+
* "62b720ef280c7a7a3be8cab1",
|
|
940
|
+
* "62b720ef280c7a7a3be8cab2"
|
|
941
|
+
* ],
|
|
942
|
+
* "downloadable-asset": {
|
|
943
|
+
* "fileId": "62b720ef280c7a7a3be8cab3",
|
|
944
|
+
* "url": "/files/62b720ef280c7a7a3be8cab3_document.pdf"
|
|
945
|
+
* }
|
|
858
946
|
* }
|
|
859
947
|
* }
|
|
860
948
|
* })
|
|
@@ -868,14 +956,18 @@ class Items {
|
|
|
868
956
|
* isDraft: false,
|
|
869
957
|
* fieldData: {
|
|
870
958
|
* name: "Senior Data Analyst",
|
|
871
|
-
* slug: "senior-data-analyst"
|
|
959
|
+
* slug: "senior-data-analyst",
|
|
960
|
+
* url: "https://boards.greenhouse.io/webflow/jobs/26567701",
|
|
961
|
+
* department: "Data"
|
|
872
962
|
* }
|
|
873
963
|
* }, {
|
|
874
964
|
* isArchived: false,
|
|
875
965
|
* isDraft: false,
|
|
876
966
|
* fieldData: {
|
|
877
967
|
* name: "Product Manager",
|
|
878
|
-
* slug: "product-manager"
|
|
968
|
+
* slug: "product-manager",
|
|
969
|
+
* url: "https://boards.greenhouse.io/webflow/jobs/31234567",
|
|
970
|
+
* department: "Product"
|
|
879
971
|
* }
|
|
880
972
|
* }]
|
|
881
973
|
* }
|
|
@@ -886,27 +978,29 @@ class Items {
|
|
|
886
978
|
}
|
|
887
979
|
__createItemLive(collectionId, request, requestOptions) {
|
|
888
980
|
return __awaiter(this, void 0, void 0, function* () {
|
|
889
|
-
var _a, _b, _c;
|
|
981
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
890
982
|
const { skipInvalidFiles, body: _body } = request;
|
|
891
983
|
const _queryParams = {};
|
|
892
984
|
if (skipInvalidFiles != null) {
|
|
893
|
-
_queryParams
|
|
985
|
+
_queryParams.skipInvalidFiles = skipInvalidFiles.toString();
|
|
894
986
|
}
|
|
987
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
895
988
|
const _response = yield core.fetcher({
|
|
896
|
-
url:
|
|
897
|
-
.base, `collections/${
|
|
989
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
990
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items/live`),
|
|
898
991
|
method: "POST",
|
|
899
|
-
headers:
|
|
992
|
+
headers: _headers,
|
|
900
993
|
contentType: "application/json",
|
|
901
|
-
queryParameters: _queryParams,
|
|
994
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
902
995
|
requestType: "json",
|
|
903
996
|
body: serializers.collections.ItemsCreateItemLiveRequestBody.jsonOrThrow(_body, {
|
|
904
997
|
unrecognizedObjectKeys: "passthrough",
|
|
905
998
|
allowUnrecognizedUnionMembers: true,
|
|
906
999
|
allowUnrecognizedEnumValues: true,
|
|
1000
|
+
omitUndefined: true,
|
|
907
1001
|
}),
|
|
908
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
909
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1002
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1003
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
910
1004
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
911
1005
|
});
|
|
912
1006
|
if (_response.ok) {
|
|
@@ -1011,21 +1105,24 @@ class Items {
|
|
|
1011
1105
|
}
|
|
1012
1106
|
__deleteItemsLive(collectionId, request, requestOptions) {
|
|
1013
1107
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1014
|
-
var _a, _b, _c;
|
|
1108
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1109
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1015
1110
|
const _response = yield core.fetcher({
|
|
1016
|
-
url:
|
|
1017
|
-
.base, `collections/${
|
|
1111
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
1112
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items/live`),
|
|
1018
1113
|
method: "DELETE",
|
|
1019
|
-
headers:
|
|
1114
|
+
headers: _headers,
|
|
1020
1115
|
contentType: "application/json",
|
|
1116
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
1021
1117
|
requestType: "json",
|
|
1022
1118
|
body: serializers.collections.ItemsDeleteItemsLiveRequest.jsonOrThrow(request, {
|
|
1023
1119
|
unrecognizedObjectKeys: "passthrough",
|
|
1024
1120
|
allowUnrecognizedUnionMembers: true,
|
|
1025
1121
|
allowUnrecognizedEnumValues: true,
|
|
1122
|
+
omitUndefined: true,
|
|
1026
1123
|
}),
|
|
1027
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1028
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1124
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1125
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1029
1126
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1030
1127
|
});
|
|
1031
1128
|
if (_response.ok) {
|
|
@@ -1118,28 +1215,32 @@ class Items {
|
|
|
1118
1215
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
|
1119
1216
|
* fieldData: {
|
|
1120
1217
|
* name: "Ne Paniquez Pas",
|
|
1121
|
-
* slug: "ne-paniquez-pas"
|
|
1218
|
+
* slug: "ne-paniquez-pas",
|
|
1219
|
+
* featured: false
|
|
1122
1220
|
* }
|
|
1123
1221
|
* }, {
|
|
1124
1222
|
* id: "66f6ed9576ddacf3149d5ea6",
|
|
1125
1223
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca4",
|
|
1126
1224
|
* fieldData: {
|
|
1127
1225
|
* name: "No Entrar en P\u00E1nico",
|
|
1128
|
-
* slug: "no-entrar-en-panico"
|
|
1226
|
+
* slug: "no-entrar-en-panico",
|
|
1227
|
+
* featured: false
|
|
1129
1228
|
* }
|
|
1130
1229
|
* }, {
|
|
1131
1230
|
* id: "66f6ed9576ddacf3149d5eaa",
|
|
1132
1231
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca5",
|
|
1133
1232
|
* fieldData: {
|
|
1134
1233
|
* name: "Au Revoir et Merci pour Tous les Poissons",
|
|
1135
|
-
* slug: "au-revoir-et-merci"
|
|
1234
|
+
* slug: "au-revoir-et-merci",
|
|
1235
|
+
* featured: false
|
|
1136
1236
|
* }
|
|
1137
1237
|
* }, {
|
|
1138
1238
|
* id: "66f6ed9576ddacf3149d5eaa",
|
|
1139
1239
|
* cmsLocaleId: "66f6e966c9e1dc700a857ca4",
|
|
1140
1240
|
* fieldData: {
|
|
1141
1241
|
* name: "Hasta Luego y Gracias por Todo el Pescado",
|
|
1142
|
-
* slug: "hasta-luego-y-gracias"
|
|
1242
|
+
* slug: "hasta-luego-y-gracias",
|
|
1243
|
+
* featured: false
|
|
1143
1244
|
* }
|
|
1144
1245
|
* }]
|
|
1145
1246
|
* })
|
|
@@ -1153,7 +1254,9 @@ class Items {
|
|
|
1153
1254
|
* isDraft: false,
|
|
1154
1255
|
* fieldData: {
|
|
1155
1256
|
* name: "Senior Data Analyst",
|
|
1156
|
-
* slug: "senior-data-analyst"
|
|
1257
|
+
* slug: "senior-data-analyst",
|
|
1258
|
+
* url: "https://boards.greenhouse.io/webflow/jobs/26567701",
|
|
1259
|
+
* department: "Data"
|
|
1157
1260
|
* }
|
|
1158
1261
|
* }, {
|
|
1159
1262
|
* id: "580e64008c9a982ac9b8b754",
|
|
@@ -1161,7 +1264,9 @@ class Items {
|
|
|
1161
1264
|
* isDraft: false,
|
|
1162
1265
|
* fieldData: {
|
|
1163
1266
|
* name: "Product Manager",
|
|
1164
|
-
* slug: "product-manager"
|
|
1267
|
+
* slug: "product-manager",
|
|
1268
|
+
* url: "https://boards.greenhouse.io/webflow/jobs/31234567",
|
|
1269
|
+
* department: "Product"
|
|
1165
1270
|
* }
|
|
1166
1271
|
* }]
|
|
1167
1272
|
* })
|
|
@@ -1171,27 +1276,29 @@ class Items {
|
|
|
1171
1276
|
}
|
|
1172
1277
|
__updateItemsLive(collectionId_1) {
|
|
1173
1278
|
return __awaiter(this, arguments, void 0, function* (collectionId, request = {}, requestOptions) {
|
|
1174
|
-
var _a, _b, _c;
|
|
1279
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1175
1280
|
const { skipInvalidFiles } = request, _body = __rest(request, ["skipInvalidFiles"]);
|
|
1176
1281
|
const _queryParams = {};
|
|
1177
1282
|
if (skipInvalidFiles != null) {
|
|
1178
|
-
_queryParams
|
|
1283
|
+
_queryParams.skipInvalidFiles = skipInvalidFiles.toString();
|
|
1179
1284
|
}
|
|
1285
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1180
1286
|
const _response = yield core.fetcher({
|
|
1181
|
-
url:
|
|
1182
|
-
.base, `collections/${
|
|
1287
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
1288
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items/live`),
|
|
1183
1289
|
method: "PATCH",
|
|
1184
|
-
headers:
|
|
1290
|
+
headers: _headers,
|
|
1185
1291
|
contentType: "application/json",
|
|
1186
|
-
queryParameters: _queryParams,
|
|
1292
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1187
1293
|
requestType: "json",
|
|
1188
1294
|
body: serializers.collections.ItemsUpdateItemsLiveRequest.jsonOrThrow(_body, {
|
|
1189
1295
|
unrecognizedObjectKeys: "passthrough",
|
|
1190
1296
|
allowUnrecognizedUnionMembers: true,
|
|
1191
1297
|
allowUnrecognizedEnumValues: true,
|
|
1298
|
+
omitUndefined: true,
|
|
1192
1299
|
}),
|
|
1193
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1194
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1300
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1301
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1195
1302
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1196
1303
|
});
|
|
1197
1304
|
if (_response.ok) {
|
|
@@ -1321,27 +1428,29 @@ class Items {
|
|
|
1321
1428
|
}
|
|
1322
1429
|
__createItems(collectionId, request, requestOptions) {
|
|
1323
1430
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1324
|
-
var _a, _b, _c;
|
|
1431
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1325
1432
|
const { skipInvalidFiles } = request, _body = __rest(request, ["skipInvalidFiles"]);
|
|
1326
1433
|
const _queryParams = {};
|
|
1327
1434
|
if (skipInvalidFiles != null) {
|
|
1328
|
-
_queryParams
|
|
1435
|
+
_queryParams.skipInvalidFiles = skipInvalidFiles.toString();
|
|
1329
1436
|
}
|
|
1437
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1330
1438
|
const _response = yield core.fetcher({
|
|
1331
|
-
url:
|
|
1332
|
-
.base, `collections/${
|
|
1439
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
1440
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items/bulk`),
|
|
1333
1441
|
method: "POST",
|
|
1334
|
-
headers:
|
|
1442
|
+
headers: _headers,
|
|
1335
1443
|
contentType: "application/json",
|
|
1336
|
-
queryParameters: _queryParams,
|
|
1444
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1337
1445
|
requestType: "json",
|
|
1338
1446
|
body: serializers.collections.CreateBulkCollectionItemRequestBody.jsonOrThrow(_body, {
|
|
1339
1447
|
unrecognizedObjectKeys: "passthrough",
|
|
1340
1448
|
allowUnrecognizedUnionMembers: true,
|
|
1341
1449
|
allowUnrecognizedEnumValues: true,
|
|
1450
|
+
omitUndefined: true,
|
|
1342
1451
|
}),
|
|
1343
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1344
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1452
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1453
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1345
1454
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1346
1455
|
});
|
|
1347
1456
|
if (_response.ok) {
|
|
@@ -1443,20 +1552,21 @@ class Items {
|
|
|
1443
1552
|
}
|
|
1444
1553
|
__getItem(collectionId_1, itemId_1) {
|
|
1445
1554
|
return __awaiter(this, arguments, void 0, function* (collectionId, itemId, request = {}, requestOptions) {
|
|
1446
|
-
var _a, _b, _c;
|
|
1555
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1447
1556
|
const { cmsLocaleId } = request;
|
|
1448
1557
|
const _queryParams = {};
|
|
1449
1558
|
if (cmsLocaleId != null) {
|
|
1450
|
-
_queryParams
|
|
1559
|
+
_queryParams.cmsLocaleId = cmsLocaleId;
|
|
1451
1560
|
}
|
|
1561
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1452
1562
|
const _response = yield core.fetcher({
|
|
1453
|
-
url:
|
|
1454
|
-
.base, `collections/${
|
|
1563
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
1564
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items/${core.url.encodePathParam(itemId)}`),
|
|
1455
1565
|
method: "GET",
|
|
1456
|
-
headers:
|
|
1457
|
-
queryParameters: _queryParams,
|
|
1458
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1459
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1566
|
+
headers: _headers,
|
|
1567
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1568
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1569
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1460
1570
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1461
1571
|
});
|
|
1462
1572
|
if (_response.ok) {
|
|
@@ -1558,20 +1668,21 @@ class Items {
|
|
|
1558
1668
|
}
|
|
1559
1669
|
__deleteItem(collectionId_1, itemId_1) {
|
|
1560
1670
|
return __awaiter(this, arguments, void 0, function* (collectionId, itemId, request = {}, requestOptions) {
|
|
1561
|
-
var _a, _b, _c;
|
|
1671
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1562
1672
|
const { cmsLocaleId } = request;
|
|
1563
1673
|
const _queryParams = {};
|
|
1564
1674
|
if (cmsLocaleId != null) {
|
|
1565
|
-
_queryParams
|
|
1675
|
+
_queryParams.cmsLocaleId = cmsLocaleId;
|
|
1566
1676
|
}
|
|
1677
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1567
1678
|
const _response = yield core.fetcher({
|
|
1568
|
-
url:
|
|
1569
|
-
.base, `collections/${
|
|
1679
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
1680
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items/${core.url.encodePathParam(itemId)}`),
|
|
1570
1681
|
method: "DELETE",
|
|
1571
|
-
headers:
|
|
1572
|
-
queryParameters: _queryParams,
|
|
1573
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1574
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1682
|
+
headers: _headers,
|
|
1683
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1684
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1685
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1575
1686
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1576
1687
|
});
|
|
1577
1688
|
if (_response.ok) {
|
|
@@ -1662,7 +1773,41 @@ class Items {
|
|
|
1662
1773
|
* isDraft: false,
|
|
1663
1774
|
* fieldData: {
|
|
1664
1775
|
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
1665
|
-
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
1776
|
+
* slug: "hitchhikers-guide-to-the-galaxy",
|
|
1777
|
+
* "plain-text": "Don't Panic.",
|
|
1778
|
+
* "rich-text": "<h3>A Guide to Interstellar Travel</h3><p>A towel is about the most massively useful thing an interstellar hitchhiker can have. <strong>Don't forget yours!</strong></p>",
|
|
1779
|
+
* "main-image": {
|
|
1780
|
+
* "fileId": "62b720ef280c7a7a3be8cabe",
|
|
1781
|
+
* "url": "/files/62b720ef280c7a7a3be8cabe_image.png"
|
|
1782
|
+
* },
|
|
1783
|
+
* "image-gallery": [
|
|
1784
|
+
* {
|
|
1785
|
+
* "fileId": "62b720ef280c7a7a3be8cabd",
|
|
1786
|
+
* "url": "/files/62b720ef280c7a7a3be8cabd_image.png"
|
|
1787
|
+
* },
|
|
1788
|
+
* {
|
|
1789
|
+
* "fileId": "62b720ef280c7a7a3be8cabe",
|
|
1790
|
+
* "url": "/files/62b720ef280c7a7a3be8cabe_image.png"
|
|
1791
|
+
* }
|
|
1792
|
+
* ],
|
|
1793
|
+
* "intro-video": "https://www.youtube.com/watch?v=aJ83KAggd-4",
|
|
1794
|
+
* "official-site": "https://hitchhikers.fandom.com/wiki/The_Hitchhiker%27s_Guide_to_the_Galaxy",
|
|
1795
|
+
* "contact-email": "zaphod.beeblebrox@heartofgold.gov",
|
|
1796
|
+
* "support-phone": "424-242-4242",
|
|
1797
|
+
* "answer-to-everything": 42,
|
|
1798
|
+
* "release-date": "1979-10-12T00:00:00.000Z",
|
|
1799
|
+
* "is-featured": true,
|
|
1800
|
+
* "brand-color": "#000000",
|
|
1801
|
+
* category: "62b720ef280c7a7a3be8cabf",
|
|
1802
|
+
* author: "62b720ef280c7a7a3be8cab0",
|
|
1803
|
+
* tags: [
|
|
1804
|
+
* "62b720ef280c7a7a3be8cab1",
|
|
1805
|
+
* "62b720ef280c7a7a3be8cab2"
|
|
1806
|
+
* ],
|
|
1807
|
+
* "downloadable-asset": {
|
|
1808
|
+
* "fileId": "62b720ef280c7a7a3be8cab3",
|
|
1809
|
+
* "url": "/files/62b720ef280c7a7a3be8cab3_document.pdf"
|
|
1810
|
+
* }
|
|
1666
1811
|
* }
|
|
1667
1812
|
* }
|
|
1668
1813
|
* })
|
|
@@ -1672,27 +1817,29 @@ class Items {
|
|
|
1672
1817
|
}
|
|
1673
1818
|
__updateItem(collectionId, itemId, request, requestOptions) {
|
|
1674
1819
|
return __awaiter(this, void 0, void 0, function* () {
|
|
1675
|
-
var _a, _b, _c;
|
|
1820
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1676
1821
|
const { skipInvalidFiles, body: _body } = request;
|
|
1677
1822
|
const _queryParams = {};
|
|
1678
1823
|
if (skipInvalidFiles != null) {
|
|
1679
|
-
_queryParams
|
|
1824
|
+
_queryParams.skipInvalidFiles = skipInvalidFiles.toString();
|
|
1680
1825
|
}
|
|
1826
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1681
1827
|
const _response = yield core.fetcher({
|
|
1682
|
-
url:
|
|
1683
|
-
.base, `collections/${
|
|
1828
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
1829
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items/${core.url.encodePathParam(itemId)}`),
|
|
1684
1830
|
method: "PATCH",
|
|
1685
|
-
headers:
|
|
1831
|
+
headers: _headers,
|
|
1686
1832
|
contentType: "application/json",
|
|
1687
|
-
queryParameters: _queryParams,
|
|
1833
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1688
1834
|
requestType: "json",
|
|
1689
1835
|
body: serializers.CollectionItemPatchSingle.jsonOrThrow(_body, {
|
|
1690
1836
|
unrecognizedObjectKeys: "passthrough",
|
|
1691
1837
|
allowUnrecognizedUnionMembers: true,
|
|
1692
1838
|
allowUnrecognizedEnumValues: true,
|
|
1839
|
+
omitUndefined: true,
|
|
1693
1840
|
}),
|
|
1694
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1695
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1841
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1842
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1696
1843
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1697
1844
|
});
|
|
1698
1845
|
if (_response.ok) {
|
|
@@ -1771,10 +1918,9 @@ class Items {
|
|
|
1771
1918
|
/**
|
|
1772
1919
|
* Get details of a selected Collection live Item.
|
|
1773
1920
|
*
|
|
1774
|
-
* <
|
|
1775
|
-
*
|
|
1776
|
-
*
|
|
1777
|
-
* </Note>
|
|
1921
|
+
* <Tip title="Serve data with the Content Delivery API">
|
|
1922
|
+
* Serving data to applications in real-time? Use the Content Delivery API at `api-cdn.webflow.com` for better performance. The CDN-backed endpoint is optimized for high-volume reads, while the Data API is designed for writes and management operations.
|
|
1923
|
+
* </Tip>
|
|
1778
1924
|
*
|
|
1779
1925
|
* Required scope | `CMS:read`
|
|
1780
1926
|
*
|
|
@@ -1799,20 +1945,21 @@ class Items {
|
|
|
1799
1945
|
}
|
|
1800
1946
|
__getItemLive(collectionId_1, itemId_1) {
|
|
1801
1947
|
return __awaiter(this, arguments, void 0, function* (collectionId, itemId, request = {}, requestOptions) {
|
|
1802
|
-
var _a, _b, _c;
|
|
1948
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1803
1949
|
const { cmsLocaleId } = request;
|
|
1804
1950
|
const _queryParams = {};
|
|
1805
1951
|
if (cmsLocaleId != null) {
|
|
1806
|
-
_queryParams
|
|
1952
|
+
_queryParams.cmsLocaleId = cmsLocaleId;
|
|
1807
1953
|
}
|
|
1954
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1808
1955
|
const _response = yield core.fetcher({
|
|
1809
|
-
url:
|
|
1810
|
-
.
|
|
1956
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
1957
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items/${core.url.encodePathParam(itemId)}/live`),
|
|
1811
1958
|
method: "GET",
|
|
1812
|
-
headers:
|
|
1813
|
-
queryParameters: _queryParams,
|
|
1814
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1815
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
1959
|
+
headers: _headers,
|
|
1960
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
1961
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
1962
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1816
1963
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1817
1964
|
});
|
|
1818
1965
|
if (_response.ok) {
|
|
@@ -1916,20 +2063,21 @@ class Items {
|
|
|
1916
2063
|
}
|
|
1917
2064
|
__deleteItemLive(collectionId_1, itemId_1) {
|
|
1918
2065
|
return __awaiter(this, arguments, void 0, function* (collectionId, itemId, request = {}, requestOptions) {
|
|
1919
|
-
var _a, _b, _c;
|
|
2066
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1920
2067
|
const { cmsLocaleId } = request;
|
|
1921
2068
|
const _queryParams = {};
|
|
1922
2069
|
if (cmsLocaleId != null) {
|
|
1923
|
-
_queryParams
|
|
2070
|
+
_queryParams.cmsLocaleId = cmsLocaleId;
|
|
1924
2071
|
}
|
|
2072
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
1925
2073
|
const _response = yield core.fetcher({
|
|
1926
|
-
url:
|
|
1927
|
-
.base, `collections/${
|
|
2074
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
2075
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items/${core.url.encodePathParam(itemId)}/live`),
|
|
1928
2076
|
method: "DELETE",
|
|
1929
|
-
headers:
|
|
1930
|
-
queryParameters: _queryParams,
|
|
1931
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
1932
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
2077
|
+
headers: _headers,
|
|
2078
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2079
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
2080
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
1933
2081
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
1934
2082
|
});
|
|
1935
2083
|
if (_response.ok) {
|
|
@@ -2021,7 +2169,41 @@ class Items {
|
|
|
2021
2169
|
* isDraft: false,
|
|
2022
2170
|
* fieldData: {
|
|
2023
2171
|
* name: "The Hitchhiker's Guide to the Galaxy",
|
|
2024
|
-
* slug: "hitchhikers-guide-to-the-galaxy"
|
|
2172
|
+
* slug: "hitchhikers-guide-to-the-galaxy",
|
|
2173
|
+
* "plain-text": "Don't Panic.",
|
|
2174
|
+
* "rich-text": "<h3>A Guide to Interstellar Travel</h3><p>A towel is about the most massively useful thing an interstellar hitchhiker can have. <strong>Don't forget yours!</strong></p>",
|
|
2175
|
+
* "main-image": {
|
|
2176
|
+
* "fileId": "62b720ef280c7a7a3be8cabe",
|
|
2177
|
+
* "url": "/files/62b720ef280c7a7a3be8cabe_image.png"
|
|
2178
|
+
* },
|
|
2179
|
+
* "image-gallery": [
|
|
2180
|
+
* {
|
|
2181
|
+
* "fileId": "62b720ef280c7a7a3be8cabd",
|
|
2182
|
+
* "url": "/files/62b720ef280c7a7a3be8cabd_image.png"
|
|
2183
|
+
* },
|
|
2184
|
+
* {
|
|
2185
|
+
* "fileId": "62b720ef280c7a7a3be8cabe",
|
|
2186
|
+
* "url": "/files/62b720ef280c7a7a3be8cabe_image.png"
|
|
2187
|
+
* }
|
|
2188
|
+
* ],
|
|
2189
|
+
* "intro-video": "https://www.youtube.com/watch?v=aJ83KAggd-4",
|
|
2190
|
+
* "official-site": "https://hitchhikers.fandom.com/wiki/The_Hitchhiker%27s_Guide_to_the_Galaxy",
|
|
2191
|
+
* "contact-email": "zaphod.beeblebrox@heartofgold.gov",
|
|
2192
|
+
* "support-phone": "424-242-4242",
|
|
2193
|
+
* "answer-to-everything": 42,
|
|
2194
|
+
* "release-date": "1979-10-12T00:00:00.000Z",
|
|
2195
|
+
* "is-featured": true,
|
|
2196
|
+
* "brand-color": "#000000",
|
|
2197
|
+
* category: "62b720ef280c7a7a3be8cabf",
|
|
2198
|
+
* author: "62b720ef280c7a7a3be8cab0",
|
|
2199
|
+
* tags: [
|
|
2200
|
+
* "62b720ef280c7a7a3be8cab1",
|
|
2201
|
+
* "62b720ef280c7a7a3be8cab2"
|
|
2202
|
+
* ],
|
|
2203
|
+
* "downloadable-asset": {
|
|
2204
|
+
* "fileId": "62b720ef280c7a7a3be8cab3",
|
|
2205
|
+
* "url": "/files/62b720ef280c7a7a3be8cab3_document.pdf"
|
|
2206
|
+
* }
|
|
2025
2207
|
* }
|
|
2026
2208
|
* }
|
|
2027
2209
|
* })
|
|
@@ -2031,27 +2213,29 @@ class Items {
|
|
|
2031
2213
|
}
|
|
2032
2214
|
__updateItemLive(collectionId, itemId, request, requestOptions) {
|
|
2033
2215
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2034
|
-
var _a, _b, _c;
|
|
2216
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2035
2217
|
const { skipInvalidFiles, body: _body } = request;
|
|
2036
2218
|
const _queryParams = {};
|
|
2037
2219
|
if (skipInvalidFiles != null) {
|
|
2038
|
-
_queryParams
|
|
2220
|
+
_queryParams.skipInvalidFiles = skipInvalidFiles.toString();
|
|
2039
2221
|
}
|
|
2222
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2040
2223
|
const _response = yield core.fetcher({
|
|
2041
|
-
url:
|
|
2042
|
-
.base, `collections/${
|
|
2224
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
2225
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items/${core.url.encodePathParam(itemId)}/live`),
|
|
2043
2226
|
method: "PATCH",
|
|
2044
|
-
headers:
|
|
2227
|
+
headers: _headers,
|
|
2045
2228
|
contentType: "application/json",
|
|
2046
|
-
queryParameters: _queryParams,
|
|
2229
|
+
queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
|
|
2047
2230
|
requestType: "json",
|
|
2048
2231
|
body: serializers.CollectionItemPatchSingle.jsonOrThrow(_body, {
|
|
2049
2232
|
unrecognizedObjectKeys: "passthrough",
|
|
2050
2233
|
allowUnrecognizedUnionMembers: true,
|
|
2051
2234
|
allowUnrecognizedEnumValues: true,
|
|
2235
|
+
omitUndefined: true,
|
|
2052
2236
|
}),
|
|
2053
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
2054
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
2237
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
2238
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
2055
2239
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2056
2240
|
});
|
|
2057
2241
|
if (_response.ok) {
|
|
@@ -2177,21 +2361,24 @@ class Items {
|
|
|
2177
2361
|
}
|
|
2178
2362
|
__publishItem(collectionId, request, requestOptions) {
|
|
2179
2363
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2180
|
-
var _a, _b, _c;
|
|
2364
|
+
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
2365
|
+
const _headers = (0, headers_1.mergeHeaders)((_a = this._options) === null || _a === void 0 ? void 0 : _a.headers, (0, headers_1.mergeOnlyDefinedHeaders)({ Authorization: yield this._getAuthorizationHeader() }), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.headers);
|
|
2181
2366
|
const _response = yield core.fetcher({
|
|
2182
|
-
url:
|
|
2183
|
-
.base, `collections/${
|
|
2367
|
+
url: core.url.join((_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : ((_c = (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.WebflowEnvironment.DataApi)
|
|
2368
|
+
.base, `collections/${core.url.encodePathParam(collectionId)}/items/publish`),
|
|
2184
2369
|
method: "POST",
|
|
2185
|
-
headers:
|
|
2370
|
+
headers: _headers,
|
|
2186
2371
|
contentType: "application/json",
|
|
2372
|
+
queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
|
|
2187
2373
|
requestType: "json",
|
|
2188
2374
|
body: serializers.collections.ItemsPublishItemRequest.jsonOrThrow(request, {
|
|
2189
2375
|
unrecognizedObjectKeys: "passthrough",
|
|
2190
2376
|
allowUnrecognizedUnionMembers: true,
|
|
2191
2377
|
allowUnrecognizedEnumValues: true,
|
|
2378
|
+
omitUndefined: true,
|
|
2192
2379
|
}),
|
|
2193
|
-
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds)
|
|
2194
|
-
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
|
2380
|
+
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
2381
|
+
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
2195
2382
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
2196
2383
|
});
|
|
2197
2384
|
if (_response.ok) {
|
|
@@ -2271,11 +2458,7 @@ class Items {
|
|
|
2271
2458
|
}
|
|
2272
2459
|
_getAuthorizationHeader() {
|
|
2273
2460
|
return __awaiter(this, void 0, void 0, function* () {
|
|
2274
|
-
|
|
2275
|
-
if (bearer != null) {
|
|
2276
|
-
return `Bearer ${bearer}`;
|
|
2277
|
-
}
|
|
2278
|
-
return undefined;
|
|
2461
|
+
return `Bearer ${yield core.Supplier.get(this._options.accessToken)}`;
|
|
2279
2462
|
});
|
|
2280
2463
|
}
|
|
2281
2464
|
}
|