@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
|
@@ -42,7 +42,7 @@ export interface StoreProductChildRequestSitesInner {
|
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof StoreProductChildRequestSitesInner
|
|
44
44
|
*/
|
|
45
|
-
description
|
|
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
|
-
|
|
75
|
+
title?: string;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @type {string}
|
|
79
79
|
* @memberof StoreProductChildRequestSitesInner
|
|
80
80
|
*/
|
|
81
|
-
|
|
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
|
-
'
|
|
116
|
-
'
|
|
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
|
-
'
|
|
140
|
-
'
|
|
152
|
+
'title': value['title'],
|
|
153
|
+
'keywords': value['keywords'],
|
|
154
|
+
'footer_description': value['footerDescription'],
|
|
155
|
+
'page_description': value['pageDescription'],
|
|
141
156
|
};
|
|
142
157
|
}
|
|
143
158
|
|
|
@@ -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';
|
|
@@ -168,7 +166,6 @@ export * from './StoreProductRequestCategoriesInner';
|
|
|
168
166
|
export * from './StoreProductTypeRequest';
|
|
169
167
|
export * from './StoreSiteNotificationRequest';
|
|
170
168
|
export * from './StoreSupplierRequest';
|
|
171
|
-
export * from './StoreSupplierRequestDescriptionsInner';
|
|
172
169
|
export * from './StoreSupplierRequestSeoInner';
|
|
173
170
|
export * from './StoreTagRequest';
|
|
174
171
|
export * from './SupplierFrontendResource';
|
|
@@ -1,50 +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
|
-
* @type {number}
|
|
39
|
-
* @memberof DescriptionResource
|
|
40
|
-
*/
|
|
41
|
-
siteId: number;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the DescriptionResource interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfDescriptionResource(value: object): value is DescriptionResource;
|
|
47
|
-
export declare function DescriptionResourceFromJSON(json: any): DescriptionResource;
|
|
48
|
-
export declare function DescriptionResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): DescriptionResource;
|
|
49
|
-
export declare function DescriptionResourceToJSON(json: any): DescriptionResource;
|
|
50
|
-
export declare function DescriptionResourceToJSONTyped(value?: DescriptionResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,63 +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
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
function DescriptionResourceFromJSON(json) {
|
|
36
|
-
return DescriptionResourceFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
function DescriptionResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json == null) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'id': json['id'],
|
|
44
|
-
'headerDescription': json['headerDescription'],
|
|
45
|
-
'footerDescription': json['footerDescription'],
|
|
46
|
-
'siteId': json['siteId'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function DescriptionResourceToJSON(json) {
|
|
50
|
-
return DescriptionResourceToJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
function DescriptionResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
-
if (value == null) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'id': value['id'],
|
|
59
|
-
'headerDescription': value['headerDescription'],
|
|
60
|
-
'footerDescription': value['footerDescription'],
|
|
61
|
-
'siteId': value['siteId'],
|
|
62
|
-
};
|
|
63
|
-
}
|