@digital8/lighting-illusions-ts-sdk 0.0.2382 → 0.0.2383
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/.openapi-generator/FILES +0 -666
- package/.openapi-generator/VERSION +1 -1
- package/README.md +28 -967
- package/dist/apis/AdminApi.d.ts +1 -20
- package/dist/apis/AdminApi.js +57 -112
- package/dist/apis/AssetApi.d.ts +1 -22
- package/dist/apis/AssetApi.js +63 -120
- package/dist/apis/AttributeApi.d.ts +1 -90
- package/dist/apis/AttributeApi.js +273 -515
- package/dist/apis/BlogCategoryApi.d.ts +1 -32
- package/dist/apis/BlogCategoryApi.js +93 -178
- package/dist/apis/CartsApi.d.ts +1 -59
- package/dist/apis/CartsApi.js +207 -373
- package/dist/apis/CustomersApi.d.ts +1 -16
- package/dist/apis/CustomersApi.js +45 -87
- package/dist/apis/DefinitionApi.d.ts +1 -32
- package/dist/apis/DefinitionApi.js +93 -178
- package/dist/apis/DocumentApi.d.ts +1 -48
- package/dist/apis/DocumentApi.js +143 -271
- package/dist/apis/ExternalApiLogApi.d.ts +1 -12
- package/dist/apis/ExternalApiLogApi.js +29 -58
- package/dist/apis/FrontendComponentApi.d.ts +1 -6
- package/dist/apis/FrontendComponentApi.js +15 -29
- package/dist/apis/GoogleCategoryApi.d.ts +1 -6
- package/dist/apis/GoogleCategoryApi.js +15 -29
- package/dist/apis/LabelApi.d.ts +1 -31
- package/dist/apis/LabelApi.js +93 -177
- package/dist/apis/MenuApi.d.ts +1 -32
- package/dist/apis/MenuApi.js +93 -178
- package/dist/apis/MenuItemsApi.d.ts +1 -37
- package/dist/apis/MenuItemsApi.js +107 -206
- package/dist/apis/OrdersApi.d.ts +1 -70
- package/dist/apis/OrdersApi.js +233 -428
- package/dist/apis/OverlayTemplateApi.d.ts +1 -66
- package/dist/apis/OverlayTemplateApi.js +215 -397
- package/dist/apis/PageApi.d.ts +1 -32
- package/dist/apis/PageApi.js +93 -178
- package/dist/apis/PageComponentApi.d.ts +1 -26
- package/dist/apis/PageComponentApi.js +79 -149
- package/dist/apis/ProductApi.d.ts +1 -116
- package/dist/apis/ProductApi.js +383 -705
- package/dist/apis/ProductCategoryApi.d.ts +1 -67
- package/dist/apis/ProductCategoryApi.js +209 -392
- package/dist/apis/ProductClassApi.d.ts +1 -6
- package/dist/apis/ProductClassApi.js +15 -29
- package/dist/apis/ProductRangeApi.d.ts +1 -80
- package/dist/apis/ProductRangeApi.js +273 -496
- package/dist/apis/ProductRegistrationApi.d.ts +1 -29
- package/dist/apis/ProductRegistrationApi.js +81 -154
- package/dist/apis/ProductTypeApi.d.ts +1 -45
- package/dist/apis/ProductTypeApi.js +149 -274
- package/dist/apis/RedirectApi.d.ts +1 -6
- package/dist/apis/RedirectApi.js +15 -29
- package/dist/apis/ReviewApi.d.ts +1 -48
- package/dist/apis/ReviewApi.js +135 -263
- package/dist/apis/SiteApi.d.ts +1 -48
- package/dist/apis/SiteApi.js +141 -269
- package/dist/apis/StoreApi.d.ts +1 -56
- package/dist/apis/StoreApi.js +189 -343
- package/dist/apis/SupplierApi.d.ts +1 -50
- package/dist/apis/SupplierApi.js +174 -313
- package/dist/apis/TagApi.d.ts +1 -41
- package/dist/apis/TagApi.js +131 -243
- package/dist/apis/TransactionsApi.d.ts +1 -18
- package/dist/apis/TransactionsApi.js +47 -91
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +1 -3
- package/dist/models/AdminNoteResource.js +3 -2
- package/dist/models/AdminOrderResource.js +4 -3
- package/dist/models/AttachDocumentablesToDocumentRequestDocumentablesInner.d.ts +1 -1
- package/dist/models/BlogFrontendDetailResource.js +2 -1
- package/dist/models/BlogFrontendResource.js +2 -1
- package/dist/models/CartListResource.js +4 -3
- package/dist/models/CartResource.js +5 -4
- package/dist/models/CreateAssetForAssetableRequest.d.ts +1 -1
- package/dist/models/CreateAttributeRequest.d.ts +1 -1
- package/dist/models/CreateCartRequest.d.ts +2 -2
- package/dist/models/CreateLabelRequest.js +3 -2
- package/dist/models/CreateMenuItemRequest.d.ts +1 -1
- package/dist/models/CreateMenuItemRequestMenuItemLink.d.ts +1 -1
- package/dist/models/CreateMenuRequest.d.ts +1 -1
- package/dist/models/CreateOverlayTemplateAssetRequest.d.ts +1 -1
- package/dist/models/CreatePageRequest.d.ts +1 -1
- package/dist/models/CreatePageRequest.js +2 -1
- package/dist/models/CreateProductCategoryRequest.d.ts +1 -1
- package/dist/models/CreateProductCategoryRequestAutomationRulesInner.d.ts +2 -2
- package/dist/models/CreateProductChildRequest.js +2 -2
- package/dist/models/CreateReviewRequest.js +1 -1
- package/dist/models/CreateSiteNotificationRequest.js +2 -2
- package/dist/models/CreateStoreRequestSpecialDatesInner.js +4 -3
- package/dist/models/CreateTagRequest.d.ts +1 -1
- package/dist/models/CreateTransactionRequest.d.ts +1 -1
- package/dist/models/DetachDocumentablesFromDocumentRequestDocumentablesInner.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/FrontendOrderResource.js +1 -1
- package/dist/models/GetUniqueEndpointsRequest.d.ts +1 -1
- package/dist/models/LabelListResource.js +3 -2
- package/dist/models/LabelResource.js +3 -2
- package/dist/models/OrderFulfillmentResource.d.ts +2 -2
- package/dist/models/OrderFulfillmentResource.js +10 -5
- package/dist/models/OrderListResource.js +3 -2
- package/dist/models/OrderLiteResource.js +1 -1
- package/dist/models/PageComponentResource.js +3 -2
- package/dist/models/PageFrontendDetailResource.js +2 -1
- package/dist/models/PageListResource.js +2 -1
- package/dist/models/PageResource.js +2 -1
- package/dist/models/PreviewAutomationRulesRequest.d.ts +1 -1
- package/dist/models/ProductRegistrationListResource.js +3 -2
- package/dist/models/ProductRegistrationLiteResource.js +1 -1
- package/dist/models/ProductRegistrationResource.js +4 -3
- package/dist/models/ReviewListResource.js +4 -3
- package/dist/models/ReviewPublicResource.js +1 -1
- package/dist/models/ReviewResource.js +5 -4
- package/dist/models/SearchAdminNotesRequest.d.ts +2 -2
- package/dist/models/SearchAllAttributeValuesRequest.d.ts +3 -3
- package/dist/models/SearchAllAttributesRequest.d.ts +3 -3
- package/dist/models/SearchAllBlogCategoriesRequest.d.ts +2 -2
- package/dist/models/SearchAllDefinitionsRequest.d.ts +2 -2
- package/dist/models/SearchAllDocumentsRequest.d.ts +3 -3
- package/dist/models/SearchAllFrontendComponentsRequest.d.ts +3 -3
- package/dist/models/SearchAllMenuItemsRequest.d.ts +2 -2
- package/dist/models/SearchAllMenusRequest.d.ts +2 -2
- package/dist/models/SearchAllOrdersRequest.d.ts +2 -2
- package/dist/models/SearchAllOverlayTemplatesRequest.d.ts +3 -3
- package/dist/models/SearchAllPageComponentsRequest.d.ts +2 -2
- package/dist/models/SearchAllPagesRequest.d.ts +2 -2
- package/dist/models/SearchAllProductCategoriesRequest.d.ts +3 -3
- package/dist/models/SearchAllProductChildrenRequest.d.ts +3 -3
- package/dist/models/SearchAllProductClassesRequest.d.ts +2 -2
- package/dist/models/SearchAllProductRangesRequest.d.ts +2 -2
- package/dist/models/SearchAllProductRegistrationsRequest.d.ts +2 -2
- package/dist/models/SearchAllProductTypesRequest.d.ts +3 -3
- package/dist/models/SearchAllProductsRequest.d.ts +3 -3
- package/dist/models/SearchAllStoresRequest.d.ts +2 -2
- package/dist/models/SearchAllSuppliersRequest.d.ts +3 -3
- package/dist/models/SearchAttributeValuesRequest.d.ts +3 -3
- package/dist/models/SearchAttributesRequest.d.ts +3 -3
- package/dist/models/SearchBlogCategoriesRequest.d.ts +2 -2
- package/dist/models/SearchCartsRequest.d.ts +2 -2
- package/dist/models/SearchCartsRequest.js +6 -6
- package/dist/models/SearchCustomersRequest.d.ts +2 -2
- package/dist/models/SearchDefinitionsRequest.d.ts +2 -2
- package/dist/models/SearchDocumentsRequest.d.ts +3 -3
- package/dist/models/SearchExternalApiLogsRequest.d.ts +2 -2
- package/dist/models/SearchExternalApiLogsRequest.js +2 -2
- package/dist/models/SearchGoogleCategoriesRequest.d.ts +2 -2
- package/dist/models/SearchLabelsRequest.d.ts +3 -3
- package/dist/models/SearchLinkablesRequest.d.ts +1 -1
- package/dist/models/SearchMenusRequest.d.ts +2 -2
- package/dist/models/SearchModelAttributesRequest.d.ts +3 -3
- package/dist/models/SearchOrderFulfillmentsRequest.d.ts +2 -2
- package/dist/models/SearchOrderFulfillmentsRequest.js +4 -4
- package/dist/models/SearchOrdersRequest.d.ts +2 -2
- package/dist/models/SearchOrdersRequest.js +6 -6
- package/dist/models/SearchOverlayTemplatesRequest.d.ts +3 -3
- package/dist/models/SearchPagesRequest.d.ts +3 -3
- package/dist/models/SearchProductCategoriesRequest.d.ts +3 -3
- package/dist/models/SearchProductChildAttributesRequest.d.ts +2 -2
- package/dist/models/SearchProductChildrenRequest.d.ts +4 -4
- package/dist/models/SearchProductRangesRequest.d.ts +2 -2
- package/dist/models/SearchProductRegistrationAssetsRequest.d.ts +2 -2
- package/dist/models/SearchProductRegistrationsRequest.d.ts +3 -3
- package/dist/models/SearchProductRegistrationsRequest.js +4 -4
- package/dist/models/SearchProductTypesRequest.d.ts +3 -3
- package/dist/models/SearchProductsRequest.d.ts +3 -3
- package/dist/models/SearchRedirectsRequest.d.ts +3 -3
- package/dist/models/SearchReviewsRequest.d.ts +2 -2
- package/dist/models/SearchSiteNotificationsRequest.d.ts +2 -2
- package/dist/models/SearchSitesRequest.d.ts +2 -2
- package/dist/models/SearchStoresRequest.d.ts +2 -2
- package/dist/models/SearchSuppliersRequest.d.ts +3 -3
- package/dist/models/SearchTagsRequest.d.ts +3 -3
- package/dist/models/SearchTransactionsRequest.d.ts +3 -3
- package/dist/models/SearchTransactionsRequest.js +2 -2
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +3 -1
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +1 -3
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +1 -3
- package/dist/models/StoreSpecialDateRequest.js +4 -3
- package/dist/models/TransactionListResource.js +2 -1
- package/dist/models/TransactionLiteResource.js +2 -1
- package/dist/models/TransactionResource.js +2 -1
- package/dist/models/UnlinkOverlayTemplateFromAssetableRequest.d.ts +1 -1
- package/dist/models/UpdateAttributeProductTypeRequest.d.ts +1 -1
- package/dist/models/UpdateAttributeRequest.d.ts +1 -1
- package/dist/models/UpdateCartRequest.d.ts +2 -2
- package/dist/models/UpdateLabelRequest.js +3 -2
- package/dist/models/UpdateMenuItemRequest.d.ts +1 -1
- package/dist/models/UpdateMenuRequest.d.ts +1 -1
- package/dist/models/UpdateOrderRequest.d.ts +2 -2
- package/dist/models/UpdateOverlayTemplateAssetRequest.d.ts +1 -1
- package/dist/models/UpdatePageRequest.js +2 -1
- package/dist/models/UpdateProductCategoryRequest.d.ts +1 -1
- package/dist/models/UpdateProductChildRequest.js +2 -2
- package/dist/models/UpdateProductTypeAttributeRequest.d.ts +1 -1
- package/dist/models/UpdateReviewRequest.js +1 -1
- package/dist/models/UpdateSiteNotificationRequest.js +2 -2
- package/dist/models/UpdateSiteRequest.d.ts +2 -10
- package/dist/models/UpdateSiteRequest.js +0 -8
- package/dist/models/UpdateStoreRequestSpecialDatesInner.js +3 -2
- package/dist/models/UpdateTagRequest.d.ts +1 -1
- package/dist/runtime.js +1 -19
- package/package.json +2 -2
- package/src/apis/AdminApi.ts +24 -59
- package/src/apis/AssetApi.ts +28 -67
- package/src/apis/AttributeApi.ts +104 -279
- package/src/apis/BlogCategoryApi.ts +39 -98
- package/src/apis/CartsApi.ts +75 -188
- package/src/apis/CustomersApi.ts +21 -48
- package/src/apis/DefinitionApi.ts +39 -98
- package/src/apis/DocumentApi.ts +57 -148
- package/src/apis/ExternalApiLogApi.ts +16 -35
- package/src/apis/FrontendComponentApi.ts +10 -17
- package/src/apis/GoogleCategoryApi.ts +10 -17
- package/src/apis/LabelApi.ts +38 -95
- package/src/apis/MenuApi.ts +39 -98
- package/src/apis/MenuItemsApi.ts +44 -113
- package/src/apis/OrdersApi.ts +86 -221
- package/src/apis/OverlayTemplateApi.ts +80 -207
- package/src/apis/PageApi.ts +39 -98
- package/src/apis/PageComponentApi.ts +33 -80
- package/src/apis/ProductApi.ts +138 -365
- package/src/apis/ProductCategoryApi.ts +79 -208
- package/src/apis/ProductClassApi.ts +10 -17
- package/src/apis/ProductRangeApi.ts +97 -252
- package/src/apis/ProductRegistrationApi.ts +36 -89
- package/src/apis/ProductTypeApi.ts +56 -141
- package/src/apis/RedirectApi.ts +10 -17
- package/src/apis/ReviewApi.ts +55 -146
- package/src/apis/SiteApi.ts +57 -148
- package/src/apis/StoreApi.ts +70 -177
- package/src/apis/SupplierApi.ts +59 -154
- package/src/apis/TagApi.ts +51 -128
- package/src/apis/TransactionsApi.ts +23 -54
- package/src/models/AddressFrontendResource.ts +2 -3
- package/src/models/AdminNoteResource.ts +2 -2
- package/src/models/AdminOrderResource.ts +3 -3
- package/src/models/AttachDocumentablesToDocumentRequestDocumentablesInner.ts +1 -1
- package/src/models/BlogFrontendDetailResource.ts +1 -1
- package/src/models/BlogFrontendResource.ts +1 -1
- package/src/models/CartListResource.ts +3 -3
- package/src/models/CartResource.ts +4 -4
- package/src/models/CreateAssetForAssetableRequest.ts +1 -1
- package/src/models/CreateAttributeRequest.ts +1 -1
- package/src/models/CreateCartRequest.ts +2 -2
- package/src/models/CreateLabelRequest.ts +2 -2
- package/src/models/CreateMenuItemRequest.ts +1 -1
- package/src/models/CreateMenuItemRequestMenuItemLink.ts +1 -1
- package/src/models/CreateMenuRequest.ts +1 -1
- package/src/models/CreateOverlayTemplateAssetRequest.ts +1 -1
- package/src/models/CreatePageRequest.ts +2 -2
- package/src/models/CreateProductCategoryRequest.ts +1 -1
- package/src/models/CreateProductCategoryRequestAutomationRulesInner.ts +2 -2
- package/src/models/CreateProductChildRequest.ts +2 -2
- package/src/models/CreateReviewRequest.ts +1 -1
- package/src/models/CreateSiteNotificationRequest.ts +2 -2
- package/src/models/CreateStoreRequestSpecialDatesInner.ts +3 -3
- package/src/models/CreateTagRequest.ts +1 -1
- package/src/models/CreateTransactionRequest.ts +1 -1
- package/src/models/DetachDocumentablesFromDocumentRequestDocumentablesInner.ts +1 -1
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/FrontendOrderResource.ts +1 -1
- package/src/models/GetUniqueEndpointsRequest.ts +1 -1
- package/src/models/LabelListResource.ts +2 -2
- package/src/models/LabelResource.ts +2 -2
- package/src/models/OrderFulfillmentResource.ts +9 -7
- package/src/models/OrderListResource.ts +2 -2
- package/src/models/OrderLiteResource.ts +1 -1
- package/src/models/PageComponentResource.ts +2 -2
- package/src/models/PageFrontendDetailResource.ts +1 -1
- package/src/models/PageListResource.ts +1 -1
- package/src/models/PageResource.ts +1 -1
- package/src/models/PreviewAutomationRulesRequest.ts +1 -1
- package/src/models/ProductRegistrationListResource.ts +2 -2
- package/src/models/ProductRegistrationLiteResource.ts +1 -1
- package/src/models/ProductRegistrationResource.ts +3 -3
- package/src/models/ReviewListResource.ts +3 -3
- package/src/models/ReviewPublicResource.ts +1 -1
- package/src/models/ReviewResource.ts +4 -4
- package/src/models/SearchAdminNotesRequest.ts +2 -2
- package/src/models/SearchAllAttributeValuesRequest.ts +3 -3
- package/src/models/SearchAllAttributesRequest.ts +3 -3
- package/src/models/SearchAllBlogCategoriesRequest.ts +2 -2
- package/src/models/SearchAllDefinitionsRequest.ts +2 -2
- package/src/models/SearchAllDocumentsRequest.ts +3 -3
- package/src/models/SearchAllFrontendComponentsRequest.ts +3 -3
- package/src/models/SearchAllMenuItemsRequest.ts +2 -2
- package/src/models/SearchAllMenusRequest.ts +2 -2
- package/src/models/SearchAllOrdersRequest.ts +2 -2
- package/src/models/SearchAllOverlayTemplatesRequest.ts +3 -3
- package/src/models/SearchAllPageComponentsRequest.ts +2 -2
- package/src/models/SearchAllPagesRequest.ts +2 -2
- package/src/models/SearchAllProductCategoriesRequest.ts +3 -3
- package/src/models/SearchAllProductChildrenRequest.ts +3 -3
- package/src/models/SearchAllProductClassesRequest.ts +2 -2
- package/src/models/SearchAllProductRangesRequest.ts +2 -2
- package/src/models/SearchAllProductRegistrationsRequest.ts +2 -2
- package/src/models/SearchAllProductTypesRequest.ts +3 -3
- package/src/models/SearchAllProductsRequest.ts +3 -3
- package/src/models/SearchAllStoresRequest.ts +2 -2
- package/src/models/SearchAllSuppliersRequest.ts +3 -3
- package/src/models/SearchAttributeValuesRequest.ts +3 -3
- package/src/models/SearchAttributesRequest.ts +3 -3
- package/src/models/SearchBlogCategoriesRequest.ts +2 -2
- package/src/models/SearchCartsRequest.ts +8 -8
- package/src/models/SearchCustomersRequest.ts +2 -2
- package/src/models/SearchDefinitionsRequest.ts +2 -2
- package/src/models/SearchDocumentsRequest.ts +3 -3
- package/src/models/SearchExternalApiLogsRequest.ts +4 -4
- package/src/models/SearchGoogleCategoriesRequest.ts +2 -2
- package/src/models/SearchLabelsRequest.ts +3 -3
- package/src/models/SearchLinkablesRequest.ts +1 -1
- package/src/models/SearchMenusRequest.ts +2 -2
- package/src/models/SearchModelAttributesRequest.ts +3 -3
- package/src/models/SearchOrderFulfillmentsRequest.ts +6 -6
- package/src/models/SearchOrdersRequest.ts +8 -8
- package/src/models/SearchOverlayTemplatesRequest.ts +3 -3
- package/src/models/SearchPagesRequest.ts +3 -3
- package/src/models/SearchProductCategoriesRequest.ts +3 -3
- package/src/models/SearchProductChildAttributesRequest.ts +2 -2
- package/src/models/SearchProductChildrenRequest.ts +4 -4
- package/src/models/SearchProductRangesRequest.ts +2 -2
- package/src/models/SearchProductRegistrationAssetsRequest.ts +2 -2
- package/src/models/SearchProductRegistrationsRequest.ts +7 -7
- package/src/models/SearchProductTypesRequest.ts +3 -3
- package/src/models/SearchProductsRequest.ts +3 -3
- package/src/models/SearchRedirectsRequest.ts +3 -3
- package/src/models/SearchReviewsRequest.ts +2 -2
- package/src/models/SearchSiteNotificationsRequest.ts +2 -2
- package/src/models/SearchSitesRequest.ts +2 -2
- package/src/models/SearchStoresRequest.ts +2 -2
- package/src/models/SearchSuppliersRequest.ts +3 -3
- package/src/models/SearchTagsRequest.ts +3 -3
- package/src/models/SearchTransactionsRequest.ts +5 -5
- package/src/models/StoreFrontendResource.ts +3 -2
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreResource.ts +2 -3
- package/src/models/StoreSpecialDateFrontendResource.ts +3 -4
- package/src/models/StoreSpecialDateRequest.ts +3 -3
- package/src/models/TransactionListResource.ts +1 -1
- package/src/models/TransactionLiteResource.ts +1 -1
- package/src/models/TransactionResource.ts +1 -1
- package/src/models/UnlinkOverlayTemplateFromAssetableRequest.ts +1 -1
- package/src/models/UpdateAttributeProductTypeRequest.ts +1 -1
- package/src/models/UpdateAttributeRequest.ts +1 -1
- package/src/models/UpdateCartRequest.ts +2 -2
- package/src/models/UpdateLabelRequest.ts +2 -2
- package/src/models/UpdateMenuItemRequest.ts +1 -1
- package/src/models/UpdateMenuRequest.ts +1 -1
- package/src/models/UpdateOrderRequest.ts +2 -2
- package/src/models/UpdateOverlayTemplateAssetRequest.ts +1 -1
- package/src/models/UpdatePageRequest.ts +1 -1
- package/src/models/UpdateProductCategoryRequest.ts +1 -1
- package/src/models/UpdateProductChildRequest.ts +2 -2
- package/src/models/UpdateProductTypeAttributeRequest.ts +1 -1
- package/src/models/UpdateReviewRequest.ts +1 -1
- package/src/models/UpdateSiteNotificationRequest.ts +2 -2
- package/src/models/UpdateSiteRequest.ts +2 -13
- package/src/models/UpdateStoreRequestSpecialDatesInner.ts +2 -2
- package/src/models/UpdateTagRequest.ts +1 -1
- package/src/runtime.ts +2 -19
- package/docs/AddressFrontendResource.md +0 -48
- package/docs/AddressFrontendResourceArrayResponse.md +0 -34
- package/docs/AddressResource.md +0 -56
- package/docs/AddressResourceArrayResponse.md +0 -34
- package/docs/AddressType.md +0 -32
- package/docs/AdminApi.md +0 -272
- package/docs/AdminNoteResource.md +0 -42
- package/docs/AdminNoteResourceArrayResponse.md +0 -34
- package/docs/AdminOrderLineItemResource.md +0 -64
- package/docs/AdminOrderLineItemResourceArrayResponse.md +0 -34
- package/docs/AdminOrderResource.md +0 -120
- package/docs/AdminOrderResourceArrayResponse.md +0 -34
- package/docs/AdminUserLiteResource.md +0 -40
- package/docs/AdminUserLiteResourceArrayResponse.md +0 -34
- package/docs/AppliedCouponResource.md +0 -40
- package/docs/AppliedCouponResourceArrayResponse.md +0 -34
- package/docs/AssetApi.md +0 -275
- package/docs/AssetFileForUploadResource.md +0 -40
- package/docs/AssetFileForUploadResourceArrayResponse.md +0 -34
- package/docs/AssetFrontendResource.md +0 -52
- package/docs/AssetFrontendResourceArrayResponse.md +0 -34
- package/docs/AssetLiteResource.md +0 -48
- package/docs/AssetLiteResourceArrayResponse.md +0 -34
- package/docs/AssetResource.md +0 -56
- package/docs/AssetResourceArrayResponse.md +0 -34
- package/docs/AssetWithOverlayLinkResource.md +0 -58
- package/docs/AssetWithOverlayLinkResourceArrayResponse.md +0 -34
- package/docs/AttachAttributesToProductRangeRequest.md +0 -34
- package/docs/AttachAttributesToProductRangeRequestAttributesInner.md +0 -36
- package/docs/AttachCouponRequest.md +0 -34
- package/docs/AttachDocumentablesToDocumentRequest.md +0 -34
- package/docs/AttachDocumentablesToDocumentRequestDocumentablesInner.md +0 -38
- package/docs/AttachDocumentsToProductChildRequest.md +0 -34
- package/docs/AttachDocumentsToProductChildRequestDocumentsInner.md +0 -36
- package/docs/AttachDocumentsToProductRangeRequest.md +0 -34
- package/docs/AttachLineItemRequest.md +0 -38
- package/docs/AttachProductChildrenRequest.md +0 -34
- package/docs/AttachProductChildrenToProductRangeRequest.md +0 -34
- package/docs/AttachProductsToProductCategoryRequest.md +0 -34
- package/docs/AttachStoresToSupplierRequest.md +0 -34
- package/docs/AttachSuppliersToStoreRequest.md +0 -34
- package/docs/AttributeApi.md +0 -1151
- package/docs/AttributeFieldType.md +0 -32
- package/docs/AttributeListResource.md +0 -42
- package/docs/AttributeListResourceArrayResponse.md +0 -34
- package/docs/AttributeLiteResource.md +0 -38
- package/docs/AttributeLiteResourceArrayResponse.md +0 -34
- package/docs/AttributeProductTypeRelationResource.md +0 -50
- package/docs/AttributeProductTypeRelationResourceArrayResponse.md +0 -34
- package/docs/AttributeResource.md +0 -48
- package/docs/AttributeResourceArrayResponse.md +0 -34
- package/docs/AttributeType.md +0 -32
- package/docs/AttributeValueResource.md +0 -36
- package/docs/AttributeValueResourceArrayResponse.md +0 -34
- package/docs/BlogCategoryApi.md +0 -407
- package/docs/BlogCategoryListResource.md +0 -40
- package/docs/BlogCategoryListResourceArrayResponse.md +0 -34
- package/docs/BlogCategoryLiteResource.md +0 -38
- package/docs/BlogCategoryLiteResourceArrayResponse.md +0 -34
- package/docs/BlogCategoryResource.md +0 -42
- package/docs/BlogCategoryResourceArrayResponse.md +0 -34
- package/docs/BlogFrontendDetailResource.md +0 -52
- package/docs/BlogFrontendDetailResourceArrayResponse.md +0 -34
- package/docs/BlogFrontendResource.md +0 -48
- package/docs/BlogFrontendResourceArrayResponse.md +0 -34
- package/docs/BlogResource.md +0 -44
- package/docs/BlogResourceArrayResponse.md +0 -34
- package/docs/CartCouponLiteResource.md +0 -42
- package/docs/CartCouponLiteResourceArrayResponse.md +0 -34
- package/docs/CartListResource.md +0 -54
- package/docs/CartListResourceArrayResponse.md +0 -34
- package/docs/CartOrderSource.md +0 -32
- package/docs/CartResource.md +0 -100
- package/docs/CartResourceArrayResponse.md +0 -34
- package/docs/CartStatus.md +0 -32
- package/docs/CartsApi.md +0 -821
- package/docs/CategoryAutomationComparisonType.md +0 -32
- package/docs/CategoryAutomationConditionType.md +0 -32
- package/docs/CategoryAutomationFieldType.md +0 -32
- package/docs/CategoryAutomationRuleResource.md +0 -46
- package/docs/CategoryAutomationRuleResourceArrayResponse.md +0 -34
- package/docs/CategoryFrontendResource.md +0 -46
- package/docs/CategoryFrontendResourceArrayResponse.md +0 -34
- package/docs/CategoryWithChildrenFrontendResource.md +0 -36
- package/docs/CategoryWithChildrenFrontendResourceArrayResponse.md +0 -34
- package/docs/CouponDiscountType.md +0 -32
- package/docs/CreateAssetFileRequest.md +0 -36
- package/docs/CreateAssetForAssetableRequest.md +0 -52
- package/docs/CreateAttributeRequest.md +0 -42
- package/docs/CreateAttributeValueRequest.md +0 -36
- package/docs/CreateBlogCategoryRequest.md +0 -40
- package/docs/CreateBlogCategoryRequestDescriptionsInner.md +0 -38
- package/docs/CreateBlogCategoryRequestSeoInner.md +0 -38
- package/docs/CreateCartRequest.md +0 -72
- package/docs/CreateCartRequestItemsInner.md +0 -38
- package/docs/CreateCartRequestShippingAddress.md +0 -48
- package/docs/CreateCustomerRequest.md +0 -42
- package/docs/CreateDefinitionRequest.md +0 -36
- package/docs/CreateDocumentFileRequest.md +0 -36
- package/docs/CreateDocumentRequest.md +0 -38
- package/docs/CreateLabelRequest.md +0 -48
- package/docs/CreateMenuItemRequest.md +0 -52
- package/docs/CreateMenuItemRequestMenuItemLink.md +0 -40
- package/docs/CreateMenuRequest.md +0 -38
- package/docs/CreateOverlayTemplateAssetRequest.md +0 -52
- package/docs/CreateOverlayTemplateRequest.md +0 -36
- package/docs/CreatePageComponentRequest.md +0 -50
- package/docs/CreatePageComponentRequestRelationsInner.md +0 -38
- package/docs/CreatePageRequest.md +0 -48
- package/docs/CreatePageRequestBlog.md +0 -40
- package/docs/CreateProductCategoryRequest.md +0 -66
- package/docs/CreateProductCategoryRequestAutomationRulesInner.md +0 -44
- package/docs/CreateProductChildRequest.md +0 -72
- package/docs/CreateProductChildRequestAssetsInner.md +0 -48
- package/docs/CreateProductChildRequestAttributeValuesInner.md +0 -38
- package/docs/CreateProductChildRequestSitesInner.md +0 -58
- package/docs/CreateProductRangeRequest.md +0 -40
- package/docs/CreateProductRangeRequestSitesInner.md +0 -54
- package/docs/CreateProductRequest.md +0 -50
- package/docs/CreateProductRequestCategoriesInner.md +0 -36
- package/docs/CreateProductTypeRequest.md +0 -34
- package/docs/CreateReviewImportFileRequest.md +0 -36
- package/docs/CreateReviewRequest.md +0 -50
- package/docs/CreateSiteNotificationRequest.md +0 -44
- package/docs/CreateStoreRequest.md +0 -60
- package/docs/CreateStoreRequestAddress.md +0 -48
- package/docs/CreateStoreRequestSpecialDatesInner.md +0 -44
- package/docs/CreateSupplierRequest.md +0 -56
- package/docs/CreateTagRequest.md +0 -48
- package/docs/CreateTransactionRequest.md +0 -48
- package/docs/CustomerListResource.md +0 -44
- package/docs/CustomerListResourceArrayResponse.md +0 -34
- package/docs/CustomerLiteResource.md +0 -40
- package/docs/CustomerLiteResourceArrayResponse.md +0 -34
- package/docs/CustomerResource.md +0 -46
- package/docs/CustomerResourceArrayResponse.md +0 -34
- package/docs/CustomerReviewableItemFrontendResource.md +0 -40
- package/docs/CustomerReviewableItemFrontendResourceArrayResponse.md +0 -34
- package/docs/CustomersApi.md +0 -206
- package/docs/DefinitionApi.md +0 -407
- package/docs/DefinitionListResource.md +0 -36
- package/docs/DefinitionListResourceArrayResponse.md +0 -34
- package/docs/DefinitionResource.md +0 -38
- package/docs/DefinitionResourceArrayResponse.md +0 -34
- package/docs/DeleteAttributeValueRequest.md +0 -34
- package/docs/DescriptionResource.md +0 -40
- package/docs/DescriptionResourceArrayResponse.md +0 -34
- package/docs/DetachAttributesFromProductRangeRequest.md +0 -34
- package/docs/DetachCouponRequest.md +0 -34
- package/docs/DetachDocumentablesFromDocumentRequest.md +0 -34
- package/docs/DetachDocumentablesFromDocumentRequestDocumentablesInner.md +0 -36
- package/docs/DetachDocumentsFromProductChildRequest.md +0 -34
- package/docs/DetachDocumentsFromProductRangeRequest.md +0 -34
- package/docs/DetachProductChildrenFromProductRangeRequest.md +0 -34
- package/docs/DetachProductsFromProductCategoryRequest.md +0 -34
- package/docs/DetachStoresFromSupplierRequest.md +0 -34
- package/docs/DetachSuppliersFromStoreRequest.md +0 -34
- package/docs/DiscountResource.md +0 -46
- package/docs/DiscountResourceArrayResponse.md +0 -34
- package/docs/DiscountType.md +0 -32
- package/docs/DiscountValueType.md +0 -32
- package/docs/DocumentApi.md +0 -611
- package/docs/DocumentFileForUploadResource.md +0 -40
- package/docs/DocumentFileForUploadResourceArrayResponse.md +0 -34
- package/docs/DocumentFrontendResource.md +0 -38
- package/docs/DocumentFrontendResourceArrayResponse.md +0 -34
- package/docs/DocumentLiteResource.md +0 -38
- package/docs/DocumentLiteResourceArrayResponse.md +0 -34
- package/docs/DocumentResource.md +0 -48
- package/docs/DocumentResourceArrayResponse.md +0 -34
- package/docs/ExternalApiLogApi.md +0 -140
- package/docs/ExternalApiLogListResource.md +0 -42
- package/docs/ExternalApiLogListResourceArrayResponse.md +0 -34
- package/docs/ExternalApiLogResource.md +0 -54
- package/docs/ExternalApiLogResourceArrayResponse.md +0 -34
- package/docs/ExternalApiProvider.md +0 -32
- package/docs/ExternalApiSyncStatus.md +0 -32
- package/docs/FrontendCartResource.md +0 -76
- package/docs/FrontendCartResourceArrayResponse.md +0 -34
- package/docs/FrontendCartResourceCouponsInner.md +0 -42
- package/docs/FrontendComponentApi.md +0 -74
- package/docs/FrontendComponentLiteResource.md +0 -38
- package/docs/FrontendComponentLiteResourceArrayResponse.md +0 -34
- package/docs/FrontendComponentResource.md +0 -40
- package/docs/FrontendComponentResourceArrayResponse.md +0 -34
- package/docs/FrontendLineItemResource.md +0 -50
- package/docs/FrontendLineItemResourceArrayResponse.md +0 -34
- package/docs/FrontendOrderResource.md +0 -80
- package/docs/FrontendOrderResourceArrayResponse.md +0 -34
- package/docs/GenericResponse.md +0 -34
- package/docs/GetUniqueEndpointsRequest.md +0 -34
- package/docs/GlobalSearchCategoryResource.md +0 -38
- package/docs/GlobalSearchCategoryResourceArrayResponse.md +0 -34
- package/docs/GlobalSearchProductResource.md +0 -56
- package/docs/GlobalSearchProductResourceArrayResponse.md +0 -34
- package/docs/GlobalSearchRangeResource.md +0 -42
- package/docs/GlobalSearchRangeResourceArrayResponse.md +0 -34
- package/docs/GlobalSearchResponseResource.md +0 -38
- package/docs/GlobalSearchResponseResourceArrayResponse.md +0 -34
- package/docs/GoogleCategoryApi.md +0 -74
- package/docs/GoogleCategoryResource.md +0 -36
- package/docs/GoogleCategoryResourceArrayResponse.md +0 -34
- package/docs/ImportReviewsRequest.md +0 -34
- package/docs/LabelApi.md +0 -407
- package/docs/LabelListResource.md +0 -50
- package/docs/LabelListResourceArrayResponse.md +0 -34
- package/docs/LabelLiteResource.md +0 -42
- package/docs/LabelLiteResourceArrayResponse.md +0 -34
- package/docs/LabelResource.md +0 -50
- package/docs/LabelResourceArrayResponse.md +0 -34
- package/docs/LiAddressResource.md +0 -52
- package/docs/LiAddressResourceArrayResponse.md +0 -34
- package/docs/LiAdminUserLiteResource.md +0 -40
- package/docs/LiAdminUserLiteResourceArrayResponse.md +0 -34
- package/docs/LineItemDiscountResource.md +0 -40
- package/docs/LineItemDiscountResourceArrayResponse.md +0 -34
- package/docs/LineItemListResource.md +0 -52
- package/docs/LineItemListResourceArrayResponse.md +0 -34
- package/docs/LinkOverlayTemplateToAssetsRequest.md +0 -36
- package/docs/MenuApi.md +0 -407
- package/docs/MenuIdRequest.md +0 -34
- package/docs/MenuItemHierarchyResource.md +0 -50
- package/docs/MenuItemHierarchyResourceArrayResponse.md +0 -34
- package/docs/MenuItemLinkResource.md +0 -46
- package/docs/MenuItemLinkResourceArrayResponse.md +0 -34
- package/docs/MenuItemLiteResource.md +0 -44
- package/docs/MenuItemLiteResourceArrayResponse.md +0 -34
- package/docs/MenuItemResource.md +0 -58
- package/docs/MenuItemResourceArrayResponse.md +0 -34
- package/docs/MenuItemType.md +0 -32
- package/docs/MenuItemsApi.md +0 -473
- package/docs/MenuListResource.md +0 -44
- package/docs/MenuListResourceArrayResponse.md +0 -34
- package/docs/MenuPosition.md +0 -32
- package/docs/MenuResource.md +0 -44
- package/docs/MenuResourceArrayResponse.md +0 -34
- package/docs/ModelAttributeFrontendResource.md +0 -36
- package/docs/ModelAttributeFrontendResourceArrayResponse.md +0 -34
- package/docs/ModelAttributeListResource.md +0 -44
- package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
- package/docs/ModelAttributeResource.md +0 -42
- package/docs/ModelAttributeResourceArrayResponse.md +0 -34
- package/docs/OmnisendSyncLiteResource.md +0 -38
- package/docs/OmnisendSyncLiteResourceArrayResponse.md +0 -34
- package/docs/OrderFulfillmentLineItemResource.md +0 -38
- package/docs/OrderFulfillmentLineItemResourceArrayResponse.md +0 -34
- package/docs/OrderFulfillmentResource.md +0 -54
- package/docs/OrderFulfillmentResourceArrayResponse.md +0 -34
- package/docs/OrderListResource.md +0 -58
- package/docs/OrderListResourceArrayResponse.md +0 -34
- package/docs/OrderLiteResource.md +0 -44
- package/docs/OrderLiteResourceArrayResponse.md +0 -34
- package/docs/OrderOmnisendEvent.md +0 -32
- package/docs/OrderStatusId.md +0 -32
- package/docs/OrderStatusLiteResource.md +0 -38
- package/docs/OrderStatusLiteResourceArrayResponse.md +0 -34
- package/docs/OrderStatusWithCountResource.md +0 -44
- package/docs/OrderStatusWithCountResourceArrayResponse.md +0 -34
- package/docs/OrdersApi.md +0 -945
- package/docs/OverlayTemplateApi.md +0 -884
- package/docs/OverlayTemplateAssetFrontendResource.md +0 -44
- package/docs/OverlayTemplateAssetFrontendResourceArrayResponse.md +0 -34
- package/docs/OverlayTemplateAssetPosition.md +0 -32
- package/docs/OverlayTemplateAssetResource.md +0 -44
- package/docs/OverlayTemplateAssetResourceArrayResponse.md +0 -34
- package/docs/OverlayTemplateListResource.md +0 -38
- package/docs/OverlayTemplateListResourceArrayResponse.md +0 -34
- package/docs/OverlayTemplateLiteResource.md +0 -38
- package/docs/OverlayTemplateLiteResourceArrayResponse.md +0 -34
- package/docs/OverlayTemplateResource.md +0 -42
- package/docs/OverlayTemplateResourceArrayResponse.md +0 -34
- package/docs/PageApi.md +0 -407
- package/docs/PageComponentApi.md +0 -341
- package/docs/PageComponentLiteResource.md +0 -38
- package/docs/PageComponentLiteResourceArrayResponse.md +0 -34
- package/docs/PageComponentRelationResource.md +0 -44
- package/docs/PageComponentRelationResourceArrayResponse.md +0 -34
- package/docs/PageComponentResource.md +0 -54
- package/docs/PageComponentResourceArrayResponse.md +0 -34
- package/docs/PageFrontendDetailResource.md +0 -44
- package/docs/PageFrontendDetailResourceArrayResponse.md +0 -34
- package/docs/PageListResource.md +0 -56
- package/docs/PageListResourceArrayResponse.md +0 -34
- package/docs/PageLiteResource.md +0 -36
- package/docs/PageLiteResourceArrayResponse.md +0 -34
- package/docs/PageResource.md +0 -52
- package/docs/PageResourceArrayResponse.md +0 -34
- package/docs/PageType.md +0 -32
- package/docs/PaginatedAdminNoteResourceResponse.md +0 -36
- package/docs/PaginatedAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedAttributeLiteResourceResponse.md +0 -36
- package/docs/PaginatedAttributeProductTypeRelationResourceResponse.md +0 -36
- package/docs/PaginatedAttributeResourceResponse.md +0 -36
- package/docs/PaginatedAttributeValueResourceResponse.md +0 -36
- package/docs/PaginatedBlogCategoryListResourceResponse.md +0 -36
- package/docs/PaginatedBlogCategoryLiteResourceResponse.md +0 -36
- package/docs/PaginatedBlogCategoryResourceResponse.md +0 -36
- package/docs/PaginatedBlogFrontendResourceResponse.md +0 -36
- package/docs/PaginatedCartListResourceResponse.md +0 -36
- package/docs/PaginatedCategoryFrontendResourceResponse.md +0 -36
- package/docs/PaginatedCustomerListResourceResponse.md +0 -36
- package/docs/PaginatedCustomerReviewableItemFrontendResourceResponse.md +0 -36
- package/docs/PaginatedDefinitionListResourceResponse.md +0 -36
- package/docs/PaginatedDefinitionResourceResponse.md +0 -36
- package/docs/PaginatedDocumentResourceResponse.md +0 -36
- package/docs/PaginatedExternalApiLogListResourceResponse.md +0 -36
- package/docs/PaginatedExternalApiLogResourceResponse.md +0 -36
- package/docs/PaginatedFrontendComponentLiteResourceResponse.md +0 -36
- package/docs/PaginatedFrontendComponentResourceResponse.md +0 -36
- package/docs/PaginatedGoogleCategoryResourceResponse.md +0 -36
- package/docs/PaginatedLabelListResourceResponse.md +0 -36
- package/docs/PaginatedMenuListResourceResponse.md +0 -36
- package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
- package/docs/PaginatedOrderFulfillmentResourceResponse.md +0 -36
- package/docs/PaginatedOrderListResourceResponse.md +0 -36
- package/docs/PaginatedOverlayTemplateListResourceResponse.md +0 -36
- package/docs/PaginatedOverlayTemplateLiteResourceResponse.md +0 -36
- package/docs/PaginatedOverlayTemplateResourceResponse.md +0 -36
- package/docs/PaginatedPageComponentLiteResourceResponse.md +0 -36
- package/docs/PaginatedPageListResourceResponse.md +0 -36
- package/docs/PaginatedPageLiteResourceResponse.md +0 -36
- package/docs/PaginatedPageResourceResponse.md +0 -36
- package/docs/PaginatedProductCategoryListResourceResponse.md +0 -36
- package/docs/PaginatedProductCategoryResourceResponse.md +0 -36
- package/docs/PaginatedProductChildFrontendResourceResponse.md +0 -36
- package/docs/PaginatedProductChildListResourceResponse.md +0 -36
- package/docs/PaginatedProductChildLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductChildOverlayRelationResourceResponse.md +0 -36
- package/docs/PaginatedProductChildRelationResourceResponse.md +0 -36
- package/docs/PaginatedProductChildResourceResponse.md +0 -36
- package/docs/PaginatedProductClassLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductListResourceResponse.md +0 -36
- package/docs/PaginatedProductLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeResourceResponse.md +0 -36
- package/docs/PaginatedProductRangeSearchResultResourceResponse.md +0 -36
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +0 -36
- package/docs/PaginatedProductRegistrationListResourceResponse.md +0 -36
- package/docs/PaginatedProductRegistrationResourceResponse.md +0 -36
- package/docs/PaginatedProductResourceResponse.md +0 -36
- package/docs/PaginatedProductSearchResultResourceResponse.md +0 -36
- package/docs/PaginatedProductTypeListResourceResponse.md +0 -36
- package/docs/PaginatedProductTypeLiteResourceResponse.md +0 -36
- package/docs/PaginatedProductTypeResourceResponse.md +0 -36
- package/docs/PaginatedRedirectListResourceResponse.md +0 -36
- package/docs/PaginatedReviewListResourceResponse.md +0 -36
- package/docs/PaginatedReviewLiteResourceResponse.md +0 -36
- package/docs/PaginatedReviewResourceResponse.md +0 -36
- package/docs/PaginatedSiteListResourceResponse.md +0 -36
- package/docs/PaginatedSiteLiteResourceResponse.md +0 -36
- package/docs/PaginatedSiteNotificationListResourceResponse.md +0 -36
- package/docs/PaginatedSiteNotificationResourceResponse.md +0 -36
- package/docs/PaginatedSiteResourceResponse.md +0 -36
- package/docs/PaginatedStoreListResourceResponse.md +0 -36
- package/docs/PaginatedSupplierFrontendResourceResponse.md +0 -36
- package/docs/PaginatedSupplierListResourceResponse.md +0 -36
- package/docs/PaginatedSupplierLiteResourceResponse.md +0 -36
- package/docs/PaginatedSupplierResourceResponse.md +0 -36
- package/docs/PaginatedTagListResourceResponse.md +0 -36
- package/docs/PaginatedTagLiteResourceResponse.md +0 -36
- package/docs/PaginatedTagResourceResponse.md +0 -36
- package/docs/PaginatedTransactionListResourceResponse.md +0 -36
- package/docs/PaginatedTransactionResourceResponse.md +0 -36
- package/docs/PagingMetadata.md +0 -46
- package/docs/PaymentMethod.md +0 -32
- package/docs/PaymentSource.md +0 -32
- package/docs/PaymentStatus.md +0 -32
- package/docs/PreviewAutomationRulesRequest.md +0 -38
- package/docs/PreviewAutomationRulesResource.md +0 -38
- package/docs/PreviewAutomationRulesResourceArrayResponse.md +0 -34
- package/docs/ProductAggregationResource.md +0 -40
- package/docs/ProductAggregationResourceArrayResponse.md +0 -34
- package/docs/ProductApi.md +0 -1562
- package/docs/ProductAvailability.md +0 -32
- package/docs/ProductCategoryApi.md +0 -881
- package/docs/ProductCategoryHierarchyResource.md +0 -44
- package/docs/ProductCategoryHierarchyResourceArrayResponse.md +0 -34
- package/docs/ProductCategoryListResource.md +0 -50
- package/docs/ProductCategoryListResourceArrayResponse.md +0 -34
- package/docs/ProductCategoryLiteResource.md +0 -40
- package/docs/ProductCategoryLiteResourceArrayResponse.md +0 -34
- package/docs/ProductCategoryResource.md +0 -66
- package/docs/ProductCategoryResourceArrayResponse.md +0 -34
- package/docs/ProductChildAttributeGroupedResource.md +0 -40
- package/docs/ProductChildAttributeGroupedResourceArrayResponse.md +0 -34
- package/docs/ProductChildAttributeResource.md +0 -48
- package/docs/ProductChildAttributeResourceArrayResponse.md +0 -34
- package/docs/ProductChildFrontendResource.md +0 -48
- package/docs/ProductChildFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductChildLineItemLiteResource.md +0 -58
- package/docs/ProductChildLineItemLiteResourceArrayResponse.md +0 -34
- package/docs/ProductChildListResource.md +0 -56
- package/docs/ProductChildListResourceArrayResponse.md +0 -34
- package/docs/ProductChildLiteResource.md +0 -50
- package/docs/ProductChildLiteResourceArrayResponse.md +0 -34
- package/docs/ProductChildOverlayRelationResource.md +0 -56
- package/docs/ProductChildOverlayRelationResourceArrayResponse.md +0 -34
- package/docs/ProductChildRelationResource.md +0 -46
- package/docs/ProductChildRelationResourceArrayResponse.md +0 -34
- package/docs/ProductChildResource.md +0 -96
- package/docs/ProductChildResourceArrayResponse.md +0 -34
- package/docs/ProductChildSiteDetailFrontendResource.md +0 -46
- package/docs/ProductChildSiteDetailFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductChildSiteDetailLiteResource.md +0 -48
- package/docs/ProductChildSiteDetailLiteResourceArrayResponse.md +0 -34
- package/docs/ProductChildSiteDetailResource.md +0 -66
- package/docs/ProductChildSiteDetailResourceArrayResponse.md +0 -34
- package/docs/ProductClassApi.md +0 -74
- package/docs/ProductClassLiteResource.md +0 -38
- package/docs/ProductClassLiteResourceArrayResponse.md +0 -34
- package/docs/ProductClassResource.md +0 -40
- package/docs/ProductClassResourceArrayResponse.md +0 -34
- package/docs/ProductCompareResource.md +0 -70
- package/docs/ProductCompareResourceArrayResponse.md +0 -34
- package/docs/ProductListResource.md +0 -36
- package/docs/ProductListResourceArrayResponse.md +0 -34
- package/docs/ProductLiteResource.md +0 -36
- package/docs/ProductLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeAggregationResource.md +0 -38
- package/docs/ProductRangeAggregationResourceArrayResponse.md +0 -34
- package/docs/ProductRangeApi.md +0 -1097
- package/docs/ProductRangeFrontendListResource.md +0 -44
- package/docs/ProductRangeFrontendListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeFrontendResource.md +0 -64
- package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductRangeListResource.md +0 -44
- package/docs/ProductRangeListResourceArrayResponse.md +0 -34
- package/docs/ProductRangeLiteResource.md +0 -36
- package/docs/ProductRangeLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeResource.md +0 -52
- package/docs/ProductRangeResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSearchResponseResource.md +0 -38
- package/docs/ProductRangeSearchResponseResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSearchResponseResourceMeta.md +0 -40
- package/docs/ProductRangeSearchResultResource.md +0 -50
- package/docs/ProductRangeSearchResultResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailFrontendResource.md +0 -46
- package/docs/ProductRangeSiteDetailFrontendResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailLiteResource.md +0 -40
- package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSiteDetailResource.md +0 -56
- package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
- package/docs/ProductRangeSortBy.md +0 -32
- package/docs/ProductRating.md +0 -32
- package/docs/ProductRegistrationApi.md +0 -344
- package/docs/ProductRegistrationAssetResource.md +0 -38
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationAssetType.md +0 -32
- package/docs/ProductRegistrationCustomerLiteResource.md +0 -40
- package/docs/ProductRegistrationCustomerLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationCustomerResource.md +0 -44
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationListResource.md +0 -42
- package/docs/ProductRegistrationListResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationLiteResource.md +0 -36
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationProductChildResource.md +0 -40
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationResource.md +0 -52
- package/docs/ProductRegistrationResourceArrayResponse.md +0 -34
- package/docs/ProductResource.md +0 -58
- package/docs/ProductResourceArrayResponse.md +0 -34
- package/docs/ProductReviewsResource.md +0 -44
- package/docs/ProductReviewsResourceArrayResponse.md +0 -34
- package/docs/ProductSearchResponseResource.md +0 -40
- package/docs/ProductSearchResponseResourceArrayResponse.md +0 -34
- package/docs/ProductSearchResponseResourceMeta.md +0 -40
- package/docs/ProductSearchResponseResourcePriceInfo.md +0 -40
- package/docs/ProductSearchResultResource.md +0 -70
- package/docs/ProductSearchResultResourceArrayResponse.md +0 -34
- package/docs/ProductSortBy.md +0 -32
- package/docs/ProductTypeApi.md +0 -614
- package/docs/ProductTypeListResource.md +0 -40
- package/docs/ProductTypeListResourceArrayResponse.md +0 -34
- package/docs/ProductTypeLiteResource.md +0 -38
- package/docs/ProductTypeLiteResourceArrayResponse.md +0 -34
- package/docs/ProductTypeResource.md +0 -48
- package/docs/ProductTypeResourceArrayResponse.md +0 -34
- package/docs/RedirectApi.md +0 -74
- package/docs/RedirectFrontendResource.md +0 -44
- package/docs/RedirectFrontendResourceArrayResponse.md +0 -34
- package/docs/RedirectListResource.md +0 -46
- package/docs/RedirectListResourceArrayResponse.md +0 -34
- package/docs/RefundTransactionRequest.md +0 -36
- package/docs/ReviewApi.md +0 -605
- package/docs/ReviewExportDownloadUrlResource.md +0 -34
- package/docs/ReviewExportDownloadUrlResourceArrayResponse.md +0 -34
- package/docs/ReviewImportFailureResource.md +0 -38
- package/docs/ReviewImportFailureResourceArrayResponse.md +0 -34
- package/docs/ReviewImportResultResource.md +0 -38
- package/docs/ReviewImportResultResourceArrayResponse.md +0 -34
- package/docs/ReviewImportUploadUrlResource.md +0 -38
- package/docs/ReviewImportUploadUrlResourceArrayResponse.md +0 -34
- package/docs/ReviewListResource.md +0 -54
- package/docs/ReviewListResourceArrayResponse.md +0 -34
- package/docs/ReviewLiteResource.md +0 -38
- package/docs/ReviewLiteResourceArrayResponse.md +0 -34
- package/docs/ReviewPublicResource.md +0 -46
- package/docs/ReviewPublicResourceArrayResponse.md +0 -34
- package/docs/ReviewResource.md +0 -64
- package/docs/ReviewResourceArrayResponse.md +0 -34
- package/docs/SEOResource.md +0 -40
- package/docs/SEOResourceArrayResponse.md +0 -34
- package/docs/SearchAdminNotesRequest.md +0 -52
- package/docs/SearchAllAttributeValuesRequest.md +0 -46
- package/docs/SearchAllAttributesRequest.md +0 -50
- package/docs/SearchAllBlogCategoriesRequest.md +0 -46
- package/docs/SearchAllDefinitionsRequest.md +0 -44
- package/docs/SearchAllDocumentsRequest.md +0 -46
- package/docs/SearchAllFrontendComponentsRequest.md +0 -48
- package/docs/SearchAllMenuItemsRequest.md +0 -48
- package/docs/SearchAllMenusRequest.md +0 -48
- package/docs/SearchAllOrdersRequest.md +0 -54
- package/docs/SearchAllOverlayTemplatesRequest.md +0 -46
- package/docs/SearchAllPageComponentsRequest.md +0 -48
- package/docs/SearchAllPagesRequest.md +0 -50
- package/docs/SearchAllProductCategoriesRequest.md +0 -54
- package/docs/SearchAllProductChildrenRequest.md +0 -70
- package/docs/SearchAllProductClassesRequest.md +0 -44
- package/docs/SearchAllProductRangesRequest.md +0 -50
- package/docs/SearchAllProductRegistrationsRequest.md +0 -46
- package/docs/SearchAllProductTypesRequest.md +0 -44
- package/docs/SearchAllProductsRequest.md +0 -54
- package/docs/SearchAllStoresRequest.md +0 -48
- package/docs/SearchAllSuppliersRequest.md +0 -44
- package/docs/SearchAttributeValuesRequest.md +0 -50
- package/docs/SearchAttributesRequest.md +0 -54
- package/docs/SearchBlogCategoriesRequest.md +0 -50
- package/docs/SearchCartsRequest.md +0 -66
- package/docs/SearchCustomersRequest.md +0 -50
- package/docs/SearchDefinitionsRequest.md +0 -48
- package/docs/SearchDocumentsRequest.md +0 -50
- package/docs/SearchExternalApiLogsRequest.md +0 -70
- package/docs/SearchGoogleCategoriesRequest.md +0 -48
- package/docs/SearchLabelsRequest.md +0 -50
- package/docs/SearchLinkablesRequest.md +0 -38
- package/docs/SearchMenusRequest.md +0 -52
- package/docs/SearchModelAttributesRequest.md +0 -54
- package/docs/SearchOrderFulfillmentsRequest.md +0 -58
- package/docs/SearchOrdersRequest.md +0 -70
- package/docs/SearchOverlayTemplatesRequest.md +0 -50
- package/docs/SearchPagesRequest.md +0 -54
- package/docs/SearchProductCategoriesRequest.md +0 -62
- package/docs/SearchProductChildAttributesRequest.md +0 -50
- package/docs/SearchProductChildrenRequest.md +0 -74
- package/docs/SearchProductRangesRequest.md +0 -54
- package/docs/SearchProductRegistrationAssetsRequest.md +0 -52
- package/docs/SearchProductRegistrationsRequest.md +0 -58
- package/docs/SearchProductTypesRequest.md +0 -48
- package/docs/SearchProductsRequest.md +0 -58
- package/docs/SearchRedirectsRequest.md +0 -56
- package/docs/SearchReviewsRequest.md +0 -54
- package/docs/SearchSiteNotificationsRequest.md +0 -50
- package/docs/SearchSitesRequest.md +0 -48
- package/docs/SearchStoresRequest.md +0 -52
- package/docs/SearchSuppliersRequest.md +0 -48
- package/docs/SearchTagsRequest.md +0 -52
- package/docs/SearchTransactionsRequest.md +0 -60
- package/docs/ShippingType.md +0 -32
- package/docs/ShowProductChildAssetsRequest.md +0 -34
- package/docs/SiteApi.md +0 -608
- package/docs/SiteConfigResource.md +0 -58
- package/docs/SiteConfigResourceArrayResponse.md +0 -34
- package/docs/SiteIdRequest.md +0 -34
- package/docs/SiteListResource.md +0 -40
- package/docs/SiteListResourceArrayResponse.md +0 -34
- package/docs/SiteLiteResource.md +0 -40
- package/docs/SiteLiteResourceArrayResponse.md +0 -34
- package/docs/SiteNotificationListResource.md +0 -52
- package/docs/SiteNotificationListResourceArrayResponse.md +0 -34
- package/docs/SiteNotificationResource.md +0 -46
- package/docs/SiteNotificationResourceArrayResponse.md +0 -34
- package/docs/SitePaymentConfigResource.md +0 -56
- package/docs/SitePaymentConfigResourceArrayResponse.md +0 -34
- package/docs/SiteResource.md +0 -44
- package/docs/SiteResourceArrayResponse.md +0 -34
- package/docs/SkuSearchProductChildRequest.md +0 -36
- package/docs/StoreApi.md +0 -755
- package/docs/StoreFrontendResource.md +0 -58
- package/docs/StoreFrontendResourceArrayResponse.md +0 -34
- package/docs/StoreListResource.md +0 -56
- package/docs/StoreListResourceArrayResponse.md +0 -34
- package/docs/StoreLiteResource.md +0 -38
- package/docs/StoreLiteResourceArrayResponse.md +0 -34
- package/docs/StoreResource.md +0 -62
- package/docs/StoreResourceArrayResponse.md +0 -34
- package/docs/StoreSpecialDateFrontendResource.md +0 -46
- package/docs/StoreSpecialDateFrontendResourceArrayResponse.md +0 -34
- package/docs/StoreSpecialDateRequest.md +0 -44
- package/docs/StoreSpecialDateResource.md +0 -46
- package/docs/StoreSpecialDateResourceArrayResponse.md +0 -34
- package/docs/StoreStockType.md +0 -32
- package/docs/StoreTransactionResource.md +0 -36
- package/docs/StoreTransactionResourceArrayResponse.md +0 -34
- package/docs/SupplierApi.md +0 -677
- package/docs/SupplierFrontendResource.md +0 -50
- package/docs/SupplierFrontendResourceArrayResponse.md +0 -34
- package/docs/SupplierListResource.md +0 -42
- package/docs/SupplierListResourceArrayResponse.md +0 -34
- package/docs/SupplierLiteResource.md +0 -36
- package/docs/SupplierLiteResourceArrayResponse.md +0 -34
- package/docs/SupplierResource.md +0 -50
- package/docs/SupplierResourceArrayResponse.md +0 -34
- package/docs/TagApi.md +0 -545
- package/docs/TagFrontendResource.md +0 -44
- package/docs/TagFrontendResourceArrayResponse.md +0 -34
- package/docs/TagListResource.md +0 -42
- package/docs/TagListResourceArrayResponse.md +0 -34
- package/docs/TagLiteResource.md +0 -36
- package/docs/TagLiteResourceArrayResponse.md +0 -34
- package/docs/TagResource.md +0 -46
- package/docs/TagResourceArrayResponse.md +0 -34
- package/docs/TagType.md +0 -32
- package/docs/Thumbnail.md +0 -36
- package/docs/TransactionListResource.md +0 -62
- package/docs/TransactionListResourceArrayResponse.md +0 -34
- package/docs/TransactionLiteResource.md +0 -56
- package/docs/TransactionLiteResourceArrayResponse.md +0 -34
- package/docs/TransactionResource.md +0 -66
- package/docs/TransactionResourceArrayResponse.md +0 -34
- package/docs/TransactionType.md +0 -32
- package/docs/TransactionsApi.md +0 -209
- package/docs/UnlinkOverlayTemplateFromAssetableRequest.md +0 -38
- package/docs/UpdateAssetForAssetableRequest.md +0 -48
- package/docs/UpdateAttributeFilterOrderRequest.md +0 -34
- package/docs/UpdateAttributeFilterOrderRequestValuesInner.md +0 -36
- package/docs/UpdateAttributeProductTypeRequest.md +0 -36
- package/docs/UpdateAttributeRequest.md +0 -42
- package/docs/UpdateAttributeValueRequest.md +0 -34
- package/docs/UpdateBlogCategoryRequest.md +0 -40
- package/docs/UpdateCartRequest.md +0 -66
- package/docs/UpdateDefinitionRequest.md +0 -36
- package/docs/UpdateDocumentRequest.md +0 -38
- package/docs/UpdateLabelRequest.md +0 -48
- package/docs/UpdateLineItemRequest.md +0 -36
- package/docs/UpdateMenuItemRequest.md +0 -52
- package/docs/UpdateMenuRequest.md +0 -40
- package/docs/UpdateMenuRequestMenuItemOrderInner.md +0 -38
- package/docs/UpdateModelAttributeRequest.md +0 -36
- package/docs/UpdateOrderRequest.md +0 -60
- package/docs/UpdateOverlayTemplateAssetRequest.md +0 -50
- package/docs/UpdateOverlayTemplateRequest.md +0 -36
- package/docs/UpdatePageComponentRequest.md +0 -46
- package/docs/UpdatePageRequest.md +0 -46
- package/docs/UpdatePageRequestComponentOrderInner.md +0 -36
- package/docs/UpdateProductCategoryRequest.md +0 -66
- package/docs/UpdateProductChildRequest.md +0 -66
- package/docs/UpdateProductChildRequestAssetsInner.md +0 -44
- package/docs/UpdateProductRangeRequest.md +0 -42
- package/docs/UpdateProductRangeRequestAttributesInner.md +0 -36
- package/docs/UpdateProductRequest.md +0 -50
- package/docs/UpdateProductTypeAttributeRequest.md +0 -36
- package/docs/UpdateProductTypeRequest.md +0 -42
- package/docs/UpdateReviewRequest.md +0 -46
- package/docs/UpdateSiteNotificationRequest.md +0 -42
- package/docs/UpdateSiteRequest.md +0 -78
- package/docs/UpdateStoreRequest.md +0 -60
- package/docs/UpdateStoreRequestSpecialDatesInner.md +0 -42
- package/docs/UpdateSupplierRequest.md +0 -56
- package/docs/UpdateTagRequest.md +0 -46
- package/docs/WishlistCheckResource.md +0 -34
- package/docs/WishlistCheckResourceArrayResponse.md +0 -34
- package/docs/WishlistToggleResource.md +0 -36
- package/docs/WishlistToggleResourceArrayResponse.md +0 -34
package/src/apis/ProductApi.ts
CHANGED
|
@@ -12,127 +12,84 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
+
|
|
15
16
|
import * as runtime from '../runtime';
|
|
17
|
+
import type {
|
|
18
|
+
AssetWithOverlayLinkResourceArrayResponse,
|
|
19
|
+
AttachDocumentsToProductChildRequest,
|
|
20
|
+
AttachProductChildrenRequest,
|
|
21
|
+
CreateProductChildRequest,
|
|
22
|
+
CreateProductRequest,
|
|
23
|
+
DetachDocumentsFromProductChildRequest,
|
|
24
|
+
GenericResponse,
|
|
25
|
+
PaginatedProductChildListResourceResponse,
|
|
26
|
+
PaginatedProductListResourceResponse,
|
|
27
|
+
ProductChildAttributeGroupedResource,
|
|
28
|
+
ProductChildListResourceArrayResponse,
|
|
29
|
+
ProductChildLiteResourceArrayResponse,
|
|
30
|
+
ProductChildResource,
|
|
31
|
+
ProductLiteResourceArrayResponse,
|
|
32
|
+
ProductResource,
|
|
33
|
+
SearchAllProductChildrenRequest,
|
|
34
|
+
SearchAllProductsRequest,
|
|
35
|
+
SearchProductChildAttributesRequest,
|
|
36
|
+
SearchProductChildrenRequest,
|
|
37
|
+
SearchProductsRequest,
|
|
38
|
+
ShowProductChildAssetsRequest,
|
|
39
|
+
SkuSearchProductChildRequest,
|
|
40
|
+
UpdateProductChildRequest,
|
|
41
|
+
UpdateProductRequest,
|
|
42
|
+
} from '../models/index';
|
|
16
43
|
import {
|
|
17
|
-
type AssetWithOverlayLinkResourceArrayResponse,
|
|
18
44
|
AssetWithOverlayLinkResourceArrayResponseFromJSON,
|
|
19
45
|
AssetWithOverlayLinkResourceArrayResponseToJSON,
|
|
20
|
-
} from '../models/AssetWithOverlayLinkResourceArrayResponse';
|
|
21
|
-
import {
|
|
22
|
-
type AttachDocumentsToProductChildRequest,
|
|
23
46
|
AttachDocumentsToProductChildRequestFromJSON,
|
|
24
47
|
AttachDocumentsToProductChildRequestToJSON,
|
|
25
|
-
} from '../models/AttachDocumentsToProductChildRequest';
|
|
26
|
-
import {
|
|
27
|
-
type AttachProductChildrenRequest,
|
|
28
48
|
AttachProductChildrenRequestFromJSON,
|
|
29
49
|
AttachProductChildrenRequestToJSON,
|
|
30
|
-
} from '../models/AttachProductChildrenRequest';
|
|
31
|
-
import {
|
|
32
|
-
type CreateProductChildRequest,
|
|
33
50
|
CreateProductChildRequestFromJSON,
|
|
34
51
|
CreateProductChildRequestToJSON,
|
|
35
|
-
} from '../models/CreateProductChildRequest';
|
|
36
|
-
import {
|
|
37
|
-
type CreateProductRequest,
|
|
38
52
|
CreateProductRequestFromJSON,
|
|
39
53
|
CreateProductRequestToJSON,
|
|
40
|
-
} from '../models/CreateProductRequest';
|
|
41
|
-
import {
|
|
42
|
-
type DetachDocumentsFromProductChildRequest,
|
|
43
54
|
DetachDocumentsFromProductChildRequestFromJSON,
|
|
44
55
|
DetachDocumentsFromProductChildRequestToJSON,
|
|
45
|
-
} from '../models/DetachDocumentsFromProductChildRequest';
|
|
46
|
-
import {
|
|
47
|
-
type GenericResponse,
|
|
48
56
|
GenericResponseFromJSON,
|
|
49
57
|
GenericResponseToJSON,
|
|
50
|
-
} from '../models/GenericResponse';
|
|
51
|
-
import {
|
|
52
|
-
type PaginatedProductChildListResourceResponse,
|
|
53
58
|
PaginatedProductChildListResourceResponseFromJSON,
|
|
54
59
|
PaginatedProductChildListResourceResponseToJSON,
|
|
55
|
-
} from '../models/PaginatedProductChildListResourceResponse';
|
|
56
|
-
import {
|
|
57
|
-
type PaginatedProductListResourceResponse,
|
|
58
60
|
PaginatedProductListResourceResponseFromJSON,
|
|
59
61
|
PaginatedProductListResourceResponseToJSON,
|
|
60
|
-
} from '../models/PaginatedProductListResourceResponse';
|
|
61
|
-
import {
|
|
62
|
-
type ProductChildAttributeGroupedResource,
|
|
63
62
|
ProductChildAttributeGroupedResourceFromJSON,
|
|
64
63
|
ProductChildAttributeGroupedResourceToJSON,
|
|
65
|
-
} from '../models/ProductChildAttributeGroupedResource';
|
|
66
|
-
import {
|
|
67
|
-
type ProductChildListResourceArrayResponse,
|
|
68
64
|
ProductChildListResourceArrayResponseFromJSON,
|
|
69
65
|
ProductChildListResourceArrayResponseToJSON,
|
|
70
|
-
} from '../models/ProductChildListResourceArrayResponse';
|
|
71
|
-
import {
|
|
72
|
-
type ProductChildLiteResourceArrayResponse,
|
|
73
66
|
ProductChildLiteResourceArrayResponseFromJSON,
|
|
74
67
|
ProductChildLiteResourceArrayResponseToJSON,
|
|
75
|
-
} from '../models/ProductChildLiteResourceArrayResponse';
|
|
76
|
-
import {
|
|
77
|
-
type ProductChildResource,
|
|
78
68
|
ProductChildResourceFromJSON,
|
|
79
69
|
ProductChildResourceToJSON,
|
|
80
|
-
} from '../models/ProductChildResource';
|
|
81
|
-
import {
|
|
82
|
-
type ProductLiteResourceArrayResponse,
|
|
83
70
|
ProductLiteResourceArrayResponseFromJSON,
|
|
84
71
|
ProductLiteResourceArrayResponseToJSON,
|
|
85
|
-
} from '../models/ProductLiteResourceArrayResponse';
|
|
86
|
-
import {
|
|
87
|
-
type ProductResource,
|
|
88
72
|
ProductResourceFromJSON,
|
|
89
73
|
ProductResourceToJSON,
|
|
90
|
-
} from '../models/ProductResource';
|
|
91
|
-
import {
|
|
92
|
-
type SearchAllProductChildrenRequest,
|
|
93
74
|
SearchAllProductChildrenRequestFromJSON,
|
|
94
75
|
SearchAllProductChildrenRequestToJSON,
|
|
95
|
-
} from '../models/SearchAllProductChildrenRequest';
|
|
96
|
-
import {
|
|
97
|
-
type SearchAllProductsRequest,
|
|
98
76
|
SearchAllProductsRequestFromJSON,
|
|
99
77
|
SearchAllProductsRequestToJSON,
|
|
100
|
-
} from '../models/SearchAllProductsRequest';
|
|
101
|
-
import {
|
|
102
|
-
type SearchProductChildAttributesRequest,
|
|
103
78
|
SearchProductChildAttributesRequestFromJSON,
|
|
104
79
|
SearchProductChildAttributesRequestToJSON,
|
|
105
|
-
} from '../models/SearchProductChildAttributesRequest';
|
|
106
|
-
import {
|
|
107
|
-
type SearchProductChildrenRequest,
|
|
108
80
|
SearchProductChildrenRequestFromJSON,
|
|
109
81
|
SearchProductChildrenRequestToJSON,
|
|
110
|
-
} from '../models/SearchProductChildrenRequest';
|
|
111
|
-
import {
|
|
112
|
-
type SearchProductsRequest,
|
|
113
82
|
SearchProductsRequestFromJSON,
|
|
114
83
|
SearchProductsRequestToJSON,
|
|
115
|
-
} from '../models/SearchProductsRequest';
|
|
116
|
-
import {
|
|
117
|
-
type ShowProductChildAssetsRequest,
|
|
118
84
|
ShowProductChildAssetsRequestFromJSON,
|
|
119
85
|
ShowProductChildAssetsRequestToJSON,
|
|
120
|
-
} from '../models/ShowProductChildAssetsRequest';
|
|
121
|
-
import {
|
|
122
|
-
type SkuSearchProductChildRequest,
|
|
123
86
|
SkuSearchProductChildRequestFromJSON,
|
|
124
87
|
SkuSearchProductChildRequestToJSON,
|
|
125
|
-
} from '../models/SkuSearchProductChildRequest';
|
|
126
|
-
import {
|
|
127
|
-
type UpdateProductChildRequest,
|
|
128
88
|
UpdateProductChildRequestFromJSON,
|
|
129
89
|
UpdateProductChildRequestToJSON,
|
|
130
|
-
} from '../models/UpdateProductChildRequest';
|
|
131
|
-
import {
|
|
132
|
-
type UpdateProductRequest,
|
|
133
90
|
UpdateProductRequestFromJSON,
|
|
134
91
|
UpdateProductRequestToJSON,
|
|
135
|
-
} from '../models/
|
|
92
|
+
} from '../models/index';
|
|
136
93
|
|
|
137
94
|
export interface AttachAccessoriesProductChildRequest {
|
|
138
95
|
productChild: number;
|
|
@@ -244,9 +201,9 @@ export interface UpdateProductChildOperationRequest {
|
|
|
244
201
|
export class ProductApi extends runtime.BaseAPI {
|
|
245
202
|
|
|
246
203
|
/**
|
|
247
|
-
*
|
|
204
|
+
* Auto-generated: attachAccessoriesProductChild
|
|
248
205
|
*/
|
|
249
|
-
async
|
|
206
|
+
async attachAccessoriesProductChildRaw(requestParameters: AttachAccessoriesProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>> {
|
|
250
207
|
if (requestParameters['productChild'] == null) {
|
|
251
208
|
throw new runtime.RequiredError(
|
|
252
209
|
'productChild',
|
|
@@ -262,23 +219,15 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
262
219
|
|
|
263
220
|
|
|
264
221
|
let urlPath = `/admin-api/product/children/{productChild}/accessory/attach`;
|
|
265
|
-
urlPath = urlPath.replace(
|
|
222
|
+
urlPath = urlPath.replace(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
|
|
266
223
|
|
|
267
|
-
|
|
224
|
+
const response = await this.request({
|
|
268
225
|
path: urlPath,
|
|
269
226
|
method: 'POST',
|
|
270
227
|
headers: headerParameters,
|
|
271
228
|
query: queryParameters,
|
|
272
229
|
body: AttachProductChildrenRequestToJSON(requestParameters['attachProductChildrenRequest']),
|
|
273
|
-
};
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
/**
|
|
277
|
-
* Auto-generated: attachAccessoriesProductChild
|
|
278
|
-
*/
|
|
279
|
-
async attachAccessoriesProductChildRaw(requestParameters: AttachAccessoriesProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>> {
|
|
280
|
-
const requestOptions = await this.attachAccessoriesProductChildRequestOpts(requestParameters);
|
|
281
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
230
|
+
}, initOverrides);
|
|
282
231
|
|
|
283
232
|
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductChildListResourceResponseFromJSON(jsonValue));
|
|
284
233
|
}
|
|
@@ -292,9 +241,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
292
241
|
}
|
|
293
242
|
|
|
294
243
|
/**
|
|
295
|
-
*
|
|
244
|
+
* Auto-generated: attachCompatibleProductsProductChild
|
|
296
245
|
*/
|
|
297
|
-
async
|
|
246
|
+
async attachCompatibleProductsProductChildRaw(requestParameters: AttachCompatibleProductsProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>> {
|
|
298
247
|
if (requestParameters['productChild'] == null) {
|
|
299
248
|
throw new runtime.RequiredError(
|
|
300
249
|
'productChild',
|
|
@@ -310,23 +259,15 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
310
259
|
|
|
311
260
|
|
|
312
261
|
let urlPath = `/admin-api/product/children/{productChild}/compatible-product/attach`;
|
|
313
|
-
urlPath = urlPath.replace(
|
|
262
|
+
urlPath = urlPath.replace(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
|
|
314
263
|
|
|
315
|
-
|
|
264
|
+
const response = await this.request({
|
|
316
265
|
path: urlPath,
|
|
317
266
|
method: 'POST',
|
|
318
267
|
headers: headerParameters,
|
|
319
268
|
query: queryParameters,
|
|
320
269
|
body: AttachProductChildrenRequestToJSON(requestParameters['attachProductChildrenRequest']),
|
|
321
|
-
};
|
|
322
|
-
}
|
|
323
|
-
|
|
324
|
-
/**
|
|
325
|
-
* Auto-generated: attachCompatibleProductsProductChild
|
|
326
|
-
*/
|
|
327
|
-
async attachCompatibleProductsProductChildRaw(requestParameters: AttachCompatibleProductsProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>> {
|
|
328
|
-
const requestOptions = await this.attachCompatibleProductsProductChildRequestOpts(requestParameters);
|
|
329
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
270
|
+
}, initOverrides);
|
|
330
271
|
|
|
331
272
|
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductChildListResourceResponseFromJSON(jsonValue));
|
|
332
273
|
}
|
|
@@ -340,9 +281,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
340
281
|
}
|
|
341
282
|
|
|
342
283
|
/**
|
|
343
|
-
*
|
|
284
|
+
* Auto-generated: attachDocumentsProductChild
|
|
344
285
|
*/
|
|
345
|
-
async
|
|
286
|
+
async attachDocumentsProductChildRaw(requestParameters: AttachDocumentsProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildResource>> {
|
|
346
287
|
if (requestParameters['productChild'] == null) {
|
|
347
288
|
throw new runtime.RequiredError(
|
|
348
289
|
'productChild',
|
|
@@ -358,23 +299,15 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
358
299
|
|
|
359
300
|
|
|
360
301
|
let urlPath = `/admin-api/product/children/{productChild}/attach-documents`;
|
|
361
|
-
urlPath = urlPath.replace(
|
|
302
|
+
urlPath = urlPath.replace(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
|
|
362
303
|
|
|
363
|
-
|
|
304
|
+
const response = await this.request({
|
|
364
305
|
path: urlPath,
|
|
365
306
|
method: 'POST',
|
|
366
307
|
headers: headerParameters,
|
|
367
308
|
query: queryParameters,
|
|
368
309
|
body: AttachDocumentsToProductChildRequestToJSON(requestParameters['attachDocumentsToProductChildRequest']),
|
|
369
|
-
};
|
|
370
|
-
}
|
|
371
|
-
|
|
372
|
-
/**
|
|
373
|
-
* Auto-generated: attachDocumentsProductChild
|
|
374
|
-
*/
|
|
375
|
-
async attachDocumentsProductChildRaw(requestParameters: AttachDocumentsProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildResource>> {
|
|
376
|
-
const requestOptions = await this.attachDocumentsProductChildRequestOpts(requestParameters);
|
|
377
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
310
|
+
}, initOverrides);
|
|
378
311
|
|
|
379
312
|
return new runtime.JSONApiResponse(response, (jsonValue) => ProductChildResourceFromJSON(jsonValue));
|
|
380
313
|
}
|
|
@@ -388,9 +321,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
388
321
|
}
|
|
389
322
|
|
|
390
323
|
/**
|
|
391
|
-
*
|
|
324
|
+
* Auto-generated: destroyProduct
|
|
392
325
|
*/
|
|
393
|
-
async
|
|
326
|
+
async destroyProductRaw(requestParameters: DestroyProductRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>> {
|
|
394
327
|
if (requestParameters['product'] == null) {
|
|
395
328
|
throw new runtime.RequiredError(
|
|
396
329
|
'product',
|
|
@@ -404,22 +337,14 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
404
337
|
|
|
405
338
|
|
|
406
339
|
let urlPath = `/admin-api/product/parent/{product}/delete`;
|
|
407
|
-
urlPath = urlPath.replace(
|
|
340
|
+
urlPath = urlPath.replace(`{${"product"}}`, encodeURIComponent(String(requestParameters['product'])));
|
|
408
341
|
|
|
409
|
-
|
|
342
|
+
const response = await this.request({
|
|
410
343
|
path: urlPath,
|
|
411
344
|
method: 'DELETE',
|
|
412
345
|
headers: headerParameters,
|
|
413
346
|
query: queryParameters,
|
|
414
|
-
};
|
|
415
|
-
}
|
|
416
|
-
|
|
417
|
-
/**
|
|
418
|
-
* Auto-generated: destroyProduct
|
|
419
|
-
*/
|
|
420
|
-
async destroyProductRaw(requestParameters: DestroyProductRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>> {
|
|
421
|
-
const requestOptions = await this.destroyProductRequestOpts(requestParameters);
|
|
422
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
347
|
+
}, initOverrides);
|
|
423
348
|
|
|
424
349
|
return new runtime.JSONApiResponse(response, (jsonValue) => GenericResponseFromJSON(jsonValue));
|
|
425
350
|
}
|
|
@@ -433,9 +358,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
433
358
|
}
|
|
434
359
|
|
|
435
360
|
/**
|
|
436
|
-
*
|
|
361
|
+
* Auto-generated: destroyProductChild
|
|
437
362
|
*/
|
|
438
|
-
async
|
|
363
|
+
async destroyProductChildRaw(requestParameters: DestroyProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>> {
|
|
439
364
|
if (requestParameters['productChild'] == null) {
|
|
440
365
|
throw new runtime.RequiredError(
|
|
441
366
|
'productChild',
|
|
@@ -449,22 +374,14 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
449
374
|
|
|
450
375
|
|
|
451
376
|
let urlPath = `/admin-api/product/children/{productChild}/delete`;
|
|
452
|
-
urlPath = urlPath.replace(
|
|
377
|
+
urlPath = urlPath.replace(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
|
|
453
378
|
|
|
454
|
-
|
|
379
|
+
const response = await this.request({
|
|
455
380
|
path: urlPath,
|
|
456
381
|
method: 'DELETE',
|
|
457
382
|
headers: headerParameters,
|
|
458
383
|
query: queryParameters,
|
|
459
|
-
};
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
/**
|
|
463
|
-
* Auto-generated: destroyProductChild
|
|
464
|
-
*/
|
|
465
|
-
async destroyProductChildRaw(requestParameters: DestroyProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<GenericResponse>> {
|
|
466
|
-
const requestOptions = await this.destroyProductChildRequestOpts(requestParameters);
|
|
467
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
384
|
+
}, initOverrides);
|
|
468
385
|
|
|
469
386
|
return new runtime.JSONApiResponse(response, (jsonValue) => GenericResponseFromJSON(jsonValue));
|
|
470
387
|
}
|
|
@@ -478,9 +395,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
478
395
|
}
|
|
479
396
|
|
|
480
397
|
/**
|
|
481
|
-
*
|
|
398
|
+
* Auto-generated: detachAccessoryProductChild
|
|
482
399
|
*/
|
|
483
|
-
async
|
|
400
|
+
async detachAccessoryProductChildRaw(requestParameters: DetachAccessoryProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>> {
|
|
484
401
|
if (requestParameters['productChild'] == null) {
|
|
485
402
|
throw new runtime.RequiredError(
|
|
486
403
|
'productChild',
|
|
@@ -501,23 +418,15 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
501
418
|
|
|
502
419
|
|
|
503
420
|
let urlPath = `/admin-api/product/children/{productChild}/accessory/detach/{accessory}`;
|
|
504
|
-
urlPath = urlPath.replace(
|
|
505
|
-
urlPath = urlPath.replace(
|
|
421
|
+
urlPath = urlPath.replace(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
|
|
422
|
+
urlPath = urlPath.replace(`{${"accessory"}}`, encodeURIComponent(String(requestParameters['accessory'])));
|
|
506
423
|
|
|
507
|
-
|
|
424
|
+
const response = await this.request({
|
|
508
425
|
path: urlPath,
|
|
509
426
|
method: 'DELETE',
|
|
510
427
|
headers: headerParameters,
|
|
511
428
|
query: queryParameters,
|
|
512
|
-
};
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* Auto-generated: detachAccessoryProductChild
|
|
517
|
-
*/
|
|
518
|
-
async detachAccessoryProductChildRaw(requestParameters: DetachAccessoryProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>> {
|
|
519
|
-
const requestOptions = await this.detachAccessoryProductChildRequestOpts(requestParameters);
|
|
520
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
429
|
+
}, initOverrides);
|
|
521
430
|
|
|
522
431
|
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductChildListResourceResponseFromJSON(jsonValue));
|
|
523
432
|
}
|
|
@@ -531,9 +440,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
531
440
|
}
|
|
532
441
|
|
|
533
442
|
/**
|
|
534
|
-
*
|
|
443
|
+
* Auto-generated: detachCompatibleProductProductChild
|
|
535
444
|
*/
|
|
536
|
-
async
|
|
445
|
+
async detachCompatibleProductProductChildRaw(requestParameters: DetachCompatibleProductProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>> {
|
|
537
446
|
if (requestParameters['productChild'] == null) {
|
|
538
447
|
throw new runtime.RequiredError(
|
|
539
448
|
'productChild',
|
|
@@ -554,23 +463,15 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
554
463
|
|
|
555
464
|
|
|
556
465
|
let urlPath = `/admin-api/product/children/{productChild}/compatible-product/detach/{compatibleProduct}`;
|
|
557
|
-
urlPath = urlPath.replace(
|
|
558
|
-
urlPath = urlPath.replace(
|
|
466
|
+
urlPath = urlPath.replace(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
|
|
467
|
+
urlPath = urlPath.replace(`{${"compatibleProduct"}}`, encodeURIComponent(String(requestParameters['compatibleProduct'])));
|
|
559
468
|
|
|
560
|
-
|
|
469
|
+
const response = await this.request({
|
|
561
470
|
path: urlPath,
|
|
562
471
|
method: 'DELETE',
|
|
563
472
|
headers: headerParameters,
|
|
564
473
|
query: queryParameters,
|
|
565
|
-
};
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
/**
|
|
569
|
-
* Auto-generated: detachCompatibleProductProductChild
|
|
570
|
-
*/
|
|
571
|
-
async detachCompatibleProductProductChildRaw(requestParameters: DetachCompatibleProductProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>> {
|
|
572
|
-
const requestOptions = await this.detachCompatibleProductProductChildRequestOpts(requestParameters);
|
|
573
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
474
|
+
}, initOverrides);
|
|
574
475
|
|
|
575
476
|
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductChildListResourceResponseFromJSON(jsonValue));
|
|
576
477
|
}
|
|
@@ -584,9 +485,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
584
485
|
}
|
|
585
486
|
|
|
586
487
|
/**
|
|
587
|
-
*
|
|
488
|
+
* Auto-generated: detachDocumentsProductChild
|
|
588
489
|
*/
|
|
589
|
-
async
|
|
490
|
+
async detachDocumentsProductChildRaw(requestParameters: DetachDocumentsProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildResource>> {
|
|
590
491
|
if (requestParameters['productChild'] == null) {
|
|
591
492
|
throw new runtime.RequiredError(
|
|
592
493
|
'productChild',
|
|
@@ -602,23 +503,15 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
602
503
|
|
|
603
504
|
|
|
604
505
|
let urlPath = `/admin-api/product/children/{productChild}/detach-documents`;
|
|
605
|
-
urlPath = urlPath.replace(
|
|
506
|
+
urlPath = urlPath.replace(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
|
|
606
507
|
|
|
607
|
-
|
|
508
|
+
const response = await this.request({
|
|
608
509
|
path: urlPath,
|
|
609
510
|
method: 'POST',
|
|
610
511
|
headers: headerParameters,
|
|
611
512
|
query: queryParameters,
|
|
612
513
|
body: DetachDocumentsFromProductChildRequestToJSON(requestParameters['detachDocumentsFromProductChildRequest']),
|
|
613
|
-
};
|
|
614
|
-
}
|
|
615
|
-
|
|
616
|
-
/**
|
|
617
|
-
* Auto-generated: detachDocumentsProductChild
|
|
618
|
-
*/
|
|
619
|
-
async detachDocumentsProductChildRaw(requestParameters: DetachDocumentsProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildResource>> {
|
|
620
|
-
const requestOptions = await this.detachDocumentsProductChildRequestOpts(requestParameters);
|
|
621
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
514
|
+
}, initOverrides);
|
|
622
515
|
|
|
623
516
|
return new runtime.JSONApiResponse(response, (jsonValue) => ProductChildResourceFromJSON(jsonValue));
|
|
624
517
|
}
|
|
@@ -632,9 +525,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
632
525
|
}
|
|
633
526
|
|
|
634
527
|
/**
|
|
635
|
-
*
|
|
528
|
+
* Auto-generated: getAccessoriesProductChild
|
|
636
529
|
*/
|
|
637
|
-
async
|
|
530
|
+
async getAccessoriesProductChildRaw(requestParameters: GetAccessoriesProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildListResourceArrayResponse>> {
|
|
638
531
|
if (requestParameters['productChild'] == null) {
|
|
639
532
|
throw new runtime.RequiredError(
|
|
640
533
|
'productChild',
|
|
@@ -650,23 +543,15 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
650
543
|
|
|
651
544
|
|
|
652
545
|
let urlPath = `/admin-api/product/children/{productChild}/accessory/list`;
|
|
653
|
-
urlPath = urlPath.replace(
|
|
546
|
+
urlPath = urlPath.replace(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
|
|
654
547
|
|
|
655
|
-
|
|
548
|
+
const response = await this.request({
|
|
656
549
|
path: urlPath,
|
|
657
550
|
method: 'POST',
|
|
658
551
|
headers: headerParameters,
|
|
659
552
|
query: queryParameters,
|
|
660
553
|
body: SearchAllProductChildrenRequestToJSON(requestParameters['searchAllProductChildrenRequest']),
|
|
661
|
-
};
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
/**
|
|
665
|
-
* Auto-generated: getAccessoriesProductChild
|
|
666
|
-
*/
|
|
667
|
-
async getAccessoriesProductChildRaw(requestParameters: GetAccessoriesProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildListResourceArrayResponse>> {
|
|
668
|
-
const requestOptions = await this.getAccessoriesProductChildRequestOpts(requestParameters);
|
|
669
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
554
|
+
}, initOverrides);
|
|
670
555
|
|
|
671
556
|
return new runtime.JSONApiResponse(response, (jsonValue) => ProductChildListResourceArrayResponseFromJSON(jsonValue));
|
|
672
557
|
}
|
|
@@ -680,9 +565,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
680
565
|
}
|
|
681
566
|
|
|
682
567
|
/**
|
|
683
|
-
*
|
|
568
|
+
* Auto-generated: getAllProduct
|
|
684
569
|
*/
|
|
685
|
-
async
|
|
570
|
+
async getAllProductRaw(requestParameters: GetAllProductRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductLiteResourceArrayResponse>> {
|
|
686
571
|
const queryParameters: any = {};
|
|
687
572
|
|
|
688
573
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -692,21 +577,13 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
692
577
|
|
|
693
578
|
let urlPath = `/admin-api/product/parent/all`;
|
|
694
579
|
|
|
695
|
-
|
|
580
|
+
const response = await this.request({
|
|
696
581
|
path: urlPath,
|
|
697
582
|
method: 'POST',
|
|
698
583
|
headers: headerParameters,
|
|
699
584
|
query: queryParameters,
|
|
700
585
|
body: SearchAllProductsRequestToJSON(requestParameters['searchAllProductsRequest']),
|
|
701
|
-
};
|
|
702
|
-
}
|
|
703
|
-
|
|
704
|
-
/**
|
|
705
|
-
* Auto-generated: getAllProduct
|
|
706
|
-
*/
|
|
707
|
-
async getAllProductRaw(requestParameters: GetAllProductRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductLiteResourceArrayResponse>> {
|
|
708
|
-
const requestOptions = await this.getAllProductRequestOpts(requestParameters);
|
|
709
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
586
|
+
}, initOverrides);
|
|
710
587
|
|
|
711
588
|
return new runtime.JSONApiResponse(response, (jsonValue) => ProductLiteResourceArrayResponseFromJSON(jsonValue));
|
|
712
589
|
}
|
|
@@ -720,9 +597,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
720
597
|
}
|
|
721
598
|
|
|
722
599
|
/**
|
|
723
|
-
*
|
|
600
|
+
* Auto-generated: getAllProductChild
|
|
724
601
|
*/
|
|
725
|
-
async
|
|
602
|
+
async getAllProductChildRaw(requestParameters: GetAllProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildLiteResourceArrayResponse>> {
|
|
726
603
|
const queryParameters: any = {};
|
|
727
604
|
|
|
728
605
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -732,21 +609,13 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
732
609
|
|
|
733
610
|
let urlPath = `/admin-api/product/children/all`;
|
|
734
611
|
|
|
735
|
-
|
|
612
|
+
const response = await this.request({
|
|
736
613
|
path: urlPath,
|
|
737
614
|
method: 'POST',
|
|
738
615
|
headers: headerParameters,
|
|
739
616
|
query: queryParameters,
|
|
740
617
|
body: SearchAllProductChildrenRequestToJSON(requestParameters['searchAllProductChildrenRequest']),
|
|
741
|
-
};
|
|
742
|
-
}
|
|
743
|
-
|
|
744
|
-
/**
|
|
745
|
-
* Auto-generated: getAllProductChild
|
|
746
|
-
*/
|
|
747
|
-
async getAllProductChildRaw(requestParameters: GetAllProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildLiteResourceArrayResponse>> {
|
|
748
|
-
const requestOptions = await this.getAllProductChildRequestOpts(requestParameters);
|
|
749
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
618
|
+
}, initOverrides);
|
|
750
619
|
|
|
751
620
|
return new runtime.JSONApiResponse(response, (jsonValue) => ProductChildLiteResourceArrayResponseFromJSON(jsonValue));
|
|
752
621
|
}
|
|
@@ -760,9 +629,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
760
629
|
}
|
|
761
630
|
|
|
762
631
|
/**
|
|
763
|
-
*
|
|
632
|
+
* Auto-generated: getCompatibleProductsProductChild
|
|
764
633
|
*/
|
|
765
|
-
async
|
|
634
|
+
async getCompatibleProductsProductChildRaw(requestParameters: GetCompatibleProductsProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>> {
|
|
766
635
|
if (requestParameters['productChild'] == null) {
|
|
767
636
|
throw new runtime.RequiredError(
|
|
768
637
|
'productChild',
|
|
@@ -778,23 +647,15 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
778
647
|
|
|
779
648
|
|
|
780
649
|
let urlPath = `/admin-api/product/children/{productChild}/compatible-product/list`;
|
|
781
|
-
urlPath = urlPath.replace(
|
|
650
|
+
urlPath = urlPath.replace(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
|
|
782
651
|
|
|
783
|
-
|
|
652
|
+
const response = await this.request({
|
|
784
653
|
path: urlPath,
|
|
785
654
|
method: 'POST',
|
|
786
655
|
headers: headerParameters,
|
|
787
656
|
query: queryParameters,
|
|
788
657
|
body: SearchProductChildrenRequestToJSON(requestParameters['searchProductChildrenRequest']),
|
|
789
|
-
};
|
|
790
|
-
}
|
|
791
|
-
|
|
792
|
-
/**
|
|
793
|
-
* Auto-generated: getCompatibleProductsProductChild
|
|
794
|
-
*/
|
|
795
|
-
async getCompatibleProductsProductChildRaw(requestParameters: GetCompatibleProductsProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>> {
|
|
796
|
-
const requestOptions = await this.getCompatibleProductsProductChildRequestOpts(requestParameters);
|
|
797
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
658
|
+
}, initOverrides);
|
|
798
659
|
|
|
799
660
|
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductChildListResourceResponseFromJSON(jsonValue));
|
|
800
661
|
}
|
|
@@ -808,9 +669,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
808
669
|
}
|
|
809
670
|
|
|
810
671
|
/**
|
|
811
|
-
*
|
|
672
|
+
* Auto-generated: indexProduct
|
|
812
673
|
*/
|
|
813
|
-
async
|
|
674
|
+
async indexProductRaw(requestParameters: IndexProductRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductListResourceResponse>> {
|
|
814
675
|
const queryParameters: any = {};
|
|
815
676
|
|
|
816
677
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -820,21 +681,13 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
820
681
|
|
|
821
682
|
let urlPath = `/admin-api/product/parent/list`;
|
|
822
683
|
|
|
823
|
-
|
|
684
|
+
const response = await this.request({
|
|
824
685
|
path: urlPath,
|
|
825
686
|
method: 'POST',
|
|
826
687
|
headers: headerParameters,
|
|
827
688
|
query: queryParameters,
|
|
828
689
|
body: SearchProductsRequestToJSON(requestParameters['searchProductsRequest']),
|
|
829
|
-
};
|
|
830
|
-
}
|
|
831
|
-
|
|
832
|
-
/**
|
|
833
|
-
* Auto-generated: indexProduct
|
|
834
|
-
*/
|
|
835
|
-
async indexProductRaw(requestParameters: IndexProductRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductListResourceResponse>> {
|
|
836
|
-
const requestOptions = await this.indexProductRequestOpts(requestParameters);
|
|
837
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
690
|
+
}, initOverrides);
|
|
838
691
|
|
|
839
692
|
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductListResourceResponseFromJSON(jsonValue));
|
|
840
693
|
}
|
|
@@ -848,9 +701,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
848
701
|
}
|
|
849
702
|
|
|
850
703
|
/**
|
|
851
|
-
*
|
|
704
|
+
* Auto-generated: indexProductChild
|
|
852
705
|
*/
|
|
853
|
-
async
|
|
706
|
+
async indexProductChildRaw(requestParameters: IndexProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>> {
|
|
854
707
|
const queryParameters: any = {};
|
|
855
708
|
|
|
856
709
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -860,21 +713,13 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
860
713
|
|
|
861
714
|
let urlPath = `/admin-api/product/children/list`;
|
|
862
715
|
|
|
863
|
-
|
|
716
|
+
const response = await this.request({
|
|
864
717
|
path: urlPath,
|
|
865
718
|
method: 'POST',
|
|
866
719
|
headers: headerParameters,
|
|
867
720
|
query: queryParameters,
|
|
868
721
|
body: SearchProductChildrenRequestToJSON(requestParameters['searchProductChildrenRequest']),
|
|
869
|
-
};
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
/**
|
|
873
|
-
* Auto-generated: indexProductChild
|
|
874
|
-
*/
|
|
875
|
-
async indexProductChildRaw(requestParameters: IndexProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>> {
|
|
876
|
-
const requestOptions = await this.indexProductChildRequestOpts(requestParameters);
|
|
877
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
722
|
+
}, initOverrides);
|
|
878
723
|
|
|
879
724
|
return new runtime.JSONApiResponse(response, (jsonValue) => PaginatedProductChildListResourceResponseFromJSON(jsonValue));
|
|
880
725
|
}
|
|
@@ -888,9 +733,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
888
733
|
}
|
|
889
734
|
|
|
890
735
|
/**
|
|
891
|
-
*
|
|
736
|
+
* Auto-generated: showAssetsProductChild
|
|
892
737
|
*/
|
|
893
|
-
async
|
|
738
|
+
async showAssetsProductChildRaw(requestParameters: ShowAssetsProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AssetWithOverlayLinkResourceArrayResponse>> {
|
|
894
739
|
if (requestParameters['productChild'] == null) {
|
|
895
740
|
throw new runtime.RequiredError(
|
|
896
741
|
'productChild',
|
|
@@ -906,23 +751,15 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
906
751
|
|
|
907
752
|
|
|
908
753
|
let urlPath = `/admin-api/product/children/{productChild}/assets`;
|
|
909
|
-
urlPath = urlPath.replace(
|
|
754
|
+
urlPath = urlPath.replace(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
|
|
910
755
|
|
|
911
|
-
|
|
756
|
+
const response = await this.request({
|
|
912
757
|
path: urlPath,
|
|
913
758
|
method: 'POST',
|
|
914
759
|
headers: headerParameters,
|
|
915
760
|
query: queryParameters,
|
|
916
761
|
body: ShowProductChildAssetsRequestToJSON(requestParameters['showProductChildAssetsRequest']),
|
|
917
|
-
};
|
|
918
|
-
}
|
|
919
|
-
|
|
920
|
-
/**
|
|
921
|
-
* Auto-generated: showAssetsProductChild
|
|
922
|
-
*/
|
|
923
|
-
async showAssetsProductChildRaw(requestParameters: ShowAssetsProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AssetWithOverlayLinkResourceArrayResponse>> {
|
|
924
|
-
const requestOptions = await this.showAssetsProductChildRequestOpts(requestParameters);
|
|
925
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
762
|
+
}, initOverrides);
|
|
926
763
|
|
|
927
764
|
return new runtime.JSONApiResponse(response, (jsonValue) => AssetWithOverlayLinkResourceArrayResponseFromJSON(jsonValue));
|
|
928
765
|
}
|
|
@@ -936,9 +773,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
936
773
|
}
|
|
937
774
|
|
|
938
775
|
/**
|
|
939
|
-
*
|
|
776
|
+
* Auto-generated: showAttributesProductChild
|
|
940
777
|
*/
|
|
941
|
-
async
|
|
778
|
+
async showAttributesProductChildRaw(requestParameters: ShowAttributesProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildAttributeGroupedResource>> {
|
|
942
779
|
if (requestParameters['productChild'] == null) {
|
|
943
780
|
throw new runtime.RequiredError(
|
|
944
781
|
'productChild',
|
|
@@ -954,23 +791,15 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
954
791
|
|
|
955
792
|
|
|
956
793
|
let urlPath = `/admin-api/product/children/{productChild}/attributes`;
|
|
957
|
-
urlPath = urlPath.replace(
|
|
794
|
+
urlPath = urlPath.replace(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
|
|
958
795
|
|
|
959
|
-
|
|
796
|
+
const response = await this.request({
|
|
960
797
|
path: urlPath,
|
|
961
798
|
method: 'POST',
|
|
962
799
|
headers: headerParameters,
|
|
963
800
|
query: queryParameters,
|
|
964
801
|
body: SearchProductChildAttributesRequestToJSON(requestParameters['searchProductChildAttributesRequest']),
|
|
965
|
-
};
|
|
966
|
-
}
|
|
967
|
-
|
|
968
|
-
/**
|
|
969
|
-
* Auto-generated: showAttributesProductChild
|
|
970
|
-
*/
|
|
971
|
-
async showAttributesProductChildRaw(requestParameters: ShowAttributesProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildAttributeGroupedResource>> {
|
|
972
|
-
const requestOptions = await this.showAttributesProductChildRequestOpts(requestParameters);
|
|
973
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
802
|
+
}, initOverrides);
|
|
974
803
|
|
|
975
804
|
return new runtime.JSONApiResponse(response, (jsonValue) => ProductChildAttributeGroupedResourceFromJSON(jsonValue));
|
|
976
805
|
}
|
|
@@ -984,9 +813,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
984
813
|
}
|
|
985
814
|
|
|
986
815
|
/**
|
|
987
|
-
*
|
|
816
|
+
* Auto-generated: showProduct
|
|
988
817
|
*/
|
|
989
|
-
async
|
|
818
|
+
async showProductRaw(requestParameters: ShowProductRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductResource>> {
|
|
990
819
|
if (requestParameters['product'] == null) {
|
|
991
820
|
throw new runtime.RequiredError(
|
|
992
821
|
'product',
|
|
@@ -1000,22 +829,14 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
1000
829
|
|
|
1001
830
|
|
|
1002
831
|
let urlPath = `/admin-api/product/parent/{product}`;
|
|
1003
|
-
urlPath = urlPath.replace(
|
|
832
|
+
urlPath = urlPath.replace(`{${"product"}}`, encodeURIComponent(String(requestParameters['product'])));
|
|
1004
833
|
|
|
1005
|
-
|
|
834
|
+
const response = await this.request({
|
|
1006
835
|
path: urlPath,
|
|
1007
836
|
method: 'GET',
|
|
1008
837
|
headers: headerParameters,
|
|
1009
838
|
query: queryParameters,
|
|
1010
|
-
};
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
/**
|
|
1014
|
-
* Auto-generated: showProduct
|
|
1015
|
-
*/
|
|
1016
|
-
async showProductRaw(requestParameters: ShowProductRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductResource>> {
|
|
1017
|
-
const requestOptions = await this.showProductRequestOpts(requestParameters);
|
|
1018
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
839
|
+
}, initOverrides);
|
|
1019
840
|
|
|
1020
841
|
return new runtime.JSONApiResponse(response, (jsonValue) => ProductResourceFromJSON(jsonValue));
|
|
1021
842
|
}
|
|
@@ -1029,9 +850,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
1029
850
|
}
|
|
1030
851
|
|
|
1031
852
|
/**
|
|
1032
|
-
*
|
|
853
|
+
* Auto-generated: showProductChild
|
|
1033
854
|
*/
|
|
1034
|
-
async
|
|
855
|
+
async showProductChildRaw(requestParameters: ShowProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildResource>> {
|
|
1035
856
|
if (requestParameters['productChild'] == null) {
|
|
1036
857
|
throw new runtime.RequiredError(
|
|
1037
858
|
'productChild',
|
|
@@ -1045,22 +866,14 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
1045
866
|
|
|
1046
867
|
|
|
1047
868
|
let urlPath = `/admin-api/product/children/{productChild}`;
|
|
1048
|
-
urlPath = urlPath.replace(
|
|
869
|
+
urlPath = urlPath.replace(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
|
|
1049
870
|
|
|
1050
|
-
|
|
871
|
+
const response = await this.request({
|
|
1051
872
|
path: urlPath,
|
|
1052
873
|
method: 'GET',
|
|
1053
874
|
headers: headerParameters,
|
|
1054
875
|
query: queryParameters,
|
|
1055
|
-
};
|
|
1056
|
-
}
|
|
1057
|
-
|
|
1058
|
-
/**
|
|
1059
|
-
* Auto-generated: showProductChild
|
|
1060
|
-
*/
|
|
1061
|
-
async showProductChildRaw(requestParameters: ShowProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildResource>> {
|
|
1062
|
-
const requestOptions = await this.showProductChildRequestOpts(requestParameters);
|
|
1063
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
876
|
+
}, initOverrides);
|
|
1064
877
|
|
|
1065
878
|
return new runtime.JSONApiResponse(response, (jsonValue) => ProductChildResourceFromJSON(jsonValue));
|
|
1066
879
|
}
|
|
@@ -1074,9 +887,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
1074
887
|
}
|
|
1075
888
|
|
|
1076
889
|
/**
|
|
1077
|
-
*
|
|
890
|
+
* Auto-generated: skuSearchProductChild
|
|
1078
891
|
*/
|
|
1079
|
-
async
|
|
892
|
+
async skuSearchProductChildRaw(requestParameters: SkuSearchProductChildOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildResource>> {
|
|
1080
893
|
const queryParameters: any = {};
|
|
1081
894
|
|
|
1082
895
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -1086,21 +899,13 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
1086
899
|
|
|
1087
900
|
let urlPath = `/admin-api/product/children/sku-search`;
|
|
1088
901
|
|
|
1089
|
-
|
|
902
|
+
const response = await this.request({
|
|
1090
903
|
path: urlPath,
|
|
1091
904
|
method: 'POST',
|
|
1092
905
|
headers: headerParameters,
|
|
1093
906
|
query: queryParameters,
|
|
1094
907
|
body: SkuSearchProductChildRequestToJSON(requestParameters['skuSearchProductChildRequest']),
|
|
1095
|
-
};
|
|
1096
|
-
}
|
|
1097
|
-
|
|
1098
|
-
/**
|
|
1099
|
-
* Auto-generated: skuSearchProductChild
|
|
1100
|
-
*/
|
|
1101
|
-
async skuSearchProductChildRaw(requestParameters: SkuSearchProductChildOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildResource>> {
|
|
1102
|
-
const requestOptions = await this.skuSearchProductChildRequestOpts(requestParameters);
|
|
1103
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
908
|
+
}, initOverrides);
|
|
1104
909
|
|
|
1105
910
|
return new runtime.JSONApiResponse(response, (jsonValue) => ProductChildResourceFromJSON(jsonValue));
|
|
1106
911
|
}
|
|
@@ -1114,9 +919,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
1114
919
|
}
|
|
1115
920
|
|
|
1116
921
|
/**
|
|
1117
|
-
*
|
|
922
|
+
* Auto-generated: storeProduct
|
|
1118
923
|
*/
|
|
1119
|
-
async
|
|
924
|
+
async storeProductRaw(requestParameters: StoreProductRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductResource>> {
|
|
1120
925
|
const queryParameters: any = {};
|
|
1121
926
|
|
|
1122
927
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -1126,21 +931,13 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
1126
931
|
|
|
1127
932
|
let urlPath = `/admin-api/product/parent/create`;
|
|
1128
933
|
|
|
1129
|
-
|
|
934
|
+
const response = await this.request({
|
|
1130
935
|
path: urlPath,
|
|
1131
936
|
method: 'POST',
|
|
1132
937
|
headers: headerParameters,
|
|
1133
938
|
query: queryParameters,
|
|
1134
939
|
body: CreateProductRequestToJSON(requestParameters['createProductRequest']),
|
|
1135
|
-
};
|
|
1136
|
-
}
|
|
1137
|
-
|
|
1138
|
-
/**
|
|
1139
|
-
* Auto-generated: storeProduct
|
|
1140
|
-
*/
|
|
1141
|
-
async storeProductRaw(requestParameters: StoreProductRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductResource>> {
|
|
1142
|
-
const requestOptions = await this.storeProductRequestOpts(requestParameters);
|
|
1143
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
940
|
+
}, initOverrides);
|
|
1144
941
|
|
|
1145
942
|
return new runtime.JSONApiResponse(response, (jsonValue) => ProductResourceFromJSON(jsonValue));
|
|
1146
943
|
}
|
|
@@ -1154,9 +951,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
1154
951
|
}
|
|
1155
952
|
|
|
1156
953
|
/**
|
|
1157
|
-
*
|
|
954
|
+
* Auto-generated: storeProductChild
|
|
1158
955
|
*/
|
|
1159
|
-
async
|
|
956
|
+
async storeProductChildRaw(requestParameters: StoreProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildResource>> {
|
|
1160
957
|
const queryParameters: any = {};
|
|
1161
958
|
|
|
1162
959
|
const headerParameters: runtime.HTTPHeaders = {};
|
|
@@ -1166,21 +963,13 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
1166
963
|
|
|
1167
964
|
let urlPath = `/admin-api/product/children/create`;
|
|
1168
965
|
|
|
1169
|
-
|
|
966
|
+
const response = await this.request({
|
|
1170
967
|
path: urlPath,
|
|
1171
968
|
method: 'POST',
|
|
1172
969
|
headers: headerParameters,
|
|
1173
970
|
query: queryParameters,
|
|
1174
971
|
body: CreateProductChildRequestToJSON(requestParameters['createProductChildRequest']),
|
|
1175
|
-
};
|
|
1176
|
-
}
|
|
1177
|
-
|
|
1178
|
-
/**
|
|
1179
|
-
* Auto-generated: storeProductChild
|
|
1180
|
-
*/
|
|
1181
|
-
async storeProductChildRaw(requestParameters: StoreProductChildRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildResource>> {
|
|
1182
|
-
const requestOptions = await this.storeProductChildRequestOpts(requestParameters);
|
|
1183
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
972
|
+
}, initOverrides);
|
|
1184
973
|
|
|
1185
974
|
return new runtime.JSONApiResponse(response, (jsonValue) => ProductChildResourceFromJSON(jsonValue));
|
|
1186
975
|
}
|
|
@@ -1194,9 +983,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
1194
983
|
}
|
|
1195
984
|
|
|
1196
985
|
/**
|
|
1197
|
-
*
|
|
986
|
+
* Auto-generated: updateProduct
|
|
1198
987
|
*/
|
|
1199
|
-
async
|
|
988
|
+
async updateProductRaw(requestParameters: UpdateProductOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductResource>> {
|
|
1200
989
|
if (requestParameters['product'] == null) {
|
|
1201
990
|
throw new runtime.RequiredError(
|
|
1202
991
|
'product',
|
|
@@ -1212,23 +1001,15 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
1212
1001
|
|
|
1213
1002
|
|
|
1214
1003
|
let urlPath = `/admin-api/product/parent/{product}/update`;
|
|
1215
|
-
urlPath = urlPath.replace(
|
|
1004
|
+
urlPath = urlPath.replace(`{${"product"}}`, encodeURIComponent(String(requestParameters['product'])));
|
|
1216
1005
|
|
|
1217
|
-
|
|
1006
|
+
const response = await this.request({
|
|
1218
1007
|
path: urlPath,
|
|
1219
1008
|
method: 'PUT',
|
|
1220
1009
|
headers: headerParameters,
|
|
1221
1010
|
query: queryParameters,
|
|
1222
1011
|
body: UpdateProductRequestToJSON(requestParameters['updateProductRequest']),
|
|
1223
|
-
};
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
|
-
/**
|
|
1227
|
-
* Auto-generated: updateProduct
|
|
1228
|
-
*/
|
|
1229
|
-
async updateProductRaw(requestParameters: UpdateProductOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductResource>> {
|
|
1230
|
-
const requestOptions = await this.updateProductRequestOpts(requestParameters);
|
|
1231
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
1012
|
+
}, initOverrides);
|
|
1232
1013
|
|
|
1233
1014
|
return new runtime.JSONApiResponse(response, (jsonValue) => ProductResourceFromJSON(jsonValue));
|
|
1234
1015
|
}
|
|
@@ -1242,9 +1023,9 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
1242
1023
|
}
|
|
1243
1024
|
|
|
1244
1025
|
/**
|
|
1245
|
-
*
|
|
1026
|
+
* Auto-generated: updateProductChild
|
|
1246
1027
|
*/
|
|
1247
|
-
async
|
|
1028
|
+
async updateProductChildRaw(requestParameters: UpdateProductChildOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildResource>> {
|
|
1248
1029
|
if (requestParameters['productChild'] == null) {
|
|
1249
1030
|
throw new runtime.RequiredError(
|
|
1250
1031
|
'productChild',
|
|
@@ -1260,23 +1041,15 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
1260
1041
|
|
|
1261
1042
|
|
|
1262
1043
|
let urlPath = `/admin-api/product/children/{productChild}/update`;
|
|
1263
|
-
urlPath = urlPath.replace(
|
|
1044
|
+
urlPath = urlPath.replace(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
|
|
1264
1045
|
|
|
1265
|
-
|
|
1046
|
+
const response = await this.request({
|
|
1266
1047
|
path: urlPath,
|
|
1267
1048
|
method: 'PUT',
|
|
1268
1049
|
headers: headerParameters,
|
|
1269
1050
|
query: queryParameters,
|
|
1270
1051
|
body: UpdateProductChildRequestToJSON(requestParameters['updateProductChildRequest']),
|
|
1271
|
-
};
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
/**
|
|
1275
|
-
* Auto-generated: updateProductChild
|
|
1276
|
-
*/
|
|
1277
|
-
async updateProductChildRaw(requestParameters: UpdateProductChildOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductChildResource>> {
|
|
1278
|
-
const requestOptions = await this.updateProductChildRequestOpts(requestParameters);
|
|
1279
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
1052
|
+
}, initOverrides);
|
|
1280
1053
|
|
|
1281
1054
|
return new runtime.JSONApiResponse(response, (jsonValue) => ProductChildResourceFromJSON(jsonValue));
|
|
1282
1055
|
}
|