@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,50 +0,0 @@
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.instanceOfProductRangeListResourceArrayResponse = instanceOfProductRangeListResourceArrayResponse;
17
- exports.ProductRangeListResourceArrayResponseFromJSON = ProductRangeListResourceArrayResponseFromJSON;
18
- exports.ProductRangeListResourceArrayResponseFromJSONTyped = ProductRangeListResourceArrayResponseFromJSONTyped;
19
- exports.ProductRangeListResourceArrayResponseToJSON = ProductRangeListResourceArrayResponseToJSON;
20
- exports.ProductRangeListResourceArrayResponseToJSONTyped = ProductRangeListResourceArrayResponseToJSONTyped;
21
- var ProductRangeListResource_1 = require("./ProductRangeListResource");
22
- /**
23
- * Check if a given object implements the ProductRangeListResourceArrayResponse interface.
24
- */
25
- function instanceOfProductRangeListResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function ProductRangeListResourceArrayResponseFromJSON(json) {
29
- return ProductRangeListResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function ProductRangeListResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeListResource_1.ProductRangeListResourceFromJSON)),
37
- };
38
- }
39
- function ProductRangeListResourceArrayResponseToJSON(json) {
40
- return ProductRangeListResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function ProductRangeListResourceArrayResponseToJSONTyped(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(ProductRangeListResource_1.ProductRangeListResourceToJSON)),
49
- };
50
- }
@@ -1,38 +0,0 @@
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 ProductRangeLiteResource
16
- */
17
- export interface ProductRangeLiteResource {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof ProductRangeLiteResource
22
- */
23
- id: number;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ProductRangeLiteResource
28
- */
29
- name: string;
30
- }
31
- /**
32
- * Check if a given object implements the ProductRangeLiteResource interface.
33
- */
34
- export declare function instanceOfProductRangeLiteResource(value: object): value is ProductRangeLiteResource;
35
- export declare function ProductRangeLiteResourceFromJSON(json: any): ProductRangeLiteResource;
36
- export declare function ProductRangeLiteResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeLiteResource;
37
- export declare function ProductRangeLiteResourceToJSON(json: any): ProductRangeLiteResource;
38
- export declare function ProductRangeLiteResourceToJSONTyped(value?: ProductRangeLiteResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,55 +0,0 @@
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.instanceOfProductRangeLiteResource = instanceOfProductRangeLiteResource;
17
- exports.ProductRangeLiteResourceFromJSON = ProductRangeLiteResourceFromJSON;
18
- exports.ProductRangeLiteResourceFromJSONTyped = ProductRangeLiteResourceFromJSONTyped;
19
- exports.ProductRangeLiteResourceToJSON = ProductRangeLiteResourceToJSON;
20
- exports.ProductRangeLiteResourceToJSONTyped = ProductRangeLiteResourceToJSONTyped;
21
- /**
22
- * Check if a given object implements the ProductRangeLiteResource interface.
23
- */
24
- function instanceOfProductRangeLiteResource(value) {
25
- if (!('id' in value) || value['id'] === undefined)
26
- return false;
27
- if (!('name' in value) || value['name'] === undefined)
28
- return false;
29
- return true;
30
- }
31
- function ProductRangeLiteResourceFromJSON(json) {
32
- return ProductRangeLiteResourceFromJSONTyped(json, false);
33
- }
34
- function ProductRangeLiteResourceFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'id': json['id'],
40
- 'name': json['name'],
41
- };
42
- }
43
- function ProductRangeLiteResourceToJSON(json) {
44
- return ProductRangeLiteResourceToJSONTyped(json, false);
45
- }
46
- function ProductRangeLiteResourceToJSONTyped(value, ignoreDiscriminator) {
47
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
48
- if (value == null) {
49
- return value;
50
- }
51
- return {
52
- 'id': value['id'],
53
- 'name': value['name'],
54
- };
55
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ProductRangeLiteResource } from './ProductRangeLiteResource';
13
- /**
14
- *
15
- * @export
16
- * @interface ProductRangeLiteResourceArrayResponse
17
- */
18
- export interface ProductRangeLiteResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<ProductRangeLiteResource>}
22
- * @memberof ProductRangeLiteResourceArrayResponse
23
- */
24
- data?: Array<ProductRangeLiteResource>;
25
- }
26
- /**
27
- * Check if a given object implements the ProductRangeLiteResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfProductRangeLiteResourceArrayResponse(value: object): value is ProductRangeLiteResourceArrayResponse;
30
- export declare function ProductRangeLiteResourceArrayResponseFromJSON(json: any): ProductRangeLiteResourceArrayResponse;
31
- export declare function ProductRangeLiteResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeLiteResourceArrayResponse;
32
- export declare function ProductRangeLiteResourceArrayResponseToJSON(json: any): ProductRangeLiteResourceArrayResponse;
33
- export declare function ProductRangeLiteResourceArrayResponseToJSONTyped(value?: ProductRangeLiteResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
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.instanceOfProductRangeLiteResourceArrayResponse = instanceOfProductRangeLiteResourceArrayResponse;
17
- exports.ProductRangeLiteResourceArrayResponseFromJSON = ProductRangeLiteResourceArrayResponseFromJSON;
18
- exports.ProductRangeLiteResourceArrayResponseFromJSONTyped = ProductRangeLiteResourceArrayResponseFromJSONTyped;
19
- exports.ProductRangeLiteResourceArrayResponseToJSON = ProductRangeLiteResourceArrayResponseToJSON;
20
- exports.ProductRangeLiteResourceArrayResponseToJSONTyped = ProductRangeLiteResourceArrayResponseToJSONTyped;
21
- var ProductRangeLiteResource_1 = require("./ProductRangeLiteResource");
22
- /**
23
- * Check if a given object implements the ProductRangeLiteResourceArrayResponse interface.
24
- */
25
- function instanceOfProductRangeLiteResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function ProductRangeLiteResourceArrayResponseFromJSON(json) {
29
- return ProductRangeLiteResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function ProductRangeLiteResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeLiteResource_1.ProductRangeLiteResourceFromJSON)),
37
- };
38
- }
39
- function ProductRangeLiteResourceArrayResponseToJSON(json) {
40
- return ProductRangeLiteResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function ProductRangeLiteResourceArrayResponseToJSONTyped(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(ProductRangeLiteResource_1.ProductRangeLiteResourceToJSON)),
49
- };
50
- }
@@ -1,89 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ProductRangeSiteDetailResource } from './ProductRangeSiteDetailResource';
13
- import type { SupplierLiteResource } from './SupplierLiteResource';
14
- import type { AssetResource } from './AssetResource';
15
- /**
16
- *
17
- * @export
18
- * @interface ProductRangeResource
19
- */
20
- export interface ProductRangeResource {
21
- /**
22
- *
23
- * @type {number}
24
- * @memberof ProductRangeResource
25
- */
26
- id: number;
27
- /**
28
- *
29
- * @type {string}
30
- * @memberof ProductRangeResource
31
- */
32
- name: string;
33
- /**
34
- *
35
- * @type {SupplierLiteResource}
36
- * @memberof ProductRangeResource
37
- */
38
- supplier: SupplierLiteResource | null;
39
- /**
40
- *
41
- * @type {object}
42
- * @memberof ProductRangeResource
43
- */
44
- sites: object;
45
- /**
46
- *
47
- * @type {Array<ProductRangeSiteDetailResource>}
48
- * @memberof ProductRangeResource
49
- */
50
- siteDetails: Array<ProductRangeSiteDetailResource> | null;
51
- /**
52
- *
53
- * @type {object}
54
- * @memberof ProductRangeResource
55
- */
56
- modelAttributes: object;
57
- /**
58
- *
59
- * @type {Array<AssetResource>}
60
- * @memberof ProductRangeResource
61
- */
62
- assets: Array<AssetResource> | null;
63
- /**
64
- *
65
- * @type {AssetResource}
66
- * @memberof ProductRangeResource
67
- */
68
- thumbnail: AssetResource | null;
69
- /**
70
- *
71
- * @type {string}
72
- * @memberof ProductRangeResource
73
- */
74
- createdAt?: string | null;
75
- /**
76
- *
77
- * @type {string}
78
- * @memberof ProductRangeResource
79
- */
80
- updatedAt?: string | null;
81
- }
82
- /**
83
- * Check if a given object implements the ProductRangeResource interface.
84
- */
85
- export declare function instanceOfProductRangeResource(value: object): value is ProductRangeResource;
86
- export declare function ProductRangeResourceFromJSON(json: any): ProductRangeResource;
87
- export declare function ProductRangeResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeResource;
88
- export declare function ProductRangeResourceToJSON(json: any): ProductRangeResource;
89
- export declare function ProductRangeResourceToJSONTyped(value?: ProductRangeResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,86 +0,0 @@
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.instanceOfProductRangeResource = instanceOfProductRangeResource;
17
- exports.ProductRangeResourceFromJSON = ProductRangeResourceFromJSON;
18
- exports.ProductRangeResourceFromJSONTyped = ProductRangeResourceFromJSONTyped;
19
- exports.ProductRangeResourceToJSON = ProductRangeResourceToJSON;
20
- exports.ProductRangeResourceToJSONTyped = ProductRangeResourceToJSONTyped;
21
- var ProductRangeSiteDetailResource_1 = require("./ProductRangeSiteDetailResource");
22
- var SupplierLiteResource_1 = require("./SupplierLiteResource");
23
- var AssetResource_1 = require("./AssetResource");
24
- /**
25
- * Check if a given object implements the ProductRangeResource interface.
26
- */
27
- function instanceOfProductRangeResource(value) {
28
- if (!('id' in value) || value['id'] === undefined)
29
- return false;
30
- if (!('name' in value) || value['name'] === undefined)
31
- return false;
32
- if (!('supplier' in value) || value['supplier'] === undefined)
33
- return false;
34
- if (!('sites' in value) || value['sites'] === undefined)
35
- return false;
36
- if (!('siteDetails' in value) || value['siteDetails'] === undefined)
37
- return false;
38
- if (!('modelAttributes' in value) || value['modelAttributes'] === undefined)
39
- return false;
40
- if (!('assets' in value) || value['assets'] === undefined)
41
- return false;
42
- if (!('thumbnail' in value) || value['thumbnail'] === undefined)
43
- return false;
44
- return true;
45
- }
46
- function ProductRangeResourceFromJSON(json) {
47
- return ProductRangeResourceFromJSONTyped(json, false);
48
- }
49
- function ProductRangeResourceFromJSONTyped(json, ignoreDiscriminator) {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
- 'id': json['id'],
55
- 'name': json['name'],
56
- 'supplier': (0, SupplierLiteResource_1.SupplierLiteResourceFromJSON)(json['supplier']),
57
- 'sites': json['sites'],
58
- 'siteDetails': (json['siteDetails'] == null ? null : json['siteDetails'].map(ProductRangeSiteDetailResource_1.ProductRangeSiteDetailResourceFromJSON)),
59
- 'modelAttributes': json['modelAttributes'],
60
- 'assets': (json['assets'] == null ? null : json['assets'].map(AssetResource_1.AssetResourceFromJSON)),
61
- 'thumbnail': (0, AssetResource_1.AssetResourceFromJSON)(json['thumbnail']),
62
- 'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
63
- 'updatedAt': json['updatedAt'] == null ? undefined : json['updatedAt'],
64
- };
65
- }
66
- function ProductRangeResourceToJSON(json) {
67
- return ProductRangeResourceToJSONTyped(json, false);
68
- }
69
- function ProductRangeResourceToJSONTyped(value, ignoreDiscriminator) {
70
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
71
- if (value == null) {
72
- return value;
73
- }
74
- return {
75
- 'id': value['id'],
76
- 'name': value['name'],
77
- 'supplier': (0, SupplierLiteResource_1.SupplierLiteResourceToJSON)(value['supplier']),
78
- 'sites': value['sites'],
79
- 'siteDetails': (value['siteDetails'] == null ? null : value['siteDetails'].map(ProductRangeSiteDetailResource_1.ProductRangeSiteDetailResourceToJSON)),
80
- 'modelAttributes': value['modelAttributes'],
81
- 'assets': (value['assets'] == null ? null : value['assets'].map(AssetResource_1.AssetResourceToJSON)),
82
- 'thumbnail': (0, AssetResource_1.AssetResourceToJSON)(value['thumbnail']),
83
- 'createdAt': value['createdAt'],
84
- 'updatedAt': value['updatedAt'],
85
- };
86
- }
@@ -1,33 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ProductRangeResource } from './ProductRangeResource';
13
- /**
14
- *
15
- * @export
16
- * @interface ProductRangeResourceArrayResponse
17
- */
18
- export interface ProductRangeResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<ProductRangeResource>}
22
- * @memberof ProductRangeResourceArrayResponse
23
- */
24
- data?: Array<ProductRangeResource>;
25
- }
26
- /**
27
- * Check if a given object implements the ProductRangeResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfProductRangeResourceArrayResponse(value: object): value is ProductRangeResourceArrayResponse;
30
- export declare function ProductRangeResourceArrayResponseFromJSON(json: any): ProductRangeResourceArrayResponse;
31
- export declare function ProductRangeResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeResourceArrayResponse;
32
- export declare function ProductRangeResourceArrayResponseToJSON(json: any): ProductRangeResourceArrayResponse;
33
- export declare function ProductRangeResourceArrayResponseToJSONTyped(value?: ProductRangeResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -1,50 +0,0 @@
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.instanceOfProductRangeResourceArrayResponse = instanceOfProductRangeResourceArrayResponse;
17
- exports.ProductRangeResourceArrayResponseFromJSON = ProductRangeResourceArrayResponseFromJSON;
18
- exports.ProductRangeResourceArrayResponseFromJSONTyped = ProductRangeResourceArrayResponseFromJSONTyped;
19
- exports.ProductRangeResourceArrayResponseToJSON = ProductRangeResourceArrayResponseToJSON;
20
- exports.ProductRangeResourceArrayResponseToJSONTyped = ProductRangeResourceArrayResponseToJSONTyped;
21
- var ProductRangeResource_1 = require("./ProductRangeResource");
22
- /**
23
- * Check if a given object implements the ProductRangeResourceArrayResponse interface.
24
- */
25
- function instanceOfProductRangeResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function ProductRangeResourceArrayResponseFromJSON(json) {
29
- return ProductRangeResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function ProductRangeResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(ProductRangeResource_1.ProductRangeResourceFromJSON)),
37
- };
38
- }
39
- function ProductRangeResourceArrayResponseToJSON(json) {
40
- return ProductRangeResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function ProductRangeResourceArrayResponseToJSONTyped(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(ProductRangeResource_1.ProductRangeResourceToJSON)),
49
- };
50
- }
@@ -1,101 +0,0 @@
1
- /**
2
- * My API
3
- * API documentation for my Laravel app
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- *
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { SiteLiteResource } from './SiteLiteResource';
13
- import type { ProductCategoryLiteResource } from './ProductCategoryLiteResource';
14
- import type { SEOResource } from './SEOResource';
15
- /**
16
- *
17
- * @export
18
- * @interface ProductRangeSiteDetailResource
19
- */
20
- export interface ProductRangeSiteDetailResource {
21
- /**
22
- *
23
- * @type {number}
24
- * @memberof ProductRangeSiteDetailResource
25
- */
26
- id: number;
27
- /**
28
- *
29
- * @type {number}
30
- * @memberof ProductRangeSiteDetailResource
31
- */
32
- siteId: number;
33
- /**
34
- *
35
- * @type {SiteLiteResource}
36
- * @memberof ProductRangeSiteDetailResource
37
- */
38
- site: SiteLiteResource | null;
39
- /**
40
- *
41
- * @type {string}
42
- * @memberof ProductRangeSiteDetailResource
43
- */
44
- name: string;
45
- /**
46
- *
47
- * @type {string}
48
- * @memberof ProductRangeSiteDetailResource
49
- */
50
- slug: string;
51
- /**
52
- *
53
- * @type {string}
54
- * @memberof ProductRangeSiteDetailResource
55
- */
56
- description: string;
57
- /**
58
- *
59
- * @type {string}
60
- * @memberof ProductRangeSiteDetailResource
61
- */
62
- content: string;
63
- /**
64
- *
65
- * @type {string}
66
- * @memberof ProductRangeSiteDetailResource
67
- */
68
- excerpt: string;
69
- /**
70
- *
71
- * @type {number}
72
- * @memberof ProductRangeSiteDetailResource
73
- */
74
- popularityScore: number;
75
- /**
76
- *
77
- * @type {boolean}
78
- * @memberof ProductRangeSiteDetailResource
79
- */
80
- isDisabled: boolean;
81
- /**
82
- *
83
- * @type {SEOResource}
84
- * @memberof ProductRangeSiteDetailResource
85
- */
86
- seo: SEOResource | null;
87
- /**
88
- *
89
- * @type {Array<ProductCategoryLiteResource>}
90
- * @memberof ProductRangeSiteDetailResource
91
- */
92
- categories: Array<ProductCategoryLiteResource> | null;
93
- }
94
- /**
95
- * Check if a given object implements the ProductRangeSiteDetailResource interface.
96
- */
97
- export declare function instanceOfProductRangeSiteDetailResource(value: object): value is ProductRangeSiteDetailResource;
98
- export declare function ProductRangeSiteDetailResourceFromJSON(json: any): ProductRangeSiteDetailResource;
99
- export declare function ProductRangeSiteDetailResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeSiteDetailResource;
100
- export declare function ProductRangeSiteDetailResourceToJSON(json: any): ProductRangeSiteDetailResource;
101
- export declare function ProductRangeSiteDetailResourceToJSONTyped(value?: ProductRangeSiteDetailResource | null, ignoreDiscriminator?: boolean): any;