@digital8/lighting-illusions-ts-sdk 0.0.492 → 0.0.494

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 (61) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +5 -2
  3. package/dist/models/DescriptionResource.d.ts +50 -0
  4. package/dist/models/DescriptionResource.js +63 -0
  5. package/dist/models/DescriptionResourceArrayResponse.d.ts +33 -0
  6. package/dist/models/DescriptionResourceArrayResponse.js +50 -0
  7. package/dist/models/ExternalApiLogResource.d.ts +1 -1
  8. package/dist/models/ExternalApiLogResource.js +3 -1
  9. package/dist/models/SEOResource.d.ts +2 -20
  10. package/dist/models/SEOResource.js +8 -20
  11. package/dist/models/StoreProductChildRequestSitesInner.d.ts +3 -15
  12. package/dist/models/StoreProductChildRequestSitesInner.js +7 -9
  13. package/dist/models/StoreSupplierRequest.d.ts +7 -0
  14. package/dist/models/StoreSupplierRequest.js +5 -0
  15. package/dist/models/StoreSupplierRequestDescriptionsInner.d.ts +44 -0
  16. package/dist/models/StoreSupplierRequestDescriptionsInner.js +55 -0
  17. package/dist/models/StoreSupplierRequestSeoInner.d.ts +2 -20
  18. package/dist/models/StoreSupplierRequestSeoInner.js +4 -10
  19. package/dist/models/StoreTagRequest.d.ts +3 -9
  20. package/dist/models/StoreTagRequest.js +6 -8
  21. package/dist/models/SupplierFrontendResource.d.ts +7 -0
  22. package/dist/models/SupplierFrontendResource.js +5 -0
  23. package/dist/models/SupplierResource.d.ts +7 -0
  24. package/dist/models/SupplierResource.js +5 -0
  25. package/dist/models/TagResource.d.ts +7 -0
  26. package/dist/models/TagResource.js +5 -0
  27. package/dist/models/UpdateSupplierRequest.d.ts +7 -0
  28. package/dist/models/UpdateSupplierRequest.js +5 -0
  29. package/dist/models/UpdateTagRequest.d.ts +3 -9
  30. package/dist/models/UpdateTagRequest.js +6 -8
  31. package/dist/models/index.d.ts +3 -0
  32. package/dist/models/index.js +3 -0
  33. package/docs/DescriptionResource.md +40 -0
  34. package/docs/DescriptionResourceArrayResponse.md +34 -0
  35. package/docs/SEOResource.md +4 -10
  36. package/docs/StoreProductChildRequestSitesInner.md +4 -8
  37. package/docs/StoreSupplierRequest.md +2 -0
  38. package/docs/StoreSupplierRequestDescriptionsInner.md +38 -0
  39. package/docs/StoreSupplierRequestSeoInner.md +4 -10
  40. package/docs/StoreTagRequest.md +6 -8
  41. package/docs/SupplierFrontendResource.md +2 -0
  42. package/docs/SupplierResource.md +2 -0
  43. package/docs/TagResource.md +2 -0
  44. package/docs/UpdateSupplierRequest.md +2 -0
  45. package/docs/UpdateTagRequest.md +6 -8
  46. package/package.json +1 -1
  47. package/src/models/DescriptionResource.ts +93 -0
  48. package/src/models/DescriptionResourceArrayResponse.ts +73 -0
  49. package/src/models/ExternalApiLogResource.ts +3 -2
  50. package/src/models/SEOResource.ts +10 -37
  51. package/src/models/StoreProductChildRequestSitesInner.ts +9 -24
  52. package/src/models/StoreSupplierRequest.ts +16 -0
  53. package/src/models/StoreSupplierRequestDescriptionsInner.ts +82 -0
  54. package/src/models/StoreSupplierRequestSeoInner.ts +6 -30
  55. package/src/models/StoreTagRequest.ts +9 -17
  56. package/src/models/SupplierFrontendResource.ts +16 -0
  57. package/src/models/SupplierResource.ts +16 -0
  58. package/src/models/TagResource.ts +16 -0
  59. package/src/models/UpdateSupplierRequest.ts +16 -0
  60. package/src/models/UpdateTagRequest.ts +9 -17
  61. package/src/models/index.ts +3 -0
@@ -31,6 +31,8 @@ docs/AttributeType.md
31
31
  docs/AttributeValueResource.md
32
32
  docs/AttributeValueResourceArrayResponse.md
33
33
  docs/CouponDiscountType.md
34
+ docs/DescriptionResource.md
35
+ docs/DescriptionResourceArrayResponse.md
34
36
  docs/DestroyAttributeValueRequest.md
35
37
  docs/DetachAssetableOverlayTemplateRequest.md
36
38
  docs/DetachDocumentablesDocumentRequest.md
@@ -177,6 +179,7 @@ docs/StoreProductRequestCategoriesInner.md
177
179
  docs/StoreProductTypeRequest.md
178
180
  docs/StoreSiteNotificationRequest.md
179
181
  docs/StoreSupplierRequest.md
182
+ docs/StoreSupplierRequestDescriptionsInner.md
180
183
  docs/StoreSupplierRequestSeoInner.md
181
184
  docs/StoreTagRequest.md
182
185
  docs/SupplierApi.md
@@ -254,6 +257,8 @@ src/models/AttributeType.ts
254
257
  src/models/AttributeValueResource.ts
255
258
  src/models/AttributeValueResourceArrayResponse.ts
256
259
  src/models/CouponDiscountType.ts
260
+ src/models/DescriptionResource.ts
261
+ src/models/DescriptionResourceArrayResponse.ts
257
262
  src/models/DestroyAttributeValueRequest.ts
258
263
  src/models/DetachAssetableOverlayTemplateRequest.ts
259
264
  src/models/DetachDocumentablesDocumentRequest.ts
@@ -393,6 +398,7 @@ src/models/StoreProductRequestCategoriesInner.ts
393
398
  src/models/StoreProductTypeRequest.ts
394
399
  src/models/StoreSiteNotificationRequest.ts
395
400
  src/models/StoreSupplierRequest.ts
401
+ src/models/StoreSupplierRequestDescriptionsInner.ts
396
402
  src/models/StoreSupplierRequestSeoInner.ts
397
403
  src/models/StoreTagRequest.ts
398
404
  src/models/SupplierFrontendResource.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.492
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.494
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -172,6 +172,8 @@ All URIs are relative to *http://localhost/api*
172
172
  - [AttributeValueResource](docs/AttributeValueResource.md)
173
173
  - [AttributeValueResourceArrayResponse](docs/AttributeValueResourceArrayResponse.md)
174
174
  - [CouponDiscountType](docs/CouponDiscountType.md)
175
+ - [DescriptionResource](docs/DescriptionResource.md)
176
+ - [DescriptionResourceArrayResponse](docs/DescriptionResourceArrayResponse.md)
175
177
  - [DestroyAttributeValueRequest](docs/DestroyAttributeValueRequest.md)
176
178
  - [DetachAssetableOverlayTemplateRequest](docs/DetachAssetableOverlayTemplateRequest.md)
177
179
  - [DetachDocumentablesDocumentRequest](docs/DetachDocumentablesDocumentRequest.md)
@@ -311,6 +313,7 @@ All URIs are relative to *http://localhost/api*
311
313
  - [StoreProductTypeRequest](docs/StoreProductTypeRequest.md)
312
314
  - [StoreSiteNotificationRequest](docs/StoreSiteNotificationRequest.md)
313
315
  - [StoreSupplierRequest](docs/StoreSupplierRequest.md)
316
+ - [StoreSupplierRequestDescriptionsInner](docs/StoreSupplierRequestDescriptionsInner.md)
314
317
  - [StoreSupplierRequestSeoInner](docs/StoreSupplierRequestSeoInner.md)
315
318
  - [StoreTagRequest](docs/StoreTagRequest.md)
316
319
  - [SupplierFrontendResource](docs/SupplierFrontendResource.md)
@@ -358,7 +361,7 @@ and is automatically generated by the
358
361
  [OpenAPI Generator](https://openapi-generator.tech) project:
359
362
 
360
363
  - API version: `1.0.0`
361
- - Package version: `0.0.492`
364
+ - Package version: `0.0.494`
362
365
  - Generator version: `7.17.0`
363
366
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
364
367
 
@@ -0,0 +1,50 @@
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 DescriptionResource
16
+ */
17
+ export interface DescriptionResource {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof DescriptionResource
22
+ */
23
+ id: number;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof DescriptionResource
28
+ */
29
+ headerDescription: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof DescriptionResource
34
+ */
35
+ footerDescription: string;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof DescriptionResource
40
+ */
41
+ siteId: number;
42
+ }
43
+ /**
44
+ * Check if a given object implements the DescriptionResource interface.
45
+ */
46
+ export declare function instanceOfDescriptionResource(value: object): value is DescriptionResource;
47
+ export declare function DescriptionResourceFromJSON(json: any): DescriptionResource;
48
+ export declare function DescriptionResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DescriptionResource;
49
+ export declare function DescriptionResourceToJSON(json: any): DescriptionResource;
50
+ export declare function DescriptionResourceToJSONTyped(value?: DescriptionResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,63 @@
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.instanceOfDescriptionResource = instanceOfDescriptionResource;
17
+ exports.DescriptionResourceFromJSON = DescriptionResourceFromJSON;
18
+ exports.DescriptionResourceFromJSONTyped = DescriptionResourceFromJSONTyped;
19
+ exports.DescriptionResourceToJSON = DescriptionResourceToJSON;
20
+ exports.DescriptionResourceToJSONTyped = DescriptionResourceToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the DescriptionResource interface.
23
+ */
24
+ function instanceOfDescriptionResource(value) {
25
+ if (!('id' in value) || value['id'] === undefined)
26
+ return false;
27
+ if (!('headerDescription' in value) || value['headerDescription'] === undefined)
28
+ return false;
29
+ if (!('footerDescription' in value) || value['footerDescription'] === undefined)
30
+ return false;
31
+ if (!('siteId' in value) || value['siteId'] === undefined)
32
+ return false;
33
+ return true;
34
+ }
35
+ function DescriptionResourceFromJSON(json) {
36
+ return DescriptionResourceFromJSONTyped(json, false);
37
+ }
38
+ function DescriptionResourceFromJSONTyped(json, ignoreDiscriminator) {
39
+ if (json == null) {
40
+ return json;
41
+ }
42
+ return {
43
+ 'id': json['id'],
44
+ 'headerDescription': json['headerDescription'],
45
+ 'footerDescription': json['footerDescription'],
46
+ 'siteId': json['siteId'],
47
+ };
48
+ }
49
+ function DescriptionResourceToJSON(json) {
50
+ return DescriptionResourceToJSONTyped(json, false);
51
+ }
52
+ function DescriptionResourceToJSONTyped(value, ignoreDiscriminator) {
53
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
54
+ if (value == null) {
55
+ return value;
56
+ }
57
+ return {
58
+ 'id': value['id'],
59
+ 'headerDescription': value['headerDescription'],
60
+ 'footerDescription': value['footerDescription'],
61
+ 'siteId': value['siteId'],
62
+ };
63
+ }
@@ -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 { DescriptionResource } from './DescriptionResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface DescriptionResourceArrayResponse
17
+ */
18
+ export interface DescriptionResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<DescriptionResource>}
22
+ * @memberof DescriptionResourceArrayResponse
23
+ */
24
+ data?: Array<DescriptionResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the DescriptionResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfDescriptionResourceArrayResponse(value: object): value is DescriptionResourceArrayResponse;
30
+ export declare function DescriptionResourceArrayResponseFromJSON(json: any): DescriptionResourceArrayResponse;
31
+ export declare function DescriptionResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DescriptionResourceArrayResponse;
32
+ export declare function DescriptionResourceArrayResponseToJSON(json: any): DescriptionResourceArrayResponse;
33
+ export declare function DescriptionResourceArrayResponseToJSONTyped(value?: DescriptionResourceArrayResponse | 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.instanceOfDescriptionResourceArrayResponse = instanceOfDescriptionResourceArrayResponse;
17
+ exports.DescriptionResourceArrayResponseFromJSON = DescriptionResourceArrayResponseFromJSON;
18
+ exports.DescriptionResourceArrayResponseFromJSONTyped = DescriptionResourceArrayResponseFromJSONTyped;
19
+ exports.DescriptionResourceArrayResponseToJSON = DescriptionResourceArrayResponseToJSON;
20
+ exports.DescriptionResourceArrayResponseToJSONTyped = DescriptionResourceArrayResponseToJSONTyped;
21
+ var DescriptionResource_1 = require("./DescriptionResource");
22
+ /**
23
+ * Check if a given object implements the DescriptionResourceArrayResponse interface.
24
+ */
25
+ function instanceOfDescriptionResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function DescriptionResourceArrayResponseFromJSON(json) {
29
+ return DescriptionResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function DescriptionResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
37
+ };
38
+ }
39
+ function DescriptionResourceArrayResponseToJSON(json) {
40
+ return DescriptionResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function DescriptionResourceArrayResponseToJSONTyped(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(DescriptionResource_1.DescriptionResourceToJSON)),
49
+ };
50
+ }
@@ -63,7 +63,7 @@ export interface ExternalApiLogResource {
63
63
  * @type {string}
64
64
  * @memberof ExternalApiLogResource
65
65
  */
66
- requestPayload?: string | null;
66
+ requestPayload: string;
67
67
  /**
68
68
  *
69
69
  * @type {string}
@@ -37,6 +37,8 @@ function instanceOfExternalApiLogResource(value) {
37
37
  return false;
38
38
  if (!('responseCode' in value) || value['responseCode'] === undefined)
39
39
  return false;
40
+ if (!('requestPayload' in value) || value['requestPayload'] === undefined)
41
+ return false;
40
42
  if (!('responsePayload' in value) || value['responsePayload'] === undefined)
41
43
  return false;
42
44
  if (!('site' in value) || value['site'] === undefined)
@@ -58,7 +60,7 @@ function ExternalApiLogResourceFromJSONTyped(json, ignoreDiscriminator) {
58
60
  'exteranlApiLoggableId': json['exteranlApiLoggableId'],
59
61
  'endpoint': json['endpoint'],
60
62
  'responseCode': json['responseCode'],
61
- 'requestPayload': json['requestPayload'] == null ? undefined : json['requestPayload'],
63
+ 'requestPayload': json['requestPayload'],
62
64
  'responsePayload': json['responsePayload'],
63
65
  'createdAt': json['createdAt'] == null ? undefined : json['createdAt'],
64
66
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
@@ -26,37 +26,19 @@ export interface SEOResource {
26
26
  * @type {string}
27
27
  * @memberof SEOResource
28
28
  */
29
- title: string;
29
+ seoTitle: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof SEOResource
34
34
  */
35
- description: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof SEOResource
40
- */
41
- keywords: string;
35
+ seoDescription: string;
42
36
  /**
43
37
  *
44
38
  * @type {number}
45
39
  * @memberof SEOResource
46
40
  */
47
41
  siteId: number;
48
- /**
49
- *
50
- * @type {string}
51
- * @memberof SEOResource
52
- */
53
- footerDescription: string;
54
- /**
55
- *
56
- * @type {string}
57
- * @memberof SEOResource
58
- */
59
- pageDescription: string;
60
42
  }
61
43
  /**
62
44
  * Check if a given object implements the SEOResource interface.
@@ -24,18 +24,12 @@ exports.SEOResourceToJSONTyped = SEOResourceToJSONTyped;
24
24
  function instanceOfSEOResource(value) {
25
25
  if (!('id' in value) || value['id'] === undefined)
26
26
  return false;
27
- if (!('title' in value) || value['title'] === undefined)
27
+ if (!('seoTitle' in value) || value['seoTitle'] === undefined)
28
28
  return false;
29
- if (!('description' in value) || value['description'] === undefined)
30
- return false;
31
- if (!('keywords' in value) || value['keywords'] === undefined)
29
+ if (!('seoDescription' in value) || value['seoDescription'] === undefined)
32
30
  return false;
33
31
  if (!('siteId' in value) || value['siteId'] === undefined)
34
32
  return false;
35
- if (!('footerDescription' in value) || value['footerDescription'] === undefined)
36
- return false;
37
- if (!('pageDescription' in value) || value['pageDescription'] === undefined)
38
- return false;
39
33
  return true;
40
34
  }
41
35
  function SEOResourceFromJSON(json) {
@@ -47,12 +41,9 @@ function SEOResourceFromJSONTyped(json, ignoreDiscriminator) {
47
41
  }
48
42
  return {
49
43
  'id': json['id'],
50
- 'title': json['title'],
51
- 'description': json['description'],
52
- 'keywords': json['keywords'],
53
- 'siteId': json['site_id'],
54
- 'footerDescription': json['footerDescription'],
55
- 'pageDescription': json['pageDescription'],
44
+ 'seoTitle': json['seoTitle'],
45
+ 'seoDescription': json['seoDescription'],
46
+ 'siteId': json['siteId'],
56
47
  };
57
48
  }
58
49
  function SEOResourceToJSON(json) {
@@ -65,11 +56,8 @@ function SEOResourceToJSONTyped(value, ignoreDiscriminator) {
65
56
  }
66
57
  return {
67
58
  'id': value['id'],
68
- 'title': value['title'],
69
- 'description': value['description'],
70
- 'keywords': value['keywords'],
71
- 'site_id': value['siteId'],
72
- 'footerDescription': value['footerDescription'],
73
- 'pageDescription': value['pageDescription'],
59
+ 'seoTitle': value['seoTitle'],
60
+ 'seoDescription': value['seoDescription'],
61
+ 'siteId': value['siteId'],
74
62
  };
75
63
  }
@@ -38,7 +38,7 @@ export interface StoreProductChildRequestSitesInner {
38
38
  * @type {string}
39
39
  * @memberof StoreProductChildRequestSitesInner
40
40
  */
41
- description?: string;
41
+ description: string;
42
42
  /**
43
43
  *
44
44
  * @type {number}
@@ -68,25 +68,13 @@ export interface StoreProductChildRequestSitesInner {
68
68
  * @type {string}
69
69
  * @memberof StoreProductChildRequestSitesInner
70
70
  */
71
- title?: string;
71
+ seoTitle?: string;
72
72
  /**
73
73
  *
74
74
  * @type {string}
75
75
  * @memberof StoreProductChildRequestSitesInner
76
76
  */
77
- keywords?: string;
78
- /**
79
- *
80
- * @type {string}
81
- * @memberof StoreProductChildRequestSitesInner
82
- */
83
- footerDescription?: string;
84
- /**
85
- *
86
- * @type {string}
87
- * @memberof StoreProductChildRequestSitesInner
88
- */
89
- pageDescription?: string;
77
+ seoDescription?: string;
90
78
  }
91
79
  /**
92
80
  * Check if a given object implements the StoreProductChildRequestSitesInner interface.
@@ -24,6 +24,8 @@ exports.StoreProductChildRequestSitesInnerToJSONTyped = StoreProductChildRequest
24
24
  function instanceOfStoreProductChildRequestSitesInner(value) {
25
25
  if (!('siteId' in value) || value['siteId'] === undefined)
26
26
  return false;
27
+ if (!('description' in value) || value['description'] === undefined)
28
+ return false;
27
29
  if (!('rrpPrice' in value) || value['rrpPrice'] === undefined)
28
30
  return false;
29
31
  if (!('salePrice' in value) || value['salePrice'] === undefined)
@@ -45,15 +47,13 @@ function StoreProductChildRequestSitesInnerFromJSONTyped(json, ignoreDiscriminat
45
47
  'siteId': json['site_id'],
46
48
  'name': json['name'] == null ? undefined : json['name'],
47
49
  'displayName': json['display_name'] == null ? undefined : json['display_name'],
48
- 'description': json['description'] == null ? undefined : json['description'],
50
+ 'description': json['description'],
49
51
  'rrpPrice': json['rrp_price'],
50
52
  'salePrice': json['sale_price'],
51
53
  'slug': json['slug'],
52
54
  'documents': json['documents'],
53
- 'title': json['title'] == null ? undefined : json['title'],
54
- 'keywords': json['keywords'] == null ? undefined : json['keywords'],
55
- 'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
56
- 'pageDescription': json['page_description'] == null ? undefined : json['page_description'],
55
+ 'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
56
+ 'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
57
57
  };
58
58
  }
59
59
  function StoreProductChildRequestSitesInnerToJSON(json) {
@@ -73,9 +73,7 @@ function StoreProductChildRequestSitesInnerToJSONTyped(value, ignoreDiscriminato
73
73
  'sale_price': value['salePrice'],
74
74
  'slug': value['slug'],
75
75
  'documents': value['documents'],
76
- 'title': value['title'],
77
- 'keywords': value['keywords'],
78
- 'footer_description': value['footerDescription'],
79
- 'page_description': value['pageDescription'],
76
+ 'seo_title': value['seoTitle'],
77
+ 'seo_description': value['seoDescription'],
80
78
  };
81
79
  }
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { StoreSupplierRequestSeoInner } from './StoreSupplierRequestSeoInner';
13
+ import type { StoreSupplierRequestDescriptionsInner } from './StoreSupplierRequestDescriptionsInner';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -58,6 +59,12 @@ export interface StoreSupplierRequest {
58
59
  * @memberof StoreSupplierRequest
59
60
  */
60
61
  assetFileId: number;
62
+ /**
63
+ *
64
+ * @type {Array<StoreSupplierRequestDescriptionsInner>}
65
+ * @memberof StoreSupplierRequest
66
+ */
67
+ descriptions: Array<StoreSupplierRequestDescriptionsInner>;
61
68
  }
62
69
  /**
63
70
  * Check if a given object implements the StoreSupplierRequest interface.
@@ -19,6 +19,7 @@ exports.StoreSupplierRequestFromJSONTyped = StoreSupplierRequestFromJSONTyped;
19
19
  exports.StoreSupplierRequestToJSON = StoreSupplierRequestToJSON;
20
20
  exports.StoreSupplierRequestToJSONTyped = StoreSupplierRequestToJSONTyped;
21
21
  var StoreSupplierRequestSeoInner_1 = require("./StoreSupplierRequestSeoInner");
22
+ var StoreSupplierRequestDescriptionsInner_1 = require("./StoreSupplierRequestDescriptionsInner");
22
23
  /**
23
24
  * Check if a given object implements the StoreSupplierRequest interface.
24
25
  */
@@ -35,6 +36,8 @@ function instanceOfStoreSupplierRequest(value) {
35
36
  return false;
36
37
  if (!('assetFileId' in value) || value['assetFileId'] === undefined)
37
38
  return false;
39
+ if (!('descriptions' in value) || value['descriptions'] === undefined)
40
+ return false;
38
41
  return true;
39
42
  }
40
43
  function StoreSupplierRequestFromJSON(json) {
@@ -52,6 +55,7 @@ function StoreSupplierRequestFromJSONTyped(json, ignoreDiscriminator) {
52
55
  'altText': json['alt_text'] == null ? undefined : json['alt_text'],
53
56
  'mimeType': json['mime_type'],
54
57
  'assetFileId': json['asset_file_id'],
58
+ 'descriptions': (json['descriptions'].map(StoreSupplierRequestDescriptionsInner_1.StoreSupplierRequestDescriptionsInnerFromJSON)),
55
59
  };
56
60
  }
57
61
  function StoreSupplierRequestToJSON(json) {
@@ -70,5 +74,6 @@ function StoreSupplierRequestToJSONTyped(value, ignoreDiscriminator) {
70
74
  'alt_text': value['altText'],
71
75
  'mime_type': value['mimeType'],
72
76
  'asset_file_id': value['assetFileId'],
77
+ 'descriptions': (value['descriptions'].map(StoreSupplierRequestDescriptionsInner_1.StoreSupplierRequestDescriptionsInnerToJSON)),
73
78
  };
74
79
  }
@@ -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 StoreSupplierRequestDescriptionsInner
16
+ */
17
+ export interface StoreSupplierRequestDescriptionsInner {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof StoreSupplierRequestDescriptionsInner
22
+ */
23
+ headerDescription?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof StoreSupplierRequestDescriptionsInner
28
+ */
29
+ footerDescription?: string;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof StoreSupplierRequestDescriptionsInner
34
+ */
35
+ siteId: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the StoreSupplierRequestDescriptionsInner interface.
39
+ */
40
+ export declare function instanceOfStoreSupplierRequestDescriptionsInner(value: object): value is StoreSupplierRequestDescriptionsInner;
41
+ export declare function StoreSupplierRequestDescriptionsInnerFromJSON(json: any): StoreSupplierRequestDescriptionsInner;
42
+ export declare function StoreSupplierRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreSupplierRequestDescriptionsInner;
43
+ export declare function StoreSupplierRequestDescriptionsInnerToJSON(json: any): StoreSupplierRequestDescriptionsInner;
44
+ export declare function StoreSupplierRequestDescriptionsInnerToJSONTyped(value?: StoreSupplierRequestDescriptionsInner | 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.instanceOfStoreSupplierRequestDescriptionsInner = instanceOfStoreSupplierRequestDescriptionsInner;
17
+ exports.StoreSupplierRequestDescriptionsInnerFromJSON = StoreSupplierRequestDescriptionsInnerFromJSON;
18
+ exports.StoreSupplierRequestDescriptionsInnerFromJSONTyped = StoreSupplierRequestDescriptionsInnerFromJSONTyped;
19
+ exports.StoreSupplierRequestDescriptionsInnerToJSON = StoreSupplierRequestDescriptionsInnerToJSON;
20
+ exports.StoreSupplierRequestDescriptionsInnerToJSONTyped = StoreSupplierRequestDescriptionsInnerToJSONTyped;
21
+ /**
22
+ * Check if a given object implements the StoreSupplierRequestDescriptionsInner interface.
23
+ */
24
+ function instanceOfStoreSupplierRequestDescriptionsInner(value) {
25
+ if (!('siteId' in value) || value['siteId'] === undefined)
26
+ return false;
27
+ return true;
28
+ }
29
+ function StoreSupplierRequestDescriptionsInnerFromJSON(json) {
30
+ return StoreSupplierRequestDescriptionsInnerFromJSONTyped(json, false);
31
+ }
32
+ function StoreSupplierRequestDescriptionsInnerFromJSONTyped(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 StoreSupplierRequestDescriptionsInnerToJSON(json) {
43
+ return StoreSupplierRequestDescriptionsInnerToJSONTyped(json, false);
44
+ }
45
+ function StoreSupplierRequestDescriptionsInnerToJSONTyped(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
+ }
@@ -20,31 +20,13 @@ export interface StoreSupplierRequestSeoInner {
20
20
  * @type {string}
21
21
  * @memberof StoreSupplierRequestSeoInner
22
22
  */
23
- title?: string;
23
+ seoTitle?: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof StoreSupplierRequestSeoInner
28
28
  */
29
- description?: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof StoreSupplierRequestSeoInner
34
- */
35
- keywords?: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof StoreSupplierRequestSeoInner
40
- */
41
- footerDescription?: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof StoreSupplierRequestSeoInner
46
- */
47
- pageDescription?: string;
29
+ seoDescription?: string;
48
30
  /**
49
31
  *
50
32
  * @type {number}