@digital8/lighting-illusions-ts-sdk 0.0.534 → 0.0.535

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 (39) hide show
  1. package/.openapi-generator/FILES +4 -4
  2. package/README.md +4 -4
  3. package/dist/models/ProductCategoryResource.d.ts +14 -0
  4. package/dist/models/ProductCategoryResource.js +10 -0
  5. package/dist/models/StoreProductCategoryRequest.d.ts +14 -0
  6. package/dist/models/StoreProductCategoryRequest.js +6 -0
  7. package/dist/models/StoreProductCategoryRequestDescriptionsInner.d.ts +44 -0
  8. package/dist/models/StoreProductCategoryRequestDescriptionsInner.js +55 -0
  9. package/dist/models/StoreProductCategoryRequestSeoInner.d.ts +44 -0
  10. package/dist/models/StoreProductCategoryRequestSeoInner.js +55 -0
  11. package/dist/models/StoreSupplierRequest.d.ts +6 -6
  12. package/dist/models/StoreSupplierRequest.js +6 -6
  13. package/dist/models/UpdateProductCategoryRequest.d.ts +15 -1
  14. package/dist/models/UpdateProductCategoryRequest.js +9 -1
  15. package/dist/models/UpdateSupplierRequest.d.ts +6 -6
  16. package/dist/models/UpdateSupplierRequest.js +6 -6
  17. package/dist/models/index.d.ts +2 -2
  18. package/dist/models/index.js +2 -2
  19. package/docs/ProductCategoryResource.md +4 -0
  20. package/docs/StoreProductCategoryRequest.md +4 -0
  21. package/docs/{StoreSupplierRequestDescriptionsInner.md → StoreProductCategoryRequestDescriptionsInner.md} +4 -4
  22. package/docs/{StoreSupplierRequestSeoInner.md → StoreProductCategoryRequestSeoInner.md} +4 -4
  23. package/docs/StoreSupplierRequest.md +2 -2
  24. package/docs/UpdateProductCategoryRequest.md +4 -0
  25. package/docs/UpdateSupplierRequest.md +2 -2
  26. package/package.json +1 -1
  27. package/src/models/ProductCategoryResource.ts +32 -0
  28. package/src/models/StoreProductCategoryRequest.ts +30 -0
  29. package/src/models/StoreProductCategoryRequestDescriptionsInner.ts +82 -0
  30. package/src/models/{StoreSupplierRequestSeoInner.ts → StoreProductCategoryRequestSeoInner.ts} +13 -13
  31. package/src/models/StoreSupplierRequest.ts +20 -20
  32. package/src/models/UpdateProductCategoryRequest.ts +33 -2
  33. package/src/models/UpdateSupplierRequest.ts +20 -20
  34. package/src/models/index.ts +2 -2
  35. package/dist/models/StoreSupplierRequestDescriptionsInner.d.ts +0 -44
  36. package/dist/models/StoreSupplierRequestDescriptionsInner.js +0 -55
  37. package/dist/models/StoreSupplierRequestSeoInner.d.ts +0 -44
  38. package/dist/models/StoreSupplierRequestSeoInner.js +0 -55
  39. package/src/models/StoreSupplierRequestDescriptionsInner.ts +0 -82
@@ -195,6 +195,8 @@ docs/StoreOverlayTemplateAssetRequest.md
195
195
  docs/StoreOverlayTemplateRequest.md
196
196
  docs/StoreProductCategoryRequest.md
197
197
  docs/StoreProductCategoryRequestAutomationRulesInner.md
198
+ docs/StoreProductCategoryRequestDescriptionsInner.md
199
+ docs/StoreProductCategoryRequestSeoInner.md
198
200
  docs/StoreProductChildRequest.md
199
201
  docs/StoreProductChildRequestAssetsInner.md
200
202
  docs/StoreProductChildRequestAttributeValuesInner.md
@@ -204,8 +206,6 @@ docs/StoreProductRequestCategoriesInner.md
204
206
  docs/StoreProductTypeRequest.md
205
207
  docs/StoreSiteNotificationRequest.md
206
208
  docs/StoreSupplierRequest.md
207
- docs/StoreSupplierRequestDescriptionsInner.md
208
- docs/StoreSupplierRequestSeoInner.md
209
209
  docs/StoreTagRequest.md
210
210
  docs/SupplierApi.md
211
211
  docs/SupplierFrontendResource.md
@@ -440,6 +440,8 @@ src/models/StoreOverlayTemplateAssetRequest.ts
440
440
  src/models/StoreOverlayTemplateRequest.ts
441
441
  src/models/StoreProductCategoryRequest.ts
442
442
  src/models/StoreProductCategoryRequestAutomationRulesInner.ts
443
+ src/models/StoreProductCategoryRequestDescriptionsInner.ts
444
+ src/models/StoreProductCategoryRequestSeoInner.ts
443
445
  src/models/StoreProductChildRequest.ts
444
446
  src/models/StoreProductChildRequestAssetsInner.ts
445
447
  src/models/StoreProductChildRequestAttributeValuesInner.ts
@@ -449,8 +451,6 @@ src/models/StoreProductRequestCategoriesInner.ts
449
451
  src/models/StoreProductTypeRequest.ts
450
452
  src/models/StoreSiteNotificationRequest.ts
451
453
  src/models/StoreSupplierRequest.ts
452
- src/models/StoreSupplierRequestDescriptionsInner.ts
453
- src/models/StoreSupplierRequestSeoInner.ts
454
454
  src/models/StoreTagRequest.ts
455
455
  src/models/SupplierFrontendResource.ts
456
456
  src/models/SupplierFrontendResourceArrayResponse.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.534
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.535
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -336,6 +336,8 @@ All URIs are relative to *http://localhost/api*
336
336
  - [StoreOverlayTemplateRequest](docs/StoreOverlayTemplateRequest.md)
337
337
  - [StoreProductCategoryRequest](docs/StoreProductCategoryRequest.md)
338
338
  - [StoreProductCategoryRequestAutomationRulesInner](docs/StoreProductCategoryRequestAutomationRulesInner.md)
339
+ - [StoreProductCategoryRequestDescriptionsInner](docs/StoreProductCategoryRequestDescriptionsInner.md)
340
+ - [StoreProductCategoryRequestSeoInner](docs/StoreProductCategoryRequestSeoInner.md)
339
341
  - [StoreProductChildRequest](docs/StoreProductChildRequest.md)
340
342
  - [StoreProductChildRequestAssetsInner](docs/StoreProductChildRequestAssetsInner.md)
341
343
  - [StoreProductChildRequestAttributeValuesInner](docs/StoreProductChildRequestAttributeValuesInner.md)
@@ -345,8 +347,6 @@ All URIs are relative to *http://localhost/api*
345
347
  - [StoreProductTypeRequest](docs/StoreProductTypeRequest.md)
346
348
  - [StoreSiteNotificationRequest](docs/StoreSiteNotificationRequest.md)
347
349
  - [StoreSupplierRequest](docs/StoreSupplierRequest.md)
348
- - [StoreSupplierRequestDescriptionsInner](docs/StoreSupplierRequestDescriptionsInner.md)
349
- - [StoreSupplierRequestSeoInner](docs/StoreSupplierRequestSeoInner.md)
350
350
  - [StoreTagRequest](docs/StoreTagRequest.md)
351
351
  - [SupplierFrontendResource](docs/SupplierFrontendResource.md)
352
352
  - [SupplierFrontendResourceArrayResponse](docs/SupplierFrontendResourceArrayResponse.md)
@@ -394,7 +394,7 @@ and is automatically generated by the
394
394
  [OpenAPI Generator](https://openapi-generator.tech) project:
395
395
 
396
396
  - API version: `1.0.0`
397
- - Package version: `0.0.534`
397
+ - Package version: `0.0.535`
398
398
  - Generator version: `7.18.0`
399
399
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
400
400
 
@@ -10,8 +10,10 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { SiteLiteResource } from './SiteLiteResource';
13
+ import type { DescriptionResource } from './DescriptionResource';
13
14
  import type { ProductCategoryLiteResource } from './ProductCategoryLiteResource';
14
15
  import type { AssetResource } from './AssetResource';
16
+ import type { SEOResource } from './SEOResource';
15
17
  /**
16
18
  *
17
19
  * @export
@@ -96,6 +98,18 @@ export interface ProductCategoryResource {
96
98
  * @memberof ProductCategoryResource
97
99
  */
98
100
  site: SiteLiteResource | null;
101
+ /**
102
+ *
103
+ * @type {Array<SEOResource>}
104
+ * @memberof ProductCategoryResource
105
+ */
106
+ seo: Array<SEOResource> | null;
107
+ /**
108
+ *
109
+ * @type {Array<DescriptionResource>}
110
+ * @memberof ProductCategoryResource
111
+ */
112
+ descriptions: Array<DescriptionResource> | null;
99
113
  }
100
114
  /**
101
115
  * Check if a given object implements the ProductCategoryResource interface.
@@ -19,8 +19,10 @@ exports.ProductCategoryResourceFromJSONTyped = ProductCategoryResourceFromJSONTy
19
19
  exports.ProductCategoryResourceToJSON = ProductCategoryResourceToJSON;
20
20
  exports.ProductCategoryResourceToJSONTyped = ProductCategoryResourceToJSONTyped;
21
21
  var SiteLiteResource_1 = require("./SiteLiteResource");
22
+ var DescriptionResource_1 = require("./DescriptionResource");
22
23
  var ProductCategoryLiteResource_1 = require("./ProductCategoryLiteResource");
23
24
  var AssetResource_1 = require("./AssetResource");
25
+ var SEOResource_1 = require("./SEOResource");
24
26
  /**
25
27
  * Check if a given object implements the ProductCategoryResource interface.
26
28
  */
@@ -45,6 +47,10 @@ function instanceOfProductCategoryResource(value) {
45
47
  return false;
46
48
  if (!('site' in value) || value['site'] === undefined)
47
49
  return false;
50
+ if (!('seo' in value) || value['seo'] === undefined)
51
+ return false;
52
+ if (!('descriptions' in value) || value['descriptions'] === undefined)
53
+ return false;
48
54
  return true;
49
55
  }
50
56
  function ProductCategoryResourceFromJSON(json) {
@@ -68,6 +74,8 @@ function ProductCategoryResourceFromJSONTyped(json, ignoreDiscriminator) {
68
74
  'automationRules': json['automationRules'],
69
75
  'parent': (0, ProductCategoryLiteResource_1.ProductCategoryLiteResourceFromJSON)(json['parent']),
70
76
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
77
+ 'seo': (json['seo'] == null ? null : json['seo'].map(SEOResource_1.SEOResourceFromJSON)),
78
+ 'descriptions': (json['descriptions'] == null ? null : json['descriptions'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
71
79
  };
72
80
  }
73
81
  function ProductCategoryResourceToJSON(json) {
@@ -92,5 +100,7 @@ function ProductCategoryResourceToJSONTyped(value, ignoreDiscriminator) {
92
100
  'automationRules': value['automationRules'],
93
101
  'parent': (0, ProductCategoryLiteResource_1.ProductCategoryLiteResourceToJSON)(value['parent']),
94
102
  'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
103
+ 'seo': (value['seo'] == null ? null : value['seo'].map(SEOResource_1.SEOResourceToJSON)),
104
+ 'descriptions': (value['descriptions'] == null ? null : value['descriptions'].map(DescriptionResource_1.DescriptionResourceToJSON)),
95
105
  };
96
106
  }
@@ -9,6 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { StoreProductCategoryRequestSeoInner } from './StoreProductCategoryRequestSeoInner';
13
+ import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
12
14
  import type { StoreProductCategoryRequestAutomationRulesInner } from './StoreProductCategoryRequestAutomationRulesInner';
13
15
  /**
14
16
  *
@@ -94,6 +96,18 @@ export interface StoreProductCategoryRequest {
94
96
  * @memberof StoreProductCategoryRequest
95
97
  */
96
98
  fileId: number;
99
+ /**
100
+ *
101
+ * @type {Array<StoreProductCategoryRequestSeoInner>}
102
+ * @memberof StoreProductCategoryRequest
103
+ */
104
+ seo?: Array<StoreProductCategoryRequestSeoInner>;
105
+ /**
106
+ *
107
+ * @type {Array<StoreProductCategoryRequestDescriptionsInner>}
108
+ * @memberof StoreProductCategoryRequest
109
+ */
110
+ descriptions?: Array<StoreProductCategoryRequestDescriptionsInner>;
97
111
  }
98
112
  /**
99
113
  * Check if a given object implements the StoreProductCategoryRequest interface.
@@ -18,6 +18,8 @@ exports.StoreProductCategoryRequestFromJSON = StoreProductCategoryRequestFromJSO
18
18
  exports.StoreProductCategoryRequestFromJSONTyped = StoreProductCategoryRequestFromJSONTyped;
19
19
  exports.StoreProductCategoryRequestToJSON = StoreProductCategoryRequestToJSON;
20
20
  exports.StoreProductCategoryRequestToJSONTyped = StoreProductCategoryRequestToJSONTyped;
21
+ var StoreProductCategoryRequestSeoInner_1 = require("./StoreProductCategoryRequestSeoInner");
22
+ var StoreProductCategoryRequestDescriptionsInner_1 = require("./StoreProductCategoryRequestDescriptionsInner");
21
23
  var StoreProductCategoryRequestAutomationRulesInner_1 = require("./StoreProductCategoryRequestAutomationRulesInner");
22
24
  /**
23
25
  * Check if a given object implements the StoreProductCategoryRequest interface.
@@ -58,6 +60,8 @@ function StoreProductCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
58
60
  'altText': json['alt_text'] == null ? undefined : json['alt_text'],
59
61
  'mimeType': json['mime_type'],
60
62
  'fileId': json['file_id'],
63
+ 'seo': json['seo'] == null ? undefined : (json['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerFromJSON)),
64
+ 'descriptions': json['descriptions'] == null ? undefined : (json['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerFromJSON)),
61
65
  };
62
66
  }
63
67
  function StoreProductCategoryRequestToJSON(json) {
@@ -82,5 +86,7 @@ function StoreProductCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
82
86
  'alt_text': value['altText'],
83
87
  'mime_type': value['mimeType'],
84
88
  'file_id': value['fileId'],
89
+ 'seo': value['seo'] == null ? undefined : (value['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerToJSON)),
90
+ 'descriptions': value['descriptions'] == null ? undefined : (value['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerToJSON)),
85
91
  };
86
92
  }
@@ -0,0 +1,44 @@
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 StoreProductCategoryRequestDescriptionsInner
16
+ */
17
+ export interface StoreProductCategoryRequestDescriptionsInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof StoreProductCategoryRequestDescriptionsInner
22
+ */
23
+ headerDescription?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof StoreProductCategoryRequestDescriptionsInner
28
+ */
29
+ footerDescription?: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof StoreProductCategoryRequestDescriptionsInner
34
+ */
35
+ siteId: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the StoreProductCategoryRequestDescriptionsInner interface.
39
+ */
40
+ export declare function instanceOfStoreProductCategoryRequestDescriptionsInner(value: object): value is StoreProductCategoryRequestDescriptionsInner;
41
+ export declare function StoreProductCategoryRequestDescriptionsInnerFromJSON(json: any): StoreProductCategoryRequestDescriptionsInner;
42
+ export declare function StoreProductCategoryRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductCategoryRequestDescriptionsInner;
43
+ export declare function StoreProductCategoryRequestDescriptionsInnerToJSON(json: any): StoreProductCategoryRequestDescriptionsInner;
44
+ export declare function StoreProductCategoryRequestDescriptionsInnerToJSONTyped(value?: StoreProductCategoryRequestDescriptionsInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfStoreProductCategoryRequestDescriptionsInner = instanceOfStoreProductCategoryRequestDescriptionsInner;
17
+ exports.StoreProductCategoryRequestDescriptionsInnerFromJSON = StoreProductCategoryRequestDescriptionsInnerFromJSON;
18
+ exports.StoreProductCategoryRequestDescriptionsInnerFromJSONTyped = StoreProductCategoryRequestDescriptionsInnerFromJSONTyped;
19
+ exports.StoreProductCategoryRequestDescriptionsInnerToJSON = StoreProductCategoryRequestDescriptionsInnerToJSON;
20
+ exports.StoreProductCategoryRequestDescriptionsInnerToJSONTyped = StoreProductCategoryRequestDescriptionsInnerToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the StoreProductCategoryRequestDescriptionsInner interface.
23
+ */
24
+ function instanceOfStoreProductCategoryRequestDescriptionsInner(value) {
25
+ if (!('siteId' in value) || value['siteId'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function StoreProductCategoryRequestDescriptionsInnerFromJSON(json) {
30
+ return StoreProductCategoryRequestDescriptionsInnerFromJSONTyped(json, false);
31
+ }
32
+ function StoreProductCategoryRequestDescriptionsInnerFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
38
+ 'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
39
+ 'siteId': json['site_id'],
40
+ };
41
+ }
42
+ function StoreProductCategoryRequestDescriptionsInnerToJSON(json) {
43
+ return StoreProductCategoryRequestDescriptionsInnerToJSONTyped(json, false);
44
+ }
45
+ function StoreProductCategoryRequestDescriptionsInnerToJSONTyped(value, ignoreDiscriminator) {
46
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'header_description': value['headerDescription'],
52
+ 'footer_description': value['footerDescription'],
53
+ 'site_id': value['siteId'],
54
+ };
55
+ }
@@ -0,0 +1,44 @@
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 StoreProductCategoryRequestSeoInner
16
+ */
17
+ export interface StoreProductCategoryRequestSeoInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof StoreProductCategoryRequestSeoInner
22
+ */
23
+ seoTitle?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof StoreProductCategoryRequestSeoInner
28
+ */
29
+ seoDescription?: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof StoreProductCategoryRequestSeoInner
34
+ */
35
+ siteId: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the StoreProductCategoryRequestSeoInner interface.
39
+ */
40
+ export declare function instanceOfStoreProductCategoryRequestSeoInner(value: object): value is StoreProductCategoryRequestSeoInner;
41
+ export declare function StoreProductCategoryRequestSeoInnerFromJSON(json: any): StoreProductCategoryRequestSeoInner;
42
+ export declare function StoreProductCategoryRequestSeoInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductCategoryRequestSeoInner;
43
+ export declare function StoreProductCategoryRequestSeoInnerToJSON(json: any): StoreProductCategoryRequestSeoInner;
44
+ export declare function StoreProductCategoryRequestSeoInnerToJSONTyped(value?: StoreProductCategoryRequestSeoInner | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,55 @@
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.instanceOfStoreProductCategoryRequestSeoInner = instanceOfStoreProductCategoryRequestSeoInner;
17
+ exports.StoreProductCategoryRequestSeoInnerFromJSON = StoreProductCategoryRequestSeoInnerFromJSON;
18
+ exports.StoreProductCategoryRequestSeoInnerFromJSONTyped = StoreProductCategoryRequestSeoInnerFromJSONTyped;
19
+ exports.StoreProductCategoryRequestSeoInnerToJSON = StoreProductCategoryRequestSeoInnerToJSON;
20
+ exports.StoreProductCategoryRequestSeoInnerToJSONTyped = StoreProductCategoryRequestSeoInnerToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the StoreProductCategoryRequestSeoInner interface.
23
+ */
24
+ function instanceOfStoreProductCategoryRequestSeoInner(value) {
25
+ if (!('siteId' in value) || value['siteId'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function StoreProductCategoryRequestSeoInnerFromJSON(json) {
30
+ return StoreProductCategoryRequestSeoInnerFromJSONTyped(json, false);
31
+ }
32
+ function StoreProductCategoryRequestSeoInnerFromJSONTyped(json, ignoreDiscriminator) {
33
+ if (json == null) {
34
+ return json;
35
+ }
36
+ return {
37
+ 'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
38
+ 'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
39
+ 'siteId': json['site_id'],
40
+ };
41
+ }
42
+ function StoreProductCategoryRequestSeoInnerToJSON(json) {
43
+ return StoreProductCategoryRequestSeoInnerToJSONTyped(json, false);
44
+ }
45
+ function StoreProductCategoryRequestSeoInnerToJSONTyped(value, ignoreDiscriminator) {
46
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
47
+ if (value == null) {
48
+ return value;
49
+ }
50
+ return {
51
+ 'seo_title': value['seoTitle'],
52
+ 'seo_description': value['seoDescription'],
53
+ 'site_id': value['siteId'],
54
+ };
55
+ }
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { StoreSupplierRequestSeoInner } from './StoreSupplierRequestSeoInner';
13
- import type { StoreSupplierRequestDescriptionsInner } from './StoreSupplierRequestDescriptionsInner';
12
+ import type { StoreProductCategoryRequestSeoInner } from './StoreProductCategoryRequestSeoInner';
13
+ import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -37,10 +37,10 @@ export interface StoreSupplierRequest {
37
37
  supplierEta: number;
38
38
  /**
39
39
  *
40
- * @type {Array<StoreSupplierRequestSeoInner>}
40
+ * @type {Array<StoreProductCategoryRequestSeoInner>}
41
41
  * @memberof StoreSupplierRequest
42
42
  */
43
- seo: Array<StoreSupplierRequestSeoInner>;
43
+ seo: Array<StoreProductCategoryRequestSeoInner>;
44
44
  /**
45
45
  *
46
46
  * @type {string}
@@ -61,10 +61,10 @@ export interface StoreSupplierRequest {
61
61
  fileId: number;
62
62
  /**
63
63
  *
64
- * @type {Array<StoreSupplierRequestDescriptionsInner>}
64
+ * @type {Array<StoreProductCategoryRequestDescriptionsInner>}
65
65
  * @memberof StoreSupplierRequest
66
66
  */
67
- descriptions: Array<StoreSupplierRequestDescriptionsInner>;
67
+ descriptions: Array<StoreProductCategoryRequestDescriptionsInner>;
68
68
  }
69
69
  /**
70
70
  * Check if a given object implements the StoreSupplierRequest interface.
@@ -18,8 +18,8 @@ exports.StoreSupplierRequestFromJSON = StoreSupplierRequestFromJSON;
18
18
  exports.StoreSupplierRequestFromJSONTyped = StoreSupplierRequestFromJSONTyped;
19
19
  exports.StoreSupplierRequestToJSON = StoreSupplierRequestToJSON;
20
20
  exports.StoreSupplierRequestToJSONTyped = StoreSupplierRequestToJSONTyped;
21
- var StoreSupplierRequestSeoInner_1 = require("./StoreSupplierRequestSeoInner");
22
- var StoreSupplierRequestDescriptionsInner_1 = require("./StoreSupplierRequestDescriptionsInner");
21
+ var StoreProductCategoryRequestSeoInner_1 = require("./StoreProductCategoryRequestSeoInner");
22
+ var StoreProductCategoryRequestDescriptionsInner_1 = require("./StoreProductCategoryRequestDescriptionsInner");
23
23
  /**
24
24
  * Check if a given object implements the StoreSupplierRequest interface.
25
25
  */
@@ -51,11 +51,11 @@ function StoreSupplierRequestFromJSONTyped(json, ignoreDiscriminator) {
51
51
  'name': json['name'],
52
52
  'slug': json['slug'],
53
53
  'supplierEta': json['supplier_eta'],
54
- 'seo': (json['seo'].map(StoreSupplierRequestSeoInner_1.StoreSupplierRequestSeoInnerFromJSON)),
54
+ 'seo': (json['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerFromJSON)),
55
55
  'altText': json['alt_text'] == null ? undefined : json['alt_text'],
56
56
  'mimeType': json['mime_type'],
57
57
  'fileId': json['file_id'],
58
- 'descriptions': (json['descriptions'].map(StoreSupplierRequestDescriptionsInner_1.StoreSupplierRequestDescriptionsInnerFromJSON)),
58
+ 'descriptions': (json['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerFromJSON)),
59
59
  };
60
60
  }
61
61
  function StoreSupplierRequestToJSON(json) {
@@ -70,10 +70,10 @@ function StoreSupplierRequestToJSONTyped(value, ignoreDiscriminator) {
70
70
  'name': value['name'],
71
71
  'slug': value['slug'],
72
72
  'supplier_eta': value['supplierEta'],
73
- 'seo': (value['seo'].map(StoreSupplierRequestSeoInner_1.StoreSupplierRequestSeoInnerToJSON)),
73
+ 'seo': (value['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerToJSON)),
74
74
  'alt_text': value['altText'],
75
75
  'mime_type': value['mimeType'],
76
76
  'file_id': value['fileId'],
77
- 'descriptions': (value['descriptions'].map(StoreSupplierRequestDescriptionsInner_1.StoreSupplierRequestDescriptionsInnerToJSON)),
77
+ 'descriptions': (value['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerToJSON)),
78
78
  };
79
79
  }
@@ -9,6 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import type { StoreProductCategoryRequestSeoInner } from './StoreProductCategoryRequestSeoInner';
13
+ import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
12
14
  import type { StoreProductCategoryRequestAutomationRulesInner } from './StoreProductCategoryRequestAutomationRulesInner';
13
15
  /**
14
16
  *
@@ -21,7 +23,7 @@ export interface UpdateProductCategoryRequest {
21
23
  * @type {string}
22
24
  * @memberof UpdateProductCategoryRequest
23
25
  */
24
- siteId?: string;
26
+ siteId: string;
25
27
  /**
26
28
  *
27
29
  * @type {string}
@@ -94,6 +96,18 @@ export interface UpdateProductCategoryRequest {
94
96
  * @memberof UpdateProductCategoryRequest
95
97
  */
96
98
  fileId?: number;
99
+ /**
100
+ *
101
+ * @type {Array<StoreProductCategoryRequestSeoInner>}
102
+ * @memberof UpdateProductCategoryRequest
103
+ */
104
+ seo?: Array<StoreProductCategoryRequestSeoInner>;
105
+ /**
106
+ *
107
+ * @type {Array<StoreProductCategoryRequestDescriptionsInner>}
108
+ * @memberof UpdateProductCategoryRequest
109
+ */
110
+ descriptions?: Array<StoreProductCategoryRequestDescriptionsInner>;
97
111
  }
98
112
  /**
99
113
  * Check if a given object implements the UpdateProductCategoryRequest interface.
@@ -18,11 +18,15 @@ exports.UpdateProductCategoryRequestFromJSON = UpdateProductCategoryRequestFromJ
18
18
  exports.UpdateProductCategoryRequestFromJSONTyped = UpdateProductCategoryRequestFromJSONTyped;
19
19
  exports.UpdateProductCategoryRequestToJSON = UpdateProductCategoryRequestToJSON;
20
20
  exports.UpdateProductCategoryRequestToJSONTyped = UpdateProductCategoryRequestToJSONTyped;
21
+ var StoreProductCategoryRequestSeoInner_1 = require("./StoreProductCategoryRequestSeoInner");
22
+ var StoreProductCategoryRequestDescriptionsInner_1 = require("./StoreProductCategoryRequestDescriptionsInner");
21
23
  var StoreProductCategoryRequestAutomationRulesInner_1 = require("./StoreProductCategoryRequestAutomationRulesInner");
22
24
  /**
23
25
  * Check if a given object implements the UpdateProductCategoryRequest interface.
24
26
  */
25
27
  function instanceOfUpdateProductCategoryRequest(value) {
28
+ if (!('siteId' in value) || value['siteId'] === undefined)
29
+ return false;
26
30
  return true;
27
31
  }
28
32
  function UpdateProductCategoryRequestFromJSON(json) {
@@ -33,7 +37,7 @@ function UpdateProductCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
33
37
  return json;
34
38
  }
35
39
  return {
36
- 'siteId': json['site_id'] == null ? undefined : json['site_id'],
40
+ 'siteId': json['site_id'],
37
41
  'name': json['name'] == null ? undefined : json['name'],
38
42
  'slug': json['slug'] == null ? undefined : json['slug'],
39
43
  'parentId': json['parent_id'] == null ? undefined : json['parent_id'],
@@ -46,6 +50,8 @@ function UpdateProductCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
46
50
  'altText': json['alt_text'] == null ? undefined : json['alt_text'],
47
51
  'mimeType': json['mime_type'] == null ? undefined : json['mime_type'],
48
52
  'fileId': json['file_id'] == null ? undefined : json['file_id'],
53
+ 'seo': json['seo'] == null ? undefined : (json['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerFromJSON)),
54
+ 'descriptions': json['descriptions'] == null ? undefined : (json['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerFromJSON)),
49
55
  };
50
56
  }
51
57
  function UpdateProductCategoryRequestToJSON(json) {
@@ -70,5 +76,7 @@ function UpdateProductCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
70
76
  'alt_text': value['altText'],
71
77
  'mime_type': value['mimeType'],
72
78
  'file_id': value['fileId'],
79
+ 'seo': value['seo'] == null ? undefined : (value['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerToJSON)),
80
+ 'descriptions': value['descriptions'] == null ? undefined : (value['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerToJSON)),
73
81
  };
74
82
  }
@@ -9,8 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { StoreSupplierRequestSeoInner } from './StoreSupplierRequestSeoInner';
13
- import type { StoreSupplierRequestDescriptionsInner } from './StoreSupplierRequestDescriptionsInner';
12
+ import type { StoreProductCategoryRequestSeoInner } from './StoreProductCategoryRequestSeoInner';
13
+ import type { StoreProductCategoryRequestDescriptionsInner } from './StoreProductCategoryRequestDescriptionsInner';
14
14
  /**
15
15
  *
16
16
  * @export
@@ -37,10 +37,10 @@ export interface UpdateSupplierRequest {
37
37
  supplierEta: number;
38
38
  /**
39
39
  *
40
- * @type {Array<StoreSupplierRequestSeoInner>}
40
+ * @type {Array<StoreProductCategoryRequestSeoInner>}
41
41
  * @memberof UpdateSupplierRequest
42
42
  */
43
- seo: Array<StoreSupplierRequestSeoInner>;
43
+ seo: Array<StoreProductCategoryRequestSeoInner>;
44
44
  /**
45
45
  *
46
46
  * @type {string}
@@ -61,10 +61,10 @@ export interface UpdateSupplierRequest {
61
61
  fileId: number;
62
62
  /**
63
63
  *
64
- * @type {Array<StoreSupplierRequestDescriptionsInner>}
64
+ * @type {Array<StoreProductCategoryRequestDescriptionsInner>}
65
65
  * @memberof UpdateSupplierRequest
66
66
  */
67
- descriptions: Array<StoreSupplierRequestDescriptionsInner>;
67
+ descriptions: Array<StoreProductCategoryRequestDescriptionsInner>;
68
68
  }
69
69
  /**
70
70
  * Check if a given object implements the UpdateSupplierRequest interface.
@@ -18,8 +18,8 @@ exports.UpdateSupplierRequestFromJSON = UpdateSupplierRequestFromJSON;
18
18
  exports.UpdateSupplierRequestFromJSONTyped = UpdateSupplierRequestFromJSONTyped;
19
19
  exports.UpdateSupplierRequestToJSON = UpdateSupplierRequestToJSON;
20
20
  exports.UpdateSupplierRequestToJSONTyped = UpdateSupplierRequestToJSONTyped;
21
- var StoreSupplierRequestSeoInner_1 = require("./StoreSupplierRequestSeoInner");
22
- var StoreSupplierRequestDescriptionsInner_1 = require("./StoreSupplierRequestDescriptionsInner");
21
+ var StoreProductCategoryRequestSeoInner_1 = require("./StoreProductCategoryRequestSeoInner");
22
+ var StoreProductCategoryRequestDescriptionsInner_1 = require("./StoreProductCategoryRequestDescriptionsInner");
23
23
  /**
24
24
  * Check if a given object implements the UpdateSupplierRequest interface.
25
25
  */
@@ -51,11 +51,11 @@ function UpdateSupplierRequestFromJSONTyped(json, ignoreDiscriminator) {
51
51
  'name': json['name'],
52
52
  'slug': json['slug'],
53
53
  'supplierEta': json['supplier_eta'],
54
- 'seo': (json['seo'].map(StoreSupplierRequestSeoInner_1.StoreSupplierRequestSeoInnerFromJSON)),
54
+ 'seo': (json['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerFromJSON)),
55
55
  'altText': json['alt_text'] == null ? undefined : json['alt_text'],
56
56
  'mimeType': json['mime_type'],
57
57
  'fileId': json['file_id'],
58
- 'descriptions': (json['descriptions'].map(StoreSupplierRequestDescriptionsInner_1.StoreSupplierRequestDescriptionsInnerFromJSON)),
58
+ 'descriptions': (json['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerFromJSON)),
59
59
  };
60
60
  }
61
61
  function UpdateSupplierRequestToJSON(json) {
@@ -70,10 +70,10 @@ function UpdateSupplierRequestToJSONTyped(value, ignoreDiscriminator) {
70
70
  'name': value['name'],
71
71
  'slug': value['slug'],
72
72
  'supplier_eta': value['supplierEta'],
73
- 'seo': (value['seo'].map(StoreSupplierRequestSeoInner_1.StoreSupplierRequestSeoInnerToJSON)),
73
+ 'seo': (value['seo'].map(StoreProductCategoryRequestSeoInner_1.StoreProductCategoryRequestSeoInnerToJSON)),
74
74
  'alt_text': value['altText'],
75
75
  'mime_type': value['mimeType'],
76
76
  'file_id': value['fileId'],
77
- 'descriptions': (value['descriptions'].map(StoreSupplierRequestDescriptionsInner_1.StoreSupplierRequestDescriptionsInnerToJSON)),
77
+ 'descriptions': (value['descriptions'].map(StoreProductCategoryRequestDescriptionsInner_1.StoreProductCategoryRequestDescriptionsInnerToJSON)),
78
78
  };
79
79
  }
@@ -180,6 +180,8 @@ export * from './StoreOverlayTemplateAssetRequest';
180
180
  export * from './StoreOverlayTemplateRequest';
181
181
  export * from './StoreProductCategoryRequest';
182
182
  export * from './StoreProductCategoryRequestAutomationRulesInner';
183
+ export * from './StoreProductCategoryRequestDescriptionsInner';
184
+ export * from './StoreProductCategoryRequestSeoInner';
183
185
  export * from './StoreProductChildRequest';
184
186
  export * from './StoreProductChildRequestAssetsInner';
185
187
  export * from './StoreProductChildRequestAttributeValuesInner';
@@ -189,8 +191,6 @@ export * from './StoreProductRequestCategoriesInner';
189
191
  export * from './StoreProductTypeRequest';
190
192
  export * from './StoreSiteNotificationRequest';
191
193
  export * from './StoreSupplierRequest';
192
- export * from './StoreSupplierRequestDescriptionsInner';
193
- export * from './StoreSupplierRequestSeoInner';
194
194
  export * from './StoreTagRequest';
195
195
  export * from './SupplierFrontendResource';
196
196
  export * from './SupplierFrontendResourceArrayResponse';