@digital8/lighting-illusions-ts-sdk 0.0.1413 → 0.0.1415

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 (273) hide show
  1. package/.openapi-generator/FILES +20 -90
  2. package/README.md +18 -64
  3. package/dist/apis/AttributeApi.d.ts +1 -16
  4. package/dist/apis/AttributeApi.js +0 -58
  5. package/dist/apis/LabelApi.d.ts +109 -0
  6. package/dist/apis/LabelApi.js +433 -0
  7. package/dist/apis/ProductApi.js +1 -1
  8. package/dist/apis/index.d.ts +1 -1
  9. package/dist/apis/index.js +1 -1
  10. package/dist/models/AssetLiteResource.d.ts +0 -12
  11. package/dist/models/AssetLiteResource.js +0 -6
  12. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
  13. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
  14. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +1 -2
  15. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +1 -2
  16. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  17. package/dist/models/ExternalApiLogResource.js +1 -3
  18. package/dist/models/GetAllDocumentRequest.d.ts +1 -2
  19. package/dist/models/GetAllDocumentRequest.js +1 -2
  20. package/dist/models/GetAllProductChildRequest.d.ts +0 -1
  21. package/dist/models/GetAllProductChildRequest.js +0 -1
  22. package/dist/models/IndexAttributeRequest.d.ts +0 -2
  23. package/dist/models/IndexAttributeRequest.js +1 -3
  24. package/dist/models/IndexDocumentRequest.d.ts +1 -2
  25. package/dist/models/IndexDocumentRequest.js +1 -2
  26. package/dist/models/IndexLabelRequest.d.ts +109 -0
  27. package/dist/models/{IndexProductRangeRequest.js → IndexLabelRequest.js} +29 -23
  28. package/dist/models/IndexProductChildRequest.d.ts +0 -1
  29. package/dist/models/IndexProductChildRequest.js +0 -1
  30. package/dist/models/LabelListResource.d.ts +75 -0
  31. package/dist/models/LabelListResource.js +74 -0
  32. package/dist/models/LabelListResourceArrayResponse.d.ts +33 -0
  33. package/dist/models/LabelListResourceArrayResponse.js +50 -0
  34. package/dist/models/LabelLiteResource.d.ts +56 -0
  35. package/dist/models/LabelLiteResource.js +65 -0
  36. package/dist/models/LabelLiteResourceArrayResponse.d.ts +33 -0
  37. package/dist/models/LabelLiteResourceArrayResponse.js +50 -0
  38. package/dist/models/LabelResource.d.ts +23 -4
  39. package/dist/models/LabelResource.js +19 -8
  40. package/dist/models/ModelAttributeResource.d.ts +0 -6
  41. package/dist/models/ModelAttributeResource.js +0 -2
  42. package/dist/models/PaginatedLabelListResourceResponse.d.ts +40 -0
  43. package/dist/models/PaginatedLabelListResourceResponse.js +57 -0
  44. package/dist/models/ProductSearchResultResource.d.ts +1 -7
  45. package/dist/models/ProductSearchResultResource.js +3 -7
  46. package/dist/models/StoreAssetForAssetableRequest.d.ts +0 -3
  47. package/dist/models/StoreAssetForAssetableRequest.js +1 -4
  48. package/dist/models/StoreLabelRequest.d.ts +74 -0
  49. package/dist/models/StoreLabelRequest.js +71 -0
  50. package/dist/models/UpdateLabelRequest.d.ts +74 -0
  51. package/dist/models/UpdateLabelRequest.js +63 -0
  52. package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
  53. package/dist/models/UpdateProductTypeRequest.js +9 -9
  54. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +38 -0
  55. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +51 -0
  56. package/dist/models/index.d.ts +9 -44
  57. package/dist/models/index.js +9 -44
  58. package/docs/AssetLiteResource.md +0 -4
  59. package/docs/AttributeApi.md +0 -66
  60. package/docs/{IndexModelAttributeRequest.md → IndexLabelRequest.md} +6 -10
  61. package/docs/LabelApi.md +407 -0
  62. package/docs/{ProductRangeFrontendListResource.md → LabelListResource.md} +18 -14
  63. package/docs/{ProductRangeResourceArrayResponse.md → LabelListResourceArrayResponse.md} +5 -5
  64. package/docs/{ProductRangeSiteDetailLiteResource.md → LabelLiteResource.md} +12 -8
  65. package/docs/{ProductRangeLiteResource.md → LabelLiteResourceArrayResponse.md} +6 -8
  66. package/docs/LabelResource.md +12 -6
  67. package/docs/ModelAttributeResource.md +0 -2
  68. package/docs/{PaginatedProductRangeResourceResponse.md → PaginatedLabelListResourceResponse.md} +5 -5
  69. package/docs/ProductApi.md +1 -1
  70. package/docs/ProductSearchResultResource.md +2 -4
  71. package/docs/{AttachDocumentsProductRangeRequest.md → StoreLabelRequest.md} +20 -6
  72. package/docs/{ProductRangeSortBy.md → UpdateLabelRequest.md} +20 -4
  73. package/docs/UpdateProductTypeRequest.md +4 -4
  74. package/docs/{UpdateProductRangeRequestAttributesInner.md → UpdateProductTypeRequestPerformanceValuesInner.md} +4 -4
  75. package/package.json +1 -1
  76. package/src/apis/AttributeApi.ts +0 -50
  77. package/src/apis/LabelApi.ts +328 -0
  78. package/src/apis/ProductApi.ts +1 -1
  79. package/src/apis/index.ts +1 -1
  80. package/src/models/AssetLiteResource.ts +0 -17
  81. package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
  82. package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +1 -2
  83. package/src/models/ExternalApiLogResource.ts +2 -3
  84. package/src/models/GetAllDocumentRequest.ts +1 -2
  85. package/src/models/GetAllProductChildRequest.ts +0 -1
  86. package/src/models/IndexAttributeRequest.ts +1 -3
  87. package/src/models/IndexDocumentRequest.ts +1 -2
  88. package/src/models/IndexLabelRequest.ts +163 -0
  89. package/src/models/IndexProductChildRequest.ts +0 -1
  90. package/src/models/LabelListResource.ts +134 -0
  91. package/src/models/LabelListResourceArrayResponse.ts +73 -0
  92. package/src/models/LabelLiteResource.ts +101 -0
  93. package/src/models/LabelLiteResourceArrayResponse.ts +73 -0
  94. package/src/models/LabelResource.ts +46 -12
  95. package/src/models/ModelAttributeResource.ts +0 -8
  96. package/src/models/PaginatedLabelListResourceResponse.ts +90 -0
  97. package/src/models/ProductSearchResultResource.ts +4 -13
  98. package/src/models/StoreAssetForAssetableRequest.ts +1 -4
  99. package/src/models/StoreLabelRequest.ts +125 -0
  100. package/src/models/UpdateLabelRequest.ts +121 -0
  101. package/src/models/UpdateProductTypeRequest.ts +22 -22
  102. package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
  103. package/src/models/index.ts +9 -44
  104. package/dist/apis/ProductRangeApi.d.ts +0 -269
  105. package/dist/apis/ProductRangeApi.js +0 -1043
  106. package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
  107. package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
  108. package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -33
  109. package/dist/models/AttachAttributesProductRangeRequest.js +0 -52
  110. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +0 -38
  111. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +0 -53
  112. package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
  113. package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
  114. package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
  115. package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
  116. package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
  117. package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
  118. package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
  119. package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
  120. package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
  121. package/dist/models/GetAllProductRangeRequest.js +0 -82
  122. package/dist/models/IndexModelAttributeRequest.d.ts +0 -118
  123. package/dist/models/IndexModelAttributeRequest.js +0 -93
  124. package/dist/models/IndexProductRangeRequest.d.ts +0 -110
  125. package/dist/models/ModelAttributeListResource.d.ts +0 -64
  126. package/dist/models/ModelAttributeListResource.js +0 -71
  127. package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
  128. package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
  129. package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
  130. package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
  131. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
  132. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
  133. package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
  134. package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
  135. package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
  136. package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
  137. package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
  138. package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
  139. package/dist/models/PaginatedProductRangeSearchResultResourceResponse.d.ts +0 -40
  140. package/dist/models/PaginatedProductRangeSearchResultResourceResponse.js +0 -57
  141. package/dist/models/ProductRangeAggregationResource.d.ts +0 -44
  142. package/dist/models/ProductRangeAggregationResource.js +0 -59
  143. package/dist/models/ProductRangeAggregationResourceArrayResponse.d.ts +0 -33
  144. package/dist/models/ProductRangeAggregationResourceArrayResponse.js +0 -50
  145. package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
  146. package/dist/models/ProductRangeFrontendListResource.js +0 -71
  147. package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
  148. package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
  149. package/dist/models/ProductRangeFrontendResource.d.ts +0 -117
  150. package/dist/models/ProductRangeFrontendResource.js +0 -106
  151. package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
  152. package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
  153. package/dist/models/ProductRangeListResource.d.ts +0 -66
  154. package/dist/models/ProductRangeListResource.js +0 -75
  155. package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
  156. package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
  157. package/dist/models/ProductRangeLiteResource.d.ts +0 -38
  158. package/dist/models/ProductRangeLiteResource.js +0 -55
  159. package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
  160. package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
  161. package/dist/models/ProductRangeResource.d.ts +0 -89
  162. package/dist/models/ProductRangeResource.js +0 -86
  163. package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
  164. package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
  165. package/dist/models/ProductRangeSearchResponseResource.d.ts +0 -47
  166. package/dist/models/ProductRangeSearchResponseResource.js +0 -62
  167. package/dist/models/ProductRangeSearchResponseResourceArrayResponse.d.ts +0 -33
  168. package/dist/models/ProductRangeSearchResponseResourceArrayResponse.js +0 -50
  169. package/dist/models/ProductRangeSearchResponseResourceMeta.d.ts +0 -50
  170. package/dist/models/ProductRangeSearchResponseResourceMeta.js +0 -63
  171. package/dist/models/ProductRangeSearchResultResource.d.ts +0 -80
  172. package/dist/models/ProductRangeSearchResultResource.js +0 -83
  173. package/dist/models/ProductRangeSearchResultResourceArrayResponse.d.ts +0 -33
  174. package/dist/models/ProductRangeSearchResultResourceArrayResponse.js +0 -50
  175. package/dist/models/ProductRangeSiteDetailLiteResource.d.ts +0 -44
  176. package/dist/models/ProductRangeSiteDetailLiteResource.js +0 -59
  177. package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.d.ts +0 -33
  178. package/dist/models/ProductRangeSiteDetailLiteResourceArrayResponse.js +0 -50
  179. package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -101
  180. package/dist/models/ProductRangeSiteDetailResource.js +0 -98
  181. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
  182. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
  183. package/dist/models/ProductRangeSortBy.d.ts +0 -27
  184. package/dist/models/ProductRangeSortBy.js +0 -53
  185. package/dist/models/StoreProductRangeRequest.d.ts +0 -52
  186. package/dist/models/StoreProductRangeRequest.js +0 -59
  187. package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
  188. package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
  189. package/dist/models/UpdateProductRangeRequest.d.ts +0 -59
  190. package/dist/models/UpdateProductRangeRequest.js +0 -62
  191. package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +0 -38
  192. package/dist/models/UpdateProductRangeRequestAttributesInner.js +0 -51
  193. package/docs/AttachAccessoriesProductRangeRequest.md +0 -34
  194. package/docs/AttachAttributesProductRangeRequest.md +0 -34
  195. package/docs/AttachAttributesProductRangeRequestAttributesInner.md +0 -36
  196. package/docs/DetachAccessoriesProductRangeRequest.md +0 -34
  197. package/docs/DetachAttributesProductRangeRequest.md +0 -34
  198. package/docs/DetachDocumentsProductRangeRequest.md +0 -34
  199. package/docs/GetAllProductRangeRequest.md +0 -50
  200. package/docs/IndexProductRangeRequest.md +0 -54
  201. package/docs/ModelAttributeListResource.md +0 -44
  202. package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
  203. package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
  204. package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
  205. package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
  206. package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
  207. package/docs/PaginatedProductRangeSearchResultResourceResponse.md +0 -36
  208. package/docs/ProductRangeAggregationResource.md +0 -38
  209. package/docs/ProductRangeAggregationResourceArrayResponse.md +0 -34
  210. package/docs/ProductRangeApi.md +0 -1097
  211. package/docs/ProductRangeFrontendListResourceArrayResponse.md +0 -34
  212. package/docs/ProductRangeFrontendResource.md +0 -62
  213. package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
  214. package/docs/ProductRangeListResource.md +0 -44
  215. package/docs/ProductRangeListResourceArrayResponse.md +0 -34
  216. package/docs/ProductRangeLiteResourceArrayResponse.md +0 -34
  217. package/docs/ProductRangeResource.md +0 -52
  218. package/docs/ProductRangeSearchResponseResource.md +0 -38
  219. package/docs/ProductRangeSearchResponseResourceArrayResponse.md +0 -34
  220. package/docs/ProductRangeSearchResponseResourceMeta.md +0 -40
  221. package/docs/ProductRangeSearchResultResource.md +0 -50
  222. package/docs/ProductRangeSearchResultResourceArrayResponse.md +0 -34
  223. package/docs/ProductRangeSiteDetailLiteResourceArrayResponse.md +0 -34
  224. package/docs/ProductRangeSiteDetailResource.md +0 -56
  225. package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
  226. package/docs/StoreProductRangeRequest.md +0 -40
  227. package/docs/StoreProductRangeRequestSitesInner.md +0 -54
  228. package/docs/UpdateProductRangeRequest.md +0 -42
  229. package/src/apis/ProductRangeApi.ts +0 -888
  230. package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
  231. package/src/models/AttachAttributesProductRangeRequest.ts +0 -74
  232. package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +0 -74
  233. package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
  234. package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
  235. package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
  236. package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
  237. package/src/models/GetAllProductRangeRequest.ts +0 -151
  238. package/src/models/IndexModelAttributeRequest.ts +0 -176
  239. package/src/models/IndexProductRangeRequest.ts +0 -167
  240. package/src/models/ModelAttributeListResource.ts +0 -125
  241. package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
  242. package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
  243. package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
  244. package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
  245. package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
  246. package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
  247. package/src/models/PaginatedProductRangeSearchResultResourceResponse.ts +0 -90
  248. package/src/models/ProductRangeAggregationResource.ts +0 -84
  249. package/src/models/ProductRangeAggregationResourceArrayResponse.ts +0 -73
  250. package/src/models/ProductRangeFrontendListResource.ts +0 -111
  251. package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
  252. package/src/models/ProductRangeFrontendResource.ts +0 -199
  253. package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
  254. package/src/models/ProductRangeListResource.ts +0 -140
  255. package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
  256. package/src/models/ProductRangeLiteResource.ts +0 -75
  257. package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
  258. package/src/models/ProductRangeResource.ts +0 -167
  259. package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
  260. package/src/models/ProductRangeSearchResponseResource.ts +0 -106
  261. package/src/models/ProductRangeSearchResponseResourceArrayResponse.ts +0 -73
  262. package/src/models/ProductRangeSearchResponseResourceMeta.ts +0 -93
  263. package/src/models/ProductRangeSearchResultResource.ts +0 -138
  264. package/src/models/ProductRangeSearchResultResourceArrayResponse.ts +0 -73
  265. package/src/models/ProductRangeSiteDetailLiteResource.ts +0 -84
  266. package/src/models/ProductRangeSiteDetailLiteResourceArrayResponse.ts +0 -73
  267. package/src/models/ProductRangeSiteDetailResource.ts +0 -187
  268. package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
  269. package/src/models/ProductRangeSortBy.ts +0 -55
  270. package/src/models/StoreProductRangeRequest.ts +0 -105
  271. package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
  272. package/src/models/UpdateProductRangeRequest.ts +0 -120
  273. package/src/models/UpdateProductRangeRequestAttributesInner.ts +0 -73
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { ProductRangeFrontendListResource } from './ProductRangeFrontendListResource';
24
- import {
25
- ProductRangeFrontendListResourceFromJSON,
26
- ProductRangeFrontendListResourceFromJSONTyped,
27
- ProductRangeFrontendListResourceToJSON,
28
- ProductRangeFrontendListResourceToJSONTyped,
29
- } from './ProductRangeFrontendListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedProductRangeFrontendListResourceResponse
35
- */
36
- export interface PaginatedProductRangeFrontendListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<ProductRangeFrontendListResource>}
40
- * @memberof PaginatedProductRangeFrontendListResourceResponse
41
- */
42
- data: Array<ProductRangeFrontendListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedProductRangeFrontendListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedProductRangeFrontendListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedProductRangeFrontendListResourceResponse(value: object): value is PaginatedProductRangeFrontendListResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedProductRangeFrontendListResourceResponseFromJSON(json: any): PaginatedProductRangeFrontendListResourceResponse {
61
- return PaginatedProductRangeFrontendListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedProductRangeFrontendListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRangeFrontendListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(ProductRangeFrontendListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedProductRangeFrontendListResourceResponseToJSON(json: any): PaginatedProductRangeFrontendListResourceResponse {
76
- return PaginatedProductRangeFrontendListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedProductRangeFrontendListResourceResponseToJSONTyped(value?: PaginatedProductRangeFrontendListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(ProductRangeFrontendListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { ProductRangeListResource } from './ProductRangeListResource';
24
- import {
25
- ProductRangeListResourceFromJSON,
26
- ProductRangeListResourceFromJSONTyped,
27
- ProductRangeListResourceToJSON,
28
- ProductRangeListResourceToJSONTyped,
29
- } from './ProductRangeListResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedProductRangeListResourceResponse
35
- */
36
- export interface PaginatedProductRangeListResourceResponse {
37
- /**
38
- *
39
- * @type {Array<ProductRangeListResource>}
40
- * @memberof PaginatedProductRangeListResourceResponse
41
- */
42
- data: Array<ProductRangeListResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedProductRangeListResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedProductRangeListResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedProductRangeListResourceResponse(value: object): value is PaginatedProductRangeListResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedProductRangeListResourceResponseFromJSON(json: any): PaginatedProductRangeListResourceResponse {
61
- return PaginatedProductRangeListResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedProductRangeListResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRangeListResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(ProductRangeListResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedProductRangeListResourceResponseToJSON(json: any): PaginatedProductRangeListResourceResponse {
76
- return PaginatedProductRangeListResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedProductRangeListResourceResponseToJSONTyped(value?: PaginatedProductRangeListResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(ProductRangeListResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { ProductRangeLiteResource } from './ProductRangeLiteResource';
24
- import {
25
- ProductRangeLiteResourceFromJSON,
26
- ProductRangeLiteResourceFromJSONTyped,
27
- ProductRangeLiteResourceToJSON,
28
- ProductRangeLiteResourceToJSONTyped,
29
- } from './ProductRangeLiteResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedProductRangeLiteResourceResponse
35
- */
36
- export interface PaginatedProductRangeLiteResourceResponse {
37
- /**
38
- *
39
- * @type {Array<ProductRangeLiteResource>}
40
- * @memberof PaginatedProductRangeLiteResourceResponse
41
- */
42
- data: Array<ProductRangeLiteResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedProductRangeLiteResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedProductRangeLiteResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedProductRangeLiteResourceResponse(value: object): value is PaginatedProductRangeLiteResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedProductRangeLiteResourceResponseFromJSON(json: any): PaginatedProductRangeLiteResourceResponse {
61
- return PaginatedProductRangeLiteResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedProductRangeLiteResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRangeLiteResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(ProductRangeLiteResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedProductRangeLiteResourceResponseToJSON(json: any): PaginatedProductRangeLiteResourceResponse {
76
- return PaginatedProductRangeLiteResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedProductRangeLiteResourceResponseToJSONTyped(value?: PaginatedProductRangeLiteResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(ProductRangeLiteResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { ProductRangeResource } from './ProductRangeResource';
24
- import {
25
- ProductRangeResourceFromJSON,
26
- ProductRangeResourceFromJSONTyped,
27
- ProductRangeResourceToJSON,
28
- ProductRangeResourceToJSONTyped,
29
- } from './ProductRangeResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedProductRangeResourceResponse
35
- */
36
- export interface PaginatedProductRangeResourceResponse {
37
- /**
38
- *
39
- * @type {Array<ProductRangeResource>}
40
- * @memberof PaginatedProductRangeResourceResponse
41
- */
42
- data: Array<ProductRangeResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedProductRangeResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedProductRangeResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedProductRangeResourceResponse(value: object): value is PaginatedProductRangeResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedProductRangeResourceResponseFromJSON(json: any): PaginatedProductRangeResourceResponse {
61
- return PaginatedProductRangeResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedProductRangeResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRangeResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(ProductRangeResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedProductRangeResourceResponseToJSON(json: any): PaginatedProductRangeResourceResponse {
76
- return PaginatedProductRangeResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedProductRangeResourceResponseToJSONTyped(value?: PaginatedProductRangeResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(ProductRangeResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,90 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { PagingMetadata } from './PagingMetadata';
17
- import {
18
- PagingMetadataFromJSON,
19
- PagingMetadataFromJSONTyped,
20
- PagingMetadataToJSON,
21
- PagingMetadataToJSONTyped,
22
- } from './PagingMetadata';
23
- import type { ProductRangeSearchResultResource } from './ProductRangeSearchResultResource';
24
- import {
25
- ProductRangeSearchResultResourceFromJSON,
26
- ProductRangeSearchResultResourceFromJSONTyped,
27
- ProductRangeSearchResultResourceToJSON,
28
- ProductRangeSearchResultResourceToJSONTyped,
29
- } from './ProductRangeSearchResultResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface PaginatedProductRangeSearchResultResourceResponse
35
- */
36
- export interface PaginatedProductRangeSearchResultResourceResponse {
37
- /**
38
- *
39
- * @type {Array<ProductRangeSearchResultResource>}
40
- * @memberof PaginatedProductRangeSearchResultResourceResponse
41
- */
42
- data: Array<ProductRangeSearchResultResource>;
43
- /**
44
- *
45
- * @type {PagingMetadata}
46
- * @memberof PaginatedProductRangeSearchResultResourceResponse
47
- */
48
- meta: PagingMetadata;
49
- }
50
-
51
- /**
52
- * Check if a given object implements the PaginatedProductRangeSearchResultResourceResponse interface.
53
- */
54
- export function instanceOfPaginatedProductRangeSearchResultResourceResponse(value: object): value is PaginatedProductRangeSearchResultResourceResponse {
55
- if (!('data' in value) || value['data'] === undefined) return false;
56
- if (!('meta' in value) || value['meta'] === undefined) return false;
57
- return true;
58
- }
59
-
60
- export function PaginatedProductRangeSearchResultResourceResponseFromJSON(json: any): PaginatedProductRangeSearchResultResourceResponse {
61
- return PaginatedProductRangeSearchResultResourceResponseFromJSONTyped(json, false);
62
- }
63
-
64
- export function PaginatedProductRangeSearchResultResourceResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): PaginatedProductRangeSearchResultResourceResponse {
65
- if (json == null) {
66
- return json;
67
- }
68
- return {
69
-
70
- 'data': ((json['data'] as Array<any>).map(ProductRangeSearchResultResourceFromJSON)),
71
- 'meta': PagingMetadataFromJSON(json['meta']),
72
- };
73
- }
74
-
75
- export function PaginatedProductRangeSearchResultResourceResponseToJSON(json: any): PaginatedProductRangeSearchResultResourceResponse {
76
- return PaginatedProductRangeSearchResultResourceResponseToJSONTyped(json, false);
77
- }
78
-
79
- export function PaginatedProductRangeSearchResultResourceResponseToJSONTyped(value?: PaginatedProductRangeSearchResultResourceResponse | null, ignoreDiscriminator: boolean = false): any {
80
- if (value == null) {
81
- return value;
82
- }
83
-
84
- return {
85
-
86
- 'data': ((value['data'] as Array<any>).map(ProductRangeSearchResultResourceToJSON)),
87
- 'meta': PagingMetadataToJSON(value['meta']),
88
- };
89
- }
90
-
@@ -1,84 +0,0 @@
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 ProductRangeAggregationResource
20
- */
21
- export interface ProductRangeAggregationResource {
22
- /**
23
- *
24
- * @type {Array<object>}
25
- * @memberof ProductRangeAggregationResource
26
- */
27
- attributes: Array<object>;
28
- /**
29
- *
30
- * @type {Array<object>}
31
- * @memberof ProductRangeAggregationResource
32
- */
33
- brands: Array<object>;
34
- /**
35
- *
36
- * @type {Array<object>}
37
- * @memberof ProductRangeAggregationResource
38
- */
39
- categories: Array<object>;
40
- }
41
-
42
- /**
43
- * Check if a given object implements the ProductRangeAggregationResource interface.
44
- */
45
- export function instanceOfProductRangeAggregationResource(value: object): value is ProductRangeAggregationResource {
46
- if (!('attributes' in value) || value['attributes'] === undefined) return false;
47
- if (!('brands' in value) || value['brands'] === undefined) return false;
48
- if (!('categories' in value) || value['categories'] === undefined) return false;
49
- return true;
50
- }
51
-
52
- export function ProductRangeAggregationResourceFromJSON(json: any): ProductRangeAggregationResource {
53
- return ProductRangeAggregationResourceFromJSONTyped(json, false);
54
- }
55
-
56
- export function ProductRangeAggregationResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeAggregationResource {
57
- if (json == null) {
58
- return json;
59
- }
60
- return {
61
-
62
- 'attributes': json['attributes'],
63
- 'brands': json['brands'],
64
- 'categories': json['categories'],
65
- };
66
- }
67
-
68
- export function ProductRangeAggregationResourceToJSON(json: any): ProductRangeAggregationResource {
69
- return ProductRangeAggregationResourceToJSONTyped(json, false);
70
- }
71
-
72
- export function ProductRangeAggregationResourceToJSONTyped(value?: ProductRangeAggregationResource | null, ignoreDiscriminator: boolean = false): any {
73
- if (value == null) {
74
- return value;
75
- }
76
-
77
- return {
78
-
79
- 'attributes': value['attributes'],
80
- 'brands': value['brands'],
81
- 'categories': value['categories'],
82
- };
83
- }
84
-
@@ -1,73 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { ProductRangeAggregationResource } from './ProductRangeAggregationResource';
17
- import {
18
- ProductRangeAggregationResourceFromJSON,
19
- ProductRangeAggregationResourceFromJSONTyped,
20
- ProductRangeAggregationResourceToJSON,
21
- ProductRangeAggregationResourceToJSONTyped,
22
- } from './ProductRangeAggregationResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface ProductRangeAggregationResourceArrayResponse
28
- */
29
- export interface ProductRangeAggregationResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<ProductRangeAggregationResource>}
33
- * @memberof ProductRangeAggregationResourceArrayResponse
34
- */
35
- data?: Array<ProductRangeAggregationResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the ProductRangeAggregationResourceArrayResponse interface.
40
- */
41
- export function instanceOfProductRangeAggregationResourceArrayResponse(value: object): value is ProductRangeAggregationResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function ProductRangeAggregationResourceArrayResponseFromJSON(json: any): ProductRangeAggregationResourceArrayResponse {
46
- return ProductRangeAggregationResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function ProductRangeAggregationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeAggregationResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRangeAggregationResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function ProductRangeAggregationResourceArrayResponseToJSON(json: any): ProductRangeAggregationResourceArrayResponse {
60
- return ProductRangeAggregationResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function ProductRangeAggregationResourceArrayResponseToJSONTyped(value?: ProductRangeAggregationResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
- if (value == null) {
65
- return value;
66
- }
67
-
68
- return {
69
-
70
- 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(ProductRangeAggregationResourceToJSON)),
71
- };
72
- }
73
-