@digital8/lighting-illusions-ts-sdk 0.0.475 → 0.0.476

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 (64) hide show
  1. package/.openapi-generator/FILES +0 -6
  2. package/README.md +6 -9
  3. package/dist/apis/DocumentApi.js +2 -2
  4. package/dist/apis/ProductChildSiteDetailApi.js +2 -2
  5. package/dist/models/SEOResource.d.ts +20 -2
  6. package/dist/models/SEOResource.js +20 -8
  7. package/dist/models/StoreProductChildRequestSitesInner.d.ts +15 -3
  8. package/dist/models/StoreProductChildRequestSitesInner.js +9 -7
  9. package/dist/models/StoreSupplierRequest.d.ts +0 -7
  10. package/dist/models/StoreSupplierRequest.js +0 -5
  11. package/dist/models/StoreSupplierRequestSeoInner.d.ts +20 -2
  12. package/dist/models/StoreSupplierRequestSeoInner.js +10 -4
  13. package/dist/models/StoreTagRequest.d.ts +9 -3
  14. package/dist/models/StoreTagRequest.js +8 -6
  15. package/dist/models/SupplierFrontendResource.d.ts +0 -7
  16. package/dist/models/SupplierFrontendResource.js +0 -5
  17. package/dist/models/SupplierResource.d.ts +0 -7
  18. package/dist/models/SupplierResource.js +0 -5
  19. package/dist/models/TagResource.d.ts +0 -7
  20. package/dist/models/TagResource.js +0 -5
  21. package/dist/models/UpdateSupplierRequest.d.ts +0 -7
  22. package/dist/models/UpdateSupplierRequest.js +0 -5
  23. package/dist/models/UpdateTagRequest.d.ts +9 -3
  24. package/dist/models/UpdateTagRequest.js +8 -6
  25. package/dist/models/index.d.ts +0 -3
  26. package/dist/models/index.js +0 -3
  27. package/docs/DocumentApi.md +2 -2
  28. package/docs/ProductChildSiteDetailApi.md +2 -2
  29. package/docs/SEOResource.md +10 -4
  30. package/docs/StoreProductChildRequestSitesInner.md +8 -4
  31. package/docs/StoreSupplierRequest.md +0 -2
  32. package/docs/StoreSupplierRequestSeoInner.md +10 -4
  33. package/docs/StoreTagRequest.md +8 -6
  34. package/docs/SupplierFrontendResource.md +0 -2
  35. package/docs/SupplierResource.md +0 -2
  36. package/docs/TagResource.md +0 -2
  37. package/docs/UpdateSupplierRequest.md +0 -2
  38. package/docs/UpdateTagRequest.md +8 -6
  39. package/package.json +1 -1
  40. package/src/apis/DocumentApi.ts +2 -2
  41. package/src/apis/ProductChildSiteDetailApi.ts +2 -2
  42. package/src/models/SEOResource.ts +37 -10
  43. package/src/models/StoreProductChildRequestSitesInner.ts +24 -9
  44. package/src/models/StoreSupplierRequest.ts +0 -16
  45. package/src/models/StoreSupplierRequestSeoInner.ts +30 -6
  46. package/src/models/StoreTagRequest.ts +17 -9
  47. package/src/models/SupplierFrontendResource.ts +0 -16
  48. package/src/models/SupplierResource.ts +0 -16
  49. package/src/models/TagResource.ts +0 -16
  50. package/src/models/UpdateSupplierRequest.ts +0 -16
  51. package/src/models/UpdateTagRequest.ts +17 -9
  52. package/src/models/index.ts +0 -3
  53. package/dist/models/DescriptionResource.d.ts +0 -44
  54. package/dist/models/DescriptionResource.js +0 -59
  55. package/dist/models/DescriptionResourceArrayResponse.d.ts +0 -33
  56. package/dist/models/DescriptionResourceArrayResponse.js +0 -50
  57. package/dist/models/StoreSupplierRequestDescriptionsInner.d.ts +0 -44
  58. package/dist/models/StoreSupplierRequestDescriptionsInner.js +0 -55
  59. package/docs/DescriptionResource.md +0 -38
  60. package/docs/DescriptionResourceArrayResponse.md +0 -34
  61. package/docs/StoreSupplierRequestDescriptionsInner.md +0 -38
  62. package/src/models/DescriptionResource.ts +0 -84
  63. package/src/models/DescriptionResourceArrayResponse.ts +0 -73
  64. package/src/models/StoreSupplierRequestDescriptionsInner.ts +0 -82
@@ -31,8 +31,6 @@ 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
36
34
  docs/DestroyAttributeValueRequest.md
37
35
  docs/DetachAssetableOverlayTemplateRequest.md
38
36
  docs/DetachDocumentablesDocumentRequest.md
@@ -177,7 +175,6 @@ docs/StoreProductRequestCategoriesInner.md
177
175
  docs/StoreProductTypeRequest.md
178
176
  docs/StoreSiteNotificationRequest.md
179
177
  docs/StoreSupplierRequest.md
180
- docs/StoreSupplierRequestDescriptionsInner.md
181
178
  docs/StoreSupplierRequestSeoInner.md
182
179
  docs/StoreTagRequest.md
183
180
  docs/SupplierApi.md
@@ -254,8 +251,6 @@ src/models/AttributeType.ts
254
251
  src/models/AttributeValueResource.ts
255
252
  src/models/AttributeValueResourceArrayResponse.ts
256
253
  src/models/CouponDiscountType.ts
257
- src/models/DescriptionResource.ts
258
- src/models/DescriptionResourceArrayResponse.ts
259
254
  src/models/DestroyAttributeValueRequest.ts
260
255
  src/models/DetachAssetableOverlayTemplateRequest.ts
261
256
  src/models/DetachDocumentablesDocumentRequest.ts
@@ -393,7 +388,6 @@ src/models/StoreProductRequestCategoriesInner.ts
393
388
  src/models/StoreProductTypeRequest.ts
394
389
  src/models/StoreSiteNotificationRequest.ts
395
390
  src/models/StoreSupplierRequest.ts
396
- src/models/StoreSupplierRequestDescriptionsInner.ts
397
391
  src/models/StoreSupplierRequestSeoInner.ts
398
392
  src/models/StoreTagRequest.ts
399
393
  src/models/SupplierFrontendResource.ts
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @digital8/lighting-illusions-ts-sdk@0.0.475
1
+ # @digital8/lighting-illusions-ts-sdk@0.0.476
2
2
 
3
3
  A TypeScript SDK client for the localhost API.
4
4
 
@@ -65,9 +65,9 @@ All URIs are relative to *http://localhost/api*
65
65
  *AttributeApi* | [**updateAttributeValue**](docs/AttributeApi.md#updateattributevalueoperation) | **PUT** /admin-api/attribute/value/{attributeValue}/update | Auto-generated: updateAttributeValue
66
66
  *AttributeApi* | [**updateFilterOrderAttribute**](docs/AttributeApi.md#updatefilterorderattributeoperation) | **PUT** /admin-api/attribute/update-filter-order | Auto-generated: updateFilterOrderAttribute
67
67
  *AttributeApi* | [**updateModelAttribute**](docs/AttributeApi.md#updatemodelattributeoperation) | **PUT** /admin-api/attribute/model-attribute/{modelAttribute}/update | Auto-generated: updateModelAttribute
68
- *DocumentApi* | [**attachDocumentablesDocument**](docs/DocumentApi.md#attachdocumentablesdocumentoperation) | **POST** /admin-api/document/{document}/link-documentables | Auto-generated: attachDocumentablesDocument
68
+ *DocumentApi* | [**attachDocumentablesDocument**](docs/DocumentApi.md#attachdocumentablesdocumentoperation) | **POST** /admin-api/document/{document}/attach-documentables | Auto-generated: attachDocumentablesDocument
69
69
  *DocumentApi* | [**destroyDocument**](docs/DocumentApi.md#destroydocument) | **DELETE** /admin-api/document/{document} | Auto-generated: destroyDocument
70
- *DocumentApi* | [**detachDocumentablesDocument**](docs/DocumentApi.md#detachdocumentablesdocumentoperation) | **POST** /admin-api/document/{document}/remove-documentables | Auto-generated: detachDocumentablesDocument
70
+ *DocumentApi* | [**detachDocumentablesDocument**](docs/DocumentApi.md#detachdocumentablesdocumentoperation) | **POST** /admin-api/document/{document}/detach-documentables | Auto-generated: detachDocumentablesDocument
71
71
  *DocumentApi* | [**getAllDocument**](docs/DocumentApi.md#getalldocumentoperation) | **POST** /admin-api/document/all | Auto-generated: getAllDocument
72
72
  *DocumentApi* | [**indexDocument**](docs/DocumentApi.md#indexdocumentoperation) | **POST** /admin-api/document/list | Auto-generated: indexDocument
73
73
  *DocumentApi* | [**storeDocument**](docs/DocumentApi.md#storedocumentoperation) | **POST** /admin-api/document | Auto-generated: storeDocument
@@ -104,8 +104,8 @@ All URIs are relative to *http://localhost/api*
104
104
  *ProductApi* | [**storeProductChild**](docs/ProductApi.md#storeproductchildoperation) | **POST** /admin-api/product/children/create | Auto-generated: storeProductChild
105
105
  *ProductApi* | [**updateProduct**](docs/ProductApi.md#updateproductoperation) | **PUT** /admin-api/product/parent/{product}/update | Auto-generated: updateProduct
106
106
  *ProductApi* | [**updateProductChild**](docs/ProductApi.md#updateproductchildoperation) | **PUT** /admin-api/product/children/{productChild}/update | Auto-generated: updateProductChild
107
- *ProductChildSiteDetailApi* | [**attachDocumentsProductChildSiteDetail**](docs/ProductChildSiteDetailApi.md#attachdocumentsproductchildsitedetailoperation) | **POST** /admin-api/product-child-site-detail/{productChildSiteDetail}/link-documents | Auto-generated: attachDocumentsProductChildSiteDetail
108
- *ProductChildSiteDetailApi* | [**detachDocumentsProductChildSiteDetail**](docs/ProductChildSiteDetailApi.md#detachdocumentsproductchildsitedetailoperation) | **POST** /admin-api/product-child-site-detail/{productChildSiteDetail}/remove-documents | Auto-generated: detachDocumentsProductChildSiteDetail
107
+ *ProductChildSiteDetailApi* | [**attachDocumentsProductChildSiteDetail**](docs/ProductChildSiteDetailApi.md#attachdocumentsproductchildsitedetailoperation) | **POST** /admin-api/product-child-site-detail/{productChildSiteDetail}/attach-documents | Auto-generated: attachDocumentsProductChildSiteDetail
108
+ *ProductChildSiteDetailApi* | [**detachDocumentsProductChildSiteDetail**](docs/ProductChildSiteDetailApi.md#detachdocumentsproductchildsitedetailoperation) | **POST** /admin-api/product-child-site-detail/{productChildSiteDetail}/detach-documents | Auto-generated: detachDocumentsProductChildSiteDetail
109
109
  *ProductTypeApi* | [**attachAttributeProductType**](docs/ProductTypeApi.md#attachattributeproducttypeoperation) | **POST** /admin-api/product-type/{productType}/attach-attribute | Auto-generated: attachAttributeProductType
110
110
  *ProductTypeApi* | [**destroyProductType**](docs/ProductTypeApi.md#destroyproducttype) | **DELETE** /admin-api/product-type/{productType}/delete | Auto-generated: destroyProductType
111
111
  *ProductTypeApi* | [**detachAttributeProductType**](docs/ProductTypeApi.md#detachattributeproducttype) | **POST** /admin-api/product-type/{productType}/detach-attribute/{attribute} | Auto-generated: detachAttributeProductType
@@ -170,8 +170,6 @@ All URIs are relative to *http://localhost/api*
170
170
  - [AttributeValueResource](docs/AttributeValueResource.md)
171
171
  - [AttributeValueResourceArrayResponse](docs/AttributeValueResourceArrayResponse.md)
172
172
  - [CouponDiscountType](docs/CouponDiscountType.md)
173
- - [DescriptionResource](docs/DescriptionResource.md)
174
- - [DescriptionResourceArrayResponse](docs/DescriptionResourceArrayResponse.md)
175
173
  - [DestroyAttributeValueRequest](docs/DestroyAttributeValueRequest.md)
176
174
  - [DetachAssetableOverlayTemplateRequest](docs/DetachAssetableOverlayTemplateRequest.md)
177
175
  - [DetachDocumentablesDocumentRequest](docs/DetachDocumentablesDocumentRequest.md)
@@ -309,7 +307,6 @@ All URIs are relative to *http://localhost/api*
309
307
  - [StoreProductTypeRequest](docs/StoreProductTypeRequest.md)
310
308
  - [StoreSiteNotificationRequest](docs/StoreSiteNotificationRequest.md)
311
309
  - [StoreSupplierRequest](docs/StoreSupplierRequest.md)
312
- - [StoreSupplierRequestDescriptionsInner](docs/StoreSupplierRequestDescriptionsInner.md)
313
310
  - [StoreSupplierRequestSeoInner](docs/StoreSupplierRequestSeoInner.md)
314
311
  - [StoreTagRequest](docs/StoreTagRequest.md)
315
312
  - [SupplierFrontendResource](docs/SupplierFrontendResource.md)
@@ -356,7 +353,7 @@ and is automatically generated by the
356
353
  [OpenAPI Generator](https://openapi-generator.tech) project:
357
354
 
358
355
  - API version: `1.0.0`
359
- - Package version: `0.0.475`
356
+ - Package version: `0.0.476`
360
357
  - Generator version: `7.17.0`
361
358
  - Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
362
359
 
@@ -90,7 +90,7 @@ var DocumentApi = /** @class */ (function (_super) {
90
90
  queryParameters = {};
91
91
  headerParameters = {};
92
92
  headerParameters['Content-Type'] = 'application/json';
93
- urlPath = "/admin-api/document/{document}/link-documentables";
93
+ urlPath = "/admin-api/document/{document}/attach-documentables";
94
94
  urlPath = urlPath.replace("{".concat("document", "}"), encodeURIComponent(String(requestParameters['document'])));
95
95
  return [4 /*yield*/, this.request({
96
96
  path: urlPath,
@@ -184,7 +184,7 @@ var DocumentApi = /** @class */ (function (_super) {
184
184
  queryParameters = {};
185
185
  headerParameters = {};
186
186
  headerParameters['Content-Type'] = 'application/json';
187
- urlPath = "/admin-api/document/{document}/remove-documentables";
187
+ urlPath = "/admin-api/document/{document}/detach-documentables";
188
188
  urlPath = urlPath.replace("{".concat("document", "}"), encodeURIComponent(String(requestParameters['document'])));
189
189
  return [4 /*yield*/, this.request({
190
190
  path: urlPath,
@@ -90,7 +90,7 @@ var ProductChildSiteDetailApi = /** @class */ (function (_super) {
90
90
  queryParameters = {};
91
91
  headerParameters = {};
92
92
  headerParameters['Content-Type'] = 'application/json';
93
- urlPath = "/admin-api/product-child-site-detail/{productChildSiteDetail}/link-documents";
93
+ urlPath = "/admin-api/product-child-site-detail/{productChildSiteDetail}/attach-documents";
94
94
  urlPath = urlPath.replace("{".concat("productChildSiteDetail", "}"), encodeURIComponent(String(requestParameters['productChildSiteDetail'])));
95
95
  return [4 /*yield*/, this.request({
96
96
  path: urlPath,
@@ -138,7 +138,7 @@ var ProductChildSiteDetailApi = /** @class */ (function (_super) {
138
138
  queryParameters = {};
139
139
  headerParameters = {};
140
140
  headerParameters['Content-Type'] = 'application/json';
141
- urlPath = "/admin-api/product-child-site-detail/{productChildSiteDetail}/remove-documents";
141
+ urlPath = "/admin-api/product-child-site-detail/{productChildSiteDetail}/detach-documents";
142
142
  urlPath = urlPath.replace("{".concat("productChildSiteDetail", "}"), encodeURIComponent(String(requestParameters['productChildSiteDetail'])));
143
143
  return [4 /*yield*/, this.request({
144
144
  path: urlPath,
@@ -26,19 +26,37 @@ export interface SEOResource {
26
26
  * @type {string}
27
27
  * @memberof SEOResource
28
28
  */
29
- seoTitle: string;
29
+ title: string;
30
30
  /**
31
31
  *
32
32
  * @type {string}
33
33
  * @memberof SEOResource
34
34
  */
35
- seoDescription: string;
35
+ description: string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SEOResource
40
+ */
41
+ keywords: string;
36
42
  /**
37
43
  *
38
44
  * @type {number}
39
45
  * @memberof SEOResource
40
46
  */
41
47
  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;
42
60
  }
43
61
  /**
44
62
  * Check if a given object implements the SEOResource interface.
@@ -24,12 +24,18 @@ exports.SEOResourceToJSONTyped = SEOResourceToJSONTyped;
24
24
  function instanceOfSEOResource(value) {
25
25
  if (!('id' in value) || value['id'] === undefined)
26
26
  return false;
27
- if (!('seoTitle' in value) || value['seoTitle'] === undefined)
27
+ if (!('title' in value) || value['title'] === undefined)
28
28
  return false;
29
- if (!('seoDescription' in value) || value['seoDescription'] === undefined)
29
+ if (!('description' in value) || value['description'] === undefined)
30
+ return false;
31
+ if (!('keywords' in value) || value['keywords'] === undefined)
30
32
  return false;
31
33
  if (!('siteId' in value) || value['siteId'] === undefined)
32
34
  return false;
35
+ if (!('footerDescription' in value) || value['footerDescription'] === undefined)
36
+ return false;
37
+ if (!('pageDescription' in value) || value['pageDescription'] === undefined)
38
+ return false;
33
39
  return true;
34
40
  }
35
41
  function SEOResourceFromJSON(json) {
@@ -41,9 +47,12 @@ function SEOResourceFromJSONTyped(json, ignoreDiscriminator) {
41
47
  }
42
48
  return {
43
49
  'id': json['id'],
44
- 'seoTitle': json['seoTitle'],
45
- 'seoDescription': json['seoDescription'],
46
- 'siteId': json['siteId'],
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'],
47
56
  };
48
57
  }
49
58
  function SEOResourceToJSON(json) {
@@ -56,8 +65,11 @@ function SEOResourceToJSONTyped(value, ignoreDiscriminator) {
56
65
  }
57
66
  return {
58
67
  'id': value['id'],
59
- 'seoTitle': value['seoTitle'],
60
- 'seoDescription': value['seoDescription'],
61
- 'siteId': value['siteId'],
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'],
62
74
  };
63
75
  }
@@ -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,13 +68,25 @@ export interface StoreProductChildRequestSitesInner {
68
68
  * @type {string}
69
69
  * @memberof StoreProductChildRequestSitesInner
70
70
  */
71
- seoTitle?: string;
71
+ title?: string;
72
72
  /**
73
73
  *
74
74
  * @type {string}
75
75
  * @memberof StoreProductChildRequestSitesInner
76
76
  */
77
- seoDescription?: string;
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;
78
90
  }
79
91
  /**
80
92
  * Check if a given object implements the StoreProductChildRequestSitesInner interface.
@@ -24,8 +24,6 @@ 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;
29
27
  if (!('rrpPrice' in value) || value['rrpPrice'] === undefined)
30
28
  return false;
31
29
  if (!('salePrice' in value) || value['salePrice'] === undefined)
@@ -47,13 +45,15 @@ function StoreProductChildRequestSitesInnerFromJSONTyped(json, ignoreDiscriminat
47
45
  'siteId': json['site_id'],
48
46
  'name': json['name'] == null ? undefined : json['name'],
49
47
  'displayName': json['display_name'] == null ? undefined : json['display_name'],
50
- 'description': json['description'],
48
+ 'description': json['description'] == null ? undefined : json['description'],
51
49
  'rrpPrice': json['rrp_price'],
52
50
  'salePrice': json['sale_price'],
53
51
  'slug': json['slug'],
54
52
  'documents': json['documents'],
55
- 'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
56
- 'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
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'],
57
57
  };
58
58
  }
59
59
  function StoreProductChildRequestSitesInnerToJSON(json) {
@@ -73,7 +73,9 @@ function StoreProductChildRequestSitesInnerToJSONTyped(value, ignoreDiscriminato
73
73
  'sale_price': value['salePrice'],
74
74
  'slug': value['slug'],
75
75
  'documents': value['documents'],
76
- 'seo_title': value['seoTitle'],
77
- 'seo_description': value['seoDescription'],
76
+ 'title': value['title'],
77
+ 'keywords': value['keywords'],
78
+ 'footer_description': value['footerDescription'],
79
+ 'page_description': value['pageDescription'],
78
80
  };
79
81
  }
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { StoreSupplierRequestSeoInner } from './StoreSupplierRequestSeoInner';
13
- import type { StoreSupplierRequestDescriptionsInner } from './StoreSupplierRequestDescriptionsInner';
14
13
  /**
15
14
  *
16
15
  * @export
@@ -59,12 +58,6 @@ export interface StoreSupplierRequest {
59
58
  * @memberof StoreSupplierRequest
60
59
  */
61
60
  assetFileId: number;
62
- /**
63
- *
64
- * @type {Array<StoreSupplierRequestDescriptionsInner>}
65
- * @memberof StoreSupplierRequest
66
- */
67
- descriptions: Array<StoreSupplierRequestDescriptionsInner>;
68
61
  }
69
62
  /**
70
63
  * Check if a given object implements the StoreSupplierRequest interface.
@@ -19,7 +19,6 @@ 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");
23
22
  /**
24
23
  * Check if a given object implements the StoreSupplierRequest interface.
25
24
  */
@@ -36,8 +35,6 @@ function instanceOfStoreSupplierRequest(value) {
36
35
  return false;
37
36
  if (!('assetFileId' in value) || value['assetFileId'] === undefined)
38
37
  return false;
39
- if (!('descriptions' in value) || value['descriptions'] === undefined)
40
- return false;
41
38
  return true;
42
39
  }
43
40
  function StoreSupplierRequestFromJSON(json) {
@@ -55,7 +52,6 @@ function StoreSupplierRequestFromJSONTyped(json, ignoreDiscriminator) {
55
52
  'altText': json['alt_text'] == null ? undefined : json['alt_text'],
56
53
  'mimeType': json['mime_type'],
57
54
  'assetFileId': json['asset_file_id'],
58
- 'descriptions': (json['descriptions'].map(StoreSupplierRequestDescriptionsInner_1.StoreSupplierRequestDescriptionsInnerFromJSON)),
59
55
  };
60
56
  }
61
57
  function StoreSupplierRequestToJSON(json) {
@@ -74,6 +70,5 @@ function StoreSupplierRequestToJSONTyped(value, ignoreDiscriminator) {
74
70
  'alt_text': value['altText'],
75
71
  'mime_type': value['mimeType'],
76
72
  'asset_file_id': value['assetFileId'],
77
- 'descriptions': (value['descriptions'].map(StoreSupplierRequestDescriptionsInner_1.StoreSupplierRequestDescriptionsInnerToJSON)),
78
73
  };
79
74
  }
@@ -20,13 +20,31 @@ export interface StoreSupplierRequestSeoInner {
20
20
  * @type {string}
21
21
  * @memberof StoreSupplierRequestSeoInner
22
22
  */
23
- seoTitle?: string;
23
+ title?: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
27
27
  * @memberof StoreSupplierRequestSeoInner
28
28
  */
29
- seoDescription?: string;
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;
30
48
  /**
31
49
  *
32
50
  * @type {number}
@@ -34,8 +34,11 @@ function StoreSupplierRequestSeoInnerFromJSONTyped(json, ignoreDiscriminator) {
34
34
  return json;
35
35
  }
36
36
  return {
37
- 'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
38
- 'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
37
+ 'title': json['title'] == null ? undefined : json['title'],
38
+ 'description': json['description'] == null ? undefined : json['description'],
39
+ 'keywords': json['keywords'] == null ? undefined : json['keywords'],
40
+ 'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
41
+ 'pageDescription': json['page_description'] == null ? undefined : json['page_description'],
39
42
  'siteId': json['site_id'],
40
43
  };
41
44
  }
@@ -48,8 +51,11 @@ function StoreSupplierRequestSeoInnerToJSONTyped(value, ignoreDiscriminator) {
48
51
  return value;
49
52
  }
50
53
  return {
51
- 'seo_title': value['seoTitle'],
52
- 'seo_description': value['seoDescription'],
54
+ 'title': value['title'],
55
+ 'description': value['description'],
56
+ 'keywords': value['keywords'],
57
+ 'footer_description': value['footerDescription'],
58
+ 'page_description': value['pageDescription'],
53
59
  'site_id': value['siteId'],
54
60
  };
55
61
  }
@@ -44,25 +44,31 @@ export interface StoreTagRequest {
44
44
  * @type {string}
45
45
  * @memberof StoreTagRequest
46
46
  */
47
- seoTitle?: string;
47
+ title?: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
51
51
  * @memberof StoreTagRequest
52
52
  */
53
- seoDescription?: string;
53
+ description?: string;
54
54
  /**
55
55
  *
56
56
  * @type {string}
57
57
  * @memberof StoreTagRequest
58
58
  */
59
- headerDescription?: string;
59
+ keywords?: string;
60
60
  /**
61
61
  *
62
62
  * @type {string}
63
63
  * @memberof StoreTagRequest
64
64
  */
65
65
  footerDescription?: string;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof StoreTagRequest
70
+ */
71
+ pageDescription?: string;
66
72
  }
67
73
  /**
68
74
  * @export
@@ -52,10 +52,11 @@ function StoreTagRequestFromJSONTyped(json, ignoreDiscriminator) {
52
52
  'slug': json['slug'],
53
53
  'siteId': json['site_id'],
54
54
  'type': json['type'],
55
- 'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
56
- 'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
57
- 'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
55
+ 'title': json['title'] == null ? undefined : json['title'],
56
+ 'description': json['description'] == null ? undefined : json['description'],
57
+ 'keywords': json['keywords'] == null ? undefined : json['keywords'],
58
58
  'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
59
+ 'pageDescription': json['page_description'] == null ? undefined : json['page_description'],
59
60
  };
60
61
  }
61
62
  function StoreTagRequestToJSON(json) {
@@ -71,9 +72,10 @@ function StoreTagRequestToJSONTyped(value, ignoreDiscriminator) {
71
72
  'slug': value['slug'],
72
73
  'site_id': value['siteId'],
73
74
  'type': value['type'],
74
- 'seo_title': value['seoTitle'],
75
- 'seo_description': value['seoDescription'],
76
- 'header_description': value['headerDescription'],
75
+ 'title': value['title'],
76
+ 'description': value['description'],
77
+ 'keywords': value['keywords'],
77
78
  'footer_description': value['footerDescription'],
79
+ 'page_description': value['pageDescription'],
78
80
  };
79
81
  }
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { DescriptionResource } from './DescriptionResource';
13
12
  import type { AssetResource } from './AssetResource';
14
13
  import type { SEOResource } from './SEOResource';
15
14
  /**
@@ -54,12 +53,6 @@ export interface SupplierFrontendResource {
54
53
  * @memberof SupplierFrontendResource
55
54
  */
56
55
  seo: SEOResource | null;
57
- /**
58
- *
59
- * @type {Array<DescriptionResource>}
60
- * @memberof SupplierFrontendResource
61
- */
62
- descriptions: Array<DescriptionResource> | null;
63
56
  }
64
57
  /**
65
58
  * Check if a given object implements the SupplierFrontendResource interface.
@@ -18,7 +18,6 @@ exports.SupplierFrontendResourceFromJSON = SupplierFrontendResourceFromJSON;
18
18
  exports.SupplierFrontendResourceFromJSONTyped = SupplierFrontendResourceFromJSONTyped;
19
19
  exports.SupplierFrontendResourceToJSON = SupplierFrontendResourceToJSON;
20
20
  exports.SupplierFrontendResourceToJSONTyped = SupplierFrontendResourceToJSONTyped;
21
- var DescriptionResource_1 = require("./DescriptionResource");
22
21
  var AssetResource_1 = require("./AssetResource");
23
22
  var SEOResource_1 = require("./SEOResource");
24
23
  /**
@@ -37,8 +36,6 @@ function instanceOfSupplierFrontendResource(value) {
37
36
  return false;
38
37
  if (!('seo' in value) || value['seo'] === undefined)
39
38
  return false;
40
- if (!('descriptions' in value) || value['descriptions'] === undefined)
41
- return false;
42
39
  return true;
43
40
  }
44
41
  function SupplierFrontendResourceFromJSON(json) {
@@ -55,7 +52,6 @@ function SupplierFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
55
52
  'thumbnail': (0, AssetResource_1.AssetResourceFromJSON)(json['thumbnail']),
56
53
  'supplierEta': json['supplierEta'],
57
54
  'seo': (0, SEOResource_1.SEOResourceFromJSON)(json['seo']),
58
- 'descriptions': (json['descriptions'] == null ? null : json['descriptions'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
59
55
  };
60
56
  }
61
57
  function SupplierFrontendResourceToJSON(json) {
@@ -73,6 +69,5 @@ function SupplierFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
73
69
  'thumbnail': (0, AssetResource_1.AssetResourceToJSON)(value['thumbnail']),
74
70
  'supplierEta': value['supplierEta'],
75
71
  'seo': (0, SEOResource_1.SEOResourceToJSON)(value['seo']),
76
- 'descriptions': (value['descriptions'] == null ? null : value['descriptions'].map(DescriptionResource_1.DescriptionResourceToJSON)),
77
72
  };
78
73
  }
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { DescriptionResource } from './DescriptionResource';
13
12
  import type { AssetResource } from './AssetResource';
14
13
  import type { SEOResource } from './SEOResource';
15
14
  /**
@@ -54,12 +53,6 @@ export interface SupplierResource {
54
53
  * @memberof SupplierResource
55
54
  */
56
55
  seo: Array<SEOResource> | null;
57
- /**
58
- *
59
- * @type {Array<DescriptionResource>}
60
- * @memberof SupplierResource
61
- */
62
- descriptions: Array<DescriptionResource> | null;
63
56
  }
64
57
  /**
65
58
  * Check if a given object implements the SupplierResource interface.
@@ -18,7 +18,6 @@ exports.SupplierResourceFromJSON = SupplierResourceFromJSON;
18
18
  exports.SupplierResourceFromJSONTyped = SupplierResourceFromJSONTyped;
19
19
  exports.SupplierResourceToJSON = SupplierResourceToJSON;
20
20
  exports.SupplierResourceToJSONTyped = SupplierResourceToJSONTyped;
21
- var DescriptionResource_1 = require("./DescriptionResource");
22
21
  var AssetResource_1 = require("./AssetResource");
23
22
  var SEOResource_1 = require("./SEOResource");
24
23
  /**
@@ -37,8 +36,6 @@ function instanceOfSupplierResource(value) {
37
36
  return false;
38
37
  if (!('seo' in value) || value['seo'] === undefined)
39
38
  return false;
40
- if (!('descriptions' in value) || value['descriptions'] === undefined)
41
- return false;
42
39
  return true;
43
40
  }
44
41
  function SupplierResourceFromJSON(json) {
@@ -55,7 +52,6 @@ function SupplierResourceFromJSONTyped(json, ignoreDiscriminator) {
55
52
  'thumbnail': (0, AssetResource_1.AssetResourceFromJSON)(json['thumbnail']),
56
53
  'supplierEta': json['supplierEta'],
57
54
  'seo': (json['seo'] == null ? null : json['seo'].map(SEOResource_1.SEOResourceFromJSON)),
58
- 'descriptions': (json['descriptions'] == null ? null : json['descriptions'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
59
55
  };
60
56
  }
61
57
  function SupplierResourceToJSON(json) {
@@ -73,6 +69,5 @@ function SupplierResourceToJSONTyped(value, ignoreDiscriminator) {
73
69
  'thumbnail': (0, AssetResource_1.AssetResourceToJSON)(value['thumbnail']),
74
70
  'supplierEta': value['supplierEta'],
75
71
  'seo': (value['seo'] == null ? null : value['seo'].map(SEOResource_1.SEOResourceToJSON)),
76
- 'descriptions': (value['descriptions'] == null ? null : value['descriptions'].map(DescriptionResource_1.DescriptionResourceToJSON)),
77
72
  };
78
73
  }
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { SiteLiteResource } from './SiteLiteResource';
13
- import type { DescriptionResource } from './DescriptionResource';
14
13
  import type { SEOResource } from './SEOResource';
15
14
  /**
16
15
  *
@@ -54,12 +53,6 @@ export interface TagResource {
54
53
  * @memberof TagResource
55
54
  */
56
55
  seo: SEOResource | null;
57
- /**
58
- *
59
- * @type {DescriptionResource}
60
- * @memberof TagResource
61
- */
62
- description: DescriptionResource | null;
63
56
  }
64
57
  /**
65
58
  * Check if a given object implements the TagResource interface.
@@ -19,7 +19,6 @@ exports.TagResourceFromJSONTyped = TagResourceFromJSONTyped;
19
19
  exports.TagResourceToJSON = TagResourceToJSON;
20
20
  exports.TagResourceToJSONTyped = TagResourceToJSONTyped;
21
21
  var SiteLiteResource_1 = require("./SiteLiteResource");
22
- var DescriptionResource_1 = require("./DescriptionResource");
23
22
  var SEOResource_1 = require("./SEOResource");
24
23
  /**
25
24
  * Check if a given object implements the TagResource interface.
@@ -37,8 +36,6 @@ function instanceOfTagResource(value) {
37
36
  return false;
38
37
  if (!('seo' in value) || value['seo'] === undefined)
39
38
  return false;
40
- if (!('description' in value) || value['description'] === undefined)
41
- return false;
42
39
  return true;
43
40
  }
44
41
  function TagResourceFromJSON(json) {
@@ -55,7 +52,6 @@ function TagResourceFromJSONTyped(json, ignoreDiscriminator) {
55
52
  'type': json['type'],
56
53
  'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
57
54
  'seo': (0, SEOResource_1.SEOResourceFromJSON)(json['seo']),
58
- 'description': (0, DescriptionResource_1.DescriptionResourceFromJSON)(json['description']),
59
55
  };
60
56
  }
61
57
  function TagResourceToJSON(json) {
@@ -73,6 +69,5 @@ function TagResourceToJSONTyped(value, ignoreDiscriminator) {
73
69
  'type': value['type'],
74
70
  'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
75
71
  'seo': (0, SEOResource_1.SEOResourceToJSON)(value['seo']),
76
- 'description': (0, DescriptionResource_1.DescriptionResourceToJSON)(value['description']),
77
72
  };
78
73
  }