@digital8/lighting-illusions-ts-sdk 0.0.487 → 0.0.489
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 +6 -0
- package/README.md +5 -2
- package/dist/models/DescriptionResource.d.ts +44 -0
- package/dist/models/DescriptionResource.js +59 -0
- package/dist/models/DescriptionResourceArrayResponse.d.ts +33 -0
- package/dist/models/DescriptionResourceArrayResponse.js +50 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/SEOResource.d.ts +2 -20
- package/dist/models/SEOResource.js +8 -20
- package/dist/models/StoreProductChildRequestSitesInner.d.ts +3 -15
- package/dist/models/StoreProductChildRequestSitesInner.js +7 -9
- package/dist/models/StoreSupplierRequest.d.ts +7 -0
- package/dist/models/StoreSupplierRequest.js +5 -0
- package/dist/models/StoreSupplierRequestDescriptionsInner.d.ts +44 -0
- package/dist/models/StoreSupplierRequestDescriptionsInner.js +55 -0
- package/dist/models/StoreSupplierRequestSeoInner.d.ts +2 -20
- package/dist/models/StoreSupplierRequestSeoInner.js +4 -10
- package/dist/models/StoreTagRequest.d.ts +3 -9
- package/dist/models/StoreTagRequest.js +6 -8
- package/dist/models/SupplierFrontendResource.d.ts +7 -0
- package/dist/models/SupplierFrontendResource.js +5 -0
- package/dist/models/SupplierResource.d.ts +7 -0
- package/dist/models/SupplierResource.js +5 -0
- package/dist/models/TagResource.d.ts +7 -0
- package/dist/models/TagResource.js +5 -0
- package/dist/models/UpdateSupplierRequest.d.ts +7 -0
- package/dist/models/UpdateSupplierRequest.js +5 -0
- package/dist/models/UpdateTagRequest.d.ts +3 -9
- package/dist/models/UpdateTagRequest.js +6 -8
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/docs/DescriptionResource.md +38 -0
- package/docs/DescriptionResourceArrayResponse.md +34 -0
- package/docs/SEOResource.md +4 -10
- package/docs/StoreProductChildRequestSitesInner.md +4 -8
- package/docs/StoreSupplierRequest.md +2 -0
- package/docs/StoreSupplierRequestDescriptionsInner.md +38 -0
- package/docs/StoreSupplierRequestSeoInner.md +4 -10
- package/docs/StoreTagRequest.md +6 -8
- package/docs/SupplierFrontendResource.md +2 -0
- package/docs/SupplierResource.md +2 -0
- package/docs/TagResource.md +2 -0
- package/docs/UpdateSupplierRequest.md +2 -0
- package/docs/UpdateTagRequest.md +6 -8
- package/package.json +1 -1
- package/src/models/DescriptionResource.ts +84 -0
- package/src/models/DescriptionResourceArrayResponse.ts +73 -0
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/SEOResource.ts +10 -37
- package/src/models/StoreProductChildRequestSitesInner.ts +9 -24
- package/src/models/StoreSupplierRequest.ts +16 -0
- package/src/models/StoreSupplierRequestDescriptionsInner.ts +82 -0
- package/src/models/StoreSupplierRequestSeoInner.ts +6 -30
- package/src/models/StoreTagRequest.ts +9 -17
- package/src/models/SupplierFrontendResource.ts +16 -0
- package/src/models/SupplierResource.ts +16 -0
- package/src/models/TagResource.ts +16 -0
- package/src/models/UpdateSupplierRequest.ts +16 -0
- package/src/models/UpdateTagRequest.ts +9 -17
- package/src/models/index.ts +3 -0
|
@@ -34,11 +34,8 @@ function StoreSupplierRequestSeoInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
return json;
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
|
-
'
|
|
38
|
-
'
|
|
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'],
|
|
37
|
+
'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
|
|
38
|
+
'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
|
|
42
39
|
'siteId': json['site_id'],
|
|
43
40
|
};
|
|
44
41
|
}
|
|
@@ -51,11 +48,8 @@ function StoreSupplierRequestSeoInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
|
51
48
|
return value;
|
|
52
49
|
}
|
|
53
50
|
return {
|
|
54
|
-
'
|
|
55
|
-
'
|
|
56
|
-
'keywords': value['keywords'],
|
|
57
|
-
'footer_description': value['footerDescription'],
|
|
58
|
-
'page_description': value['pageDescription'],
|
|
51
|
+
'seo_title': value['seoTitle'],
|
|
52
|
+
'seo_description': value['seoDescription'],
|
|
59
53
|
'site_id': value['siteId'],
|
|
60
54
|
};
|
|
61
55
|
}
|
|
@@ -44,31 +44,25 @@ export interface StoreTagRequest {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof StoreTagRequest
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
seoTitle?: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof StoreTagRequest
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
seoDescription?: string;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
56
|
* @type {string}
|
|
57
57
|
* @memberof StoreTagRequest
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
headerDescription?: 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;
|
|
72
66
|
}
|
|
73
67
|
/**
|
|
74
68
|
* @export
|
|
@@ -52,11 +52,10 @@ function StoreTagRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
52
|
'slug': json['slug'],
|
|
53
53
|
'siteId': json['site_id'],
|
|
54
54
|
'type': json['type'],
|
|
55
|
-
'
|
|
56
|
-
'
|
|
57
|
-
'
|
|
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'],
|
|
58
58
|
'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
|
|
59
|
-
'pageDescription': json['page_description'] == null ? undefined : json['page_description'],
|
|
60
59
|
};
|
|
61
60
|
}
|
|
62
61
|
function StoreTagRequestToJSON(json) {
|
|
@@ -72,10 +71,9 @@ function StoreTagRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
72
71
|
'slug': value['slug'],
|
|
73
72
|
'site_id': value['siteId'],
|
|
74
73
|
'type': value['type'],
|
|
75
|
-
'
|
|
76
|
-
'
|
|
77
|
-
'
|
|
74
|
+
'seo_title': value['seoTitle'],
|
|
75
|
+
'seo_description': value['seoDescription'],
|
|
76
|
+
'header_description': value['headerDescription'],
|
|
78
77
|
'footer_description': value['footerDescription'],
|
|
79
|
-
'page_description': value['pageDescription'],
|
|
80
78
|
};
|
|
81
79
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { DescriptionResource } from './DescriptionResource';
|
|
12
13
|
import type { AssetResource } from './AssetResource';
|
|
13
14
|
import type { SEOResource } from './SEOResource';
|
|
14
15
|
/**
|
|
@@ -53,6 +54,12 @@ export interface SupplierFrontendResource {
|
|
|
53
54
|
* @memberof SupplierFrontendResource
|
|
54
55
|
*/
|
|
55
56
|
seo: SEOResource | null;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Array<DescriptionResource>}
|
|
60
|
+
* @memberof SupplierFrontendResource
|
|
61
|
+
*/
|
|
62
|
+
descriptions: Array<DescriptionResource> | null;
|
|
56
63
|
}
|
|
57
64
|
/**
|
|
58
65
|
* Check if a given object implements the SupplierFrontendResource interface.
|
|
@@ -18,6 +18,7 @@ exports.SupplierFrontendResourceFromJSON = SupplierFrontendResourceFromJSON;
|
|
|
18
18
|
exports.SupplierFrontendResourceFromJSONTyped = SupplierFrontendResourceFromJSONTyped;
|
|
19
19
|
exports.SupplierFrontendResourceToJSON = SupplierFrontendResourceToJSON;
|
|
20
20
|
exports.SupplierFrontendResourceToJSONTyped = SupplierFrontendResourceToJSONTyped;
|
|
21
|
+
var DescriptionResource_1 = require("./DescriptionResource");
|
|
21
22
|
var AssetResource_1 = require("./AssetResource");
|
|
22
23
|
var SEOResource_1 = require("./SEOResource");
|
|
23
24
|
/**
|
|
@@ -36,6 +37,8 @@ function instanceOfSupplierFrontendResource(value) {
|
|
|
36
37
|
return false;
|
|
37
38
|
if (!('seo' in value) || value['seo'] === undefined)
|
|
38
39
|
return false;
|
|
40
|
+
if (!('descriptions' in value) || value['descriptions'] === undefined)
|
|
41
|
+
return false;
|
|
39
42
|
return true;
|
|
40
43
|
}
|
|
41
44
|
function SupplierFrontendResourceFromJSON(json) {
|
|
@@ -52,6 +55,7 @@ function SupplierFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
55
|
'thumbnail': (0, AssetResource_1.AssetResourceFromJSON)(json['thumbnail']),
|
|
53
56
|
'supplierEta': json['supplierEta'],
|
|
54
57
|
'seo': (0, SEOResource_1.SEOResourceFromJSON)(json['seo']),
|
|
58
|
+
'descriptions': (json['descriptions'] == null ? null : json['descriptions'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
|
|
55
59
|
};
|
|
56
60
|
}
|
|
57
61
|
function SupplierFrontendResourceToJSON(json) {
|
|
@@ -69,5 +73,6 @@ function SupplierFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
69
73
|
'thumbnail': (0, AssetResource_1.AssetResourceToJSON)(value['thumbnail']),
|
|
70
74
|
'supplierEta': value['supplierEta'],
|
|
71
75
|
'seo': (0, SEOResource_1.SEOResourceToJSON)(value['seo']),
|
|
76
|
+
'descriptions': (value['descriptions'] == null ? null : value['descriptions'].map(DescriptionResource_1.DescriptionResourceToJSON)),
|
|
72
77
|
};
|
|
73
78
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { DescriptionResource } from './DescriptionResource';
|
|
12
13
|
import type { AssetResource } from './AssetResource';
|
|
13
14
|
import type { SEOResource } from './SEOResource';
|
|
14
15
|
/**
|
|
@@ -53,6 +54,12 @@ export interface SupplierResource {
|
|
|
53
54
|
* @memberof SupplierResource
|
|
54
55
|
*/
|
|
55
56
|
seo: Array<SEOResource> | null;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {Array<DescriptionResource>}
|
|
60
|
+
* @memberof SupplierResource
|
|
61
|
+
*/
|
|
62
|
+
descriptions: Array<DescriptionResource> | null;
|
|
56
63
|
}
|
|
57
64
|
/**
|
|
58
65
|
* Check if a given object implements the SupplierResource interface.
|
|
@@ -18,6 +18,7 @@ exports.SupplierResourceFromJSON = SupplierResourceFromJSON;
|
|
|
18
18
|
exports.SupplierResourceFromJSONTyped = SupplierResourceFromJSONTyped;
|
|
19
19
|
exports.SupplierResourceToJSON = SupplierResourceToJSON;
|
|
20
20
|
exports.SupplierResourceToJSONTyped = SupplierResourceToJSONTyped;
|
|
21
|
+
var DescriptionResource_1 = require("./DescriptionResource");
|
|
21
22
|
var AssetResource_1 = require("./AssetResource");
|
|
22
23
|
var SEOResource_1 = require("./SEOResource");
|
|
23
24
|
/**
|
|
@@ -36,6 +37,8 @@ function instanceOfSupplierResource(value) {
|
|
|
36
37
|
return false;
|
|
37
38
|
if (!('seo' in value) || value['seo'] === undefined)
|
|
38
39
|
return false;
|
|
40
|
+
if (!('descriptions' in value) || value['descriptions'] === undefined)
|
|
41
|
+
return false;
|
|
39
42
|
return true;
|
|
40
43
|
}
|
|
41
44
|
function SupplierResourceFromJSON(json) {
|
|
@@ -52,6 +55,7 @@ function SupplierResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
55
|
'thumbnail': (0, AssetResource_1.AssetResourceFromJSON)(json['thumbnail']),
|
|
53
56
|
'supplierEta': json['supplierEta'],
|
|
54
57
|
'seo': (json['seo'] == null ? null : json['seo'].map(SEOResource_1.SEOResourceFromJSON)),
|
|
58
|
+
'descriptions': (json['descriptions'] == null ? null : json['descriptions'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
|
|
55
59
|
};
|
|
56
60
|
}
|
|
57
61
|
function SupplierResourceToJSON(json) {
|
|
@@ -69,5 +73,6 @@ function SupplierResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
69
73
|
'thumbnail': (0, AssetResource_1.AssetResourceToJSON)(value['thumbnail']),
|
|
70
74
|
'supplierEta': value['supplierEta'],
|
|
71
75
|
'seo': (value['seo'] == null ? null : value['seo'].map(SEOResource_1.SEOResourceToJSON)),
|
|
76
|
+
'descriptions': (value['descriptions'] == null ? null : value['descriptions'].map(DescriptionResource_1.DescriptionResourceToJSON)),
|
|
72
77
|
};
|
|
73
78
|
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { SiteLiteResource } from './SiteLiteResource';
|
|
13
|
+
import type { DescriptionResource } from './DescriptionResource';
|
|
13
14
|
import type { SEOResource } from './SEOResource';
|
|
14
15
|
/**
|
|
15
16
|
*
|
|
@@ -53,6 +54,12 @@ export interface TagResource {
|
|
|
53
54
|
* @memberof TagResource
|
|
54
55
|
*/
|
|
55
56
|
seo: SEOResource | null;
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {DescriptionResource}
|
|
60
|
+
* @memberof TagResource
|
|
61
|
+
*/
|
|
62
|
+
description: DescriptionResource | null;
|
|
56
63
|
}
|
|
57
64
|
/**
|
|
58
65
|
* Check if a given object implements the TagResource interface.
|
|
@@ -19,6 +19,7 @@ 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");
|
|
22
23
|
var SEOResource_1 = require("./SEOResource");
|
|
23
24
|
/**
|
|
24
25
|
* Check if a given object implements the TagResource interface.
|
|
@@ -36,6 +37,8 @@ function instanceOfTagResource(value) {
|
|
|
36
37
|
return false;
|
|
37
38
|
if (!('seo' in value) || value['seo'] === undefined)
|
|
38
39
|
return false;
|
|
40
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
41
|
+
return false;
|
|
39
42
|
return true;
|
|
40
43
|
}
|
|
41
44
|
function TagResourceFromJSON(json) {
|
|
@@ -52,6 +55,7 @@ function TagResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
52
55
|
'type': json['type'],
|
|
53
56
|
'site': (0, SiteLiteResource_1.SiteLiteResourceFromJSON)(json['site']),
|
|
54
57
|
'seo': (0, SEOResource_1.SEOResourceFromJSON)(json['seo']),
|
|
58
|
+
'description': (0, DescriptionResource_1.DescriptionResourceFromJSON)(json['description']),
|
|
55
59
|
};
|
|
56
60
|
}
|
|
57
61
|
function TagResourceToJSON(json) {
|
|
@@ -69,5 +73,6 @@ function TagResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
69
73
|
'type': value['type'],
|
|
70
74
|
'site': (0, SiteLiteResource_1.SiteLiteResourceToJSON)(value['site']),
|
|
71
75
|
'seo': (0, SEOResource_1.SEOResourceToJSON)(value['seo']),
|
|
76
|
+
'description': (0, DescriptionResource_1.DescriptionResourceToJSON)(value['description']),
|
|
72
77
|
};
|
|
73
78
|
}
|
|
@@ -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 UpdateSupplierRequest {
|
|
|
58
59
|
* @memberof UpdateSupplierRequest
|
|
59
60
|
*/
|
|
60
61
|
assetFileId: number;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Array<StoreSupplierRequestDescriptionsInner>}
|
|
65
|
+
* @memberof UpdateSupplierRequest
|
|
66
|
+
*/
|
|
67
|
+
descriptions: Array<StoreSupplierRequestDescriptionsInner>;
|
|
61
68
|
}
|
|
62
69
|
/**
|
|
63
70
|
* Check if a given object implements the UpdateSupplierRequest interface.
|
|
@@ -19,6 +19,7 @@ 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");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the UpdateSupplierRequest interface.
|
|
24
25
|
*/
|
|
@@ -35,6 +36,8 @@ function instanceOfUpdateSupplierRequest(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 UpdateSupplierRequestFromJSON(json) {
|
|
@@ -52,6 +55,7 @@ function UpdateSupplierRequestFromJSONTyped(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 UpdateSupplierRequestToJSON(json) {
|
|
@@ -70,5 +74,6 @@ function UpdateSupplierRequestToJSONTyped(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
|
}
|
|
@@ -38,31 +38,25 @@ export interface UpdateTagRequest {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof UpdateTagRequest
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
seoTitle?: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof UpdateTagRequest
|
|
46
46
|
*/
|
|
47
|
-
|
|
47
|
+
seoDescription?: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof UpdateTagRequest
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
headerDescription?: 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;
|
|
66
60
|
}
|
|
67
61
|
/**
|
|
68
62
|
* @export
|
|
@@ -49,11 +49,10 @@ function UpdateTagRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
49
49
|
'name': json['name'],
|
|
50
50
|
'slug': json['slug'],
|
|
51
51
|
'type': json['type'],
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'
|
|
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'],
|
|
55
55
|
'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
|
|
56
|
-
'pageDescription': json['page_description'] == null ? undefined : json['page_description'],
|
|
57
56
|
};
|
|
58
57
|
}
|
|
59
58
|
function UpdateTagRequestToJSON(json) {
|
|
@@ -68,10 +67,9 @@ function UpdateTagRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
68
67
|
'name': value['name'],
|
|
69
68
|
'slug': value['slug'],
|
|
70
69
|
'type': value['type'],
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
70
|
+
'seo_title': value['seoTitle'],
|
|
71
|
+
'seo_description': value['seoDescription'],
|
|
72
|
+
'header_description': value['headerDescription'],
|
|
74
73
|
'footer_description': value['footerDescription'],
|
|
75
|
-
'page_description': value['pageDescription'],
|
|
76
74
|
};
|
|
77
75
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -25,6 +25,8 @@ 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';
|
|
28
30
|
export * from './DestroyAttributeValueRequest';
|
|
29
31
|
export * from './DetachAssetableOverlayTemplateRequest';
|
|
30
32
|
export * from './DetachDocumentablesDocumentRequest';
|
|
@@ -164,6 +166,7 @@ export * from './StoreProductRequestCategoriesInner';
|
|
|
164
166
|
export * from './StoreProductTypeRequest';
|
|
165
167
|
export * from './StoreSiteNotificationRequest';
|
|
166
168
|
export * from './StoreSupplierRequest';
|
|
169
|
+
export * from './StoreSupplierRequestDescriptionsInner';
|
|
167
170
|
export * from './StoreSupplierRequestSeoInner';
|
|
168
171
|
export * from './StoreTagRequest';
|
|
169
172
|
export * from './SupplierFrontendResource';
|
package/dist/models/index.js
CHANGED
|
@@ -43,6 +43,8 @@ __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);
|
|
46
48
|
__exportStar(require("./DestroyAttributeValueRequest"), exports);
|
|
47
49
|
__exportStar(require("./DetachAssetableOverlayTemplateRequest"), exports);
|
|
48
50
|
__exportStar(require("./DetachDocumentablesDocumentRequest"), exports);
|
|
@@ -182,6 +184,7 @@ __exportStar(require("./StoreProductRequestCategoriesInner"), exports);
|
|
|
182
184
|
__exportStar(require("./StoreProductTypeRequest"), exports);
|
|
183
185
|
__exportStar(require("./StoreSiteNotificationRequest"), exports);
|
|
184
186
|
__exportStar(require("./StoreSupplierRequest"), exports);
|
|
187
|
+
__exportStar(require("./StoreSupplierRequestDescriptionsInner"), exports);
|
|
185
188
|
__exportStar(require("./StoreSupplierRequestSeoInner"), exports);
|
|
186
189
|
__exportStar(require("./StoreTagRequest"), exports);
|
|
187
190
|
__exportStar(require("./SupplierFrontendResource"), exports);
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# DescriptionResource
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`id` | number
|
|
10
|
+
`headerDescription` | string
|
|
11
|
+
`footerDescription` | string
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { DescriptionResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"id": null,
|
|
21
|
+
"headerDescription": null,
|
|
22
|
+
"footerDescription": null,
|
|
23
|
+
} satisfies DescriptionResource
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as DescriptionResource
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
|
|
2
|
+
# DescriptionResourceArrayResponse
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`data` | [Array<DescriptionResource>](DescriptionResource.md)
|
|
10
|
+
|
|
11
|
+
## Example
|
|
12
|
+
|
|
13
|
+
```typescript
|
|
14
|
+
import type { DescriptionResourceArrayResponse } from '@digital8/lighting-illusions-ts-sdk'
|
|
15
|
+
|
|
16
|
+
// TODO: Update the object below with actual values
|
|
17
|
+
const example = {
|
|
18
|
+
"data": null,
|
|
19
|
+
} satisfies DescriptionResourceArrayResponse
|
|
20
|
+
|
|
21
|
+
console.log(example)
|
|
22
|
+
|
|
23
|
+
// Convert the instance to a JSON string
|
|
24
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
25
|
+
console.log(exampleJSON)
|
|
26
|
+
|
|
27
|
+
// Parse the JSON string back to an object
|
|
28
|
+
const exampleParsed = JSON.parse(exampleJSON) as DescriptionResourceArrayResponse
|
|
29
|
+
console.log(exampleParsed)
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
33
|
+
|
|
34
|
+
|
package/docs/SEOResource.md
CHANGED
|
@@ -7,12 +7,9 @@
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
9
|
`id` | number
|
|
10
|
-
`
|
|
11
|
-
`
|
|
12
|
-
`keywords` | string
|
|
10
|
+
`seoTitle` | string
|
|
11
|
+
`seoDescription` | string
|
|
13
12
|
`siteId` | number
|
|
14
|
-
`footerDescription` | string
|
|
15
|
-
`pageDescription` | string
|
|
16
13
|
|
|
17
14
|
## Example
|
|
18
15
|
|
|
@@ -22,12 +19,9 @@ import type { SEOResource } from '@digital8/lighting-illusions-ts-sdk'
|
|
|
22
19
|
// TODO: Update the object below with actual values
|
|
23
20
|
const example = {
|
|
24
21
|
"id": null,
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"keywords": null,
|
|
22
|
+
"seoTitle": null,
|
|
23
|
+
"seoDescription": null,
|
|
28
24
|
"siteId": null,
|
|
29
|
-
"footerDescription": null,
|
|
30
|
-
"pageDescription": null,
|
|
31
25
|
} satisfies SEOResource
|
|
32
26
|
|
|
33
27
|
console.log(example)
|
|
@@ -14,10 +14,8 @@ Name | Type
|
|
|
14
14
|
`salePrice` | number
|
|
15
15
|
`slug` | string
|
|
16
16
|
`documents` | Array<number>
|
|
17
|
-
`
|
|
18
|
-
`
|
|
19
|
-
`footerDescription` | string
|
|
20
|
-
`pageDescription` | string
|
|
17
|
+
`seoTitle` | string
|
|
18
|
+
`seoDescription` | string
|
|
21
19
|
|
|
22
20
|
## Example
|
|
23
21
|
|
|
@@ -34,10 +32,8 @@ const example = {
|
|
|
34
32
|
"salePrice": null,
|
|
35
33
|
"slug": null,
|
|
36
34
|
"documents": null,
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"footerDescription": null,
|
|
40
|
-
"pageDescription": null,
|
|
35
|
+
"seoTitle": null,
|
|
36
|
+
"seoDescription": null,
|
|
41
37
|
} satisfies StoreProductChildRequestSitesInner
|
|
42
38
|
|
|
43
39
|
console.log(example)
|
|
@@ -13,6 +13,7 @@ Name | Type
|
|
|
13
13
|
`altText` | string
|
|
14
14
|
`mimeType` | string
|
|
15
15
|
`assetFileId` | number
|
|
16
|
+
`descriptions` | [Array<StoreSupplierRequestDescriptionsInner>](StoreSupplierRequestDescriptionsInner.md)
|
|
16
17
|
|
|
17
18
|
## Example
|
|
18
19
|
|
|
@@ -28,6 +29,7 @@ const example = {
|
|
|
28
29
|
"altText": null,
|
|
29
30
|
"mimeType": null,
|
|
30
31
|
"assetFileId": null,
|
|
32
|
+
"descriptions": null,
|
|
31
33
|
} satisfies StoreSupplierRequest
|
|
32
34
|
|
|
33
35
|
console.log(example)
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# StoreSupplierRequestDescriptionsInner
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`headerDescription` | string
|
|
10
|
+
`footerDescription` | string
|
|
11
|
+
`siteId` | number
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { StoreSupplierRequestDescriptionsInner } from '@digital8/lighting-illusions-ts-sdk'
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"headerDescription": null,
|
|
21
|
+
"footerDescription": null,
|
|
22
|
+
"siteId": null,
|
|
23
|
+
} satisfies StoreSupplierRequestDescriptionsInner
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as StoreSupplierRequestDescriptionsInner
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|
|
@@ -6,11 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
Name | Type
|
|
8
8
|
------------ | -------------
|
|
9
|
-
`
|
|
10
|
-
`
|
|
11
|
-
`keywords` | string
|
|
12
|
-
`footerDescription` | string
|
|
13
|
-
`pageDescription` | string
|
|
9
|
+
`seoTitle` | string
|
|
10
|
+
`seoDescription` | string
|
|
14
11
|
`siteId` | number
|
|
15
12
|
|
|
16
13
|
## Example
|
|
@@ -20,11 +17,8 @@ import type { StoreSupplierRequestSeoInner } from '@digital8/lighting-illusions-
|
|
|
20
17
|
|
|
21
18
|
// TODO: Update the object below with actual values
|
|
22
19
|
const example = {
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"keywords": null,
|
|
26
|
-
"footerDescription": null,
|
|
27
|
-
"pageDescription": null,
|
|
20
|
+
"seoTitle": null,
|
|
21
|
+
"seoDescription": null,
|
|
28
22
|
"siteId": null,
|
|
29
23
|
} satisfies StoreSupplierRequestSeoInner
|
|
30
24
|
|
package/docs/StoreTagRequest.md
CHANGED
|
@@ -10,11 +10,10 @@ Name | Type
|
|
|
10
10
|
`slug` | string
|
|
11
11
|
`siteId` | number
|
|
12
12
|
`type` | string
|
|
13
|
-
`
|
|
14
|
-
`
|
|
15
|
-
`
|
|
13
|
+
`seoTitle` | string
|
|
14
|
+
`seoDescription` | string
|
|
15
|
+
`headerDescription` | string
|
|
16
16
|
`footerDescription` | string
|
|
17
|
-
`pageDescription` | string
|
|
18
17
|
|
|
19
18
|
## Example
|
|
20
19
|
|
|
@@ -27,11 +26,10 @@ const example = {
|
|
|
27
26
|
"slug": null,
|
|
28
27
|
"siteId": null,
|
|
29
28
|
"type": null,
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
29
|
+
"seoTitle": null,
|
|
30
|
+
"seoDescription": null,
|
|
31
|
+
"headerDescription": null,
|
|
33
32
|
"footerDescription": null,
|
|
34
|
-
"pageDescription": null,
|
|
35
33
|
} satisfies StoreTagRequest
|
|
36
34
|
|
|
37
35
|
console.log(example)
|