@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
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfGenerateGoogleFeedAdminRequest = instanceOfGenerateGoogleFeedAdminRequest;
|
|
17
|
+
exports.GenerateGoogleFeedAdminRequestFromJSON = GenerateGoogleFeedAdminRequestFromJSON;
|
|
18
|
+
exports.GenerateGoogleFeedAdminRequestFromJSONTyped = GenerateGoogleFeedAdminRequestFromJSONTyped;
|
|
19
|
+
exports.GenerateGoogleFeedAdminRequestToJSON = GenerateGoogleFeedAdminRequestToJSON;
|
|
20
|
+
exports.GenerateGoogleFeedAdminRequestToJSONTyped = GenerateGoogleFeedAdminRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the GenerateGoogleFeedAdminRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfGenerateGoogleFeedAdminRequest(value) {
|
|
25
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function GenerateGoogleFeedAdminRequestFromJSON(json) {
|
|
30
|
+
return GenerateGoogleFeedAdminRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function GenerateGoogleFeedAdminRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'siteId': json['site_id'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function GenerateGoogleFeedAdminRequestToJSON(json) {
|
|
41
|
+
return GenerateGoogleFeedAdminRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function GenerateGoogleFeedAdminRequestToJSONTyped(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
|
+
}
|
|
@@ -0,0 +1,192 @@
|
|
|
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 GetProductChildrenOverlayTemplateRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface GetProductChildrenOverlayTemplateRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
22
|
+
*/
|
|
23
|
+
search?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {GetProductChildrenOverlayTemplateRequestSortByEnum}
|
|
27
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
28
|
+
*/
|
|
29
|
+
sortBy?: GetProductChildrenOverlayTemplateRequestSortByEnum;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {GetProductChildrenOverlayTemplateRequestSortDirectionEnum}
|
|
33
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
34
|
+
*/
|
|
35
|
+
sortDirection?: GetProductChildrenOverlayTemplateRequestSortDirectionEnum;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
40
|
+
*/
|
|
41
|
+
perPage?: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
46
|
+
*/
|
|
47
|
+
page?: number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {Array<string>}
|
|
51
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
52
|
+
*/
|
|
53
|
+
siteDetailsSiteId?: Array<string>;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {Array<string>}
|
|
57
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
58
|
+
*/
|
|
59
|
+
isDisabled?: Array<string>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {Array<string>}
|
|
63
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
64
|
+
*/
|
|
65
|
+
netsuiteSyncHasNetsuiteId?: Array<string>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {Array<string>}
|
|
69
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
70
|
+
*/
|
|
71
|
+
categoryId?: Array<string>;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Array<string>}
|
|
75
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
76
|
+
*/
|
|
77
|
+
supplierId?: Array<string>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {Array<string>}
|
|
81
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
82
|
+
*/
|
|
83
|
+
tagsId?: Array<string>;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {Array<string>}
|
|
87
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
88
|
+
*/
|
|
89
|
+
productTypeId?: Array<string>;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {Array<string>}
|
|
93
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
94
|
+
*/
|
|
95
|
+
parentIsAccessory?: Array<string>;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {Array<string>}
|
|
99
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
100
|
+
*/
|
|
101
|
+
availableSitesId?: Array<string>;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {Array<string>}
|
|
105
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
106
|
+
*/
|
|
107
|
+
enabledSitesId?: Array<string>;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {Array<string>}
|
|
111
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
112
|
+
*/
|
|
113
|
+
siteDetailsSeoHasSeoTitle?: Array<string>;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {Array<string>}
|
|
117
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
118
|
+
*/
|
|
119
|
+
siteDetailsSeoHasSeoDescription?: Array<string>;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {number}
|
|
123
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
124
|
+
*/
|
|
125
|
+
relatedId?: number;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {GetProductChildrenOverlayTemplateRequestRelatedTypeEnum}
|
|
129
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
130
|
+
*/
|
|
131
|
+
relatedType?: GetProductChildrenOverlayTemplateRequestRelatedTypeEnum;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {boolean}
|
|
135
|
+
* @memberof GetProductChildrenOverlayTemplateRequest
|
|
136
|
+
*/
|
|
137
|
+
includesRelations?: boolean;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* @export
|
|
141
|
+
*/
|
|
142
|
+
export declare const GetProductChildrenOverlayTemplateRequestSortByEnum: {
|
|
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 GetProductChildrenOverlayTemplateRequestSortByEnum = typeof GetProductChildrenOverlayTemplateRequestSortByEnum[keyof typeof GetProductChildrenOverlayTemplateRequestSortByEnum];
|
|
157
|
+
/**
|
|
158
|
+
* @export
|
|
159
|
+
*/
|
|
160
|
+
export declare const GetProductChildrenOverlayTemplateRequestSortDirectionEnum: {
|
|
161
|
+
readonly Asc: "asc";
|
|
162
|
+
readonly Desc: "desc";
|
|
163
|
+
};
|
|
164
|
+
export type GetProductChildrenOverlayTemplateRequestSortDirectionEnum = typeof GetProductChildrenOverlayTemplateRequestSortDirectionEnum[keyof typeof GetProductChildrenOverlayTemplateRequestSortDirectionEnum];
|
|
165
|
+
/**
|
|
166
|
+
* @export
|
|
167
|
+
*/
|
|
168
|
+
export declare const GetProductChildrenOverlayTemplateRequestRelatedTypeEnum: {
|
|
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 GetProductChildrenOverlayTemplateRequestRelatedTypeEnum = typeof GetProductChildrenOverlayTemplateRequestRelatedTypeEnum[keyof typeof GetProductChildrenOverlayTemplateRequestRelatedTypeEnum];
|
|
185
|
+
/**
|
|
186
|
+
* Check if a given object implements the GetProductChildrenOverlayTemplateRequest interface.
|
|
187
|
+
*/
|
|
188
|
+
export declare function instanceOfGetProductChildrenOverlayTemplateRequest(value: object): value is GetProductChildrenOverlayTemplateRequest;
|
|
189
|
+
export declare function GetProductChildrenOverlayTemplateRequestFromJSON(json: any): GetProductChildrenOverlayTemplateRequest;
|
|
190
|
+
export declare function GetProductChildrenOverlayTemplateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetProductChildrenOverlayTemplateRequest;
|
|
191
|
+
export declare function GetProductChildrenOverlayTemplateRequestToJSON(json: any): GetProductChildrenOverlayTemplateRequest;
|
|
192
|
+
export declare function GetProductChildrenOverlayTemplateRequestToJSONTyped(value?: GetProductChildrenOverlayTemplateRequest | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/{IndexProductChildRequest.js → GetProductChildrenOverlayTemplateRequest.js}
RENAMED
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
21
|
-
exports.
|
|
16
|
+
exports.GetProductChildrenOverlayTemplateRequestRelatedTypeEnum = exports.GetProductChildrenOverlayTemplateRequestSortDirectionEnum = exports.GetProductChildrenOverlayTemplateRequestSortByEnum = void 0;
|
|
17
|
+
exports.instanceOfGetProductChildrenOverlayTemplateRequest = instanceOfGetProductChildrenOverlayTemplateRequest;
|
|
18
|
+
exports.GetProductChildrenOverlayTemplateRequestFromJSON = GetProductChildrenOverlayTemplateRequestFromJSON;
|
|
19
|
+
exports.GetProductChildrenOverlayTemplateRequestFromJSONTyped = GetProductChildrenOverlayTemplateRequestFromJSONTyped;
|
|
20
|
+
exports.GetProductChildrenOverlayTemplateRequestToJSON = GetProductChildrenOverlayTemplateRequestToJSON;
|
|
21
|
+
exports.GetProductChildrenOverlayTemplateRequestToJSONTyped = GetProductChildrenOverlayTemplateRequestToJSONTyped;
|
|
22
22
|
/**
|
|
23
23
|
* @export
|
|
24
24
|
*/
|
|
25
|
-
exports.
|
|
25
|
+
exports.GetProductChildrenOverlayTemplateRequestSortByEnum = {
|
|
26
26
|
Id: 'id',
|
|
27
27
|
Name: 'name',
|
|
28
28
|
ParentName: 'parent-name',
|
|
@@ -39,14 +39,14 @@ exports.IndexProductChildRequestSortByEnum = {
|
|
|
39
39
|
/**
|
|
40
40
|
* @export
|
|
41
41
|
*/
|
|
42
|
-
exports.
|
|
42
|
+
exports.GetProductChildrenOverlayTemplateRequestSortDirectionEnum = {
|
|
43
43
|
Asc: 'asc',
|
|
44
44
|
Desc: 'desc'
|
|
45
45
|
};
|
|
46
46
|
/**
|
|
47
47
|
* @export
|
|
48
48
|
*/
|
|
49
|
-
exports.
|
|
49
|
+
exports.GetProductChildrenOverlayTemplateRequestRelatedTypeEnum = {
|
|
50
50
|
Accessory: 'accessory',
|
|
51
51
|
Attribute: 'attribute',
|
|
52
52
|
AttributeValue: 'attributeValue',
|
|
@@ -63,15 +63,15 @@ exports.IndexProductChildRequestRelatedTypeEnum = {
|
|
|
63
63
|
Site: 'site'
|
|
64
64
|
};
|
|
65
65
|
/**
|
|
66
|
-
* Check if a given object implements the
|
|
66
|
+
* Check if a given object implements the GetProductChildrenOverlayTemplateRequest interface.
|
|
67
67
|
*/
|
|
68
|
-
function
|
|
68
|
+
function instanceOfGetProductChildrenOverlayTemplateRequest(value) {
|
|
69
69
|
return true;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
return
|
|
71
|
+
function GetProductChildrenOverlayTemplateRequestFromJSON(json) {
|
|
72
|
+
return GetProductChildrenOverlayTemplateRequestFromJSONTyped(json, false);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function GetProductChildrenOverlayTemplateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
75
75
|
if (json == null) {
|
|
76
76
|
return json;
|
|
77
77
|
}
|
|
@@ -98,10 +98,10 @@ function IndexProductChildRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
98
98
|
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
101
|
+
function GetProductChildrenOverlayTemplateRequestToJSON(json) {
|
|
102
|
+
return GetProductChildrenOverlayTemplateRequestToJSONTyped(json, false);
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function GetProductChildrenOverlayTemplateRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
105
105
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
106
106
|
if (value == null) {
|
|
107
107
|
return value;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { StoreBlogCategoryRequestDescriptionsInner } from './StoreBlogCategoryRequestDescriptionsInner';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -30,10 +30,10 @@ export interface StoreBlogCategoryRequest {
|
|
|
30
30
|
slug: string;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {Array<
|
|
33
|
+
* @type {Array<StoreBlogCategoryRequestDescriptionsInner>}
|
|
34
34
|
* @memberof StoreBlogCategoryRequest
|
|
35
35
|
*/
|
|
36
|
-
descriptions: Array<
|
|
36
|
+
descriptions: Array<StoreBlogCategoryRequestDescriptionsInner>;
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* Check if a given object implements the StoreBlogCategoryRequest interface.
|
|
@@ -18,7 +18,7 @@ exports.StoreBlogCategoryRequestFromJSON = StoreBlogCategoryRequestFromJSON;
|
|
|
18
18
|
exports.StoreBlogCategoryRequestFromJSONTyped = StoreBlogCategoryRequestFromJSONTyped;
|
|
19
19
|
exports.StoreBlogCategoryRequestToJSON = StoreBlogCategoryRequestToJSON;
|
|
20
20
|
exports.StoreBlogCategoryRequestToJSONTyped = StoreBlogCategoryRequestToJSONTyped;
|
|
21
|
-
var
|
|
21
|
+
var StoreBlogCategoryRequestDescriptionsInner_1 = require("./StoreBlogCategoryRequestDescriptionsInner");
|
|
22
22
|
/**
|
|
23
23
|
* Check if a given object implements the StoreBlogCategoryRequest interface.
|
|
24
24
|
*/
|
|
@@ -41,7 +41,7 @@ function StoreBlogCategoryRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
41
41
|
return {
|
|
42
42
|
'name': json['name'],
|
|
43
43
|
'slug': json['slug'],
|
|
44
|
-
'descriptions': (json['descriptions'].map(
|
|
44
|
+
'descriptions': (json['descriptions'].map(StoreBlogCategoryRequestDescriptionsInner_1.StoreBlogCategoryRequestDescriptionsInnerFromJSON)),
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
47
|
function StoreBlogCategoryRequestToJSON(json) {
|
|
@@ -55,6 +55,6 @@ function StoreBlogCategoryRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
55
|
return {
|
|
56
56
|
'name': value['name'],
|
|
57
57
|
'slug': value['slug'],
|
|
58
|
-
'descriptions': (value['descriptions'].map(
|
|
58
|
+
'descriptions': (value['descriptions'].map(StoreBlogCategoryRequestDescriptionsInner_1.StoreBlogCategoryRequestDescriptionsInnerToJSON)),
|
|
59
59
|
};
|
|
60
60
|
}
|
|
@@ -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 StoreBlogCategoryRequestDescriptionsInner
|
|
16
|
+
*/
|
|
17
|
+
export interface StoreBlogCategoryRequestDescriptionsInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StoreBlogCategoryRequestDescriptionsInner
|
|
22
|
+
*/
|
|
23
|
+
headerDescription?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StoreBlogCategoryRequestDescriptionsInner
|
|
28
|
+
*/
|
|
29
|
+
footerDescription?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof StoreBlogCategoryRequestDescriptionsInner
|
|
34
|
+
*/
|
|
35
|
+
siteId: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the StoreBlogCategoryRequestDescriptionsInner interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfStoreBlogCategoryRequestDescriptionsInner(value: object): value is StoreBlogCategoryRequestDescriptionsInner;
|
|
41
|
+
export declare function StoreBlogCategoryRequestDescriptionsInnerFromJSON(json: any): StoreBlogCategoryRequestDescriptionsInner;
|
|
42
|
+
export declare function StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StoreBlogCategoryRequestDescriptionsInner;
|
|
43
|
+
export declare function StoreBlogCategoryRequestDescriptionsInnerToJSON(json: any): StoreBlogCategoryRequestDescriptionsInner;
|
|
44
|
+
export declare function StoreBlogCategoryRequestDescriptionsInnerToJSONTyped(value?: StoreBlogCategoryRequestDescriptionsInner | 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.instanceOfStoreBlogCategoryRequestDescriptionsInner = instanceOfStoreBlogCategoryRequestDescriptionsInner;
|
|
17
|
+
exports.StoreBlogCategoryRequestDescriptionsInnerFromJSON = StoreBlogCategoryRequestDescriptionsInnerFromJSON;
|
|
18
|
+
exports.StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped = StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped;
|
|
19
|
+
exports.StoreBlogCategoryRequestDescriptionsInnerToJSON = StoreBlogCategoryRequestDescriptionsInnerToJSON;
|
|
20
|
+
exports.StoreBlogCategoryRequestDescriptionsInnerToJSONTyped = StoreBlogCategoryRequestDescriptionsInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StoreBlogCategoryRequestDescriptionsInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStoreBlogCategoryRequestDescriptionsInner(value) {
|
|
25
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function StoreBlogCategoryRequestDescriptionsInnerFromJSON(json) {
|
|
30
|
+
return StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function StoreBlogCategoryRequestDescriptionsInnerFromJSONTyped(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 StoreBlogCategoryRequestDescriptionsInnerToJSON(json) {
|
|
43
|
+
return StoreBlogCategoryRequestDescriptionsInnerToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function StoreBlogCategoryRequestDescriptionsInnerToJSONTyped(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
|
+
}
|
|
@@ -28,6 +28,8 @@ function instanceOfStoreFrontendResource(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('email' in value) || value['email'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
+
if (!('website' in value) || value['website'] === undefined)
|
|
32
|
+
return false;
|
|
31
33
|
if (!('phone' in value) || value['phone'] === undefined)
|
|
32
34
|
return false;
|
|
33
35
|
if (!('latitude' in value) || value['latitude'] === undefined)
|
|
@@ -54,7 +56,7 @@ function StoreFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
56
|
'siteId': json['siteId'],
|
|
55
57
|
'name': json['name'],
|
|
56
58
|
'email': json['email'],
|
|
57
|
-
'website': json['website']
|
|
59
|
+
'website': json['website'],
|
|
58
60
|
'phone': json['phone'],
|
|
59
61
|
'address': json['address'] == null ? undefined : json['address'],
|
|
60
62
|
'latitude': json['latitude'],
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { StorePageRequestSeoInner } from './StorePageRequestSeoInner';
|
|
13
13
|
import type { StorePageRequestBlog } from './StorePageRequestBlog';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
@@ -61,10 +61,10 @@ export interface StorePageRequest {
|
|
|
61
61
|
blog?: StorePageRequestBlog;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
|
-
* @type {Array<
|
|
64
|
+
* @type {Array<StorePageRequestSeoInner>}
|
|
65
65
|
* @memberof StorePageRequest
|
|
66
66
|
*/
|
|
67
|
-
seo: Array<
|
|
67
|
+
seo: Array<StorePageRequestSeoInner>;
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
70
|
* @export
|
|
@@ -19,7 +19,7 @@ exports.StorePageRequestFromJSON = StorePageRequestFromJSON;
|
|
|
19
19
|
exports.StorePageRequestFromJSONTyped = StorePageRequestFromJSONTyped;
|
|
20
20
|
exports.StorePageRequestToJSON = StorePageRequestToJSON;
|
|
21
21
|
exports.StorePageRequestToJSONTyped = StorePageRequestToJSONTyped;
|
|
22
|
-
var
|
|
22
|
+
var StorePageRequestSeoInner_1 = require("./StorePageRequestSeoInner");
|
|
23
23
|
var StorePageRequestBlog_1 = require("./StorePageRequestBlog");
|
|
24
24
|
/**
|
|
25
25
|
* @export
|
|
@@ -60,7 +60,7 @@ function StorePageRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
60
|
'enabled': json['enabled'] == null ? undefined : json['enabled'],
|
|
61
61
|
'startDate': json['start_date'] == null ? undefined : (new Date(json['start_date'])),
|
|
62
62
|
'blog': json['blog'] == null ? undefined : (0, StorePageRequestBlog_1.StorePageRequestBlogFromJSON)(json['blog']),
|
|
63
|
-
'seo': (json['seo'].map(
|
|
63
|
+
'seo': (json['seo'].map(StorePageRequestSeoInner_1.StorePageRequestSeoInnerFromJSON)),
|
|
64
64
|
};
|
|
65
65
|
}
|
|
66
66
|
function StorePageRequestToJSON(json) {
|
|
@@ -79,6 +79,6 @@ function StorePageRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
79
79
|
'enabled': value['enabled'],
|
|
80
80
|
'start_date': value['startDate'] == null ? value['startDate'] : value['startDate'].toISOString(),
|
|
81
81
|
'blog': (0, StorePageRequestBlog_1.StorePageRequestBlogToJSON)(value['blog']),
|
|
82
|
-
'seo': (value['seo'].map(
|
|
82
|
+
'seo': (value['seo'].map(StorePageRequestSeoInner_1.StorePageRequestSeoInnerToJSON)),
|
|
83
83
|
};
|
|
84
84
|
}
|
|
@@ -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 StorePageRequestSeoInner
|
|
16
|
+
*/
|
|
17
|
+
export interface StorePageRequestSeoInner {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof StorePageRequestSeoInner
|
|
22
|
+
*/
|
|
23
|
+
seoTitle?: string | null;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof StorePageRequestSeoInner
|
|
28
|
+
*/
|
|
29
|
+
seoDescription?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof StorePageRequestSeoInner
|
|
34
|
+
*/
|
|
35
|
+
siteId: number;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the StorePageRequestSeoInner interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfStorePageRequestSeoInner(value: object): value is StorePageRequestSeoInner;
|
|
41
|
+
export declare function StorePageRequestSeoInnerFromJSON(json: any): StorePageRequestSeoInner;
|
|
42
|
+
export declare function StorePageRequestSeoInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): StorePageRequestSeoInner;
|
|
43
|
+
export declare function StorePageRequestSeoInnerToJSON(json: any): StorePageRequestSeoInner;
|
|
44
|
+
export declare function StorePageRequestSeoInnerToJSONTyped(value?: StorePageRequestSeoInner | 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.instanceOfStorePageRequestSeoInner = instanceOfStorePageRequestSeoInner;
|
|
17
|
+
exports.StorePageRequestSeoInnerFromJSON = StorePageRequestSeoInnerFromJSON;
|
|
18
|
+
exports.StorePageRequestSeoInnerFromJSONTyped = StorePageRequestSeoInnerFromJSONTyped;
|
|
19
|
+
exports.StorePageRequestSeoInnerToJSON = StorePageRequestSeoInnerToJSON;
|
|
20
|
+
exports.StorePageRequestSeoInnerToJSONTyped = StorePageRequestSeoInnerToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the StorePageRequestSeoInner interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfStorePageRequestSeoInner(value) {
|
|
25
|
+
if (!('siteId' in value) || value['siteId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function StorePageRequestSeoInnerFromJSON(json) {
|
|
30
|
+
return StorePageRequestSeoInnerFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function StorePageRequestSeoInnerFromJSONTyped(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 StorePageRequestSeoInnerToJSON(json) {
|
|
43
|
+
return StorePageRequestSeoInnerToJSONTyped(json, false);
|
|
44
|
+
}
|
|
45
|
+
function StorePageRequestSeoInnerToJSONTyped(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
|
+
}
|