@digital8/lighting-illusions-ts-sdk 0.0.1057 → 0.0.1058

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.
@@ -198,8 +198,6 @@ docs/ProductChildSiteDetailLiteResource.md
198
198
  docs/ProductChildSiteDetailLiteResourceArrayResponse.md
199
199
  docs/ProductChildSiteDetailResource.md
200
200
  docs/ProductChildSiteDetailResourceArrayResponse.md
201
- docs/ProductClassResource.md
202
- docs/ProductClassResourceArrayResponse.md
203
201
  docs/ProductCompareResource.md
204
202
  docs/ProductCompareResourceArrayResponse.md
205
203
  docs/ProductListResource.md
@@ -509,8 +507,6 @@ src/models/ProductChildSiteDetailLiteResource.ts
509
507
  src/models/ProductChildSiteDetailLiteResourceArrayResponse.ts
510
508
  src/models/ProductChildSiteDetailResource.ts
511
509
  src/models/ProductChildSiteDetailResourceArrayResponse.ts
512
- src/models/ProductClassResource.ts
513
- src/models/ProductClassResourceArrayResponse.ts
514
510
  src/models/ProductCompareResource.ts
515
511
  src/models/ProductCompareResourceArrayResponse.ts
516
512
  src/models/ProductListResource.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.1057
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1058
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -357,8 +357,6 @@ All URIs are relative to *http://localhost/api*
357
357
  - [ProductChildSiteDetailLiteResourceArrayResponse](docs/ProductChildSiteDetailLiteResourceArrayResponse.md)
358
358
  - [ProductChildSiteDetailResource](docs/ProductChildSiteDetailResource.md)
359
359
  - [ProductChildSiteDetailResourceArrayResponse](docs/ProductChildSiteDetailResourceArrayResponse.md)
360
- - [ProductClassResource](docs/ProductClassResource.md)
361
- - [ProductClassResourceArrayResponse](docs/ProductClassResourceArrayResponse.md)
362
360
  - [ProductCompareResource](docs/ProductCompareResource.md)
363
361
  - [ProductCompareResourceArrayResponse](docs/ProductCompareResourceArrayResponse.md)
364
362
  - [ProductListResource](docs/ProductListResource.md)
@@ -474,7 +472,7 @@ and is automatically generated by the
474
472
  [OpenAPI Generator](https://openapi-generator.tech) project:
475
473
 
476
474
  - API version: `1.0.0`
477
- - Package version: `0.0.1057`
475
+ - Package version: `0.0.1058`
478
476
  - Generator version: `7.20.0`
479
477
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
480
478
 
@@ -11,7 +11,6 @@
11
11
  */
12
12
  import type { ProductChildSiteDetailResource } from './ProductChildSiteDetailResource';
13
13
  import type { AssetResource } from './AssetResource';
14
- import type { ProductClassResource } from './ProductClassResource';
15
14
  /**
16
15
  *
17
16
  * @export
@@ -186,18 +185,6 @@ export interface ProductChildResource {
186
185
  * @memberof ProductChildResource
187
186
  */
188
187
  attributes: object;
189
- /**
190
- *
191
- * @type {Array<ProductClassResource>}
192
- * @memberof ProductChildResource
193
- */
194
- productClasses: Array<ProductClassResource> | null;
195
- /**
196
- *
197
- * @type {string}
198
- * @memberof ProductChildResource
199
- */
200
- productClassString: string;
201
188
  }
202
189
  /**
203
190
  * Check if a given object implements the ProductChildResource interface.
@@ -20,7 +20,6 @@ exports.ProductChildResourceToJSON = ProductChildResourceToJSON;
20
20
  exports.ProductChildResourceToJSONTyped = ProductChildResourceToJSONTyped;
21
21
  var ProductChildSiteDetailResource_1 = require("./ProductChildSiteDetailResource");
22
22
  var AssetResource_1 = require("./AssetResource");
23
- var ProductClassResource_1 = require("./ProductClassResource");
24
23
  /**
25
24
  * Check if a given object implements the ProductChildResource interface.
26
25
  */
@@ -75,10 +74,6 @@ function instanceOfProductChildResource(value) {
75
74
  return false;
76
75
  if (!('attributes' in value) || value['attributes'] === undefined)
77
76
  return false;
78
- if (!('productClasses' in value) || value['productClasses'] === undefined)
79
- return false;
80
- if (!('productClassString' in value) || value['productClassString'] === undefined)
81
- return false;
82
77
  return true;
83
78
  }
84
79
  function ProductChildResourceFromJSON(json) {
@@ -117,8 +112,6 @@ function ProductChildResourceFromJSONTyped(json, ignoreDiscriminator) {
117
112
  'assets': (json['assets'] == null ? null : json['assets'].map(AssetResource_1.AssetResourceFromJSON)),
118
113
  'thumbnail': (0, AssetResource_1.AssetResourceFromJSON)(json['thumbnail']),
119
114
  'attributes': json['attributes'],
120
- 'productClasses': (json['productClasses'] == null ? null : json['productClasses'].map(ProductClassResource_1.ProductClassResourceFromJSON)),
121
- 'productClassString': json['productClassString'],
122
115
  };
123
116
  }
124
117
  function ProductChildResourceToJSON(json) {
@@ -158,7 +151,5 @@ function ProductChildResourceToJSONTyped(value, ignoreDiscriminator) {
158
151
  'assets': (value['assets'] == null ? null : value['assets'].map(AssetResource_1.AssetResourceToJSON)),
159
152
  'thumbnail': (0, AssetResource_1.AssetResourceToJSON)(value['thumbnail']),
160
153
  'attributes': value['attributes'],
161
- 'productClasses': (value['productClasses'] == null ? null : value['productClasses'].map(ProductClassResource_1.ProductClassResourceToJSON)),
162
- 'productClassString': value['productClassString'],
163
154
  };
164
155
  }
@@ -185,8 +185,6 @@ export * from './ProductChildSiteDetailLiteResource';
185
185
  export * from './ProductChildSiteDetailLiteResourceArrayResponse';
186
186
  export * from './ProductChildSiteDetailResource';
187
187
  export * from './ProductChildSiteDetailResourceArrayResponse';
188
- export * from './ProductClassResource';
189
- export * from './ProductClassResourceArrayResponse';
190
188
  export * from './ProductCompareResource';
191
189
  export * from './ProductCompareResourceArrayResponse';
192
190
  export * from './ProductListResource';
@@ -203,8 +203,6 @@ __exportStar(require("./ProductChildSiteDetailLiteResource"), exports);
203
203
  __exportStar(require("./ProductChildSiteDetailLiteResourceArrayResponse"), exports);
204
204
  __exportStar(require("./ProductChildSiteDetailResource"), exports);
205
205
  __exportStar(require("./ProductChildSiteDetailResourceArrayResponse"), exports);
206
- __exportStar(require("./ProductClassResource"), exports);
207
- __exportStar(require("./ProductClassResourceArrayResponse"), exports);
208
206
  __exportStar(require("./ProductCompareResource"), exports);
209
207
  __exportStar(require("./ProductCompareResourceArrayResponse"), exports);
210
208
  __exportStar(require("./ProductListResource"), exports);
@@ -34,8 +34,6 @@ Name | Type
34
34
  `assets` | [Array&lt;AssetResource&gt;](AssetResource.md)
35
35
  `thumbnail` | [AssetResource](AssetResource.md)
36
36
  `attributes` | object
37
- `productClasses` | [Array&lt;ProductClassResource&gt;](ProductClassResource.md)
38
- `productClassString` | string
39
37
 
40
38
  ## Example
41
39
 
@@ -72,8 +70,6 @@ const example = {
72
70
  "assets": null,
73
71
  "thumbnail": null,
74
72
  "attributes": null,
75
- "productClasses": null,
76
- "productClassString": null,
77
73
  } satisfies ProductChildResource
78
74
 
79
75
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1057",
3
+ "version": "0.0.1058",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -27,13 +27,6 @@ import {
27
27
  AssetResourceToJSON,
28
28
  AssetResourceToJSONTyped,
29
29
  } from './AssetResource';
30
- import type { ProductClassResource } from './ProductClassResource';
31
- import {
32
- ProductClassResourceFromJSON,
33
- ProductClassResourceFromJSONTyped,
34
- ProductClassResourceToJSON,
35
- ProductClassResourceToJSONTyped,
36
- } from './ProductClassResource';
37
30
 
38
31
  /**
39
32
  *
@@ -209,18 +202,6 @@ export interface ProductChildResource {
209
202
  * @memberof ProductChildResource
210
203
  */
211
204
  attributes: object;
212
- /**
213
- *
214
- * @type {Array<ProductClassResource>}
215
- * @memberof ProductChildResource
216
- */
217
- productClasses: Array<ProductClassResource> | null;
218
- /**
219
- *
220
- * @type {string}
221
- * @memberof ProductChildResource
222
- */
223
- productClassString: string;
224
205
  }
225
206
 
226
207
  /**
@@ -252,8 +233,6 @@ export function instanceOfProductChildResource(value: object): value is ProductC
252
233
  if (!('assets' in value) || value['assets'] === undefined) return false;
253
234
  if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
254
235
  if (!('attributes' in value) || value['attributes'] === undefined) return false;
255
- if (!('productClasses' in value) || value['productClasses'] === undefined) return false;
256
- if (!('productClassString' in value) || value['productClassString'] === undefined) return false;
257
236
  return true;
258
237
  }
259
238
 
@@ -295,8 +274,6 @@ export function ProductChildResourceFromJSONTyped(json: any, ignoreDiscriminator
295
274
  'assets': (json['assets'] == null ? null : (json['assets'] as Array<any>).map(AssetResourceFromJSON)),
296
275
  'thumbnail': AssetResourceFromJSON(json['thumbnail']),
297
276
  'attributes': json['attributes'],
298
- 'productClasses': (json['productClasses'] == null ? null : (json['productClasses'] as Array<any>).map(ProductClassResourceFromJSON)),
299
- 'productClassString': json['productClassString'],
300
277
  };
301
278
  }
302
279
 
@@ -339,8 +316,6 @@ export function ProductChildResourceToJSONTyped(value?: ProductChildResource | n
339
316
  'assets': (value['assets'] == null ? null : (value['assets'] as Array<any>).map(AssetResourceToJSON)),
340
317
  'thumbnail': AssetResourceToJSON(value['thumbnail']),
341
318
  'attributes': value['attributes'],
342
- 'productClasses': (value['productClasses'] == null ? null : (value['productClasses'] as Array<any>).map(ProductClassResourceToJSON)),
343
- 'productClassString': value['productClassString'],
344
319
  };
345
320
  }
346
321
 
@@ -187,8 +187,6 @@ export * from './ProductChildSiteDetailLiteResource';
187
187
  export * from './ProductChildSiteDetailLiteResourceArrayResponse';
188
188
  export * from './ProductChildSiteDetailResource';
189
189
  export * from './ProductChildSiteDetailResourceArrayResponse';
190
- export * from './ProductClassResource';
191
- export * from './ProductClassResourceArrayResponse';
192
190
  export * from './ProductCompareResource';
193
191
  export * from './ProductCompareResourceArrayResponse';
194
192
  export * from './ProductListResource';
@@ -1,44 +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 ProductClassResource
16
- */
17
- export interface ProductClassResource {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof ProductClassResource
22
- */
23
- id?: number | null;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof ProductClassResource
28
- */
29
- name: string;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof ProductClassResource
34
- */
35
- order: number;
36
- }
37
- /**
38
- * Check if a given object implements the ProductClassResource interface.
39
- */
40
- export declare function instanceOfProductClassResource(value: object): value is ProductClassResource;
41
- export declare function ProductClassResourceFromJSON(json: any): ProductClassResource;
42
- export declare function ProductClassResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductClassResource;
43
- export declare function ProductClassResourceToJSON(json: any): ProductClassResource;
44
- export declare function ProductClassResourceToJSONTyped(value?: ProductClassResource | null, ignoreDiscriminator?: boolean): any;
@@ -1,57 +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.instanceOfProductClassResource = instanceOfProductClassResource;
17
- exports.ProductClassResourceFromJSON = ProductClassResourceFromJSON;
18
- exports.ProductClassResourceFromJSONTyped = ProductClassResourceFromJSONTyped;
19
- exports.ProductClassResourceToJSON = ProductClassResourceToJSON;
20
- exports.ProductClassResourceToJSONTyped = ProductClassResourceToJSONTyped;
21
- /**
22
- * Check if a given object implements the ProductClassResource interface.
23
- */
24
- function instanceOfProductClassResource(value) {
25
- if (!('name' in value) || value['name'] === undefined)
26
- return false;
27
- if (!('order' in value) || value['order'] === undefined)
28
- return false;
29
- return true;
30
- }
31
- function ProductClassResourceFromJSON(json) {
32
- return ProductClassResourceFromJSONTyped(json, false);
33
- }
34
- function ProductClassResourceFromJSONTyped(json, ignoreDiscriminator) {
35
- if (json == null) {
36
- return json;
37
- }
38
- return {
39
- 'id': json['id'] == null ? undefined : json['id'],
40
- 'name': json['name'],
41
- 'order': json['order'],
42
- };
43
- }
44
- function ProductClassResourceToJSON(json) {
45
- return ProductClassResourceToJSONTyped(json, false);
46
- }
47
- function ProductClassResourceToJSONTyped(value, ignoreDiscriminator) {
48
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
49
- if (value == null) {
50
- return value;
51
- }
52
- return {
53
- 'id': value['id'],
54
- 'name': value['name'],
55
- 'order': value['order'],
56
- };
57
- }
@@ -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 { ProductClassResource } from './ProductClassResource';
13
- /**
14
- *
15
- * @export
16
- * @interface ProductClassResourceArrayResponse
17
- */
18
- export interface ProductClassResourceArrayResponse {
19
- /**
20
- *
21
- * @type {Array<ProductClassResource>}
22
- * @memberof ProductClassResourceArrayResponse
23
- */
24
- data?: Array<ProductClassResource>;
25
- }
26
- /**
27
- * Check if a given object implements the ProductClassResourceArrayResponse interface.
28
- */
29
- export declare function instanceOfProductClassResourceArrayResponse(value: object): value is ProductClassResourceArrayResponse;
30
- export declare function ProductClassResourceArrayResponseFromJSON(json: any): ProductClassResourceArrayResponse;
31
- export declare function ProductClassResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductClassResourceArrayResponse;
32
- export declare function ProductClassResourceArrayResponseToJSON(json: any): ProductClassResourceArrayResponse;
33
- export declare function ProductClassResourceArrayResponseToJSONTyped(value?: ProductClassResourceArrayResponse | 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.instanceOfProductClassResourceArrayResponse = instanceOfProductClassResourceArrayResponse;
17
- exports.ProductClassResourceArrayResponseFromJSON = ProductClassResourceArrayResponseFromJSON;
18
- exports.ProductClassResourceArrayResponseFromJSONTyped = ProductClassResourceArrayResponseFromJSONTyped;
19
- exports.ProductClassResourceArrayResponseToJSON = ProductClassResourceArrayResponseToJSON;
20
- exports.ProductClassResourceArrayResponseToJSONTyped = ProductClassResourceArrayResponseToJSONTyped;
21
- var ProductClassResource_1 = require("./ProductClassResource");
22
- /**
23
- * Check if a given object implements the ProductClassResourceArrayResponse interface.
24
- */
25
- function instanceOfProductClassResourceArrayResponse(value) {
26
- return true;
27
- }
28
- function ProductClassResourceArrayResponseFromJSON(json) {
29
- return ProductClassResourceArrayResponseFromJSONTyped(json, false);
30
- }
31
- function ProductClassResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'data': json['data'] == null ? undefined : (json['data'].map(ProductClassResource_1.ProductClassResourceFromJSON)),
37
- };
38
- }
39
- function ProductClassResourceArrayResponseToJSON(json) {
40
- return ProductClassResourceArrayResponseToJSONTyped(json, false);
41
- }
42
- function ProductClassResourceArrayResponseToJSONTyped(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(ProductClassResource_1.ProductClassResourceToJSON)),
49
- };
50
- }
@@ -1,38 +0,0 @@
1
-
2
- # ProductClassResource
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `id` | number
10
- `name` | string
11
- `order` | number
12
-
13
- ## Example
14
-
15
- ```typescript
16
- import type { ProductClassResource } from '@digital8/lighting-illusions-ts-sdk'
17
-
18
- // TODO: Update the object below with actual values
19
- const example = {
20
- "id": null,
21
- "name": null,
22
- "order": null,
23
- } satisfies ProductClassResource
24
-
25
- console.log(example)
26
-
27
- // Convert the instance to a JSON string
28
- const exampleJSON: string = JSON.stringify(example)
29
- console.log(exampleJSON)
30
-
31
- // Parse the JSON string back to an object
32
- const exampleParsed = JSON.parse(exampleJSON) as ProductClassResource
33
- console.log(exampleParsed)
34
- ```
35
-
36
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
37
-
38
-
@@ -1,34 +0,0 @@
1
-
2
- # ProductClassResourceArrayResponse
3
-
4
-
5
- ## Properties
6
-
7
- Name | Type
8
- ------------ | -------------
9
- `data` | [Array&lt;ProductClassResource&gt;](ProductClassResource.md)
10
-
11
- ## Example
12
-
13
- ```typescript
14
- import type { ProductClassResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
-
16
- // TODO: Update the object below with actual values
17
- const example = {
18
- "data": null,
19
- } satisfies ProductClassResourceArrayResponse
20
-
21
- console.log(example)
22
-
23
- // Convert the instance to a JSON string
24
- const exampleJSON: string = JSON.stringify(example)
25
- console.log(exampleJSON)
26
-
27
- // Parse the JSON string back to an object
28
- const exampleParsed = JSON.parse(exampleJSON) as ProductClassResourceArrayResponse
29
- console.log(exampleParsed)
30
- ```
31
-
32
- [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
33
-
34
-
@@ -1,83 +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 ProductClassResource
20
- */
21
- export interface ProductClassResource {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof ProductClassResource
26
- */
27
- id?: number | null;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof ProductClassResource
32
- */
33
- name: string;
34
- /**
35
- *
36
- * @type {number}
37
- * @memberof ProductClassResource
38
- */
39
- order: number;
40
- }
41
-
42
- /**
43
- * Check if a given object implements the ProductClassResource interface.
44
- */
45
- export function instanceOfProductClassResource(value: object): value is ProductClassResource {
46
- if (!('name' in value) || value['name'] === undefined) return false;
47
- if (!('order' in value) || value['order'] === undefined) return false;
48
- return true;
49
- }
50
-
51
- export function ProductClassResourceFromJSON(json: any): ProductClassResource {
52
- return ProductClassResourceFromJSONTyped(json, false);
53
- }
54
-
55
- export function ProductClassResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductClassResource {
56
- if (json == null) {
57
- return json;
58
- }
59
- return {
60
-
61
- 'id': json['id'] == null ? undefined : json['id'],
62
- 'name': json['name'],
63
- 'order': json['order'],
64
- };
65
- }
66
-
67
- export function ProductClassResourceToJSON(json: any): ProductClassResource {
68
- return ProductClassResourceToJSONTyped(json, false);
69
- }
70
-
71
- export function ProductClassResourceToJSONTyped(value?: ProductClassResource | null, ignoreDiscriminator: boolean = false): any {
72
- if (value == null) {
73
- return value;
74
- }
75
-
76
- return {
77
-
78
- 'id': value['id'],
79
- 'name': value['name'],
80
- 'order': value['order'],
81
- };
82
- }
83
-
@@ -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 { ProductClassResource } from './ProductClassResource';
17
- import {
18
- ProductClassResourceFromJSON,
19
- ProductClassResourceFromJSONTyped,
20
- ProductClassResourceToJSON,
21
- ProductClassResourceToJSONTyped,
22
- } from './ProductClassResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface ProductClassResourceArrayResponse
28
- */
29
- export interface ProductClassResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<ProductClassResource>}
33
- * @memberof ProductClassResourceArrayResponse
34
- */
35
- data?: Array<ProductClassResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the ProductClassResourceArrayResponse interface.
40
- */
41
- export function instanceOfProductClassResourceArrayResponse(value: object): value is ProductClassResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function ProductClassResourceArrayResponseFromJSON(json: any): ProductClassResourceArrayResponse {
46
- return ProductClassResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function ProductClassResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductClassResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductClassResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function ProductClassResourceArrayResponseToJSON(json: any): ProductClassResourceArrayResponse {
60
- return ProductClassResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function ProductClassResourceArrayResponseToJSONTyped(value?: ProductClassResourceArrayResponse | 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(ProductClassResourceToJSON)),
71
- };
72
- }
73
-