@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
@@ -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 UpdateSupplierRequest {
59
58
  * @memberof UpdateSupplierRequest
60
59
  */
61
60
  assetFileId: number;
62
- /**
63
- *
64
- * @type {Array<StoreSupplierRequestDescriptionsInner>}
65
- * @memberof UpdateSupplierRequest
66
- */
67
- descriptions: Array<StoreSupplierRequestDescriptionsInner>;
68
61
  }
69
62
  /**
70
63
  * Check if a given object implements the UpdateSupplierRequest interface.
@@ -19,7 +19,6 @@ exports.UpdateSupplierRequestFromJSONTyped = UpdateSupplierRequestFromJSONTyped;
19
19
  exports.UpdateSupplierRequestToJSON = UpdateSupplierRequestToJSON;
20
20
  exports.UpdateSupplierRequestToJSONTyped = UpdateSupplierRequestToJSONTyped;
21
21
  var StoreSupplierRequestSeoInner_1 = require("./StoreSupplierRequestSeoInner");
22
- var StoreSupplierRequestDescriptionsInner_1 = require("./StoreSupplierRequestDescriptionsInner");
23
22
  /**
24
23
  * Check if a given object implements the UpdateSupplierRequest interface.
25
24
  */
@@ -36,8 +35,6 @@ function instanceOfUpdateSupplierRequest(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 UpdateSupplierRequestFromJSON(json) {
@@ -55,7 +52,6 @@ function UpdateSupplierRequestFromJSONTyped(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 UpdateSupplierRequestToJSON(json) {
@@ -74,6 +70,5 @@ function UpdateSupplierRequestToJSONTyped(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
  }
@@ -38,25 +38,31 @@ export interface UpdateTagRequest {
38
38
  * @type {string}
39
39
  * @memberof UpdateTagRequest
40
40
  */
41
- seoTitle?: string;
41
+ title?: string;
42
42
  /**
43
43
  *
44
44
  * @type {string}
45
45
  * @memberof UpdateTagRequest
46
46
  */
47
- seoDescription?: string;
47
+ description?: string;
48
48
  /**
49
49
  *
50
50
  * @type {string}
51
51
  * @memberof UpdateTagRequest
52
52
  */
53
- headerDescription?: string;
53
+ keywords?: string;
54
54
  /**
55
55
  *
56
56
  * @type {string}
57
57
  * @memberof UpdateTagRequest
58
58
  */
59
59
  footerDescription?: string;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof UpdateTagRequest
64
+ */
65
+ pageDescription?: string;
60
66
  }
61
67
  /**
62
68
  * @export
@@ -49,10 +49,11 @@ function UpdateTagRequestFromJSONTyped(json, ignoreDiscriminator) {
49
49
  'name': json['name'],
50
50
  'slug': json['slug'],
51
51
  'type': json['type'],
52
- 'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
53
- 'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
54
- 'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
52
+ 'title': json['title'] == null ? undefined : json['title'],
53
+ 'description': json['description'] == null ? undefined : json['description'],
54
+ 'keywords': json['keywords'] == null ? undefined : json['keywords'],
55
55
  'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
56
+ 'pageDescription': json['page_description'] == null ? undefined : json['page_description'],
56
57
  };
57
58
  }
58
59
  function UpdateTagRequestToJSON(json) {
@@ -67,9 +68,10 @@ function UpdateTagRequestToJSONTyped(value, ignoreDiscriminator) {
67
68
  'name': value['name'],
68
69
  'slug': value['slug'],
69
70
  'type': value['type'],
70
- 'seo_title': value['seoTitle'],
71
- 'seo_description': value['seoDescription'],
72
- 'header_description': value['headerDescription'],
71
+ 'title': value['title'],
72
+ 'description': value['description'],
73
+ 'keywords': value['keywords'],
73
74
  'footer_description': value['footerDescription'],
75
+ 'page_description': value['pageDescription'],
74
76
  };
75
77
  }
@@ -25,8 +25,6 @@ export * from './AttributeType';
25
25
  export * from './AttributeValueResource';
26
26
  export * from './AttributeValueResourceArrayResponse';
27
27
  export * from './CouponDiscountType';
28
- export * from './DescriptionResource';
29
- export * from './DescriptionResourceArrayResponse';
30
28
  export * from './DestroyAttributeValueRequest';
31
29
  export * from './DetachAssetableOverlayTemplateRequest';
32
30
  export * from './DetachDocumentablesDocumentRequest';
@@ -164,7 +162,6 @@ export * from './StoreProductRequestCategoriesInner';
164
162
  export * from './StoreProductTypeRequest';
165
163
  export * from './StoreSiteNotificationRequest';
166
164
  export * from './StoreSupplierRequest';
167
- export * from './StoreSupplierRequestDescriptionsInner';
168
165
  export * from './StoreSupplierRequestSeoInner';
169
166
  export * from './StoreTagRequest';
170
167
  export * from './SupplierFrontendResource';
@@ -43,8 +43,6 @@ __exportStar(require("./AttributeType"), exports);
43
43
  __exportStar(require("./AttributeValueResource"), exports);
44
44
  __exportStar(require("./AttributeValueResourceArrayResponse"), exports);
45
45
  __exportStar(require("./CouponDiscountType"), exports);
46
- __exportStar(require("./DescriptionResource"), exports);
47
- __exportStar(require("./DescriptionResourceArrayResponse"), exports);
48
46
  __exportStar(require("./DestroyAttributeValueRequest"), exports);
49
47
  __exportStar(require("./DetachAssetableOverlayTemplateRequest"), exports);
50
48
  __exportStar(require("./DetachDocumentablesDocumentRequest"), exports);
@@ -182,7 +180,6 @@ __exportStar(require("./StoreProductRequestCategoriesInner"), exports);
182
180
  __exportStar(require("./StoreProductTypeRequest"), exports);
183
181
  __exportStar(require("./StoreSiteNotificationRequest"), exports);
184
182
  __exportStar(require("./StoreSupplierRequest"), exports);
185
- __exportStar(require("./StoreSupplierRequestDescriptionsInner"), exports);
186
183
  __exportStar(require("./StoreSupplierRequestSeoInner"), exports);
187
184
  __exportStar(require("./StoreTagRequest"), exports);
188
185
  __exportStar(require("./SupplierFrontendResource"), exports);
@@ -4,9 +4,9 @@ All URIs are relative to *http://localhost/api*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  |------------- | ------------- | -------------|
7
- | [**attachDocumentablesDocument**](DocumentApi.md#attachdocumentablesdocumentoperation) | **POST** /admin-api/document/{document}/link-documentables | Auto-generated: attachDocumentablesDocument |
7
+ | [**attachDocumentablesDocument**](DocumentApi.md#attachdocumentablesdocumentoperation) | **POST** /admin-api/document/{document}/attach-documentables | Auto-generated: attachDocumentablesDocument |
8
8
  | [**destroyDocument**](DocumentApi.md#destroydocument) | **DELETE** /admin-api/document/{document} | Auto-generated: destroyDocument |
9
- | [**detachDocumentablesDocument**](DocumentApi.md#detachdocumentablesdocumentoperation) | **POST** /admin-api/document/{document}/remove-documentables | Auto-generated: detachDocumentablesDocument |
9
+ | [**detachDocumentablesDocument**](DocumentApi.md#detachdocumentablesdocumentoperation) | **POST** /admin-api/document/{document}/detach-documentables | Auto-generated: detachDocumentablesDocument |
10
10
  | [**getAllDocument**](DocumentApi.md#getalldocumentoperation) | **POST** /admin-api/document/all | Auto-generated: getAllDocument |
11
11
  | [**indexDocument**](DocumentApi.md#indexdocumentoperation) | **POST** /admin-api/document/list | Auto-generated: indexDocument |
12
12
  | [**storeDocument**](DocumentApi.md#storedocumentoperation) | **POST** /admin-api/document | Auto-generated: storeDocument |
@@ -4,8 +4,8 @@ All URIs are relative to *http://localhost/api*
4
4
 
5
5
  | Method | HTTP request | Description |
6
6
  |------------- | ------------- | -------------|
7
- | [**attachDocumentsProductChildSiteDetail**](ProductChildSiteDetailApi.md#attachdocumentsproductchildsitedetailoperation) | **POST** /admin-api/product-child-site-detail/{productChildSiteDetail}/link-documents | Auto-generated: attachDocumentsProductChildSiteDetail |
8
- | [**detachDocumentsProductChildSiteDetail**](ProductChildSiteDetailApi.md#detachdocumentsproductchildsitedetailoperation) | **POST** /admin-api/product-child-site-detail/{productChildSiteDetail}/remove-documents | Auto-generated: detachDocumentsProductChildSiteDetail |
7
+ | [**attachDocumentsProductChildSiteDetail**](ProductChildSiteDetailApi.md#attachdocumentsproductchildsitedetailoperation) | **POST** /admin-api/product-child-site-detail/{productChildSiteDetail}/attach-documents | Auto-generated: attachDocumentsProductChildSiteDetail |
8
+ | [**detachDocumentsProductChildSiteDetail**](ProductChildSiteDetailApi.md#detachdocumentsproductchildsitedetailoperation) | **POST** /admin-api/product-child-site-detail/{productChildSiteDetail}/detach-documents | Auto-generated: detachDocumentsProductChildSiteDetail |
9
9
 
10
10
 
11
11
 
@@ -7,9 +7,12 @@
7
7
  Name | Type
8
8
  ------------ | -------------
9
9
  `id` | number
10
- `seoTitle` | string
11
- `seoDescription` | string
10
+ `title` | string
11
+ `description` | string
12
+ `keywords` | string
12
13
  `siteId` | number
14
+ `footerDescription` | string
15
+ `pageDescription` | string
13
16
 
14
17
  ## Example
15
18
 
@@ -19,9 +22,12 @@ import type { SEOResource } from '@digital8/lighting-illusions-ts-sdk'
19
22
  // TODO: Update the object below with actual values
20
23
  const example = {
21
24
  "id": null,
22
- "seoTitle": null,
23
- "seoDescription": null,
25
+ "title": null,
26
+ "description": null,
27
+ "keywords": null,
24
28
  "siteId": null,
29
+ "footerDescription": null,
30
+ "pageDescription": null,
25
31
  } satisfies SEOResource
26
32
 
27
33
  console.log(example)
@@ -14,8 +14,10 @@ Name | Type
14
14
  `salePrice` | number
15
15
  `slug` | string
16
16
  `documents` | Array&lt;number&gt;
17
- `seoTitle` | string
18
- `seoDescription` | string
17
+ `title` | string
18
+ `keywords` | string
19
+ `footerDescription` | string
20
+ `pageDescription` | string
19
21
 
20
22
  ## Example
21
23
 
@@ -32,8 +34,10 @@ const example = {
32
34
  "salePrice": null,
33
35
  "slug": null,
34
36
  "documents": null,
35
- "seoTitle": null,
36
- "seoDescription": null,
37
+ "title": null,
38
+ "keywords": null,
39
+ "footerDescription": null,
40
+ "pageDescription": null,
37
41
  } satisfies StoreProductChildRequestSitesInner
38
42
 
39
43
  console.log(example)
@@ -13,7 +13,6 @@ Name | Type
13
13
  `altText` | string
14
14
  `mimeType` | string
15
15
  `assetFileId` | number
16
- `descriptions` | [Array&lt;StoreSupplierRequestDescriptionsInner&gt;](StoreSupplierRequestDescriptionsInner.md)
17
16
 
18
17
  ## Example
19
18
 
@@ -29,7 +28,6 @@ const example = {
29
28
  "altText": null,
30
29
  "mimeType": null,
31
30
  "assetFileId": null,
32
- "descriptions": null,
33
31
  } satisfies StoreSupplierRequest
34
32
 
35
33
  console.log(example)
@@ -6,8 +6,11 @@
6
6
 
7
7
  Name | Type
8
8
  ------------ | -------------
9
- `seoTitle` | string
10
- `seoDescription` | string
9
+ `title` | string
10
+ `description` | string
11
+ `keywords` | string
12
+ `footerDescription` | string
13
+ `pageDescription` | string
11
14
  `siteId` | number
12
15
 
13
16
  ## Example
@@ -17,8 +20,11 @@ import type { StoreSupplierRequestSeoInner } from '@digital8/lighting-illusions-
17
20
 
18
21
  // TODO: Update the object below with actual values
19
22
  const example = {
20
- "seoTitle": null,
21
- "seoDescription": null,
23
+ "title": null,
24
+ "description": null,
25
+ "keywords": null,
26
+ "footerDescription": null,
27
+ "pageDescription": null,
22
28
  "siteId": null,
23
29
  } satisfies StoreSupplierRequestSeoInner
24
30
 
@@ -10,10 +10,11 @@ Name | Type
10
10
  `slug` | string
11
11
  `siteId` | number
12
12
  `type` | string
13
- `seoTitle` | string
14
- `seoDescription` | string
15
- `headerDescription` | string
13
+ `title` | string
14
+ `description` | string
15
+ `keywords` | string
16
16
  `footerDescription` | string
17
+ `pageDescription` | string
17
18
 
18
19
  ## Example
19
20
 
@@ -26,10 +27,11 @@ const example = {
26
27
  "slug": null,
27
28
  "siteId": null,
28
29
  "type": null,
29
- "seoTitle": null,
30
- "seoDescription": null,
31
- "headerDescription": null,
30
+ "title": null,
31
+ "description": null,
32
+ "keywords": null,
32
33
  "footerDescription": null,
34
+ "pageDescription": null,
33
35
  } satisfies StoreTagRequest
34
36
 
35
37
  console.log(example)
@@ -12,7 +12,6 @@ Name | Type
12
12
  `thumbnail` | [AssetResource](AssetResource.md)
13
13
  `supplierEta` | number
14
14
  `seo` | [SEOResource](SEOResource.md)
15
- `descriptions` | [Array&lt;DescriptionResource&gt;](DescriptionResource.md)
16
15
 
17
16
  ## Example
18
17
 
@@ -27,7 +26,6 @@ const example = {
27
26
  "thumbnail": null,
28
27
  "supplierEta": null,
29
28
  "seo": null,
30
- "descriptions": null,
31
29
  } satisfies SupplierFrontendResource
32
30
 
33
31
  console.log(example)
@@ -12,7 +12,6 @@ Name | Type
12
12
  `thumbnail` | [AssetResource](AssetResource.md)
13
13
  `supplierEta` | number
14
14
  `seo` | [Array&lt;SEOResource&gt;](SEOResource.md)
15
- `descriptions` | [Array&lt;DescriptionResource&gt;](DescriptionResource.md)
16
15
 
17
16
  ## Example
18
17
 
@@ -27,7 +26,6 @@ const example = {
27
26
  "thumbnail": null,
28
27
  "supplierEta": null,
29
28
  "seo": null,
30
- "descriptions": null,
31
29
  } satisfies SupplierResource
32
30
 
33
31
  console.log(example)
@@ -12,7 +12,6 @@ Name | Type
12
12
  `type` | string
13
13
  `site` | [SiteLiteResource](SiteLiteResource.md)
14
14
  `seo` | [SEOResource](SEOResource.md)
15
- `description` | [DescriptionResource](DescriptionResource.md)
16
15
 
17
16
  ## Example
18
17
 
@@ -27,7 +26,6 @@ const example = {
27
26
  "type": null,
28
27
  "site": null,
29
28
  "seo": null,
30
- "description": null,
31
29
  } satisfies TagResource
32
30
 
33
31
  console.log(example)
@@ -13,7 +13,6 @@ Name | Type
13
13
  `altText` | string
14
14
  `mimeType` | string
15
15
  `assetFileId` | number
16
- `descriptions` | [Array&lt;StoreSupplierRequestDescriptionsInner&gt;](StoreSupplierRequestDescriptionsInner.md)
17
16
 
18
17
  ## Example
19
18
 
@@ -29,7 +28,6 @@ const example = {
29
28
  "altText": null,
30
29
  "mimeType": null,
31
30
  "assetFileId": null,
32
- "descriptions": null,
33
31
  } satisfies UpdateSupplierRequest
34
32
 
35
33
  console.log(example)
@@ -9,10 +9,11 @@ Name | Type
9
9
  `name` | string
10
10
  `slug` | string
11
11
  `type` | string
12
- `seoTitle` | string
13
- `seoDescription` | string
14
- `headerDescription` | string
12
+ `title` | string
13
+ `description` | string
14
+ `keywords` | string
15
15
  `footerDescription` | string
16
+ `pageDescription` | string
16
17
 
17
18
  ## Example
18
19
 
@@ -24,10 +25,11 @@ const example = {
24
25
  "name": null,
25
26
  "slug": null,
26
27
  "type": null,
27
- "seoTitle": null,
28
- "seoDescription": null,
29
- "headerDescription": null,
28
+ "title": null,
29
+ "description": null,
30
+ "keywords": null,
30
31
  "footerDescription": null,
32
+ "pageDescription": null,
31
33
  } satisfies UpdateTagRequest
32
34
 
33
35
  console.log(example)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digital8/lighting-illusions-ts-sdk",
3
- "version": "0.0.475",
3
+ "version": "0.0.476",
4
4
  "description": "OpenAPI client for @digital8/lighting-illusions-ts-sdk",
5
5
  "author": "OpenAPI-Generator",
6
6
  "repository": {
@@ -105,7 +105,7 @@ export class DocumentApi extends runtime.BaseAPI {
105
105
  headerParameters['Content-Type'] = 'application/json';
106
106
 
107
107
 
108
- let urlPath = `/admin-api/document/{document}/link-documentables`;
108
+ let urlPath = `/admin-api/document/{document}/attach-documentables`;
109
109
  urlPath = urlPath.replace(`{${"document"}}`, encodeURIComponent(String(requestParameters['document'])));
110
110
 
111
111
  const response = await this.request({
@@ -182,7 +182,7 @@ export class DocumentApi extends runtime.BaseAPI {
182
182
  headerParameters['Content-Type'] = 'application/json';
183
183
 
184
184
 
185
- let urlPath = `/admin-api/document/{document}/remove-documentables`;
185
+ let urlPath = `/admin-api/document/{document}/detach-documentables`;
186
186
  urlPath = urlPath.replace(`{${"document"}}`, encodeURIComponent(String(requestParameters['document'])));
187
187
 
188
188
  const response = await this.request({
@@ -61,7 +61,7 @@ export class ProductChildSiteDetailApi extends runtime.BaseAPI {
61
61
  headerParameters['Content-Type'] = 'application/json';
62
62
 
63
63
 
64
- let urlPath = `/admin-api/product-child-site-detail/{productChildSiteDetail}/link-documents`;
64
+ let urlPath = `/admin-api/product-child-site-detail/{productChildSiteDetail}/attach-documents`;
65
65
  urlPath = urlPath.replace(`{${"productChildSiteDetail"}}`, encodeURIComponent(String(requestParameters['productChildSiteDetail'])));
66
66
 
67
67
  const response = await this.request({
@@ -101,7 +101,7 @@ export class ProductChildSiteDetailApi extends runtime.BaseAPI {
101
101
  headerParameters['Content-Type'] = 'application/json';
102
102
 
103
103
 
104
- let urlPath = `/admin-api/product-child-site-detail/{productChildSiteDetail}/remove-documents`;
104
+ let urlPath = `/admin-api/product-child-site-detail/{productChildSiteDetail}/detach-documents`;
105
105
  urlPath = urlPath.replace(`{${"productChildSiteDetail"}}`, encodeURIComponent(String(requestParameters['productChildSiteDetail'])));
106
106
 
107
107
  const response = await this.request({
@@ -30,19 +30,37 @@ export interface SEOResource {
30
30
  * @type {string}
31
31
  * @memberof SEOResource
32
32
  */
33
- seoTitle: string;
33
+ title: string;
34
34
  /**
35
35
  *
36
36
  * @type {string}
37
37
  * @memberof SEOResource
38
38
  */
39
- seoDescription: string;
39
+ description: string;
40
+ /**
41
+ *
42
+ * @type {string}
43
+ * @memberof SEOResource
44
+ */
45
+ keywords: string;
40
46
  /**
41
47
  *
42
48
  * @type {number}
43
49
  * @memberof SEOResource
44
50
  */
45
51
  siteId: number;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof SEOResource
56
+ */
57
+ footerDescription: string;
58
+ /**
59
+ *
60
+ * @type {string}
61
+ * @memberof SEOResource
62
+ */
63
+ pageDescription: string;
46
64
  }
47
65
 
48
66
  /**
@@ -50,9 +68,12 @@ export interface SEOResource {
50
68
  */
51
69
  export function instanceOfSEOResource(value: object): value is SEOResource {
52
70
  if (!('id' in value) || value['id'] === undefined) return false;
53
- if (!('seoTitle' in value) || value['seoTitle'] === undefined) return false;
54
- if (!('seoDescription' in value) || value['seoDescription'] === undefined) return false;
71
+ if (!('title' in value) || value['title'] === undefined) return false;
72
+ if (!('description' in value) || value['description'] === undefined) return false;
73
+ if (!('keywords' in value) || value['keywords'] === undefined) return false;
55
74
  if (!('siteId' in value) || value['siteId'] === undefined) return false;
75
+ if (!('footerDescription' in value) || value['footerDescription'] === undefined) return false;
76
+ if (!('pageDescription' in value) || value['pageDescription'] === undefined) return false;
56
77
  return true;
57
78
  }
58
79
 
@@ -67,9 +88,12 @@ export function SEOResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean
67
88
  return {
68
89
 
69
90
  'id': json['id'],
70
- 'seoTitle': json['seoTitle'],
71
- 'seoDescription': json['seoDescription'],
72
- 'siteId': json['siteId'],
91
+ 'title': json['title'],
92
+ 'description': json['description'],
93
+ 'keywords': json['keywords'],
94
+ 'siteId': json['site_id'],
95
+ 'footerDescription': json['footerDescription'],
96
+ 'pageDescription': json['pageDescription'],
73
97
  };
74
98
  }
75
99
 
@@ -85,9 +109,12 @@ export function SEOResourceToJSONTyped(value?: SEOResource | null, ignoreDiscrim
85
109
  return {
86
110
 
87
111
  'id': value['id'],
88
- 'seoTitle': value['seoTitle'],
89
- 'seoDescription': value['seoDescription'],
90
- 'siteId': value['siteId'],
112
+ 'title': value['title'],
113
+ 'description': value['description'],
114
+ 'keywords': value['keywords'],
115
+ 'site_id': value['siteId'],
116
+ 'footerDescription': value['footerDescription'],
117
+ 'pageDescription': value['pageDescription'],
91
118
  };
92
119
  }
93
120
 
@@ -42,7 +42,7 @@ export interface StoreProductChildRequestSitesInner {
42
42
  * @type {string}
43
43
  * @memberof StoreProductChildRequestSitesInner
44
44
  */
45
- description: string;
45
+ description?: string;
46
46
  /**
47
47
  *
48
48
  * @type {number}
@@ -72,13 +72,25 @@ export interface StoreProductChildRequestSitesInner {
72
72
  * @type {string}
73
73
  * @memberof StoreProductChildRequestSitesInner
74
74
  */
75
- seoTitle?: string;
75
+ title?: string;
76
76
  /**
77
77
  *
78
78
  * @type {string}
79
79
  * @memberof StoreProductChildRequestSitesInner
80
80
  */
81
- seoDescription?: string;
81
+ keywords?: string;
82
+ /**
83
+ *
84
+ * @type {string}
85
+ * @memberof StoreProductChildRequestSitesInner
86
+ */
87
+ footerDescription?: string;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof StoreProductChildRequestSitesInner
92
+ */
93
+ pageDescription?: string;
82
94
  }
83
95
 
84
96
  /**
@@ -86,7 +98,6 @@ export interface StoreProductChildRequestSitesInner {
86
98
  */
87
99
  export function instanceOfStoreProductChildRequestSitesInner(value: object): value is StoreProductChildRequestSitesInner {
88
100
  if (!('siteId' in value) || value['siteId'] === undefined) return false;
89
- if (!('description' in value) || value['description'] === undefined) return false;
90
101
  if (!('rrpPrice' in value) || value['rrpPrice'] === undefined) return false;
91
102
  if (!('salePrice' in value) || value['salePrice'] === undefined) return false;
92
103
  if (!('slug' in value) || value['slug'] === undefined) return false;
@@ -107,13 +118,15 @@ export function StoreProductChildRequestSitesInnerFromJSONTyped(json: any, ignor
107
118
  'siteId': json['site_id'],
108
119
  'name': json['name'] == null ? undefined : json['name'],
109
120
  'displayName': json['display_name'] == null ? undefined : json['display_name'],
110
- 'description': json['description'],
121
+ 'description': json['description'] == null ? undefined : json['description'],
111
122
  'rrpPrice': json['rrp_price'],
112
123
  'salePrice': json['sale_price'],
113
124
  'slug': json['slug'],
114
125
  'documents': json['documents'],
115
- 'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
116
- 'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
126
+ 'title': json['title'] == null ? undefined : json['title'],
127
+ 'keywords': json['keywords'] == null ? undefined : json['keywords'],
128
+ 'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
129
+ 'pageDescription': json['page_description'] == null ? undefined : json['page_description'],
117
130
  };
118
131
  }
119
132
 
@@ -136,8 +149,10 @@ export function StoreProductChildRequestSitesInnerToJSONTyped(value?: StoreProdu
136
149
  'sale_price': value['salePrice'],
137
150
  'slug': value['slug'],
138
151
  'documents': value['documents'],
139
- 'seo_title': value['seoTitle'],
140
- 'seo_description': value['seoDescription'],
152
+ 'title': value['title'],
153
+ 'keywords': value['keywords'],
154
+ 'footer_description': value['footerDescription'],
155
+ 'page_description': value['pageDescription'],
141
156
  };
142
157
  }
143
158