@digital8/lighting-illusions-ts-sdk 0.0.1362 → 0.0.1364

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