@digital8/lighting-illusions-ts-sdk 0.0.1673 → 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/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.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/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +3 -1
- 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/StoreResource.d.ts +2 -2
- package/dist/models/StoreResource.js +4 -4
- 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/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/AddressResource.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/StoreFrontendResource.ts +3 -2
- 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/StoreResource.ts +5 -5
- 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
|
@@ -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
|
-
|
|
@@ -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 StoreProductCategoryRequestDescriptionsInner
|
|
20
|
-
*/
|
|
21
|
-
export interface StoreProductCategoryRequestDescriptionsInner {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof StoreProductCategoryRequestDescriptionsInner
|
|
26
|
-
*/
|
|
27
|
-
headerDescription?: string | null;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof StoreProductCategoryRequestDescriptionsInner
|
|
32
|
-
*/
|
|
33
|
-
footerDescription?: string | null;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {number}
|
|
37
|
-
* @memberof StoreProductCategoryRequestDescriptionsInner
|
|
38
|
-
*/
|
|
39
|
-
siteId: number;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
/**
|
|
43
|
-
* Check if a given object implements the StoreProductCategoryRequestDescriptionsInner interface.
|
|
44
|
-
*/
|
|
45
|
-
export function instanceOfStoreProductCategoryRequestDescriptionsInner(value: object): value is StoreProductCategoryRequestDescriptionsInner {
|
|
46
|
-
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
47
|
-
return true;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
export function StoreProductCategoryRequestDescriptionsInnerFromJSON(json: any): StoreProductCategoryRequestDescriptionsInner {
|
|
51
|
-
return StoreProductCategoryRequestDescriptionsInnerFromJSONTyped(json, false);
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export function StoreProductCategoryRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreProductCategoryRequestDescriptionsInner {
|
|
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 StoreProductCategoryRequestDescriptionsInnerToJSON(json: any): StoreProductCategoryRequestDescriptionsInner {
|
|
67
|
-
return StoreProductCategoryRequestDescriptionsInnerToJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function StoreProductCategoryRequestDescriptionsInnerToJSONTyped(value?: StoreProductCategoryRequestDescriptionsInner | 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
|
-
|