@digital8/lighting-illusions-ts-sdk 0.0.493 → 0.0.494
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 +50 -0
- package/dist/models/DescriptionResource.js +63 -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 +40 -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 +93 -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
|
|
@@ -177,6 +179,7 @@ docs/StoreProductRequestCategoriesInner.md
|
|
|
177
179
|
docs/StoreProductTypeRequest.md
|
|
178
180
|
docs/StoreSiteNotificationRequest.md
|
|
179
181
|
docs/StoreSupplierRequest.md
|
|
182
|
+
docs/StoreSupplierRequestDescriptionsInner.md
|
|
180
183
|
docs/StoreSupplierRequestSeoInner.md
|
|
181
184
|
docs/StoreTagRequest.md
|
|
182
185
|
docs/SupplierApi.md
|
|
@@ -254,6 +257,8 @@ src/models/AttributeType.ts
|
|
|
254
257
|
src/models/AttributeValueResource.ts
|
|
255
258
|
src/models/AttributeValueResourceArrayResponse.ts
|
|
256
259
|
src/models/CouponDiscountType.ts
|
|
260
|
+
src/models/DescriptionResource.ts
|
|
261
|
+
src/models/DescriptionResourceArrayResponse.ts
|
|
257
262
|
src/models/DestroyAttributeValueRequest.ts
|
|
258
263
|
src/models/DetachAssetableOverlayTemplateRequest.ts
|
|
259
264
|
src/models/DetachDocumentablesDocumentRequest.ts
|
|
@@ -393,6 +398,7 @@ src/models/StoreProductRequestCategoriesInner.ts
|
|
|
393
398
|
src/models/StoreProductTypeRequest.ts
|
|
394
399
|
src/models/StoreSiteNotificationRequest.ts
|
|
395
400
|
src/models/StoreSupplierRequest.ts
|
|
401
|
+
src/models/StoreSupplierRequestDescriptionsInner.ts
|
|
396
402
|
src/models/StoreSupplierRequestSeoInner.ts
|
|
397
403
|
src/models/StoreTagRequest.ts
|
|
398
404
|
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.494
|
|
2
2
|
|
|
3
3
|
A TypeScript SDK client for the localhost API.
|
|
4
4
|
|
|
@@ -172,6 +172,8 @@ All URIs are relative to *http://localhost/api*
|
|
|
172
172
|
- [AttributeValueResource](docs/AttributeValueResource.md)
|
|
173
173
|
- [AttributeValueResourceArrayResponse](docs/AttributeValueResourceArrayResponse.md)
|
|
174
174
|
- [CouponDiscountType](docs/CouponDiscountType.md)
|
|
175
|
+
- [DescriptionResource](docs/DescriptionResource.md)
|
|
176
|
+
- [DescriptionResourceArrayResponse](docs/DescriptionResourceArrayResponse.md)
|
|
175
177
|
- [DestroyAttributeValueRequest](docs/DestroyAttributeValueRequest.md)
|
|
176
178
|
- [DetachAssetableOverlayTemplateRequest](docs/DetachAssetableOverlayTemplateRequest.md)
|
|
177
179
|
- [DetachDocumentablesDocumentRequest](docs/DetachDocumentablesDocumentRequest.md)
|
|
@@ -311,6 +313,7 @@ All URIs are relative to *http://localhost/api*
|
|
|
311
313
|
- [StoreProductTypeRequest](docs/StoreProductTypeRequest.md)
|
|
312
314
|
- [StoreSiteNotificationRequest](docs/StoreSiteNotificationRequest.md)
|
|
313
315
|
- [StoreSupplierRequest](docs/StoreSupplierRequest.md)
|
|
316
|
+
- [StoreSupplierRequestDescriptionsInner](docs/StoreSupplierRequestDescriptionsInner.md)
|
|
314
317
|
- [StoreSupplierRequestSeoInner](docs/StoreSupplierRequestSeoInner.md)
|
|
315
318
|
- [StoreTagRequest](docs/StoreTagRequest.md)
|
|
316
319
|
- [SupplierFrontendResource](docs/SupplierFrontendResource.md)
|
|
@@ -358,7 +361,7 @@ and is automatically generated by the
|
|
|
358
361
|
[OpenAPI Generator](https://openapi-generator.tech) project:
|
|
359
362
|
|
|
360
363
|
- API version: `1.0.0`
|
|
361
|
-
- Package version: `0.0.
|
|
364
|
+
- Package version: `0.0.494`
|
|
362
365
|
- Generator version: `7.17.0`
|
|
363
366
|
- Build package: `org.openapitools.codegen.languages.TypeScriptFetchClientCodegen`
|
|
364
367
|
|
|
@@ -0,0 +1,50 @@
|
|
|
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;
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
+
}
|
|
@@ -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
|
}
|