@digital8/lighting-illusions-ts-sdk 0.0.721 → 0.0.722

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 (169) hide show
  1. package/.openapi-generator/FILES +0 -64
  2. package/README.md +2 -50
  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/ExternalApiLogResource.d.ts +1 -1
  12. package/dist/models/ExternalApiLogResource.js +1 -3
  13. package/dist/models/GetAllDocumentRequest.d.ts +0 -1
  14. package/dist/models/GetAllDocumentRequest.js +0 -1
  15. package/dist/models/GetAllProductChildRequest.d.ts +0 -1
  16. package/dist/models/GetAllProductChildRequest.js +0 -1
  17. package/dist/models/IndexAttributeRequest.d.ts +0 -2
  18. package/dist/models/IndexAttributeRequest.js +1 -3
  19. package/dist/models/IndexDocumentRequest.d.ts +0 -1
  20. package/dist/models/IndexDocumentRequest.js +0 -1
  21. package/dist/models/IndexProductChildRequest.d.ts +0 -1
  22. package/dist/models/IndexProductChildRequest.js +0 -1
  23. package/dist/models/ProductChildResource.d.ts +1 -7
  24. package/dist/models/ProductChildResource.js +2 -4
  25. package/dist/models/index.d.ts +0 -31
  26. package/dist/models/index.js +0 -31
  27. package/docs/AttributeApi.md +0 -66
  28. package/docs/ProductChildResource.md +2 -4
  29. package/package.json +1 -1
  30. package/src/apis/AttributeApi.ts +0 -42
  31. package/src/apis/index.ts +0 -1
  32. package/src/models/AttachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
  33. package/src/models/DetachDocumentablesDocumentRequestDocumentablesInner.ts +0 -1
  34. package/src/models/ExternalApiLogResource.ts +2 -3
  35. package/src/models/GetAllDocumentRequest.ts +0 -1
  36. package/src/models/GetAllProductChildRequest.ts +0 -1
  37. package/src/models/IndexAttributeRequest.ts +1 -3
  38. package/src/models/IndexDocumentRequest.ts +0 -1
  39. package/src/models/IndexProductChildRequest.ts +0 -1
  40. package/src/models/ProductChildResource.ts +3 -11
  41. package/src/models/index.ts +0 -31
  42. package/dist/apis/ProductRangeApi.d.ts +0 -205
  43. package/dist/apis/ProductRangeApi.js +0 -835
  44. package/dist/models/AttachAccessoriesProductRangeRequest.d.ts +0 -32
  45. package/dist/models/AttachAccessoriesProductRangeRequest.js +0 -51
  46. package/dist/models/AttachAttributesProductRangeRequest.d.ts +0 -32
  47. package/dist/models/AttachAttributesProductRangeRequest.js +0 -51
  48. package/dist/models/AttachDocumentsProductRangeRequest.d.ts +0 -33
  49. package/dist/models/AttachDocumentsProductRangeRequest.js +0 -52
  50. package/dist/models/DetachAccessoriesProductRangeRequest.d.ts +0 -32
  51. package/dist/models/DetachAccessoriesProductRangeRequest.js +0 -51
  52. package/dist/models/DetachAttributesProductRangeRequest.d.ts +0 -32
  53. package/dist/models/DetachAttributesProductRangeRequest.js +0 -51
  54. package/dist/models/DetachDocumentsProductRangeRequest.d.ts +0 -32
  55. package/dist/models/DetachDocumentsProductRangeRequest.js +0 -51
  56. package/dist/models/GetAllProductRangeRequest.d.ts +0 -98
  57. package/dist/models/GetAllProductRangeRequest.js +0 -82
  58. package/dist/models/IndexModelAttributeRequest.d.ts +0 -110
  59. package/dist/models/IndexModelAttributeRequest.js +0 -86
  60. package/dist/models/IndexProductRangeRequest.d.ts +0 -110
  61. package/dist/models/IndexProductRangeRequest.js +0 -86
  62. package/dist/models/ModelAttributeListResource.d.ts +0 -52
  63. package/dist/models/ModelAttributeListResource.js +0 -65
  64. package/dist/models/ModelAttributeListResourceArrayResponse.d.ts +0 -33
  65. package/dist/models/ModelAttributeListResourceArrayResponse.js +0 -50
  66. package/dist/models/PaginatedModelAttributeListResourceResponse.d.ts +0 -40
  67. package/dist/models/PaginatedModelAttributeListResourceResponse.js +0 -57
  68. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.d.ts +0 -40
  69. package/dist/models/PaginatedProductRangeFrontendListResourceResponse.js +0 -57
  70. package/dist/models/PaginatedProductRangeListResourceResponse.d.ts +0 -40
  71. package/dist/models/PaginatedProductRangeListResourceResponse.js +0 -57
  72. package/dist/models/PaginatedProductRangeLiteResourceResponse.d.ts +0 -40
  73. package/dist/models/PaginatedProductRangeLiteResourceResponse.js +0 -57
  74. package/dist/models/PaginatedProductRangeResourceResponse.d.ts +0 -40
  75. package/dist/models/PaginatedProductRangeResourceResponse.js +0 -57
  76. package/dist/models/ProductRangeFrontendListResource.d.ts +0 -62
  77. package/dist/models/ProductRangeFrontendListResource.js +0 -71
  78. package/dist/models/ProductRangeFrontendListResourceArrayResponse.d.ts +0 -33
  79. package/dist/models/ProductRangeFrontendListResourceArrayResponse.js +0 -50
  80. package/dist/models/ProductRangeFrontendResource.d.ts +0 -118
  81. package/dist/models/ProductRangeFrontendResource.js +0 -109
  82. package/dist/models/ProductRangeFrontendResourceArrayResponse.d.ts +0 -33
  83. package/dist/models/ProductRangeFrontendResourceArrayResponse.js +0 -50
  84. package/dist/models/ProductRangeListResource.d.ts +0 -52
  85. package/dist/models/ProductRangeListResource.js +0 -65
  86. package/dist/models/ProductRangeListResourceArrayResponse.d.ts +0 -33
  87. package/dist/models/ProductRangeListResourceArrayResponse.js +0 -50
  88. package/dist/models/ProductRangeLiteResource.d.ts +0 -38
  89. package/dist/models/ProductRangeLiteResource.js +0 -55
  90. package/dist/models/ProductRangeLiteResourceArrayResponse.d.ts +0 -33
  91. package/dist/models/ProductRangeLiteResourceArrayResponse.js +0 -50
  92. package/dist/models/ProductRangeResource.d.ts +0 -83
  93. package/dist/models/ProductRangeResource.js +0 -82
  94. package/dist/models/ProductRangeResourceArrayResponse.d.ts +0 -33
  95. package/dist/models/ProductRangeResourceArrayResponse.js +0 -50
  96. package/dist/models/ProductRangeSiteDetailResource.d.ts +0 -94
  97. package/dist/models/ProductRangeSiteDetailResource.js +0 -93
  98. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.d.ts +0 -33
  99. package/dist/models/ProductRangeSiteDetailResourceArrayResponse.js +0 -50
  100. package/dist/models/StoreProductRangeRequest.d.ts +0 -52
  101. package/dist/models/StoreProductRangeRequest.js +0 -59
  102. package/dist/models/StoreProductRangeRequestSitesInner.d.ts +0 -92
  103. package/dist/models/StoreProductRangeRequestSitesInner.js +0 -75
  104. package/dist/models/UpdateProductRangeRequest.d.ts +0 -52
  105. package/dist/models/UpdateProductRangeRequest.js +0 -59
  106. package/docs/AttachAccessoriesProductRangeRequest.md +0 -34
  107. package/docs/AttachAttributesProductRangeRequest.md +0 -34
  108. package/docs/AttachDocumentsProductRangeRequest.md +0 -34
  109. package/docs/DetachAccessoriesProductRangeRequest.md +0 -34
  110. package/docs/DetachAttributesProductRangeRequest.md +0 -34
  111. package/docs/DetachDocumentsProductRangeRequest.md +0 -34
  112. package/docs/GetAllProductRangeRequest.md +0 -50
  113. package/docs/IndexModelAttributeRequest.md +0 -54
  114. package/docs/IndexProductRangeRequest.md +0 -54
  115. package/docs/ModelAttributeListResource.md +0 -40
  116. package/docs/ModelAttributeListResourceArrayResponse.md +0 -34
  117. package/docs/PaginatedModelAttributeListResourceResponse.md +0 -36
  118. package/docs/PaginatedProductRangeFrontendListResourceResponse.md +0 -36
  119. package/docs/PaginatedProductRangeListResourceResponse.md +0 -36
  120. package/docs/PaginatedProductRangeLiteResourceResponse.md +0 -36
  121. package/docs/PaginatedProductRangeResourceResponse.md +0 -36
  122. package/docs/ProductRangeApi.md +0 -1097
  123. package/docs/ProductRangeFrontendListResource.md +0 -44
  124. package/docs/ProductRangeFrontendListResourceArrayResponse.md +0 -34
  125. package/docs/ProductRangeFrontendResource.md +0 -62
  126. package/docs/ProductRangeFrontendResourceArrayResponse.md +0 -34
  127. package/docs/ProductRangeListResource.md +0 -40
  128. package/docs/ProductRangeListResourceArrayResponse.md +0 -34
  129. package/docs/ProductRangeLiteResource.md +0 -36
  130. package/docs/ProductRangeLiteResourceArrayResponse.md +0 -34
  131. package/docs/ProductRangeResource.md +0 -50
  132. package/docs/ProductRangeResourceArrayResponse.md +0 -34
  133. package/docs/ProductRangeSiteDetailResource.md +0 -54
  134. package/docs/ProductRangeSiteDetailResourceArrayResponse.md +0 -34
  135. package/docs/StoreProductRangeRequest.md +0 -40
  136. package/docs/StoreProductRangeRequestSitesInner.md +0 -54
  137. package/docs/UpdateProductRangeRequest.md +0 -40
  138. package/src/apis/ProductRangeApi.ts +0 -760
  139. package/src/models/AttachAccessoriesProductRangeRequest.ts +0 -66
  140. package/src/models/AttachAttributesProductRangeRequest.ts +0 -66
  141. package/src/models/AttachDocumentsProductRangeRequest.ts +0 -74
  142. package/src/models/DetachAccessoriesProductRangeRequest.ts +0 -66
  143. package/src/models/DetachAttributesProductRangeRequest.ts +0 -66
  144. package/src/models/DetachDocumentsProductRangeRequest.ts +0 -66
  145. package/src/models/GetAllProductRangeRequest.ts +0 -151
  146. package/src/models/IndexModelAttributeRequest.ts +0 -167
  147. package/src/models/IndexProductRangeRequest.ts +0 -167
  148. package/src/models/ModelAttributeListResource.ts +0 -108
  149. package/src/models/ModelAttributeListResourceArrayResponse.ts +0 -73
  150. package/src/models/PaginatedModelAttributeListResourceResponse.ts +0 -90
  151. package/src/models/PaginatedProductRangeFrontendListResourceResponse.ts +0 -90
  152. package/src/models/PaginatedProductRangeListResourceResponse.ts +0 -90
  153. package/src/models/PaginatedProductRangeLiteResourceResponse.ts +0 -90
  154. package/src/models/PaginatedProductRangeResourceResponse.ts +0 -90
  155. package/src/models/ProductRangeFrontendListResource.ts +0 -111
  156. package/src/models/ProductRangeFrontendListResourceArrayResponse.ts +0 -73
  157. package/src/models/ProductRangeFrontendResource.ts +0 -207
  158. package/src/models/ProductRangeFrontendResourceArrayResponse.ts +0 -73
  159. package/src/models/ProductRangeListResource.ts +0 -108
  160. package/src/models/ProductRangeListResourceArrayResponse.ts +0 -73
  161. package/src/models/ProductRangeLiteResource.ts +0 -75
  162. package/src/models/ProductRangeLiteResourceArrayResponse.ts +0 -73
  163. package/src/models/ProductRangeResource.ts +0 -158
  164. package/src/models/ProductRangeResourceArrayResponse.ts +0 -73
  165. package/src/models/ProductRangeSiteDetailResource.ts +0 -171
  166. package/src/models/ProductRangeSiteDetailResourceArrayResponse.ts +0 -73
  167. package/src/models/StoreProductRangeRequest.ts +0 -105
  168. package/src/models/StoreProductRangeRequestSitesInner.ts +0 -148
  169. package/src/models/UpdateProductRangeRequest.ts +0 -105
@@ -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,111 +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 ProductRangeFrontendListResource
20
- */
21
- export interface ProductRangeFrontendListResource {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof ProductRangeFrontendListResource
26
- */
27
- id: number;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof ProductRangeFrontendListResource
32
- */
33
- name: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof ProductRangeFrontendListResource
38
- */
39
- slug: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof ProductRangeFrontendListResource
44
- */
45
- excerpt: string;
46
- /**
47
- *
48
- * @type {object}
49
- * @memberof ProductRangeFrontendListResource
50
- */
51
- thumbnail: object;
52
- /**
53
- *
54
- * @type {object}
55
- * @memberof ProductRangeFrontendListResource
56
- */
57
- categories: object;
58
- }
59
-
60
- /**
61
- * Check if a given object implements the ProductRangeFrontendListResource interface.
62
- */
63
- export function instanceOfProductRangeFrontendListResource(value: object): value is ProductRangeFrontendListResource {
64
- if (!('id' in value) || value['id'] === undefined) return false;
65
- if (!('name' in value) || value['name'] === undefined) return false;
66
- if (!('slug' in value) || value['slug'] === undefined) return false;
67
- if (!('excerpt' in value) || value['excerpt'] === undefined) return false;
68
- if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
69
- if (!('categories' in value) || value['categories'] === undefined) return false;
70
- return true;
71
- }
72
-
73
- export function ProductRangeFrontendListResourceFromJSON(json: any): ProductRangeFrontendListResource {
74
- return ProductRangeFrontendListResourceFromJSONTyped(json, false);
75
- }
76
-
77
- export function ProductRangeFrontendListResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeFrontendListResource {
78
- if (json == null) {
79
- return json;
80
- }
81
- return {
82
-
83
- 'id': json['id'],
84
- 'name': json['name'],
85
- 'slug': json['slug'],
86
- 'excerpt': json['excerpt'],
87
- 'thumbnail': json['thumbnail'],
88
- 'categories': json['categories'],
89
- };
90
- }
91
-
92
- export function ProductRangeFrontendListResourceToJSON(json: any): ProductRangeFrontendListResource {
93
- return ProductRangeFrontendListResourceToJSONTyped(json, false);
94
- }
95
-
96
- export function ProductRangeFrontendListResourceToJSONTyped(value?: ProductRangeFrontendListResource | null, ignoreDiscriminator: boolean = false): any {
97
- if (value == null) {
98
- return value;
99
- }
100
-
101
- return {
102
-
103
- 'id': value['id'],
104
- 'name': value['name'],
105
- 'slug': value['slug'],
106
- 'excerpt': value['excerpt'],
107
- 'thumbnail': value['thumbnail'],
108
- 'categories': value['categories'],
109
- };
110
- }
111
-
@@ -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 { ProductRangeFrontendListResource } from './ProductRangeFrontendListResource';
17
- import {
18
- ProductRangeFrontendListResourceFromJSON,
19
- ProductRangeFrontendListResourceFromJSONTyped,
20
- ProductRangeFrontendListResourceToJSON,
21
- ProductRangeFrontendListResourceToJSONTyped,
22
- } from './ProductRangeFrontendListResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface ProductRangeFrontendListResourceArrayResponse
28
- */
29
- export interface ProductRangeFrontendListResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<ProductRangeFrontendListResource>}
33
- * @memberof ProductRangeFrontendListResourceArrayResponse
34
- */
35
- data?: Array<ProductRangeFrontendListResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the ProductRangeFrontendListResourceArrayResponse interface.
40
- */
41
- export function instanceOfProductRangeFrontendListResourceArrayResponse(value: object): value is ProductRangeFrontendListResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function ProductRangeFrontendListResourceArrayResponseFromJSON(json: any): ProductRangeFrontendListResourceArrayResponse {
46
- return ProductRangeFrontendListResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function ProductRangeFrontendListResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeFrontendListResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRangeFrontendListResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function ProductRangeFrontendListResourceArrayResponseToJSON(json: any): ProductRangeFrontendListResourceArrayResponse {
60
- return ProductRangeFrontendListResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function ProductRangeFrontendListResourceArrayResponseToJSONTyped(value?: ProductRangeFrontendListResourceArrayResponse | 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(ProductRangeFrontendListResourceToJSON)),
71
- };
72
- }
73
-
@@ -1,207 +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 { SupplierFrontendResource } from './SupplierFrontendResource';
17
- import {
18
- SupplierFrontendResourceFromJSON,
19
- SupplierFrontendResourceFromJSONTyped,
20
- SupplierFrontendResourceToJSON,
21
- SupplierFrontendResourceToJSONTyped,
22
- } from './SupplierFrontendResource';
23
- import type { AssetFrontendResource } from './AssetFrontendResource';
24
- import {
25
- AssetFrontendResourceFromJSON,
26
- AssetFrontendResourceFromJSONTyped,
27
- AssetFrontendResourceToJSON,
28
- AssetFrontendResourceToJSONTyped,
29
- } from './AssetFrontendResource';
30
-
31
- /**
32
- *
33
- * @export
34
- * @interface ProductRangeFrontendResource
35
- */
36
- export interface ProductRangeFrontendResource {
37
- /**
38
- *
39
- * @type {number}
40
- * @memberof ProductRangeFrontendResource
41
- */
42
- id: number;
43
- /**
44
- *
45
- * @type {string}
46
- * @memberof ProductRangeFrontendResource
47
- */
48
- name: string;
49
- /**
50
- *
51
- * @type {string}
52
- * @memberof ProductRangeFrontendResource
53
- */
54
- slug: string;
55
- /**
56
- *
57
- * @type {string}
58
- * @memberof ProductRangeFrontendResource
59
- */
60
- description: string;
61
- /**
62
- *
63
- * @type {string}
64
- * @memberof ProductRangeFrontendResource
65
- */
66
- content: string;
67
- /**
68
- *
69
- * @type {string}
70
- * @memberof ProductRangeFrontendResource
71
- */
72
- excerpt: string;
73
- /**
74
- *
75
- * @type {number}
76
- * @memberof ProductRangeFrontendResource
77
- */
78
- siteId: number;
79
- /**
80
- *
81
- * @type {SupplierFrontendResource}
82
- * @memberof ProductRangeFrontendResource
83
- */
84
- supplier: SupplierFrontendResource | null;
85
- /**
86
- *
87
- * @type {object}
88
- * @memberof ProductRangeFrontendResource
89
- */
90
- categories: object;
91
- /**
92
- *
93
- * @type {object}
94
- * @memberof ProductRangeFrontendResource
95
- */
96
- products: object;
97
- /**
98
- *
99
- * @type {object}
100
- * @memberof ProductRangeFrontendResource
101
- */
102
- accessories: object;
103
- /**
104
- *
105
- * @type {object}
106
- * @memberof ProductRangeFrontendResource
107
- */
108
- documents: object;
109
- /**
110
- *
111
- * @type {object}
112
- * @memberof ProductRangeFrontendResource
113
- */
114
- seo: object;
115
- /**
116
- *
117
- * @type {Array<AssetFrontendResource>}
118
- * @memberof ProductRangeFrontendResource
119
- */
120
- assets: Array<AssetFrontendResource> | null;
121
- /**
122
- *
123
- * @type {AssetFrontendResource}
124
- * @memberof ProductRangeFrontendResource
125
- */
126
- thumbnail: AssetFrontendResource | null;
127
- }
128
-
129
- /**
130
- * Check if a given object implements the ProductRangeFrontendResource interface.
131
- */
132
- export function instanceOfProductRangeFrontendResource(value: object): value is ProductRangeFrontendResource {
133
- if (!('id' in value) || value['id'] === undefined) return false;
134
- if (!('name' in value) || value['name'] === undefined) return false;
135
- if (!('slug' in value) || value['slug'] === undefined) return false;
136
- if (!('description' in value) || value['description'] === undefined) return false;
137
- if (!('content' in value) || value['content'] === undefined) return false;
138
- if (!('excerpt' in value) || value['excerpt'] === undefined) return false;
139
- if (!('siteId' in value) || value['siteId'] === undefined) return false;
140
- if (!('supplier' in value) || value['supplier'] === undefined) return false;
141
- if (!('categories' in value) || value['categories'] === undefined) return false;
142
- if (!('products' in value) || value['products'] === undefined) return false;
143
- if (!('accessories' in value) || value['accessories'] === undefined) return false;
144
- if (!('documents' in value) || value['documents'] === undefined) return false;
145
- if (!('seo' in value) || value['seo'] === undefined) return false;
146
- if (!('assets' in value) || value['assets'] === undefined) return false;
147
- if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
148
- return true;
149
- }
150
-
151
- export function ProductRangeFrontendResourceFromJSON(json: any): ProductRangeFrontendResource {
152
- return ProductRangeFrontendResourceFromJSONTyped(json, false);
153
- }
154
-
155
- export function ProductRangeFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRangeFrontendResource {
156
- if (json == null) {
157
- return json;
158
- }
159
- return {
160
-
161
- 'id': json['id'],
162
- 'name': json['name'],
163
- 'slug': json['slug'],
164
- 'description': json['description'],
165
- 'content': json['content'],
166
- 'excerpt': json['excerpt'],
167
- 'siteId': json['siteId'],
168
- 'supplier': SupplierFrontendResourceFromJSON(json['supplier']),
169
- 'categories': json['categories'],
170
- 'products': json['products'],
171
- 'accessories': json['accessories'],
172
- 'documents': json['documents'],
173
- 'seo': json['seo'],
174
- 'assets': (json['assets'] == null ? null : (json['assets'] as Array<any>).map(AssetFrontendResourceFromJSON)),
175
- 'thumbnail': AssetFrontendResourceFromJSON(json['thumbnail']),
176
- };
177
- }
178
-
179
- export function ProductRangeFrontendResourceToJSON(json: any): ProductRangeFrontendResource {
180
- return ProductRangeFrontendResourceToJSONTyped(json, false);
181
- }
182
-
183
- export function ProductRangeFrontendResourceToJSONTyped(value?: ProductRangeFrontendResource | null, ignoreDiscriminator: boolean = false): any {
184
- if (value == null) {
185
- return value;
186
- }
187
-
188
- return {
189
-
190
- 'id': value['id'],
191
- 'name': value['name'],
192
- 'slug': value['slug'],
193
- 'description': value['description'],
194
- 'content': value['content'],
195
- 'excerpt': value['excerpt'],
196
- 'siteId': value['siteId'],
197
- 'supplier': SupplierFrontendResourceToJSON(value['supplier']),
198
- 'categories': value['categories'],
199
- 'products': value['products'],
200
- 'accessories': value['accessories'],
201
- 'documents': value['documents'],
202
- 'seo': value['seo'],
203
- 'assets': (value['assets'] == null ? null : (value['assets'] as Array<any>).map(AssetFrontendResourceToJSON)),
204
- 'thumbnail': AssetFrontendResourceToJSON(value['thumbnail']),
205
- };
206
- }
207
-