@digital8/lighting-illusions-ts-sdk 0.0.1539 → 0.0.1540

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 (487) hide show
  1. package/.openapi-generator/FILES +208 -2
  2. package/README.md +144 -4
  3. package/dist/apis/AttributeApi.d.ts +16 -1
  4. package/dist/apis/AttributeApi.js +58 -0
  5. package/dist/apis/LabelApi.d.ts +109 -0
  6. package/dist/apis/LabelApi.js +433 -0
  7. package/dist/apis/ProductApi.js +1 -1
  8. package/dist/apis/ProductRangeApi.d.ts +269 -0
  9. package/dist/apis/ProductRangeApi.js +1043 -0
  10. package/dist/apis/ProductRegistrationApi.d.ts +95 -0
  11. package/dist/apis/ProductRegistrationApi.js +377 -0
  12. package/dist/apis/StoreApi.d.ts +190 -0
  13. package/dist/apis/StoreApi.js +744 -0
  14. package/dist/apis/SupplierApi.d.ts +33 -1
  15. package/dist/apis/SupplierApi.js +122 -0
  16. package/dist/apis/index.d.ts +4 -0
  17. package/dist/apis/index.js +4 -0
  18. package/dist/models/AddressFrontendResource.d.ts +74 -0
  19. package/dist/models/AddressFrontendResource.js +77 -0
  20. package/dist/models/AddressFrontendResourceArrayResponse.d.ts +33 -0
  21. package/dist/models/AddressFrontendResourceArrayResponse.js +50 -0
  22. package/dist/models/AddressResource.d.ts +80 -0
  23. package/dist/models/AddressResource.js +79 -0
  24. package/dist/models/AddressResourceArrayResponse.d.ts +33 -0
  25. package/dist/models/AddressResourceArrayResponse.js +50 -0
  26. package/dist/models/AssetLiteResource.d.ts +12 -0
  27. package/dist/models/AssetLiteResource.js +6 -0
  28. package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +32 -0
  29. package/dist/models/AttachAccessoriesProductRangeRequest.js +51 -0
  30. package/dist/models/AttachAttributesProductRangeRequest.d.ts +33 -0
  31. package/dist/models/AttachAttributesProductRangeRequest.js +52 -0
  32. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +38 -0
  33. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +53 -0
  34. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +2 -1
  35. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +2 -1
  36. package/dist/models/AttachDocumentsProductRangeRequest.d.ts +33 -0
  37. package/dist/models/AttachDocumentsProductRangeRequest.js +52 -0
  38. package/dist/models/AttachStoresSupplierRequest.d.ts +32 -0
  39. package/dist/models/AttachStoresSupplierRequest.js +51 -0
  40. package/dist/models/AttachSuppliersStoreRequest.d.ts +32 -0
  41. package/dist/models/AttachSuppliersStoreRequest.js +51 -0
  42. package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +32 -0
  43. package/dist/models/DetachAccessoriesProductRangeRequest.js +51 -0
  44. package/dist/models/DetachAttributesProductRangeRequest.d.ts +32 -0
  45. package/dist/models/DetachAttributesProductRangeRequest.js +51 -0
  46. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +2 -1
  47. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +2 -1
  48. package/dist/models/DetachDocumentsProductRangeRequest.d.ts +32 -0
  49. package/dist/models/DetachDocumentsProductRangeRequest.js +51 -0
  50. package/dist/models/DetachStoresSupplierRequest.d.ts +32 -0
  51. package/dist/models/DetachStoresSupplierRequest.js +51 -0
  52. package/dist/models/DetachSuppliersStoreRequest.d.ts +32 -0
  53. package/dist/models/DetachSuppliersStoreRequest.js +51 -0
  54. package/dist/models/GetAllDocumentRequest.d.ts +2 -1
  55. package/dist/models/GetAllDocumentRequest.js +2 -1
  56. package/dist/models/GetAllProductChildRequest.d.ts +1 -0
  57. package/dist/models/GetAllProductChildRequest.js +1 -0
  58. package/dist/models/GetAllProductRangeRequest.d.ts +98 -0
  59. package/dist/models/GetAllProductRangeRequest.js +82 -0
  60. package/dist/models/GetAllProductRegistrationRequest.d.ts +88 -0
  61. package/dist/models/GetAllProductRegistrationRequest.js +80 -0
  62. package/dist/models/GetAllStoreRequest.d.ts +93 -0
  63. package/dist/models/GetAllStoreRequest.js +81 -0
  64. package/dist/models/IndexAttributeRequest.d.ts +2 -0
  65. package/dist/models/IndexAttributeRequest.js +3 -1
  66. package/dist/models/IndexDocumentRequest.d.ts +2 -1
  67. package/dist/models/IndexDocumentRequest.js +2 -1
  68. package/dist/models/IndexLabelRequest.d.ts +109 -0
  69. package/dist/models/IndexLabelRequest.js +92 -0
  70. package/dist/models/IndexModelAttributeRequest.d.ts +118 -0
  71. package/dist/models/IndexModelAttributeRequest.js +93 -0
  72. package/dist/models/IndexProductChildRequest.d.ts +3 -0
  73. package/dist/models/IndexProductChildRequest.js +3 -0
  74. package/dist/models/IndexProductRangeRequest.d.ts +110 -0
  75. package/dist/models/IndexProductRangeRequest.js +86 -0
  76. package/dist/models/IndexProductRegistrationRequest.d.ts +131 -0
  77. package/dist/models/IndexProductRegistrationRequest.js +98 -0
  78. package/dist/models/IndexStoreRequest.d.ts +105 -0
  79. package/dist/models/IndexStoreRequest.js +85 -0
  80. package/dist/models/LabelListResource.d.ts +75 -0
  81. package/dist/models/LabelListResource.js +74 -0
  82. package/dist/models/LabelListResourceArrayResponse.d.ts +33 -0
  83. package/dist/models/LabelListResourceArrayResponse.js +50 -0
  84. package/dist/models/LabelLiteResource.d.ts +56 -0
  85. package/dist/models/LabelLiteResource.js +65 -0
  86. package/dist/models/LabelLiteResourceArrayResponse.d.ts +33 -0
  87. package/dist/models/LabelLiteResourceArrayResponse.js +50 -0
  88. package/dist/models/LabelResource.d.ts +23 -4
  89. package/dist/models/LabelResource.js +19 -8
  90. package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
  91. package/dist/models/ListAssetsProductRegistrationRequest.js +83 -0
  92. package/dist/models/ModelAttributeListResource.d.ts +64 -0
  93. package/dist/models/ModelAttributeListResource.js +71 -0
  94. package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +33 -0
  95. package/dist/models/ModelAttributeListResourceArrayResponse.js +50 -0
  96. package/dist/models/ModelAttributeResource.d.ts +6 -0
  97. package/dist/models/ModelAttributeResource.js +2 -0
  98. package/dist/models/PaginatedLabelListResourceResponse.d.ts +40 -0
  99. package/dist/models/PaginatedLabelListResourceResponse.js +57 -0
  100. package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +40 -0
  101. package/dist/models/PaginatedModelAttributeListResourceResponse.js +57 -0
  102. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +40 -0
  103. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +57 -0
  104. package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +40 -0
  105. package/dist/models/PaginatedProductRangeListResourceResponse.js +57 -0
  106. package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +40 -0
  107. package/dist/models/PaginatedProductRangeLiteResourceResponse.js +57 -0
  108. package/dist/models/PaginatedProductRangeResourceResponse.d.ts +40 -0
  109. package/dist/models/PaginatedProductRangeResourceResponse.js +57 -0
  110. package/dist/models/PaginatedProductRangeSearchResultResourceResponse.d.ts +40 -0
  111. package/dist/models/PaginatedProductRangeSearchResultResourceResponse.js +57 -0
  112. package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +40 -0
  113. package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +57 -0
  114. package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +40 -0
  115. package/dist/models/PaginatedProductRegistrationListResourceResponse.js +57 -0
  116. package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
  117. package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
  118. package/dist/models/PaginatedStoreListResourceResponse.d.ts +40 -0
  119. package/dist/models/PaginatedStoreListResourceResponse.js +57 -0
  120. package/dist/models/ProductChildListResource.d.ts +6 -0
  121. package/dist/models/ProductChildListResource.js +2 -0
  122. package/dist/models/ProductRangeAggregationResource.d.ts +44 -0
  123. package/dist/models/ProductRangeAggregationResource.js +59 -0
  124. package/dist/models/ProductRangeAggregationResourceArrayResponse.d.ts +33 -0
  125. package/dist/models/ProductRangeAggregationResourceArrayResponse.js +50 -0
  126. package/dist/models/ProductRangeFrontendListResource.d.ts +62 -0
  127. package/dist/models/ProductRangeFrontendListResource.js +71 -0
  128. package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +33 -0
  129. package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +50 -0
  130. package/dist/models/ProductRangeFrontendResource.d.ts +117 -0
  131. package/dist/models/ProductRangeFrontendResource.js +106 -0
  132. package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +33 -0
  133. package/dist/models/ProductRangeFrontendResourceArrayResponse.js +50 -0
  134. package/dist/models/ProductRangeListResource.d.ts +66 -0
  135. package/dist/models/ProductRangeListResource.js +75 -0
  136. package/dist/models/ProductRangeListResourceArrayResponse.d.ts +33 -0
  137. package/dist/models/ProductRangeListResourceArrayResponse.js +50 -0
  138. package/dist/models/ProductRangeLiteResource.d.ts +38 -0
  139. package/dist/models/ProductRangeLiteResource.js +55 -0
  140. package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +33 -0
  141. package/dist/models/ProductRangeLiteResourceArrayResponse.js +50 -0
  142. package/dist/models/ProductRangeResource.d.ts +89 -0
  143. package/dist/models/ProductRangeResource.js +86 -0
  144. package/dist/models/ProductRangeResourceArrayResponse.d.ts +33 -0
  145. package/dist/models/ProductRangeResourceArrayResponse.js +50 -0
  146. package/dist/models/ProductRangeSearchResponseResource.d.ts +47 -0
  147. package/dist/models/ProductRangeSearchResponseResource.js +62 -0
  148. package/dist/models/ProductRangeSearchResponseResourceArrayResponse.d.ts +33 -0
  149. package/dist/models/ProductRangeSearchResponseResourceArrayResponse.js +50 -0
  150. package/dist/models/ProductRangeSearchResponseResourceMeta.d.ts +50 -0
  151. package/dist/models/ProductRangeSearchResponseResourceMeta.js +63 -0
  152. package/dist/models/ProductRangeSearchResultResource.d.ts +80 -0
  153. package/dist/models/ProductRangeSearchResultResource.js +83 -0
  154. package/dist/models/ProductRangeSearchResultResourceArrayResponse.d.ts +33 -0
  155. package/dist/models/ProductRangeSearchResultResourceArrayResponse.js +50 -0
  156. package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +44 -0
  157. package/dist/models/ProductRangeSiteDetailLiteResource.js +59 -0
  158. package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +33 -0
  159. package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +50 -0
  160. package/dist/models/ProductRangeSiteDetailResource.d.ts +101 -0
  161. package/dist/models/ProductRangeSiteDetailResource.js +98 -0
  162. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +33 -0
  163. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +50 -0
  164. package/dist/models/ProductRangeSortBy.d.ts +27 -0
  165. package/dist/models/ProductRangeSortBy.js +53 -0
  166. package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
  167. package/dist/models/ProductRegistrationAssetResource.js +58 -0
  168. package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
  169. package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
  170. package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
  171. package/dist/models/ProductRegistrationAssetType.js +51 -0
  172. package/dist/models/ProductRegistrationCustomerResource.d.ts +62 -0
  173. package/dist/models/ProductRegistrationCustomerResource.js +65 -0
  174. package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
  175. package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
  176. package/dist/models/ProductRegistrationListResource.d.ts +57 -0
  177. package/dist/models/ProductRegistrationListResource.js +64 -0
  178. package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +33 -0
  179. package/dist/models/ProductRegistrationListResourceArrayResponse.js +50 -0
  180. package/dist/models/ProductRegistrationLiteResource.d.ts +38 -0
  181. package/dist/models/ProductRegistrationLiteResource.js +53 -0
  182. package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +33 -0
  183. package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +50 -0
  184. package/dist/models/ProductRegistrationProductChildResource.d.ts +50 -0
  185. package/dist/models/ProductRegistrationProductChildResource.js +63 -0
  186. package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +33 -0
  187. package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +50 -0
  188. package/dist/models/ProductRegistrationResource.d.ts +90 -0
  189. package/dist/models/ProductRegistrationResource.js +81 -0
  190. package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
  191. package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -0
  192. package/dist/models/ProductSearchResultResource.d.ts +6 -0
  193. package/dist/models/ProductSearchResultResource.js +4 -0
  194. package/dist/models/StoreAssetForAssetableRequest.d.ts +2 -0
  195. package/dist/models/StoreAssetForAssetableRequest.js +3 -1
  196. package/dist/models/StoreFrontendResource.d.ts +98 -0
  197. package/dist/models/StoreFrontendResource.js +89 -0
  198. package/dist/models/StoreFrontendResourceArrayResponse.d.ts +33 -0
  199. package/dist/models/StoreFrontendResourceArrayResponse.js +50 -0
  200. package/dist/models/StoreLabelRequest.d.ts +74 -0
  201. package/dist/models/StoreLabelRequest.js +71 -0
  202. package/dist/models/StoreListResource.d.ts +81 -0
  203. package/dist/models/StoreListResource.js +80 -0
  204. package/dist/models/StoreListResourceArrayResponse.d.ts +33 -0
  205. package/dist/models/StoreListResourceArrayResponse.js +50 -0
  206. package/dist/models/StoreLiteResource.d.ts +45 -0
  207. package/dist/models/StoreLiteResource.js +58 -0
  208. package/dist/models/StoreLiteResourceArrayResponse.d.ts +33 -0
  209. package/dist/models/StoreLiteResourceArrayResponse.js +50 -0
  210. package/dist/models/StoreProductRangeRequest.d.ts +52 -0
  211. package/dist/models/StoreProductRangeRequest.js +59 -0
  212. package/dist/models/StoreProductRangeRequestSitesInner.d.ts +92 -0
  213. package/dist/models/StoreProductRangeRequestSitesInner.js +75 -0
  214. package/dist/models/StoreResource.d.ts +102 -0
  215. package/dist/models/StoreResource.js +95 -0
  216. package/dist/models/StoreResourceArrayResponse.d.ts +33 -0
  217. package/dist/models/StoreResourceArrayResponse.js +50 -0
  218. package/dist/models/StoreSpecialDateFrontendResource.d.ts +68 -0
  219. package/dist/models/StoreSpecialDateFrontendResource.js +73 -0
  220. package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.d.ts +33 -0
  221. package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.js +50 -0
  222. package/dist/models/StoreSpecialDateResource.d.ts +68 -0
  223. package/dist/models/StoreSpecialDateResource.js +73 -0
  224. package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +33 -0
  225. package/dist/models/StoreSpecialDateResourceArrayResponse.js +50 -0
  226. package/dist/models/StoreStoreRequest.d.ts +94 -0
  227. package/dist/models/StoreStoreRequest.js +85 -0
  228. package/dist/models/StoreStoreRequestAddress.d.ts +68 -0
  229. package/dist/models/StoreStoreRequestAddress.js +73 -0
  230. package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +62 -0
  231. package/dist/models/StoreStoreRequestSpecialDatesInner.js +61 -0
  232. package/dist/models/StoreStoreSpecialDateRequest.d.ts +62 -0
  233. package/dist/models/StoreStoreSpecialDateRequest.js +61 -0
  234. package/dist/models/UpdateLabelRequest.d.ts +74 -0
  235. package/dist/models/UpdateLabelRequest.js +63 -0
  236. package/dist/models/UpdateProductRangeRequest.d.ts +59 -0
  237. package/dist/models/UpdateProductRangeRequest.js +62 -0
  238. package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +38 -0
  239. package/dist/models/UpdateProductRangeRequestAttributesInner.js +51 -0
  240. package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
  241. package/dist/models/UpdateProductTypeRequest.js +9 -9
  242. package/dist/models/UpdateStoreRequest.d.ts +94 -0
  243. package/dist/models/UpdateStoreRequest.js +85 -0
  244. package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +56 -0
  245. package/dist/models/UpdateStoreRequestSpecialDatesInner.js +57 -0
  246. package/dist/models/index.d.ts +100 -1
  247. package/dist/models/index.js +100 -1
  248. package/docs/AddressFrontendResource.md +48 -0
  249. package/docs/AddressFrontendResourceArrayResponse.md +34 -0
  250. package/docs/AddressResource.md +50 -0
  251. package/docs/AddressResourceArrayResponse.md +34 -0
  252. package/docs/AssetLiteResource.md +4 -0
  253. package/docs/AttachAccessoriesProductRangeRequest.md +34 -0
  254. package/docs/AttachAttributesProductRangeRequest.md +34 -0
  255. package/docs/AttachAttributesProductRangeRequestAttributesInner.md +36 -0
  256. package/docs/AttachDocumentsProductRangeRequest.md +34 -0
  257. package/docs/AttachStoresSupplierRequest.md +34 -0
  258. package/docs/AttachSuppliersStoreRequest.md +34 -0
  259. package/docs/AttributeApi.md +66 -0
  260. package/docs/DetachAccessoriesProductRangeRequest.md +34 -0
  261. package/docs/DetachAttributesProductRangeRequest.md +34 -0
  262. package/docs/DetachDocumentsProductRangeRequest.md +34 -0
  263. package/docs/DetachStoresSupplierRequest.md +34 -0
  264. package/docs/DetachSuppliersStoreRequest.md +34 -0
  265. package/docs/GetAllProductRangeRequest.md +50 -0
  266. package/docs/GetAllProductRegistrationRequest.md +46 -0
  267. package/docs/GetAllStoreRequest.md +48 -0
  268. package/docs/IndexLabelRequest.md +50 -0
  269. package/docs/IndexModelAttributeRequest.md +54 -0
  270. package/docs/IndexProductRangeRequest.md +54 -0
  271. package/docs/IndexProductRegistrationRequest.md +58 -0
  272. package/docs/IndexStoreRequest.md +52 -0
  273. package/docs/LabelApi.md +407 -0
  274. package/docs/LabelListResource.md +48 -0
  275. package/docs/LabelListResourceArrayResponse.md +34 -0
  276. package/docs/LabelLiteResource.md +42 -0
  277. package/docs/LabelLiteResourceArrayResponse.md +34 -0
  278. package/docs/LabelResource.md +12 -6
  279. package/docs/ListAssetsProductRegistrationRequest.md +52 -0
  280. package/docs/ModelAttributeListResource.md +44 -0
  281. package/docs/ModelAttributeListResourceArrayResponse.md +34 -0
  282. package/docs/ModelAttributeResource.md +2 -0
  283. package/docs/PaginatedLabelListResourceResponse.md +36 -0
  284. package/docs/PaginatedModelAttributeListResourceResponse.md +36 -0
  285. package/docs/PaginatedProductRangeFrontendListResourceResponse.md +36 -0
  286. package/docs/PaginatedProductRangeListResourceResponse.md +36 -0
  287. package/docs/PaginatedProductRangeLiteResourceResponse.md +36 -0
  288. package/docs/PaginatedProductRangeResourceResponse.md +36 -0
  289. package/docs/PaginatedProductRangeSearchResultResourceResponse.md +36 -0
  290. package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
  291. package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
  292. package/docs/PaginatedProductRegistrationResourceResponse.md +36 -0
  293. package/docs/PaginatedStoreListResourceResponse.md +36 -0
  294. package/docs/ProductApi.md +1 -1
  295. package/docs/ProductChildListResource.md +2 -0
  296. package/docs/ProductRangeAggregationResource.md +38 -0
  297. package/docs/ProductRangeAggregationResourceArrayResponse.md +34 -0
  298. package/docs/ProductRangeApi.md +1097 -0
  299. package/docs/ProductRangeFrontendListResource.md +44 -0
  300. package/docs/ProductRangeFrontendListResourceArrayResponse.md +34 -0
  301. package/docs/ProductRangeFrontendResource.md +62 -0
  302. package/docs/ProductRangeFrontendResourceArrayResponse.md +34 -0
  303. package/docs/ProductRangeListResource.md +44 -0
  304. package/docs/ProductRangeListResourceArrayResponse.md +34 -0
  305. package/docs/ProductRangeLiteResource.md +36 -0
  306. package/docs/ProductRangeLiteResourceArrayResponse.md +34 -0
  307. package/docs/ProductRangeResource.md +52 -0
  308. package/docs/ProductRangeResourceArrayResponse.md +34 -0
  309. package/docs/ProductRangeSearchResponseResource.md +38 -0
  310. package/docs/ProductRangeSearchResponseResourceArrayResponse.md +34 -0
  311. package/docs/ProductRangeSearchResponseResourceMeta.md +40 -0
  312. package/docs/ProductRangeSearchResultResource.md +50 -0
  313. package/docs/ProductRangeSearchResultResourceArrayResponse.md +34 -0
  314. package/docs/ProductRangeSiteDetailLiteResource.md +38 -0
  315. package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +34 -0
  316. package/docs/ProductRangeSiteDetailResource.md +56 -0
  317. package/docs/ProductRangeSiteDetailResourceArrayResponse.md +34 -0
  318. package/docs/ProductRangeSortBy.md +32 -0
  319. package/docs/ProductRegistrationApi.md +344 -0
  320. package/docs/ProductRegistrationAssetResource.md +38 -0
  321. package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
  322. package/docs/ProductRegistrationAssetType.md +32 -0
  323. package/docs/ProductRegistrationCustomerResource.md +44 -0
  324. package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
  325. package/docs/ProductRegistrationListResource.md +42 -0
  326. package/docs/ProductRegistrationListResourceArrayResponse.md +34 -0
  327. package/docs/ProductRegistrationLiteResource.md +36 -0
  328. package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
  329. package/docs/ProductRegistrationProductChildResource.md +40 -0
  330. package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
  331. package/docs/ProductRegistrationResource.md +52 -0
  332. package/docs/ProductRegistrationResourceArrayResponse.md +34 -0
  333. package/docs/ProductSearchResultResource.md +2 -0
  334. package/docs/StoreApi.md +755 -0
  335. package/docs/StoreFrontendResource.md +56 -0
  336. package/docs/StoreFrontendResourceArrayResponse.md +34 -0
  337. package/docs/StoreLabelRequest.md +48 -0
  338. package/docs/StoreListResource.md +50 -0
  339. package/docs/StoreListResourceArrayResponse.md +34 -0
  340. package/docs/StoreLiteResource.md +38 -0
  341. package/docs/StoreLiteResourceArrayResponse.md +34 -0
  342. package/docs/StoreProductRangeRequest.md +40 -0
  343. package/docs/StoreProductRangeRequestSitesInner.md +54 -0
  344. package/docs/StoreResource.md +56 -0
  345. package/docs/StoreResourceArrayResponse.md +34 -0
  346. package/docs/StoreSpecialDateFrontendResource.md +46 -0
  347. package/docs/StoreSpecialDateFrontendResourceArrayResponse.md +34 -0
  348. package/docs/StoreSpecialDateResource.md +46 -0
  349. package/docs/StoreSpecialDateResourceArrayResponse.md +34 -0
  350. package/docs/StoreStoreRequest.md +54 -0
  351. package/docs/StoreStoreRequestAddress.md +46 -0
  352. package/docs/StoreStoreRequestSpecialDatesInner.md +44 -0
  353. package/docs/StoreStoreSpecialDateRequest.md +44 -0
  354. package/docs/SupplierApi.md +138 -0
  355. package/docs/UpdateLabelRequest.md +48 -0
  356. package/docs/UpdateProductRangeRequest.md +42 -0
  357. package/docs/{UpdateProductTypeRequestPerformanceValuesInner.md → UpdateProductRangeRequestAttributesInner.md} +4 -4
  358. package/docs/UpdateProductTypeRequest.md +4 -4
  359. package/docs/UpdateStoreRequest.md +54 -0
  360. package/docs/UpdateStoreRequestSpecialDatesInner.md +42 -0
  361. package/package.json +1 -1
  362. package/src/apis/AttributeApi.ts +50 -0
  363. package/src/apis/LabelApi.ts +328 -0
  364. package/src/apis/ProductApi.ts +1 -1
  365. package/src/apis/ProductRangeApi.ts +888 -0
  366. package/src/apis/ProductRegistrationApi.ts +297 -0
  367. package/src/apis/StoreApi.ts +625 -0
  368. package/src/apis/SupplierApi.ts +112 -0
  369. package/src/apis/index.ts +4 -0
  370. package/src/models/AddressFrontendResource.ts +128 -0
  371. package/src/models/AddressFrontendResourceArrayResponse.ts +73 -0
  372. package/src/models/AddressResource.ts +136 -0
  373. package/src/models/AddressResourceArrayResponse.ts +73 -0
  374. package/src/models/AssetLiteResource.ts +17 -0
  375. package/src/models/AttachAccessoriesProductRangeRequest.ts +66 -0
  376. package/src/models/AttachAttributesProductRangeRequest.ts +74 -0
  377. package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +74 -0
  378. package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +2 -1
  379. package/src/models/AttachDocumentsProductRangeRequest.ts +74 -0
  380. package/src/models/AttachStoresSupplierRequest.ts +66 -0
  381. package/src/models/AttachSuppliersStoreRequest.ts +66 -0
  382. package/src/models/DetachAccessoriesProductRangeRequest.ts +66 -0
  383. package/src/models/DetachAttributesProductRangeRequest.ts +66 -0
  384. package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +2 -1
  385. package/src/models/DetachDocumentsProductRangeRequest.ts +66 -0
  386. package/src/models/DetachStoresSupplierRequest.ts +66 -0
  387. package/src/models/DetachSuppliersStoreRequest.ts +66 -0
  388. package/src/models/GetAllDocumentRequest.ts +2 -1
  389. package/src/models/GetAllProductChildRequest.ts +1 -0
  390. package/src/models/GetAllProductRangeRequest.ts +151 -0
  391. package/src/models/GetAllProductRegistrationRequest.ts +137 -0
  392. package/src/models/GetAllStoreRequest.ts +144 -0
  393. package/src/models/IndexAttributeRequest.ts +3 -1
  394. package/src/models/IndexDocumentRequest.ts +2 -1
  395. package/src/models/IndexLabelRequest.ts +163 -0
  396. package/src/models/IndexModelAttributeRequest.ts +176 -0
  397. package/src/models/IndexProductChildRequest.ts +3 -0
  398. package/src/models/IndexProductRangeRequest.ts +167 -0
  399. package/src/models/IndexProductRegistrationRequest.ts +193 -0
  400. package/src/models/IndexStoreRequest.ts +160 -0
  401. package/src/models/LabelListResource.ts +134 -0
  402. package/src/models/LabelListResourceArrayResponse.ts +73 -0
  403. package/src/models/LabelLiteResource.ts +101 -0
  404. package/src/models/LabelLiteResourceArrayResponse.ts +73 -0
  405. package/src/models/LabelResource.ts +46 -12
  406. package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
  407. package/src/models/ModelAttributeListResource.ts +125 -0
  408. package/src/models/ModelAttributeListResourceArrayResponse.ts +73 -0
  409. package/src/models/ModelAttributeResource.ts +8 -0
  410. package/src/models/PaginatedLabelListResourceResponse.ts +90 -0
  411. package/src/models/PaginatedModelAttributeListResourceResponse.ts +90 -0
  412. package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +90 -0
  413. package/src/models/PaginatedProductRangeListResourceResponse.ts +90 -0
  414. package/src/models/PaginatedProductRangeLiteResourceResponse.ts +90 -0
  415. package/src/models/PaginatedProductRangeResourceResponse.ts +90 -0
  416. package/src/models/PaginatedProductRangeSearchResultResourceResponse.ts +90 -0
  417. package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
  418. package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
  419. package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
  420. package/src/models/PaginatedStoreListResourceResponse.ts +90 -0
  421. package/src/models/ProductChildListResource.ts +8 -0
  422. package/src/models/ProductRangeAggregationResource.ts +84 -0
  423. package/src/models/ProductRangeAggregationResourceArrayResponse.ts +73 -0
  424. package/src/models/ProductRangeFrontendListResource.ts +111 -0
  425. package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +73 -0
  426. package/src/models/ProductRangeFrontendResource.ts +199 -0
  427. package/src/models/ProductRangeFrontendResourceArrayResponse.ts +73 -0
  428. package/src/models/ProductRangeListResource.ts +140 -0
  429. package/src/models/ProductRangeListResourceArrayResponse.ts +73 -0
  430. package/src/models/ProductRangeLiteResource.ts +75 -0
  431. package/src/models/ProductRangeLiteResourceArrayResponse.ts +73 -0
  432. package/src/models/ProductRangeResource.ts +167 -0
  433. package/src/models/ProductRangeResourceArrayResponse.ts +73 -0
  434. package/src/models/ProductRangeSearchResponseResource.ts +106 -0
  435. package/src/models/ProductRangeSearchResponseResourceArrayResponse.ts +73 -0
  436. package/src/models/ProductRangeSearchResponseResourceMeta.ts +93 -0
  437. package/src/models/ProductRangeSearchResultResource.ts +138 -0
  438. package/src/models/ProductRangeSearchResultResourceArrayResponse.ts +73 -0
  439. package/src/models/ProductRangeSiteDetailLiteResource.ts +84 -0
  440. package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +73 -0
  441. package/src/models/ProductRangeSiteDetailResource.ts +187 -0
  442. package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +73 -0
  443. package/src/models/ProductRangeSortBy.ts +55 -0
  444. package/src/models/ProductRegistrationAssetResource.ts +91 -0
  445. package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
  446. package/src/models/ProductRegistrationAssetType.ts +53 -0
  447. package/src/models/ProductRegistrationCustomerResource.ts +108 -0
  448. package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
  449. package/src/models/ProductRegistrationListResource.ts +108 -0
  450. package/src/models/ProductRegistrationListResourceArrayResponse.ts +73 -0
  451. package/src/models/ProductRegistrationLiteResource.ts +74 -0
  452. package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +73 -0
  453. package/src/models/ProductRegistrationProductChildResource.ts +93 -0
  454. package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +73 -0
  455. package/src/models/ProductRegistrationResource.ts +171 -0
  456. package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
  457. package/src/models/ProductSearchResultResource.ts +9 -0
  458. package/src/models/StoreAssetForAssetableRequest.ts +3 -1
  459. package/src/models/StoreFrontendResource.ts +162 -0
  460. package/src/models/StoreFrontendResourceArrayResponse.ts +73 -0
  461. package/src/models/StoreLabelRequest.ts +125 -0
  462. package/src/models/StoreListResource.ts +144 -0
  463. package/src/models/StoreListResourceArrayResponse.ts +73 -0
  464. package/src/models/StoreLiteResource.ts +91 -0
  465. package/src/models/StoreLiteResourceArrayResponse.ts +73 -0
  466. package/src/models/StoreProductRangeRequest.ts +105 -0
  467. package/src/models/StoreProductRangeRequestSitesInner.ts +148 -0
  468. package/src/models/StoreResource.ts +192 -0
  469. package/src/models/StoreResourceArrayResponse.ts +73 -0
  470. package/src/models/StoreSpecialDateFrontendResource.ts +119 -0
  471. package/src/models/StoreSpecialDateFrontendResourceArrayResponse.ts +73 -0
  472. package/src/models/StoreSpecialDateResource.ts +119 -0
  473. package/src/models/StoreSpecialDateResourceArrayResponse.ts +73 -0
  474. package/src/models/StoreStoreRequest.ts +167 -0
  475. package/src/models/StoreStoreRequestAddress.ts +119 -0
  476. package/src/models/StoreStoreRequestSpecialDatesInner.ts +106 -0
  477. package/src/models/StoreStoreSpecialDateRequest.ts +106 -0
  478. package/src/models/UpdateLabelRequest.ts +121 -0
  479. package/src/models/UpdateProductRangeRequest.ts +120 -0
  480. package/src/models/UpdateProductRangeRequestAttributesInner.ts +73 -0
  481. package/src/models/UpdateProductTypeRequest.ts +22 -22
  482. package/src/models/UpdateStoreRequest.ts +167 -0
  483. package/src/models/UpdateStoreRequestSpecialDatesInner.ts +97 -0
  484. package/src/models/index.ts +100 -1
  485. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +0 -38
  486. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +0 -51
  487. package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +0 -73
@@ -0,0 +1,106 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface StoreStoreRequestSpecialDatesInner
20
+ */
21
+ export interface StoreStoreRequestSpecialDatesInner {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof StoreStoreRequestSpecialDatesInner
26
+ */
27
+ name: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof StoreStoreRequestSpecialDatesInner
32
+ */
33
+ hours?: string;
34
+ /**
35
+ *
36
+ * @type {Date}
37
+ * @memberof StoreStoreRequestSpecialDatesInner
38
+ */
39
+ date?: Date;
40
+ /**
41
+ *
42
+ * @type {boolean}
43
+ * @memberof StoreStoreRequestSpecialDatesInner
44
+ */
45
+ closed?: boolean;
46
+ /**
47
+ *
48
+ * @type {Date}
49
+ * @memberof StoreStoreRequestSpecialDatesInner
50
+ */
51
+ displayStartDate?: Date;
52
+ /**
53
+ *
54
+ * @type {Date}
55
+ * @memberof StoreStoreRequestSpecialDatesInner
56
+ */
57
+ displayEndDate?: Date;
58
+ }
59
+
60
+ /**
61
+ * Check if a given object implements the StoreStoreRequestSpecialDatesInner interface.
62
+ */
63
+ export function instanceOfStoreStoreRequestSpecialDatesInner(value: object): value is StoreStoreRequestSpecialDatesInner {
64
+ if (!('name' in value) || value['name'] === undefined) return false;
65
+ return true;
66
+ }
67
+
68
+ export function StoreStoreRequestSpecialDatesInnerFromJSON(json: any): StoreStoreRequestSpecialDatesInner {
69
+ return StoreStoreRequestSpecialDatesInnerFromJSONTyped(json, false);
70
+ }
71
+
72
+ export function StoreStoreRequestSpecialDatesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreStoreRequestSpecialDatesInner {
73
+ if (json == null) {
74
+ return json;
75
+ }
76
+ return {
77
+
78
+ 'name': json['name'],
79
+ 'hours': json['hours'] == null ? undefined : json['hours'],
80
+ 'date': json['date'] == null ? undefined : (new Date(json['date'])),
81
+ 'closed': json['closed'] == null ? undefined : json['closed'],
82
+ 'displayStartDate': json['display_start_date'] == null ? undefined : (new Date(json['display_start_date'])),
83
+ 'displayEndDate': json['display_end_date'] == null ? undefined : (new Date(json['display_end_date'])),
84
+ };
85
+ }
86
+
87
+ export function StoreStoreRequestSpecialDatesInnerToJSON(json: any): StoreStoreRequestSpecialDatesInner {
88
+ return StoreStoreRequestSpecialDatesInnerToJSONTyped(json, false);
89
+ }
90
+
91
+ export function StoreStoreRequestSpecialDatesInnerToJSONTyped(value?: StoreStoreRequestSpecialDatesInner | null, ignoreDiscriminator: boolean = false): any {
92
+ if (value == null) {
93
+ return value;
94
+ }
95
+
96
+ return {
97
+
98
+ 'name': value['name'],
99
+ 'hours': value['hours'],
100
+ 'date': value['date'] == null ? value['date'] : value['date'].toISOString(),
101
+ 'closed': value['closed'],
102
+ 'display_start_date': value['displayStartDate'] == null ? value['displayStartDate'] : value['displayStartDate'].toISOString(),
103
+ 'display_end_date': value['displayEndDate'] == null ? value['displayEndDate'] : value['displayEndDate'].toISOString(),
104
+ };
105
+ }
106
+
@@ -0,0 +1,106 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface StoreStoreSpecialDateRequest
20
+ */
21
+ export interface StoreStoreSpecialDateRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof StoreStoreSpecialDateRequest
26
+ */
27
+ name: string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof StoreStoreSpecialDateRequest
32
+ */
33
+ hours?: string;
34
+ /**
35
+ *
36
+ * @type {Date}
37
+ * @memberof StoreStoreSpecialDateRequest
38
+ */
39
+ date?: Date;
40
+ /**
41
+ *
42
+ * @type {boolean}
43
+ * @memberof StoreStoreSpecialDateRequest
44
+ */
45
+ closed?: boolean;
46
+ /**
47
+ *
48
+ * @type {Date}
49
+ * @memberof StoreStoreSpecialDateRequest
50
+ */
51
+ displayStartDate?: Date;
52
+ /**
53
+ *
54
+ * @type {Date}
55
+ * @memberof StoreStoreSpecialDateRequest
56
+ */
57
+ displayEndDate?: Date;
58
+ }
59
+
60
+ /**
61
+ * Check if a given object implements the StoreStoreSpecialDateRequest interface.
62
+ */
63
+ export function instanceOfStoreStoreSpecialDateRequest(value: object): value is StoreStoreSpecialDateRequest {
64
+ if (!('name' in value) || value['name'] === undefined) return false;
65
+ return true;
66
+ }
67
+
68
+ export function StoreStoreSpecialDateRequestFromJSON(json: any): StoreStoreSpecialDateRequest {
69
+ return StoreStoreSpecialDateRequestFromJSONTyped(json, false);
70
+ }
71
+
72
+ export function StoreStoreSpecialDateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreStoreSpecialDateRequest {
73
+ if (json == null) {
74
+ return json;
75
+ }
76
+ return {
77
+
78
+ 'name': json['name'],
79
+ 'hours': json['hours'] == null ? undefined : json['hours'],
80
+ 'date': json['date'] == null ? undefined : (new Date(json['date'])),
81
+ 'closed': json['closed'] == null ? undefined : json['closed'],
82
+ 'displayStartDate': json['display_start_date'] == null ? undefined : (new Date(json['display_start_date'])),
83
+ 'displayEndDate': json['display_end_date'] == null ? undefined : (new Date(json['display_end_date'])),
84
+ };
85
+ }
86
+
87
+ export function StoreStoreSpecialDateRequestToJSON(json: any): StoreStoreSpecialDateRequest {
88
+ return StoreStoreSpecialDateRequestToJSONTyped(json, false);
89
+ }
90
+
91
+ export function StoreStoreSpecialDateRequestToJSONTyped(value?: StoreStoreSpecialDateRequest | null, ignoreDiscriminator: boolean = false): any {
92
+ if (value == null) {
93
+ return value;
94
+ }
95
+
96
+ return {
97
+
98
+ 'name': value['name'],
99
+ 'hours': value['hours'],
100
+ 'date': value['date'] == null ? value['date'] : value['date'].toISOString(),
101
+ 'closed': value['closed'],
102
+ 'display_start_date': value['displayStartDate'] == null ? value['displayStartDate'] : value['displayStartDate'].toISOString(),
103
+ 'display_end_date': value['displayEndDate'] == null ? value['displayEndDate'] : value['displayEndDate'].toISOString(),
104
+ };
105
+ }
106
+
@@ -0,0 +1,121 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface UpdateLabelRequest
20
+ */
21
+ export interface UpdateLabelRequest {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof UpdateLabelRequest
26
+ */
27
+ siteId?: number;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof UpdateLabelRequest
32
+ */
33
+ shortName?: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof UpdateLabelRequest
38
+ */
39
+ longName?: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof UpdateLabelRequest
44
+ */
45
+ cartButtonText?: string;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof UpdateLabelRequest
50
+ */
51
+ colour?: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof UpdateLabelRequest
56
+ */
57
+ textColour?: string;
58
+ /**
59
+ *
60
+ * @type {Date}
61
+ * @memberof UpdateLabelRequest
62
+ */
63
+ startDate?: Date;
64
+ /**
65
+ *
66
+ * @type {Date}
67
+ * @memberof UpdateLabelRequest
68
+ */
69
+ endDate?: Date;
70
+ }
71
+
72
+ /**
73
+ * Check if a given object implements the UpdateLabelRequest interface.
74
+ */
75
+ export function instanceOfUpdateLabelRequest(value: object): value is UpdateLabelRequest {
76
+ return true;
77
+ }
78
+
79
+ export function UpdateLabelRequestFromJSON(json: any): UpdateLabelRequest {
80
+ return UpdateLabelRequestFromJSONTyped(json, false);
81
+ }
82
+
83
+ export function UpdateLabelRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateLabelRequest {
84
+ if (json == null) {
85
+ return json;
86
+ }
87
+ return {
88
+
89
+ 'siteId': json['site_id'] == null ? undefined : json['site_id'],
90
+ 'shortName': json['short_name'] == null ? undefined : json['short_name'],
91
+ 'longName': json['long_name'] == null ? undefined : json['long_name'],
92
+ 'cartButtonText': json['cart_button_text'] == null ? undefined : json['cart_button_text'],
93
+ 'colour': json['colour'] == null ? undefined : json['colour'],
94
+ 'textColour': json['text_colour'] == null ? undefined : json['text_colour'],
95
+ 'startDate': json['start_date'] == null ? undefined : (new Date(json['start_date'])),
96
+ 'endDate': json['end_date'] == null ? undefined : (new Date(json['end_date'])),
97
+ };
98
+ }
99
+
100
+ export function UpdateLabelRequestToJSON(json: any): UpdateLabelRequest {
101
+ return UpdateLabelRequestToJSONTyped(json, false);
102
+ }
103
+
104
+ export function UpdateLabelRequestToJSONTyped(value?: UpdateLabelRequest | null, ignoreDiscriminator: boolean = false): any {
105
+ if (value == null) {
106
+ return value;
107
+ }
108
+
109
+ return {
110
+
111
+ 'site_id': value['siteId'],
112
+ 'short_name': value['shortName'],
113
+ 'long_name': value['longName'],
114
+ 'cart_button_text': value['cartButtonText'],
115
+ 'colour': value['colour'],
116
+ 'text_colour': value['textColour'],
117
+ 'start_date': value['startDate'] == null ? value['startDate'] : value['startDate'].toISOString(),
118
+ 'end_date': value['endDate'] == null ? value['endDate'] : value['endDate'].toISOString(),
119
+ };
120
+ }
121
+
@@ -0,0 +1,120 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ import type { UpdateProductChildRequestAssetsInner } from './UpdateProductChildRequestAssetsInner';
17
+ import {
18
+ UpdateProductChildRequestAssetsInnerFromJSON,
19
+ UpdateProductChildRequestAssetsInnerFromJSONTyped,
20
+ UpdateProductChildRequestAssetsInnerToJSON,
21
+ UpdateProductChildRequestAssetsInnerToJSONTyped,
22
+ } from './UpdateProductChildRequestAssetsInner';
23
+ import type { StoreProductRangeRequestSitesInner } from './StoreProductRangeRequestSitesInner';
24
+ import {
25
+ StoreProductRangeRequestSitesInnerFromJSON,
26
+ StoreProductRangeRequestSitesInnerFromJSONTyped,
27
+ StoreProductRangeRequestSitesInnerToJSON,
28
+ StoreProductRangeRequestSitesInnerToJSONTyped,
29
+ } from './StoreProductRangeRequestSitesInner';
30
+ import type { UpdateProductRangeRequestAttributesInner } from './UpdateProductRangeRequestAttributesInner';
31
+ import {
32
+ UpdateProductRangeRequestAttributesInnerFromJSON,
33
+ UpdateProductRangeRequestAttributesInnerFromJSONTyped,
34
+ UpdateProductRangeRequestAttributesInnerToJSON,
35
+ UpdateProductRangeRequestAttributesInnerToJSONTyped,
36
+ } from './UpdateProductRangeRequestAttributesInner';
37
+
38
+ /**
39
+ *
40
+ * @export
41
+ * @interface UpdateProductRangeRequest
42
+ */
43
+ export interface UpdateProductRangeRequest {
44
+ /**
45
+ *
46
+ * @type {string}
47
+ * @memberof UpdateProductRangeRequest
48
+ */
49
+ name: string;
50
+ /**
51
+ *
52
+ * @type {number}
53
+ * @memberof UpdateProductRangeRequest
54
+ */
55
+ supplierId?: number;
56
+ /**
57
+ *
58
+ * @type {Array<UpdateProductRangeRequestAttributesInner>}
59
+ * @memberof UpdateProductRangeRequest
60
+ */
61
+ attributes?: Array<UpdateProductRangeRequestAttributesInner>;
62
+ /**
63
+ *
64
+ * @type {Array<StoreProductRangeRequestSitesInner>}
65
+ * @memberof UpdateProductRangeRequest
66
+ */
67
+ sites?: Array<StoreProductRangeRequestSitesInner>;
68
+ /**
69
+ *
70
+ * @type {Array<UpdateProductChildRequestAssetsInner>}
71
+ * @memberof UpdateProductRangeRequest
72
+ */
73
+ assets?: Array<UpdateProductChildRequestAssetsInner>;
74
+ }
75
+
76
+ /**
77
+ * Check if a given object implements the UpdateProductRangeRequest interface.
78
+ */
79
+ export function instanceOfUpdateProductRangeRequest(value: object): value is UpdateProductRangeRequest {
80
+ if (!('name' in value) || value['name'] === undefined) return false;
81
+ return true;
82
+ }
83
+
84
+ export function UpdateProductRangeRequestFromJSON(json: any): UpdateProductRangeRequest {
85
+ return UpdateProductRangeRequestFromJSONTyped(json, false);
86
+ }
87
+
88
+ export function UpdateProductRangeRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProductRangeRequest {
89
+ if (json == null) {
90
+ return json;
91
+ }
92
+ return {
93
+
94
+ 'name': json['name'],
95
+ 'supplierId': json['supplier_id'] == null ? undefined : json['supplier_id'],
96
+ 'attributes': json['attributes'] == null ? undefined : ((json['attributes'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
97
+ 'sites': json['sites'] == null ? undefined : ((json['sites'] as Array<any>).map(StoreProductRangeRequestSitesInnerFromJSON)),
98
+ 'assets': json['assets'] == null ? undefined : ((json['assets'] as Array<any>).map(UpdateProductChildRequestAssetsInnerFromJSON)),
99
+ };
100
+ }
101
+
102
+ export function UpdateProductRangeRequestToJSON(json: any): UpdateProductRangeRequest {
103
+ return UpdateProductRangeRequestToJSONTyped(json, false);
104
+ }
105
+
106
+ export function UpdateProductRangeRequestToJSONTyped(value?: UpdateProductRangeRequest | null, ignoreDiscriminator: boolean = false): any {
107
+ if (value == null) {
108
+ return value;
109
+ }
110
+
111
+ return {
112
+
113
+ 'name': value['name'],
114
+ 'supplier_id': value['supplierId'],
115
+ 'attributes': value['attributes'] == null ? undefined : ((value['attributes'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
116
+ 'sites': value['sites'] == null ? undefined : ((value['sites'] as Array<any>).map(StoreProductRangeRequestSitesInnerToJSON)),
117
+ 'assets': value['assets'] == null ? undefined : ((value['assets'] as Array<any>).map(UpdateProductChildRequestAssetsInnerToJSON)),
118
+ };
119
+ }
120
+
@@ -0,0 +1,73 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * My API
5
+ * API documentation for my Laravel app
6
+ *
7
+ * The version of the OpenAPI document: 1.0.0
8
+ *
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+ import { mapValues } from '../runtime';
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface UpdateProductRangeRequestAttributesInner
20
+ */
21
+ export interface UpdateProductRangeRequestAttributesInner {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof UpdateProductRangeRequestAttributesInner
26
+ */
27
+ attributeId?: number;
28
+ /**
29
+ *
30
+ * @type {number}
31
+ * @memberof UpdateProductRangeRequestAttributesInner
32
+ */
33
+ order?: number;
34
+ }
35
+
36
+ /**
37
+ * Check if a given object implements the UpdateProductRangeRequestAttributesInner interface.
38
+ */
39
+ export function instanceOfUpdateProductRangeRequestAttributesInner(value: object): value is UpdateProductRangeRequestAttributesInner {
40
+ return true;
41
+ }
42
+
43
+ export function UpdateProductRangeRequestAttributesInnerFromJSON(json: any): UpdateProductRangeRequestAttributesInner {
44
+ return UpdateProductRangeRequestAttributesInnerFromJSONTyped(json, false);
45
+ }
46
+
47
+ export function UpdateProductRangeRequestAttributesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateProductRangeRequestAttributesInner {
48
+ if (json == null) {
49
+ return json;
50
+ }
51
+ return {
52
+
53
+ 'attributeId': json['attribute_id'] == null ? undefined : json['attribute_id'],
54
+ 'order': json['order'] == null ? undefined : json['order'],
55
+ };
56
+ }
57
+
58
+ export function UpdateProductRangeRequestAttributesInnerToJSON(json: any): UpdateProductRangeRequestAttributesInner {
59
+ return UpdateProductRangeRequestAttributesInnerToJSONTyped(json, false);
60
+ }
61
+
62
+ export function UpdateProductRangeRequestAttributesInnerToJSONTyped(value?: UpdateProductRangeRequestAttributesInner | null, ignoreDiscriminator: boolean = false): any {
63
+ if (value == null) {
64
+ return value;
65
+ }
66
+
67
+ return {
68
+
69
+ 'attribute_id': value['attributeId'],
70
+ 'order': value['order'],
71
+ };
72
+ }
73
+
@@ -13,13 +13,13 @@
13
13
  */
14
14
 
15
15
  import { mapValues } from '../runtime';
16
- import type { UpdateProductTypeRequestPerformanceValuesInner } from './UpdateProductTypeRequestPerformanceValuesInner';
16
+ import type { UpdateProductRangeRequestAttributesInner } from './UpdateProductRangeRequestAttributesInner';
17
17
  import {
18
- UpdateProductTypeRequestPerformanceValuesInnerFromJSON,
19
- UpdateProductTypeRequestPerformanceValuesInnerFromJSONTyped,
20
- UpdateProductTypeRequestPerformanceValuesInnerToJSON,
21
- UpdateProductTypeRequestPerformanceValuesInnerToJSONTyped,
22
- } from './UpdateProductTypeRequestPerformanceValuesInner';
18
+ UpdateProductRangeRequestAttributesInnerFromJSON,
19
+ UpdateProductRangeRequestAttributesInnerFromJSONTyped,
20
+ UpdateProductRangeRequestAttributesInnerToJSON,
21
+ UpdateProductRangeRequestAttributesInnerToJSONTyped,
22
+ } from './UpdateProductRangeRequestAttributesInner';
23
23
 
24
24
  /**
25
25
  *
@@ -35,28 +35,28 @@ export interface UpdateProductTypeRequest {
35
35
  name: string;
36
36
  /**
37
37
  *
38
- * @type {Array<UpdateProductTypeRequestPerformanceValuesInner>}
38
+ * @type {Array<UpdateProductRangeRequestAttributesInner>}
39
39
  * @memberof UpdateProductTypeRequest
40
40
  */
41
- performanceValues?: Array<UpdateProductTypeRequestPerformanceValuesInner>;
41
+ performanceValues?: Array<UpdateProductRangeRequestAttributesInner>;
42
42
  /**
43
43
  *
44
- * @type {Array<UpdateProductTypeRequestPerformanceValuesInner>}
44
+ * @type {Array<UpdateProductRangeRequestAttributesInner>}
45
45
  * @memberof UpdateProductTypeRequest
46
46
  */
47
- dimensionValues?: Array<UpdateProductTypeRequestPerformanceValuesInner>;
47
+ dimensionValues?: Array<UpdateProductRangeRequestAttributesInner>;
48
48
  /**
49
49
  *
50
- * @type {Array<UpdateProductTypeRequestPerformanceValuesInner>}
50
+ * @type {Array<UpdateProductRangeRequestAttributesInner>}
51
51
  * @memberof UpdateProductTypeRequest
52
52
  */
53
- specificationValues?: Array<UpdateProductTypeRequestPerformanceValuesInner>;
53
+ specificationValues?: Array<UpdateProductRangeRequestAttributesInner>;
54
54
  /**
55
55
  *
56
- * @type {Array<UpdateProductTypeRequestPerformanceValuesInner>}
56
+ * @type {Array<UpdateProductRangeRequestAttributesInner>}
57
57
  * @memberof UpdateProductTypeRequest
58
58
  */
59
- otherValues?: Array<UpdateProductTypeRequestPerformanceValuesInner>;
59
+ otherValues?: Array<UpdateProductRangeRequestAttributesInner>;
60
60
  }
61
61
 
62
62
  /**
@@ -78,10 +78,10 @@ export function UpdateProductTypeRequestFromJSONTyped(json: any, ignoreDiscrimin
78
78
  return {
79
79
 
80
80
  'name': json['name'],
81
- 'performanceValues': json['performance_values'] == null ? undefined : ((json['performance_values'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerFromJSON)),
82
- 'dimensionValues': json['dimension_values'] == null ? undefined : ((json['dimension_values'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerFromJSON)),
83
- 'specificationValues': json['specification_values'] == null ? undefined : ((json['specification_values'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerFromJSON)),
84
- 'otherValues': json['other_values'] == null ? undefined : ((json['other_values'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerFromJSON)),
81
+ 'performanceValues': json['performance_values'] == null ? undefined : ((json['performance_values'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
82
+ 'dimensionValues': json['dimension_values'] == null ? undefined : ((json['dimension_values'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
83
+ 'specificationValues': json['specification_values'] == null ? undefined : ((json['specification_values'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
84
+ 'otherValues': json['other_values'] == null ? undefined : ((json['other_values'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerFromJSON)),
85
85
  };
86
86
  }
87
87
 
@@ -97,10 +97,10 @@ export function UpdateProductTypeRequestToJSONTyped(value?: UpdateProductTypeReq
97
97
  return {
98
98
 
99
99
  'name': value['name'],
100
- 'performance_values': value['performanceValues'] == null ? undefined : ((value['performanceValues'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerToJSON)),
101
- 'dimension_values': value['dimensionValues'] == null ? undefined : ((value['dimensionValues'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerToJSON)),
102
- 'specification_values': value['specificationValues'] == null ? undefined : ((value['specificationValues'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerToJSON)),
103
- 'other_values': value['otherValues'] == null ? undefined : ((value['otherValues'] as Array<any>).map(UpdateProductTypeRequestPerformanceValuesInnerToJSON)),
100
+ 'performance_values': value['performanceValues'] == null ? undefined : ((value['performanceValues'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
101
+ 'dimension_values': value['dimensionValues'] == null ? undefined : ((value['dimensionValues'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
102
+ 'specification_values': value['specificationValues'] == null ? undefined : ((value['specificationValues'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
103
+ 'other_values': value['otherValues'] == null ? undefined : ((value['otherValues'] as Array<any>).map(UpdateProductRangeRequestAttributesInnerToJSON)),
104
104
  };
105
105
  }
106
106