@digital8/lighting-illusions-ts-sdk 0.0.1235 → 0.0.1237

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 (301) hide show
  1. package/.openapi-generator/FILES +58 -72
  2. package/README.md +42 -54
  3. package/dist/apis/AttributeApi.d.ts +1 -16
  4. package/dist/apis/AttributeApi.js +0 -58
  5. package/dist/apis/StoreApi.d.ts +173 -0
  6. package/dist/apis/StoreApi.js +679 -0
  7. package/dist/apis/SupplierApi.d.ts +33 -1
  8. package/dist/apis/SupplierApi.js +122 -0
  9. package/dist/apis/index.d.ts +1 -1
  10. package/dist/apis/index.js +1 -1
  11. package/dist/models/AddressFrontendResource.d.ts +74 -0
  12. package/dist/models/AddressFrontendResource.js +75 -0
  13. package/dist/models/AddressFrontendResourceArrayResponse.d.ts +33 -0
  14. package/dist/models/AddressFrontendResourceArrayResponse.js +50 -0
  15. package/dist/models/AddressResource.d.ts +80 -0
  16. package/dist/models/AddressResource.js +79 -0
  17. package/dist/models/AddressResourceArrayResponse.d.ts +33 -0
  18. package/dist/models/AddressResourceArrayResponse.js +50 -0
  19. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
  20. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
  21. package/dist/models/AttachStoresSupplierRequest.d.ts +32 -0
  22. package/dist/models/AttachStoresSupplierRequest.js +51 -0
  23. package/dist/models/AttachSuppliersStoreRequest.d.ts +32 -0
  24. package/dist/models/AttachSuppliersStoreRequest.js +51 -0
  25. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
  26. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
  27. package/dist/models/DetachStoresSupplierRequest.d.ts +32 -0
  28. package/dist/models/DetachStoresSupplierRequest.js +51 -0
  29. package/dist/models/DetachSuppliersStoreRequest.d.ts +32 -0
  30. package/dist/models/DetachSuppliersStoreRequest.js +51 -0
  31. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  32. package/dist/models/ExternalApiLogResource.js +1 -3
  33. package/dist/models/GetAllDocumentRequest.d.ts +0 -1
  34. package/dist/models/GetAllDocumentRequest.js +0 -1
  35. package/dist/models/GetAllProductChildRequest.d.ts +0 -1
  36. package/dist/models/GetAllProductChildRequest.js +0 -1
  37. package/dist/models/GetAllStoreRequest.d.ts +93 -0
  38. package/dist/models/GetAllStoreRequest.js +81 -0
  39. package/dist/models/IndexAttributeRequest.d.ts +0 -2
  40. package/dist/models/IndexAttributeRequest.js +1 -3
  41. package/dist/models/IndexDocumentRequest.d.ts +0 -1
  42. package/dist/models/IndexDocumentRequest.js +0 -1
  43. package/dist/models/IndexProductChildRequest.d.ts +0 -1
  44. package/dist/models/IndexProductChildRequest.js +0 -1
  45. package/dist/models/IndexStoreRequest.d.ts +105 -0
  46. package/dist/models/{IndexProductRangeRequest.js → IndexStoreRequest.js} +21 -22
  47. package/dist/models/ModelAttributeResource.d.ts +0 -6
  48. package/dist/models/ModelAttributeResource.js +0 -2
  49. package/dist/models/PaginatedStoreListResourceResponse.d.ts +40 -0
  50. package/dist/models/PaginatedStoreListResourceResponse.js +57 -0
  51. package/dist/models/ProductChildResource.d.ts +2 -2
  52. package/dist/models/ProductChildResource.js +3 -3
  53. package/dist/models/ProductClassResource.d.ts +8 -2
  54. package/dist/models/ProductClassResource.js +4 -4
  55. package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -3
  56. package/dist/models/StoreAssetForAssetableRequest.js +1 -4
  57. package/dist/models/StoreFrontendResource.d.ts +98 -0
  58. package/dist/models/StoreFrontendResource.js +87 -0
  59. package/dist/models/StoreFrontendResourceArrayResponse.d.ts +33 -0
  60. package/dist/models/StoreFrontendResourceArrayResponse.js +50 -0
  61. package/dist/models/StoreListResource.d.ts +81 -0
  62. package/dist/models/StoreListResource.js +78 -0
  63. package/dist/models/StoreListResourceArrayResponse.d.ts +33 -0
  64. package/dist/models/StoreListResourceArrayResponse.js +50 -0
  65. package/dist/models/StoreLiteResource.d.ts +45 -0
  66. package/dist/models/StoreLiteResource.js +58 -0
  67. package/dist/models/StoreLiteResourceArrayResponse.d.ts +33 -0
  68. package/dist/models/StoreLiteResourceArrayResponse.js +50 -0
  69. package/dist/models/StoreResource.d.ts +100 -0
  70. package/dist/models/StoreResource.js +93 -0
  71. package/dist/models/StoreResourceArrayResponse.d.ts +33 -0
  72. package/dist/models/StoreResourceArrayResponse.js +50 -0
  73. package/dist/models/StoreSpecialDateFrontendResource.d.ts +56 -0
  74. package/dist/models/StoreSpecialDateFrontendResource.js +65 -0
  75. package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.d.ts +33 -0
  76. package/dist/models/StoreSpecialDateFrontendResourceArrayResponse.js +50 -0
  77. package/dist/models/StoreSpecialDateResource.d.ts +56 -0
  78. package/dist/models/StoreSpecialDateResource.js +65 -0
  79. package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +33 -0
  80. package/dist/models/StoreSpecialDateResourceArrayResponse.js +50 -0
  81. package/dist/models/StoreStoreRequest.d.ts +177 -0
  82. package/dist/models/StoreStoreRequest.js +124 -0
  83. package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +50 -0
  84. package/dist/models/StoreStoreRequestSpecialDatesInner.js +57 -0
  85. package/dist/models/StoreStoreSpecialDateRequest.d.ts +50 -0
  86. package/dist/models/StoreStoreSpecialDateRequest.js +57 -0
  87. package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
  88. package/dist/models/UpdateProductTypeRequest.js +9 -9
  89. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +38 -0
  90. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +51 -0
  91. package/dist/models/UpdateStoreRequest.d.ts +164 -0
  92. package/dist/models/UpdateStoreRequest.js +119 -0
  93. package/dist/models/index.d.ts +28 -35
  94. package/dist/models/index.js +28 -35
  95. package/docs/{AttachAttributesProductRangeRequest.md → AddressFrontendResource.md} +20 -6
  96. package/docs/{AttachAccessoriesProductRangeRequest.md → AddressFrontendResourceArrayResponse.md} +6 -6
  97. package/docs/{AttachAttributesProductRangeRequestAttributesInner.md → AddressResource.md} +22 -8
  98. package/docs/{ProductRangeResourceArrayResponse.md → AddressResourceArrayResponse.md} +5 -5
  99. package/docs/{DetachAttributesProductRangeRequest.md → AttachStoresSupplierRequest.md} +6 -6
  100. package/docs/AttachSuppliersStoreRequest.md +34 -0
  101. package/docs/AttributeApi.md +0 -66
  102. package/docs/{DetachAccessoriesProductRangeRequest.md → DetachStoresSupplierRequest.md} +6 -6
  103. package/docs/DetachSuppliersStoreRequest.md +34 -0
  104. package/docs/{GetAllProductRangeRequest.md → GetAllStoreRequest.md} +8 -10
  105. package/docs/{IndexModelAttributeRequest.md → IndexStoreRequest.md} +8 -10
  106. package/docs/ModelAttributeResource.md +0 -2
  107. package/docs/{PaginatedProductRangeResourceResponse.md → PaginatedStoreListResourceResponse.md} +5 -5
  108. package/docs/ProductChildResource.md +2 -2
  109. package/docs/ProductClassResource.md +4 -2
  110. package/docs/StoreApi.md +683 -0
  111. package/docs/StoreFrontendResource.md +56 -0
  112. package/docs/{DetachDocumentsProductRangeRequest.md → StoreFrontendResourceArrayResponse.md} +6 -6
  113. package/docs/{StoreProductRangeRequest.md → StoreListResource.md} +20 -10
  114. package/docs/StoreListResourceArrayResponse.md +34 -0
  115. package/docs/{ProductRangeLiteResource.md → StoreLiteResource.md} +6 -4
  116. package/docs/StoreLiteResourceArrayResponse.md +34 -0
  117. package/docs/StoreResource.md +56 -0
  118. package/docs/StoreResourceArrayResponse.md +34 -0
  119. package/docs/{ProductRangeFrontendListResource.md → StoreSpecialDateFrontendResource.md} +10 -12
  120. package/docs/{ProductRangeFrontendListResourceArrayResponse.md → StoreSpecialDateFrontendResourceArrayResponse.md} +5 -5
  121. package/docs/{ProductRangeSiteDetailLiteResource.md → StoreSpecialDateResource.md} +12 -8
  122. package/docs/{ProductRangeLiteResourceArrayResponse.md → StoreSpecialDateResourceArrayResponse.md} +5 -5
  123. package/docs/StoreStoreRequest.md +82 -0
  124. package/docs/{AttachDocumentsProductRangeRequest.md → StoreStoreRequestSpecialDatesInner.md} +12 -6
  125. package/docs/StoreStoreSpecialDateRequest.md +40 -0
  126. package/docs/SupplierApi.md +138 -0
  127. package/docs/UpdateProductTypeRequest.md +4 -4
  128. package/docs/{UpdateProductRangeRequestAttributesInner.md → UpdateProductTypeRequestPerformanceValuesInner.md} +4 -4
  129. package/docs/UpdateStoreRequest.md +78 -0
  130. package/package.json +1 -1
  131. package/src/apis/AttributeApi.ts +0 -50
  132. package/src/apis/StoreApi.ts +563 -0
  133. package/src/apis/SupplierApi.ts +112 -0
  134. package/src/apis/index.ts +1 -1
  135. package/src/models/AddressFrontendResource.ts +127 -0
  136. package/src/models/AddressFrontendResourceArrayResponse.ts +73 -0
  137. package/src/models/AddressResource.ts +136 -0
  138. package/src/models/AddressResourceArrayResponse.ts +73 -0
  139. package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
  140. package/src/models/AttachStoresSupplierRequest.ts +66 -0
  141. package/src/models/AttachSuppliersStoreRequest.ts +66 -0
  142. package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
  143. package/src/models/DetachStoresSupplierRequest.ts +66 -0
  144. package/src/models/DetachSuppliersStoreRequest.ts +66 -0
  145. package/src/models/ExternalApiLogResource.ts +2 -3
  146. package/src/models/GetAllDocumentRequest.ts +0 -1
  147. package/src/models/GetAllProductChildRequest.ts +0 -1
  148. package/src/models/GetAllStoreRequest.ts +144 -0
  149. package/src/models/IndexAttributeRequest.ts +1 -3
  150. package/src/models/IndexDocumentRequest.ts +0 -1
  151. package/src/models/IndexProductChildRequest.ts +0 -1
  152. package/src/models/IndexStoreRequest.ts +160 -0
  153. package/src/models/ModelAttributeResource.ts +0 -8
  154. package/src/models/PaginatedStoreListResourceResponse.ts +90 -0
  155. package/src/models/ProductChildResource.ts +5 -5
  156. package/src/models/ProductClassResource.ts +12 -5
  157. package/src/models/StoreAssetForAssetableRequest.ts +1 -4
  158. package/src/models/StoreFrontendResource.ts +161 -0
  159. package/src/models/StoreFrontendResourceArrayResponse.ts +73 -0
  160. package/src/models/StoreListResource.ts +143 -0
  161. package/src/models/StoreListResourceArrayResponse.ts +73 -0
  162. package/src/models/StoreLiteResource.ts +91 -0
  163. package/src/models/StoreLiteResourceArrayResponse.ts +73 -0
  164. package/src/models/StoreResource.ts +178 -0
  165. package/src/models/StoreResourceArrayResponse.ts +73 -0
  166. package/src/models/StoreSpecialDateFrontendResource.ts +101 -0
  167. package/src/models/StoreSpecialDateFrontendResourceArrayResponse.ts +73 -0
  168. package/src/models/StoreSpecialDateResource.ts +101 -0
  169. package/src/models/StoreSpecialDateResourceArrayResponse.ts +73 -0
  170. package/src/models/StoreStoreRequest.ts +278 -0
  171. package/src/models/StoreStoreRequestSpecialDatesInner.ts +90 -0
  172. package/src/models/StoreStoreSpecialDateRequest.ts +90 -0
  173. package/src/models/UpdateProductTypeRequest.ts +22 -22
  174. package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
  175. package/src/models/UpdateStoreRequest.ts +254 -0
  176. package/src/models/index.ts +28 -35
  177. package/dist/apis/ProductRangeApi.d.ts +0 -269
  178. package/dist/apis/ProductRangeApi.js +0 -1043
  179. package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
  180. package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
  181. package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -33
  182. package/dist/models/AttachAttributesProductRangeRequest.js +0 -52
  183. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +0 -38
  184. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +0 -53
  185. package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
  186. package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
  187. package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
  188. package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
  189. package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
  190. package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
  191. package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
  192. package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
  193. package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
  194. package/dist/models/GetAllProductRangeRequest.js +0 -82
  195. package/dist/models/IndexModelAttributeRequest.d.ts +0 -118
  196. package/dist/models/IndexModelAttributeRequest.js +0 -93
  197. package/dist/models/IndexProductRangeRequest.d.ts +0 -110
  198. package/dist/models/ModelAttributeListResource.d.ts +0 -64
  199. package/dist/models/ModelAttributeListResource.js +0 -71
  200. package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
  201. package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
  202. package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
  203. package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
  204. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
  205. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
  206. package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
  207. package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
  208. package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
  209. package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
  210. package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
  211. package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
  212. package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
  213. package/dist/models/ProductRangeFrontendListResource.js +0 -71
  214. package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
  215. package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
  216. package/dist/models/ProductRangeFrontendResource.d.ts +0 -118
  217. package/dist/models/ProductRangeFrontendResource.js +0 -109
  218. package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
  219. package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
  220. package/dist/models/ProductRangeListResource.d.ts +0 -66
  221. package/dist/models/ProductRangeListResource.js +0 -75
  222. package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
  223. package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
  224. package/dist/models/ProductRangeLiteResource.d.ts +0 -38
  225. package/dist/models/ProductRangeLiteResource.js +0 -55
  226. package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
  227. package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
  228. package/dist/models/ProductRangeResource.d.ts +0 -89
  229. package/dist/models/ProductRangeResource.js +0 -86
  230. package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
  231. package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
  232. package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +0 -44
  233. package/dist/models/ProductRangeSiteDetailLiteResource.js +0 -59
  234. package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +0 -33
  235. package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +0 -50
  236. package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -101
  237. package/dist/models/ProductRangeSiteDetailResource.js +0 -98
  238. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
  239. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
  240. package/dist/models/StoreProductRangeRequest.d.ts +0 -52
  241. package/dist/models/StoreProductRangeRequest.js +0 -59
  242. package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
  243. package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
  244. package/dist/models/UpdateProductRangeRequest.d.ts +0 -59
  245. package/dist/models/UpdateProductRangeRequest.js +0 -62
  246. package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +0 -38
  247. package/dist/models/UpdateProductRangeRequestAttributesInner.js +0 -51
  248. package/docs/IndexProductRangeRequest.md +0 -54
  249. package/docs/ModelAttributeListResource.md +0 -44
  250. package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
  251. package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
  252. package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
  253. package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
  254. package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
  255. package/docs/ProductRangeApi.md +0 -1097
  256. package/docs/ProductRangeFrontendResource.md +0 -62
  257. package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
  258. package/docs/ProductRangeListResource.md +0 -44
  259. package/docs/ProductRangeListResourceArrayResponse.md +0 -34
  260. package/docs/ProductRangeResource.md +0 -52
  261. package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +0 -34
  262. package/docs/ProductRangeSiteDetailResource.md +0 -56
  263. package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
  264. package/docs/StoreProductRangeRequestSitesInner.md +0 -54
  265. package/docs/UpdateProductRangeRequest.md +0 -42
  266. package/src/apis/ProductRangeApi.ts +0 -888
  267. package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
  268. package/src/models/AttachAttributesProductRangeRequest.ts +0 -74
  269. package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +0 -74
  270. package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
  271. package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
  272. package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
  273. package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
  274. package/src/models/GetAllProductRangeRequest.ts +0 -151
  275. package/src/models/IndexModelAttributeRequest.ts +0 -176
  276. package/src/models/IndexProductRangeRequest.ts +0 -167
  277. package/src/models/ModelAttributeListResource.ts +0 -125
  278. package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
  279. package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
  280. package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
  281. package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
  282. package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
  283. package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
  284. package/src/models/ProductRangeFrontendListResource.ts +0 -111
  285. package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
  286. package/src/models/ProductRangeFrontendResource.ts +0 -207
  287. package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
  288. package/src/models/ProductRangeListResource.ts +0 -140
  289. package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
  290. package/src/models/ProductRangeLiteResource.ts +0 -75
  291. package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
  292. package/src/models/ProductRangeResource.ts +0 -167
  293. package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
  294. package/src/models/ProductRangeSiteDetailLiteResource.ts +0 -84
  295. package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +0 -73
  296. package/src/models/ProductRangeSiteDetailResource.ts +0 -187
  297. package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
  298. package/src/models/StoreProductRangeRequest.ts +0 -105
  299. package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
  300. package/src/models/UpdateProductRangeRequest.ts +0 -120
  301. package/src/models/UpdateProductRangeRequestAttributesInner.ts +0 -73
@@ -0,0 +1,66 @@
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 AttachSuppliersStoreRequest
20
+ */
21
+ export interface AttachSuppliersStoreRequest {
22
+ /**
23
+ *
24
+ * @type {Array<number>}
25
+ * @memberof AttachSuppliersStoreRequest
26
+ */
27
+ supplierIds: Array<number>;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the AttachSuppliersStoreRequest interface.
32
+ */
33
+ export function instanceOfAttachSuppliersStoreRequest(value: object): value is AttachSuppliersStoreRequest {
34
+ if (!('supplierIds' in value) || value['supplierIds'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function AttachSuppliersStoreRequestFromJSON(json: any): AttachSuppliersStoreRequest {
39
+ return AttachSuppliersStoreRequestFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function AttachSuppliersStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): AttachSuppliersStoreRequest {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'supplierIds': json['supplier_ids'],
49
+ };
50
+ }
51
+
52
+ export function AttachSuppliersStoreRequestToJSON(json: any): AttachSuppliersStoreRequest {
53
+ return AttachSuppliersStoreRequestToJSONTyped(json, false);
54
+ }
55
+
56
+ export function AttachSuppliersStoreRequestToJSONTyped(value?: AttachSuppliersStoreRequest | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'supplier_ids': value['supplierIds'],
64
+ };
65
+ }
66
+
@@ -39,7 +39,6 @@ export interface DetachDocumentablesDocumentRequestDocumentablesInner {
39
39
  */
40
40
  export const DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = {
41
41
  AppModelsProductsProductChild: 'App\\Models\\Products\\ProductChild',
42
- AppModelsProductRangesProductRange: 'App\\Models\\ProductRanges\\ProductRange',
43
42
  AppModelsProductRangeSite: 'App\\Models\\ProductRangeSite'
44
43
  } as const;
45
44
  export type DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum = typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum[keyof typeof DetachDocumentablesDocumentRequestDocumentablesInnerDocumentableTypeEnum];
@@ -0,0 +1,66 @@
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 DetachStoresSupplierRequest
20
+ */
21
+ export interface DetachStoresSupplierRequest {
22
+ /**
23
+ *
24
+ * @type {Array<number>}
25
+ * @memberof DetachStoresSupplierRequest
26
+ */
27
+ storeIds: Array<number>;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the DetachStoresSupplierRequest interface.
32
+ */
33
+ export function instanceOfDetachStoresSupplierRequest(value: object): value is DetachStoresSupplierRequest {
34
+ if (!('storeIds' in value) || value['storeIds'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function DetachStoresSupplierRequestFromJSON(json: any): DetachStoresSupplierRequest {
39
+ return DetachStoresSupplierRequestFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function DetachStoresSupplierRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachStoresSupplierRequest {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'storeIds': json['store_ids'],
49
+ };
50
+ }
51
+
52
+ export function DetachStoresSupplierRequestToJSON(json: any): DetachStoresSupplierRequest {
53
+ return DetachStoresSupplierRequestToJSONTyped(json, false);
54
+ }
55
+
56
+ export function DetachStoresSupplierRequestToJSONTyped(value?: DetachStoresSupplierRequest | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'store_ids': value['storeIds'],
64
+ };
65
+ }
66
+
@@ -0,0 +1,66 @@
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 DetachSuppliersStoreRequest
20
+ */
21
+ export interface DetachSuppliersStoreRequest {
22
+ /**
23
+ *
24
+ * @type {Array<number>}
25
+ * @memberof DetachSuppliersStoreRequest
26
+ */
27
+ supplierIds: Array<number>;
28
+ }
29
+
30
+ /**
31
+ * Check if a given object implements the DetachSuppliersStoreRequest interface.
32
+ */
33
+ export function instanceOfDetachSuppliersStoreRequest(value: object): value is DetachSuppliersStoreRequest {
34
+ if (!('supplierIds' in value) || value['supplierIds'] === undefined) return false;
35
+ return true;
36
+ }
37
+
38
+ export function DetachSuppliersStoreRequestFromJSON(json: any): DetachSuppliersStoreRequest {
39
+ return DetachSuppliersStoreRequestFromJSONTyped(json, false);
40
+ }
41
+
42
+ export function DetachSuppliersStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): DetachSuppliersStoreRequest {
43
+ if (json == null) {
44
+ return json;
45
+ }
46
+ return {
47
+
48
+ 'supplierIds': json['supplier_ids'],
49
+ };
50
+ }
51
+
52
+ export function DetachSuppliersStoreRequestToJSON(json: any): DetachSuppliersStoreRequest {
53
+ return DetachSuppliersStoreRequestToJSONTyped(json, false);
54
+ }
55
+
56
+ export function DetachSuppliersStoreRequestToJSONTyped(value?: DetachSuppliersStoreRequest | null, ignoreDiscriminator: boolean = false): any {
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+
61
+ return {
62
+
63
+ 'supplier_ids': value['supplierIds'],
64
+ };
65
+ }
66
+
@@ -74,7 +74,7 @@ export interface ExternalApiLogResource {
74
74
  * @type {string}
75
75
  * @memberof ExternalApiLogResource
76
76
  */
77
- requestPayload: string;
77
+ requestPayload?: string | null;
78
78
  /**
79
79
  *
80
80
  * @type {string}
@@ -106,7 +106,6 @@ export function instanceOfExternalApiLogResource(value: object): value is Extern
106
106
  if (!('exteranlApiLoggableId' in value) || value['exteranlApiLoggableId'] === undefined) return false;
107
107
  if (!('endpoint' in value) || value['endpoint'] === undefined) return false;
108
108
  if (!('responseCode' in value) || value['responseCode'] === undefined) return false;
109
- if (!('requestPayload' in value) || value['requestPayload'] === undefined) return false;
110
109
  if (!('responsePayload' in value) || value['responsePayload'] === undefined) return false;
111
110
  if (!('site' in value) || value['site'] === undefined) return false;
112
111
  return true;
@@ -129,7 +128,7 @@ export function ExternalApiLogResourceFromJSONTyped(json: any, ignoreDiscriminat
129
128
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
130
129
  'endpoint': json['endpoint'],
131
130
  'responseCode': json['responseCode'],
132
- 'requestPayload': json['requestPayload'],
131
+ 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
133
132
  'responsePayload': json['responsePayload'],
134
133
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
135
134
  'site': SiteLiteResourceFromJSON(json['site']),
@@ -89,7 +89,6 @@ export type GetAllDocumentRequestSortDirectionEnum = typeof GetAllDocumentReques
89
89
  */
90
90
  export const GetAllDocumentRequestRelatedTypeEnum = {
91
91
  ProductChild: 'productChild',
92
- ProductRange: 'productRange',
93
92
  ProductRangeSite: 'productRangeSite'
94
93
  } as const;
95
94
  export type GetAllDocumentRequestRelatedTypeEnum = typeof GetAllDocumentRequestRelatedTypeEnum[keyof typeof GetAllDocumentRequestRelatedTypeEnum];
@@ -163,7 +163,6 @@ export type GetAllProductChildRequestSortDirectionEnum = typeof GetAllProductChi
163
163
  */
164
164
  export const GetAllProductChildRequestRelatedTypeEnum = {
165
165
  OverlayTemplate: 'overlayTemplate',
166
- ProductRange: 'productRange',
167
166
  Supplier: 'supplier',
168
167
  Tag: 'tag',
169
168
  Document: 'document'
@@ -0,0 +1,144 @@
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 GetAllStoreRequest
20
+ */
21
+ export interface GetAllStoreRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GetAllStoreRequest
26
+ */
27
+ search?: string;
28
+ /**
29
+ *
30
+ * @type {GetAllStoreRequestSortByEnum}
31
+ * @memberof GetAllStoreRequest
32
+ */
33
+ sortBy?: GetAllStoreRequestSortByEnum;
34
+ /**
35
+ *
36
+ * @type {GetAllStoreRequestSortDirectionEnum}
37
+ * @memberof GetAllStoreRequest
38
+ */
39
+ sortDirection?: GetAllStoreRequestSortDirectionEnum;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof GetAllStoreRequest
44
+ */
45
+ relatedId?: number;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof GetAllStoreRequest
50
+ */
51
+ relatedType?: string;
52
+ /**
53
+ *
54
+ * @type {boolean}
55
+ * @memberof GetAllStoreRequest
56
+ */
57
+ includesRelations?: boolean;
58
+ /**
59
+ *
60
+ * @type {Array<string>}
61
+ * @memberof GetAllStoreRequest
62
+ */
63
+ siteId?: Array<string>;
64
+ /**
65
+ *
66
+ * @type {Array<string>}
67
+ * @memberof GetAllStoreRequest
68
+ */
69
+ suppliersId?: Array<string>;
70
+ }
71
+
72
+
73
+ /**
74
+ * @export
75
+ */
76
+ export const GetAllStoreRequestSortByEnum = {
77
+ Id: 'id',
78
+ SiteId: 'site_id',
79
+ Name: 'name',
80
+ CreatedAt: 'created_at',
81
+ UpdatedAt: 'updated_at'
82
+ } as const;
83
+ export type GetAllStoreRequestSortByEnum = typeof GetAllStoreRequestSortByEnum[keyof typeof GetAllStoreRequestSortByEnum];
84
+
85
+ /**
86
+ * @export
87
+ */
88
+ export const GetAllStoreRequestSortDirectionEnum = {
89
+ Asc: 'asc',
90
+ Desc: 'desc'
91
+ } as const;
92
+ export type GetAllStoreRequestSortDirectionEnum = typeof GetAllStoreRequestSortDirectionEnum[keyof typeof GetAllStoreRequestSortDirectionEnum];
93
+
94
+
95
+ /**
96
+ * Check if a given object implements the GetAllStoreRequest interface.
97
+ */
98
+ export function instanceOfGetAllStoreRequest(value: object): value is GetAllStoreRequest {
99
+ return true;
100
+ }
101
+
102
+ export function GetAllStoreRequestFromJSON(json: any): GetAllStoreRequest {
103
+ return GetAllStoreRequestFromJSONTyped(json, false);
104
+ }
105
+
106
+ export function GetAllStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllStoreRequest {
107
+ if (json == null) {
108
+ return json;
109
+ }
110
+ return {
111
+
112
+ 'search': json['search'] == null ? undefined : json['search'],
113
+ 'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
114
+ 'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
115
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
116
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
117
+ 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
118
+ 'siteId': json['site_id'] == null ? undefined : json['site_id'],
119
+ 'suppliersId': json['suppliers-id'] == null ? undefined : json['suppliers-id'],
120
+ };
121
+ }
122
+
123
+ export function GetAllStoreRequestToJSON(json: any): GetAllStoreRequest {
124
+ return GetAllStoreRequestToJSONTyped(json, false);
125
+ }
126
+
127
+ export function GetAllStoreRequestToJSONTyped(value?: GetAllStoreRequest | null, ignoreDiscriminator: boolean = false): any {
128
+ if (value == null) {
129
+ return value;
130
+ }
131
+
132
+ return {
133
+
134
+ 'search': value['search'],
135
+ 'sortBy': value['sortBy'],
136
+ 'sortDirection': value['sortDirection'],
137
+ 'related_id': value['relatedId'],
138
+ 'related_type': value['relatedType'],
139
+ 'includes_relations': value['includesRelations'],
140
+ 'site_id': value['siteId'],
141
+ 'suppliers-id': value['suppliersId'],
142
+ };
143
+ }
144
+
@@ -113,9 +113,7 @@ export type IndexAttributeRequestSortDirectionEnum = typeof IndexAttributeReques
113
113
  * @export
114
114
  */
115
115
  export const IndexAttributeRequestRelatedTypeEnum = {
116
- ProductType: 'productType',
117
- ProductRange: 'productRange',
118
- Category: 'category'
116
+ ProductType: 'productType'
119
117
  } as const;
120
118
  export type IndexAttributeRequestRelatedTypeEnum = typeof IndexAttributeRequestRelatedTypeEnum[keyof typeof IndexAttributeRequestRelatedTypeEnum];
121
119
 
@@ -101,7 +101,6 @@ export type IndexDocumentRequestSortDirectionEnum = typeof IndexDocumentRequestS
101
101
  */
102
102
  export const IndexDocumentRequestRelatedTypeEnum = {
103
103
  ProductChild: 'productChild',
104
- ProductRange: 'productRange',
105
104
  ProductRangeSite: 'productRangeSite'
106
105
  } as const;
107
106
  export type IndexDocumentRequestRelatedTypeEnum = typeof IndexDocumentRequestRelatedTypeEnum[keyof typeof IndexDocumentRequestRelatedTypeEnum];
@@ -183,7 +183,6 @@ export const IndexProductChildRequestRelatedTypeEnum = {
183
183
  Document: 'document',
184
184
  OverlayTemplate: 'overlayTemplate',
185
185
  ProductType: 'productType',
186
- ProductRange: 'productRange',
187
186
  Supplier: 'supplier',
188
187
  Tag: 'tag',
189
188
  Site: 'site'
@@ -0,0 +1,160 @@
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 IndexStoreRequest
20
+ */
21
+ export interface IndexStoreRequest {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof IndexStoreRequest
26
+ */
27
+ search?: string;
28
+ /**
29
+ *
30
+ * @type {IndexStoreRequestSortByEnum}
31
+ * @memberof IndexStoreRequest
32
+ */
33
+ sortBy?: IndexStoreRequestSortByEnum;
34
+ /**
35
+ *
36
+ * @type {IndexStoreRequestSortDirectionEnum}
37
+ * @memberof IndexStoreRequest
38
+ */
39
+ sortDirection?: IndexStoreRequestSortDirectionEnum;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof IndexStoreRequest
44
+ */
45
+ perPage?: number;
46
+ /**
47
+ *
48
+ * @type {number}
49
+ * @memberof IndexStoreRequest
50
+ */
51
+ page?: number;
52
+ /**
53
+ *
54
+ * @type {Array<string>}
55
+ * @memberof IndexStoreRequest
56
+ */
57
+ siteId?: Array<string>;
58
+ /**
59
+ *
60
+ * @type {Array<string>}
61
+ * @memberof IndexStoreRequest
62
+ */
63
+ suppliersId?: Array<string>;
64
+ /**
65
+ *
66
+ * @type {number}
67
+ * @memberof IndexStoreRequest
68
+ */
69
+ relatedId?: number;
70
+ /**
71
+ *
72
+ * @type {string}
73
+ * @memberof IndexStoreRequest
74
+ */
75
+ relatedType?: string;
76
+ /**
77
+ *
78
+ * @type {boolean}
79
+ * @memberof IndexStoreRequest
80
+ */
81
+ includesRelations?: boolean;
82
+ }
83
+
84
+
85
+ /**
86
+ * @export
87
+ */
88
+ export const IndexStoreRequestSortByEnum = {
89
+ Id: 'id',
90
+ SiteId: 'site_id',
91
+ Name: 'name',
92
+ CreatedAt: 'created_at',
93
+ UpdatedAt: 'updated_at'
94
+ } as const;
95
+ export type IndexStoreRequestSortByEnum = typeof IndexStoreRequestSortByEnum[keyof typeof IndexStoreRequestSortByEnum];
96
+
97
+ /**
98
+ * @export
99
+ */
100
+ export const IndexStoreRequestSortDirectionEnum = {
101
+ Asc: 'asc',
102
+ Desc: 'desc'
103
+ } as const;
104
+ export type IndexStoreRequestSortDirectionEnum = typeof IndexStoreRequestSortDirectionEnum[keyof typeof IndexStoreRequestSortDirectionEnum];
105
+
106
+
107
+ /**
108
+ * Check if a given object implements the IndexStoreRequest interface.
109
+ */
110
+ export function instanceOfIndexStoreRequest(value: object): value is IndexStoreRequest {
111
+ return true;
112
+ }
113
+
114
+ export function IndexStoreRequestFromJSON(json: any): IndexStoreRequest {
115
+ return IndexStoreRequestFromJSONTyped(json, false);
116
+ }
117
+
118
+ export function IndexStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexStoreRequest {
119
+ if (json == null) {
120
+ return json;
121
+ }
122
+ return {
123
+
124
+ 'search': json['search'] == null ? undefined : json['search'],
125
+ 'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
126
+ 'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
127
+ 'perPage': json['per_page'] == null ? undefined : json['per_page'],
128
+ 'page': json['page'] == null ? undefined : json['page'],
129
+ 'siteId': json['site_id'] == null ? undefined : json['site_id'],
130
+ 'suppliersId': json['suppliers-id'] == null ? undefined : json['suppliers-id'],
131
+ 'relatedId': json['related_id'] == null ? undefined : json['related_id'],
132
+ 'relatedType': json['related_type'] == null ? undefined : json['related_type'],
133
+ 'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
134
+ };
135
+ }
136
+
137
+ export function IndexStoreRequestToJSON(json: any): IndexStoreRequest {
138
+ return IndexStoreRequestToJSONTyped(json, false);
139
+ }
140
+
141
+ export function IndexStoreRequestToJSONTyped(value?: IndexStoreRequest | null, ignoreDiscriminator: boolean = false): any {
142
+ if (value == null) {
143
+ return value;
144
+ }
145
+
146
+ return {
147
+
148
+ 'search': value['search'],
149
+ 'sortBy': value['sortBy'],
150
+ 'sortDirection': value['sortDirection'],
151
+ 'per_page': value['perPage'],
152
+ 'page': value['page'],
153
+ 'site_id': value['siteId'],
154
+ 'suppliers-id': value['suppliersId'],
155
+ 'related_id': value['relatedId'],
156
+ 'related_type': value['relatedType'],
157
+ 'includes_relations': value['includesRelations'],
158
+ };
159
+ }
160
+
@@ -40,12 +40,6 @@ export interface ModelAttributeResource {
40
40
  * @memberof ModelAttributeResource
41
41
  */
42
42
  id: number;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof ModelAttributeResource
47
- */
48
- order?: string | null;
49
43
  /**
50
44
  *
51
45
  * @type {string}
@@ -88,7 +82,6 @@ export function ModelAttributeResourceFromJSONTyped(json: any, ignoreDiscriminat
88
82
  return {
89
83
 
90
84
  'id': json['id'],
91
- 'order': json['order'] == null ? undefined : json['order'],
92
85
  'value': json['value'],
93
86
  'attribute': AttributeLiteResourceFromJSON(json['attribute']),
94
87
  'attributeValues': (json['attributeValues'] == null ? null : (json['attributeValues'] as Array<any>).map(AttributeValueResourceFromJSON)),
@@ -107,7 +100,6 @@ export function ModelAttributeResourceToJSONTyped(value?: ModelAttributeResource
107
100
  return {
108
101
 
109
102
  'id': value['id'],
110
- 'order': value['order'],
111
103
  'value': value['value'],
112
104
  'attribute': AttributeLiteResourceToJSON(value['attribute']),
113
105
  'attributeValues': (value['attributeValues'] == null ? null : (value['attributeValues'] as Array<any>).map(AttributeValueResourceToJSON)),