@digital8/lighting-illusions-ts-sdk 0.0.1913 → 0.0.1915
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 +2 -140
- package/.openapi-generator/VERSION +1 -1
- package/README.md +4 -98
- package/dist/apis/AdminApi.d.ts +2 -1
- package/dist/apis/AdminApi.js +8 -7
- package/dist/apis/AssetApi.d.ts +6 -1
- package/dist/apis/AssetApi.js +15 -10
- package/dist/apis/AttributeApi.d.ts +22 -1
- package/dist/apis/AttributeApi.js +63 -42
- package/dist/apis/DefinitionApi.d.ts +8 -1
- package/dist/apis/DefinitionApi.js +21 -14
- package/dist/apis/DocumentApi.d.ts +12 -1
- package/dist/apis/DocumentApi.js +33 -22
- package/dist/apis/ExternalApiLogApi.d.ts +4 -1
- package/dist/apis/ExternalApiLogApi.js +8 -5
- package/dist/apis/GoogleCategoryApi.d.ts +2 -1
- package/dist/apis/GoogleCategoryApi.js +4 -3
- package/dist/apis/LabelApi.d.ts +6 -1
- package/dist/apis/LabelApi.js +19 -14
- package/dist/apis/MenuApi.d.ts +8 -1
- package/dist/apis/MenuApi.js +21 -14
- package/dist/apis/MenuItemsApi.d.ts +9 -1
- package/dist/apis/MenuItemsApi.js +24 -16
- package/dist/apis/OverlayTemplateApi.d.ts +14 -1
- package/dist/apis/OverlayTemplateApi.js +46 -33
- package/dist/apis/ProductApi.d.ts +23 -1
- package/dist/apis/ProductApi.js +79 -57
- package/dist/apis/ProductCategoryApi.d.ts +15 -1
- package/dist/apis/ProductCategoryApi.js +46 -32
- package/dist/apis/ProductRangeApi.d.ts +16 -1
- package/dist/apis/ProductRangeApi.js +59 -44
- package/dist/apis/ProductRegistrationApi.d.ts +9 -1
- package/dist/apis/ProductRegistrationApi.js +21 -13
- package/dist/apis/ProductTypeApi.d.ts +9 -1
- package/dist/apis/ProductTypeApi.js +31 -23
- package/dist/apis/RedirectApi.d.ts +2 -1
- package/dist/apis/RedirectApi.js +4 -3
- package/dist/apis/SiteApi.d.ts +11 -1
- package/dist/apis/SiteApi.js +29 -19
- package/dist/apis/StoreApi.d.ts +12 -1
- package/dist/apis/StoreApi.js +41 -30
- package/dist/apis/SupplierApi.d.ts +10 -1
- package/dist/apis/SupplierApi.js +31 -22
- package/dist/apis/TagApi.d.ts +9 -1
- package/dist/apis/TagApi.js +28 -20
- package/dist/apis/index.d.ts +0 -4
- package/dist/apis/index.js +0 -4
- package/dist/models/AddressFrontendResource.d.ts +2 -2
- package/dist/models/AddressFrontendResource.js +4 -4
- package/dist/models/AddressResource.d.ts +0 -18
- package/dist/models/AddressResource.js +0 -10
- package/dist/models/AssetFrontendResource.d.ts +12 -0
- package/dist/models/AssetFrontendResource.js +6 -0
- package/dist/models/AssetLiteResource.d.ts +14 -2
- package/dist/models/AssetLiteResource.js +6 -0
- package/dist/models/AssetResource.d.ts +14 -2
- package/dist/models/AssetResource.js +6 -0
- package/dist/models/AssetWithOverlayLinkResource.d.ts +14 -2
- package/dist/models/AssetWithOverlayLinkResource.js +6 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/ExternalApiSyncStatus.d.ts +1 -0
- package/dist/models/ExternalApiSyncStatus.js +2 -1
- package/dist/models/MenuPosition.d.ts +0 -1
- package/dist/models/MenuPosition.js +1 -2
- package/dist/models/ProductChildSiteDetailLiteResource.d.ts +0 -7
- package/dist/models/ProductChildSiteDetailLiteResource.js +0 -5
- package/dist/models/SitePaymentConfigResource.d.ts +0 -6
- package/dist/models/SitePaymentConfigResource.js +0 -4
- package/dist/models/StoreAssetForAssetableRequest.d.ts +14 -2
- package/dist/models/StoreAssetForAssetableRequest.js +6 -6
- package/dist/models/StoreFrontendResource.d.ts +2 -2
- package/dist/models/StoreFrontendResource.js +2 -6
- package/dist/models/StoreListResource.d.ts +14 -2
- package/dist/models/StoreListResource.js +12 -8
- package/dist/models/StoreMenuRequest.d.ts +0 -1
- package/dist/models/StoreMenuRequest.js +1 -2
- package/dist/models/StoreOverlayTemplateAssetRequest.d.ts +14 -2
- package/dist/models/StoreOverlayTemplateAssetRequest.js +6 -6
- package/dist/models/StoreProductCategoryRequest.d.ts +12 -0
- package/dist/models/StoreProductCategoryRequest.js +4 -0
- package/dist/models/StoreProductChildRequestAssetsInner.d.ts +14 -2
- package/dist/models/StoreProductChildRequestAssetsInner.js +6 -6
- package/dist/models/StoreResource.d.ts +12 -0
- package/dist/models/StoreResource.js +14 -6
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
- package/dist/models/StoreSpecialDateResource.js +4 -4
- package/dist/models/StoreStockType.d.ts +25 -0
- package/dist/models/StoreStockType.js +51 -0
- package/dist/models/StoreStoreRequest.d.ts +12 -0
- package/dist/models/StoreStoreRequest.js +4 -0
- package/dist/models/StoreStoreRequestAddress.d.ts +0 -6
- package/dist/models/StoreStoreRequestAddress.js +0 -2
- package/dist/models/StoreSupplierRequest.d.ts +14 -2
- package/dist/models/StoreSupplierRequest.js +6 -6
- package/dist/models/UpdateAssetForAssetableRequest.d.ts +12 -0
- package/dist/models/UpdateAssetForAssetableRequest.js +4 -0
- package/dist/models/UpdateMenuRequest.d.ts +0 -1
- package/dist/models/UpdateMenuRequest.js +1 -2
- package/dist/models/UpdateOverlayTemplateAssetRequest.d.ts +14 -2
- package/dist/models/UpdateOverlayTemplateAssetRequest.js +6 -6
- package/dist/models/UpdateProductCategoryRequest.d.ts +12 -0
- package/dist/models/UpdateProductCategoryRequest.js +4 -0
- package/dist/models/UpdateProductChildRequestAssetsInner.d.ts +14 -2
- package/dist/models/UpdateProductChildRequestAssetsInner.js +6 -6
- package/dist/models/UpdateSiteRequest.d.ts +0 -6
- package/dist/models/UpdateSiteRequest.js +0 -4
- package/dist/models/UpdateStoreRequest.d.ts +12 -0
- package/dist/models/UpdateStoreRequest.js +4 -0
- package/dist/models/UpdateSupplierRequest.d.ts +14 -2
- package/dist/models/UpdateSupplierRequest.js +6 -6
- package/dist/models/index.d.ts +1 -66
- package/dist/models/index.js +1 -66
- package/dist/runtime.js +1 -1
- package/docs/AddressResource.md +0 -6
- package/docs/AssetFrontendResource.md +4 -0
- package/docs/AssetLiteResource.md +5 -1
- package/docs/AssetResource.md +5 -1
- package/docs/AssetWithOverlayLinkResource.md +5 -1
- package/docs/ProductChildSiteDetailLiteResource.md +0 -2
- package/docs/SitePaymentConfigResource.md +0 -2
- package/docs/StoreAssetForAssetableRequest.md +4 -0
- package/docs/StoreListResource.md +4 -0
- package/docs/StoreOverlayTemplateAssetRequest.md +4 -0
- package/docs/StoreProductCategoryRequest.md +4 -0
- package/docs/StoreProductChildRequestAssetsInner.md +4 -0
- package/docs/StoreResource.md +4 -0
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/{AddressType.md → StoreStockType.md} +4 -4
- package/docs/StoreStoreRequest.md +4 -0
- package/docs/StoreStoreRequestAddress.md +0 -2
- package/docs/StoreSupplierRequest.md +4 -0
- package/docs/UpdateAssetForAssetableRequest.md +4 -0
- package/docs/UpdateOverlayTemplateAssetRequest.md +4 -0
- package/docs/UpdateProductCategoryRequest.md +4 -0
- package/docs/UpdateProductChildRequestAssetsInner.md +4 -0
- package/docs/UpdateSiteRequest.md +0 -2
- package/docs/UpdateStoreRequest.md +4 -0
- package/docs/UpdateSupplierRequest.md +4 -0
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +5 -6
- package/src/apis/AssetApi.ts +19 -12
- package/src/apis/AttributeApi.ts +75 -36
- package/src/apis/DefinitionApi.ts +26 -15
- package/src/apis/DocumentApi.ts +40 -21
- package/src/apis/ExternalApiLogApi.ts +11 -8
- package/src/apis/GoogleCategoryApi.ts +5 -6
- package/src/apis/LabelApi.ts +20 -13
- package/src/apis/MenuApi.ts +26 -15
- package/src/apis/MenuItemsApi.ts +29 -16
- package/src/apis/OverlayTemplateApi.ts +51 -28
- package/src/apis/ProductApi.ts +86 -45
- package/src/apis/ProductCategoryApi.ts +52 -27
- package/src/apis/ProductRangeApi.ts +60 -33
- package/src/apis/ProductRegistrationApi.ts +29 -16
- package/src/apis/ProductTypeApi.ts +33 -20
- package/src/apis/RedirectApi.ts +5 -6
- package/src/apis/SiteApi.ts +36 -19
- package/src/apis/StoreApi.ts +45 -26
- package/src/apis/SupplierApi.ts +34 -19
- package/src/apis/TagApi.ts +32 -19
- package/src/apis/index.ts +0 -4
- package/src/models/AddressFrontendResource.ts +5 -5
- package/src/models/AddressResource.ts +0 -26
- package/src/models/AssetFrontendResource.ts +17 -0
- package/src/models/AssetLiteResource.ts +19 -2
- package/src/models/AssetResource.ts +19 -2
- package/src/models/AssetWithOverlayLinkResource.ts +19 -2
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/ExternalApiSyncStatus.ts +2 -1
- package/src/models/MenuPosition.ts +1 -2
- package/src/models/ProductChildSiteDetailLiteResource.ts +0 -16
- package/src/models/SitePaymentConfigResource.ts +0 -9
- package/src/models/StoreAssetForAssetableRequest.ts +20 -6
- package/src/models/StoreFrontendResource.ts +4 -6
- package/src/models/StoreListResource.ts +25 -9
- package/src/models/StoreMenuRequest.ts +1 -2
- package/src/models/StoreOverlayTemplateAssetRequest.ts +20 -6
- package/src/models/StoreProductCategoryRequest.ts +16 -0
- package/src/models/StoreProductChildRequestAssetsInner.ts +20 -6
- package/src/models/StoreResource.ts +24 -6
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/StoreSpecialDateResource.ts +4 -4
- package/src/models/StoreStockType.ts +53 -0
- package/src/models/StoreStoreRequest.ts +16 -0
- package/src/models/StoreStoreRequestAddress.ts +0 -8
- package/src/models/StoreSupplierRequest.ts +20 -6
- package/src/models/UpdateAssetForAssetableRequest.ts +16 -0
- package/src/models/UpdateMenuRequest.ts +1 -2
- package/src/models/UpdateOverlayTemplateAssetRequest.ts +20 -6
- package/src/models/UpdateProductCategoryRequest.ts +16 -0
- package/src/models/UpdateProductChildRequestAssetsInner.ts +20 -6
- package/src/models/UpdateSiteRequest.ts +0 -9
- package/src/models/UpdateStoreRequest.ts +16 -0
- package/src/models/UpdateSupplierRequest.ts +20 -6
- package/src/models/index.ts +1 -66
- package/src/runtime.ts +1 -2
- package/dist/apis/CartsApi.d.ts +0 -205
- package/dist/apis/CartsApi.js +0 -804
- package/dist/apis/CustomersApi.d.ts +0 -79
- package/dist/apis/CustomersApi.js +0 -316
- package/dist/apis/OrdersApi.d.ts +0 -170
- package/dist/apis/OrdersApi.js +0 -678
- package/dist/apis/TransactionsApi.d.ts +0 -64
- package/dist/apis/TransactionsApi.js +0 -257
- package/dist/models/AddressType.d.ts +0 -25
- package/dist/models/AddressType.js +0 -51
- package/dist/models/AdminOrderResource.d.ts +0 -262
- package/dist/models/AdminOrderResource.js +0 -187
- package/dist/models/AdminOrderResourceArrayResponse.d.ts +0 -33
- package/dist/models/AdminOrderResourceArrayResponse.js +0 -50
- package/dist/models/AttachCouponCartRequest.d.ts +0 -32
- package/dist/models/AttachCouponCartRequest.js +0 -51
- package/dist/models/AttachItemCartRequest.d.ts +0 -44
- package/dist/models/AttachItemCartRequest.js +0 -57
- package/dist/models/AttachItemOrderRequest.d.ts +0 -44
- package/dist/models/AttachItemOrderRequest.js +0 -57
- package/dist/models/CartCouponResource.d.ts +0 -50
- package/dist/models/CartCouponResource.js +0 -63
- package/dist/models/CartCouponResourceArrayResponse.d.ts +0 -33
- package/dist/models/CartCouponResourceArrayResponse.js +0 -50
- package/dist/models/CartListResource.d.ts +0 -131
- package/dist/models/CartListResource.js +0 -104
- package/dist/models/CartListResourceArrayResponse.d.ts +0 -33
- package/dist/models/CartListResourceArrayResponse.js +0 -50
- package/dist/models/CartOrderSource.d.ts +0 -29
- package/dist/models/CartOrderSource.js +0 -55
- package/dist/models/CartResource.d.ts +0 -229
- package/dist/models/CartResource.js +0 -166
- package/dist/models/CartResourceArrayResponse.d.ts +0 -33
- package/dist/models/CartResourceArrayResponse.js +0 -50
- package/dist/models/CartStatus.d.ts +0 -26
- package/dist/models/CartStatus.js +0 -52
- package/dist/models/CustomerListResource.d.ts +0 -70
- package/dist/models/CustomerListResource.js +0 -75
- package/dist/models/CustomerListResourceArrayResponse.d.ts +0 -33
- package/dist/models/CustomerListResourceArrayResponse.js +0 -50
- package/dist/models/CustomerResource.d.ts +0 -70
- package/dist/models/CustomerResource.js +0 -75
- package/dist/models/CustomerResourceArrayResponse.d.ts +0 -33
- package/dist/models/CustomerResourceArrayResponse.js +0 -50
- package/dist/models/DetachCouponCartRequest.d.ts +0 -32
- package/dist/models/DetachCouponCartRequest.js +0 -51
- package/dist/models/DiscountType.d.ts +0 -26
- package/dist/models/DiscountType.js +0 -52
- package/dist/models/DiscountValueType.d.ts +0 -25
- package/dist/models/DiscountValueType.js +0 -51
- package/dist/models/GetAllOrderRequest.d.ts +0 -104
- package/dist/models/GetAllOrderRequest.js +0 -84
- package/dist/models/IndexCartRequest.d.ts +0 -154
- package/dist/models/IndexCartRequest.js +0 -105
- package/dist/models/IndexCustomerRequest.d.ts +0 -99
- package/dist/models/IndexCustomerRequest.js +0 -83
- package/dist/models/IndexOrderRequest.d.ts +0 -140
- package/dist/models/IndexOrderRequest.js +0 -96
- package/dist/models/IndexTransactionRequest.d.ts +0 -127
- package/dist/models/IndexTransactionRequest.js +0 -91
- package/dist/models/LiAddressResource.d.ts +0 -86
- package/dist/models/LiAddressResource.js +0 -83
- package/dist/models/LiAddressResourceArrayResponse.d.ts +0 -33
- package/dist/models/LiAddressResourceArrayResponse.js +0 -50
- package/dist/models/LineItemDiscountResource.d.ts +0 -50
- package/dist/models/LineItemDiscountResource.js +0 -63
- package/dist/models/LineItemDiscountResourceArrayResponse.d.ts +0 -33
- package/dist/models/LineItemDiscountResourceArrayResponse.js +0 -50
- package/dist/models/LineItemListResource.d.ts +0 -82
- package/dist/models/LineItemListResource.js +0 -83
- package/dist/models/LineItemListResourceArrayResponse.d.ts +0 -33
- package/dist/models/LineItemListResourceArrayResponse.js +0 -50
- package/dist/models/OrderListResource.d.ts +0 -101
- package/dist/models/OrderListResource.js +0 -90
- package/dist/models/OrderListResourceArrayResponse.d.ts +0 -33
- package/dist/models/OrderListResourceArrayResponse.js +0 -50
- package/dist/models/OrderLiteResource.d.ts +0 -62
- package/dist/models/OrderLiteResource.js +0 -67
- package/dist/models/OrderLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/OrderLiteResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedCartListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCartListResourceResponse.js +0 -57
- package/dist/models/PaginatedCustomerListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedCustomerListResourceResponse.js +0 -57
- package/dist/models/PaginatedOrderListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedOrderListResourceResponse.js +0 -57
- package/dist/models/PaginatedTransactionListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedTransactionListResourceResponse.js +0 -57
- package/dist/models/PaginatedTransactionResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedTransactionResourceResponse.js +0 -57
- package/dist/models/PaymentMethod.d.ts +0 -30
- package/dist/models/PaymentMethod.js +0 -56
- package/dist/models/PaymentSource.d.ts +0 -26
- package/dist/models/PaymentSource.js +0 -52
- package/dist/models/PaymentStatus.d.ts +0 -25
- package/dist/models/PaymentStatus.js +0 -51
- package/dist/models/ProductChildCartLiteResource.d.ts +0 -88
- package/dist/models/ProductChildCartLiteResource.js +0 -89
- package/dist/models/ProductChildCartLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductChildCartLiteResourceArrayResponse.js +0 -50
- package/dist/models/RefundTransactionRequest.d.ts +0 -38
- package/dist/models/RefundTransactionRequest.js +0 -53
- package/dist/models/ShippingType.d.ts +0 -28
- package/dist/models/ShippingType.js +0 -54
- package/dist/models/StoreCartRequest.d.ts +0 -160
- package/dist/models/StoreCartRequest.js +0 -112
- package/dist/models/StoreCartRequestCustomer.d.ts +0 -50
- package/dist/models/StoreCartRequestCustomer.js +0 -55
- package/dist/models/StoreCartRequestItemsInner.d.ts +0 -44
- package/dist/models/StoreCartRequestItemsInner.js +0 -57
- package/dist/models/StoreCartRequestShippingAddress.d.ts +0 -80
- package/dist/models/StoreCartRequestShippingAddress.js +0 -65
- package/dist/models/StoreCustomerRequest.d.ts +0 -56
- package/dist/models/StoreCustomerRequest.js +0 -65
- package/dist/models/StoreTransactionRequest.d.ts +0 -81
- package/dist/models/StoreTransactionRequest.js +0 -78
- package/dist/models/TransactionListResource.d.ts +0 -152
- package/dist/models/TransactionListResource.js +0 -109
- package/dist/models/TransactionListResourceArrayResponse.d.ts +0 -33
- package/dist/models/TransactionListResourceArrayResponse.js +0 -50
- package/dist/models/TransactionResource.d.ts +0 -152
- package/dist/models/TransactionResource.js +0 -109
- package/dist/models/TransactionResourceArrayResponse.d.ts +0 -33
- package/dist/models/TransactionResourceArrayResponse.js +0 -50
- package/dist/models/TransactionType.d.ts +0 -25
- package/dist/models/TransactionType.js +0 -51
- package/dist/models/UpdateCartRequest.d.ts +0 -135
- package/dist/models/UpdateCartRequest.js +0 -99
- package/dist/models/UpdateCustomerRequest.d.ts +0 -56
- package/dist/models/UpdateCustomerRequest.js +0 -63
- package/dist/models/UpdateItemCartRequest.d.ts +0 -38
- package/dist/models/UpdateItemCartRequest.js +0 -53
- package/dist/models/UpdateItemOrderRequest.d.ts +0 -38
- package/dist/models/UpdateItemOrderRequest.js +0 -53
- package/dist/models/UpdateOrderRequest.d.ts +0 -111
- package/dist/models/UpdateOrderRequest.js +0 -99
- package/dist/models/UpdateOrderRequestBillingAddress.d.ts +0 -80
- package/dist/models/UpdateOrderRequestBillingAddress.js +0 -67
- package/dist/models/UpdateOrderRequestShippingAddress.d.ts +0 -80
- package/dist/models/UpdateOrderRequestShippingAddress.js +0 -67
- package/docs/AdminOrderResource.md +0 -110
- package/docs/AdminOrderResourceArrayResponse.md +0 -34
- package/docs/AttachCouponCartRequest.md +0 -34
- package/docs/AttachItemCartRequest.md +0 -38
- package/docs/AttachItemOrderRequest.md +0 -38
- package/docs/CartCouponResource.md +0 -40
- package/docs/CartCouponResourceArrayResponse.md +0 -34
- package/docs/CartListResource.md +0 -66
- package/docs/CartListResourceArrayResponse.md +0 -34
- package/docs/CartOrderSource.md +0 -32
- package/docs/CartResource.md +0 -98
- package/docs/CartResourceArrayResponse.md +0 -34
- package/docs/CartStatus.md +0 -32
- package/docs/CartsApi.md +0 -821
- package/docs/CustomerListResource.md +0 -46
- package/docs/CustomerListResourceArrayResponse.md +0 -34
- package/docs/CustomerResource.md +0 -46
- package/docs/CustomerResourceArrayResponse.md +0 -34
- package/docs/CustomersApi.md +0 -275
- package/docs/DetachCouponCartRequest.md +0 -34
- package/docs/DiscountType.md +0 -32
- package/docs/DiscountValueType.md +0 -32
- package/docs/GetAllOrderRequest.md +0 -52
- package/docs/IndexCartRequest.md +0 -66
- package/docs/IndexCustomerRequest.md +0 -50
- package/docs/IndexOrderRequest.md +0 -64
- package/docs/IndexTransactionRequest.md +0 -60
- package/docs/LiAddressResource.md +0 -52
- package/docs/LiAddressResourceArrayResponse.md +0 -34
- package/docs/LineItemDiscountResource.md +0 -40
- package/docs/LineItemDiscountResourceArrayResponse.md +0 -34
- package/docs/LineItemListResource.md +0 -50
- package/docs/LineItemListResourceArrayResponse.md +0 -34
- package/docs/OrderListResource.md +0 -56
- package/docs/OrderListResourceArrayResponse.md +0 -34
- package/docs/OrderLiteResource.md +0 -44
- package/docs/OrderLiteResourceArrayResponse.md +0 -34
- package/docs/OrdersApi.md +0 -675
- package/docs/PaginatedCartListResourceResponse.md +0 -36
- package/docs/PaginatedCustomerListResourceResponse.md +0 -36
- package/docs/PaginatedOrderListResourceResponse.md +0 -36
- package/docs/PaginatedTransactionListResourceResponse.md +0 -36
- package/docs/PaginatedTransactionResourceResponse.md +0 -36
- package/docs/PaymentMethod.md +0 -32
- package/docs/PaymentSource.md +0 -32
- package/docs/PaymentStatus.md +0 -32
- package/docs/ProductChildCartLiteResource.md +0 -52
- package/docs/ProductChildCartLiteResourceArrayResponse.md +0 -34
- package/docs/RefundTransactionRequest.md +0 -36
- package/docs/ShippingType.md +0 -32
- package/docs/StoreCartRequest.md +0 -68
- package/docs/StoreCartRequestCustomer.md +0 -40
- package/docs/StoreCartRequestItemsInner.md +0 -38
- package/docs/StoreCartRequestShippingAddress.md +0 -50
- package/docs/StoreCustomerRequest.md +0 -42
- package/docs/StoreTransactionRequest.md +0 -46
- package/docs/TransactionListResource.md +0 -74
- package/docs/TransactionListResourceArrayResponse.md +0 -34
- package/docs/TransactionResource.md +0 -74
- package/docs/TransactionResourceArrayResponse.md +0 -34
- package/docs/TransactionType.md +0 -32
- package/docs/TransactionsApi.md +0 -209
- package/docs/UpdateCartRequest.md +0 -60
- package/docs/UpdateCustomerRequest.md +0 -42
- package/docs/UpdateItemCartRequest.md +0 -36
- package/docs/UpdateItemOrderRequest.md +0 -36
- package/docs/UpdateOrderRequest.md +0 -52
- package/docs/UpdateOrderRequestBillingAddress.md +0 -50
- package/docs/UpdateOrderRequestShippingAddress.md +0 -50
- package/src/apis/CartsApi.ts +0 -676
- package/src/apis/CustomersApi.ts +0 -232
- package/src/apis/OrdersApi.ts +0 -552
- package/src/apis/TransactionsApi.ts +0 -186
- package/src/models/AddressType.ts +0 -53
- package/src/models/AdminOrderResource.ts +0 -414
- package/src/models/AdminOrderResourceArrayResponse.ts +0 -73
- package/src/models/AttachCouponCartRequest.ts +0 -66
- package/src/models/AttachItemCartRequest.ts +0 -83
- package/src/models/AttachItemOrderRequest.ts +0 -83
- package/src/models/CartCouponResource.ts +0 -93
- package/src/models/CartCouponResourceArrayResponse.ts +0 -73
- package/src/models/CartListResource.ts +0 -225
- package/src/models/CartListResourceArrayResponse.ts +0 -73
- package/src/models/CartOrderSource.ts +0 -57
- package/src/models/CartResource.ts +0 -381
- package/src/models/CartResourceArrayResponse.ts +0 -73
- package/src/models/CartStatus.ts +0 -54
- package/src/models/CustomerListResource.ts +0 -134
- package/src/models/CustomerListResourceArrayResponse.ts +0 -73
- package/src/models/CustomerResource.ts +0 -134
- package/src/models/CustomerResourceArrayResponse.ts +0 -73
- package/src/models/DetachCouponCartRequest.ts +0 -66
- package/src/models/DiscountType.ts +0 -54
- package/src/models/DiscountValueType.ts +0 -53
- package/src/models/GetAllOrderRequest.ts +0 -159
- package/src/models/IndexCartRequest.ts +0 -224
- package/src/models/IndexCustomerRequest.ts +0 -152
- package/src/models/IndexOrderRequest.ts +0 -207
- package/src/models/IndexTransactionRequest.ts +0 -190
- package/src/models/LiAddressResource.ts +0 -145
- package/src/models/LiAddressResourceArrayResponse.ts +0 -73
- package/src/models/LineItemDiscountResource.ts +0 -93
- package/src/models/LineItemDiscountResourceArrayResponse.ts +0 -73
- package/src/models/LineItemListResource.ts +0 -152
- package/src/models/LineItemListResourceArrayResponse.ts +0 -73
- package/src/models/OrderListResource.ts +0 -183
- package/src/models/OrderListResourceArrayResponse.ts +0 -73
- package/src/models/OrderLiteResource.ts +0 -109
- package/src/models/OrderLiteResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedCartListResourceResponse.ts +0 -90
- package/src/models/PaginatedCustomerListResourceResponse.ts +0 -90
- package/src/models/PaginatedOrderListResourceResponse.ts +0 -90
- package/src/models/PaginatedTransactionListResourceResponse.ts +0 -90
- package/src/models/PaginatedTransactionResourceResponse.ts +0 -90
- package/src/models/PaymentMethod.ts +0 -58
- package/src/models/PaymentSource.ts +0 -54
- package/src/models/PaymentStatus.ts +0 -53
- package/src/models/ProductChildCartLiteResource.ts +0 -162
- package/src/models/ProductChildCartLiteResourceArrayResponse.ts +0 -73
- package/src/models/RefundTransactionRequest.ts +0 -74
- package/src/models/ShippingType.ts +0 -56
- package/src/models/StoreCartRequest.ts +0 -252
- package/src/models/StoreCartRequestCustomer.ts +0 -89
- package/src/models/StoreCartRequestItemsInner.ts +0 -83
- package/src/models/StoreCartRequestShippingAddress.ts +0 -129
- package/src/models/StoreCustomerRequest.ts +0 -101
- package/src/models/StoreTransactionRequest.ts +0 -131
- package/src/models/TransactionListResource.ts +0 -235
- package/src/models/TransactionListResourceArrayResponse.ts +0 -73
- package/src/models/TransactionResource.ts +0 -235
- package/src/models/TransactionResourceArrayResponse.ts +0 -73
- package/src/models/TransactionType.ts +0 -53
- package/src/models/UpdateCartRequest.ts +0 -211
- package/src/models/UpdateCustomerRequest.ts +0 -100
- package/src/models/UpdateItemCartRequest.ts +0 -74
- package/src/models/UpdateItemOrderRequest.ts +0 -74
- package/src/models/UpdateOrderRequest.ts +0 -183
- package/src/models/UpdateOrderRequestBillingAddress.ts +0 -130
- package/src/models/UpdateOrderRequestShippingAddress.ts +0 -130
|
@@ -12,54 +12,77 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
import * as runtime from '../runtime';
|
|
17
|
-
import type {
|
|
18
|
-
AttachAssetsOverlayTemplateRequest,
|
|
19
|
-
DetachAssetableOverlayTemplateRequest,
|
|
20
|
-
GenericResponse,
|
|
21
|
-
GetAllOverlayTemplateRequest,
|
|
22
|
-
IndexOverlayTemplateRequest,
|
|
23
|
-
IndexProductChildRequest,
|
|
24
|
-
OverlayTemplateLiteResourceArrayResponse,
|
|
25
|
-
OverlayTemplateResource,
|
|
26
|
-
PaginatedOverlayTemplateListResourceResponse,
|
|
27
|
-
PaginatedProductChildOverlayRelationResourceResponse,
|
|
28
|
-
StoreOverlayTemplateAssetRequest,
|
|
29
|
-
StoreOverlayTemplateRequest,
|
|
30
|
-
UpdateOverlayTemplateAssetRequest,
|
|
31
|
-
UpdateOverlayTemplateRequest,
|
|
32
|
-
} from '../models/index';
|
|
33
16
|
import {
|
|
17
|
+
type AttachAssetsOverlayTemplateRequest,
|
|
34
18
|
AttachAssetsOverlayTemplateRequestFromJSON,
|
|
35
19
|
AttachAssetsOverlayTemplateRequestToJSON,
|
|
20
|
+
} from '../models/AttachAssetsOverlayTemplateRequest';
|
|
21
|
+
import {
|
|
22
|
+
type DetachAssetableOverlayTemplateRequest,
|
|
36
23
|
DetachAssetableOverlayTemplateRequestFromJSON,
|
|
37
24
|
DetachAssetableOverlayTemplateRequestToJSON,
|
|
25
|
+
} from '../models/DetachAssetableOverlayTemplateRequest';
|
|
26
|
+
import {
|
|
27
|
+
type GenericResponse,
|
|
38
28
|
GenericResponseFromJSON,
|
|
39
29
|
GenericResponseToJSON,
|
|
30
|
+
} from '../models/GenericResponse';
|
|
31
|
+
import {
|
|
32
|
+
type GetAllOverlayTemplateRequest,
|
|
40
33
|
GetAllOverlayTemplateRequestFromJSON,
|
|
41
34
|
GetAllOverlayTemplateRequestToJSON,
|
|
35
|
+
} from '../models/GetAllOverlayTemplateRequest';
|
|
36
|
+
import {
|
|
37
|
+
type IndexOverlayTemplateRequest,
|
|
42
38
|
IndexOverlayTemplateRequestFromJSON,
|
|
43
39
|
IndexOverlayTemplateRequestToJSON,
|
|
40
|
+
} from '../models/IndexOverlayTemplateRequest';
|
|
41
|
+
import {
|
|
42
|
+
type IndexProductChildRequest,
|
|
44
43
|
IndexProductChildRequestFromJSON,
|
|
45
44
|
IndexProductChildRequestToJSON,
|
|
45
|
+
} from '../models/IndexProductChildRequest';
|
|
46
|
+
import {
|
|
47
|
+
type OverlayTemplateLiteResourceArrayResponse,
|
|
46
48
|
OverlayTemplateLiteResourceArrayResponseFromJSON,
|
|
47
49
|
OverlayTemplateLiteResourceArrayResponseToJSON,
|
|
50
|
+
} from '../models/OverlayTemplateLiteResourceArrayResponse';
|
|
51
|
+
import {
|
|
52
|
+
type OverlayTemplateResource,
|
|
48
53
|
OverlayTemplateResourceFromJSON,
|
|
49
54
|
OverlayTemplateResourceToJSON,
|
|
55
|
+
} from '../models/OverlayTemplateResource';
|
|
56
|
+
import {
|
|
57
|
+
type PaginatedOverlayTemplateListResourceResponse,
|
|
50
58
|
PaginatedOverlayTemplateListResourceResponseFromJSON,
|
|
51
59
|
PaginatedOverlayTemplateListResourceResponseToJSON,
|
|
60
|
+
} from '../models/PaginatedOverlayTemplateListResourceResponse';
|
|
61
|
+
import {
|
|
62
|
+
type PaginatedProductChildOverlayRelationResourceResponse,
|
|
52
63
|
PaginatedProductChildOverlayRelationResourceResponseFromJSON,
|
|
53
64
|
PaginatedProductChildOverlayRelationResourceResponseToJSON,
|
|
65
|
+
} from '../models/PaginatedProductChildOverlayRelationResourceResponse';
|
|
66
|
+
import {
|
|
67
|
+
type StoreOverlayTemplateAssetRequest,
|
|
54
68
|
StoreOverlayTemplateAssetRequestFromJSON,
|
|
55
69
|
StoreOverlayTemplateAssetRequestToJSON,
|
|
70
|
+
} from '../models/StoreOverlayTemplateAssetRequest';
|
|
71
|
+
import {
|
|
72
|
+
type StoreOverlayTemplateRequest,
|
|
56
73
|
StoreOverlayTemplateRequestFromJSON,
|
|
57
74
|
StoreOverlayTemplateRequestToJSON,
|
|
75
|
+
} from '../models/StoreOverlayTemplateRequest';
|
|
76
|
+
import {
|
|
77
|
+
type UpdateOverlayTemplateAssetRequest,
|
|
58
78
|
UpdateOverlayTemplateAssetRequestFromJSON,
|
|
59
79
|
UpdateOverlayTemplateAssetRequestToJSON,
|
|
80
|
+
} from '../models/UpdateOverlayTemplateAssetRequest';
|
|
81
|
+
import {
|
|
82
|
+
type UpdateOverlayTemplateRequest,
|
|
60
83
|
UpdateOverlayTemplateRequestFromJSON,
|
|
61
84
|
UpdateOverlayTemplateRequestToJSON,
|
|
62
|
-
} from '../models/
|
|
85
|
+
} from '../models/UpdateOverlayTemplateRequest';
|
|
63
86
|
|
|
64
87
|
export interface AttachAssetsOverlayTemplateOperationRequest {
|
|
65
88
|
overlayTemplate: number;
|
|
@@ -143,7 +166,7 @@ export class OverlayTemplateApi extends runtime.BaseAPI {
|
|
|
143
166
|
|
|
144
167
|
|
|
145
168
|
let urlPath = `/admin-api/overlay-template/{overlayTemplate}/attach-assets`;
|
|
146
|
-
urlPath = urlPath.replace(
|
|
169
|
+
urlPath = urlPath.replace('{overlayTemplate}', encodeURIComponent(String(requestParameters['overlayTemplate'])));
|
|
147
170
|
|
|
148
171
|
return {
|
|
149
172
|
path: urlPath,
|
|
@@ -189,7 +212,7 @@ export class OverlayTemplateApi extends runtime.BaseAPI {
|
|
|
189
212
|
|
|
190
213
|
|
|
191
214
|
let urlPath = `/admin-api/overlay-template/{overlayTemplate}/delete`;
|
|
192
|
-
urlPath = urlPath.replace(
|
|
215
|
+
urlPath = urlPath.replace('{overlayTemplate}', encodeURIComponent(String(requestParameters['overlayTemplate'])));
|
|
193
216
|
|
|
194
217
|
return {
|
|
195
218
|
path: urlPath,
|
|
@@ -234,7 +257,7 @@ export class OverlayTemplateApi extends runtime.BaseAPI {
|
|
|
234
257
|
|
|
235
258
|
|
|
236
259
|
let urlPath = `/admin-api/overlay-template/asset/{overlayTemplateAsset}/delete`;
|
|
237
|
-
urlPath = urlPath.replace(
|
|
260
|
+
urlPath = urlPath.replace('{overlayTemplateAsset}', encodeURIComponent(String(requestParameters['overlayTemplateAsset'])));
|
|
238
261
|
|
|
239
262
|
return {
|
|
240
263
|
path: urlPath,
|
|
@@ -286,8 +309,8 @@ export class OverlayTemplateApi extends runtime.BaseAPI {
|
|
|
286
309
|
|
|
287
310
|
|
|
288
311
|
let urlPath = `/admin-api/overlay-template/{overlayTemplate}/detach-asset/{asset}`;
|
|
289
|
-
urlPath = urlPath.replace(
|
|
290
|
-
urlPath = urlPath.replace(
|
|
312
|
+
urlPath = urlPath.replace('{overlayTemplate}', encodeURIComponent(String(requestParameters['overlayTemplate'])));
|
|
313
|
+
urlPath = urlPath.replace('{asset}', encodeURIComponent(String(requestParameters['asset'])));
|
|
291
314
|
|
|
292
315
|
return {
|
|
293
316
|
path: urlPath,
|
|
@@ -334,7 +357,7 @@ export class OverlayTemplateApi extends runtime.BaseAPI {
|
|
|
334
357
|
|
|
335
358
|
|
|
336
359
|
let urlPath = `/admin-api/overlay-template/{overlayTemplate}/detach-assetable`;
|
|
337
|
-
urlPath = urlPath.replace(
|
|
360
|
+
urlPath = urlPath.replace('{overlayTemplate}', encodeURIComponent(String(requestParameters['overlayTemplate'])));
|
|
338
361
|
|
|
339
362
|
return {
|
|
340
363
|
path: urlPath,
|
|
@@ -422,7 +445,7 @@ export class OverlayTemplateApi extends runtime.BaseAPI {
|
|
|
422
445
|
|
|
423
446
|
|
|
424
447
|
let urlPath = `/admin-api/overlay-template/{overlayTemplate}/product-children`;
|
|
425
|
-
urlPath = urlPath.replace(
|
|
448
|
+
urlPath = urlPath.replace('{overlayTemplate}', encodeURIComponent(String(requestParameters['overlayTemplate'])));
|
|
426
449
|
|
|
427
450
|
return {
|
|
428
451
|
path: urlPath,
|
|
@@ -508,7 +531,7 @@ export class OverlayTemplateApi extends runtime.BaseAPI {
|
|
|
508
531
|
|
|
509
532
|
|
|
510
533
|
let urlPath = `/admin-api/overlay-template/{overlayTemplate}`;
|
|
511
|
-
urlPath = urlPath.replace(
|
|
534
|
+
urlPath = urlPath.replace('{overlayTemplate}', encodeURIComponent(String(requestParameters['overlayTemplate'])));
|
|
512
535
|
|
|
513
536
|
return {
|
|
514
537
|
path: urlPath,
|
|
@@ -635,7 +658,7 @@ export class OverlayTemplateApi extends runtime.BaseAPI {
|
|
|
635
658
|
|
|
636
659
|
|
|
637
660
|
let urlPath = `/admin-api/overlay-template/{overlayTemplate}/update`;
|
|
638
|
-
urlPath = urlPath.replace(
|
|
661
|
+
urlPath = urlPath.replace('{overlayTemplate}', encodeURIComponent(String(requestParameters['overlayTemplate'])));
|
|
639
662
|
|
|
640
663
|
return {
|
|
641
664
|
path: urlPath,
|
|
@@ -683,7 +706,7 @@ export class OverlayTemplateApi extends runtime.BaseAPI {
|
|
|
683
706
|
|
|
684
707
|
|
|
685
708
|
let urlPath = `/admin-api/overlay-template/asset/{overlayTemplateAsset}/update`;
|
|
686
|
-
urlPath = urlPath.replace(
|
|
709
|
+
urlPath = urlPath.replace('{overlayTemplateAsset}', encodeURIComponent(String(requestParameters['overlayTemplateAsset'])));
|
|
687
710
|
|
|
688
711
|
return {
|
|
689
712
|
path: urlPath,
|
package/src/apis/ProductApi.ts
CHANGED
|
@@ -12,81 +12,122 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
import * as runtime from '../runtime';
|
|
17
|
-
import type {
|
|
18
|
-
AssetWithOverlayLinkResourceArrayResponse,
|
|
19
|
-
AttachAccessoriesProductChildRequest,
|
|
20
|
-
AttachDocumentsProductChildRequest,
|
|
21
|
-
DetachDocumentsProductChildRequest,
|
|
22
|
-
GenericResponse,
|
|
23
|
-
GetAllProductChildRequest,
|
|
24
|
-
GetAllProductRequest,
|
|
25
|
-
IndexProductChildRequest,
|
|
26
|
-
IndexProductRequest,
|
|
27
|
-
PaginatedProductChildListResourceResponse,
|
|
28
|
-
PaginatedProductListResourceResponse,
|
|
29
|
-
ProductChildAttributeGroupedResource,
|
|
30
|
-
ProductChildListResourceArrayResponse,
|
|
31
|
-
ProductChildLiteResourceArrayResponse,
|
|
32
|
-
ProductChildResource,
|
|
33
|
-
ProductLiteResourceArrayResponse,
|
|
34
|
-
ProductResource,
|
|
35
|
-
ShowAssetsProductChildRequest,
|
|
36
|
-
ShowAttributesProductChildRequest,
|
|
37
|
-
StoreProductChildRequest,
|
|
38
|
-
StoreProductRequest,
|
|
39
|
-
UpdateProductChildRequest,
|
|
40
|
-
UpdateProductRequest,
|
|
41
|
-
} from '../models/index';
|
|
42
16
|
import {
|
|
17
|
+
type AssetWithOverlayLinkResourceArrayResponse,
|
|
43
18
|
AssetWithOverlayLinkResourceArrayResponseFromJSON,
|
|
44
19
|
AssetWithOverlayLinkResourceArrayResponseToJSON,
|
|
20
|
+
} from '../models/AssetWithOverlayLinkResourceArrayResponse';
|
|
21
|
+
import {
|
|
22
|
+
type AttachAccessoriesProductChildRequest,
|
|
45
23
|
AttachAccessoriesProductChildRequestFromJSON,
|
|
46
24
|
AttachAccessoriesProductChildRequestToJSON,
|
|
25
|
+
} from '../models/AttachAccessoriesProductChildRequest';
|
|
26
|
+
import {
|
|
27
|
+
type AttachDocumentsProductChildRequest,
|
|
47
28
|
AttachDocumentsProductChildRequestFromJSON,
|
|
48
29
|
AttachDocumentsProductChildRequestToJSON,
|
|
30
|
+
} from '../models/AttachDocumentsProductChildRequest';
|
|
31
|
+
import {
|
|
32
|
+
type DetachDocumentsProductChildRequest,
|
|
49
33
|
DetachDocumentsProductChildRequestFromJSON,
|
|
50
34
|
DetachDocumentsProductChildRequestToJSON,
|
|
35
|
+
} from '../models/DetachDocumentsProductChildRequest';
|
|
36
|
+
import {
|
|
37
|
+
type GenericResponse,
|
|
51
38
|
GenericResponseFromJSON,
|
|
52
39
|
GenericResponseToJSON,
|
|
40
|
+
} from '../models/GenericResponse';
|
|
41
|
+
import {
|
|
42
|
+
type GetAllProductChildRequest,
|
|
53
43
|
GetAllProductChildRequestFromJSON,
|
|
54
44
|
GetAllProductChildRequestToJSON,
|
|
45
|
+
} from '../models/GetAllProductChildRequest';
|
|
46
|
+
import {
|
|
47
|
+
type GetAllProductRequest,
|
|
55
48
|
GetAllProductRequestFromJSON,
|
|
56
49
|
GetAllProductRequestToJSON,
|
|
50
|
+
} from '../models/GetAllProductRequest';
|
|
51
|
+
import {
|
|
52
|
+
type IndexProductChildRequest,
|
|
57
53
|
IndexProductChildRequestFromJSON,
|
|
58
54
|
IndexProductChildRequestToJSON,
|
|
55
|
+
} from '../models/IndexProductChildRequest';
|
|
56
|
+
import {
|
|
57
|
+
type IndexProductRequest,
|
|
59
58
|
IndexProductRequestFromJSON,
|
|
60
59
|
IndexProductRequestToJSON,
|
|
60
|
+
} from '../models/IndexProductRequest';
|
|
61
|
+
import {
|
|
62
|
+
type PaginatedProductChildListResourceResponse,
|
|
61
63
|
PaginatedProductChildListResourceResponseFromJSON,
|
|
62
64
|
PaginatedProductChildListResourceResponseToJSON,
|
|
65
|
+
} from '../models/PaginatedProductChildListResourceResponse';
|
|
66
|
+
import {
|
|
67
|
+
type PaginatedProductListResourceResponse,
|
|
63
68
|
PaginatedProductListResourceResponseFromJSON,
|
|
64
69
|
PaginatedProductListResourceResponseToJSON,
|
|
70
|
+
} from '../models/PaginatedProductListResourceResponse';
|
|
71
|
+
import {
|
|
72
|
+
type ProductChildAttributeGroupedResource,
|
|
65
73
|
ProductChildAttributeGroupedResourceFromJSON,
|
|
66
74
|
ProductChildAttributeGroupedResourceToJSON,
|
|
75
|
+
} from '../models/ProductChildAttributeGroupedResource';
|
|
76
|
+
import {
|
|
77
|
+
type ProductChildListResourceArrayResponse,
|
|
67
78
|
ProductChildListResourceArrayResponseFromJSON,
|
|
68
79
|
ProductChildListResourceArrayResponseToJSON,
|
|
80
|
+
} from '../models/ProductChildListResourceArrayResponse';
|
|
81
|
+
import {
|
|
82
|
+
type ProductChildLiteResourceArrayResponse,
|
|
69
83
|
ProductChildLiteResourceArrayResponseFromJSON,
|
|
70
84
|
ProductChildLiteResourceArrayResponseToJSON,
|
|
85
|
+
} from '../models/ProductChildLiteResourceArrayResponse';
|
|
86
|
+
import {
|
|
87
|
+
type ProductChildResource,
|
|
71
88
|
ProductChildResourceFromJSON,
|
|
72
89
|
ProductChildResourceToJSON,
|
|
90
|
+
} from '../models/ProductChildResource';
|
|
91
|
+
import {
|
|
92
|
+
type ProductLiteResourceArrayResponse,
|
|
73
93
|
ProductLiteResourceArrayResponseFromJSON,
|
|
74
94
|
ProductLiteResourceArrayResponseToJSON,
|
|
95
|
+
} from '../models/ProductLiteResourceArrayResponse';
|
|
96
|
+
import {
|
|
97
|
+
type ProductResource,
|
|
75
98
|
ProductResourceFromJSON,
|
|
76
99
|
ProductResourceToJSON,
|
|
100
|
+
} from '../models/ProductResource';
|
|
101
|
+
import {
|
|
102
|
+
type ShowAssetsProductChildRequest,
|
|
77
103
|
ShowAssetsProductChildRequestFromJSON,
|
|
78
104
|
ShowAssetsProductChildRequestToJSON,
|
|
105
|
+
} from '../models/ShowAssetsProductChildRequest';
|
|
106
|
+
import {
|
|
107
|
+
type ShowAttributesProductChildRequest,
|
|
79
108
|
ShowAttributesProductChildRequestFromJSON,
|
|
80
109
|
ShowAttributesProductChildRequestToJSON,
|
|
110
|
+
} from '../models/ShowAttributesProductChildRequest';
|
|
111
|
+
import {
|
|
112
|
+
type StoreProductChildRequest,
|
|
81
113
|
StoreProductChildRequestFromJSON,
|
|
82
114
|
StoreProductChildRequestToJSON,
|
|
115
|
+
} from '../models/StoreProductChildRequest';
|
|
116
|
+
import {
|
|
117
|
+
type StoreProductRequest,
|
|
83
118
|
StoreProductRequestFromJSON,
|
|
84
119
|
StoreProductRequestToJSON,
|
|
120
|
+
} from '../models/StoreProductRequest';
|
|
121
|
+
import {
|
|
122
|
+
type UpdateProductChildRequest,
|
|
85
123
|
UpdateProductChildRequestFromJSON,
|
|
86
124
|
UpdateProductChildRequestToJSON,
|
|
125
|
+
} from '../models/UpdateProductChildRequest';
|
|
126
|
+
import {
|
|
127
|
+
type UpdateProductRequest,
|
|
87
128
|
UpdateProductRequestFromJSON,
|
|
88
129
|
UpdateProductRequestToJSON,
|
|
89
|
-
} from '../models/
|
|
130
|
+
} from '../models/UpdateProductRequest';
|
|
90
131
|
|
|
91
132
|
export interface AttachAccessoriesProductChildOperationRequest {
|
|
92
133
|
productChild: number;
|
|
@@ -212,7 +253,7 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
212
253
|
|
|
213
254
|
|
|
214
255
|
let urlPath = `/admin-api/product/children/{productChild}/accessory/attach`;
|
|
215
|
-
urlPath = urlPath.replace(
|
|
256
|
+
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
216
257
|
|
|
217
258
|
return {
|
|
218
259
|
path: urlPath,
|
|
@@ -260,7 +301,7 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
260
301
|
|
|
261
302
|
|
|
262
303
|
let urlPath = `/admin-api/product/children/{productChild}/compatible-product/attach`;
|
|
263
|
-
urlPath = urlPath.replace(
|
|
304
|
+
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
264
305
|
|
|
265
306
|
return {
|
|
266
307
|
path: urlPath,
|
|
@@ -308,7 +349,7 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
308
349
|
|
|
309
350
|
|
|
310
351
|
let urlPath = `/admin-api/product/children/{productChild}/attach-documents`;
|
|
311
|
-
urlPath = urlPath.replace(
|
|
352
|
+
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
312
353
|
|
|
313
354
|
return {
|
|
314
355
|
path: urlPath,
|
|
@@ -354,7 +395,7 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
354
395
|
|
|
355
396
|
|
|
356
397
|
let urlPath = `/admin-api/product/parent/{product}/delete`;
|
|
357
|
-
urlPath = urlPath.replace(
|
|
398
|
+
urlPath = urlPath.replace('{product}', encodeURIComponent(String(requestParameters['product'])));
|
|
358
399
|
|
|
359
400
|
return {
|
|
360
401
|
path: urlPath,
|
|
@@ -399,7 +440,7 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
399
440
|
|
|
400
441
|
|
|
401
442
|
let urlPath = `/admin-api/product/children/{productChild}/delete`;
|
|
402
|
-
urlPath = urlPath.replace(
|
|
443
|
+
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
403
444
|
|
|
404
445
|
return {
|
|
405
446
|
path: urlPath,
|
|
@@ -451,8 +492,8 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
451
492
|
|
|
452
493
|
|
|
453
494
|
let urlPath = `/admin-api/product/children/{productChild}/accessory/detach/{accessory}`;
|
|
454
|
-
urlPath = urlPath.replace(
|
|
455
|
-
urlPath = urlPath.replace(
|
|
495
|
+
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
496
|
+
urlPath = urlPath.replace('{accessory}', encodeURIComponent(String(requestParameters['accessory'])));
|
|
456
497
|
|
|
457
498
|
return {
|
|
458
499
|
path: urlPath,
|
|
@@ -504,8 +545,8 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
504
545
|
|
|
505
546
|
|
|
506
547
|
let urlPath = `/admin-api/product/children/{productChild}/compatible-product/detach/{compatibleProduct}`;
|
|
507
|
-
urlPath = urlPath.replace(
|
|
508
|
-
urlPath = urlPath.replace(
|
|
548
|
+
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
549
|
+
urlPath = urlPath.replace('{compatibleProduct}', encodeURIComponent(String(requestParameters['compatibleProduct'])));
|
|
509
550
|
|
|
510
551
|
return {
|
|
511
552
|
path: urlPath,
|
|
@@ -552,7 +593,7 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
552
593
|
|
|
553
594
|
|
|
554
595
|
let urlPath = `/admin-api/product/children/{productChild}/detach-documents`;
|
|
555
|
-
urlPath = urlPath.replace(
|
|
596
|
+
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
556
597
|
|
|
557
598
|
return {
|
|
558
599
|
path: urlPath,
|
|
@@ -600,7 +641,7 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
600
641
|
|
|
601
642
|
|
|
602
643
|
let urlPath = `/admin-api/product/children/{productChild}/accessory/list`;
|
|
603
|
-
urlPath = urlPath.replace(
|
|
644
|
+
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
604
645
|
|
|
605
646
|
return {
|
|
606
647
|
path: urlPath,
|
|
@@ -728,7 +769,7 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
728
769
|
|
|
729
770
|
|
|
730
771
|
let urlPath = `/admin-api/product/children/{productChild}/compatible-product/list`;
|
|
731
|
-
urlPath = urlPath.replace(
|
|
772
|
+
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
732
773
|
|
|
733
774
|
return {
|
|
734
775
|
path: urlPath,
|
|
@@ -856,7 +897,7 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
856
897
|
|
|
857
898
|
|
|
858
899
|
let urlPath = `/admin-api/product/children/{productChild}/assets`;
|
|
859
|
-
urlPath = urlPath.replace(
|
|
900
|
+
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
860
901
|
|
|
861
902
|
return {
|
|
862
903
|
path: urlPath,
|
|
@@ -904,7 +945,7 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
904
945
|
|
|
905
946
|
|
|
906
947
|
let urlPath = `/admin-api/product/children/{productChild}/attributes`;
|
|
907
|
-
urlPath = urlPath.replace(
|
|
948
|
+
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
908
949
|
|
|
909
950
|
return {
|
|
910
951
|
path: urlPath,
|
|
@@ -950,7 +991,7 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
950
991
|
|
|
951
992
|
|
|
952
993
|
let urlPath = `/admin-api/product/parent/{product}`;
|
|
953
|
-
urlPath = urlPath.replace(
|
|
994
|
+
urlPath = urlPath.replace('{product}', encodeURIComponent(String(requestParameters['product'])));
|
|
954
995
|
|
|
955
996
|
return {
|
|
956
997
|
path: urlPath,
|
|
@@ -995,7 +1036,7 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
995
1036
|
|
|
996
1037
|
|
|
997
1038
|
let urlPath = `/admin-api/product/children/{productChild}`;
|
|
998
|
-
urlPath = urlPath.replace(
|
|
1039
|
+
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
999
1040
|
|
|
1000
1041
|
return {
|
|
1001
1042
|
path: urlPath,
|
|
@@ -1122,7 +1163,7 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
1122
1163
|
|
|
1123
1164
|
|
|
1124
1165
|
let urlPath = `/admin-api/product/parent/{product}/update`;
|
|
1125
|
-
urlPath = urlPath.replace(
|
|
1166
|
+
urlPath = urlPath.replace('{product}', encodeURIComponent(String(requestParameters['product'])));
|
|
1126
1167
|
|
|
1127
1168
|
return {
|
|
1128
1169
|
path: urlPath,
|
|
@@ -1170,7 +1211,7 @@ export class ProductApi extends runtime.BaseAPI {
|
|
|
1170
1211
|
|
|
1171
1212
|
|
|
1172
1213
|
let urlPath = `/admin-api/product/children/{productChild}/update`;
|
|
1173
|
-
urlPath = urlPath.replace(
|
|
1214
|
+
urlPath = urlPath.replace('{productChild}', encodeURIComponent(String(requestParameters['productChild'])));
|
|
1174
1215
|
|
|
1175
1216
|
return {
|
|
1176
1217
|
path: urlPath,
|
|
@@ -12,57 +12,82 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
|
-
|
|
16
15
|
import * as runtime from '../runtime';
|
|
17
|
-
import type {
|
|
18
|
-
AttachProductsProductCategoryRequest,
|
|
19
|
-
DetachProductsProductCategoryRequest,
|
|
20
|
-
GenericResponse,
|
|
21
|
-
GetAllProductCategoryRequest,
|
|
22
|
-
GetHierarchyProductCategoryRequest,
|
|
23
|
-
IndexProductCategoryRequest,
|
|
24
|
-
PaginatedProductCategoryListResourceResponse,
|
|
25
|
-
PreviewAutomationRulesProductCategoryRequest,
|
|
26
|
-
PreviewAutomationRulesResource,
|
|
27
|
-
ProductCategoryHierarchyResourceArrayResponse,
|
|
28
|
-
ProductCategoryListResourceArrayResponse,
|
|
29
|
-
ProductCategoryLiteResourceArrayResponse,
|
|
30
|
-
ProductCategoryResource,
|
|
31
|
-
StoreProductCategoryRequest,
|
|
32
|
-
UpdateProductCategoryRequest,
|
|
33
|
-
} from '../models/index';
|
|
34
16
|
import {
|
|
17
|
+
type AttachProductsProductCategoryRequest,
|
|
35
18
|
AttachProductsProductCategoryRequestFromJSON,
|
|
36
19
|
AttachProductsProductCategoryRequestToJSON,
|
|
20
|
+
} from '../models/AttachProductsProductCategoryRequest';
|
|
21
|
+
import {
|
|
22
|
+
type DetachProductsProductCategoryRequest,
|
|
37
23
|
DetachProductsProductCategoryRequestFromJSON,
|
|
38
24
|
DetachProductsProductCategoryRequestToJSON,
|
|
25
|
+
} from '../models/DetachProductsProductCategoryRequest';
|
|
26
|
+
import {
|
|
27
|
+
type GenericResponse,
|
|
39
28
|
GenericResponseFromJSON,
|
|
40
29
|
GenericResponseToJSON,
|
|
30
|
+
} from '../models/GenericResponse';
|
|
31
|
+
import {
|
|
32
|
+
type GetAllProductCategoryRequest,
|
|
41
33
|
GetAllProductCategoryRequestFromJSON,
|
|
42
34
|
GetAllProductCategoryRequestToJSON,
|
|
35
|
+
} from '../models/GetAllProductCategoryRequest';
|
|
36
|
+
import {
|
|
37
|
+
type GetHierarchyProductCategoryRequest,
|
|
43
38
|
GetHierarchyProductCategoryRequestFromJSON,
|
|
44
39
|
GetHierarchyProductCategoryRequestToJSON,
|
|
40
|
+
} from '../models/GetHierarchyProductCategoryRequest';
|
|
41
|
+
import {
|
|
42
|
+
type IndexProductCategoryRequest,
|
|
45
43
|
IndexProductCategoryRequestFromJSON,
|
|
46
44
|
IndexProductCategoryRequestToJSON,
|
|
45
|
+
} from '../models/IndexProductCategoryRequest';
|
|
46
|
+
import {
|
|
47
|
+
type PaginatedProductCategoryListResourceResponse,
|
|
47
48
|
PaginatedProductCategoryListResourceResponseFromJSON,
|
|
48
49
|
PaginatedProductCategoryListResourceResponseToJSON,
|
|
50
|
+
} from '../models/PaginatedProductCategoryListResourceResponse';
|
|
51
|
+
import {
|
|
52
|
+
type PreviewAutomationRulesProductCategoryRequest,
|
|
49
53
|
PreviewAutomationRulesProductCategoryRequestFromJSON,
|
|
50
54
|
PreviewAutomationRulesProductCategoryRequestToJSON,
|
|
55
|
+
} from '../models/PreviewAutomationRulesProductCategoryRequest';
|
|
56
|
+
import {
|
|
57
|
+
type PreviewAutomationRulesResource,
|
|
51
58
|
PreviewAutomationRulesResourceFromJSON,
|
|
52
59
|
PreviewAutomationRulesResourceToJSON,
|
|
60
|
+
} from '../models/PreviewAutomationRulesResource';
|
|
61
|
+
import {
|
|
62
|
+
type ProductCategoryHierarchyResourceArrayResponse,
|
|
53
63
|
ProductCategoryHierarchyResourceArrayResponseFromJSON,
|
|
54
64
|
ProductCategoryHierarchyResourceArrayResponseToJSON,
|
|
65
|
+
} from '../models/ProductCategoryHierarchyResourceArrayResponse';
|
|
66
|
+
import {
|
|
67
|
+
type ProductCategoryListResourceArrayResponse,
|
|
55
68
|
ProductCategoryListResourceArrayResponseFromJSON,
|
|
56
69
|
ProductCategoryListResourceArrayResponseToJSON,
|
|
70
|
+
} from '../models/ProductCategoryListResourceArrayResponse';
|
|
71
|
+
import {
|
|
72
|
+
type ProductCategoryLiteResourceArrayResponse,
|
|
57
73
|
ProductCategoryLiteResourceArrayResponseFromJSON,
|
|
58
74
|
ProductCategoryLiteResourceArrayResponseToJSON,
|
|
75
|
+
} from '../models/ProductCategoryLiteResourceArrayResponse';
|
|
76
|
+
import {
|
|
77
|
+
type ProductCategoryResource,
|
|
59
78
|
ProductCategoryResourceFromJSON,
|
|
60
79
|
ProductCategoryResourceToJSON,
|
|
80
|
+
} from '../models/ProductCategoryResource';
|
|
81
|
+
import {
|
|
82
|
+
type StoreProductCategoryRequest,
|
|
61
83
|
StoreProductCategoryRequestFromJSON,
|
|
62
84
|
StoreProductCategoryRequestToJSON,
|
|
85
|
+
} from '../models/StoreProductCategoryRequest';
|
|
86
|
+
import {
|
|
87
|
+
type UpdateProductCategoryRequest,
|
|
63
88
|
UpdateProductCategoryRequestFromJSON,
|
|
64
89
|
UpdateProductCategoryRequestToJSON,
|
|
65
|
-
} from '../models/
|
|
90
|
+
} from '../models/UpdateProductCategoryRequest';
|
|
66
91
|
|
|
67
92
|
export interface AttachProductsProductCategoryOperationRequest {
|
|
68
93
|
productCategory: number;
|
|
@@ -145,7 +170,7 @@ export class ProductCategoryApi extends runtime.BaseAPI {
|
|
|
145
170
|
|
|
146
171
|
|
|
147
172
|
let urlPath = `/admin-api/product-category/{productCategory}/attach-products`;
|
|
148
|
-
urlPath = urlPath.replace(
|
|
173
|
+
urlPath = urlPath.replace('{productCategory}', encodeURIComponent(String(requestParameters['productCategory'])));
|
|
149
174
|
|
|
150
175
|
return {
|
|
151
176
|
path: urlPath,
|
|
@@ -191,7 +216,7 @@ export class ProductCategoryApi extends runtime.BaseAPI {
|
|
|
191
216
|
|
|
192
217
|
|
|
193
218
|
let urlPath = `/admin-api/product-category/{productCategory}/bulk-detach-products`;
|
|
194
|
-
urlPath = urlPath.replace(
|
|
219
|
+
urlPath = urlPath.replace('{productCategory}', encodeURIComponent(String(requestParameters['productCategory'])));
|
|
195
220
|
|
|
196
221
|
return {
|
|
197
222
|
path: urlPath,
|
|
@@ -236,7 +261,7 @@ export class ProductCategoryApi extends runtime.BaseAPI {
|
|
|
236
261
|
|
|
237
262
|
|
|
238
263
|
let urlPath = `/admin-api/product-category/{productCategory}/delete`;
|
|
239
|
-
urlPath = urlPath.replace(
|
|
264
|
+
urlPath = urlPath.replace('{productCategory}', encodeURIComponent(String(requestParameters['productCategory'])));
|
|
240
265
|
|
|
241
266
|
return {
|
|
242
267
|
path: urlPath,
|
|
@@ -283,7 +308,7 @@ export class ProductCategoryApi extends runtime.BaseAPI {
|
|
|
283
308
|
|
|
284
309
|
|
|
285
310
|
let urlPath = `/admin-api/product-category/{productCategory}/detach-products`;
|
|
286
|
-
urlPath = urlPath.replace(
|
|
311
|
+
urlPath = urlPath.replace('{productCategory}', encodeURIComponent(String(requestParameters['productCategory'])));
|
|
287
312
|
|
|
288
313
|
return {
|
|
289
314
|
path: urlPath,
|
|
@@ -331,7 +356,7 @@ export class ProductCategoryApi extends runtime.BaseAPI {
|
|
|
331
356
|
|
|
332
357
|
|
|
333
358
|
let urlPath = `/admin-api/product-category/{productCategory}/children/all`;
|
|
334
|
-
urlPath = urlPath.replace(
|
|
359
|
+
urlPath = urlPath.replace('{productCategory}', encodeURIComponent(String(requestParameters['productCategory'])));
|
|
335
360
|
|
|
336
361
|
return {
|
|
337
362
|
path: urlPath,
|
|
@@ -419,7 +444,7 @@ export class ProductCategoryApi extends runtime.BaseAPI {
|
|
|
419
444
|
|
|
420
445
|
|
|
421
446
|
let urlPath = `/admin-api/product-category/{productCategory}/children`;
|
|
422
|
-
urlPath = urlPath.replace(
|
|
447
|
+
urlPath = urlPath.replace('{productCategory}', encodeURIComponent(String(requestParameters['productCategory'])));
|
|
423
448
|
|
|
424
449
|
return {
|
|
425
450
|
path: urlPath,
|
|
@@ -585,7 +610,7 @@ export class ProductCategoryApi extends runtime.BaseAPI {
|
|
|
585
610
|
|
|
586
611
|
|
|
587
612
|
let urlPath = `/admin-api/product-category/{productCategory}`;
|
|
588
|
-
urlPath = urlPath.replace(
|
|
613
|
+
urlPath = urlPath.replace('{productCategory}', encodeURIComponent(String(requestParameters['productCategory'])));
|
|
589
614
|
|
|
590
615
|
return {
|
|
591
616
|
path: urlPath,
|
|
@@ -672,7 +697,7 @@ export class ProductCategoryApi extends runtime.BaseAPI {
|
|
|
672
697
|
|
|
673
698
|
|
|
674
699
|
let urlPath = `/admin-api/product-category/{productCategory}/update`;
|
|
675
|
-
urlPath = urlPath.replace(
|
|
700
|
+
urlPath = urlPath.replace('{productCategory}', encodeURIComponent(String(requestParameters['productCategory'])));
|
|
676
701
|
|
|
677
702
|
return {
|
|
678
703
|
path: urlPath,
|