@digital8/lighting-illusions-ts-sdk 0.0.474 → 0.0.475
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/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/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
package/.openapi-generator/FILES
CHANGED
|
@@ -31,6 +31,8 @@ docs/AttributeType.md
|
|
|
31
31
|
docs/AttributeValueResource.md
|
|
32
32
|
docs/AttributeValueResourceArrayResponse.md
|
|
33
33
|
docs/CouponDiscountType.md
|
|
34
|
+
docs/DescriptionResource.md
|
|
35
|
+
docs/DescriptionResourceArrayResponse.md
|
|
34
36
|
docs/DestroyAttributeValueRequest.md
|
|
35
37
|
docs/DetachAssetableOverlayTemplateRequest.md
|
|
36
38
|
docs/DetachDocumentablesDocumentRequest.md
|
|
@@ -175,6 +177,7 @@ docs/StoreProductRequestCategoriesInner.md
|
|
|
175
177
|
docs/StoreProductTypeRequest.md
|
|
176
178
|
docs/StoreSiteNotificationRequest.md
|
|
177
179
|
docs/StoreSupplierRequest.md
|
|
180
|
+
docs/StoreSupplierRequestDescriptionsInner.md
|
|
178
181
|
docs/StoreSupplierRequestSeoInner.md
|
|
179
182
|
docs/StoreTagRequest.md
|
|
180
183
|
docs/SupplierApi.md
|
|
@@ -251,6 +254,8 @@ src/models/AttributeType.ts
|
|
|
251
254
|
src/models/AttributeValueResource.ts
|
|
252
255
|
src/models/AttributeValueResourceArrayResponse.ts
|
|
253
256
|
src/models/CouponDiscountType.ts
|
|
257
|
+
src/models/DescriptionResource.ts
|
|
258
|
+
src/models/DescriptionResourceArrayResponse.ts
|
|
254
259
|
src/models/DestroyAttributeValueRequest.ts
|
|
255
260
|
src/models/DetachAssetableOverlayTemplateRequest.ts
|
|
256
261
|
src/models/DetachDocumentablesDocumentRequest.ts
|
|
@@ -388,6 +393,7 @@ src/models/StoreProductRequestCategoriesInner.ts
|
|
|
388
393
|
src/models/StoreProductTypeRequest.ts
|
|
389
394
|
src/models/StoreSiteNotificationRequest.ts
|
|
390
395
|
src/models/StoreSupplierRequest.ts
|
|
396
|
+
src/models/StoreSupplierRequestDescriptionsInner.ts
|
|
391
397
|
src/models/StoreSupplierRequestSeoInner.ts
|
|
392
398
|
src/models/StoreTagRequest.ts
|
|
393
399
|
src/models/SupplierFrontendResource.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @digital8/lighting-illusions-ts-sdk@0.0.
|
|
1
|
+
# @digital8/lighting-illusions-ts-sdk@0.0.475
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -170,6 +170,8 @@ All URIs are relative to *http://localhost/api*
|
|
|
170
170
|
- [AttributeValueResource](docs/AttributeValueResource.md)
|
|
171
171
|
- [AttributeValueResourceArrayResponse](docs/AttributeValueResourceArrayResponse.md)
|
|
172
172
|
- [CouponDiscountType](docs/CouponDiscountType.md)
|
|
173
|
+
- [DescriptionResource](docs/DescriptionResource.md)
|
|
174
|
+
- [DescriptionResourceArrayResponse](docs/DescriptionResourceArrayResponse.md)
|
|
173
175
|
- [DestroyAttributeValueRequest](docs/DestroyAttributeValueRequest.md)
|
|
174
176
|
- [DetachAssetableOverlayTemplateRequest](docs/DetachAssetableOverlayTemplateRequest.md)
|
|
175
177
|
- [DetachDocumentablesDocumentRequest](docs/DetachDocumentablesDocumentRequest.md)
|
|
@@ -307,6 +309,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
307
309
|
- [StoreProductTypeRequest](docs/StoreProductTypeRequest.md)
|
|
308
310
|
- [StoreSiteNotificationRequest](docs/StoreSiteNotificationRequest.md)
|
|
309
311
|
- [StoreSupplierRequest](docs/StoreSupplierRequest.md)
|
|
312
|
+
- [StoreSupplierRequestDescriptionsInner](docs/StoreSupplierRequestDescriptionsInner.md)
|
|
310
313
|
- [StoreSupplierRequestSeoInner](docs/StoreSupplierRequestSeoInner.md)
|
|
311
314
|
- [StoreTagRequest](docs/StoreTagRequest.md)
|
|
312
315
|
- [SupplierFrontendResource](docs/SupplierFrontendResource.md)
|
|
@@ -353,7 +356,7 @@ and is automatically generated by the
|
|
|
353
356
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
354
357
|
|
|
355
358
|
- API version: `1.0.0`
|
|
356
|
-
- Package version: `0.0.
|
|
359
|
+
- Package version: `0.0.475`
|
|
357
360
|
- Generator version: `7.17.0`
|
|
358
361
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
359
362
|
|
|
@@ -0,0 +1,44 @@
|
|
|
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;
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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;
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
}
|
|
@@ -26,37 +26,19 @@ export interface SEOResource {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof SEOResource
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
seoTitle: string;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof SEOResource
|
|
34
34
|
*/
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof SEOResource
|
|
40
|
-
*/
|
|
41
|
-
keywords: string;
|
|
35
|
+
seoDescription: string;
|
|
42
36
|
/**
|
|
43
37
|
*
|
|
44
38
|
* @type {number}
|
|
45
39
|
* @memberof SEOResource
|
|
46
40
|
*/
|
|
47
41
|
siteId: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof SEOResource
|
|
52
|
-
*/
|
|
53
|
-
footerDescription: string;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {string}
|
|
57
|
-
* @memberof SEOResource
|
|
58
|
-
*/
|
|
59
|
-
pageDescription: string;
|
|
60
42
|
}
|
|
61
43
|
/**
|
|
62
44
|
* Check if a given object implements the SEOResource interface.
|
|
@@ -24,18 +24,12 @@ exports.SEOResourceToJSONTyped = SEOResourceToJSONTyped;
|
|
|
24
24
|
function instanceOfSEOResource(value) {
|
|
25
25
|
if (!('id' in value) || value['id'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('
|
|
27
|
+
if (!('seoTitle' in value) || value['seoTitle'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
-
if (!('
|
|
30
|
-
return false;
|
|
31
|
-
if (!('keywords' in value) || value['keywords'] === undefined)
|
|
29
|
+
if (!('seoDescription' in value) || value['seoDescription'] === undefined)
|
|
32
30
|
return false;
|
|
33
31
|
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
34
32
|
return false;
|
|
35
|
-
if (!('footerDescription' in value) || value['footerDescription'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('pageDescription' in value) || value['pageDescription'] === undefined)
|
|
38
|
-
return false;
|
|
39
33
|
return true;
|
|
40
34
|
}
|
|
41
35
|
function SEOResourceFromJSON(json) {
|
|
@@ -47,12 +41,9 @@ function SEOResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
41
|
}
|
|
48
42
|
return {
|
|
49
43
|
'id': json['id'],
|
|
50
|
-
'
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'siteId': json['site_id'],
|
|
54
|
-
'footerDescription': json['footerDescription'],
|
|
55
|
-
'pageDescription': json['pageDescription'],
|
|
44
|
+
'seoTitle': json['seoTitle'],
|
|
45
|
+
'seoDescription': json['seoDescription'],
|
|
46
|
+
'siteId': json['siteId'],
|
|
56
47
|
};
|
|
57
48
|
}
|
|
58
49
|
function SEOResourceToJSON(json) {
|
|
@@ -65,11 +56,8 @@ function SEOResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
65
56
|
}
|
|
66
57
|
return {
|
|
67
58
|
'id': value['id'],
|
|
68
|
-
'
|
|
69
|
-
'
|
|
70
|
-
'
|
|
71
|
-
'site_id': value['siteId'],
|
|
72
|
-
'footerDescription': value['footerDescription'],
|
|
73
|
-
'pageDescription': value['pageDescription'],
|
|
59
|
+
'seoTitle': value['seoTitle'],
|
|
60
|
+
'seoDescription': value['seoDescription'],
|
|
61
|
+
'siteId': value['siteId'],
|
|
74
62
|
};
|
|
75
63
|
}
|
|
@@ -38,7 +38,7 @@ export interface StoreProductChildRequestSitesInner {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof StoreProductChildRequestSitesInner
|
|
40
40
|
*/
|
|
41
|
-
description
|
|
41
|
+
description: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {number}
|
|
@@ -68,25 +68,13 @@ export interface StoreProductChildRequestSitesInner {
|
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof StoreProductChildRequestSitesInner
|
|
70
70
|
*/
|
|
71
|
-
|
|
71
|
+
seoTitle?: string;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof StoreProductChildRequestSitesInner
|
|
76
76
|
*/
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof StoreProductChildRequestSitesInner
|
|
82
|
-
*/
|
|
83
|
-
footerDescription?: string;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {string}
|
|
87
|
-
* @memberof StoreProductChildRequestSitesInner
|
|
88
|
-
*/
|
|
89
|
-
pageDescription?: string;
|
|
77
|
+
seoDescription?: string;
|
|
90
78
|
}
|
|
91
79
|
/**
|
|
92
80
|
* Check if a given object implements the StoreProductChildRequestSitesInner interface.
|
|
@@ -24,6 +24,8 @@ exports.StoreProductChildRequestSitesInnerToJSONTyped = StoreProductChildRequest
|
|
|
24
24
|
function instanceOfStoreProductChildRequestSitesInner(value) {
|
|
25
25
|
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
+
if (!('description' in value) || value['description'] === undefined)
|
|
28
|
+
return false;
|
|
27
29
|
if (!('rrpPrice' in value) || value['rrpPrice'] === undefined)
|
|
28
30
|
return false;
|
|
29
31
|
if (!('salePrice' in value) || value['salePrice'] === undefined)
|
|
@@ -45,15 +47,13 @@ function StoreProductChildRequestSitesInnerFromJSONTyped(json, ignoreDiscriminat
|
|
|
45
47
|
'siteId': json['site_id'],
|
|
46
48
|
'name': json['name'] == null ? undefined : json['name'],
|
|
47
49
|
'displayName': json['display_name'] == null ? undefined : json['display_name'],
|
|
48
|
-
'description': json['description']
|
|
50
|
+
'description': json['description'],
|
|
49
51
|
'rrpPrice': json['rrp_price'],
|
|
50
52
|
'salePrice': json['sale_price'],
|
|
51
53
|
'slug': json['slug'],
|
|
52
54
|
'documents': json['documents'],
|
|
53
|
-
'
|
|
54
|
-
'
|
|
55
|
-
'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
|
|
56
|
-
'pageDescription': json['page_description'] == null ? undefined : json['page_description'],
|
|
55
|
+
'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
|
|
56
|
+
'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
59
|
function StoreProductChildRequestSitesInnerToJSON(json) {
|
|
@@ -73,9 +73,7 @@ function StoreProductChildRequestSitesInnerToJSONTyped(value, ignoreDiscriminato
|
|
|
73
73
|
'sale_price': value['salePrice'],
|
|
74
74
|
'slug': value['slug'],
|
|
75
75
|
'documents': value['documents'],
|
|
76
|
-
'
|
|
77
|
-
'
|
|
78
|
-
'footer_description': value['footerDescription'],
|
|
79
|
-
'page_description': value['pageDescription'],
|
|
76
|
+
'seo_title': value['seoTitle'],
|
|
77
|
+
'seo_description': value['seoDescription'],
|
|
80
78
|
};
|
|
81
79
|
}
|
|
@@ -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 StoreSupplierRequest {
|
|
|
58
59
|
* @memberof StoreSupplierRequest
|
|
59
60
|
*/
|
|
60
61
|
assetFileId: number;
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @type {Array<StoreSupplierRequestDescriptionsInner>}
|
|
65
|
+
* @memberof StoreSupplierRequest
|
|
66
|
+
*/
|
|
67
|
+
descriptions: Array<StoreSupplierRequestDescriptionsInner>;
|
|
61
68
|
}
|
|
62
69
|
/**
|
|
63
70
|
* Check if a given object implements the StoreSupplierRequest interface.
|
|
@@ -19,6 +19,7 @@ exports.StoreSupplierRequestFromJSONTyped = StoreSupplierRequestFromJSONTyped;
|
|
|
19
19
|
exports.StoreSupplierRequestToJSON = StoreSupplierRequestToJSON;
|
|
20
20
|
exports.StoreSupplierRequestToJSONTyped = StoreSupplierRequestToJSONTyped;
|
|
21
21
|
var StoreSupplierRequestSeoInner_1 = require("./StoreSupplierRequestSeoInner");
|
|
22
|
+
var StoreSupplierRequestDescriptionsInner_1 = require("./StoreSupplierRequestDescriptionsInner");
|
|
22
23
|
/**
|
|
23
24
|
* Check if a given object implements the StoreSupplierRequest interface.
|
|
24
25
|
*/
|
|
@@ -35,6 +36,8 @@ function instanceOfStoreSupplierRequest(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 StoreSupplierRequestFromJSON(json) {
|
|
@@ -52,6 +55,7 @@ function StoreSupplierRequestFromJSONTyped(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 StoreSupplierRequestToJSON(json) {
|
|
@@ -70,5 +74,6 @@ function StoreSupplierRequestToJSONTyped(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
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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 StoreSupplierRequestDescriptionsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface StoreSupplierRequestDescriptionsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StoreSupplierRequestDescriptionsInner
|
|
22
|
+
*/
|
|
23
|
+
headerDescription?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StoreSupplierRequestDescriptionsInner
|
|
28
|
+
*/
|
|
29
|
+
footerDescription?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof StoreSupplierRequestDescriptionsInner
|
|
34
|
+
*/
|
|
35
|
+
siteId: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the StoreSupplierRequestDescriptionsInner interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfStoreSupplierRequestDescriptionsInner(value: object): value is StoreSupplierRequestDescriptionsInner;
|
|
41
|
+
export declare function StoreSupplierRequestDescriptionsInnerFromJSON(json: any): StoreSupplierRequestDescriptionsInner;
|
|
42
|
+
export declare function StoreSupplierRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreSupplierRequestDescriptionsInner;
|
|
43
|
+
export declare function StoreSupplierRequestDescriptionsInnerToJSON(json: any): StoreSupplierRequestDescriptionsInner;
|
|
44
|
+
export declare function StoreSupplierRequestDescriptionsInnerToJSONTyped(value?: StoreSupplierRequestDescriptionsInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfStoreSupplierRequestDescriptionsInner = instanceOfStoreSupplierRequestDescriptionsInner;
|
|
17
|
+
exports.StoreSupplierRequestDescriptionsInnerFromJSON = StoreSupplierRequestDescriptionsInnerFromJSON;
|
|
18
|
+
exports.StoreSupplierRequestDescriptionsInnerFromJSONTyped = StoreSupplierRequestDescriptionsInnerFromJSONTyped;
|
|
19
|
+
exports.StoreSupplierRequestDescriptionsInnerToJSON = StoreSupplierRequestDescriptionsInnerToJSON;
|
|
20
|
+
exports.StoreSupplierRequestDescriptionsInnerToJSONTyped = StoreSupplierRequestDescriptionsInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StoreSupplierRequestDescriptionsInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStoreSupplierRequestDescriptionsInner(value) {
|
|
25
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function StoreSupplierRequestDescriptionsInnerFromJSON(json) {
|
|
30
|
+
return StoreSupplierRequestDescriptionsInnerFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function StoreSupplierRequestDescriptionsInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
|
|
38
|
+
'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
|
|
39
|
+
'siteId': json['site_id'],
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
function StoreSupplierRequestDescriptionsInnerToJSON(json) {
|
|
43
|
+
return StoreSupplierRequestDescriptionsInnerToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function StoreSupplierRequestDescriptionsInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
+
if (value == null) {
|
|
48
|
+
return value;
|
|
49
|
+
}
|
|
50
|
+
return {
|
|
51
|
+
'header_description': value['headerDescription'],
|
|
52
|
+
'footer_description': value['footerDescription'],
|
|
53
|
+
'site_id': value['siteId'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -20,31 +20,13 @@ export interface StoreSupplierRequestSeoInner {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof StoreSupplierRequestSeoInner
|
|
22
22
|
*/
|
|
23
|
-
|
|
23
|
+
seoTitle?: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof StoreSupplierRequestSeoInner
|
|
28
28
|
*/
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof StoreSupplierRequestSeoInner
|
|
34
|
-
*/
|
|
35
|
-
keywords?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof StoreSupplierRequestSeoInner
|
|
40
|
-
*/
|
|
41
|
-
footerDescription?: string;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof StoreSupplierRequestSeoInner
|
|
46
|
-
*/
|
|
47
|
-
pageDescription?: string;
|
|
29
|
+
seoDescription?: string;
|
|
48
30
|
/**
|
|
49
31
|
*
|
|
50
32
|
* @type {number}
|
|
@@ -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
|
}
|