@digital8/lighting-illusions-ts-sdk 0.0.534 → 0.0.536
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 +28 -4
- package/README.md +16 -4
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +1 -3
- package/dist/models/PaginatedProductSearchResultResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductSearchResultResourceResponse.js +57 -0
- package/dist/models/ProductAggregationResource.d.ts +50 -0
- package/dist/models/ProductAggregationResource.js +63 -0
- package/dist/models/ProductAggregationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductAggregationResourceArrayResponse.js +50 -0
- package/dist/models/ProductCategoryResource.d.ts +14 -0
- package/dist/models/ProductCategoryResource.js +10 -0
- package/dist/models/ProductRating.d.ts +26 -0
- package/dist/models/ProductRating.js +52 -0
- package/dist/models/ProductSearchResponseResource.d.ts +54 -0
- package/dist/models/ProductSearchResponseResource.js +67 -0
- package/dist/models/ProductSearchResponseResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductSearchResponseResourceArrayResponse.js +50 -0
- package/dist/models/ProductSearchResponseResourceMeta.d.ts +50 -0
- package/dist/models/ProductSearchResponseResourceMeta.js +63 -0
- package/dist/models/ProductSearchResponseResourcePriceInfo.d.ts +50 -0
- package/dist/models/ProductSearchResponseResourcePriceInfo.js +63 -0
- package/dist/models/ProductSearchResultResource.d.ts +116 -0
- package/dist/models/ProductSearchResultResource.js +105 -0
- package/dist/models/ProductSearchResultResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductSearchResultResourceArrayResponse.js +50 -0
- package/dist/models/ProductSortBy.d.ts +32 -0
- package/dist/models/ProductSortBy.js +58 -0
- package/dist/models/ProductStatus.d.ts +24 -0
- package/dist/models/ProductStatus.js +50 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +23 -1
- package/dist/models/StoreProductCategoryRequest.js +14 -0
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.d.ts +27 -2
- package/dist/models/StoreProductCategoryRequestAutomationRulesInner.js +24 -0
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.d.ts +44 -0
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.js +55 -0
- package/dist/models/StoreProductCategoryRequestSeoInner.d.ts +44 -0
- package/dist/models/StoreProductCategoryRequestSeoInner.js +55 -0
- package/dist/models/StoreSupplierRequest.d.ts +6 -6
- package/dist/models/StoreSupplierRequest.js +6 -6
- package/dist/models/UpdateProductCategoryRequest.d.ts +24 -2
- package/dist/models/UpdateProductCategoryRequest.js +17 -1
- package/dist/models/UpdateSupplierRequest.d.ts +6 -6
- package/dist/models/UpdateSupplierRequest.js +6 -6
- package/dist/models/index.d.ts +14 -2
- package/dist/models/index.js +14 -2
- package/docs/PaginatedProductSearchResultResourceResponse.md +36 -0
- package/docs/ProductAggregationResource.md +40 -0
- package/docs/ProductAggregationResourceArrayResponse.md +34 -0
- package/docs/ProductCategoryResource.md +4 -0
- package/docs/ProductRating.md +32 -0
- package/docs/ProductSearchResponseResource.md +40 -0
- package/docs/ProductSearchResponseResourceArrayResponse.md +34 -0
- package/docs/ProductSearchResponseResourceMeta.md +40 -0
- package/docs/ProductSearchResponseResourcePriceInfo.md +40 -0
- package/docs/ProductSearchResultResource.md +62 -0
- package/docs/ProductSearchResultResourceArrayResponse.md +34 -0
- package/docs/ProductSortBy.md +32 -0
- package/docs/ProductStatus.md +32 -0
- package/docs/StoreProductCategoryRequest.md +4 -0
- package/docs/{StoreSupplierRequestDescriptionsInner.md → StoreProductCategoryRequestDescriptionsInner.md} +4 -4
- package/docs/{StoreSupplierRequestSeoInner.md → StoreProductCategoryRequestSeoInner.md} +4 -4
- package/docs/StoreSupplierRequest.md +2 -2
- package/docs/UpdateProductCategoryRequest.md +4 -0
- package/docs/UpdateSupplierRequest.md +2 -2
- package/package.json +1 -1
- package/src/models/ExternalApiLogResource.ts +2 -3
- package/src/models/PaginatedProductSearchResultResourceResponse.ts +90 -0
- package/src/models/ProductAggregationResource.ts +93 -0
- package/src/models/ProductAggregationResourceArrayResponse.ts +73 -0
- package/src/models/ProductCategoryResource.ts +32 -0
- package/src/models/ProductRating.ts +54 -0
- package/src/models/ProductSearchResponseResource.ts +122 -0
- package/src/models/ProductSearchResponseResourceArrayResponse.ts +73 -0
- package/src/models/ProductSearchResponseResourceMeta.ts +93 -0
- package/src/models/ProductSearchResponseResourcePriceInfo.ts +93 -0
- package/src/models/ProductSearchResultResource.ts +191 -0
- package/src/models/ProductSearchResultResourceArrayResponse.ts +73 -0
- package/src/models/ProductSortBy.ts +60 -0
- package/src/models/ProductStatus.ts +52 -0
- package/src/models/StoreProductCategoryRequest.ts +42 -1
- package/src/models/StoreProductCategoryRequestAutomationRulesInner.ts +31 -2
- package/src/models/StoreProductCategoryRequestDescriptionsInner.ts +82 -0
- package/src/models/{StoreSupplierRequestSeoInner.ts → StoreProductCategoryRequestSeoInner.ts} +13 -13
- package/src/models/StoreSupplierRequest.ts +20 -20
- package/src/models/UpdateProductCategoryRequest.ts +45 -3
- package/src/models/UpdateSupplierRequest.ts +20 -20
- package/src/models/index.ts +14 -2
- package/dist/models/StoreSupplierRequestDescriptionsInner.d.ts +0 -44
- package/dist/models/StoreSupplierRequestDescriptionsInner.js +0 -55
- package/dist/models/StoreSupplierRequestSeoInner.d.ts +0 -44
- package/dist/models/StoreSupplierRequestSeoInner.js +0 -55
- package/src/models/StoreSupplierRequestDescriptionsInner.ts +0 -82
package/src/models/index.ts
CHANGED
|
@@ -107,6 +107,7 @@ export * from './PaginatedProductChildResourceResponse';
|
|
|
107
107
|
export * from './PaginatedProductListResourceResponse';
|
|
108
108
|
export * from './PaginatedProductLiteResourceResponse';
|
|
109
109
|
export * from './PaginatedProductResourceResponse';
|
|
110
|
+
export * from './PaginatedProductSearchResultResourceResponse';
|
|
110
111
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
111
112
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
112
113
|
export * from './PaginatedProductTypeResourceResponse';
|
|
@@ -123,6 +124,8 @@ export * from './PaginatedTagListResourceResponse';
|
|
|
123
124
|
export * from './PaginatedTagLiteResourceResponse';
|
|
124
125
|
export * from './PaginatedTagResourceResponse';
|
|
125
126
|
export * from './PagingMetadata';
|
|
127
|
+
export * from './ProductAggregationResource';
|
|
128
|
+
export * from './ProductAggregationResourceArrayResponse';
|
|
126
129
|
export * from './ProductCategoryHierarchyResource';
|
|
127
130
|
export * from './ProductCategoryHierarchyResourceArrayResponse';
|
|
128
131
|
export * from './ProductCategoryListResource';
|
|
@@ -149,8 +152,17 @@ export * from './ProductListResource';
|
|
|
149
152
|
export * from './ProductListResourceArrayResponse';
|
|
150
153
|
export * from './ProductLiteResource';
|
|
151
154
|
export * from './ProductLiteResourceArrayResponse';
|
|
155
|
+
export * from './ProductRating';
|
|
152
156
|
export * from './ProductResource';
|
|
153
157
|
export * from './ProductResourceArrayResponse';
|
|
158
|
+
export * from './ProductSearchResponseResource';
|
|
159
|
+
export * from './ProductSearchResponseResourceArrayResponse';
|
|
160
|
+
export * from './ProductSearchResponseResourceMeta';
|
|
161
|
+
export * from './ProductSearchResponseResourcePriceInfo';
|
|
162
|
+
export * from './ProductSearchResultResource';
|
|
163
|
+
export * from './ProductSearchResultResourceArrayResponse';
|
|
164
|
+
export * from './ProductSortBy';
|
|
165
|
+
export * from './ProductStatus';
|
|
154
166
|
export * from './ProductTypeListResource';
|
|
155
167
|
export * from './ProductTypeListResourceArrayResponse';
|
|
156
168
|
export * from './ProductTypeLiteResource';
|
|
@@ -182,6 +194,8 @@ export * from './StoreOverlayTemplateAssetRequest';
|
|
|
182
194
|
export * from './StoreOverlayTemplateRequest';
|
|
183
195
|
export * from './StoreProductCategoryRequest';
|
|
184
196
|
export * from './StoreProductCategoryRequestAutomationRulesInner';
|
|
197
|
+
export * from './StoreProductCategoryRequestDescriptionsInner';
|
|
198
|
+
export * from './StoreProductCategoryRequestSeoInner';
|
|
185
199
|
export * from './StoreProductChildRequest';
|
|
186
200
|
export * from './StoreProductChildRequestAssetsInner';
|
|
187
201
|
export * from './StoreProductChildRequestAttributeValuesInner';
|
|
@@ -191,8 +205,6 @@ export * from './StoreProductRequestCategoriesInner';
|
|
|
191
205
|
export * from './StoreProductTypeRequest';
|
|
192
206
|
export * from './StoreSiteNotificationRequest';
|
|
193
207
|
export * from './StoreSupplierRequest';
|
|
194
|
-
export * from './StoreSupplierRequestDescriptionsInner';
|
|
195
|
-
export * from './StoreSupplierRequestSeoInner';
|
|
196
208
|
export * from './StoreTagRequest';
|
|
197
209
|
export * from './SupplierFrontendResource';
|
|
198
210
|
export * from './SupplierFrontendResourceArrayResponse';
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface 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;
|
|
@@ -1,55 +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.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
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface StoreSupplierRequestSeoInner
|
|
16
|
-
*/
|
|
17
|
-
export interface StoreSupplierRequestSeoInner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof StoreSupplierRequestSeoInner
|
|
22
|
-
*/
|
|
23
|
-
seoTitle?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof StoreSupplierRequestSeoInner
|
|
28
|
-
*/
|
|
29
|
-
seoDescription?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof StoreSupplierRequestSeoInner
|
|
34
|
-
*/
|
|
35
|
-
siteId: number;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the StoreSupplierRequestSeoInner interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfStoreSupplierRequestSeoInner(value: object): value is StoreSupplierRequestSeoInner;
|
|
41
|
-
export declare function StoreSupplierRequestSeoInnerFromJSON(json: any): StoreSupplierRequestSeoInner;
|
|
42
|
-
export declare function StoreSupplierRequestSeoInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreSupplierRequestSeoInner;
|
|
43
|
-
export declare function StoreSupplierRequestSeoInnerToJSON(json: any): StoreSupplierRequestSeoInner;
|
|
44
|
-
export declare function StoreSupplierRequestSeoInnerToJSONTyped(value?: StoreSupplierRequestSeoInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,55 +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.instanceOfStoreSupplierRequestSeoInner = instanceOfStoreSupplierRequestSeoInner;
|
|
17
|
-
exports.StoreSupplierRequestSeoInnerFromJSON = StoreSupplierRequestSeoInnerFromJSON;
|
|
18
|
-
exports.StoreSupplierRequestSeoInnerFromJSONTyped = StoreSupplierRequestSeoInnerFromJSONTyped;
|
|
19
|
-
exports.StoreSupplierRequestSeoInnerToJSON = StoreSupplierRequestSeoInnerToJSON;
|
|
20
|
-
exports.StoreSupplierRequestSeoInnerToJSONTyped = StoreSupplierRequestSeoInnerToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the StoreSupplierRequestSeoInner interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfStoreSupplierRequestSeoInner(value) {
|
|
25
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function StoreSupplierRequestSeoInnerFromJSON(json) {
|
|
30
|
-
return StoreSupplierRequestSeoInnerFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function StoreSupplierRequestSeoInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'seoTitle': json['seo_title'] == null ? undefined : json['seo_title'],
|
|
38
|
-
'seoDescription': json['seo_description'] == null ? undefined : json['seo_description'],
|
|
39
|
-
'siteId': json['site_id'],
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
function StoreSupplierRequestSeoInnerToJSON(json) {
|
|
43
|
-
return StoreSupplierRequestSeoInnerToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function StoreSupplierRequestSeoInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
46
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
47
|
-
if (value == null) {
|
|
48
|
-
return value;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'seo_title': value['seoTitle'],
|
|
52
|
-
'seo_description': value['seoDescription'],
|
|
53
|
-
'site_id': value['siteId'],
|
|
54
|
-
};
|
|
55
|
-
}
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface StoreSupplierRequestDescriptionsInner
|
|
20
|
-
*/
|
|
21
|
-
export interface StoreSupplierRequestDescriptionsInner {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof StoreSupplierRequestDescriptionsInner
|
|
26
|
-
*/
|
|
27
|
-
headerDescription?: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof StoreSupplierRequestDescriptionsInner
|
|
32
|
-
*/
|
|
33
|
-
footerDescription?: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof StoreSupplierRequestDescriptionsInner
|
|
38
|
-
*/
|
|
39
|
-
siteId: number;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the StoreSupplierRequestDescriptionsInner interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfStoreSupplierRequestDescriptionsInner(value: object): value is StoreSupplierRequestDescriptionsInner {
|
|
46
|
-
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
47
|
-
return true;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function StoreSupplierRequestDescriptionsInnerFromJSON(json: any): StoreSupplierRequestDescriptionsInner {
|
|
51
|
-
return StoreSupplierRequestDescriptionsInnerFromJSONTyped(json, false);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export function StoreSupplierRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreSupplierRequestDescriptionsInner {
|
|
55
|
-
if (json == null) {
|
|
56
|
-
return json;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
|
|
60
|
-
'headerDescription': json['header_description'] == null ? undefined : json['header_description'],
|
|
61
|
-
'footerDescription': json['footer_description'] == null ? undefined : json['footer_description'],
|
|
62
|
-
'siteId': json['site_id'],
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function StoreSupplierRequestDescriptionsInnerToJSON(json: any): StoreSupplierRequestDescriptionsInner {
|
|
67
|
-
return StoreSupplierRequestDescriptionsInnerToJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function StoreSupplierRequestDescriptionsInnerToJSONTyped(value?: StoreSupplierRequestDescriptionsInner | null, ignoreDiscriminator: boolean = false): any {
|
|
71
|
-
if (value == null) {
|
|
72
|
-
return value;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
return {
|
|
76
|
-
|
|
77
|
-
'header_description': value['headerDescription'],
|
|
78
|
-
'footer_description': value['footerDescription'],
|
|
79
|
-
'site_id': value['siteId'],
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
|