@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/dist/apis/ProductApi.js
CHANGED
|
@@ -66,30 +66,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
|
66
66
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
67
|
exports.ProductApi = void 0;
|
|
68
68
|
var runtime = require("../runtime");
|
|
69
|
-
var
|
|
70
|
-
var AttachDocumentsToProductChildRequest_1 = require("../models/AttachDocumentsToProductChildRequest");
|
|
71
|
-
var AttachProductChildrenRequest_1 = require("../models/AttachProductChildrenRequest");
|
|
72
|
-
var CreateProductChildRequest_1 = require("../models/CreateProductChildRequest");
|
|
73
|
-
var CreateProductRequest_1 = require("../models/CreateProductRequest");
|
|
74
|
-
var DetachDocumentsFromProductChildRequest_1 = require("../models/DetachDocumentsFromProductChildRequest");
|
|
75
|
-
var GenericResponse_1 = require("../models/GenericResponse");
|
|
76
|
-
var PaginatedProductChildListResourceResponse_1 = require("../models/PaginatedProductChildListResourceResponse");
|
|
77
|
-
var PaginatedProductListResourceResponse_1 = require("../models/PaginatedProductListResourceResponse");
|
|
78
|
-
var ProductChildAttributeGroupedResource_1 = require("../models/ProductChildAttributeGroupedResource");
|
|
79
|
-
var ProductChildListResourceArrayResponse_1 = require("../models/ProductChildListResourceArrayResponse");
|
|
80
|
-
var ProductChildLiteResourceArrayResponse_1 = require("../models/ProductChildLiteResourceArrayResponse");
|
|
81
|
-
var ProductChildResource_1 = require("../models/ProductChildResource");
|
|
82
|
-
var ProductLiteResourceArrayResponse_1 = require("../models/ProductLiteResourceArrayResponse");
|
|
83
|
-
var ProductResource_1 = require("../models/ProductResource");
|
|
84
|
-
var SearchAllProductChildrenRequest_1 = require("../models/SearchAllProductChildrenRequest");
|
|
85
|
-
var SearchAllProductsRequest_1 = require("../models/SearchAllProductsRequest");
|
|
86
|
-
var SearchProductChildAttributesRequest_1 = require("../models/SearchProductChildAttributesRequest");
|
|
87
|
-
var SearchProductChildrenRequest_1 = require("../models/SearchProductChildrenRequest");
|
|
88
|
-
var SearchProductsRequest_1 = require("../models/SearchProductsRequest");
|
|
89
|
-
var ShowProductChildAssetsRequest_1 = require("../models/ShowProductChildAssetsRequest");
|
|
90
|
-
var SkuSearchProductChildRequest_1 = require("../models/SkuSearchProductChildRequest");
|
|
91
|
-
var UpdateProductChildRequest_1 = require("../models/UpdateProductChildRequest");
|
|
92
|
-
var UpdateProductRequest_1 = require("../models/UpdateProductRequest");
|
|
69
|
+
var index_1 = require("../models/index");
|
|
93
70
|
/**
|
|
94
71
|
*
|
|
95
72
|
*/
|
|
@@ -98,46 +75,33 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
98
75
|
function ProductApi() {
|
|
99
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
100
77
|
}
|
|
101
|
-
/**
|
|
102
|
-
* Creates request options for attachAccessoriesProductChild without sending the request
|
|
103
|
-
*/
|
|
104
|
-
ProductApi.prototype.attachAccessoriesProductChildRequestOpts = function (requestParameters) {
|
|
105
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
106
|
-
var queryParameters, headerParameters, urlPath;
|
|
107
|
-
return __generator(this, function (_a) {
|
|
108
|
-
if (requestParameters['productChild'] == null) {
|
|
109
|
-
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling attachAccessoriesProductChild().');
|
|
110
|
-
}
|
|
111
|
-
queryParameters = {};
|
|
112
|
-
headerParameters = {};
|
|
113
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
114
|
-
urlPath = "/admin-api/product/children/{productChild}/accessory/attach";
|
|
115
|
-
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
116
|
-
return [2 /*return*/, {
|
|
117
|
-
path: urlPath,
|
|
118
|
-
method: 'POST',
|
|
119
|
-
headers: headerParameters,
|
|
120
|
-
query: queryParameters,
|
|
121
|
-
body: (0, AttachProductChildrenRequest_1.AttachProductChildrenRequestToJSON)(requestParameters['attachProductChildrenRequest']),
|
|
122
|
-
}];
|
|
123
|
-
});
|
|
124
|
-
});
|
|
125
|
-
};
|
|
126
78
|
/**
|
|
127
79
|
* Auto-generated: attachAccessoriesProductChild
|
|
128
80
|
*/
|
|
129
81
|
ProductApi.prototype.attachAccessoriesProductChildRaw = function (requestParameters, initOverrides) {
|
|
130
82
|
return __awaiter(this, void 0, void 0, function () {
|
|
131
|
-
var
|
|
83
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
132
84
|
return __generator(this, function (_a) {
|
|
133
85
|
switch (_a.label) {
|
|
134
|
-
case 0:
|
|
86
|
+
case 0:
|
|
87
|
+
if (requestParameters['productChild'] == null) {
|
|
88
|
+
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling attachAccessoriesProductChild().');
|
|
89
|
+
}
|
|
90
|
+
queryParameters = {};
|
|
91
|
+
headerParameters = {};
|
|
92
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
93
|
+
urlPath = "/admin-api/product/children/{productChild}/accessory/attach";
|
|
94
|
+
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
95
|
+
return [4 /*yield*/, this.request({
|
|
96
|
+
path: urlPath,
|
|
97
|
+
method: 'POST',
|
|
98
|
+
headers: headerParameters,
|
|
99
|
+
query: queryParameters,
|
|
100
|
+
body: (0, index_1.AttachProductChildrenRequestToJSON)(requestParameters['attachProductChildrenRequest']),
|
|
101
|
+
}, initOverrides)];
|
|
135
102
|
case 1:
|
|
136
|
-
requestOptions = _a.sent();
|
|
137
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
138
|
-
case 2:
|
|
139
103
|
response = _a.sent();
|
|
140
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
104
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductChildListResourceResponseFromJSON)(jsonValue); })];
|
|
141
105
|
}
|
|
142
106
|
});
|
|
143
107
|
});
|
|
@@ -159,46 +123,33 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
159
123
|
});
|
|
160
124
|
});
|
|
161
125
|
};
|
|
162
|
-
/**
|
|
163
|
-
* Creates request options for attachCompatibleProductsProductChild without sending the request
|
|
164
|
-
*/
|
|
165
|
-
ProductApi.prototype.attachCompatibleProductsProductChildRequestOpts = function (requestParameters) {
|
|
166
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
167
|
-
var queryParameters, headerParameters, urlPath;
|
|
168
|
-
return __generator(this, function (_a) {
|
|
169
|
-
if (requestParameters['productChild'] == null) {
|
|
170
|
-
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling attachCompatibleProductsProductChild().');
|
|
171
|
-
}
|
|
172
|
-
queryParameters = {};
|
|
173
|
-
headerParameters = {};
|
|
174
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
175
|
-
urlPath = "/admin-api/product/children/{productChild}/compatible-product/attach";
|
|
176
|
-
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
177
|
-
return [2 /*return*/, {
|
|
178
|
-
path: urlPath,
|
|
179
|
-
method: 'POST',
|
|
180
|
-
headers: headerParameters,
|
|
181
|
-
query: queryParameters,
|
|
182
|
-
body: (0, AttachProductChildrenRequest_1.AttachProductChildrenRequestToJSON)(requestParameters['attachProductChildrenRequest']),
|
|
183
|
-
}];
|
|
184
|
-
});
|
|
185
|
-
});
|
|
186
|
-
};
|
|
187
126
|
/**
|
|
188
127
|
* Auto-generated: attachCompatibleProductsProductChild
|
|
189
128
|
*/
|
|
190
129
|
ProductApi.prototype.attachCompatibleProductsProductChildRaw = function (requestParameters, initOverrides) {
|
|
191
130
|
return __awaiter(this, void 0, void 0, function () {
|
|
192
|
-
var
|
|
131
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
193
132
|
return __generator(this, function (_a) {
|
|
194
133
|
switch (_a.label) {
|
|
195
|
-
case 0:
|
|
134
|
+
case 0:
|
|
135
|
+
if (requestParameters['productChild'] == null) {
|
|
136
|
+
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling attachCompatibleProductsProductChild().');
|
|
137
|
+
}
|
|
138
|
+
queryParameters = {};
|
|
139
|
+
headerParameters = {};
|
|
140
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
141
|
+
urlPath = "/admin-api/product/children/{productChild}/compatible-product/attach";
|
|
142
|
+
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
143
|
+
return [4 /*yield*/, this.request({
|
|
144
|
+
path: urlPath,
|
|
145
|
+
method: 'POST',
|
|
146
|
+
headers: headerParameters,
|
|
147
|
+
query: queryParameters,
|
|
148
|
+
body: (0, index_1.AttachProductChildrenRequestToJSON)(requestParameters['attachProductChildrenRequest']),
|
|
149
|
+
}, initOverrides)];
|
|
196
150
|
case 1:
|
|
197
|
-
requestOptions = _a.sent();
|
|
198
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
199
|
-
case 2:
|
|
200
151
|
response = _a.sent();
|
|
201
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
152
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductChildListResourceResponseFromJSON)(jsonValue); })];
|
|
202
153
|
}
|
|
203
154
|
});
|
|
204
155
|
});
|
|
@@ -220,46 +171,33 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
220
171
|
});
|
|
221
172
|
});
|
|
222
173
|
};
|
|
223
|
-
/**
|
|
224
|
-
* Creates request options for attachDocumentsProductChild without sending the request
|
|
225
|
-
*/
|
|
226
|
-
ProductApi.prototype.attachDocumentsProductChildRequestOpts = function (requestParameters) {
|
|
227
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
228
|
-
var queryParameters, headerParameters, urlPath;
|
|
229
|
-
return __generator(this, function (_a) {
|
|
230
|
-
if (requestParameters['productChild'] == null) {
|
|
231
|
-
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling attachDocumentsProductChild().');
|
|
232
|
-
}
|
|
233
|
-
queryParameters = {};
|
|
234
|
-
headerParameters = {};
|
|
235
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
236
|
-
urlPath = "/admin-api/product/children/{productChild}/attach-documents";
|
|
237
|
-
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
238
|
-
return [2 /*return*/, {
|
|
239
|
-
path: urlPath,
|
|
240
|
-
method: 'POST',
|
|
241
|
-
headers: headerParameters,
|
|
242
|
-
query: queryParameters,
|
|
243
|
-
body: (0, AttachDocumentsToProductChildRequest_1.AttachDocumentsToProductChildRequestToJSON)(requestParameters['attachDocumentsToProductChildRequest']),
|
|
244
|
-
}];
|
|
245
|
-
});
|
|
246
|
-
});
|
|
247
|
-
};
|
|
248
174
|
/**
|
|
249
175
|
* Auto-generated: attachDocumentsProductChild
|
|
250
176
|
*/
|
|
251
177
|
ProductApi.prototype.attachDocumentsProductChildRaw = function (requestParameters, initOverrides) {
|
|
252
178
|
return __awaiter(this, void 0, void 0, function () {
|
|
253
|
-
var
|
|
179
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
254
180
|
return __generator(this, function (_a) {
|
|
255
181
|
switch (_a.label) {
|
|
256
|
-
case 0:
|
|
182
|
+
case 0:
|
|
183
|
+
if (requestParameters['productChild'] == null) {
|
|
184
|
+
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling attachDocumentsProductChild().');
|
|
185
|
+
}
|
|
186
|
+
queryParameters = {};
|
|
187
|
+
headerParameters = {};
|
|
188
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
189
|
+
urlPath = "/admin-api/product/children/{productChild}/attach-documents";
|
|
190
|
+
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
191
|
+
return [4 /*yield*/, this.request({
|
|
192
|
+
path: urlPath,
|
|
193
|
+
method: 'POST',
|
|
194
|
+
headers: headerParameters,
|
|
195
|
+
query: queryParameters,
|
|
196
|
+
body: (0, index_1.AttachDocumentsToProductChildRequestToJSON)(requestParameters['attachDocumentsToProductChildRequest']),
|
|
197
|
+
}, initOverrides)];
|
|
257
198
|
case 1:
|
|
258
|
-
requestOptions = _a.sent();
|
|
259
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
260
|
-
case 2:
|
|
261
199
|
response = _a.sent();
|
|
262
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
200
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductChildResourceFromJSON)(jsonValue); })];
|
|
263
201
|
}
|
|
264
202
|
});
|
|
265
203
|
});
|
|
@@ -281,44 +219,31 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
281
219
|
});
|
|
282
220
|
});
|
|
283
221
|
};
|
|
284
|
-
/**
|
|
285
|
-
* Creates request options for destroyProduct without sending the request
|
|
286
|
-
*/
|
|
287
|
-
ProductApi.prototype.destroyProductRequestOpts = function (requestParameters) {
|
|
288
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
289
|
-
var queryParameters, headerParameters, urlPath;
|
|
290
|
-
return __generator(this, function (_a) {
|
|
291
|
-
if (requestParameters['product'] == null) {
|
|
292
|
-
throw new runtime.RequiredError('product', 'Required parameter "product" was null or undefined when calling destroyProduct().');
|
|
293
|
-
}
|
|
294
|
-
queryParameters = {};
|
|
295
|
-
headerParameters = {};
|
|
296
|
-
urlPath = "/admin-api/product/parent/{product}/delete";
|
|
297
|
-
urlPath = urlPath.replace('{product}', encodeURIComponent(String(requestParameters['product'])));
|
|
298
|
-
return [2 /*return*/, {
|
|
299
|
-
path: urlPath,
|
|
300
|
-
method: 'DELETE',
|
|
301
|
-
headers: headerParameters,
|
|
302
|
-
query: queryParameters,
|
|
303
|
-
}];
|
|
304
|
-
});
|
|
305
|
-
});
|
|
306
|
-
};
|
|
307
222
|
/**
|
|
308
223
|
* Auto-generated: destroyProduct
|
|
309
224
|
*/
|
|
310
225
|
ProductApi.prototype.destroyProductRaw = function (requestParameters, initOverrides) {
|
|
311
226
|
return __awaiter(this, void 0, void 0, function () {
|
|
312
|
-
var
|
|
227
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
313
228
|
return __generator(this, function (_a) {
|
|
314
229
|
switch (_a.label) {
|
|
315
|
-
case 0:
|
|
230
|
+
case 0:
|
|
231
|
+
if (requestParameters['product'] == null) {
|
|
232
|
+
throw new runtime.RequiredError('product', 'Required parameter "product" was null or undefined when calling destroyProduct().');
|
|
233
|
+
}
|
|
234
|
+
queryParameters = {};
|
|
235
|
+
headerParameters = {};
|
|
236
|
+
urlPath = "/admin-api/product/parent/{product}/delete";
|
|
237
|
+
urlPath = urlPath.replace("{".concat("product", "}"), encodeURIComponent(String(requestParameters['product'])));
|
|
238
|
+
return [4 /*yield*/, this.request({
|
|
239
|
+
path: urlPath,
|
|
240
|
+
method: 'DELETE',
|
|
241
|
+
headers: headerParameters,
|
|
242
|
+
query: queryParameters,
|
|
243
|
+
}, initOverrides)];
|
|
316
244
|
case 1:
|
|
317
|
-
requestOptions = _a.sent();
|
|
318
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
319
|
-
case 2:
|
|
320
245
|
response = _a.sent();
|
|
321
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
246
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GenericResponseFromJSON)(jsonValue); })];
|
|
322
247
|
}
|
|
323
248
|
});
|
|
324
249
|
});
|
|
@@ -340,44 +265,31 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
340
265
|
});
|
|
341
266
|
});
|
|
342
267
|
};
|
|
343
|
-
/**
|
|
344
|
-
* Creates request options for destroyProductChild without sending the request
|
|
345
|
-
*/
|
|
346
|
-
ProductApi.prototype.destroyProductChildRequestOpts = function (requestParameters) {
|
|
347
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
348
|
-
var queryParameters, headerParameters, urlPath;
|
|
349
|
-
return __generator(this, function (_a) {
|
|
350
|
-
if (requestParameters['productChild'] == null) {
|
|
351
|
-
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling destroyProductChild().');
|
|
352
|
-
}
|
|
353
|
-
queryParameters = {};
|
|
354
|
-
headerParameters = {};
|
|
355
|
-
urlPath = "/admin-api/product/children/{productChild}/delete";
|
|
356
|
-
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
357
|
-
return [2 /*return*/, {
|
|
358
|
-
path: urlPath,
|
|
359
|
-
method: 'DELETE',
|
|
360
|
-
headers: headerParameters,
|
|
361
|
-
query: queryParameters,
|
|
362
|
-
}];
|
|
363
|
-
});
|
|
364
|
-
});
|
|
365
|
-
};
|
|
366
268
|
/**
|
|
367
269
|
* Auto-generated: destroyProductChild
|
|
368
270
|
*/
|
|
369
271
|
ProductApi.prototype.destroyProductChildRaw = function (requestParameters, initOverrides) {
|
|
370
272
|
return __awaiter(this, void 0, void 0, function () {
|
|
371
|
-
var
|
|
273
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
372
274
|
return __generator(this, function (_a) {
|
|
373
275
|
switch (_a.label) {
|
|
374
|
-
case 0:
|
|
276
|
+
case 0:
|
|
277
|
+
if (requestParameters['productChild'] == null) {
|
|
278
|
+
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling destroyProductChild().');
|
|
279
|
+
}
|
|
280
|
+
queryParameters = {};
|
|
281
|
+
headerParameters = {};
|
|
282
|
+
urlPath = "/admin-api/product/children/{productChild}/delete";
|
|
283
|
+
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
284
|
+
return [4 /*yield*/, this.request({
|
|
285
|
+
path: urlPath,
|
|
286
|
+
method: 'DELETE',
|
|
287
|
+
headers: headerParameters,
|
|
288
|
+
query: queryParameters,
|
|
289
|
+
}, initOverrides)];
|
|
375
290
|
case 1:
|
|
376
|
-
requestOptions = _a.sent();
|
|
377
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
378
|
-
case 2:
|
|
379
291
|
response = _a.sent();
|
|
380
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
292
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.GenericResponseFromJSON)(jsonValue); })];
|
|
381
293
|
}
|
|
382
294
|
});
|
|
383
295
|
});
|
|
@@ -399,48 +311,35 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
399
311
|
});
|
|
400
312
|
});
|
|
401
313
|
};
|
|
402
|
-
/**
|
|
403
|
-
* Creates request options for detachAccessoryProductChild without sending the request
|
|
404
|
-
*/
|
|
405
|
-
ProductApi.prototype.detachAccessoryProductChildRequestOpts = function (requestParameters) {
|
|
406
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
407
|
-
var queryParameters, headerParameters, urlPath;
|
|
408
|
-
return __generator(this, function (_a) {
|
|
409
|
-
if (requestParameters['productChild'] == null) {
|
|
410
|
-
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling detachAccessoryProductChild().');
|
|
411
|
-
}
|
|
412
|
-
if (requestParameters['accessory'] == null) {
|
|
413
|
-
throw new runtime.RequiredError('accessory', 'Required parameter "accessory" was null or undefined when calling detachAccessoryProductChild().');
|
|
414
|
-
}
|
|
415
|
-
queryParameters = {};
|
|
416
|
-
headerParameters = {};
|
|
417
|
-
urlPath = "/admin-api/product/children/{productChild}/accessory/detach/{accessory}";
|
|
418
|
-
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
419
|
-
urlPath = urlPath.replace('{accessory}', encodeURIComponent(String(requestParameters['accessory'])));
|
|
420
|
-
return [2 /*return*/, {
|
|
421
|
-
path: urlPath,
|
|
422
|
-
method: 'DELETE',
|
|
423
|
-
headers: headerParameters,
|
|
424
|
-
query: queryParameters,
|
|
425
|
-
}];
|
|
426
|
-
});
|
|
427
|
-
});
|
|
428
|
-
};
|
|
429
314
|
/**
|
|
430
315
|
* Auto-generated: detachAccessoryProductChild
|
|
431
316
|
*/
|
|
432
317
|
ProductApi.prototype.detachAccessoryProductChildRaw = function (requestParameters, initOverrides) {
|
|
433
318
|
return __awaiter(this, void 0, void 0, function () {
|
|
434
|
-
var
|
|
319
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
435
320
|
return __generator(this, function (_a) {
|
|
436
321
|
switch (_a.label) {
|
|
437
|
-
case 0:
|
|
322
|
+
case 0:
|
|
323
|
+
if (requestParameters['productChild'] == null) {
|
|
324
|
+
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling detachAccessoryProductChild().');
|
|
325
|
+
}
|
|
326
|
+
if (requestParameters['accessory'] == null) {
|
|
327
|
+
throw new runtime.RequiredError('accessory', 'Required parameter "accessory" was null or undefined when calling detachAccessoryProductChild().');
|
|
328
|
+
}
|
|
329
|
+
queryParameters = {};
|
|
330
|
+
headerParameters = {};
|
|
331
|
+
urlPath = "/admin-api/product/children/{productChild}/accessory/detach/{accessory}";
|
|
332
|
+
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
333
|
+
urlPath = urlPath.replace("{".concat("accessory", "}"), encodeURIComponent(String(requestParameters['accessory'])));
|
|
334
|
+
return [4 /*yield*/, this.request({
|
|
335
|
+
path: urlPath,
|
|
336
|
+
method: 'DELETE',
|
|
337
|
+
headers: headerParameters,
|
|
338
|
+
query: queryParameters,
|
|
339
|
+
}, initOverrides)];
|
|
438
340
|
case 1:
|
|
439
|
-
requestOptions = _a.sent();
|
|
440
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
441
|
-
case 2:
|
|
442
341
|
response = _a.sent();
|
|
443
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
342
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductChildListResourceResponseFromJSON)(jsonValue); })];
|
|
444
343
|
}
|
|
445
344
|
});
|
|
446
345
|
});
|
|
@@ -462,48 +361,35 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
462
361
|
});
|
|
463
362
|
});
|
|
464
363
|
};
|
|
465
|
-
/**
|
|
466
|
-
* Creates request options for detachCompatibleProductProductChild without sending the request
|
|
467
|
-
*/
|
|
468
|
-
ProductApi.prototype.detachCompatibleProductProductChildRequestOpts = function (requestParameters) {
|
|
469
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
470
|
-
var queryParameters, headerParameters, urlPath;
|
|
471
|
-
return __generator(this, function (_a) {
|
|
472
|
-
if (requestParameters['productChild'] == null) {
|
|
473
|
-
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling detachCompatibleProductProductChild().');
|
|
474
|
-
}
|
|
475
|
-
if (requestParameters['compatibleProduct'] == null) {
|
|
476
|
-
throw new runtime.RequiredError('compatibleProduct', 'Required parameter "compatibleProduct" was null or undefined when calling detachCompatibleProductProductChild().');
|
|
477
|
-
}
|
|
478
|
-
queryParameters = {};
|
|
479
|
-
headerParameters = {};
|
|
480
|
-
urlPath = "/admin-api/product/children/{productChild}/compatible-product/detach/{compatibleProduct}";
|
|
481
|
-
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
482
|
-
urlPath = urlPath.replace('{compatibleProduct}', encodeURIComponent(String(requestParameters['compatibleProduct'])));
|
|
483
|
-
return [2 /*return*/, {
|
|
484
|
-
path: urlPath,
|
|
485
|
-
method: 'DELETE',
|
|
486
|
-
headers: headerParameters,
|
|
487
|
-
query: queryParameters,
|
|
488
|
-
}];
|
|
489
|
-
});
|
|
490
|
-
});
|
|
491
|
-
};
|
|
492
364
|
/**
|
|
493
365
|
* Auto-generated: detachCompatibleProductProductChild
|
|
494
366
|
*/
|
|
495
367
|
ProductApi.prototype.detachCompatibleProductProductChildRaw = function (requestParameters, initOverrides) {
|
|
496
368
|
return __awaiter(this, void 0, void 0, function () {
|
|
497
|
-
var
|
|
369
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
498
370
|
return __generator(this, function (_a) {
|
|
499
371
|
switch (_a.label) {
|
|
500
|
-
case 0:
|
|
372
|
+
case 0:
|
|
373
|
+
if (requestParameters['productChild'] == null) {
|
|
374
|
+
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling detachCompatibleProductProductChild().');
|
|
375
|
+
}
|
|
376
|
+
if (requestParameters['compatibleProduct'] == null) {
|
|
377
|
+
throw new runtime.RequiredError('compatibleProduct', 'Required parameter "compatibleProduct" was null or undefined when calling detachCompatibleProductProductChild().');
|
|
378
|
+
}
|
|
379
|
+
queryParameters = {};
|
|
380
|
+
headerParameters = {};
|
|
381
|
+
urlPath = "/admin-api/product/children/{productChild}/compatible-product/detach/{compatibleProduct}";
|
|
382
|
+
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
383
|
+
urlPath = urlPath.replace("{".concat("compatibleProduct", "}"), encodeURIComponent(String(requestParameters['compatibleProduct'])));
|
|
384
|
+
return [4 /*yield*/, this.request({
|
|
385
|
+
path: urlPath,
|
|
386
|
+
method: 'DELETE',
|
|
387
|
+
headers: headerParameters,
|
|
388
|
+
query: queryParameters,
|
|
389
|
+
}, initOverrides)];
|
|
501
390
|
case 1:
|
|
502
|
-
requestOptions = _a.sent();
|
|
503
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
504
|
-
case 2:
|
|
505
391
|
response = _a.sent();
|
|
506
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
392
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductChildListResourceResponseFromJSON)(jsonValue); })];
|
|
507
393
|
}
|
|
508
394
|
});
|
|
509
395
|
});
|
|
@@ -525,46 +411,33 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
525
411
|
});
|
|
526
412
|
});
|
|
527
413
|
};
|
|
528
|
-
/**
|
|
529
|
-
* Creates request options for detachDocumentsProductChild without sending the request
|
|
530
|
-
*/
|
|
531
|
-
ProductApi.prototype.detachDocumentsProductChildRequestOpts = function (requestParameters) {
|
|
532
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
533
|
-
var queryParameters, headerParameters, urlPath;
|
|
534
|
-
return __generator(this, function (_a) {
|
|
535
|
-
if (requestParameters['productChild'] == null) {
|
|
536
|
-
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling detachDocumentsProductChild().');
|
|
537
|
-
}
|
|
538
|
-
queryParameters = {};
|
|
539
|
-
headerParameters = {};
|
|
540
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
541
|
-
urlPath = "/admin-api/product/children/{productChild}/detach-documents";
|
|
542
|
-
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
543
|
-
return [2 /*return*/, {
|
|
544
|
-
path: urlPath,
|
|
545
|
-
method: 'POST',
|
|
546
|
-
headers: headerParameters,
|
|
547
|
-
query: queryParameters,
|
|
548
|
-
body: (0, DetachDocumentsFromProductChildRequest_1.DetachDocumentsFromProductChildRequestToJSON)(requestParameters['detachDocumentsFromProductChildRequest']),
|
|
549
|
-
}];
|
|
550
|
-
});
|
|
551
|
-
});
|
|
552
|
-
};
|
|
553
414
|
/**
|
|
554
415
|
* Auto-generated: detachDocumentsProductChild
|
|
555
416
|
*/
|
|
556
417
|
ProductApi.prototype.detachDocumentsProductChildRaw = function (requestParameters, initOverrides) {
|
|
557
418
|
return __awaiter(this, void 0, void 0, function () {
|
|
558
|
-
var
|
|
419
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
559
420
|
return __generator(this, function (_a) {
|
|
560
421
|
switch (_a.label) {
|
|
561
|
-
case 0:
|
|
422
|
+
case 0:
|
|
423
|
+
if (requestParameters['productChild'] == null) {
|
|
424
|
+
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling detachDocumentsProductChild().');
|
|
425
|
+
}
|
|
426
|
+
queryParameters = {};
|
|
427
|
+
headerParameters = {};
|
|
428
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
429
|
+
urlPath = "/admin-api/product/children/{productChild}/detach-documents";
|
|
430
|
+
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
431
|
+
return [4 /*yield*/, this.request({
|
|
432
|
+
path: urlPath,
|
|
433
|
+
method: 'POST',
|
|
434
|
+
headers: headerParameters,
|
|
435
|
+
query: queryParameters,
|
|
436
|
+
body: (0, index_1.DetachDocumentsFromProductChildRequestToJSON)(requestParameters['detachDocumentsFromProductChildRequest']),
|
|
437
|
+
}, initOverrides)];
|
|
562
438
|
case 1:
|
|
563
|
-
requestOptions = _a.sent();
|
|
564
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
565
|
-
case 2:
|
|
566
439
|
response = _a.sent();
|
|
567
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
440
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductChildResourceFromJSON)(jsonValue); })];
|
|
568
441
|
}
|
|
569
442
|
});
|
|
570
443
|
});
|
|
@@ -586,46 +459,33 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
586
459
|
});
|
|
587
460
|
});
|
|
588
461
|
};
|
|
589
|
-
/**
|
|
590
|
-
* Creates request options for getAccessoriesProductChild without sending the request
|
|
591
|
-
*/
|
|
592
|
-
ProductApi.prototype.getAccessoriesProductChildRequestOpts = function (requestParameters) {
|
|
593
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
594
|
-
var queryParameters, headerParameters, urlPath;
|
|
595
|
-
return __generator(this, function (_a) {
|
|
596
|
-
if (requestParameters['productChild'] == null) {
|
|
597
|
-
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling getAccessoriesProductChild().');
|
|
598
|
-
}
|
|
599
|
-
queryParameters = {};
|
|
600
|
-
headerParameters = {};
|
|
601
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
602
|
-
urlPath = "/admin-api/product/children/{productChild}/accessory/list";
|
|
603
|
-
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
604
|
-
return [2 /*return*/, {
|
|
605
|
-
path: urlPath,
|
|
606
|
-
method: 'POST',
|
|
607
|
-
headers: headerParameters,
|
|
608
|
-
query: queryParameters,
|
|
609
|
-
body: (0, SearchAllProductChildrenRequest_1.SearchAllProductChildrenRequestToJSON)(requestParameters['searchAllProductChildrenRequest']),
|
|
610
|
-
}];
|
|
611
|
-
});
|
|
612
|
-
});
|
|
613
|
-
};
|
|
614
462
|
/**
|
|
615
463
|
* Auto-generated: getAccessoriesProductChild
|
|
616
464
|
*/
|
|
617
465
|
ProductApi.prototype.getAccessoriesProductChildRaw = function (requestParameters, initOverrides) {
|
|
618
466
|
return __awaiter(this, void 0, void 0, function () {
|
|
619
|
-
var
|
|
467
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
620
468
|
return __generator(this, function (_a) {
|
|
621
469
|
switch (_a.label) {
|
|
622
|
-
case 0:
|
|
470
|
+
case 0:
|
|
471
|
+
if (requestParameters['productChild'] == null) {
|
|
472
|
+
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling getAccessoriesProductChild().');
|
|
473
|
+
}
|
|
474
|
+
queryParameters = {};
|
|
475
|
+
headerParameters = {};
|
|
476
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
477
|
+
urlPath = "/admin-api/product/children/{productChild}/accessory/list";
|
|
478
|
+
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
479
|
+
return [4 /*yield*/, this.request({
|
|
480
|
+
path: urlPath,
|
|
481
|
+
method: 'POST',
|
|
482
|
+
headers: headerParameters,
|
|
483
|
+
query: queryParameters,
|
|
484
|
+
body: (0, index_1.SearchAllProductChildrenRequestToJSON)(requestParameters['searchAllProductChildrenRequest']),
|
|
485
|
+
}, initOverrides)];
|
|
623
486
|
case 1:
|
|
624
|
-
requestOptions = _a.sent();
|
|
625
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
626
|
-
case 2:
|
|
627
487
|
response = _a.sent();
|
|
628
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
488
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductChildListResourceArrayResponseFromJSON)(jsonValue); })];
|
|
629
489
|
}
|
|
630
490
|
});
|
|
631
491
|
});
|
|
@@ -647,42 +507,29 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
647
507
|
});
|
|
648
508
|
});
|
|
649
509
|
};
|
|
650
|
-
/**
|
|
651
|
-
* Creates request options for getAllProduct without sending the request
|
|
652
|
-
*/
|
|
653
|
-
ProductApi.prototype.getAllProductRequestOpts = function (requestParameters) {
|
|
654
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
655
|
-
var queryParameters, headerParameters, urlPath;
|
|
656
|
-
return __generator(this, function (_a) {
|
|
657
|
-
queryParameters = {};
|
|
658
|
-
headerParameters = {};
|
|
659
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
660
|
-
urlPath = "/admin-api/product/parent/all";
|
|
661
|
-
return [2 /*return*/, {
|
|
662
|
-
path: urlPath,
|
|
663
|
-
method: 'POST',
|
|
664
|
-
headers: headerParameters,
|
|
665
|
-
query: queryParameters,
|
|
666
|
-
body: (0, SearchAllProductsRequest_1.SearchAllProductsRequestToJSON)(requestParameters['searchAllProductsRequest']),
|
|
667
|
-
}];
|
|
668
|
-
});
|
|
669
|
-
});
|
|
670
|
-
};
|
|
671
510
|
/**
|
|
672
511
|
* Auto-generated: getAllProduct
|
|
673
512
|
*/
|
|
674
513
|
ProductApi.prototype.getAllProductRaw = function (requestParameters, initOverrides) {
|
|
675
514
|
return __awaiter(this, void 0, void 0, function () {
|
|
676
|
-
var
|
|
515
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
677
516
|
return __generator(this, function (_a) {
|
|
678
517
|
switch (_a.label) {
|
|
679
|
-
case 0:
|
|
518
|
+
case 0:
|
|
519
|
+
queryParameters = {};
|
|
520
|
+
headerParameters = {};
|
|
521
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
522
|
+
urlPath = "/admin-api/product/parent/all";
|
|
523
|
+
return [4 /*yield*/, this.request({
|
|
524
|
+
path: urlPath,
|
|
525
|
+
method: 'POST',
|
|
526
|
+
headers: headerParameters,
|
|
527
|
+
query: queryParameters,
|
|
528
|
+
body: (0, index_1.SearchAllProductsRequestToJSON)(requestParameters['searchAllProductsRequest']),
|
|
529
|
+
}, initOverrides)];
|
|
680
530
|
case 1:
|
|
681
|
-
requestOptions = _a.sent();
|
|
682
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
683
|
-
case 2:
|
|
684
531
|
response = _a.sent();
|
|
685
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
532
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductLiteResourceArrayResponseFromJSON)(jsonValue); })];
|
|
686
533
|
}
|
|
687
534
|
});
|
|
688
535
|
});
|
|
@@ -705,42 +552,29 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
705
552
|
});
|
|
706
553
|
});
|
|
707
554
|
};
|
|
708
|
-
/**
|
|
709
|
-
* Creates request options for getAllProductChild without sending the request
|
|
710
|
-
*/
|
|
711
|
-
ProductApi.prototype.getAllProductChildRequestOpts = function (requestParameters) {
|
|
712
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
713
|
-
var queryParameters, headerParameters, urlPath;
|
|
714
|
-
return __generator(this, function (_a) {
|
|
715
|
-
queryParameters = {};
|
|
716
|
-
headerParameters = {};
|
|
717
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
718
|
-
urlPath = "/admin-api/product/children/all";
|
|
719
|
-
return [2 /*return*/, {
|
|
720
|
-
path: urlPath,
|
|
721
|
-
method: 'POST',
|
|
722
|
-
headers: headerParameters,
|
|
723
|
-
query: queryParameters,
|
|
724
|
-
body: (0, SearchAllProductChildrenRequest_1.SearchAllProductChildrenRequestToJSON)(requestParameters['searchAllProductChildrenRequest']),
|
|
725
|
-
}];
|
|
726
|
-
});
|
|
727
|
-
});
|
|
728
|
-
};
|
|
729
555
|
/**
|
|
730
556
|
* Auto-generated: getAllProductChild
|
|
731
557
|
*/
|
|
732
558
|
ProductApi.prototype.getAllProductChildRaw = function (requestParameters, initOverrides) {
|
|
733
559
|
return __awaiter(this, void 0, void 0, function () {
|
|
734
|
-
var
|
|
560
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
735
561
|
return __generator(this, function (_a) {
|
|
736
562
|
switch (_a.label) {
|
|
737
|
-
case 0:
|
|
563
|
+
case 0:
|
|
564
|
+
queryParameters = {};
|
|
565
|
+
headerParameters = {};
|
|
566
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
567
|
+
urlPath = "/admin-api/product/children/all";
|
|
568
|
+
return [4 /*yield*/, this.request({
|
|
569
|
+
path: urlPath,
|
|
570
|
+
method: 'POST',
|
|
571
|
+
headers: headerParameters,
|
|
572
|
+
query: queryParameters,
|
|
573
|
+
body: (0, index_1.SearchAllProductChildrenRequestToJSON)(requestParameters['searchAllProductChildrenRequest']),
|
|
574
|
+
}, initOverrides)];
|
|
738
575
|
case 1:
|
|
739
|
-
requestOptions = _a.sent();
|
|
740
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
741
|
-
case 2:
|
|
742
576
|
response = _a.sent();
|
|
743
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
577
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductChildLiteResourceArrayResponseFromJSON)(jsonValue); })];
|
|
744
578
|
}
|
|
745
579
|
});
|
|
746
580
|
});
|
|
@@ -763,46 +597,33 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
763
597
|
});
|
|
764
598
|
});
|
|
765
599
|
};
|
|
766
|
-
/**
|
|
767
|
-
* Creates request options for getCompatibleProductsProductChild without sending the request
|
|
768
|
-
*/
|
|
769
|
-
ProductApi.prototype.getCompatibleProductsProductChildRequestOpts = function (requestParameters) {
|
|
770
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
771
|
-
var queryParameters, headerParameters, urlPath;
|
|
772
|
-
return __generator(this, function (_a) {
|
|
773
|
-
if (requestParameters['productChild'] == null) {
|
|
774
|
-
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling getCompatibleProductsProductChild().');
|
|
775
|
-
}
|
|
776
|
-
queryParameters = {};
|
|
777
|
-
headerParameters = {};
|
|
778
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
779
|
-
urlPath = "/admin-api/product/children/{productChild}/compatible-product/list";
|
|
780
|
-
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
781
|
-
return [2 /*return*/, {
|
|
782
|
-
path: urlPath,
|
|
783
|
-
method: 'POST',
|
|
784
|
-
headers: headerParameters,
|
|
785
|
-
query: queryParameters,
|
|
786
|
-
body: (0, SearchProductChildrenRequest_1.SearchProductChildrenRequestToJSON)(requestParameters['searchProductChildrenRequest']),
|
|
787
|
-
}];
|
|
788
|
-
});
|
|
789
|
-
});
|
|
790
|
-
};
|
|
791
600
|
/**
|
|
792
601
|
* Auto-generated: getCompatibleProductsProductChild
|
|
793
602
|
*/
|
|
794
603
|
ProductApi.prototype.getCompatibleProductsProductChildRaw = function (requestParameters, initOverrides) {
|
|
795
604
|
return __awaiter(this, void 0, void 0, function () {
|
|
796
|
-
var
|
|
605
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
797
606
|
return __generator(this, function (_a) {
|
|
798
607
|
switch (_a.label) {
|
|
799
|
-
case 0:
|
|
608
|
+
case 0:
|
|
609
|
+
if (requestParameters['productChild'] == null) {
|
|
610
|
+
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling getCompatibleProductsProductChild().');
|
|
611
|
+
}
|
|
612
|
+
queryParameters = {};
|
|
613
|
+
headerParameters = {};
|
|
614
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
615
|
+
urlPath = "/admin-api/product/children/{productChild}/compatible-product/list";
|
|
616
|
+
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
617
|
+
return [4 /*yield*/, this.request({
|
|
618
|
+
path: urlPath,
|
|
619
|
+
method: 'POST',
|
|
620
|
+
headers: headerParameters,
|
|
621
|
+
query: queryParameters,
|
|
622
|
+
body: (0, index_1.SearchProductChildrenRequestToJSON)(requestParameters['searchProductChildrenRequest']),
|
|
623
|
+
}, initOverrides)];
|
|
800
624
|
case 1:
|
|
801
|
-
requestOptions = _a.sent();
|
|
802
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
803
|
-
case 2:
|
|
804
625
|
response = _a.sent();
|
|
805
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
626
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductChildListResourceResponseFromJSON)(jsonValue); })];
|
|
806
627
|
}
|
|
807
628
|
});
|
|
808
629
|
});
|
|
@@ -824,42 +645,29 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
824
645
|
});
|
|
825
646
|
});
|
|
826
647
|
};
|
|
827
|
-
/**
|
|
828
|
-
* Creates request options for indexProduct without sending the request
|
|
829
|
-
*/
|
|
830
|
-
ProductApi.prototype.indexProductRequestOpts = function (requestParameters) {
|
|
831
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
832
|
-
var queryParameters, headerParameters, urlPath;
|
|
833
|
-
return __generator(this, function (_a) {
|
|
834
|
-
queryParameters = {};
|
|
835
|
-
headerParameters = {};
|
|
836
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
837
|
-
urlPath = "/admin-api/product/parent/list";
|
|
838
|
-
return [2 /*return*/, {
|
|
839
|
-
path: urlPath,
|
|
840
|
-
method: 'POST',
|
|
841
|
-
headers: headerParameters,
|
|
842
|
-
query: queryParameters,
|
|
843
|
-
body: (0, SearchProductsRequest_1.SearchProductsRequestToJSON)(requestParameters['searchProductsRequest']),
|
|
844
|
-
}];
|
|
845
|
-
});
|
|
846
|
-
});
|
|
847
|
-
};
|
|
848
648
|
/**
|
|
849
649
|
* Auto-generated: indexProduct
|
|
850
650
|
*/
|
|
851
651
|
ProductApi.prototype.indexProductRaw = function (requestParameters, initOverrides) {
|
|
852
652
|
return __awaiter(this, void 0, void 0, function () {
|
|
853
|
-
var
|
|
653
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
854
654
|
return __generator(this, function (_a) {
|
|
855
655
|
switch (_a.label) {
|
|
856
|
-
case 0:
|
|
656
|
+
case 0:
|
|
657
|
+
queryParameters = {};
|
|
658
|
+
headerParameters = {};
|
|
659
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
660
|
+
urlPath = "/admin-api/product/parent/list";
|
|
661
|
+
return [4 /*yield*/, this.request({
|
|
662
|
+
path: urlPath,
|
|
663
|
+
method: 'POST',
|
|
664
|
+
headers: headerParameters,
|
|
665
|
+
query: queryParameters,
|
|
666
|
+
body: (0, index_1.SearchProductsRequestToJSON)(requestParameters['searchProductsRequest']),
|
|
667
|
+
}, initOverrides)];
|
|
857
668
|
case 1:
|
|
858
|
-
requestOptions = _a.sent();
|
|
859
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
860
|
-
case 2:
|
|
861
669
|
response = _a.sent();
|
|
862
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
670
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductListResourceResponseFromJSON)(jsonValue); })];
|
|
863
671
|
}
|
|
864
672
|
});
|
|
865
673
|
});
|
|
@@ -882,42 +690,29 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
882
690
|
});
|
|
883
691
|
});
|
|
884
692
|
};
|
|
885
|
-
/**
|
|
886
|
-
* Creates request options for indexProductChild without sending the request
|
|
887
|
-
*/
|
|
888
|
-
ProductApi.prototype.indexProductChildRequestOpts = function (requestParameters) {
|
|
889
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
890
|
-
var queryParameters, headerParameters, urlPath;
|
|
891
|
-
return __generator(this, function (_a) {
|
|
892
|
-
queryParameters = {};
|
|
893
|
-
headerParameters = {};
|
|
894
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
895
|
-
urlPath = "/admin-api/product/children/list";
|
|
896
|
-
return [2 /*return*/, {
|
|
897
|
-
path: urlPath,
|
|
898
|
-
method: 'POST',
|
|
899
|
-
headers: headerParameters,
|
|
900
|
-
query: queryParameters,
|
|
901
|
-
body: (0, SearchProductChildrenRequest_1.SearchProductChildrenRequestToJSON)(requestParameters['searchProductChildrenRequest']),
|
|
902
|
-
}];
|
|
903
|
-
});
|
|
904
|
-
});
|
|
905
|
-
};
|
|
906
693
|
/**
|
|
907
694
|
* Auto-generated: indexProductChild
|
|
908
695
|
*/
|
|
909
696
|
ProductApi.prototype.indexProductChildRaw = function (requestParameters, initOverrides) {
|
|
910
697
|
return __awaiter(this, void 0, void 0, function () {
|
|
911
|
-
var
|
|
698
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
912
699
|
return __generator(this, function (_a) {
|
|
913
700
|
switch (_a.label) {
|
|
914
|
-
case 0:
|
|
701
|
+
case 0:
|
|
702
|
+
queryParameters = {};
|
|
703
|
+
headerParameters = {};
|
|
704
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
705
|
+
urlPath = "/admin-api/product/children/list";
|
|
706
|
+
return [4 /*yield*/, this.request({
|
|
707
|
+
path: urlPath,
|
|
708
|
+
method: 'POST',
|
|
709
|
+
headers: headerParameters,
|
|
710
|
+
query: queryParameters,
|
|
711
|
+
body: (0, index_1.SearchProductChildrenRequestToJSON)(requestParameters['searchProductChildrenRequest']),
|
|
712
|
+
}, initOverrides)];
|
|
915
713
|
case 1:
|
|
916
|
-
requestOptions = _a.sent();
|
|
917
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
918
|
-
case 2:
|
|
919
714
|
response = _a.sent();
|
|
920
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
715
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedProductChildListResourceResponseFromJSON)(jsonValue); })];
|
|
921
716
|
}
|
|
922
717
|
});
|
|
923
718
|
});
|
|
@@ -940,46 +735,33 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
940
735
|
});
|
|
941
736
|
});
|
|
942
737
|
};
|
|
943
|
-
/**
|
|
944
|
-
* Creates request options for showAssetsProductChild without sending the request
|
|
945
|
-
*/
|
|
946
|
-
ProductApi.prototype.showAssetsProductChildRequestOpts = function (requestParameters) {
|
|
947
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
948
|
-
var queryParameters, headerParameters, urlPath;
|
|
949
|
-
return __generator(this, function (_a) {
|
|
950
|
-
if (requestParameters['productChild'] == null) {
|
|
951
|
-
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling showAssetsProductChild().');
|
|
952
|
-
}
|
|
953
|
-
queryParameters = {};
|
|
954
|
-
headerParameters = {};
|
|
955
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
956
|
-
urlPath = "/admin-api/product/children/{productChild}/assets";
|
|
957
|
-
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
958
|
-
return [2 /*return*/, {
|
|
959
|
-
path: urlPath,
|
|
960
|
-
method: 'POST',
|
|
961
|
-
headers: headerParameters,
|
|
962
|
-
query: queryParameters,
|
|
963
|
-
body: (0, ShowProductChildAssetsRequest_1.ShowProductChildAssetsRequestToJSON)(requestParameters['showProductChildAssetsRequest']),
|
|
964
|
-
}];
|
|
965
|
-
});
|
|
966
|
-
});
|
|
967
|
-
};
|
|
968
738
|
/**
|
|
969
739
|
* Auto-generated: showAssetsProductChild
|
|
970
740
|
*/
|
|
971
741
|
ProductApi.prototype.showAssetsProductChildRaw = function (requestParameters, initOverrides) {
|
|
972
742
|
return __awaiter(this, void 0, void 0, function () {
|
|
973
|
-
var
|
|
743
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
974
744
|
return __generator(this, function (_a) {
|
|
975
745
|
switch (_a.label) {
|
|
976
|
-
case 0:
|
|
746
|
+
case 0:
|
|
747
|
+
if (requestParameters['productChild'] == null) {
|
|
748
|
+
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling showAssetsProductChild().');
|
|
749
|
+
}
|
|
750
|
+
queryParameters = {};
|
|
751
|
+
headerParameters = {};
|
|
752
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
753
|
+
urlPath = "/admin-api/product/children/{productChild}/assets";
|
|
754
|
+
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
755
|
+
return [4 /*yield*/, this.request({
|
|
756
|
+
path: urlPath,
|
|
757
|
+
method: 'POST',
|
|
758
|
+
headers: headerParameters,
|
|
759
|
+
query: queryParameters,
|
|
760
|
+
body: (0, index_1.ShowProductChildAssetsRequestToJSON)(requestParameters['showProductChildAssetsRequest']),
|
|
761
|
+
}, initOverrides)];
|
|
977
762
|
case 1:
|
|
978
|
-
requestOptions = _a.sent();
|
|
979
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
980
|
-
case 2:
|
|
981
763
|
response = _a.sent();
|
|
982
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
764
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.AssetWithOverlayLinkResourceArrayResponseFromJSON)(jsonValue); })];
|
|
983
765
|
}
|
|
984
766
|
});
|
|
985
767
|
});
|
|
@@ -1001,46 +783,33 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
1001
783
|
});
|
|
1002
784
|
});
|
|
1003
785
|
};
|
|
1004
|
-
/**
|
|
1005
|
-
* Creates request options for showAttributesProductChild without sending the request
|
|
1006
|
-
*/
|
|
1007
|
-
ProductApi.prototype.showAttributesProductChildRequestOpts = function (requestParameters) {
|
|
1008
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1009
|
-
var queryParameters, headerParameters, urlPath;
|
|
1010
|
-
return __generator(this, function (_a) {
|
|
1011
|
-
if (requestParameters['productChild'] == null) {
|
|
1012
|
-
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling showAttributesProductChild().');
|
|
1013
|
-
}
|
|
1014
|
-
queryParameters = {};
|
|
1015
|
-
headerParameters = {};
|
|
1016
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
1017
|
-
urlPath = "/admin-api/product/children/{productChild}/attributes";
|
|
1018
|
-
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
1019
|
-
return [2 /*return*/, {
|
|
1020
|
-
path: urlPath,
|
|
1021
|
-
method: 'POST',
|
|
1022
|
-
headers: headerParameters,
|
|
1023
|
-
query: queryParameters,
|
|
1024
|
-
body: (0, SearchProductChildAttributesRequest_1.SearchProductChildAttributesRequestToJSON)(requestParameters['searchProductChildAttributesRequest']),
|
|
1025
|
-
}];
|
|
1026
|
-
});
|
|
1027
|
-
});
|
|
1028
|
-
};
|
|
1029
786
|
/**
|
|
1030
787
|
* Auto-generated: showAttributesProductChild
|
|
1031
788
|
*/
|
|
1032
789
|
ProductApi.prototype.showAttributesProductChildRaw = function (requestParameters, initOverrides) {
|
|
1033
790
|
return __awaiter(this, void 0, void 0, function () {
|
|
1034
|
-
var
|
|
791
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
1035
792
|
return __generator(this, function (_a) {
|
|
1036
793
|
switch (_a.label) {
|
|
1037
|
-
case 0:
|
|
794
|
+
case 0:
|
|
795
|
+
if (requestParameters['productChild'] == null) {
|
|
796
|
+
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling showAttributesProductChild().');
|
|
797
|
+
}
|
|
798
|
+
queryParameters = {};
|
|
799
|
+
headerParameters = {};
|
|
800
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
801
|
+
urlPath = "/admin-api/product/children/{productChild}/attributes";
|
|
802
|
+
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
803
|
+
return [4 /*yield*/, this.request({
|
|
804
|
+
path: urlPath,
|
|
805
|
+
method: 'POST',
|
|
806
|
+
headers: headerParameters,
|
|
807
|
+
query: queryParameters,
|
|
808
|
+
body: (0, index_1.SearchProductChildAttributesRequestToJSON)(requestParameters['searchProductChildAttributesRequest']),
|
|
809
|
+
}, initOverrides)];
|
|
1038
810
|
case 1:
|
|
1039
|
-
requestOptions = _a.sent();
|
|
1040
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
1041
|
-
case 2:
|
|
1042
811
|
response = _a.sent();
|
|
1043
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
812
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductChildAttributeGroupedResourceFromJSON)(jsonValue); })];
|
|
1044
813
|
}
|
|
1045
814
|
});
|
|
1046
815
|
});
|
|
@@ -1062,44 +831,31 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
1062
831
|
});
|
|
1063
832
|
});
|
|
1064
833
|
};
|
|
1065
|
-
/**
|
|
1066
|
-
* Creates request options for showProduct without sending the request
|
|
1067
|
-
*/
|
|
1068
|
-
ProductApi.prototype.showProductRequestOpts = function (requestParameters) {
|
|
1069
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1070
|
-
var queryParameters, headerParameters, urlPath;
|
|
1071
|
-
return __generator(this, function (_a) {
|
|
1072
|
-
if (requestParameters['product'] == null) {
|
|
1073
|
-
throw new runtime.RequiredError('product', 'Required parameter "product" was null or undefined when calling showProduct().');
|
|
1074
|
-
}
|
|
1075
|
-
queryParameters = {};
|
|
1076
|
-
headerParameters = {};
|
|
1077
|
-
urlPath = "/admin-api/product/parent/{product}";
|
|
1078
|
-
urlPath = urlPath.replace('{product}', encodeURIComponent(String(requestParameters['product'])));
|
|
1079
|
-
return [2 /*return*/, {
|
|
1080
|
-
path: urlPath,
|
|
1081
|
-
method: 'GET',
|
|
1082
|
-
headers: headerParameters,
|
|
1083
|
-
query: queryParameters,
|
|
1084
|
-
}];
|
|
1085
|
-
});
|
|
1086
|
-
});
|
|
1087
|
-
};
|
|
1088
834
|
/**
|
|
1089
835
|
* Auto-generated: showProduct
|
|
1090
836
|
*/
|
|
1091
837
|
ProductApi.prototype.showProductRaw = function (requestParameters, initOverrides) {
|
|
1092
838
|
return __awaiter(this, void 0, void 0, function () {
|
|
1093
|
-
var
|
|
839
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
1094
840
|
return __generator(this, function (_a) {
|
|
1095
841
|
switch (_a.label) {
|
|
1096
|
-
case 0:
|
|
842
|
+
case 0:
|
|
843
|
+
if (requestParameters['product'] == null) {
|
|
844
|
+
throw new runtime.RequiredError('product', 'Required parameter "product" was null or undefined when calling showProduct().');
|
|
845
|
+
}
|
|
846
|
+
queryParameters = {};
|
|
847
|
+
headerParameters = {};
|
|
848
|
+
urlPath = "/admin-api/product/parent/{product}";
|
|
849
|
+
urlPath = urlPath.replace("{".concat("product", "}"), encodeURIComponent(String(requestParameters['product'])));
|
|
850
|
+
return [4 /*yield*/, this.request({
|
|
851
|
+
path: urlPath,
|
|
852
|
+
method: 'GET',
|
|
853
|
+
headers: headerParameters,
|
|
854
|
+
query: queryParameters,
|
|
855
|
+
}, initOverrides)];
|
|
1097
856
|
case 1:
|
|
1098
|
-
requestOptions = _a.sent();
|
|
1099
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
1100
|
-
case 2:
|
|
1101
857
|
response = _a.sent();
|
|
1102
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
858
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductResourceFromJSON)(jsonValue); })];
|
|
1103
859
|
}
|
|
1104
860
|
});
|
|
1105
861
|
});
|
|
@@ -1121,44 +877,31 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
1121
877
|
});
|
|
1122
878
|
});
|
|
1123
879
|
};
|
|
1124
|
-
/**
|
|
1125
|
-
* Creates request options for showProductChild without sending the request
|
|
1126
|
-
*/
|
|
1127
|
-
ProductApi.prototype.showProductChildRequestOpts = function (requestParameters) {
|
|
1128
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1129
|
-
var queryParameters, headerParameters, urlPath;
|
|
1130
|
-
return __generator(this, function (_a) {
|
|
1131
|
-
if (requestParameters['productChild'] == null) {
|
|
1132
|
-
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling showProductChild().');
|
|
1133
|
-
}
|
|
1134
|
-
queryParameters = {};
|
|
1135
|
-
headerParameters = {};
|
|
1136
|
-
urlPath = "/admin-api/product/children/{productChild}";
|
|
1137
|
-
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
1138
|
-
return [2 /*return*/, {
|
|
1139
|
-
path: urlPath,
|
|
1140
|
-
method: 'GET',
|
|
1141
|
-
headers: headerParameters,
|
|
1142
|
-
query: queryParameters,
|
|
1143
|
-
}];
|
|
1144
|
-
});
|
|
1145
|
-
});
|
|
1146
|
-
};
|
|
1147
880
|
/**
|
|
1148
881
|
* Auto-generated: showProductChild
|
|
1149
882
|
*/
|
|
1150
883
|
ProductApi.prototype.showProductChildRaw = function (requestParameters, initOverrides) {
|
|
1151
884
|
return __awaiter(this, void 0, void 0, function () {
|
|
1152
|
-
var
|
|
885
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
1153
886
|
return __generator(this, function (_a) {
|
|
1154
887
|
switch (_a.label) {
|
|
1155
|
-
case 0:
|
|
888
|
+
case 0:
|
|
889
|
+
if (requestParameters['productChild'] == null) {
|
|
890
|
+
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling showProductChild().');
|
|
891
|
+
}
|
|
892
|
+
queryParameters = {};
|
|
893
|
+
headerParameters = {};
|
|
894
|
+
urlPath = "/admin-api/product/children/{productChild}";
|
|
895
|
+
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
896
|
+
return [4 /*yield*/, this.request({
|
|
897
|
+
path: urlPath,
|
|
898
|
+
method: 'GET',
|
|
899
|
+
headers: headerParameters,
|
|
900
|
+
query: queryParameters,
|
|
901
|
+
}, initOverrides)];
|
|
1156
902
|
case 1:
|
|
1157
|
-
requestOptions = _a.sent();
|
|
1158
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
1159
|
-
case 2:
|
|
1160
903
|
response = _a.sent();
|
|
1161
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
904
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductChildResourceFromJSON)(jsonValue); })];
|
|
1162
905
|
}
|
|
1163
906
|
});
|
|
1164
907
|
});
|
|
@@ -1180,42 +923,29 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
1180
923
|
});
|
|
1181
924
|
});
|
|
1182
925
|
};
|
|
1183
|
-
/**
|
|
1184
|
-
* Creates request options for skuSearchProductChild without sending the request
|
|
1185
|
-
*/
|
|
1186
|
-
ProductApi.prototype.skuSearchProductChildRequestOpts = function (requestParameters) {
|
|
1187
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1188
|
-
var queryParameters, headerParameters, urlPath;
|
|
1189
|
-
return __generator(this, function (_a) {
|
|
1190
|
-
queryParameters = {};
|
|
1191
|
-
headerParameters = {};
|
|
1192
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
1193
|
-
urlPath = "/admin-api/product/children/sku-search";
|
|
1194
|
-
return [2 /*return*/, {
|
|
1195
|
-
path: urlPath,
|
|
1196
|
-
method: 'POST',
|
|
1197
|
-
headers: headerParameters,
|
|
1198
|
-
query: queryParameters,
|
|
1199
|
-
body: (0, SkuSearchProductChildRequest_1.SkuSearchProductChildRequestToJSON)(requestParameters['skuSearchProductChildRequest']),
|
|
1200
|
-
}];
|
|
1201
|
-
});
|
|
1202
|
-
});
|
|
1203
|
-
};
|
|
1204
926
|
/**
|
|
1205
927
|
* Auto-generated: skuSearchProductChild
|
|
1206
928
|
*/
|
|
1207
929
|
ProductApi.prototype.skuSearchProductChildRaw = function (requestParameters, initOverrides) {
|
|
1208
930
|
return __awaiter(this, void 0, void 0, function () {
|
|
1209
|
-
var
|
|
931
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
1210
932
|
return __generator(this, function (_a) {
|
|
1211
933
|
switch (_a.label) {
|
|
1212
|
-
case 0:
|
|
934
|
+
case 0:
|
|
935
|
+
queryParameters = {};
|
|
936
|
+
headerParameters = {};
|
|
937
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
938
|
+
urlPath = "/admin-api/product/children/sku-search";
|
|
939
|
+
return [4 /*yield*/, this.request({
|
|
940
|
+
path: urlPath,
|
|
941
|
+
method: 'POST',
|
|
942
|
+
headers: headerParameters,
|
|
943
|
+
query: queryParameters,
|
|
944
|
+
body: (0, index_1.SkuSearchProductChildRequestToJSON)(requestParameters['skuSearchProductChildRequest']),
|
|
945
|
+
}, initOverrides)];
|
|
1213
946
|
case 1:
|
|
1214
|
-
requestOptions = _a.sent();
|
|
1215
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
1216
|
-
case 2:
|
|
1217
947
|
response = _a.sent();
|
|
1218
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
948
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductChildResourceFromJSON)(jsonValue); })];
|
|
1219
949
|
}
|
|
1220
950
|
});
|
|
1221
951
|
});
|
|
@@ -1238,42 +968,29 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
1238
968
|
});
|
|
1239
969
|
});
|
|
1240
970
|
};
|
|
1241
|
-
/**
|
|
1242
|
-
* Creates request options for storeProduct without sending the request
|
|
1243
|
-
*/
|
|
1244
|
-
ProductApi.prototype.storeProductRequestOpts = function (requestParameters) {
|
|
1245
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1246
|
-
var queryParameters, headerParameters, urlPath;
|
|
1247
|
-
return __generator(this, function (_a) {
|
|
1248
|
-
queryParameters = {};
|
|
1249
|
-
headerParameters = {};
|
|
1250
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
1251
|
-
urlPath = "/admin-api/product/parent/create";
|
|
1252
|
-
return [2 /*return*/, {
|
|
1253
|
-
path: urlPath,
|
|
1254
|
-
method: 'POST',
|
|
1255
|
-
headers: headerParameters,
|
|
1256
|
-
query: queryParameters,
|
|
1257
|
-
body: (0, CreateProductRequest_1.CreateProductRequestToJSON)(requestParameters['createProductRequest']),
|
|
1258
|
-
}];
|
|
1259
|
-
});
|
|
1260
|
-
});
|
|
1261
|
-
};
|
|
1262
971
|
/**
|
|
1263
972
|
* Auto-generated: storeProduct
|
|
1264
973
|
*/
|
|
1265
974
|
ProductApi.prototype.storeProductRaw = function (requestParameters, initOverrides) {
|
|
1266
975
|
return __awaiter(this, void 0, void 0, function () {
|
|
1267
|
-
var
|
|
976
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
1268
977
|
return __generator(this, function (_a) {
|
|
1269
978
|
switch (_a.label) {
|
|
1270
|
-
case 0:
|
|
979
|
+
case 0:
|
|
980
|
+
queryParameters = {};
|
|
981
|
+
headerParameters = {};
|
|
982
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
983
|
+
urlPath = "/admin-api/product/parent/create";
|
|
984
|
+
return [4 /*yield*/, this.request({
|
|
985
|
+
path: urlPath,
|
|
986
|
+
method: 'POST',
|
|
987
|
+
headers: headerParameters,
|
|
988
|
+
query: queryParameters,
|
|
989
|
+
body: (0, index_1.CreateProductRequestToJSON)(requestParameters['createProductRequest']),
|
|
990
|
+
}, initOverrides)];
|
|
1271
991
|
case 1:
|
|
1272
|
-
requestOptions = _a.sent();
|
|
1273
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
1274
|
-
case 2:
|
|
1275
992
|
response = _a.sent();
|
|
1276
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
993
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductResourceFromJSON)(jsonValue); })];
|
|
1277
994
|
}
|
|
1278
995
|
});
|
|
1279
996
|
});
|
|
@@ -1296,42 +1013,29 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
1296
1013
|
});
|
|
1297
1014
|
});
|
|
1298
1015
|
};
|
|
1299
|
-
/**
|
|
1300
|
-
* Creates request options for storeProductChild without sending the request
|
|
1301
|
-
*/
|
|
1302
|
-
ProductApi.prototype.storeProductChildRequestOpts = function (requestParameters) {
|
|
1303
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1304
|
-
var queryParameters, headerParameters, urlPath;
|
|
1305
|
-
return __generator(this, function (_a) {
|
|
1306
|
-
queryParameters = {};
|
|
1307
|
-
headerParameters = {};
|
|
1308
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
1309
|
-
urlPath = "/admin-api/product/children/create";
|
|
1310
|
-
return [2 /*return*/, {
|
|
1311
|
-
path: urlPath,
|
|
1312
|
-
method: 'POST',
|
|
1313
|
-
headers: headerParameters,
|
|
1314
|
-
query: queryParameters,
|
|
1315
|
-
body: (0, CreateProductChildRequest_1.CreateProductChildRequestToJSON)(requestParameters['createProductChildRequest']),
|
|
1316
|
-
}];
|
|
1317
|
-
});
|
|
1318
|
-
});
|
|
1319
|
-
};
|
|
1320
1016
|
/**
|
|
1321
1017
|
* Auto-generated: storeProductChild
|
|
1322
1018
|
*/
|
|
1323
1019
|
ProductApi.prototype.storeProductChildRaw = function (requestParameters, initOverrides) {
|
|
1324
1020
|
return __awaiter(this, void 0, void 0, function () {
|
|
1325
|
-
var
|
|
1021
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
1326
1022
|
return __generator(this, function (_a) {
|
|
1327
1023
|
switch (_a.label) {
|
|
1328
|
-
case 0:
|
|
1024
|
+
case 0:
|
|
1025
|
+
queryParameters = {};
|
|
1026
|
+
headerParameters = {};
|
|
1027
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1028
|
+
urlPath = "/admin-api/product/children/create";
|
|
1029
|
+
return [4 /*yield*/, this.request({
|
|
1030
|
+
path: urlPath,
|
|
1031
|
+
method: 'POST',
|
|
1032
|
+
headers: headerParameters,
|
|
1033
|
+
query: queryParameters,
|
|
1034
|
+
body: (0, index_1.CreateProductChildRequestToJSON)(requestParameters['createProductChildRequest']),
|
|
1035
|
+
}, initOverrides)];
|
|
1329
1036
|
case 1:
|
|
1330
|
-
requestOptions = _a.sent();
|
|
1331
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
1332
|
-
case 2:
|
|
1333
1037
|
response = _a.sent();
|
|
1334
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
1038
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductChildResourceFromJSON)(jsonValue); })];
|
|
1335
1039
|
}
|
|
1336
1040
|
});
|
|
1337
1041
|
});
|
|
@@ -1354,46 +1058,33 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
1354
1058
|
});
|
|
1355
1059
|
});
|
|
1356
1060
|
};
|
|
1357
|
-
/**
|
|
1358
|
-
* Creates request options for updateProduct without sending the request
|
|
1359
|
-
*/
|
|
1360
|
-
ProductApi.prototype.updateProductRequestOpts = function (requestParameters) {
|
|
1361
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1362
|
-
var queryParameters, headerParameters, urlPath;
|
|
1363
|
-
return __generator(this, function (_a) {
|
|
1364
|
-
if (requestParameters['product'] == null) {
|
|
1365
|
-
throw new runtime.RequiredError('product', 'Required parameter "product" was null or undefined when calling updateProduct().');
|
|
1366
|
-
}
|
|
1367
|
-
queryParameters = {};
|
|
1368
|
-
headerParameters = {};
|
|
1369
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
1370
|
-
urlPath = "/admin-api/product/parent/{product}/update";
|
|
1371
|
-
urlPath = urlPath.replace('{product}', encodeURIComponent(String(requestParameters['product'])));
|
|
1372
|
-
return [2 /*return*/, {
|
|
1373
|
-
path: urlPath,
|
|
1374
|
-
method: 'PUT',
|
|
1375
|
-
headers: headerParameters,
|
|
1376
|
-
query: queryParameters,
|
|
1377
|
-
body: (0, UpdateProductRequest_1.UpdateProductRequestToJSON)(requestParameters['updateProductRequest']),
|
|
1378
|
-
}];
|
|
1379
|
-
});
|
|
1380
|
-
});
|
|
1381
|
-
};
|
|
1382
1061
|
/**
|
|
1383
1062
|
* Auto-generated: updateProduct
|
|
1384
1063
|
*/
|
|
1385
1064
|
ProductApi.prototype.updateProductRaw = function (requestParameters, initOverrides) {
|
|
1386
1065
|
return __awaiter(this, void 0, void 0, function () {
|
|
1387
|
-
var
|
|
1066
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
1388
1067
|
return __generator(this, function (_a) {
|
|
1389
1068
|
switch (_a.label) {
|
|
1390
|
-
case 0:
|
|
1069
|
+
case 0:
|
|
1070
|
+
if (requestParameters['product'] == null) {
|
|
1071
|
+
throw new runtime.RequiredError('product', 'Required parameter "product" was null or undefined when calling updateProduct().');
|
|
1072
|
+
}
|
|
1073
|
+
queryParameters = {};
|
|
1074
|
+
headerParameters = {};
|
|
1075
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1076
|
+
urlPath = "/admin-api/product/parent/{product}/update";
|
|
1077
|
+
urlPath = urlPath.replace("{".concat("product", "}"), encodeURIComponent(String(requestParameters['product'])));
|
|
1078
|
+
return [4 /*yield*/, this.request({
|
|
1079
|
+
path: urlPath,
|
|
1080
|
+
method: 'PUT',
|
|
1081
|
+
headers: headerParameters,
|
|
1082
|
+
query: queryParameters,
|
|
1083
|
+
body: (0, index_1.UpdateProductRequestToJSON)(requestParameters['updateProductRequest']),
|
|
1084
|
+
}, initOverrides)];
|
|
1391
1085
|
case 1:
|
|
1392
|
-
requestOptions = _a.sent();
|
|
1393
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
1394
|
-
case 2:
|
|
1395
1086
|
response = _a.sent();
|
|
1396
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
1087
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductResourceFromJSON)(jsonValue); })];
|
|
1397
1088
|
}
|
|
1398
1089
|
});
|
|
1399
1090
|
});
|
|
@@ -1415,46 +1106,33 @@ var ProductApi = /** @class */ (function (_super) {
|
|
|
1415
1106
|
});
|
|
1416
1107
|
});
|
|
1417
1108
|
};
|
|
1418
|
-
/**
|
|
1419
|
-
* Creates request options for updateProductChild without sending the request
|
|
1420
|
-
*/
|
|
1421
|
-
ProductApi.prototype.updateProductChildRequestOpts = function (requestParameters) {
|
|
1422
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
1423
|
-
var queryParameters, headerParameters, urlPath;
|
|
1424
|
-
return __generator(this, function (_a) {
|
|
1425
|
-
if (requestParameters['productChild'] == null) {
|
|
1426
|
-
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling updateProductChild().');
|
|
1427
|
-
}
|
|
1428
|
-
queryParameters = {};
|
|
1429
|
-
headerParameters = {};
|
|
1430
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
1431
|
-
urlPath = "/admin-api/product/children/{productChild}/update";
|
|
1432
|
-
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
1433
|
-
return [2 /*return*/, {
|
|
1434
|
-
path: urlPath,
|
|
1435
|
-
method: 'PUT',
|
|
1436
|
-
headers: headerParameters,
|
|
1437
|
-
query: queryParameters,
|
|
1438
|
-
body: (0, UpdateProductChildRequest_1.UpdateProductChildRequestToJSON)(requestParameters['updateProductChildRequest']),
|
|
1439
|
-
}];
|
|
1440
|
-
});
|
|
1441
|
-
});
|
|
1442
|
-
};
|
|
1443
1109
|
/**
|
|
1444
1110
|
* Auto-generated: updateProductChild
|
|
1445
1111
|
*/
|
|
1446
1112
|
ProductApi.prototype.updateProductChildRaw = function (requestParameters, initOverrides) {
|
|
1447
1113
|
return __awaiter(this, void 0, void 0, function () {
|
|
1448
|
-
var
|
|
1114
|
+
var queryParameters, headerParameters, urlPath, response;
|
|
1449
1115
|
return __generator(this, function (_a) {
|
|
1450
1116
|
switch (_a.label) {
|
|
1451
|
-
case 0:
|
|
1117
|
+
case 0:
|
|
1118
|
+
if (requestParameters['productChild'] == null) {
|
|
1119
|
+
throw new runtime.RequiredError('productChild', 'Required parameter "productChild" was null or undefined when calling updateProductChild().');
|
|
1120
|
+
}
|
|
1121
|
+
queryParameters = {};
|
|
1122
|
+
headerParameters = {};
|
|
1123
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
1124
|
+
urlPath = "/admin-api/product/children/{productChild}/update";
|
|
1125
|
+
urlPath = urlPath.replace("{".concat("productChild", "}"), encodeURIComponent(String(requestParameters['productChild'])));
|
|
1126
|
+
return [4 /*yield*/, this.request({
|
|
1127
|
+
path: urlPath,
|
|
1128
|
+
method: 'PUT',
|
|
1129
|
+
headers: headerParameters,
|
|
1130
|
+
query: queryParameters,
|
|
1131
|
+
body: (0, index_1.UpdateProductChildRequestToJSON)(requestParameters['updateProductChildRequest']),
|
|
1132
|
+
}, initOverrides)];
|
|
1452
1133
|
case 1:
|
|
1453
|
-
requestOptions = _a.sent();
|
|
1454
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
1455
|
-
case 2:
|
|
1456
1134
|
response = _a.sent();
|
|
1457
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0,
|
|
1135
|
+
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.ProductChildResourceFromJSON)(jsonValue); })];
|
|
1458
1136
|
}
|
|
1459
1137
|
});
|
|
1460
1138
|
});
|