@digital8/lighting-illusions-ts-sdk 0.0.1913 → 0.0.1914

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.
Files changed (473) hide show
  1. package/.openapi-generator/FILES +2 -140
  2. package/.openapi-generator/VERSION +1 -1
  3. package/README.md +4 -98
  4. package/dist/apis/AdminApi.d.ts +2 -1
  5. package/dist/apis/AdminApi.js +8 -7
  6. package/dist/apis/AssetApi.d.ts +6 -1
  7. package/dist/apis/AssetApi.js +15 -10
  8. package/dist/apis/AttributeApi.d.ts +22 -1
  9. package/dist/apis/AttributeApi.js +63 -42
  10. package/dist/apis/DefinitionApi.d.ts +8 -1
  11. package/dist/apis/DefinitionApi.js +21 -14
  12. package/dist/apis/DocumentApi.d.ts +12 -1
  13. package/dist/apis/DocumentApi.js +33 -22
  14. package/dist/apis/ExternalApiLogApi.d.ts +4 -1
  15. package/dist/apis/ExternalApiLogApi.js +8 -5
  16. package/dist/apis/GoogleCategoryApi.d.ts +2 -1
  17. package/dist/apis/GoogleCategoryApi.js +4 -3
  18. package/dist/apis/LabelApi.d.ts +6 -1
  19. package/dist/apis/LabelApi.js +19 -14
  20. package/dist/apis/MenuApi.d.ts +8 -1
  21. package/dist/apis/MenuApi.js +21 -14
  22. package/dist/apis/MenuItemsApi.d.ts +9 -1
  23. package/dist/apis/MenuItemsApi.js +24 -16
  24. package/dist/apis/OverlayTemplateApi.d.ts +14 -1
  25. package/dist/apis/OverlayTemplateApi.js +46 -33
  26. package/dist/apis/ProductApi.d.ts +23 -1
  27. package/dist/apis/ProductApi.js +79 -57
  28. package/dist/apis/ProductCategoryApi.d.ts +15 -1
  29. package/dist/apis/ProductCategoryApi.js +46 -32
  30. package/dist/apis/ProductRangeApi.d.ts +16 -1
  31. package/dist/apis/ProductRangeApi.js +59 -44
  32. package/dist/apis/ProductRegistrationApi.d.ts +9 -1
  33. package/dist/apis/ProductRegistrationApi.js +21 -13
  34. package/dist/apis/ProductTypeApi.d.ts +9 -1
  35. package/dist/apis/ProductTypeApi.js +31 -23
  36. package/dist/apis/RedirectApi.d.ts +2 -1
  37. package/dist/apis/RedirectApi.js +4 -3
  38. package/dist/apis/SiteApi.d.ts +11 -1
  39. package/dist/apis/SiteApi.js +29 -19
  40. package/dist/apis/StoreApi.d.ts +12 -1
  41. package/dist/apis/StoreApi.js +41 -30
  42. package/dist/apis/SupplierApi.d.ts +10 -1
  43. package/dist/apis/SupplierApi.js +31 -22
  44. package/dist/apis/TagApi.d.ts +9 -1
  45. package/dist/apis/TagApi.js +28 -20
  46. package/dist/apis/index.d.ts +0 -4
  47. package/dist/apis/index.js +0 -4
  48. package/dist/models/AddressFrontendResource.d.ts +1 -1
  49. package/dist/models/AddressFrontendResource.js +1 -3
  50. package/dist/models/AddressResource.d.ts +1 -19
  51. package/dist/models/AddressResource.js +1 -13
  52. package/dist/models/AssetFrontendResource.d.ts +12 -0
  53. package/dist/models/AssetFrontendResource.js +6 -0
  54. package/dist/models/AssetLiteResource.d.ts +14 -2
  55. package/dist/models/AssetLiteResource.js +6 -0
  56. package/dist/models/AssetResource.d.ts +14 -2
  57. package/dist/models/AssetResource.js +6 -0
  58. package/dist/models/AssetWithOverlayLinkResource.d.ts +14 -2
  59. package/dist/models/AssetWithOverlayLinkResource.js +6 -0
  60. package/dist/models/ExternalApiSyncStatus.d.ts +1 -0
  61. package/dist/models/ExternalApiSyncStatus.js +2 -1
  62. package/dist/models/MenuPosition.d.ts +0 -1
  63. package/dist/models/MenuPosition.js +1 -2
  64. package/dist/models/ProductChildSiteDetailLiteResource.d.ts +0 -7
  65. package/dist/models/ProductChildSiteDetailLiteResource.js +0 -5
  66. package/dist/models/SitePaymentConfigResource.d.ts +0 -6
  67. package/dist/models/SitePaymentConfigResource.js +0 -4
  68. package/dist/models/StoreAssetForAssetableRequest.d.ts +14 -2
  69. package/dist/models/StoreAssetForAssetableRequest.js +6 -6
  70. package/dist/models/StoreListResource.d.ts +14 -2
  71. package/dist/models/StoreListResource.js +12 -8
  72. package/dist/models/StoreMenuRequest.d.ts +0 -1
  73. package/dist/models/StoreMenuRequest.js +1 -2
  74. package/dist/models/StoreOverlayTemplateAssetRequest.d.ts +14 -2
  75. package/dist/models/StoreOverlayTemplateAssetRequest.js +6 -6
  76. package/dist/models/StoreProductCategoryRequest.d.ts +12 -0
  77. package/dist/models/StoreProductCategoryRequest.js +4 -0
  78. package/dist/models/StoreProductChildRequestAssetsInner.d.ts +14 -2
  79. package/dist/models/StoreProductChildRequestAssetsInner.js +6 -6
  80. package/dist/models/StoreResource.d.ts +13 -1
  81. package/dist/models/StoreResource.js +14 -8
  82. package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
  83. package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
  84. package/dist/models/StoreSpecialDateResource.d.ts +2 -2
  85. package/dist/models/StoreSpecialDateResource.js +5 -7
  86. package/dist/models/StoreStockType.d.ts +25 -0
  87. package/dist/models/StoreStockType.js +51 -0
  88. package/dist/models/StoreStoreRequest.d.ts +12 -0
  89. package/dist/models/StoreStoreRequest.js +4 -0
  90. package/dist/models/StoreStoreRequestAddress.d.ts +0 -6
  91. package/dist/models/StoreStoreRequestAddress.js +0 -2
  92. package/dist/models/StoreSupplierRequest.d.ts +14 -2
  93. package/dist/models/StoreSupplierRequest.js +6 -6
  94. package/dist/models/UpdateAssetForAssetableRequest.d.ts +12 -0
  95. package/dist/models/UpdateAssetForAssetableRequest.js +4 -0
  96. package/dist/models/UpdateMenuRequest.d.ts +0 -1
  97. package/dist/models/UpdateMenuRequest.js +1 -2
  98. package/dist/models/UpdateOverlayTemplateAssetRequest.d.ts +14 -2
  99. package/dist/models/UpdateOverlayTemplateAssetRequest.js +6 -6
  100. package/dist/models/UpdateProductCategoryRequest.d.ts +12 -0
  101. package/dist/models/UpdateProductCategoryRequest.js +4 -0
  102. package/dist/models/UpdateProductChildRequestAssetsInner.d.ts +14 -2
  103. package/dist/models/UpdateProductChildRequestAssetsInner.js +6 -6
  104. package/dist/models/UpdateSiteRequest.d.ts +0 -6
  105. package/dist/models/UpdateSiteRequest.js +0 -4
  106. package/dist/models/UpdateStoreRequest.d.ts +12 -0
  107. package/dist/models/UpdateStoreRequest.js +4 -0
  108. package/dist/models/UpdateSupplierRequest.d.ts +14 -2
  109. package/dist/models/UpdateSupplierRequest.js +6 -6
  110. package/dist/models/index.d.ts +1 -66
  111. package/dist/models/index.js +1 -66
  112. package/dist/runtime.js +1 -1
  113. package/docs/AddressResource.md +0 -6
  114. package/docs/AssetFrontendResource.md +4 -0
  115. package/docs/AssetLiteResource.md +5 -1
  116. package/docs/AssetResource.md +5 -1
  117. package/docs/AssetWithOverlayLinkResource.md +5 -1
  118. package/docs/ProductChildSiteDetailLiteResource.md +0 -2
  119. package/docs/SitePaymentConfigResource.md +0 -2
  120. package/docs/StoreAssetForAssetableRequest.md +4 -0
  121. package/docs/StoreListResource.md +4 -0
  122. package/docs/StoreOverlayTemplateAssetRequest.md +4 -0
  123. package/docs/StoreProductCategoryRequest.md +4 -0
  124. package/docs/StoreProductChildRequestAssetsInner.md +4 -0
  125. package/docs/StoreResource.md +4 -0
  126. package/docs/StoreSpecialDateFrontendResource.md +1 -1
  127. package/docs/StoreSpecialDateResource.md +1 -1
  128. package/docs/{AddressType.md → StoreStockType.md} +4 -4
  129. package/docs/StoreStoreRequest.md +4 -0
  130. package/docs/StoreStoreRequestAddress.md +0 -2
  131. package/docs/StoreSupplierRequest.md +4 -0
  132. package/docs/UpdateAssetForAssetableRequest.md +4 -0
  133. package/docs/UpdateOverlayTemplateAssetRequest.md +4 -0
  134. package/docs/UpdateProductCategoryRequest.md +4 -0
  135. package/docs/UpdateProductChildRequestAssetsInner.md +4 -0
  136. package/docs/UpdateSiteRequest.md +0 -2
  137. package/docs/UpdateStoreRequest.md +4 -0
  138. package/docs/UpdateSupplierRequest.md +4 -0
  139. package/package.json +1 -1
  140. package/src/apis/AdminApi.ts +5 -6
  141. package/src/apis/AssetApi.ts +19 -12
  142. package/src/apis/AttributeApi.ts +75 -36
  143. package/src/apis/DefinitionApi.ts +26 -15
  144. package/src/apis/DocumentApi.ts +40 -21
  145. package/src/apis/ExternalApiLogApi.ts +11 -8
  146. package/src/apis/GoogleCategoryApi.ts +5 -6
  147. package/src/apis/LabelApi.ts +20 -13
  148. package/src/apis/MenuApi.ts +26 -15
  149. package/src/apis/MenuItemsApi.ts +29 -16
  150. package/src/apis/OverlayTemplateApi.ts +51 -28
  151. package/src/apis/ProductApi.ts +86 -45
  152. package/src/apis/ProductCategoryApi.ts +52 -27
  153. package/src/apis/ProductRangeApi.ts +60 -33
  154. package/src/apis/ProductRegistrationApi.ts +29 -16
  155. package/src/apis/ProductTypeApi.ts +33 -20
  156. package/src/apis/RedirectApi.ts +5 -6
  157. package/src/apis/SiteApi.ts +36 -19
  158. package/src/apis/StoreApi.ts +45 -26
  159. package/src/apis/SupplierApi.ts +34 -19
  160. package/src/apis/TagApi.ts +32 -19
  161. package/src/apis/index.ts +0 -4
  162. package/src/models/AddressFrontendResource.ts +2 -3
  163. package/src/models/AddressResource.ts +2 -29
  164. package/src/models/AssetFrontendResource.ts +17 -0
  165. package/src/models/AssetLiteResource.ts +19 -2
  166. package/src/models/AssetResource.ts +19 -2
  167. package/src/models/AssetWithOverlayLinkResource.ts +19 -2
  168. package/src/models/ExternalApiSyncStatus.ts +2 -1
  169. package/src/models/MenuPosition.ts +1 -2
  170. package/src/models/ProductChildSiteDetailLiteResource.ts +0 -16
  171. package/src/models/SitePaymentConfigResource.ts +0 -9
  172. package/src/models/StoreAssetForAssetableRequest.ts +20 -6
  173. package/src/models/StoreListResource.ts +25 -9
  174. package/src/models/StoreMenuRequest.ts +1 -2
  175. package/src/models/StoreOverlayTemplateAssetRequest.ts +20 -6
  176. package/src/models/StoreProductCategoryRequest.ts +16 -0
  177. package/src/models/StoreProductChildRequestAssetsInner.ts +20 -6
  178. package/src/models/StoreResource.ts +26 -9
  179. package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
  180. package/src/models/StoreSpecialDateResource.ts +7 -8
  181. package/src/models/StoreStockType.ts +53 -0
  182. package/src/models/StoreStoreRequest.ts +16 -0
  183. package/src/models/StoreStoreRequestAddress.ts +0 -8
  184. package/src/models/StoreSupplierRequest.ts +20 -6
  185. package/src/models/UpdateAssetForAssetableRequest.ts +16 -0
  186. package/src/models/UpdateMenuRequest.ts +1 -2
  187. package/src/models/UpdateOverlayTemplateAssetRequest.ts +20 -6
  188. package/src/models/UpdateProductCategoryRequest.ts +16 -0
  189. package/src/models/UpdateProductChildRequestAssetsInner.ts +20 -6
  190. package/src/models/UpdateSiteRequest.ts +0 -9
  191. package/src/models/UpdateStoreRequest.ts +16 -0
  192. package/src/models/UpdateSupplierRequest.ts +20 -6
  193. package/src/models/index.ts +1 -66
  194. package/src/runtime.ts +1 -2
  195. package/dist/apis/CartsApi.d.ts +0 -205
  196. package/dist/apis/CartsApi.js +0 -804
  197. package/dist/apis/CustomersApi.d.ts +0 -79
  198. package/dist/apis/CustomersApi.js +0 -316
  199. package/dist/apis/OrdersApi.d.ts +0 -170
  200. package/dist/apis/OrdersApi.js +0 -678
  201. package/dist/apis/TransactionsApi.d.ts +0 -64
  202. package/dist/apis/TransactionsApi.js +0 -257
  203. package/dist/models/AddressType.d.ts +0 -25
  204. package/dist/models/AddressType.js +0 -51
  205. package/dist/models/AdminOrderResource.d.ts +0 -262
  206. package/dist/models/AdminOrderResource.js +0 -187
  207. package/dist/models/AdminOrderResourceArrayResponse.d.ts +0 -33
  208. package/dist/models/AdminOrderResourceArrayResponse.js +0 -50
  209. package/dist/models/AttachCouponCartRequest.d.ts +0 -32
  210. package/dist/models/AttachCouponCartRequest.js +0 -51
  211. package/dist/models/AttachItemCartRequest.d.ts +0 -44
  212. package/dist/models/AttachItemCartRequest.js +0 -57
  213. package/dist/models/AttachItemOrderRequest.d.ts +0 -44
  214. package/dist/models/AttachItemOrderRequest.js +0 -57
  215. package/dist/models/CartCouponResource.d.ts +0 -50
  216. package/dist/models/CartCouponResource.js +0 -63
  217. package/dist/models/CartCouponResourceArrayResponse.d.ts +0 -33
  218. package/dist/models/CartCouponResourceArrayResponse.js +0 -50
  219. package/dist/models/CartListResource.d.ts +0 -131
  220. package/dist/models/CartListResource.js +0 -104
  221. package/dist/models/CartListResourceArrayResponse.d.ts +0 -33
  222. package/dist/models/CartListResourceArrayResponse.js +0 -50
  223. package/dist/models/CartOrderSource.d.ts +0 -29
  224. package/dist/models/CartOrderSource.js +0 -55
  225. package/dist/models/CartResource.d.ts +0 -229
  226. package/dist/models/CartResource.js +0 -166
  227. package/dist/models/CartResourceArrayResponse.d.ts +0 -33
  228. package/dist/models/CartResourceArrayResponse.js +0 -50
  229. package/dist/models/CartStatus.d.ts +0 -26
  230. package/dist/models/CartStatus.js +0 -52
  231. package/dist/models/CustomerListResource.d.ts +0 -70
  232. package/dist/models/CustomerListResource.js +0 -75
  233. package/dist/models/CustomerListResourceArrayResponse.d.ts +0 -33
  234. package/dist/models/CustomerListResourceArrayResponse.js +0 -50
  235. package/dist/models/CustomerResource.d.ts +0 -70
  236. package/dist/models/CustomerResource.js +0 -75
  237. package/dist/models/CustomerResourceArrayResponse.d.ts +0 -33
  238. package/dist/models/CustomerResourceArrayResponse.js +0 -50
  239. package/dist/models/DetachCouponCartRequest.d.ts +0 -32
  240. package/dist/models/DetachCouponCartRequest.js +0 -51
  241. package/dist/models/DiscountType.d.ts +0 -26
  242. package/dist/models/DiscountType.js +0 -52
  243. package/dist/models/DiscountValueType.d.ts +0 -25
  244. package/dist/models/DiscountValueType.js +0 -51
  245. package/dist/models/GetAllOrderRequest.d.ts +0 -104
  246. package/dist/models/GetAllOrderRequest.js +0 -84
  247. package/dist/models/IndexCartRequest.d.ts +0 -154
  248. package/dist/models/IndexCartRequest.js +0 -105
  249. package/dist/models/IndexCustomerRequest.d.ts +0 -99
  250. package/dist/models/IndexCustomerRequest.js +0 -83
  251. package/dist/models/IndexOrderRequest.d.ts +0 -140
  252. package/dist/models/IndexOrderRequest.js +0 -96
  253. package/dist/models/IndexTransactionRequest.d.ts +0 -127
  254. package/dist/models/IndexTransactionRequest.js +0 -91
  255. package/dist/models/LiAddressResource.d.ts +0 -86
  256. package/dist/models/LiAddressResource.js +0 -83
  257. package/dist/models/LiAddressResourceArrayResponse.d.ts +0 -33
  258. package/dist/models/LiAddressResourceArrayResponse.js +0 -50
  259. package/dist/models/LineItemDiscountResource.d.ts +0 -50
  260. package/dist/models/LineItemDiscountResource.js +0 -63
  261. package/dist/models/LineItemDiscountResourceArrayResponse.d.ts +0 -33
  262. package/dist/models/LineItemDiscountResourceArrayResponse.js +0 -50
  263. package/dist/models/LineItemListResource.d.ts +0 -82
  264. package/dist/models/LineItemListResource.js +0 -83
  265. package/dist/models/LineItemListResourceArrayResponse.d.ts +0 -33
  266. package/dist/models/LineItemListResourceArrayResponse.js +0 -50
  267. package/dist/models/OrderListResource.d.ts +0 -101
  268. package/dist/models/OrderListResource.js +0 -90
  269. package/dist/models/OrderListResourceArrayResponse.d.ts +0 -33
  270. package/dist/models/OrderListResourceArrayResponse.js +0 -50
  271. package/dist/models/OrderLiteResource.d.ts +0 -62
  272. package/dist/models/OrderLiteResource.js +0 -67
  273. package/dist/models/OrderLiteResourceArrayResponse.d.ts +0 -33
  274. package/dist/models/OrderLiteResourceArrayResponse.js +0 -50
  275. package/dist/models/PaginatedCartListResourceResponse.d.ts +0 -40
  276. package/dist/models/PaginatedCartListResourceResponse.js +0 -57
  277. package/dist/models/PaginatedCustomerListResourceResponse.d.ts +0 -40
  278. package/dist/models/PaginatedCustomerListResourceResponse.js +0 -57
  279. package/dist/models/PaginatedOrderListResourceResponse.d.ts +0 -40
  280. package/dist/models/PaginatedOrderListResourceResponse.js +0 -57
  281. package/dist/models/PaginatedTransactionListResourceResponse.d.ts +0 -40
  282. package/dist/models/PaginatedTransactionListResourceResponse.js +0 -57
  283. package/dist/models/PaginatedTransactionResourceResponse.d.ts +0 -40
  284. package/dist/models/PaginatedTransactionResourceResponse.js +0 -57
  285. package/dist/models/PaymentMethod.d.ts +0 -30
  286. package/dist/models/PaymentMethod.js +0 -56
  287. package/dist/models/PaymentSource.d.ts +0 -26
  288. package/dist/models/PaymentSource.js +0 -52
  289. package/dist/models/PaymentStatus.d.ts +0 -25
  290. package/dist/models/PaymentStatus.js +0 -51
  291. package/dist/models/ProductChildCartLiteResource.d.ts +0 -88
  292. package/dist/models/ProductChildCartLiteResource.js +0 -89
  293. package/dist/models/ProductChildCartLiteResourceArrayResponse.d.ts +0 -33
  294. package/dist/models/ProductChildCartLiteResourceArrayResponse.js +0 -50
  295. package/dist/models/RefundTransactionRequest.d.ts +0 -38
  296. package/dist/models/RefundTransactionRequest.js +0 -53
  297. package/dist/models/ShippingType.d.ts +0 -28
  298. package/dist/models/ShippingType.js +0 -54
  299. package/dist/models/StoreCartRequest.d.ts +0 -160
  300. package/dist/models/StoreCartRequest.js +0 -112
  301. package/dist/models/StoreCartRequestCustomer.d.ts +0 -50
  302. package/dist/models/StoreCartRequestCustomer.js +0 -55
  303. package/dist/models/StoreCartRequestItemsInner.d.ts +0 -44
  304. package/dist/models/StoreCartRequestItemsInner.js +0 -57
  305. package/dist/models/StoreCartRequestShippingAddress.d.ts +0 -80
  306. package/dist/models/StoreCartRequestShippingAddress.js +0 -65
  307. package/dist/models/StoreCustomerRequest.d.ts +0 -56
  308. package/dist/models/StoreCustomerRequest.js +0 -65
  309. package/dist/models/StoreTransactionRequest.d.ts +0 -81
  310. package/dist/models/StoreTransactionRequest.js +0 -78
  311. package/dist/models/TransactionListResource.d.ts +0 -152
  312. package/dist/models/TransactionListResource.js +0 -109
  313. package/dist/models/TransactionListResourceArrayResponse.d.ts +0 -33
  314. package/dist/models/TransactionListResourceArrayResponse.js +0 -50
  315. package/dist/models/TransactionResource.d.ts +0 -152
  316. package/dist/models/TransactionResource.js +0 -109
  317. package/dist/models/TransactionResourceArrayResponse.d.ts +0 -33
  318. package/dist/models/TransactionResourceArrayResponse.js +0 -50
  319. package/dist/models/TransactionType.d.ts +0 -25
  320. package/dist/models/TransactionType.js +0 -51
  321. package/dist/models/UpdateCartRequest.d.ts +0 -135
  322. package/dist/models/UpdateCartRequest.js +0 -99
  323. package/dist/models/UpdateCustomerRequest.d.ts +0 -56
  324. package/dist/models/UpdateCustomerRequest.js +0 -63
  325. package/dist/models/UpdateItemCartRequest.d.ts +0 -38
  326. package/dist/models/UpdateItemCartRequest.js +0 -53
  327. package/dist/models/UpdateItemOrderRequest.d.ts +0 -38
  328. package/dist/models/UpdateItemOrderRequest.js +0 -53
  329. package/dist/models/UpdateOrderRequest.d.ts +0 -111
  330. package/dist/models/UpdateOrderRequest.js +0 -99
  331. package/dist/models/UpdateOrderRequestBillingAddress.d.ts +0 -80
  332. package/dist/models/UpdateOrderRequestBillingAddress.js +0 -67
  333. package/dist/models/UpdateOrderRequestShippingAddress.d.ts +0 -80
  334. package/dist/models/UpdateOrderRequestShippingAddress.js +0 -67
  335. package/docs/AdminOrderResource.md +0 -110
  336. package/docs/AdminOrderResourceArrayResponse.md +0 -34
  337. package/docs/AttachCouponCartRequest.md +0 -34
  338. package/docs/AttachItemCartRequest.md +0 -38
  339. package/docs/AttachItemOrderRequest.md +0 -38
  340. package/docs/CartCouponResource.md +0 -40
  341. package/docs/CartCouponResourceArrayResponse.md +0 -34
  342. package/docs/CartListResource.md +0 -66
  343. package/docs/CartListResourceArrayResponse.md +0 -34
  344. package/docs/CartOrderSource.md +0 -32
  345. package/docs/CartResource.md +0 -98
  346. package/docs/CartResourceArrayResponse.md +0 -34
  347. package/docs/CartStatus.md +0 -32
  348. package/docs/CartsApi.md +0 -821
  349. package/docs/CustomerListResource.md +0 -46
  350. package/docs/CustomerListResourceArrayResponse.md +0 -34
  351. package/docs/CustomerResource.md +0 -46
  352. package/docs/CustomerResourceArrayResponse.md +0 -34
  353. package/docs/CustomersApi.md +0 -275
  354. package/docs/DetachCouponCartRequest.md +0 -34
  355. package/docs/DiscountType.md +0 -32
  356. package/docs/DiscountValueType.md +0 -32
  357. package/docs/GetAllOrderRequest.md +0 -52
  358. package/docs/IndexCartRequest.md +0 -66
  359. package/docs/IndexCustomerRequest.md +0 -50
  360. package/docs/IndexOrderRequest.md +0 -64
  361. package/docs/IndexTransactionRequest.md +0 -60
  362. package/docs/LiAddressResource.md +0 -52
  363. package/docs/LiAddressResourceArrayResponse.md +0 -34
  364. package/docs/LineItemDiscountResource.md +0 -40
  365. package/docs/LineItemDiscountResourceArrayResponse.md +0 -34
  366. package/docs/LineItemListResource.md +0 -50
  367. package/docs/LineItemListResourceArrayResponse.md +0 -34
  368. package/docs/OrderListResource.md +0 -56
  369. package/docs/OrderListResourceArrayResponse.md +0 -34
  370. package/docs/OrderLiteResource.md +0 -44
  371. package/docs/OrderLiteResourceArrayResponse.md +0 -34
  372. package/docs/OrdersApi.md +0 -675
  373. package/docs/PaginatedCartListResourceResponse.md +0 -36
  374. package/docs/PaginatedCustomerListResourceResponse.md +0 -36
  375. package/docs/PaginatedOrderListResourceResponse.md +0 -36
  376. package/docs/PaginatedTransactionListResourceResponse.md +0 -36
  377. package/docs/PaginatedTransactionResourceResponse.md +0 -36
  378. package/docs/PaymentMethod.md +0 -32
  379. package/docs/PaymentSource.md +0 -32
  380. package/docs/PaymentStatus.md +0 -32
  381. package/docs/ProductChildCartLiteResource.md +0 -52
  382. package/docs/ProductChildCartLiteResourceArrayResponse.md +0 -34
  383. package/docs/RefundTransactionRequest.md +0 -36
  384. package/docs/ShippingType.md +0 -32
  385. package/docs/StoreCartRequest.md +0 -68
  386. package/docs/StoreCartRequestCustomer.md +0 -40
  387. package/docs/StoreCartRequestItemsInner.md +0 -38
  388. package/docs/StoreCartRequestShippingAddress.md +0 -50
  389. package/docs/StoreCustomerRequest.md +0 -42
  390. package/docs/StoreTransactionRequest.md +0 -46
  391. package/docs/TransactionListResource.md +0 -74
  392. package/docs/TransactionListResourceArrayResponse.md +0 -34
  393. package/docs/TransactionResource.md +0 -74
  394. package/docs/TransactionResourceArrayResponse.md +0 -34
  395. package/docs/TransactionType.md +0 -32
  396. package/docs/TransactionsApi.md +0 -209
  397. package/docs/UpdateCartRequest.md +0 -60
  398. package/docs/UpdateCustomerRequest.md +0 -42
  399. package/docs/UpdateItemCartRequest.md +0 -36
  400. package/docs/UpdateItemOrderRequest.md +0 -36
  401. package/docs/UpdateOrderRequest.md +0 -52
  402. package/docs/UpdateOrderRequestBillingAddress.md +0 -50
  403. package/docs/UpdateOrderRequestShippingAddress.md +0 -50
  404. package/src/apis/CartsApi.ts +0 -676
  405. package/src/apis/CustomersApi.ts +0 -232
  406. package/src/apis/OrdersApi.ts +0 -552
  407. package/src/apis/TransactionsApi.ts +0 -186
  408. package/src/models/AddressType.ts +0 -53
  409. package/src/models/AdminOrderResource.ts +0 -414
  410. package/src/models/AdminOrderResourceArrayResponse.ts +0 -73
  411. package/src/models/AttachCouponCartRequest.ts +0 -66
  412. package/src/models/AttachItemCartRequest.ts +0 -83
  413. package/src/models/AttachItemOrderRequest.ts +0 -83
  414. package/src/models/CartCouponResource.ts +0 -93
  415. package/src/models/CartCouponResourceArrayResponse.ts +0 -73
  416. package/src/models/CartListResource.ts +0 -225
  417. package/src/models/CartListResourceArrayResponse.ts +0 -73
  418. package/src/models/CartOrderSource.ts +0 -57
  419. package/src/models/CartResource.ts +0 -381
  420. package/src/models/CartResourceArrayResponse.ts +0 -73
  421. package/src/models/CartStatus.ts +0 -54
  422. package/src/models/CustomerListResource.ts +0 -134
  423. package/src/models/CustomerListResourceArrayResponse.ts +0 -73
  424. package/src/models/CustomerResource.ts +0 -134
  425. package/src/models/CustomerResourceArrayResponse.ts +0 -73
  426. package/src/models/DetachCouponCartRequest.ts +0 -66
  427. package/src/models/DiscountType.ts +0 -54
  428. package/src/models/DiscountValueType.ts +0 -53
  429. package/src/models/GetAllOrderRequest.ts +0 -159
  430. package/src/models/IndexCartRequest.ts +0 -224
  431. package/src/models/IndexCustomerRequest.ts +0 -152
  432. package/src/models/IndexOrderRequest.ts +0 -207
  433. package/src/models/IndexTransactionRequest.ts +0 -190
  434. package/src/models/LiAddressResource.ts +0 -145
  435. package/src/models/LiAddressResourceArrayResponse.ts +0 -73
  436. package/src/models/LineItemDiscountResource.ts +0 -93
  437. package/src/models/LineItemDiscountResourceArrayResponse.ts +0 -73
  438. package/src/models/LineItemListResource.ts +0 -152
  439. package/src/models/LineItemListResourceArrayResponse.ts +0 -73
  440. package/src/models/OrderListResource.ts +0 -183
  441. package/src/models/OrderListResourceArrayResponse.ts +0 -73
  442. package/src/models/OrderLiteResource.ts +0 -109
  443. package/src/models/OrderLiteResourceArrayResponse.ts +0 -73
  444. package/src/models/PaginatedCartListResourceResponse.ts +0 -90
  445. package/src/models/PaginatedCustomerListResourceResponse.ts +0 -90
  446. package/src/models/PaginatedOrderListResourceResponse.ts +0 -90
  447. package/src/models/PaginatedTransactionListResourceResponse.ts +0 -90
  448. package/src/models/PaginatedTransactionResourceResponse.ts +0 -90
  449. package/src/models/PaymentMethod.ts +0 -58
  450. package/src/models/PaymentSource.ts +0 -54
  451. package/src/models/PaymentStatus.ts +0 -53
  452. package/src/models/ProductChildCartLiteResource.ts +0 -162
  453. package/src/models/ProductChildCartLiteResourceArrayResponse.ts +0 -73
  454. package/src/models/RefundTransactionRequest.ts +0 -74
  455. package/src/models/ShippingType.ts +0 -56
  456. package/src/models/StoreCartRequest.ts +0 -252
  457. package/src/models/StoreCartRequestCustomer.ts +0 -89
  458. package/src/models/StoreCartRequestItemsInner.ts +0 -83
  459. package/src/models/StoreCartRequestShippingAddress.ts +0 -129
  460. package/src/models/StoreCustomerRequest.ts +0 -101
  461. package/src/models/StoreTransactionRequest.ts +0 -131
  462. package/src/models/TransactionListResource.ts +0 -235
  463. package/src/models/TransactionListResourceArrayResponse.ts +0 -73
  464. package/src/models/TransactionResource.ts +0 -235
  465. package/src/models/TransactionResourceArrayResponse.ts +0 -73
  466. package/src/models/TransactionType.ts +0 -53
  467. package/src/models/UpdateCartRequest.ts +0 -211
  468. package/src/models/UpdateCustomerRequest.ts +0 -100
  469. package/src/models/UpdateItemCartRequest.ts +0 -74
  470. package/src/models/UpdateItemOrderRequest.ts +0 -74
  471. package/src/models/UpdateOrderRequest.ts +0 -183
  472. package/src/models/UpdateOrderRequestBillingAddress.ts +0 -130
  473. 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/index';
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(`{${"overlayTemplate"}}`, encodeURIComponent(String(requestParameters['overlayTemplate'])));
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(`{${"overlayTemplate"}}`, encodeURIComponent(String(requestParameters['overlayTemplate'])));
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(`{${"overlayTemplateAsset"}}`, encodeURIComponent(String(requestParameters['overlayTemplateAsset'])));
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(`{${"overlayTemplate"}}`, encodeURIComponent(String(requestParameters['overlayTemplate'])));
290
- urlPath = urlPath.replace(`{${"asset"}}`, encodeURIComponent(String(requestParameters['asset'])));
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(`{${"overlayTemplate"}}`, encodeURIComponent(String(requestParameters['overlayTemplate'])));
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(`{${"overlayTemplate"}}`, encodeURIComponent(String(requestParameters['overlayTemplate'])));
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(`{${"overlayTemplate"}}`, encodeURIComponent(String(requestParameters['overlayTemplate'])));
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(`{${"overlayTemplate"}}`, encodeURIComponent(String(requestParameters['overlayTemplate'])));
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(`{${"overlayTemplateAsset"}}`, encodeURIComponent(String(requestParameters['overlayTemplateAsset'])));
709
+ urlPath = urlPath.replace('{overlayTemplateAsset}', encodeURIComponent(String(requestParameters['overlayTemplateAsset'])));
687
710
 
688
711
  return {
689
712
  path: urlPath,
@@ -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/index';
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(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
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(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
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(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
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(`{${"product"}}`, encodeURIComponent(String(requestParameters['product'])));
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(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
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(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
455
- urlPath = urlPath.replace(`{${"accessory"}}`, encodeURIComponent(String(requestParameters['accessory'])));
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(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
508
- urlPath = urlPath.replace(`{${"compatibleProduct"}}`, encodeURIComponent(String(requestParameters['compatibleProduct'])));
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(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
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(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
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(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
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(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
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(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
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(`{${"product"}}`, encodeURIComponent(String(requestParameters['product'])));
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(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
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(`{${"product"}}`, encodeURIComponent(String(requestParameters['product'])));
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(`{${"productChild"}}`, encodeURIComponent(String(requestParameters['productChild'])));
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/index';
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(`{${"productCategory"}}`, encodeURIComponent(String(requestParameters['productCategory'])));
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(`{${"productCategory"}}`, encodeURIComponent(String(requestParameters['productCategory'])));
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(`{${"productCategory"}}`, encodeURIComponent(String(requestParameters['productCategory'])));
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(`{${"productCategory"}}`, encodeURIComponent(String(requestParameters['productCategory'])));
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(`{${"productCategory"}}`, encodeURIComponent(String(requestParameters['productCategory'])));
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(`{${"productCategory"}}`, encodeURIComponent(String(requestParameters['productCategory'])));
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(`{${"productCategory"}}`, encodeURIComponent(String(requestParameters['productCategory'])));
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(`{${"productCategory"}}`, encodeURIComponent(String(requestParameters['productCategory'])));
700
+ urlPath = urlPath.replace('{productCategory}', encodeURIComponent(String(requestParameters['productCategory'])));
676
701
 
677
702
  return {
678
703
  path: urlPath,