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

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