@digital8/lighting-illusions-ts-sdk 0.0.1008 → 0.0.1010

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.
@@ -109,6 +109,8 @@ docs/IndexSiteNotificationRequest.md
109
109
  docs/IndexSiteRequest.md
110
110
  docs/IndexSupplierRequest.md
111
111
  docs/IndexTagRequest.md
112
+ docs/LabelResource.md
113
+ docs/LabelResourceArrayResponse.md
112
114
  docs/ModelAttributeResource.md
113
115
  docs/ModelAttributeResourceArrayResponse.md
114
116
  docs/OverlayTemplateApi.md
@@ -418,6 +420,8 @@ src/models/IndexSiteNotificationRequest.ts
418
420
  src/models/IndexSiteRequest.ts
419
421
  src/models/IndexSupplierRequest.ts
420
422
  src/models/IndexTagRequest.ts
423
+ src/models/LabelResource.ts
424
+ src/models/LabelResourceArrayResponse.ts
421
425
  src/models/ModelAttributeResource.ts
422
426
  src/models/ModelAttributeResourceArrayResponse.ts
423
427
  src/models/OverlayTemplateAssetFrontendResource.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.1008
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.1010
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -270,6 +270,8 @@ All URIs are relative to *http://localhost/api*
270
270
  - [IndexSiteRequest](docs/IndexSiteRequest.md)
271
271
  - [IndexSupplierRequest](docs/IndexSupplierRequest.md)
272
272
  - [IndexTagRequest](docs/IndexTagRequest.md)
273
+ - [LabelResource](docs/LabelResource.md)
274
+ - [LabelResourceArrayResponse](docs/LabelResourceArrayResponse.md)
273
275
  - [ModelAttributeResource](docs/ModelAttributeResource.md)
274
276
  - [ModelAttributeResourceArrayResponse](docs/ModelAttributeResourceArrayResponse.md)
275
277
  - [OverlayTemplateAssetFrontendResource](docs/OverlayTemplateAssetFrontendResource.md)
@@ -468,7 +470,7 @@ and is automatically generated by the
468
470
  [OpenAPI Generator](https://openapi-generator.tech) project:
469
471
 
470
472
  - API version: `1.0.0`
471
- - Package version: `0.0.1008`
473
+ - Package version: `0.0.1010`
472
474
  - Generator version: `7.20.0`
473
475
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
474
476
 
@@ -0,0 +1,62 @@
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 LabelResource
16
+ */
17
+ export interface LabelResource {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof LabelResource
22
+ */
23
+ id?: number | null;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof LabelResource
28
+ */
29
+ shortName: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof LabelResource
34
+ */
35
+ longName: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof LabelResource
40
+ */
41
+ siteId: number;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof LabelResource
46
+ */
47
+ color: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof LabelResource
52
+ */
53
+ textColor?: string | null;
54
+ }
55
+ /**
56
+ * Check if a given object implements the LabelResource interface.
57
+ */
58
+ export declare function instanceOfLabelResource(value: object): value is LabelResource;
59
+ export declare function LabelResourceFromJSON(json: any): LabelResource;
60
+ export declare function LabelResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): LabelResource;
61
+ export declare function LabelResourceToJSON(json: any): LabelResource;
62
+ export declare function LabelResourceToJSONTyped(value?: LabelResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
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.instanceOfLabelResource = instanceOfLabelResource;
17
+ exports.LabelResourceFromJSON = LabelResourceFromJSON;
18
+ exports.LabelResourceFromJSONTyped = LabelResourceFromJSONTyped;
19
+ exports.LabelResourceToJSON = LabelResourceToJSON;
20
+ exports.LabelResourceToJSONTyped = LabelResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the LabelResource interface.
23
+ */
24
+ function instanceOfLabelResource(value) {
25
+ if (!('shortName' in value) || value['shortName'] === undefined)
26
+ return false;
27
+ if (!('longName' in value) || value['longName'] === undefined)
28
+ return false;
29
+ if (!('siteId' in value) || value['siteId'] === undefined)
30
+ return false;
31
+ if (!('color' in value) || value['color'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function LabelResourceFromJSON(json) {
36
+ return LabelResourceFromJSONTyped(json, false);
37
+ }
38
+ function LabelResourceFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'id': json['id'] == null ? undefined : json['id'],
44
+ 'shortName': json['shortName'],
45
+ 'longName': json['longName'],
46
+ 'siteId': json['siteId'],
47
+ 'color': json['color'],
48
+ 'textColor': json['textColor'] == null ? undefined : json['textColor'],
49
+ };
50
+ }
51
+ function LabelResourceToJSON(json) {
52
+ return LabelResourceToJSONTyped(json, false);
53
+ }
54
+ function LabelResourceToJSONTyped(value, ignoreDiscriminator) {
55
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
56
+ if (value == null) {
57
+ return value;
58
+ }
59
+ return {
60
+ 'id': value['id'],
61
+ 'shortName': value['shortName'],
62
+ 'longName': value['longName'],
63
+ 'siteId': value['siteId'],
64
+ 'color': value['color'],
65
+ 'textColor': value['textColor'],
66
+ };
67
+ }
@@ -0,0 +1,33 @@
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 { LabelResource } from './LabelResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LabelResourceArrayResponse
17
+ */
18
+ export interface LabelResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<LabelResource>}
22
+ * @memberof LabelResourceArrayResponse
23
+ */
24
+ data?: Array<LabelResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the LabelResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfLabelResourceArrayResponse(value: object): value is LabelResourceArrayResponse;
30
+ export declare function LabelResourceArrayResponseFromJSON(json: any): LabelResourceArrayResponse;
31
+ export declare function LabelResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LabelResourceArrayResponse;
32
+ export declare function LabelResourceArrayResponseToJSON(json: any): LabelResourceArrayResponse;
33
+ export declare function LabelResourceArrayResponseToJSONTyped(value?: LabelResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
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.instanceOfLabelResourceArrayResponse = instanceOfLabelResourceArrayResponse;
17
+ exports.LabelResourceArrayResponseFromJSON = LabelResourceArrayResponseFromJSON;
18
+ exports.LabelResourceArrayResponseFromJSONTyped = LabelResourceArrayResponseFromJSONTyped;
19
+ exports.LabelResourceArrayResponseToJSON = LabelResourceArrayResponseToJSON;
20
+ exports.LabelResourceArrayResponseToJSONTyped = LabelResourceArrayResponseToJSONTyped;
21
+ var LabelResource_1 = require("./LabelResource");
22
+ /**
23
+ * Check if a given object implements the LabelResourceArrayResponse interface.
24
+ */
25
+ function instanceOfLabelResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function LabelResourceArrayResponseFromJSON(json) {
29
+ return LabelResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function LabelResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(LabelResource_1.LabelResourceFromJSON)),
37
+ };
38
+ }
39
+ function LabelResourceArrayResponseToJSON(json) {
40
+ return LabelResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function LabelResourceArrayResponseToJSONTyped(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(LabelResource_1.LabelResourceToJSON)),
49
+ };
50
+ }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { SiteLiteResource } from './SiteLiteResource';
13
+ import type { LabelResource } from './LabelResource';
13
14
  import type { SEOResource } from './SEOResource';
14
15
  /**
15
16
  *
@@ -95,6 +96,12 @@ export interface ProductChildSiteDetailResource {
95
96
  * @memberof ProductChildSiteDetailResource
96
97
  */
97
98
  seo: SEOResource | null;
99
+ /**
100
+ *
101
+ * @type {LabelResource}
102
+ * @memberof ProductChildSiteDetailResource
103
+ */
104
+ label: LabelResource | null;
98
105
  /**
99
106
  *
100
107
  * @type {string}
@@ -19,6 +19,7 @@ exports.ProductChildSiteDetailResourceFromJSONTyped = ProductChildSiteDetailReso
19
19
  exports.ProductChildSiteDetailResourceToJSON = ProductChildSiteDetailResourceToJSON;
20
20
  exports.ProductChildSiteDetailResourceToJSONTyped = ProductChildSiteDetailResourceToJSONTyped;
21
21
  var SiteLiteResource_1 = require("./SiteLiteResource");
22
+ var LabelResource_1 = require("./LabelResource");
22
23
  var SEOResource_1 = require("./SEOResource");
23
24
  /**
24
25
  * Check if a given object implements the ProductChildSiteDetailResource interface.
@@ -50,6 +51,8 @@ function instanceOfProductChildSiteDetailResource(value) {
50
51
  return false;
51
52
  if (!('seo' in value) || value['seo'] === undefined)
52
53
  return false;
54
+ if (!('label' in value) || value['label'] === undefined)
55
+ return false;
53
56
  return true;
54
57
  }
55
58
  function ProductChildSiteDetailResourceFromJSON(json) {
@@ -73,6 +76,7 @@ function ProductChildSiteDetailResourceFromJSONTyped(json, ignoreDiscriminator)
73
76
  'salePrice': json['salePrice'],
74
77
  'isDisabled': json['isDisabled'],
75
78
  'seo': (0, SEOResource_1.SEOResourceFromJSON)(json['seo']),
79
+ 'label': (0, LabelResource_1.LabelResourceFromJSON)(json['label']),
76
80
  'omnisendId': json['omnisendId'] == null ? undefined : json['omnisendId'],
77
81
  'omnisendSyncStatus': json['omnisendSyncStatus'] == null ? undefined : json['omnisendSyncStatus'],
78
82
  };
@@ -99,6 +103,7 @@ function ProductChildSiteDetailResourceToJSONTyped(value, ignoreDiscriminator) {
99
103
  'salePrice': value['salePrice'],
100
104
  'isDisabled': value['isDisabled'],
101
105
  'seo': (0, SEOResource_1.SEOResourceToJSON)(value['seo']),
106
+ 'label': (0, LabelResource_1.LabelResourceToJSON)(value['label']),
102
107
  'omnisendId': value['omnisendId'],
103
108
  'omnisendSyncStatus': value['omnisendSyncStatus'],
104
109
  };
@@ -99,6 +99,8 @@ export * from './IndexSiteNotificationRequest';
99
99
  export * from './IndexSiteRequest';
100
100
  export * from './IndexSupplierRequest';
101
101
  export * from './IndexTagRequest';
102
+ export * from './LabelResource';
103
+ export * from './LabelResourceArrayResponse';
102
104
  export * from './ModelAttributeResource';
103
105
  export * from './ModelAttributeResourceArrayResponse';
104
106
  export * from './OverlayTemplateAssetFrontendResource';
@@ -117,6 +117,8 @@ __exportStar(require("./IndexSiteNotificationRequest"), exports);
117
117
  __exportStar(require("./IndexSiteRequest"), exports);
118
118
  __exportStar(require("./IndexSupplierRequest"), exports);
119
119
  __exportStar(require("./IndexTagRequest"), exports);
120
+ __exportStar(require("./LabelResource"), exports);
121
+ __exportStar(require("./LabelResourceArrayResponse"), exports);
120
122
  __exportStar(require("./ModelAttributeResource"), exports);
121
123
  __exportStar(require("./ModelAttributeResourceArrayResponse"), exports);
122
124
  __exportStar(require("./OverlayTemplateAssetFrontendResource"), exports);
@@ -0,0 +1,44 @@
1
+
2
+ # LabelResource
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `id` | number
10
+ `shortName` | string
11
+ `longName` | string
12
+ `siteId` | number
13
+ `color` | string
14
+ `textColor` | string
15
+
16
+ ## Example
17
+
18
+ ```typescript
19
+ import type { LabelResource } from '@digital8/lighting-illusions-ts-sdk'
20
+
21
+ // TODO: Update the object below with actual values
22
+ const example = {
23
+ "id": null,
24
+ "shortName": null,
25
+ "longName": null,
26
+ "siteId": null,
27
+ "color": null,
28
+ "textColor": null,
29
+ } satisfies LabelResource
30
+
31
+ console.log(example)
32
+
33
+ // Convert the instance to a JSON string
34
+ const exampleJSON: string = JSON.stringify(example)
35
+ console.log(exampleJSON)
36
+
37
+ // Parse the JSON string back to an object
38
+ const exampleParsed = JSON.parse(exampleJSON) as LabelResource
39
+ console.log(exampleParsed)
40
+ ```
41
+
42
+ [[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
43
+
44
+
@@ -0,0 +1,34 @@
1
+
2
+ # LabelResourceArrayResponse
3
+
4
+
5
+ ## Properties
6
+
7
+ Name | Type
8
+ ------------ | -------------
9
+ `data` | [Array&lt;LabelResource&gt;](LabelResource.md)
10
+
11
+ ## Example
12
+
13
+ ```typescript
14
+ import type { LabelResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
15
+
16
+ // TODO: Update the object below with actual values
17
+ const example = {
18
+ "data": null,
19
+ } satisfies LabelResourceArrayResponse
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 LabelResourceArrayResponse
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
+
@@ -19,6 +19,7 @@ Name | Type
19
19
  `salePrice` | number
20
20
  `isDisabled` | boolean
21
21
  `seo` | [SEOResource](SEOResource.md)
22
+ `label` | [LabelResource](LabelResource.md)
22
23
  `omnisendId` | string
23
24
  `omnisendSyncStatus` | string
24
25
 
@@ -42,6 +43,7 @@ const example = {
42
43
  "salePrice": null,
43
44
  "isDisabled": null,
44
45
  "seo": null,
46
+ "label": null,
45
47
  "omnisendId": null,
46
48
  "omnisendSyncStatus": null,
47
49
  } satisfies ProductChildSiteDetailResource
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.1008",
3
+ "version": "0.0.1010",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -0,0 +1,109 @@
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 LabelResource
20
+ */
21
+ export interface LabelResource {
22
+ /**
23
+ *
24
+ * @type {number}
25
+ * @memberof LabelResource
26
+ */
27
+ id?: number | null;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof LabelResource
32
+ */
33
+ shortName: string;
34
+ /**
35
+ *
36
+ * @type {string}
37
+ * @memberof LabelResource
38
+ */
39
+ longName: string;
40
+ /**
41
+ *
42
+ * @type {number}
43
+ * @memberof LabelResource
44
+ */
45
+ siteId: number;
46
+ /**
47
+ *
48
+ * @type {string}
49
+ * @memberof LabelResource
50
+ */
51
+ color: string;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof LabelResource
56
+ */
57
+ textColor?: string | null;
58
+ }
59
+
60
+ /**
61
+ * Check if a given object implements the LabelResource interface.
62
+ */
63
+ export function instanceOfLabelResource(value: object): value is LabelResource {
64
+ if (!('shortName' in value) || value['shortName'] === undefined) return false;
65
+ if (!('longName' in value) || value['longName'] === undefined) return false;
66
+ if (!('siteId' in value) || value['siteId'] === undefined) return false;
67
+ if (!('color' in value) || value['color'] === undefined) return false;
68
+ return true;
69
+ }
70
+
71
+ export function LabelResourceFromJSON(json: any): LabelResource {
72
+ return LabelResourceFromJSONTyped(json, false);
73
+ }
74
+
75
+ export function LabelResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): LabelResource {
76
+ if (json == null) {
77
+ return json;
78
+ }
79
+ return {
80
+
81
+ 'id': json['id'] == null ? undefined : json['id'],
82
+ 'shortName': json['shortName'],
83
+ 'longName': json['longName'],
84
+ 'siteId': json['siteId'],
85
+ 'color': json['color'],
86
+ 'textColor': json['textColor'] == null ? undefined : json['textColor'],
87
+ };
88
+ }
89
+
90
+ export function LabelResourceToJSON(json: any): LabelResource {
91
+ return LabelResourceToJSONTyped(json, false);
92
+ }
93
+
94
+ export function LabelResourceToJSONTyped(value?: LabelResource | null, ignoreDiscriminator: boolean = false): any {
95
+ if (value == null) {
96
+ return value;
97
+ }
98
+
99
+ return {
100
+
101
+ 'id': value['id'],
102
+ 'shortName': value['shortName'],
103
+ 'longName': value['longName'],
104
+ 'siteId': value['siteId'],
105
+ 'color': value['color'],
106
+ 'textColor': value['textColor'],
107
+ };
108
+ }
109
+
@@ -0,0 +1,73 @@
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 { LabelResource } from './LabelResource';
17
+ import {
18
+ LabelResourceFromJSON,
19
+ LabelResourceFromJSONTyped,
20
+ LabelResourceToJSON,
21
+ LabelResourceToJSONTyped,
22
+ } from './LabelResource';
23
+
24
+ /**
25
+ *
26
+ * @export
27
+ * @interface LabelResourceArrayResponse
28
+ */
29
+ export interface LabelResourceArrayResponse {
30
+ /**
31
+ *
32
+ * @type {Array<LabelResource>}
33
+ * @memberof LabelResourceArrayResponse
34
+ */
35
+ data?: Array<LabelResource>;
36
+ }
37
+
38
+ /**
39
+ * Check if a given object implements the LabelResourceArrayResponse interface.
40
+ */
41
+ export function instanceOfLabelResourceArrayResponse(value: object): value is LabelResourceArrayResponse {
42
+ return true;
43
+ }
44
+
45
+ export function LabelResourceArrayResponseFromJSON(json: any): LabelResourceArrayResponse {
46
+ return LabelResourceArrayResponseFromJSONTyped(json, false);
47
+ }
48
+
49
+ export function LabelResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LabelResourceArrayResponse {
50
+ if (json == null) {
51
+ return json;
52
+ }
53
+ return {
54
+
55
+ 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(LabelResourceFromJSON)),
56
+ };
57
+ }
58
+
59
+ export function LabelResourceArrayResponseToJSON(json: any): LabelResourceArrayResponse {
60
+ return LabelResourceArrayResponseToJSONTyped(json, false);
61
+ }
62
+
63
+ export function LabelResourceArrayResponseToJSONTyped(value?: LabelResourceArrayResponse | 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(LabelResourceToJSON)),
71
+ };
72
+ }
73
+
@@ -20,6 +20,13 @@ import {
20
20
  SiteLiteResourceToJSON,
21
21
  SiteLiteResourceToJSONTyped,
22
22
  } from './SiteLiteResource';
23
+ import type { LabelResource } from './LabelResource';
24
+ import {
25
+ LabelResourceFromJSON,
26
+ LabelResourceFromJSONTyped,
27
+ LabelResourceToJSON,
28
+ LabelResourceToJSONTyped,
29
+ } from './LabelResource';
23
30
  import type { SEOResource } from './SEOResource';
24
31
  import {
25
32
  SEOResourceFromJSON,
@@ -112,6 +119,12 @@ export interface ProductChildSiteDetailResource {
112
119
  * @memberof ProductChildSiteDetailResource
113
120
  */
114
121
  seo: SEOResource | null;
122
+ /**
123
+ *
124
+ * @type {LabelResource}
125
+ * @memberof ProductChildSiteDetailResource
126
+ */
127
+ label: LabelResource | null;
115
128
  /**
116
129
  *
117
130
  * @type {string}
@@ -143,6 +156,7 @@ export function instanceOfProductChildSiteDetailResource(value: object): value i
143
156
  if (!('salePrice' in value) || value['salePrice'] === undefined) return false;
144
157
  if (!('isDisabled' in value) || value['isDisabled'] === undefined) return false;
145
158
  if (!('seo' in value) || value['seo'] === undefined) return false;
159
+ if (!('label' in value) || value['label'] === undefined) return false;
146
160
  return true;
147
161
  }
148
162
 
@@ -169,6 +183,7 @@ export function ProductChildSiteDetailResourceFromJSONTyped(json: any, ignoreDis
169
183
  'salePrice': json['salePrice'],
170
184
  'isDisabled': json['isDisabled'],
171
185
  'seo': SEOResourceFromJSON(json['seo']),
186
+ 'label': LabelResourceFromJSON(json['label']),
172
187
  'omnisendId': json['omnisendId'] == null ? undefined : json['omnisendId'],
173
188
  'omnisendSyncStatus': json['omnisendSyncStatus'] == null ? undefined : json['omnisendSyncStatus'],
174
189
  };
@@ -198,6 +213,7 @@ export function ProductChildSiteDetailResourceToJSONTyped(value?: ProductChildSi
198
213
  'salePrice': value['salePrice'],
199
214
  'isDisabled': value['isDisabled'],
200
215
  'seo': SEOResourceToJSON(value['seo']),
216
+ 'label': LabelResourceToJSON(value['label']),
201
217
  'omnisendId': value['omnisendId'],
202
218
  'omnisendSyncStatus': value['omnisendSyncStatus'],
203
219
  };
@@ -101,6 +101,8 @@ export * from './IndexSiteNotificationRequest';
101
101
  export * from './IndexSiteRequest';
102
102
  export * from './IndexSupplierRequest';
103
103
  export * from './IndexTagRequest';
104
+ export * from './LabelResource';
105
+ export * from './LabelResourceArrayResponse';
104
106
  export * from './ModelAttributeResource';
105
107
  export * from './ModelAttributeResourceArrayResponse';
106
108
  export * from './OverlayTemplateAssetFrontendResource';