@digital8/lighting-illusions-ts-sdk 0.0.490 → 0.0.492
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.
- package/.openapi-generator/FILES +0 -6
- package/README.md +2 -5
- package/dist/models/IndexExternalApiLogRequest.d.ts +6 -0
- package/dist/models/IndexExternalApiLogRequest.js +2 -0
- package/dist/models/ProductChildSiteDetailResource.d.ts +8 -2
- package/dist/models/ProductChildSiteDetailResource.js +4 -4
- package/dist/models/SEOResource.d.ts +20 -2
- package/dist/models/SEOResource.js +20 -8
- package/dist/models/StoreProductChildRequestSitesInner.d.ts +15 -3
- package/dist/models/StoreProductChildRequestSitesInner.js +9 -7
- package/dist/models/StoreSupplierRequest.d.ts +0 -7
- package/dist/models/StoreSupplierRequest.js +0 -5
- package/dist/models/StoreSupplierRequestSeoInner.d.ts +20 -2
- package/dist/models/StoreSupplierRequestSeoInner.js +10 -4
- package/dist/models/StoreTagRequest.d.ts +9 -3
- package/dist/models/StoreTagRequest.js +8 -6
- package/dist/models/SupplierFrontendResource.d.ts +0 -7
- package/dist/models/SupplierFrontendResource.js +0 -5
- package/dist/models/SupplierResource.d.ts +0 -7
- package/dist/models/SupplierResource.js +0 -5
- package/dist/models/TagResource.d.ts +0 -7
- package/dist/models/TagResource.js +0 -5
- package/dist/models/UpdateSupplierRequest.d.ts +0 -7
- package/dist/models/UpdateSupplierRequest.js +0 -5
- package/dist/models/UpdateTagRequest.d.ts +9 -3
- package/dist/models/UpdateTagRequest.js +8 -6
- package/dist/models/index.d.ts +0 -3
- package/dist/models/index.js +0 -3
- package/docs/IndexExternalApiLogRequest.md +2 -0
- package/docs/ProductChildSiteDetailResource.md +4 -2
- package/docs/SEOResource.md +10 -4
- package/docs/StoreProductChildRequestSitesInner.md +8 -4
- package/docs/StoreSupplierRequest.md +0 -2
- package/docs/StoreSupplierRequestSeoInner.md +10 -4
- package/docs/StoreTagRequest.md +8 -6
- package/docs/SupplierFrontendResource.md +0 -2
- package/docs/SupplierResource.md +0 -2
- package/docs/TagResource.md +0 -2
- package/docs/UpdateSupplierRequest.md +0 -2
- package/docs/UpdateTagRequest.md +8 -6
- package/package.json +1 -1
- package/src/models/IndexExternalApiLogRequest.ts +8 -0
- package/src/models/ProductChildSiteDetailResource.ts +12 -5
- package/src/models/SEOResource.ts +37 -10
- package/src/models/StoreProductChildRequestSitesInner.ts +24 -9
- package/src/models/StoreSupplierRequest.ts +0 -16
- package/src/models/StoreSupplierRequestSeoInner.ts +30 -6
- package/src/models/StoreTagRequest.ts +17 -9
- package/src/models/SupplierFrontendResource.ts +0 -16
- package/src/models/SupplierResource.ts +0 -16
- package/src/models/TagResource.ts +0 -16
- package/src/models/UpdateSupplierRequest.ts +0 -16
- package/src/models/UpdateTagRequest.ts +17 -9
- package/src/models/index.ts +0 -3
- package/dist/models/DescriptionResource.d.ts +0 -50
- package/dist/models/DescriptionResource.js +0 -63
- package/dist/models/DescriptionResourceArrayResponse.d.ts +0 -33
- package/dist/models/DescriptionResourceArrayResponse.js +0 -50
- package/dist/models/StoreSupplierRequestDescriptionsInner.d.ts +0 -44
- package/dist/models/StoreSupplierRequestDescriptionsInner.js +0 -55
- package/docs/DescriptionResource.md +0 -40
- package/docs/DescriptionResourceArrayResponse.md +0 -34
- package/docs/StoreSupplierRequestDescriptionsInner.md +0 -38
- package/src/models/DescriptionResource.ts +0 -93
- package/src/models/DescriptionResourceArrayResponse.ts +0 -73
- 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
|
-
|
|
41
|
+
title?: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof UpdateTagRequest
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
description?: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof UpdateTagRequest
|
|
52
52
|
*/
|
|
53
|
-
|
|
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
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'
|
|
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
|
-
'
|
|
71
|
-
'
|
|
72
|
-
'
|
|
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
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -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';
|
|
@@ -166,7 +164,6 @@ export * from './StoreProductRequestCategoriesInner';
|
|
|
166
164
|
export * from './StoreProductTypeRequest';
|
|
167
165
|
export * from './StoreSiteNotificationRequest';
|
|
168
166
|
export * from './StoreSupplierRequest';
|
|
169
|
-
export * from './StoreSupplierRequestDescriptionsInner';
|
|
170
167
|
export * from './StoreSupplierRequestSeoInner';
|
|
171
168
|
export * from './StoreTagRequest';
|
|
172
169
|
export * from './SupplierFrontendResource';
|
package/dist/models/index.js
CHANGED
|
@@ -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);
|
|
@@ -184,7 +182,6 @@ __exportStar(require("./StoreProductRequestCategoriesInner"), exports);
|
|
|
184
182
|
__exportStar(require("./StoreProductTypeRequest"), exports);
|
|
185
183
|
__exportStar(require("./StoreSiteNotificationRequest"), exports);
|
|
186
184
|
__exportStar(require("./StoreSupplierRequest"), exports);
|
|
187
|
-
__exportStar(require("./StoreSupplierRequestDescriptionsInner"), exports);
|
|
188
185
|
__exportStar(require("./StoreSupplierRequestSeoInner"), exports);
|
|
189
186
|
__exportStar(require("./StoreTagRequest"), exports);
|
|
190
187
|
__exportStar(require("./SupplierFrontendResource"), exports);
|
|
@@ -17,6 +17,7 @@ Name | Type
|
|
|
17
17
|
`externalApiLoggableType` | Array<string>
|
|
18
18
|
`externalApiLoggableId` | Array<string>
|
|
19
19
|
`siteId` | Array<string>
|
|
20
|
+
`productChildId` | Array<string>
|
|
20
21
|
`relatedId` | number
|
|
21
22
|
`relatedType` | string
|
|
22
23
|
`includesRelations` | boolean
|
|
@@ -39,6 +40,7 @@ const example = {
|
|
|
39
40
|
"externalApiLoggableType": null,
|
|
40
41
|
"externalApiLoggableId": null,
|
|
41
42
|
"siteId": null,
|
|
43
|
+
"productChildId": null,
|
|
42
44
|
"relatedId": null,
|
|
43
45
|
"relatedType": null,
|
|
44
46
|
"includesRelations": null,
|
|
@@ -16,7 +16,8 @@ Name | Type
|
|
|
16
16
|
`salePrice` | number
|
|
17
17
|
`isDisabled` | boolean
|
|
18
18
|
`seo` | [SEOResource](SEOResource.md)
|
|
19
|
-
`
|
|
19
|
+
`omnisendId` | string
|
|
20
|
+
`omnisendSyncStatus` | string
|
|
20
21
|
|
|
21
22
|
## Example
|
|
22
23
|
|
|
@@ -35,7 +36,8 @@ const example = {
|
|
|
35
36
|
"salePrice": null,
|
|
36
37
|
"isDisabled": null,
|
|
37
38
|
"seo": null,
|
|
38
|
-
"
|
|
39
|
+
"omnisendId": null,
|
|
40
|
+
"omnisendSyncStatus": null,
|
|
39
41
|
} satisfies ProductChildSiteDetailResource
|
|
40
42
|
|
|
41
43
|
console.log(example)
|
package/docs/SEOResource.md
CHANGED
|
@@ -7,9 +7,12 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
|
-
`
|
|
11
|
-
`
|
|
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
|
-
"
|
|
23
|
-
"
|
|
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<number>
|
|
17
|
-
`
|
|
18
|
-
`
|
|
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
|
-
"
|
|
36
|
-
"
|
|
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<StoreSupplierRequestDescriptionsInner>](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
|
-
`
|
|
10
|
-
`
|
|
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
|
-
"
|
|
21
|
-
"
|
|
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
|
|
package/docs/StoreTagRequest.md
CHANGED
|
@@ -10,10 +10,11 @@ Name | Type
|
|
|
10
10
|
`slug` | string
|
|
11
11
|
`siteId` | number
|
|
12
12
|
`type` | string
|
|
13
|
-
`
|
|
14
|
-
`
|
|
15
|
-
`
|
|
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
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
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<DescriptionResource>](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)
|
package/docs/SupplierResource.md
CHANGED
|
@@ -12,7 +12,6 @@ Name | Type
|
|
|
12
12
|
`thumbnail` | [AssetResource](AssetResource.md)
|
|
13
13
|
`supplierEta` | number
|
|
14
14
|
`seo` | [Array<SEOResource>](SEOResource.md)
|
|
15
|
-
`descriptions` | [Array<DescriptionResource>](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)
|
package/docs/TagResource.md
CHANGED
|
@@ -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<StoreSupplierRequestDescriptionsInner>](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)
|
package/docs/UpdateTagRequest.md
CHANGED
|
@@ -9,10 +9,11 @@ Name | Type
|
|
|
9
9
|
`name` | string
|
|
10
10
|
`slug` | string
|
|
11
11
|
`type` | string
|
|
12
|
-
`
|
|
13
|
-
`
|
|
14
|
-
`
|
|
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
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
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
|
@@ -85,6 +85,12 @@ export interface IndexExternalApiLogRequest {
|
|
|
85
85
|
* @memberof IndexExternalApiLogRequest
|
|
86
86
|
*/
|
|
87
87
|
siteId?: Array<string>;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {Array<string>}
|
|
91
|
+
* @memberof IndexExternalApiLogRequest
|
|
92
|
+
*/
|
|
93
|
+
productChildId?: Array<string>;
|
|
88
94
|
/**
|
|
89
95
|
*
|
|
90
96
|
* @type {number}
|
|
@@ -158,6 +164,7 @@ export function IndexExternalApiLogRequestFromJSONTyped(json: any, ignoreDiscrim
|
|
|
158
164
|
'externalApiLoggableType': json['external_api_loggable_type'] == null ? undefined : json['external_api_loggable_type'],
|
|
159
165
|
'externalApiLoggableId': json['external_api_loggable_id'] == null ? undefined : json['external_api_loggable_id'],
|
|
160
166
|
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
167
|
+
'productChildId': json['product_child_id'] == null ? undefined : json['product_child_id'],
|
|
161
168
|
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
162
169
|
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
163
170
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
@@ -186,6 +193,7 @@ export function IndexExternalApiLogRequestToJSONTyped(value?: IndexExternalApiLo
|
|
|
186
193
|
'external_api_loggable_type': value['externalApiLoggableType'],
|
|
187
194
|
'external_api_loggable_id': value['externalApiLoggableId'],
|
|
188
195
|
'site_id': value['siteId'],
|
|
196
|
+
'product_child_id': value['productChildId'],
|
|
189
197
|
'related_id': value['relatedId'],
|
|
190
198
|
'related_type': value['relatedType'],
|
|
191
199
|
'includes_relations': value['includesRelations'],
|
|
@@ -96,10 +96,16 @@ export interface ProductChildSiteDetailResource {
|
|
|
96
96
|
seo: SEOResource | null;
|
|
97
97
|
/**
|
|
98
98
|
*
|
|
99
|
-
* @type {
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof ProductChildSiteDetailResource
|
|
101
|
+
*/
|
|
102
|
+
omnisendId?: string | null;
|
|
103
|
+
/**
|
|
104
|
+
*
|
|
105
|
+
* @type {string}
|
|
100
106
|
* @memberof ProductChildSiteDetailResource
|
|
101
107
|
*/
|
|
102
|
-
|
|
108
|
+
omnisendSyncStatus?: string | null;
|
|
103
109
|
}
|
|
104
110
|
|
|
105
111
|
/**
|
|
@@ -116,7 +122,6 @@ export function instanceOfProductChildSiteDetailResource(value: object): value i
|
|
|
116
122
|
if (!('salePrice' in value) || value['salePrice'] === undefined) return false;
|
|
117
123
|
if (!('isDisabled' in value) || value['isDisabled'] === undefined) return false;
|
|
118
124
|
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
119
|
-
if (!('documents' in value) || value['documents'] === undefined) return false;
|
|
120
125
|
return true;
|
|
121
126
|
}
|
|
122
127
|
|
|
@@ -140,7 +145,8 @@ export function ProductChildSiteDetailResourceFromJSONTyped(json: any, ignoreDis
|
|
|
140
145
|
'salePrice': json['salePrice'],
|
|
141
146
|
'isDisabled': json['isDisabled'],
|
|
142
147
|
'seo': SEOResourceFromJSON(json['seo']),
|
|
143
|
-
'
|
|
148
|
+
'omnisendId': json['omnisendId'] == null ? undefined : json['omnisendId'],
|
|
149
|
+
'omnisendSyncStatus': json['omnisendSyncStatus'] == null ? undefined : json['omnisendSyncStatus'],
|
|
144
150
|
};
|
|
145
151
|
}
|
|
146
152
|
|
|
@@ -165,7 +171,8 @@ export function ProductChildSiteDetailResourceToJSONTyped(value?: ProductChildSi
|
|
|
165
171
|
'salePrice': value['salePrice'],
|
|
166
172
|
'isDisabled': value['isDisabled'],
|
|
167
173
|
'seo': SEOResourceToJSON(value['seo']),
|
|
168
|
-
'
|
|
174
|
+
'omnisendId': value['omnisendId'],
|
|
175
|
+
'omnisendSyncStatus': value['omnisendSyncStatus'],
|
|
169
176
|
};
|
|
170
177
|
}
|
|
171
178
|
|
|
@@ -30,19 +30,37 @@ export interface SEOResource {
|
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof SEOResource
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
title: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof SEOResource
|
|
38
38
|
*/
|
|
39
|
-
|
|
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 (!('
|
|
54
|
-
if (!('
|
|
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
|
-
'
|
|
71
|
-
'
|
|
72
|
-
'
|
|
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
|
-
'
|
|
89
|
-
'
|
|
90
|
-
'
|
|
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
|
|