@digital8/lighting-illusions-ts-sdk 0.0.751 → 0.0.752

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 (193) hide show
  1. package/.openapi-generator/FILES +2 -68
  2. package/README.md +3 -52
  3. package/dist/apis/AttributeApi.d.ts +1 -12
  4. package/dist/apis/AttributeApi.js +0 -45
  5. package/dist/apis/index.d.ts +0 -1
  6. package/dist/apis/index.js +0 -1
  7. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
  8. package/dist/models/AttachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
  9. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.d.ts +0 -1
  10. package/dist/models/DetachDocumentablesDocumentRequestDocumentablesInner.js +0 -1
  11. package/dist/models/GetAllDocumentRequest.d.ts +0 -1
  12. package/dist/models/GetAllDocumentRequest.js +0 -1
  13. package/dist/models/GetAllProductChildRequest.d.ts +0 -1
  14. package/dist/models/GetAllProductChildRequest.js +0 -1
  15. package/dist/models/IndexAttributeRequest.d.ts +0 -2
  16. package/dist/models/IndexAttributeRequest.js +1 -3
  17. package/dist/models/IndexDocumentRequest.d.ts +0 -1
  18. package/dist/models/IndexDocumentRequest.js +0 -1
  19. package/dist/models/IndexProductChildRequest.d.ts +0 -1
  20. package/dist/models/IndexProductChildRequest.js +0 -1
  21. package/dist/models/ModelAttributeResource.d.ts +0 -6
  22. package/dist/models/ModelAttributeResource.js +0 -2
  23. package/dist/models/ProductCategoryLiteResource.d.ts +6 -0
  24. package/dist/models/ProductCategoryLiteResource.js +4 -0
  25. package/dist/models/ProductChildListResource.d.ts +12 -0
  26. package/dist/models/ProductChildListResource.js +6 -0
  27. package/dist/models/ProductResource.d.ts +2 -2
  28. package/dist/models/ProductResource.js +3 -3
  29. package/dist/models/UpdateProductTypeRequest.d.ts +9 -9
  30. package/dist/models/UpdateProductTypeRequest.js +9 -9
  31. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.d.ts +38 -0
  32. package/dist/models/UpdateProductTypeRequestPerformanceValuesInner.js +51 -0
  33. package/dist/models/index.d.ts +1 -33
  34. package/dist/models/index.js +1 -33
  35. package/docs/AttributeApi.md +0 -66
  36. package/docs/ModelAttributeResource.md +0 -2
  37. package/docs/ProductCategoryLiteResource.md +2 -0
  38. package/docs/ProductChildListResource.md +4 -0
  39. package/docs/ProductResource.md +2 -2
  40. package/docs/UpdateProductTypeRequest.md +4 -4
  41. package/docs/{UpdateProductRangeRequestAttributesInner.md → UpdateProductTypeRequestPerformanceValuesInner.md} +4 -4
  42. package/package.json +1 -1
  43. package/src/apis/AttributeApi.ts +0 -42
  44. package/src/apis/index.ts +0 -1
  45. package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
  46. package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
  47. package/src/models/GetAllDocumentRequest.ts +0 -1
  48. package/src/models/GetAllProductChildRequest.ts +0 -1
  49. package/src/models/IndexAttributeRequest.ts +1 -3
  50. package/src/models/IndexDocumentRequest.ts +0 -1
  51. package/src/models/IndexProductChildRequest.ts +0 -1
  52. package/src/models/ModelAttributeResource.ts +0 -8
  53. package/src/models/ProductCategoryLiteResource.ts +9 -0
  54. package/src/models/ProductChildListResource.ts +17 -0
  55. package/src/models/ProductResource.ts +5 -5
  56. package/src/models/UpdateProductTypeRequest.ts +22 -22
  57. package/src/models/UpdateProductTypeRequestPerformanceValuesInner.ts +73 -0
  58. package/src/models/index.ts +1 -33
  59. package/dist/apis/ProductRangeApi.d.ts +0 -205
  60. package/dist/apis/ProductRangeApi.js +0 -835
  61. package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
  62. package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
  63. package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -33
  64. package/dist/models/AttachAttributesProductRangeRequest.js +0 -52
  65. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.d.ts +0 -38
  66. package/dist/models/AttachAttributesProductRangeRequestAttributesInner.js +0 -53
  67. package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
  68. package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
  69. package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
  70. package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
  71. package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
  72. package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
  73. package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
  74. package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
  75. package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
  76. package/dist/models/GetAllProductRangeRequest.js +0 -82
  77. package/dist/models/IndexModelAttributeRequest.d.ts +0 -118
  78. package/dist/models/IndexModelAttributeRequest.js +0 -93
  79. package/dist/models/IndexProductRangeRequest.d.ts +0 -110
  80. package/dist/models/IndexProductRangeRequest.js +0 -86
  81. package/dist/models/ModelAttributeListResource.d.ts +0 -52
  82. package/dist/models/ModelAttributeListResource.js +0 -65
  83. package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
  84. package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
  85. package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
  86. package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
  87. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
  88. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
  89. package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
  90. package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
  91. package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
  92. package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
  93. package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
  94. package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
  95. package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
  96. package/dist/models/ProductRangeFrontendListResource.js +0 -71
  97. package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
  98. package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
  99. package/dist/models/ProductRangeFrontendResource.d.ts +0 -118
  100. package/dist/models/ProductRangeFrontendResource.js +0 -109
  101. package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
  102. package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
  103. package/dist/models/ProductRangeListResource.d.ts +0 -52
  104. package/dist/models/ProductRangeListResource.js +0 -65
  105. package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
  106. package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
  107. package/dist/models/ProductRangeLiteResource.d.ts +0 -38
  108. package/dist/models/ProductRangeLiteResource.js +0 -55
  109. package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
  110. package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
  111. package/dist/models/ProductRangeResource.d.ts +0 -89
  112. package/dist/models/ProductRangeResource.js +0 -86
  113. package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
  114. package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
  115. package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -101
  116. package/dist/models/ProductRangeSiteDetailResource.js +0 -98
  117. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
  118. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
  119. package/dist/models/StoreProductRangeRequest.d.ts +0 -52
  120. package/dist/models/StoreProductRangeRequest.js +0 -59
  121. package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
  122. package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
  123. package/dist/models/UpdateProductRangeRequest.d.ts +0 -59
  124. package/dist/models/UpdateProductRangeRequest.js +0 -62
  125. package/dist/models/UpdateProductRangeRequestAttributesInner.d.ts +0 -38
  126. package/dist/models/UpdateProductRangeRequestAttributesInner.js +0 -51
  127. package/docs/AttachAccessoriesProductRangeRequest.md +0 -34
  128. package/docs/AttachAttributesProductRangeRequest.md +0 -34
  129. package/docs/AttachAttributesProductRangeRequestAttributesInner.md +0 -36
  130. package/docs/AttachDocumentsProductRangeRequest.md +0 -34
  131. package/docs/DetachAccessoriesProductRangeRequest.md +0 -34
  132. package/docs/DetachAttributesProductRangeRequest.md +0 -34
  133. package/docs/DetachDocumentsProductRangeRequest.md +0 -34
  134. package/docs/GetAllProductRangeRequest.md +0 -50
  135. package/docs/IndexModelAttributeRequest.md +0 -54
  136. package/docs/IndexProductRangeRequest.md +0 -54
  137. package/docs/ModelAttributeListResource.md +0 -40
  138. package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
  139. package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
  140. package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
  141. package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
  142. package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
  143. package/docs/PaginatedProductRangeResourceResponse.md +0 -36
  144. package/docs/ProductRangeApi.md +0 -1097
  145. package/docs/ProductRangeFrontendListResource.md +0 -44
  146. package/docs/ProductRangeFrontendListResourceArrayResponse.md +0 -34
  147. package/docs/ProductRangeFrontendResource.md +0 -62
  148. package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
  149. package/docs/ProductRangeListResource.md +0 -40
  150. package/docs/ProductRangeListResourceArrayResponse.md +0 -34
  151. package/docs/ProductRangeLiteResource.md +0 -36
  152. package/docs/ProductRangeLiteResourceArrayResponse.md +0 -34
  153. package/docs/ProductRangeResource.md +0 -52
  154. package/docs/ProductRangeResourceArrayResponse.md +0 -34
  155. package/docs/ProductRangeSiteDetailResource.md +0 -56
  156. package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
  157. package/docs/StoreProductRangeRequest.md +0 -40
  158. package/docs/StoreProductRangeRequestSitesInner.md +0 -54
  159. package/docs/UpdateProductRangeRequest.md +0 -42
  160. package/src/apis/ProductRangeApi.ts +0 -760
  161. package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
  162. package/src/models/AttachAttributesProductRangeRequest.ts +0 -74
  163. package/src/models/AttachAttributesProductRangeRequestAttributesInner.ts +0 -74
  164. package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
  165. package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
  166. package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
  167. package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
  168. package/src/models/GetAllProductRangeRequest.ts +0 -151
  169. package/src/models/IndexModelAttributeRequest.ts +0 -176
  170. package/src/models/IndexProductRangeRequest.ts +0 -167
  171. package/src/models/ModelAttributeListResource.ts +0 -108
  172. package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
  173. package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
  174. package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
  175. package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
  176. package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
  177. package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
  178. package/src/models/ProductRangeFrontendListResource.ts +0 -111
  179. package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
  180. package/src/models/ProductRangeFrontendResource.ts +0 -207
  181. package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
  182. package/src/models/ProductRangeListResource.ts +0 -108
  183. package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
  184. package/src/models/ProductRangeLiteResource.ts +0 -75
  185. package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
  186. package/src/models/ProductRangeResource.ts +0 -167
  187. package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
  188. package/src/models/ProductRangeSiteDetailResource.ts +0 -187
  189. package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
  190. package/src/models/StoreProductRangeRequest.ts +0 -105
  191. package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
  192. package/src/models/UpdateProductRangeRequest.ts +0 -120
  193. package/src/models/UpdateProductRangeRequestAttributesInner.ts +0 -73
@@ -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 { ProductRangeFrontendResource } from './ProductRangeFrontendResource';
17
- import {
18
- ProductRangeFrontendResourceFromJSON,
19
- ProductRangeFrontendResourceFromJSONTyped,
20
- ProductRangeFrontendResourceToJSON,
21
- ProductRangeFrontendResourceToJSONTyped,
22
- } from './ProductRangeFrontendResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface ProductRangeFrontendResourceArrayResponse
28
- */
29
- export interface ProductRangeFrontendResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<ProductRangeFrontendResource>}
33
- * @memberof ProductRangeFrontendResourceArrayResponse
34
- */
35
- data?: Array<ProductRangeFrontendResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the ProductRangeFrontendResourceArrayResponse interface.
40
- */
41
- export function instanceOfProductRangeFrontendResourceArrayResponse(value: object): value is ProductRangeFrontendResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function ProductRangeFrontendResourceArrayResponseFromJSON(json: any): ProductRangeFrontendResourceArrayResponse {
46
- return ProductRangeFrontendResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function ProductRangeFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeFrontendResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRangeFrontendResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function ProductRangeFrontendResourceArrayResponseToJSON(json: any): ProductRangeFrontendResourceArrayResponse {
60
- return ProductRangeFrontendResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function ProductRangeFrontendResourceArrayResponseToJSONTyped(value?: ProductRangeFrontendResourceArrayResponse | 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(ProductRangeFrontendResourceToJSON)),
71
- };
72
- }
73
-
@@ -1,108 +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 { SiteLiteResource } from './SiteLiteResource';
17
- import {
18
- SiteLiteResourceFromJSON,
19
- SiteLiteResourceFromJSONTyped,
20
- SiteLiteResourceToJSON,
21
- SiteLiteResourceToJSONTyped,
22
- } from './SiteLiteResource';
23
- import type { SupplierLiteResource } from './SupplierLiteResource';
24
- import {
25
- SupplierLiteResourceFromJSON,
26
- SupplierLiteResourceFromJSONTyped,
27
- SupplierLiteResourceToJSON,
28
- SupplierLiteResourceToJSONTyped,
29
- } from './SupplierLiteResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface ProductRangeListResource
35
- */
36
- export interface ProductRangeListResource {
37
- /**
38
- *
39
- * @type {number}
40
- * @memberof ProductRangeListResource
41
- */
42
- id: number;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof ProductRangeListResource
47
- */
48
- name: string;
49
- /**
50
- *
51
- * @type {SupplierLiteResource}
52
- * @memberof ProductRangeListResource
53
- */
54
- supplier: SupplierLiteResource | null;
55
- /**
56
- *
57
- * @type {Array<SiteLiteResource>}
58
- * @memberof ProductRangeListResource
59
- */
60
- sites: Array<SiteLiteResource> | null;
61
- }
62
-
63
- /**
64
- * Check if a given object implements the ProductRangeListResource interface.
65
- */
66
- export function instanceOfProductRangeListResource(value: object): value is ProductRangeListResource {
67
- if (!('id' in value) || value['id'] === undefined) return false;
68
- if (!('name' in value) || value['name'] === undefined) return false;
69
- if (!('supplier' in value) || value['supplier'] === undefined) return false;
70
- if (!('sites' in value) || value['sites'] === undefined) return false;
71
- return true;
72
- }
73
-
74
- export function ProductRangeListResourceFromJSON(json: any): ProductRangeListResource {
75
- return ProductRangeListResourceFromJSONTyped(json, false);
76
- }
77
-
78
- export function ProductRangeListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeListResource {
79
- if (json == null) {
80
- return json;
81
- }
82
- return {
83
-
84
- 'id': json['id'],
85
- 'name': json['name'],
86
- 'supplier': SupplierLiteResourceFromJSON(json['supplier']),
87
- 'sites': (json['sites'] == null ? null : (json['sites'] as Array<any>).map(SiteLiteResourceFromJSON)),
88
- };
89
- }
90
-
91
- export function ProductRangeListResourceToJSON(json: any): ProductRangeListResource {
92
- return ProductRangeListResourceToJSONTyped(json, false);
93
- }
94
-
95
- export function ProductRangeListResourceToJSONTyped(value?: ProductRangeListResource | null, ignoreDiscriminator: boolean = false): any {
96
- if (value == null) {
97
- return value;
98
- }
99
-
100
- return {
101
-
102
- 'id': value['id'],
103
- 'name': value['name'],
104
- 'supplier': SupplierLiteResourceToJSON(value['supplier']),
105
- 'sites': (value['sites'] == null ? null : (value['sites'] as Array<any>).map(SiteLiteResourceToJSON)),
106
- };
107
- }
108
-
@@ -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 { ProductRangeListResource } from './ProductRangeListResource';
17
- import {
18
- ProductRangeListResourceFromJSON,
19
- ProductRangeListResourceFromJSONTyped,
20
- ProductRangeListResourceToJSON,
21
- ProductRangeListResourceToJSONTyped,
22
- } from './ProductRangeListResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface ProductRangeListResourceArrayResponse
28
- */
29
- export interface ProductRangeListResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<ProductRangeListResource>}
33
- * @memberof ProductRangeListResourceArrayResponse
34
- */
35
- data?: Array<ProductRangeListResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the ProductRangeListResourceArrayResponse interface.
40
- */
41
- export function instanceOfProductRangeListResourceArrayResponse(value: object): value is ProductRangeListResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function ProductRangeListResourceArrayResponseFromJSON(json: any): ProductRangeListResourceArrayResponse {
46
- return ProductRangeListResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function ProductRangeListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeListResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRangeListResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function ProductRangeListResourceArrayResponseToJSON(json: any): ProductRangeListResourceArrayResponse {
60
- return ProductRangeListResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function ProductRangeListResourceArrayResponseToJSONTyped(value?: ProductRangeListResourceArrayResponse | 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(ProductRangeListResourceToJSON)),
71
- };
72
- }
73
-
@@ -1,75 +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 ProductRangeLiteResource
20
- */
21
- export interface ProductRangeLiteResource {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof ProductRangeLiteResource
26
- */
27
- id: number;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof ProductRangeLiteResource
32
- */
33
- name: string;
34
- }
35
-
36
- /**
37
- * Check if a given object implements the ProductRangeLiteResource interface.
38
- */
39
- export function instanceOfProductRangeLiteResource(value: object): value is ProductRangeLiteResource {
40
- if (!('id' in value) || value['id'] === undefined) return false;
41
- if (!('name' in value) || value['name'] === undefined) return false;
42
- return true;
43
- }
44
-
45
- export function ProductRangeLiteResourceFromJSON(json: any): ProductRangeLiteResource {
46
- return ProductRangeLiteResourceFromJSONTyped(json, false);
47
- }
48
-
49
- export function ProductRangeLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeLiteResource {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'id': json['id'],
56
- 'name': json['name'],
57
- };
58
- }
59
-
60
- export function ProductRangeLiteResourceToJSON(json: any): ProductRangeLiteResource {
61
- return ProductRangeLiteResourceToJSONTyped(json, false);
62
- }
63
-
64
- export function ProductRangeLiteResourceToJSONTyped(value?: ProductRangeLiteResource | null, ignoreDiscriminator: boolean = false): any {
65
- if (value == null) {
66
- return value;
67
- }
68
-
69
- return {
70
-
71
- 'id': value['id'],
72
- 'name': value['name'],
73
- };
74
- }
75
-
@@ -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 { ProductRangeLiteResource } from './ProductRangeLiteResource';
17
- import {
18
- ProductRangeLiteResourceFromJSON,
19
- ProductRangeLiteResourceFromJSONTyped,
20
- ProductRangeLiteResourceToJSON,
21
- ProductRangeLiteResourceToJSONTyped,
22
- } from './ProductRangeLiteResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface ProductRangeLiteResourceArrayResponse
28
- */
29
- export interface ProductRangeLiteResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<ProductRangeLiteResource>}
33
- * @memberof ProductRangeLiteResourceArrayResponse
34
- */
35
- data?: Array<ProductRangeLiteResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the ProductRangeLiteResourceArrayResponse interface.
40
- */
41
- export function instanceOfProductRangeLiteResourceArrayResponse(value: object): value is ProductRangeLiteResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function ProductRangeLiteResourceArrayResponseFromJSON(json: any): ProductRangeLiteResourceArrayResponse {
46
- return ProductRangeLiteResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function ProductRangeLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeLiteResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRangeLiteResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function ProductRangeLiteResourceArrayResponseToJSON(json: any): ProductRangeLiteResourceArrayResponse {
60
- return ProductRangeLiteResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function ProductRangeLiteResourceArrayResponseToJSONTyped(value?: ProductRangeLiteResourceArrayResponse | 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(ProductRangeLiteResourceToJSON)),
71
- };
72
- }
73
-
@@ -1,167 +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 { ProductRangeSiteDetailResource } from './ProductRangeSiteDetailResource';
17
- import {
18
- ProductRangeSiteDetailResourceFromJSON,
19
- ProductRangeSiteDetailResourceFromJSONTyped,
20
- ProductRangeSiteDetailResourceToJSON,
21
- ProductRangeSiteDetailResourceToJSONTyped,
22
- } from './ProductRangeSiteDetailResource';
23
- import type { SupplierLiteResource } from './SupplierLiteResource';
24
- import {
25
- SupplierLiteResourceFromJSON,
26
- SupplierLiteResourceFromJSONTyped,
27
- SupplierLiteResourceToJSON,
28
- SupplierLiteResourceToJSONTyped,
29
- } from './SupplierLiteResource';
30
- import type { AssetResource } from './AssetResource';
31
- import {
32
- AssetResourceFromJSON,
33
- AssetResourceFromJSONTyped,
34
- AssetResourceToJSON,
35
- AssetResourceToJSONTyped,
36
- } from './AssetResource';
37
-
38
- /**
39
- *
40
- * @export
41
- * @interface ProductRangeResource
42
- */
43
- export interface ProductRangeResource {
44
- /**
45
- *
46
- * @type {number}
47
- * @memberof ProductRangeResource
48
- */
49
- id: number;
50
- /**
51
- *
52
- * @type {string}
53
- * @memberof ProductRangeResource
54
- */
55
- name: string;
56
- /**
57
- *
58
- * @type {SupplierLiteResource}
59
- * @memberof ProductRangeResource
60
- */
61
- supplier: SupplierLiteResource | null;
62
- /**
63
- *
64
- * @type {object}
65
- * @memberof ProductRangeResource
66
- */
67
- sites: object;
68
- /**
69
- *
70
- * @type {Array<ProductRangeSiteDetailResource>}
71
- * @memberof ProductRangeResource
72
- */
73
- siteDetails: Array<ProductRangeSiteDetailResource> | null;
74
- /**
75
- *
76
- * @type {object}
77
- * @memberof ProductRangeResource
78
- */
79
- modelAttributes: object;
80
- /**
81
- *
82
- * @type {Array<AssetResource>}
83
- * @memberof ProductRangeResource
84
- */
85
- assets: Array<AssetResource> | null;
86
- /**
87
- *
88
- * @type {AssetResource}
89
- * @memberof ProductRangeResource
90
- */
91
- thumbnail: AssetResource | null;
92
- /**
93
- *
94
- * @type {string}
95
- * @memberof ProductRangeResource
96
- */
97
- createdAt?: string | null;
98
- /**
99
- *
100
- * @type {string}
101
- * @memberof ProductRangeResource
102
- */
103
- updatedAt?: string | null;
104
- }
105
-
106
- /**
107
- * Check if a given object implements the ProductRangeResource interface.
108
- */
109
- export function instanceOfProductRangeResource(value: object): value is ProductRangeResource {
110
- if (!('id' in value) || value['id'] === undefined) return false;
111
- if (!('name' in value) || value['name'] === undefined) return false;
112
- if (!('supplier' in value) || value['supplier'] === undefined) return false;
113
- if (!('sites' in value) || value['sites'] === undefined) return false;
114
- if (!('siteDetails' in value) || value['siteDetails'] === undefined) return false;
115
- if (!('modelAttributes' in value) || value['modelAttributes'] === undefined) return false;
116
- if (!('assets' in value) || value['assets'] === undefined) return false;
117
- if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
118
- return true;
119
- }
120
-
121
- export function ProductRangeResourceFromJSON(json: any): ProductRangeResource {
122
- return ProductRangeResourceFromJSONTyped(json, false);
123
- }
124
-
125
- export function ProductRangeResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeResource {
126
- if (json == null) {
127
- return json;
128
- }
129
- return {
130
-
131
- 'id': json['id'],
132
- 'name': json['name'],
133
- 'supplier': SupplierLiteResourceFromJSON(json['supplier']),
134
- 'sites': json['sites'],
135
- 'siteDetails': (json['siteDetails'] == null ? null : (json['siteDetails'] as Array<any>).map(ProductRangeSiteDetailResourceFromJSON)),
136
- 'modelAttributes': json['modelAttributes'],
137
- 'assets': (json['assets'] == null ? null : (json['assets'] as Array<any>).map(AssetResourceFromJSON)),
138
- 'thumbnail': AssetResourceFromJSON(json['thumbnail']),
139
- 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
140
- 'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
141
- };
142
- }
143
-
144
- export function ProductRangeResourceToJSON(json: any): ProductRangeResource {
145
- return ProductRangeResourceToJSONTyped(json, false);
146
- }
147
-
148
- export function ProductRangeResourceToJSONTyped(value?: ProductRangeResource | null, ignoreDiscriminator: boolean = false): any {
149
- if (value == null) {
150
- return value;
151
- }
152
-
153
- return {
154
-
155
- 'id': value['id'],
156
- 'name': value['name'],
157
- 'supplier': SupplierLiteResourceToJSON(value['supplier']),
158
- 'sites': value['sites'],
159
- 'siteDetails': (value['siteDetails'] == null ? null : (value['siteDetails'] as Array<any>).map(ProductRangeSiteDetailResourceToJSON)),
160
- 'modelAttributes': value['modelAttributes'],
161
- 'assets': (value['assets'] == null ? null : (value['assets'] as Array<any>).map(AssetResourceToJSON)),
162
- 'thumbnail': AssetResourceToJSON(value['thumbnail']),
163
- 'createdAt': value['createdAt'],
164
- 'updatedAt': value['updatedAt'],
165
- };
166
- }
167
-
@@ -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 { ProductRangeResource } from './ProductRangeResource';
17
- import {
18
- ProductRangeResourceFromJSON,
19
- ProductRangeResourceFromJSONTyped,
20
- ProductRangeResourceToJSON,
21
- ProductRangeResourceToJSONTyped,
22
- } from './ProductRangeResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface ProductRangeResourceArrayResponse
28
- */
29
- export interface ProductRangeResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<ProductRangeResource>}
33
- * @memberof ProductRangeResourceArrayResponse
34
- */
35
- data?: Array<ProductRangeResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the ProductRangeResourceArrayResponse interface.
40
- */
41
- export function instanceOfProductRangeResourceArrayResponse(value: object): value is ProductRangeResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function ProductRangeResourceArrayResponseFromJSON(json: any): ProductRangeResourceArrayResponse {
46
- return ProductRangeResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function ProductRangeResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRangeResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function ProductRangeResourceArrayResponseToJSON(json: any): ProductRangeResourceArrayResponse {
60
- return ProductRangeResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function ProductRangeResourceArrayResponseToJSONTyped(value?: ProductRangeResourceArrayResponse | 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(ProductRangeResourceToJSON)),
71
- };
72
- }
73
-