@digital8/lighting-illusions-ts-sdk 0.0.1674 → 0.0.1675
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 +8 -8
- package/README.md +14 -14
- package/dist/apis/AdminApi.d.ts +8 -8
- package/dist/apis/AdminApi.js +3 -3
- package/dist/apis/OverlayTemplateApi.d.ts +6 -6
- package/dist/apis/OverlayTemplateApi.js +1 -1
- package/dist/apis/ProductApi.d.ts +7 -7
- package/dist/apis/ProductApi.js +2 -2
- package/dist/apis/ProductCategoryApi.d.ts +6 -6
- package/dist/apis/ProductCategoryApi.js +1 -1
- package/dist/apis/ProductRangeApi.d.ts +3 -3
- package/dist/apis/ProductRangeApi.js +2 -2
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.js +3 -1
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GenerateGoogleFeedAdminRequest.d.ts +32 -0
- package/dist/models/GenerateGoogleFeedAdminRequest.js +51 -0
- package/dist/models/GetProductChildrenOverlayTemplateRequest.d.ts +192 -0
- package/dist/models/{IndexProductChildRequest.js → GetProductChildrenOverlayTemplateRequest.js} +17 -17
- package/dist/models/StoreBlogCategoryRequest.d.ts +3 -3
- package/dist/models/StoreBlogCategoryRequest.js +3 -3
- package/dist/models/StoreBlogCategoryRequestDescriptionsInner.d.ts +44 -0
- package/dist/models/StoreBlogCategoryRequestDescriptionsInner.js +55 -0
- package/dist/models/StorePageRequest.d.ts +3 -3
- package/dist/models/StorePageRequest.js +3 -3
- package/dist/models/StorePageRequestSeoInner.d.ts +44 -0
- package/dist/models/StorePageRequestSeoInner.js +55 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +6 -6
- package/dist/models/StoreProductCategoryRequest.js +6 -6
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
- package/dist/models/StoreSpecialDateResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateResource.js +1 -3
- package/dist/models/StoreSupplierRequest.d.ts +6 -6
- package/dist/models/StoreSupplierRequest.js +6 -6
- package/dist/models/UpdateBlogCategoryRequest.d.ts +3 -3
- package/dist/models/UpdateBlogCategoryRequest.js +3 -3
- package/dist/models/UpdatePageRequest.d.ts +3 -3
- package/dist/models/UpdatePageRequest.js +3 -3
- package/dist/models/UpdateProductCategoryRequest.d.ts +6 -6
- package/dist/models/UpdateProductCategoryRequest.js +6 -6
- package/dist/models/UpdateSupplierRequest.d.ts +6 -6
- package/dist/models/UpdateSupplierRequest.js +6 -6
- package/dist/models/index.d.ts +4 -4
- package/dist/models/index.js +4 -4
- package/docs/AdminApi.md +15 -15
- package/docs/{GetHierarchyProductCategoryRequest.md → GenerateGoogleFeedAdminRequest.md} +4 -4
- package/docs/{IndexProductChildRequest.md → GetProductChildrenOverlayTemplateRequest.md} +4 -4
- package/docs/OverlayTemplateApi.md +7 -7
- package/docs/ProductApi.md +11 -11
- package/docs/ProductCategoryApi.md +7 -7
- package/docs/ProductRangeApi.md +8 -8
- package/docs/StoreBlogCategoryRequest.md +1 -1
- package/docs/{StoreProductCategoryRequestDescriptionsInner.md → StoreBlogCategoryRequestDescriptionsInner.md} +4 -4
- package/docs/StorePageRequest.md +1 -1
- package/docs/{StoreProductCategoryRequestSeoInner.md → StorePageRequestSeoInner.md} +4 -4
- package/docs/StoreProductCategoryRequest.md +2 -2
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/docs/StoreSpecialDateResource.md +1 -1
- package/docs/StoreSupplierRequest.md +2 -2
- package/docs/UpdateBlogCategoryRequest.md +1 -1
- package/docs/UpdatePageRequest.md +1 -1
- package/docs/UpdateProductCategoryRequest.md +2 -2
- package/docs/UpdateSupplierRequest.md +2 -2
- package/package.json +1 -1
- package/src/apis/AdminApi.ts +13 -13
- package/src/apis/OverlayTemplateApi.ts +9 -9
- package/src/apis/ProductApi.ts +11 -11
- package/src/apis/ProductCategoryApi.ts +9 -9
- package/src/apis/ProductRangeApi.ts +7 -7
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GenerateGoogleFeedAdminRequest.ts +66 -0
- package/src/models/{IndexProductChildRequest.ts → GetProductChildrenOverlayTemplateRequest.ts} +42 -42
- package/src/models/StoreBlogCategoryRequest.ts +10 -10
- package/src/models/StoreBlogCategoryRequestDescriptionsInner.ts +82 -0
- package/src/models/StorePageRequest.ts +10 -10
- package/src/models/{StoreProductCategoryRequestSeoInner.ts → StorePageRequestSeoInner.ts} +13 -13
- package/src/models/StoreProductCategoryRequest.ts +20 -20
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/StoreSpecialDateResource.ts +3 -4
- package/src/models/StoreSupplierRequest.ts +20 -20
- package/src/models/UpdateBlogCategoryRequest.ts +10 -10
- package/src/models/UpdatePageRequest.ts +10 -10
- package/src/models/UpdateProductCategoryRequest.ts +20 -20
- package/src/models/UpdateSupplierRequest.ts +20 -20
- package/src/models/index.ts +4 -4
- package/dist/models/GetHierarchyProductCategoryRequest.d.ts +0 -32
- package/dist/models/GetHierarchyProductCategoryRequest.js +0 -51
- package/dist/models/IndexProductChildRequest.d.ts +0 -192
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.d.ts +0 -44
- package/dist/models/StoreProductCategoryRequestDescriptionsInner.js +0 -55
- package/dist/models/StoreProductCategoryRequestSeoInner.d.ts +0 -44
- package/dist/models/StoreProductCategoryRequestSeoInner.js +0 -55
- package/src/models/GetHierarchyProductCategoryRequest.ts +0 -66
- package/src/models/StoreProductCategoryRequestDescriptionsInner.ts +0 -82
|
@@ -13,20 +13,20 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { StoreBlogCategoryRequestDescriptionsInner } from './StoreBlogCategoryRequestDescriptionsInner';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
23
|
-
import type {
|
|
18
|
+
StoreBlogCategoryRequestDescriptionsInnerFromJSON,
|
|
19
|
+
StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped,
|
|
20
|
+
StoreBlogCategoryRequestDescriptionsInnerToJSON,
|
|
21
|
+
StoreBlogCategoryRequestDescriptionsInnerToJSONTyped,
|
|
22
|
+
} from './StoreBlogCategoryRequestDescriptionsInner';
|
|
23
|
+
import type { StorePageRequestSeoInner } from './StorePageRequestSeoInner';
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from './
|
|
25
|
+
StorePageRequestSeoInnerFromJSON,
|
|
26
|
+
StorePageRequestSeoInnerFromJSONTyped,
|
|
27
|
+
StorePageRequestSeoInnerToJSON,
|
|
28
|
+
StorePageRequestSeoInnerToJSONTyped,
|
|
29
|
+
} from './StorePageRequestSeoInner';
|
|
30
30
|
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
@@ -54,10 +54,10 @@ export interface UpdateSupplierRequest {
|
|
|
54
54
|
supplierEta: number;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
|
-
* @type {Array<
|
|
57
|
+
* @type {Array<StorePageRequestSeoInner>}
|
|
58
58
|
* @memberof UpdateSupplierRequest
|
|
59
59
|
*/
|
|
60
|
-
seo: Array<
|
|
60
|
+
seo: Array<StorePageRequestSeoInner>;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
63
|
* @type {string}
|
|
@@ -78,10 +78,10 @@ export interface UpdateSupplierRequest {
|
|
|
78
78
|
fileId: number;
|
|
79
79
|
/**
|
|
80
80
|
*
|
|
81
|
-
* @type {Array<
|
|
81
|
+
* @type {Array<StoreBlogCategoryRequestDescriptionsInner>}
|
|
82
82
|
* @memberof UpdateSupplierRequest
|
|
83
83
|
*/
|
|
84
|
-
descriptions: Array<
|
|
84
|
+
descriptions: Array<StoreBlogCategoryRequestDescriptionsInner>;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
87
|
/**
|
|
@@ -111,11 +111,11 @@ export function UpdateSupplierRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
111
111
|
'name': json['name'],
|
|
112
112
|
'slug': json['slug'],
|
|
113
113
|
'supplierEta': json['supplier_eta'],
|
|
114
|
-
'seo': ((json['seo'] as Array<any>).map(
|
|
114
|
+
'seo': ((json['seo'] as Array<any>).map(StorePageRequestSeoInnerFromJSON)),
|
|
115
115
|
'altText': json['alt_text'] == null ? undefined : json['alt_text'],
|
|
116
116
|
'mimeType': json['mime_type'],
|
|
117
117
|
'fileId': json['file_id'],
|
|
118
|
-
'descriptions': ((json['descriptions'] as Array<any>).map(
|
|
118
|
+
'descriptions': ((json['descriptions'] as Array<any>).map(StoreBlogCategoryRequestDescriptionsInnerFromJSON)),
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
121
|
|
|
@@ -133,11 +133,11 @@ export function UpdateSupplierRequestToJSONTyped(value?: UpdateSupplierRequest |
|
|
|
133
133
|
'name': value['name'],
|
|
134
134
|
'slug': value['slug'],
|
|
135
135
|
'supplier_eta': value['supplierEta'],
|
|
136
|
-
'seo': ((value['seo'] as Array<any>).map(
|
|
136
|
+
'seo': ((value['seo'] as Array<any>).map(StorePageRequestSeoInnerToJSON)),
|
|
137
137
|
'alt_text': value['altText'],
|
|
138
138
|
'mime_type': value['mimeType'],
|
|
139
139
|
'file_id': value['fileId'],
|
|
140
|
-
'descriptions': ((value['descriptions'] as Array<any>).map(
|
|
140
|
+
'descriptions': ((value['descriptions'] as Array<any>).map(StoreBlogCategoryRequestDescriptionsInnerToJSON)),
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
143
|
|
package/src/models/index.ts
CHANGED
|
@@ -98,6 +98,7 @@ export * from './FrontendComponentLiteResource';
|
|
|
98
98
|
export * from './FrontendComponentLiteResourceArrayResponse';
|
|
99
99
|
export * from './FrontendComponentResource';
|
|
100
100
|
export * from './FrontendComponentResourceArrayResponse';
|
|
101
|
+
export * from './GenerateGoogleFeedAdminRequest';
|
|
101
102
|
export * from './GenericResponse';
|
|
102
103
|
export * from './GetAllAttributeRequest';
|
|
103
104
|
export * from './GetAllAttributeValueRequest';
|
|
@@ -116,7 +117,7 @@ export * from './GetAllProductRequest';
|
|
|
116
117
|
export * from './GetAllProductTypeRequest';
|
|
117
118
|
export * from './GetAllStoreRequest';
|
|
118
119
|
export * from './GetAllSupplierRequest';
|
|
119
|
-
export * from './
|
|
120
|
+
export * from './GetProductChildrenOverlayTemplateRequest';
|
|
120
121
|
export * from './GetUniqueEndpointsExternalApiLogRequest';
|
|
121
122
|
export * from './GlobalSearchCategoryResource';
|
|
122
123
|
export * from './GlobalSearchCategoryResourceArrayResponse';
|
|
@@ -139,7 +140,6 @@ export * from './IndexModelAttributeRequest';
|
|
|
139
140
|
export * from './IndexOverlayTemplateRequest';
|
|
140
141
|
export * from './IndexPageRequest';
|
|
141
142
|
export * from './IndexProductCategoryRequest';
|
|
142
|
-
export * from './IndexProductChildRequest';
|
|
143
143
|
export * from './IndexProductRangeRequest';
|
|
144
144
|
export * from './IndexProductRequest';
|
|
145
145
|
export * from './IndexProductTypeRequest';
|
|
@@ -351,6 +351,7 @@ export * from './StoreAssetForAssetableRequest';
|
|
|
351
351
|
export * from './StoreAttributeRequest';
|
|
352
352
|
export * from './StoreAttributeValueRequest';
|
|
353
353
|
export * from './StoreBlogCategoryRequest';
|
|
354
|
+
export * from './StoreBlogCategoryRequestDescriptionsInner';
|
|
354
355
|
export * from './StoreDefinitionRequest';
|
|
355
356
|
export * from './StoreDocumentFileRequest';
|
|
356
357
|
export * from './StoreDocumentRequest';
|
|
@@ -367,10 +368,9 @@ export * from './StorePageComponentRequest';
|
|
|
367
368
|
export * from './StorePageComponentRequestRelationsInner';
|
|
368
369
|
export * from './StorePageRequest';
|
|
369
370
|
export * from './StorePageRequestBlog';
|
|
371
|
+
export * from './StorePageRequestSeoInner';
|
|
370
372
|
export * from './StoreProductCategoryRequest';
|
|
371
373
|
export * from './StoreProductCategoryRequestAutomationRulesInner';
|
|
372
|
-
export * from './StoreProductCategoryRequestDescriptionsInner';
|
|
373
|
-
export * from './StoreProductCategoryRequestSeoInner';
|
|
374
374
|
export * from './StoreProductChildRequest';
|
|
375
375
|
export * from './StoreProductChildRequestAssetsInner';
|
|
376
376
|
export * from './StoreProductChildRequestAttributeValuesInner';
|
|
@@ -1,32 +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 GetHierarchyProductCategoryRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface GetHierarchyProductCategoryRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof GetHierarchyProductCategoryRequest
|
|
22
|
-
*/
|
|
23
|
-
siteId: number;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Check if a given object implements the GetHierarchyProductCategoryRequest interface.
|
|
27
|
-
*/
|
|
28
|
-
export declare function instanceOfGetHierarchyProductCategoryRequest(value: object): value is GetHierarchyProductCategoryRequest;
|
|
29
|
-
export declare function GetHierarchyProductCategoryRequestFromJSON(json: any): GetHierarchyProductCategoryRequest;
|
|
30
|
-
export declare function GetHierarchyProductCategoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetHierarchyProductCategoryRequest;
|
|
31
|
-
export declare function GetHierarchyProductCategoryRequestToJSON(json: any): GetHierarchyProductCategoryRequest;
|
|
32
|
-
export declare function GetHierarchyProductCategoryRequestToJSONTyped(value?: GetHierarchyProductCategoryRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,51 +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.instanceOfGetHierarchyProductCategoryRequest = instanceOfGetHierarchyProductCategoryRequest;
|
|
17
|
-
exports.GetHierarchyProductCategoryRequestFromJSON = GetHierarchyProductCategoryRequestFromJSON;
|
|
18
|
-
exports.GetHierarchyProductCategoryRequestFromJSONTyped = GetHierarchyProductCategoryRequestFromJSONTyped;
|
|
19
|
-
exports.GetHierarchyProductCategoryRequestToJSON = GetHierarchyProductCategoryRequestToJSON;
|
|
20
|
-
exports.GetHierarchyProductCategoryRequestToJSONTyped = GetHierarchyProductCategoryRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the GetHierarchyProductCategoryRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfGetHierarchyProductCategoryRequest(value) {
|
|
25
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function GetHierarchyProductCategoryRequestFromJSON(json) {
|
|
30
|
-
return GetHierarchyProductCategoryRequestFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function GetHierarchyProductCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
if (json == null) {
|
|
34
|
-
return json;
|
|
35
|
-
}
|
|
36
|
-
return {
|
|
37
|
-
'siteId': json['site_id'],
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
function GetHierarchyProductCategoryRequestToJSON(json) {
|
|
41
|
-
return GetHierarchyProductCategoryRequestToJSONTyped(json, false);
|
|
42
|
-
}
|
|
43
|
-
function GetHierarchyProductCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
-
if (value == null) {
|
|
46
|
-
return value;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'site_id': value['siteId'],
|
|
50
|
-
};
|
|
51
|
-
}
|
|
@@ -1,192 +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 IndexProductChildRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface IndexProductChildRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IndexProductChildRequest
|
|
22
|
-
*/
|
|
23
|
-
search?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {IndexProductChildRequestSortByEnum}
|
|
27
|
-
* @memberof IndexProductChildRequest
|
|
28
|
-
*/
|
|
29
|
-
sortBy?: IndexProductChildRequestSortByEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {IndexProductChildRequestSortDirectionEnum}
|
|
33
|
-
* @memberof IndexProductChildRequest
|
|
34
|
-
*/
|
|
35
|
-
sortDirection?: IndexProductChildRequestSortDirectionEnum;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof IndexProductChildRequest
|
|
40
|
-
*/
|
|
41
|
-
perPage?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof IndexProductChildRequest
|
|
46
|
-
*/
|
|
47
|
-
page?: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {Array<string>}
|
|
51
|
-
* @memberof IndexProductChildRequest
|
|
52
|
-
*/
|
|
53
|
-
siteDetailsSiteId?: Array<string>;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {Array<string>}
|
|
57
|
-
* @memberof IndexProductChildRequest
|
|
58
|
-
*/
|
|
59
|
-
isDisabled?: Array<string>;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Array<string>}
|
|
63
|
-
* @memberof IndexProductChildRequest
|
|
64
|
-
*/
|
|
65
|
-
netsuiteSyncHasNetsuiteId?: Array<string>;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {Array<string>}
|
|
69
|
-
* @memberof IndexProductChildRequest
|
|
70
|
-
*/
|
|
71
|
-
categoryId?: Array<string>;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {Array<string>}
|
|
75
|
-
* @memberof IndexProductChildRequest
|
|
76
|
-
*/
|
|
77
|
-
supplierId?: Array<string>;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {Array<string>}
|
|
81
|
-
* @memberof IndexProductChildRequest
|
|
82
|
-
*/
|
|
83
|
-
tagsId?: Array<string>;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {Array<string>}
|
|
87
|
-
* @memberof IndexProductChildRequest
|
|
88
|
-
*/
|
|
89
|
-
productTypeId?: Array<string>;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {Array<string>}
|
|
93
|
-
* @memberof IndexProductChildRequest
|
|
94
|
-
*/
|
|
95
|
-
parentIsAccessory?: Array<string>;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {Array<string>}
|
|
99
|
-
* @memberof IndexProductChildRequest
|
|
100
|
-
*/
|
|
101
|
-
availableSitesId?: Array<string>;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {Array<string>}
|
|
105
|
-
* @memberof IndexProductChildRequest
|
|
106
|
-
*/
|
|
107
|
-
enabledSitesId?: Array<string>;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {Array<string>}
|
|
111
|
-
* @memberof IndexProductChildRequest
|
|
112
|
-
*/
|
|
113
|
-
siteDetailsSeoHasSeoTitle?: Array<string>;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {Array<string>}
|
|
117
|
-
* @memberof IndexProductChildRequest
|
|
118
|
-
*/
|
|
119
|
-
siteDetailsSeoHasSeoDescription?: Array<string>;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @type {number}
|
|
123
|
-
* @memberof IndexProductChildRequest
|
|
124
|
-
*/
|
|
125
|
-
relatedId?: number;
|
|
126
|
-
/**
|
|
127
|
-
*
|
|
128
|
-
* @type {IndexProductChildRequestRelatedTypeEnum}
|
|
129
|
-
* @memberof IndexProductChildRequest
|
|
130
|
-
*/
|
|
131
|
-
relatedType?: IndexProductChildRequestRelatedTypeEnum;
|
|
132
|
-
/**
|
|
133
|
-
*
|
|
134
|
-
* @type {boolean}
|
|
135
|
-
* @memberof IndexProductChildRequest
|
|
136
|
-
*/
|
|
137
|
-
includesRelations?: boolean;
|
|
138
|
-
}
|
|
139
|
-
/**
|
|
140
|
-
* @export
|
|
141
|
-
*/
|
|
142
|
-
export declare const IndexProductChildRequestSortByEnum: {
|
|
143
|
-
readonly Id: "id";
|
|
144
|
-
readonly Name: "name";
|
|
145
|
-
readonly ParentName: "parent-name";
|
|
146
|
-
readonly SiteDetailsName: "siteDetails-name";
|
|
147
|
-
readonly SiteDetailsSlug: "siteDetails-slug";
|
|
148
|
-
readonly Sku: "sku";
|
|
149
|
-
readonly Model: "model";
|
|
150
|
-
readonly NetsuiteSyncNetsuiteId: "netsuiteSync-netsuite_id";
|
|
151
|
-
readonly NewArrivalStartDate: "new_arrival_start_date";
|
|
152
|
-
readonly NewArrivalEndDate: "new_arrival_end_date";
|
|
153
|
-
readonly CreatedAt: "created_at";
|
|
154
|
-
readonly UpdatedAt: "updated_at";
|
|
155
|
-
};
|
|
156
|
-
export type IndexProductChildRequestSortByEnum = typeof IndexProductChildRequestSortByEnum[keyof typeof IndexProductChildRequestSortByEnum];
|
|
157
|
-
/**
|
|
158
|
-
* @export
|
|
159
|
-
*/
|
|
160
|
-
export declare const IndexProductChildRequestSortDirectionEnum: {
|
|
161
|
-
readonly Asc: "asc";
|
|
162
|
-
readonly Desc: "desc";
|
|
163
|
-
};
|
|
164
|
-
export type IndexProductChildRequestSortDirectionEnum = typeof IndexProductChildRequestSortDirectionEnum[keyof typeof IndexProductChildRequestSortDirectionEnum];
|
|
165
|
-
/**
|
|
166
|
-
* @export
|
|
167
|
-
*/
|
|
168
|
-
export declare const IndexProductChildRequestRelatedTypeEnum: {
|
|
169
|
-
readonly Accessory: "accessory";
|
|
170
|
-
readonly Attribute: "attribute";
|
|
171
|
-
readonly AttributeValue: "attributeValue";
|
|
172
|
-
readonly CompatibleProduct: "compatibleProduct";
|
|
173
|
-
readonly Category: "category";
|
|
174
|
-
readonly AutomatedCategory: "automatedCategory";
|
|
175
|
-
readonly Document: "document";
|
|
176
|
-
readonly OverlayTemplate: "overlayTemplate";
|
|
177
|
-
readonly ProductType: "productType";
|
|
178
|
-
readonly ProductRange: "productRange";
|
|
179
|
-
readonly Supplier: "supplier";
|
|
180
|
-
readonly Tag: "tag";
|
|
181
|
-
readonly Label: "label";
|
|
182
|
-
readonly Site: "site";
|
|
183
|
-
};
|
|
184
|
-
export type IndexProductChildRequestRelatedTypeEnum = typeof IndexProductChildRequestRelatedTypeEnum[keyof typeof IndexProductChildRequestRelatedTypeEnum];
|
|
185
|
-
/**
|
|
186
|
-
* Check if a given object implements the IndexProductChildRequest interface.
|
|
187
|
-
*/
|
|
188
|
-
export declare function instanceOfIndexProductChildRequest(value: object): value is IndexProductChildRequest;
|
|
189
|
-
export declare function IndexProductChildRequestFromJSON(json: any): IndexProductChildRequest;
|
|
190
|
-
export declare function IndexProductChildRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductChildRequest;
|
|
191
|
-
export declare function IndexProductChildRequestToJSON(json: any): IndexProductChildRequest;
|
|
192
|
-
export declare function IndexProductChildRequestToJSONTyped(value?: IndexProductChildRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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 StoreProductCategoryRequestDescriptionsInner
|
|
16
|
-
*/
|
|
17
|
-
export interface StoreProductCategoryRequestDescriptionsInner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof StoreProductCategoryRequestDescriptionsInner
|
|
22
|
-
*/
|
|
23
|
-
headerDescription?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof StoreProductCategoryRequestDescriptionsInner
|
|
28
|
-
*/
|
|
29
|
-
footerDescription?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof StoreProductCategoryRequestDescriptionsInner
|
|
34
|
-
*/
|
|
35
|
-
siteId: number;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the StoreProductCategoryRequestDescriptionsInner interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfStoreProductCategoryRequestDescriptionsInner(value: object): value is StoreProductCategoryRequestDescriptionsInner;
|
|
41
|
-
export declare function StoreProductCategoryRequestDescriptionsInnerFromJSON(json: any): StoreProductCategoryRequestDescriptionsInner;
|
|
42
|
-
export declare function StoreProductCategoryRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductCategoryRequestDescriptionsInner;
|
|
43
|
-
export declare function StoreProductCategoryRequestDescriptionsInnerToJSON(json: any): StoreProductCategoryRequestDescriptionsInner;
|
|
44
|
-
export declare function StoreProductCategoryRequestDescriptionsInnerToJSONTyped(value?: StoreProductCategoryRequestDescriptionsInner | 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.instanceOfStoreProductCategoryRequestDescriptionsInner = instanceOfStoreProductCategoryRequestDescriptionsInner;
|
|
17
|
-
exports.StoreProductCategoryRequestDescriptionsInnerFromJSON = StoreProductCategoryRequestDescriptionsInnerFromJSON;
|
|
18
|
-
exports.StoreProductCategoryRequestDescriptionsInnerFromJSONTyped = StoreProductCategoryRequestDescriptionsInnerFromJSONTyped;
|
|
19
|
-
exports.StoreProductCategoryRequestDescriptionsInnerToJSON = StoreProductCategoryRequestDescriptionsInnerToJSON;
|
|
20
|
-
exports.StoreProductCategoryRequestDescriptionsInnerToJSONTyped = StoreProductCategoryRequestDescriptionsInnerToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the StoreProductCategoryRequestDescriptionsInner interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfStoreProductCategoryRequestDescriptionsInner(value) {
|
|
25
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function StoreProductCategoryRequestDescriptionsInnerFromJSON(json) {
|
|
30
|
-
return StoreProductCategoryRequestDescriptionsInnerFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function StoreProductCategoryRequestDescriptionsInnerFromJSONTyped(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 StoreProductCategoryRequestDescriptionsInnerToJSON(json) {
|
|
43
|
-
return StoreProductCategoryRequestDescriptionsInnerToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function StoreProductCategoryRequestDescriptionsInnerToJSONTyped(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 StoreProductCategoryRequestSeoInner
|
|
16
|
-
*/
|
|
17
|
-
export interface StoreProductCategoryRequestSeoInner {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof StoreProductCategoryRequestSeoInner
|
|
22
|
-
*/
|
|
23
|
-
seoTitle?: string | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof StoreProductCategoryRequestSeoInner
|
|
28
|
-
*/
|
|
29
|
-
seoDescription?: string | null;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof StoreProductCategoryRequestSeoInner
|
|
34
|
-
*/
|
|
35
|
-
siteId: number;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the StoreProductCategoryRequestSeoInner interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfStoreProductCategoryRequestSeoInner(value: object): value is StoreProductCategoryRequestSeoInner;
|
|
41
|
-
export declare function StoreProductCategoryRequestSeoInnerFromJSON(json: any): StoreProductCategoryRequestSeoInner;
|
|
42
|
-
export declare function StoreProductCategoryRequestSeoInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductCategoryRequestSeoInner;
|
|
43
|
-
export declare function StoreProductCategoryRequestSeoInnerToJSON(json: any): StoreProductCategoryRequestSeoInner;
|
|
44
|
-
export declare function StoreProductCategoryRequestSeoInnerToJSONTyped(value?: StoreProductCategoryRequestSeoInner | 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.instanceOfStoreProductCategoryRequestSeoInner = instanceOfStoreProductCategoryRequestSeoInner;
|
|
17
|
-
exports.StoreProductCategoryRequestSeoInnerFromJSON = StoreProductCategoryRequestSeoInnerFromJSON;
|
|
18
|
-
exports.StoreProductCategoryRequestSeoInnerFromJSONTyped = StoreProductCategoryRequestSeoInnerFromJSONTyped;
|
|
19
|
-
exports.StoreProductCategoryRequestSeoInnerToJSON = StoreProductCategoryRequestSeoInnerToJSON;
|
|
20
|
-
exports.StoreProductCategoryRequestSeoInnerToJSONTyped = StoreProductCategoryRequestSeoInnerToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the StoreProductCategoryRequestSeoInner interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfStoreProductCategoryRequestSeoInner(value) {
|
|
25
|
-
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
return true;
|
|
28
|
-
}
|
|
29
|
-
function StoreProductCategoryRequestSeoInnerFromJSON(json) {
|
|
30
|
-
return StoreProductCategoryRequestSeoInnerFromJSONTyped(json, false);
|
|
31
|
-
}
|
|
32
|
-
function StoreProductCategoryRequestSeoInnerFromJSONTyped(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 StoreProductCategoryRequestSeoInnerToJSON(json) {
|
|
43
|
-
return StoreProductCategoryRequestSeoInnerToJSONTyped(json, false);
|
|
44
|
-
}
|
|
45
|
-
function StoreProductCategoryRequestSeoInnerToJSONTyped(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,66 +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 GetHierarchyProductCategoryRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface GetHierarchyProductCategoryRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof GetHierarchyProductCategoryRequest
|
|
26
|
-
*/
|
|
27
|
-
siteId: number;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the GetHierarchyProductCategoryRequest interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfGetHierarchyProductCategoryRequest(value: object): value is GetHierarchyProductCategoryRequest {
|
|
34
|
-
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function GetHierarchyProductCategoryRequestFromJSON(json: any): GetHierarchyProductCategoryRequest {
|
|
39
|
-
return GetHierarchyProductCategoryRequestFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function GetHierarchyProductCategoryRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetHierarchyProductCategoryRequest {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
|
|
48
|
-
'siteId': json['site_id'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function GetHierarchyProductCategoryRequestToJSON(json: any): GetHierarchyProductCategoryRequest {
|
|
53
|
-
return GetHierarchyProductCategoryRequestToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function GetHierarchyProductCategoryRequestToJSONTyped(value?: GetHierarchyProductCategoryRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'site_id': value['siteId'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|