@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.
- package/.openapi-generator/FILES +0 -6
- package/README.md +6 -9
- package/dist/apis/DocumentApi.js +2 -2
- package/dist/apis/ProductChildSiteDetailApi.js +2 -2
- 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/DocumentApi.md +2 -2
- package/docs/ProductChildSiteDetailApi.md +2 -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/apis/DocumentApi.ts +2 -2
- package/src/apis/ProductChildSiteDetailApi.ts +2 -2
- 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 -44
- package/dist/models/DescriptionResource.js +0 -59
- 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 -38
- package/docs/DescriptionResourceArrayResponse.md +0 -34
- package/docs/StoreSupplierRequestDescriptionsInner.md +0 -38
- package/src/models/DescriptionResource.ts +0 -84
- package/src/models/DescriptionResourceArrayResponse.ts +0 -73
- package/src/models/StoreSupplierRequestDescriptionsInner.ts +0 -82
|
@@ -20,13 +20,6 @@ import {
|
|
|
20
20
|
StoreSupplierRequestSeoInnerToJSON,
|
|
21
21
|
StoreSupplierRequestSeoInnerToJSONTyped,
|
|
22
22
|
} from './StoreSupplierRequestSeoInner';
|
|
23
|
-
import type { StoreSupplierRequestDescriptionsInner } from './StoreSupplierRequestDescriptionsInner';
|
|
24
|
-
import {
|
|
25
|
-
StoreSupplierRequestDescriptionsInnerFromJSON,
|
|
26
|
-
StoreSupplierRequestDescriptionsInnerFromJSONTyped,
|
|
27
|
-
StoreSupplierRequestDescriptionsInnerToJSON,
|
|
28
|
-
StoreSupplierRequestDescriptionsInnerToJSONTyped,
|
|
29
|
-
} from './StoreSupplierRequestDescriptionsInner';
|
|
30
23
|
|
|
31
24
|
/**
|
|
32
25
|
*
|
|
@@ -76,12 +69,6 @@ export interface StoreSupplierRequest {
|
|
|
76
69
|
* @memberof StoreSupplierRequest
|
|
77
70
|
*/
|
|
78
71
|
assetFileId: number;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {Array<StoreSupplierRequestDescriptionsInner>}
|
|
82
|
-
* @memberof StoreSupplierRequest
|
|
83
|
-
*/
|
|
84
|
-
descriptions: Array<StoreSupplierRequestDescriptionsInner>;
|
|
85
72
|
}
|
|
86
73
|
|
|
87
74
|
/**
|
|
@@ -94,7 +81,6 @@ export function instanceOfStoreSupplierRequest(value: object): value is StoreSup
|
|
|
94
81
|
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
95
82
|
if (!('mimeType' in value) || value['mimeType'] === undefined) return false;
|
|
96
83
|
if (!('assetFileId' in value) || value['assetFileId'] === undefined) return false;
|
|
97
|
-
if (!('descriptions' in value) || value['descriptions'] === undefined) return false;
|
|
98
84
|
return true;
|
|
99
85
|
}
|
|
100
86
|
|
|
@@ -115,7 +101,6 @@ export function StoreSupplierRequestFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
115
101
|
'altText': json['alt_text'] == null ? undefined : json['alt_text'],
|
|
116
102
|
'mimeType': json['mime_type'],
|
|
117
103
|
'assetFileId': json['asset_file_id'],
|
|
118
|
-
'descriptions': ((json['descriptions'] as Array<any>).map(StoreSupplierRequestDescriptionsInnerFromJSON)),
|
|
119
104
|
};
|
|
120
105
|
}
|
|
121
106
|
|
|
@@ -137,7 +122,6 @@ export function StoreSupplierRequestToJSONTyped(value?: StoreSupplierRequest | n
|
|
|
137
122
|
'alt_text': value['altText'],
|
|
138
123
|
'mime_type': value['mimeType'],
|
|
139
124
|
'asset_file_id': value['assetFileId'],
|
|
140
|
-
'descriptions': ((value['descriptions'] as Array<any>).map(StoreSupplierRequestDescriptionsInnerToJSON)),
|
|
141
125
|
};
|
|
142
126
|
}
|
|
143
127
|
|
|
@@ -24,13 +24,31 @@ export interface StoreSupplierRequestSeoInner {
|
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof StoreSupplierRequestSeoInner
|
|
26
26
|
*/
|
|
27
|
-
|
|
27
|
+
title?: string;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof StoreSupplierRequestSeoInner
|
|
32
32
|
*/
|
|
33
|
-
|
|
33
|
+
description?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof StoreSupplierRequestSeoInner
|
|
38
|
+
*/
|
|
39
|
+
keywords?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof StoreSupplierRequestSeoInner
|
|
44
|
+
*/
|
|
45
|
+
footerDescription?: string;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {string}
|
|
49
|
+
* @memberof StoreSupplierRequestSeoInner
|
|
50
|
+
*/
|
|
51
|
+
pageDescription?: string;
|
|
34
52
|
/**
|
|
35
53
|
*
|
|
36
54
|
* @type {number}
|
|
@@ -57,8 +75,11 @@ export function StoreSupplierRequestSeoInnerFromJSONTyped(json: any, ignoreDiscr
|
|
|
57
75
|
}
|
|
58
76
|
return {
|
|
59
77
|
|
|
60
|
-
'
|
|
61
|
-
'
|
|
78
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
79
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
80
|
+
'keywords': json['keywords'] == null ? undefined : json['keywords'],
|
|
81
|
+
'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
|
|
82
|
+
'pageDescription': json['page_description'] == null ? undefined : json['page_description'],
|
|
62
83
|
'siteId': json['site_id'],
|
|
63
84
|
};
|
|
64
85
|
}
|
|
@@ -74,8 +95,11 @@ export function StoreSupplierRequestSeoInnerToJSONTyped(value?: StoreSupplierReq
|
|
|
74
95
|
|
|
75
96
|
return {
|
|
76
97
|
|
|
77
|
-
'
|
|
78
|
-
'
|
|
98
|
+
'title': value['title'],
|
|
99
|
+
'description': value['description'],
|
|
100
|
+
'keywords': value['keywords'],
|
|
101
|
+
'footer_description': value['footerDescription'],
|
|
102
|
+
'page_description': value['pageDescription'],
|
|
79
103
|
'site_id': value['siteId'],
|
|
80
104
|
};
|
|
81
105
|
}
|
|
@@ -48,25 +48,31 @@ export interface StoreTagRequest {
|
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof StoreTagRequest
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
title?: string;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {string}
|
|
55
55
|
* @memberof StoreTagRequest
|
|
56
56
|
*/
|
|
57
|
-
|
|
57
|
+
description?: string;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {string}
|
|
61
61
|
* @memberof StoreTagRequest
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
keywords?: string;
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
66
66
|
* @type {string}
|
|
67
67
|
* @memberof StoreTagRequest
|
|
68
68
|
*/
|
|
69
69
|
footerDescription?: string;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {string}
|
|
73
|
+
* @memberof StoreTagRequest
|
|
74
|
+
*/
|
|
75
|
+
pageDescription?: string;
|
|
70
76
|
}
|
|
71
77
|
|
|
72
78
|
|
|
@@ -105,10 +111,11 @@ export function StoreTagRequestFromJSONTyped(json: any, ignoreDiscriminator: boo
|
|
|
105
111
|
'slug': json['slug'],
|
|
106
112
|
'siteId': json['site_id'],
|
|
107
113
|
'type': json['type'],
|
|
108
|
-
'
|
|
109
|
-
'
|
|
110
|
-
'
|
|
114
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
115
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
116
|
+
'keywords': json['keywords'] == null ? undefined : json['keywords'],
|
|
111
117
|
'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
|
|
118
|
+
'pageDescription': json['page_description'] == null ? undefined : json['page_description'],
|
|
112
119
|
};
|
|
113
120
|
}
|
|
114
121
|
|
|
@@ -127,10 +134,11 @@ export function StoreTagRequestToJSONTyped(value?: StoreTagRequest | null, ignor
|
|
|
127
134
|
'slug': value['slug'],
|
|
128
135
|
'site_id': value['siteId'],
|
|
129
136
|
'type': value['type'],
|
|
130
|
-
'
|
|
131
|
-
'
|
|
132
|
-
'
|
|
137
|
+
'title': value['title'],
|
|
138
|
+
'description': value['description'],
|
|
139
|
+
'keywords': value['keywords'],
|
|
133
140
|
'footer_description': value['footerDescription'],
|
|
141
|
+
'page_description': value['pageDescription'],
|
|
134
142
|
};
|
|
135
143
|
}
|
|
136
144
|
|
|
@@ -13,13 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { DescriptionResource } from './DescriptionResource';
|
|
17
|
-
import {
|
|
18
|
-
DescriptionResourceFromJSON,
|
|
19
|
-
DescriptionResourceFromJSONTyped,
|
|
20
|
-
DescriptionResourceToJSON,
|
|
21
|
-
DescriptionResourceToJSONTyped,
|
|
22
|
-
} from './DescriptionResource';
|
|
23
16
|
import type { AssetResource } from './AssetResource';
|
|
24
17
|
import {
|
|
25
18
|
AssetResourceFromJSON,
|
|
@@ -77,12 +70,6 @@ export interface SupplierFrontendResource {
|
|
|
77
70
|
* @memberof SupplierFrontendResource
|
|
78
71
|
*/
|
|
79
72
|
seo: SEOResource | null;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {Array<DescriptionResource>}
|
|
83
|
-
* @memberof SupplierFrontendResource
|
|
84
|
-
*/
|
|
85
|
-
descriptions: Array<DescriptionResource> | null;
|
|
86
73
|
}
|
|
87
74
|
|
|
88
75
|
/**
|
|
@@ -95,7 +82,6 @@ export function instanceOfSupplierFrontendResource(value: object): value is Supp
|
|
|
95
82
|
if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
|
|
96
83
|
if (!('supplierEta' in value) || value['supplierEta'] === undefined) return false;
|
|
97
84
|
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
98
|
-
if (!('descriptions' in value) || value['descriptions'] === undefined) return false;
|
|
99
85
|
return true;
|
|
100
86
|
}
|
|
101
87
|
|
|
@@ -115,7 +101,6 @@ export function SupplierFrontendResourceFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
115
101
|
'thumbnail': AssetResourceFromJSON(json['thumbnail']),
|
|
116
102
|
'supplierEta': json['supplierEta'],
|
|
117
103
|
'seo': SEOResourceFromJSON(json['seo']),
|
|
118
|
-
'descriptions': (json['descriptions'] == null ? null : (json['descriptions'] as Array<any>).map(DescriptionResourceFromJSON)),
|
|
119
104
|
};
|
|
120
105
|
}
|
|
121
106
|
|
|
@@ -136,7 +121,6 @@ export function SupplierFrontendResourceToJSONTyped(value?: SupplierFrontendReso
|
|
|
136
121
|
'thumbnail': AssetResourceToJSON(value['thumbnail']),
|
|
137
122
|
'supplierEta': value['supplierEta'],
|
|
138
123
|
'seo': SEOResourceToJSON(value['seo']),
|
|
139
|
-
'descriptions': (value['descriptions'] == null ? null : (value['descriptions'] as Array<any>).map(DescriptionResourceToJSON)),
|
|
140
124
|
};
|
|
141
125
|
}
|
|
142
126
|
|
|
@@ -13,13 +13,6 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type { DescriptionResource } from './DescriptionResource';
|
|
17
|
-
import {
|
|
18
|
-
DescriptionResourceFromJSON,
|
|
19
|
-
DescriptionResourceFromJSONTyped,
|
|
20
|
-
DescriptionResourceToJSON,
|
|
21
|
-
DescriptionResourceToJSONTyped,
|
|
22
|
-
} from './DescriptionResource';
|
|
23
16
|
import type { AssetResource } from './AssetResource';
|
|
24
17
|
import {
|
|
25
18
|
AssetResourceFromJSON,
|
|
@@ -77,12 +70,6 @@ export interface SupplierResource {
|
|
|
77
70
|
* @memberof SupplierResource
|
|
78
71
|
*/
|
|
79
72
|
seo: Array<SEOResource> | null;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {Array<DescriptionResource>}
|
|
83
|
-
* @memberof SupplierResource
|
|
84
|
-
*/
|
|
85
|
-
descriptions: Array<DescriptionResource> | null;
|
|
86
73
|
}
|
|
87
74
|
|
|
88
75
|
/**
|
|
@@ -95,7 +82,6 @@ export function instanceOfSupplierResource(value: object): value is SupplierReso
|
|
|
95
82
|
if (!('thumbnail' in value) || value['thumbnail'] === undefined) return false;
|
|
96
83
|
if (!('supplierEta' in value) || value['supplierEta'] === undefined) return false;
|
|
97
84
|
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
98
|
-
if (!('descriptions' in value) || value['descriptions'] === undefined) return false;
|
|
99
85
|
return true;
|
|
100
86
|
}
|
|
101
87
|
|
|
@@ -115,7 +101,6 @@ export function SupplierResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
115
101
|
'thumbnail': AssetResourceFromJSON(json['thumbnail']),
|
|
116
102
|
'supplierEta': json['supplierEta'],
|
|
117
103
|
'seo': (json['seo'] == null ? null : (json['seo'] as Array<any>).map(SEOResourceFromJSON)),
|
|
118
|
-
'descriptions': (json['descriptions'] == null ? null : (json['descriptions'] as Array<any>).map(DescriptionResourceFromJSON)),
|
|
119
104
|
};
|
|
120
105
|
}
|
|
121
106
|
|
|
@@ -136,7 +121,6 @@ export function SupplierResourceToJSONTyped(value?: SupplierResource | null, ign
|
|
|
136
121
|
'thumbnail': AssetResourceToJSON(value['thumbnail']),
|
|
137
122
|
'supplierEta': value['supplierEta'],
|
|
138
123
|
'seo': (value['seo'] == null ? null : (value['seo'] as Array<any>).map(SEOResourceToJSON)),
|
|
139
|
-
'descriptions': (value['descriptions'] == null ? null : (value['descriptions'] as Array<any>).map(DescriptionResourceToJSON)),
|
|
140
124
|
};
|
|
141
125
|
}
|
|
142
126
|
|
|
@@ -20,13 +20,6 @@ import {
|
|
|
20
20
|
SiteLiteResourceToJSON,
|
|
21
21
|
SiteLiteResourceToJSONTyped,
|
|
22
22
|
} from './SiteLiteResource';
|
|
23
|
-
import type { DescriptionResource } from './DescriptionResource';
|
|
24
|
-
import {
|
|
25
|
-
DescriptionResourceFromJSON,
|
|
26
|
-
DescriptionResourceFromJSONTyped,
|
|
27
|
-
DescriptionResourceToJSON,
|
|
28
|
-
DescriptionResourceToJSONTyped,
|
|
29
|
-
} from './DescriptionResource';
|
|
30
23
|
import type { SEOResource } from './SEOResource';
|
|
31
24
|
import {
|
|
32
25
|
SEOResourceFromJSON,
|
|
@@ -77,12 +70,6 @@ export interface TagResource {
|
|
|
77
70
|
* @memberof TagResource
|
|
78
71
|
*/
|
|
79
72
|
seo: SEOResource | null;
|
|
80
|
-
/**
|
|
81
|
-
*
|
|
82
|
-
* @type {DescriptionResource}
|
|
83
|
-
* @memberof TagResource
|
|
84
|
-
*/
|
|
85
|
-
description: DescriptionResource | null;
|
|
86
73
|
}
|
|
87
74
|
|
|
88
75
|
/**
|
|
@@ -95,7 +82,6 @@ export function instanceOfTagResource(value: object): value is TagResource {
|
|
|
95
82
|
if (!('type' in value) || value['type'] === undefined) return false;
|
|
96
83
|
if (!('site' in value) || value['site'] === undefined) return false;
|
|
97
84
|
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
98
|
-
if (!('description' in value) || value['description'] === undefined) return false;
|
|
99
85
|
return true;
|
|
100
86
|
}
|
|
101
87
|
|
|
@@ -115,7 +101,6 @@ export function TagResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean
|
|
|
115
101
|
'type': json['type'],
|
|
116
102
|
'site': SiteLiteResourceFromJSON(json['site']),
|
|
117
103
|
'seo': SEOResourceFromJSON(json['seo']),
|
|
118
|
-
'description': DescriptionResourceFromJSON(json['description']),
|
|
119
104
|
};
|
|
120
105
|
}
|
|
121
106
|
|
|
@@ -136,7 +121,6 @@ export function TagResourceToJSONTyped(value?: TagResource | null, ignoreDiscrim
|
|
|
136
121
|
'type': value['type'],
|
|
137
122
|
'site': SiteLiteResourceToJSON(value['site']),
|
|
138
123
|
'seo': SEOResourceToJSON(value['seo']),
|
|
139
|
-
'description': DescriptionResourceToJSON(value['description']),
|
|
140
124
|
};
|
|
141
125
|
}
|
|
142
126
|
|
|
@@ -20,13 +20,6 @@ import {
|
|
|
20
20
|
StoreSupplierRequestSeoInnerToJSON,
|
|
21
21
|
StoreSupplierRequestSeoInnerToJSONTyped,
|
|
22
22
|
} from './StoreSupplierRequestSeoInner';
|
|
23
|
-
import type { StoreSupplierRequestDescriptionsInner } from './StoreSupplierRequestDescriptionsInner';
|
|
24
|
-
import {
|
|
25
|
-
StoreSupplierRequestDescriptionsInnerFromJSON,
|
|
26
|
-
StoreSupplierRequestDescriptionsInnerFromJSONTyped,
|
|
27
|
-
StoreSupplierRequestDescriptionsInnerToJSON,
|
|
28
|
-
StoreSupplierRequestDescriptionsInnerToJSONTyped,
|
|
29
|
-
} from './StoreSupplierRequestDescriptionsInner';
|
|
30
23
|
|
|
31
24
|
/**
|
|
32
25
|
*
|
|
@@ -76,12 +69,6 @@ export interface UpdateSupplierRequest {
|
|
|
76
69
|
* @memberof UpdateSupplierRequest
|
|
77
70
|
*/
|
|
78
71
|
assetFileId: number;
|
|
79
|
-
/**
|
|
80
|
-
*
|
|
81
|
-
* @type {Array<StoreSupplierRequestDescriptionsInner>}
|
|
82
|
-
* @memberof UpdateSupplierRequest
|
|
83
|
-
*/
|
|
84
|
-
descriptions: Array<StoreSupplierRequestDescriptionsInner>;
|
|
85
72
|
}
|
|
86
73
|
|
|
87
74
|
/**
|
|
@@ -94,7 +81,6 @@ export function instanceOfUpdateSupplierRequest(value: object): value is UpdateS
|
|
|
94
81
|
if (!('seo' in value) || value['seo'] === undefined) return false;
|
|
95
82
|
if (!('mimeType' in value) || value['mimeType'] === undefined) return false;
|
|
96
83
|
if (!('assetFileId' in value) || value['assetFileId'] === undefined) return false;
|
|
97
|
-
if (!('descriptions' in value) || value['descriptions'] === undefined) return false;
|
|
98
84
|
return true;
|
|
99
85
|
}
|
|
100
86
|
|
|
@@ -115,7 +101,6 @@ export function UpdateSupplierRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
115
101
|
'altText': json['alt_text'] == null ? undefined : json['alt_text'],
|
|
116
102
|
'mimeType': json['mime_type'],
|
|
117
103
|
'assetFileId': json['asset_file_id'],
|
|
118
|
-
'descriptions': ((json['descriptions'] as Array<any>).map(StoreSupplierRequestDescriptionsInnerFromJSON)),
|
|
119
104
|
};
|
|
120
105
|
}
|
|
121
106
|
|
|
@@ -137,7 +122,6 @@ export function UpdateSupplierRequestToJSONTyped(value?: UpdateSupplierRequest |
|
|
|
137
122
|
'alt_text': value['altText'],
|
|
138
123
|
'mime_type': value['mimeType'],
|
|
139
124
|
'asset_file_id': value['assetFileId'],
|
|
140
|
-
'descriptions': ((value['descriptions'] as Array<any>).map(StoreSupplierRequestDescriptionsInnerToJSON)),
|
|
141
125
|
};
|
|
142
126
|
}
|
|
143
127
|
|
|
@@ -42,25 +42,31 @@ export interface UpdateTagRequest {
|
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof UpdateTagRequest
|
|
44
44
|
*/
|
|
45
|
-
|
|
45
|
+
title?: string;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {string}
|
|
49
49
|
* @memberof UpdateTagRequest
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
description?: string;
|
|
52
52
|
/**
|
|
53
53
|
*
|
|
54
54
|
* @type {string}
|
|
55
55
|
* @memberof UpdateTagRequest
|
|
56
56
|
*/
|
|
57
|
-
|
|
57
|
+
keywords?: string;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
60
|
* @type {string}
|
|
61
61
|
* @memberof UpdateTagRequest
|
|
62
62
|
*/
|
|
63
63
|
footerDescription?: string;
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {string}
|
|
67
|
+
* @memberof UpdateTagRequest
|
|
68
|
+
*/
|
|
69
|
+
pageDescription?: string;
|
|
64
70
|
}
|
|
65
71
|
|
|
66
72
|
|
|
@@ -97,10 +103,11 @@ export function UpdateTagRequestFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
97
103
|
'name': json['name'],
|
|
98
104
|
'slug': json['slug'],
|
|
99
105
|
'type': json['type'],
|
|
100
|
-
'
|
|
101
|
-
'
|
|
102
|
-
'
|
|
106
|
+
'title': json['title'] == null ? undefined : json['title'],
|
|
107
|
+
'description': json['description'] == null ? undefined : json['description'],
|
|
108
|
+
'keywords': json['keywords'] == null ? undefined : json['keywords'],
|
|
103
109
|
'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
|
|
110
|
+
'pageDescription': json['page_description'] == null ? undefined : json['page_description'],
|
|
104
111
|
};
|
|
105
112
|
}
|
|
106
113
|
|
|
@@ -118,10 +125,11 @@ export function UpdateTagRequestToJSONTyped(value?: UpdateTagRequest | null, ign
|
|
|
118
125
|
'name': value['name'],
|
|
119
126
|
'slug': value['slug'],
|
|
120
127
|
'type': value['type'],
|
|
121
|
-
'
|
|
122
|
-
'
|
|
123
|
-
'
|
|
128
|
+
'title': value['title'],
|
|
129
|
+
'description': value['description'],
|
|
130
|
+
'keywords': value['keywords'],
|
|
124
131
|
'footer_description': value['footerDescription'],
|
|
132
|
+
'page_description': value['pageDescription'],
|
|
125
133
|
};
|
|
126
134
|
}
|
|
127
135
|
|
package/src/models/index.ts
CHANGED
|
@@ -27,8 +27,6 @@ export * from './AttributeType';
|
|
|
27
27
|
export * from './AttributeValueResource';
|
|
28
28
|
export * from './AttributeValueResourceArrayResponse';
|
|
29
29
|
export * from './CouponDiscountType';
|
|
30
|
-
export * from './DescriptionResource';
|
|
31
|
-
export * from './DescriptionResourceArrayResponse';
|
|
32
30
|
export * from './DestroyAttributeValueRequest';
|
|
33
31
|
export * from './DetachAssetableOverlayTemplateRequest';
|
|
34
32
|
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';
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface DescriptionResource
|
|
16
|
-
*/
|
|
17
|
-
export interface DescriptionResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof DescriptionResource
|
|
22
|
-
*/
|
|
23
|
-
id: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof DescriptionResource
|
|
28
|
-
*/
|
|
29
|
-
headerDescription: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof DescriptionResource
|
|
34
|
-
*/
|
|
35
|
-
footerDescription: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the DescriptionResource interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfDescriptionResource(value: object): value is DescriptionResource;
|
|
41
|
-
export declare function DescriptionResourceFromJSON(json: any): DescriptionResource;
|
|
42
|
-
export declare function DescriptionResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DescriptionResource;
|
|
43
|
-
export declare function DescriptionResourceToJSON(json: any): DescriptionResource;
|
|
44
|
-
export declare function DescriptionResourceToJSONTyped(value?: DescriptionResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfDescriptionResource = instanceOfDescriptionResource;
|
|
17
|
-
exports.DescriptionResourceFromJSON = DescriptionResourceFromJSON;
|
|
18
|
-
exports.DescriptionResourceFromJSONTyped = DescriptionResourceFromJSONTyped;
|
|
19
|
-
exports.DescriptionResourceToJSON = DescriptionResourceToJSON;
|
|
20
|
-
exports.DescriptionResourceToJSONTyped = DescriptionResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the DescriptionResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfDescriptionResource(value) {
|
|
25
|
-
if (!('id' in value) || value['id'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('headerDescription' in value) || value['headerDescription'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('footerDescription' in value) || value['footerDescription'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function DescriptionResourceFromJSON(json) {
|
|
34
|
-
return DescriptionResourceFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function DescriptionResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'id': json['id'],
|
|
42
|
-
'headerDescription': json['headerDescription'],
|
|
43
|
-
'footerDescription': json['footerDescription'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function DescriptionResourceToJSON(json) {
|
|
47
|
-
return DescriptionResourceToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function DescriptionResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'id': value['id'],
|
|
56
|
-
'headerDescription': value['headerDescription'],
|
|
57
|
-
'footerDescription': value['footerDescription'],
|
|
58
|
-
};
|
|
59
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { DescriptionResource } from './DescriptionResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface DescriptionResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface DescriptionResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<DescriptionResource>}
|
|
22
|
-
* @memberof DescriptionResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<DescriptionResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the DescriptionResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfDescriptionResourceArrayResponse(value: object): value is DescriptionResourceArrayResponse;
|
|
30
|
-
export declare function DescriptionResourceArrayResponseFromJSON(json: any): DescriptionResourceArrayResponse;
|
|
31
|
-
export declare function DescriptionResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DescriptionResourceArrayResponse;
|
|
32
|
-
export declare function DescriptionResourceArrayResponseToJSON(json: any): DescriptionResourceArrayResponse;
|
|
33
|
-
export declare function DescriptionResourceArrayResponseToJSONTyped(value?: DescriptionResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfDescriptionResourceArrayResponse = instanceOfDescriptionResourceArrayResponse;
|
|
17
|
-
exports.DescriptionResourceArrayResponseFromJSON = DescriptionResourceArrayResponseFromJSON;
|
|
18
|
-
exports.DescriptionResourceArrayResponseFromJSONTyped = DescriptionResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.DescriptionResourceArrayResponseToJSON = DescriptionResourceArrayResponseToJSON;
|
|
20
|
-
exports.DescriptionResourceArrayResponseToJSONTyped = DescriptionResourceArrayResponseToJSONTyped;
|
|
21
|
-
var DescriptionResource_1 = require("./DescriptionResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the DescriptionResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfDescriptionResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function DescriptionResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return DescriptionResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function DescriptionResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(DescriptionResource_1.DescriptionResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function DescriptionResourceArrayResponseToJSON(json) {
|
|
40
|
-
return DescriptionResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function DescriptionResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(DescriptionResource_1.DescriptionResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|