@digital8/lighting-illusions-ts-sdk 0.0.1577 → 0.0.1578
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 +56 -40
- package/README.md +41 -26
- package/dist/apis/MenuApi.d.ts +109 -0
- package/dist/apis/{ProductRegistrationApi.js → MenuApi.js} +130 -74
- package/dist/apis/MenuItemsApi.d.ts +124 -0
- package/dist/apis/MenuItemsApi.js +491 -0
- package/dist/apis/index.d.ts +2 -1
- package/dist/apis/index.js +2 -1
- package/dist/models/AddressFrontendResource.d.ts +2 -2
- package/dist/models/AddressFrontendResource.js +2 -6
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +3 -1
- package/dist/models/GetAllMenuItemRequest.d.ts +93 -0
- package/dist/models/GetAllMenuItemRequest.js +81 -0
- package/dist/models/GetAllMenuRequest.d.ts +93 -0
- package/dist/models/{GetAllProductRegistrationRequest.js → GetAllMenuRequest.js} +22 -21
- package/dist/models/GetHierarchyMenuItemRequest.d.ts +32 -0
- package/dist/models/GetHierarchyMenuItemRequest.js +51 -0
- package/dist/models/GlobalSearchProductResource.d.ts +0 -6
- package/dist/models/GlobalSearchProductResource.js +0 -4
- package/dist/models/IndexMenuRequest.d.ts +105 -0
- package/dist/models/{ListAssetsProductRegistrationRequest.js → IndexMenuRequest.js} +24 -22
- package/dist/models/IndexProductChildRequest.d.ts +0 -1
- package/dist/models/IndexProductChildRequest.js +0 -1
- package/dist/models/MenuItemHierarchyResource.d.ts +81 -0
- package/dist/models/MenuItemHierarchyResource.js +80 -0
- package/dist/models/MenuItemHierarchyResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuItemHierarchyResourceArrayResponse.js +50 -0
- package/dist/models/MenuItemLinkResource.d.ts +68 -0
- package/dist/models/MenuItemLinkResource.js +67 -0
- package/dist/models/MenuItemLinkResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuItemLinkResourceArrayResponse.js +50 -0
- package/dist/models/MenuItemLiteResource.d.ts +62 -0
- package/dist/models/MenuItemLiteResource.js +67 -0
- package/dist/models/MenuItemLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuItemLiteResourceArrayResponse.js +50 -0
- package/dist/models/MenuItemResource.d.ts +106 -0
- package/dist/models/MenuItemResource.js +91 -0
- package/dist/models/MenuItemResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuItemResourceArrayResponse.js +50 -0
- package/dist/models/MenuItemType.d.ts +27 -0
- package/dist/models/MenuItemType.js +53 -0
- package/dist/models/MenuListResource.d.ts +64 -0
- package/dist/models/MenuListResource.js +73 -0
- package/dist/models/MenuListResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuListResourceArrayResponse.js +50 -0
- package/dist/models/MenuPosition.d.ts +27 -0
- package/dist/models/MenuPosition.js +53 -0
- package/dist/models/MenuResource.d.ts +63 -0
- package/dist/models/MenuResource.js +70 -0
- package/dist/models/MenuResourceArrayResponse.d.ts +33 -0
- package/dist/models/MenuResourceArrayResponse.js +50 -0
- package/dist/models/PaginatedMenuListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedMenuListResourceResponse.js +57 -0
- package/dist/models/ProductChildListResource.d.ts +0 -6
- package/dist/models/ProductChildListResource.js +0 -2
- package/dist/models/ProductSearchResultResource.d.ts +0 -6
- package/dist/models/ProductSearchResultResource.js +0 -4
- package/dist/models/SearchLinkablesMenuItemRequest.d.ts +54 -0
- package/dist/models/SearchLinkablesMenuItemRequest.js +65 -0
- package/dist/models/StoreAssetForAssetableRequest.d.ts +2 -0
- package/dist/models/StoreAssetForAssetableRequest.js +3 -1
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +1 -3
- package/dist/models/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +1 -3
- package/dist/models/StoreMenuItemRequest.d.ts +97 -0
- package/dist/models/StoreMenuItemRequest.js +84 -0
- package/dist/models/StoreMenuItemRequestMenuItemLink.d.ts +60 -0
- package/dist/models/StoreMenuItemRequestMenuItemLink.js +65 -0
- package/dist/models/StoreMenuRequest.d.ts +54 -0
- package/dist/models/StoreMenuRequest.js +69 -0
- package/dist/models/UpdateMenuItemRequest.d.ts +97 -0
- package/dist/models/UpdateMenuItemRequest.js +78 -0
- package/dist/models/UpdateMenuRequest.d.ts +61 -0
- package/dist/models/UpdateMenuRequest.js +66 -0
- package/dist/models/UpdateMenuRequestMenuItemOrderInner.d.ts +44 -0
- package/dist/models/UpdateMenuRequestMenuItemOrderInner.js +53 -0
- package/dist/models/index.d.ts +26 -19
- package/dist/models/index.js +26 -19
- package/docs/{IndexProductRegistrationRequest.md → GetAllMenuItemRequest.md} +8 -18
- package/docs/{GetAllProductRegistrationRequest.md → GetAllMenuRequest.md} +6 -4
- package/docs/GetHierarchyMenuItemRequest.md +34 -0
- package/docs/GlobalSearchProductResource.md +0 -2
- package/docs/{ListAssetsProductRegistrationRequest.md → IndexMenuRequest.md} +8 -8
- package/docs/MenuApi.md +407 -0
- package/docs/MenuItemHierarchyResource.md +50 -0
- package/docs/{ProductRegistrationResourceArrayResponse.md → MenuItemHierarchyResourceArrayResponse.md} +5 -5
- package/docs/{ProductRegistrationCustomerResource.md → MenuItemLinkResource.md} +14 -12
- package/docs/MenuItemLinkResourceArrayResponse.md +34 -0
- package/docs/{ProductRegistrationAssetResource.md → MenuItemLiteResource.md} +12 -6
- package/docs/MenuItemLiteResourceArrayResponse.md +34 -0
- package/docs/MenuItemResource.md +58 -0
- package/docs/MenuItemResourceArrayResponse.md +34 -0
- package/docs/{ProductRegistrationAssetType.md → MenuItemType.md} +4 -4
- package/docs/MenuItemsApi.md +473 -0
- package/docs/MenuListResource.md +44 -0
- package/docs/MenuListResourceArrayResponse.md +34 -0
- package/docs/MenuPosition.md +32 -0
- package/docs/{ProductRegistrationProductChildResource.md → MenuResource.md} +12 -8
- package/docs/MenuResourceArrayResponse.md +34 -0
- package/docs/{PaginatedProductRegistrationResourceResponse.md → PaginatedMenuListResourceResponse.md} +5 -5
- package/docs/ProductChildListResource.md +0 -2
- package/docs/ProductSearchResultResource.md +0 -2
- package/docs/SearchLinkablesMenuItemRequest.md +38 -0
- package/docs/StoreMenuItemRequest.md +52 -0
- package/docs/{ProductRegistrationAssetResourceArrayResponse.md → StoreMenuItemRequestMenuItemLink.md} +12 -6
- package/docs/StoreMenuRequest.md +38 -0
- package/docs/UpdateMenuItemRequest.md +52 -0
- package/docs/{ProductRegistrationCustomerResourceArrayResponse.md → UpdateMenuRequest.md} +12 -6
- package/docs/{ProductRegistrationLiteResource.md → UpdateMenuRequestMenuItemOrderInner.md} +8 -6
- package/package.json +1 -1
- package/src/apis/MenuApi.ts +334 -0
- package/src/apis/MenuItemsApi.ts +381 -0
- package/src/apis/index.ts +2 -1
- package/src/models/AddressFrontendResource.ts +4 -6
- package/src/models/AddressResource.ts +3 -2
- package/src/models/GetAllMenuItemRequest.ts +144 -0
- package/src/models/GetAllMenuRequest.ts +144 -0
- package/src/models/GetHierarchyMenuItemRequest.ts +66 -0
- package/src/models/GlobalSearchProductResource.ts +0 -9
- package/src/models/IndexMenuRequest.ts +160 -0
- package/src/models/IndexProductChildRequest.ts +0 -1
- package/src/models/MenuItemHierarchyResource.ts +144 -0
- package/src/models/MenuItemHierarchyResourceArrayResponse.ts +73 -0
- package/src/models/MenuItemLinkResource.ts +116 -0
- package/src/models/MenuItemLinkResourceArrayResponse.ts +73 -0
- package/src/models/MenuItemLiteResource.ts +109 -0
- package/src/models/MenuItemLiteResourceArrayResponse.ts +73 -0
- package/src/models/MenuItemResource.ts +184 -0
- package/src/models/MenuItemResourceArrayResponse.ts +73 -0
- package/src/models/MenuItemType.ts +55 -0
- package/src/models/MenuListResource.ts +126 -0
- package/src/models/MenuListResourceArrayResponse.ts +73 -0
- package/src/models/MenuPosition.ts +55 -0
- package/src/models/MenuResource.ts +118 -0
- package/src/models/MenuResourceArrayResponse.ts +73 -0
- package/src/models/PaginatedMenuListResourceResponse.ts +90 -0
- package/src/models/ProductChildListResource.ts +0 -8
- package/src/models/ProductSearchResultResource.ts +0 -9
- package/src/models/SearchLinkablesMenuItemRequest.ts +95 -0
- package/src/models/StoreAssetForAssetableRequest.ts +3 -1
- package/src/models/StoreFrontendResource.ts +2 -3
- package/src/models/StoreListResource.ts +2 -3
- package/src/models/StoreMenuItemRequest.ts +161 -0
- package/src/models/StoreMenuItemRequestMenuItemLink.ts +102 -0
- package/src/models/StoreMenuRequest.ts +97 -0
- package/src/models/UpdateMenuItemRequest.ts +158 -0
- package/src/models/UpdateMenuRequest.ts +110 -0
- package/src/models/UpdateMenuRequestMenuItemOrderInner.ts +81 -0
- package/src/models/index.ts +26 -19
- package/dist/apis/ProductRegistrationApi.d.ts +0 -95
- package/dist/models/GetAllProductRegistrationRequest.d.ts +0 -88
- package/dist/models/IndexProductRegistrationRequest.d.ts +0 -131
- package/dist/models/IndexProductRegistrationRequest.js +0 -98
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +0 -103
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +0 -57
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +0 -57
- package/dist/models/ProductRegistrationAssetResource.d.ts +0 -45
- package/dist/models/ProductRegistrationAssetResource.js +0 -58
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationAssetType.d.ts +0 -25
- package/dist/models/ProductRegistrationAssetType.js +0 -51
- package/dist/models/ProductRegistrationCustomerResource.d.ts +0 -62
- package/dist/models/ProductRegistrationCustomerResource.js +0 -65
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationListResource.d.ts +0 -57
- package/dist/models/ProductRegistrationListResource.js +0 -64
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationLiteResource.d.ts +0 -38
- package/dist/models/ProductRegistrationLiteResource.js +0 -53
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationProductChildResource.d.ts +0 -50
- package/dist/models/ProductRegistrationProductChildResource.js +0 -63
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +0 -50
- package/dist/models/ProductRegistrationResource.d.ts +0 -90
- package/dist/models/ProductRegistrationResource.js +0 -81
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductRegistrationResourceArrayResponse.js +0 -50
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +0 -36
- package/docs/PaginatedProductRegistrationListResourceResponse.md +0 -36
- package/docs/ProductRegistrationApi.md +0 -344
- package/docs/ProductRegistrationListResource.md +0 -42
- package/docs/ProductRegistrationListResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +0 -34
- package/docs/ProductRegistrationResource.md +0 -52
- package/src/apis/ProductRegistrationApi.ts +0 -297
- package/src/models/GetAllProductRegistrationRequest.ts +0 -137
- package/src/models/IndexProductRegistrationRequest.ts +0 -193
- package/src/models/ListAssetsProductRegistrationRequest.ts +0 -158
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +0 -90
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +0 -90
- package/src/models/ProductRegistrationAssetResource.ts +0 -91
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationAssetType.ts +0 -53
- package/src/models/ProductRegistrationCustomerResource.ts +0 -108
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationListResource.ts +0 -108
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationLiteResource.ts +0 -74
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationProductChildResource.ts +0 -93
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +0 -73
- package/src/models/ProductRegistrationResource.ts +0 -171
- package/src/models/ProductRegistrationResourceArrayResponse.ts +0 -73
|
@@ -0,0 +1,81 @@
|
|
|
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 UpdateMenuRequestMenuItemOrderInner
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateMenuRequestMenuItemOrderInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof UpdateMenuRequestMenuItemOrderInner
|
|
26
|
+
*/
|
|
27
|
+
id?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {number}
|
|
31
|
+
* @memberof UpdateMenuRequestMenuItemOrderInner
|
|
32
|
+
*/
|
|
33
|
+
index?: number;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {number}
|
|
37
|
+
* @memberof UpdateMenuRequestMenuItemOrderInner
|
|
38
|
+
*/
|
|
39
|
+
parentId?: number;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Check if a given object implements the UpdateMenuRequestMenuItemOrderInner interface.
|
|
44
|
+
*/
|
|
45
|
+
export function instanceOfUpdateMenuRequestMenuItemOrderInner(value: object): value is UpdateMenuRequestMenuItemOrderInner {
|
|
46
|
+
return true;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function UpdateMenuRequestMenuItemOrderInnerFromJSON(json: any): UpdateMenuRequestMenuItemOrderInner {
|
|
50
|
+
return UpdateMenuRequestMenuItemOrderInnerFromJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export function UpdateMenuRequestMenuItemOrderInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateMenuRequestMenuItemOrderInner {
|
|
54
|
+
if (json == null) {
|
|
55
|
+
return json;
|
|
56
|
+
}
|
|
57
|
+
return {
|
|
58
|
+
|
|
59
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
60
|
+
'index': json['index'] == null ? undefined : json['index'],
|
|
61
|
+
'parentId': json['parent_id'] == null ? undefined : json['parent_id'],
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function UpdateMenuRequestMenuItemOrderInnerToJSON(json: any): UpdateMenuRequestMenuItemOrderInner {
|
|
66
|
+
return UpdateMenuRequestMenuItemOrderInnerToJSONTyped(json, false);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export function UpdateMenuRequestMenuItemOrderInnerToJSONTyped(value?: UpdateMenuRequestMenuItemOrderInner | null, ignoreDiscriminator: boolean = false): any {
|
|
70
|
+
if (value == null) {
|
|
71
|
+
return value;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
return {
|
|
75
|
+
|
|
76
|
+
'id': value['id'],
|
|
77
|
+
'index': value['index'],
|
|
78
|
+
'parent_id': value['parentId'],
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -88,15 +88,17 @@ export * from './GetAllAttributeValueRequest';
|
|
|
88
88
|
export * from './GetAllDefinitionRequest';
|
|
89
89
|
export * from './GetAllDocumentRequest';
|
|
90
90
|
export * from './GetAllGoogleCategoryRequest';
|
|
91
|
+
export * from './GetAllMenuItemRequest';
|
|
92
|
+
export * from './GetAllMenuRequest';
|
|
91
93
|
export * from './GetAllOverlayTemplateRequest';
|
|
92
94
|
export * from './GetAllProductCategoryRequest';
|
|
93
95
|
export * from './GetAllProductChildRequest';
|
|
94
96
|
export * from './GetAllProductRangeRequest';
|
|
95
|
-
export * from './GetAllProductRegistrationRequest';
|
|
96
97
|
export * from './GetAllProductRequest';
|
|
97
98
|
export * from './GetAllProductTypeRequest';
|
|
98
99
|
export * from './GetAllStoreRequest';
|
|
99
100
|
export * from './GetAllSupplierRequest';
|
|
101
|
+
export * from './GetHierarchyMenuItemRequest';
|
|
100
102
|
export * from './GetHierarchyProductCategoryRequest';
|
|
101
103
|
export * from './GetUniqueEndpointsExternalApiLogRequest';
|
|
102
104
|
export * from './GlobalSearchCategoryResource';
|
|
@@ -115,12 +117,12 @@ export * from './IndexDefinitionRequest';
|
|
|
115
117
|
export * from './IndexDocumentRequest';
|
|
116
118
|
export * from './IndexExternalApiLogRequest';
|
|
117
119
|
export * from './IndexLabelRequest';
|
|
120
|
+
export * from './IndexMenuRequest';
|
|
118
121
|
export * from './IndexModelAttributeRequest';
|
|
119
122
|
export * from './IndexOverlayTemplateRequest';
|
|
120
123
|
export * from './IndexProductCategoryRequest';
|
|
121
124
|
export * from './IndexProductChildRequest';
|
|
122
125
|
export * from './IndexProductRangeRequest';
|
|
123
|
-
export * from './IndexProductRegistrationRequest';
|
|
124
126
|
export * from './IndexProductRequest';
|
|
125
127
|
export * from './IndexProductTypeRequest';
|
|
126
128
|
export * from './IndexSiteNotificationRequest';
|
|
@@ -134,7 +136,20 @@ export * from './LabelLiteResource';
|
|
|
134
136
|
export * from './LabelLiteResourceArrayResponse';
|
|
135
137
|
export * from './LabelResource';
|
|
136
138
|
export * from './LabelResourceArrayResponse';
|
|
137
|
-
export * from './
|
|
139
|
+
export * from './MenuItemHierarchyResource';
|
|
140
|
+
export * from './MenuItemHierarchyResourceArrayResponse';
|
|
141
|
+
export * from './MenuItemLinkResource';
|
|
142
|
+
export * from './MenuItemLinkResourceArrayResponse';
|
|
143
|
+
export * from './MenuItemLiteResource';
|
|
144
|
+
export * from './MenuItemLiteResourceArrayResponse';
|
|
145
|
+
export * from './MenuItemResource';
|
|
146
|
+
export * from './MenuItemResourceArrayResponse';
|
|
147
|
+
export * from './MenuItemType';
|
|
148
|
+
export * from './MenuListResource';
|
|
149
|
+
export * from './MenuListResourceArrayResponse';
|
|
150
|
+
export * from './MenuPosition';
|
|
151
|
+
export * from './MenuResource';
|
|
152
|
+
export * from './MenuResourceArrayResponse';
|
|
138
153
|
export * from './ModelAttributeListResource';
|
|
139
154
|
export * from './ModelAttributeListResourceArrayResponse';
|
|
140
155
|
export * from './ModelAttributeResource';
|
|
@@ -163,6 +178,7 @@ export * from './PaginatedExternalApiLogListResourceResponse';
|
|
|
163
178
|
export * from './PaginatedExternalApiLogResourceResponse';
|
|
164
179
|
export * from './PaginatedGoogleCategoryResourceResponse';
|
|
165
180
|
export * from './PaginatedLabelListResourceResponse';
|
|
181
|
+
export * from './PaginatedMenuListResourceResponse';
|
|
166
182
|
export * from './PaginatedModelAttributeListResourceResponse';
|
|
167
183
|
export * from './PaginatedOverlayTemplateListResourceResponse';
|
|
168
184
|
export * from './PaginatedOverlayTemplateLiteResourceResponse';
|
|
@@ -181,9 +197,6 @@ export * from './PaginatedProductRangeListResourceResponse';
|
|
|
181
197
|
export * from './PaginatedProductRangeLiteResourceResponse';
|
|
182
198
|
export * from './PaginatedProductRangeResourceResponse';
|
|
183
199
|
export * from './PaginatedProductRangeSearchResultResourceResponse';
|
|
184
|
-
export * from './PaginatedProductRegistrationAssetResourceResponse';
|
|
185
|
-
export * from './PaginatedProductRegistrationListResourceResponse';
|
|
186
|
-
export * from './PaginatedProductRegistrationResourceResponse';
|
|
187
200
|
export * from './PaginatedProductResourceResponse';
|
|
188
201
|
export * from './PaginatedProductSearchResultResourceResponse';
|
|
189
202
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
@@ -266,19 +279,6 @@ export * from './ProductRangeSiteDetailResource';
|
|
|
266
279
|
export * from './ProductRangeSiteDetailResourceArrayResponse';
|
|
267
280
|
export * from './ProductRangeSortBy';
|
|
268
281
|
export * from './ProductRating';
|
|
269
|
-
export * from './ProductRegistrationAssetResource';
|
|
270
|
-
export * from './ProductRegistrationAssetResourceArrayResponse';
|
|
271
|
-
export * from './ProductRegistrationAssetType';
|
|
272
|
-
export * from './ProductRegistrationCustomerResource';
|
|
273
|
-
export * from './ProductRegistrationCustomerResourceArrayResponse';
|
|
274
|
-
export * from './ProductRegistrationListResource';
|
|
275
|
-
export * from './ProductRegistrationListResourceArrayResponse';
|
|
276
|
-
export * from './ProductRegistrationLiteResource';
|
|
277
|
-
export * from './ProductRegistrationLiteResourceArrayResponse';
|
|
278
|
-
export * from './ProductRegistrationProductChildResource';
|
|
279
|
-
export * from './ProductRegistrationProductChildResourceArrayResponse';
|
|
280
|
-
export * from './ProductRegistrationResource';
|
|
281
|
-
export * from './ProductRegistrationResourceArrayResponse';
|
|
282
282
|
export * from './ProductResource';
|
|
283
283
|
export * from './ProductResourceArrayResponse';
|
|
284
284
|
export * from './ProductSearchResponseResource';
|
|
@@ -296,6 +296,7 @@ export * from './ProductTypeResource';
|
|
|
296
296
|
export * from './ProductTypeResourceArrayResponse';
|
|
297
297
|
export * from './SEOResource';
|
|
298
298
|
export * from './SEOResourceArrayResponse';
|
|
299
|
+
export * from './SearchLinkablesMenuItemRequest';
|
|
299
300
|
export * from './ShowAssetsProductChildRequest';
|
|
300
301
|
export * from './ShowAttributesProductChildRequest';
|
|
301
302
|
export * from './SiteConfigResource';
|
|
@@ -326,6 +327,9 @@ export * from './StoreListResource';
|
|
|
326
327
|
export * from './StoreListResourceArrayResponse';
|
|
327
328
|
export * from './StoreLiteResource';
|
|
328
329
|
export * from './StoreLiteResourceArrayResponse';
|
|
330
|
+
export * from './StoreMenuItemRequest';
|
|
331
|
+
export * from './StoreMenuItemRequestMenuItemLink';
|
|
332
|
+
export * from './StoreMenuRequest';
|
|
329
333
|
export * from './StoreOverlayTemplateAssetRequest';
|
|
330
334
|
export * from './StoreOverlayTemplateRequest';
|
|
331
335
|
export * from './StoreProductCategoryRequest';
|
|
@@ -379,6 +383,9 @@ export * from './UpdateDocumentRequest';
|
|
|
379
383
|
export * from './UpdateFilterOrderAttributeRequest';
|
|
380
384
|
export * from './UpdateFilterOrderAttributeRequestValuesInner';
|
|
381
385
|
export * from './UpdateLabelRequest';
|
|
386
|
+
export * from './UpdateMenuItemRequest';
|
|
387
|
+
export * from './UpdateMenuRequest';
|
|
388
|
+
export * from './UpdateMenuRequestMenuItemOrderInner';
|
|
382
389
|
export * from './UpdateModelAttributeRequest';
|
|
383
390
|
export * from './UpdateOverlayTemplateAssetRequest';
|
|
384
391
|
export * from './UpdateOverlayTemplateRequest';
|
|
@@ -1,95 +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
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { GetAllProductRegistrationRequest, IndexProductChildRequest, IndexProductRegistrationRequest, ListAssetsProductRegistrationRequest, PaginatedProductChildListResourceResponse, PaginatedProductRegistrationAssetResourceResponse, PaginatedProductRegistrationListResourceResponse, ProductRegistrationLiteResourceArrayResponse, ProductRegistrationResource } from '../models/index';
|
|
14
|
-
export interface GetAllProductRegistrationOperationRequest {
|
|
15
|
-
getAllProductRegistrationRequest?: GetAllProductRegistrationRequest;
|
|
16
|
-
}
|
|
17
|
-
export interface IndexProductRegistrationOperationRequest {
|
|
18
|
-
indexProductRegistrationRequest?: IndexProductRegistrationRequest;
|
|
19
|
-
}
|
|
20
|
-
export interface ListAssetsProductRegistrationOperationRequest {
|
|
21
|
-
productRegistration: number;
|
|
22
|
-
listAssetsProductRegistrationRequest?: ListAssetsProductRegistrationRequest;
|
|
23
|
-
}
|
|
24
|
-
export interface ListProductsProductRegistrationRequest {
|
|
25
|
-
productRegistration: number;
|
|
26
|
-
indexProductChildRequest?: IndexProductChildRequest;
|
|
27
|
-
}
|
|
28
|
-
export interface ShowProductRegistrationRequest {
|
|
29
|
-
productRegistration: number;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
*/
|
|
34
|
-
export declare class ProductRegistrationApi extends runtime.BaseAPI {
|
|
35
|
-
/**
|
|
36
|
-
* Creates request options for getAllProductRegistration without sending the request
|
|
37
|
-
*/
|
|
38
|
-
getAllProductRegistrationRequestOpts(requestParameters: GetAllProductRegistrationOperationRequest): Promise<runtime.RequestOpts>;
|
|
39
|
-
/**
|
|
40
|
-
* Auto-generated: getAllProductRegistration
|
|
41
|
-
*/
|
|
42
|
-
getAllProductRegistrationRaw(requestParameters: GetAllProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRegistrationLiteResourceArrayResponse>>;
|
|
43
|
-
/**
|
|
44
|
-
* Auto-generated: getAllProductRegistration
|
|
45
|
-
*/
|
|
46
|
-
getAllProductRegistration(requestParameters?: GetAllProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRegistrationLiteResourceArrayResponse>;
|
|
47
|
-
/**
|
|
48
|
-
* Creates request options for indexProductRegistration without sending the request
|
|
49
|
-
*/
|
|
50
|
-
indexProductRegistrationRequestOpts(requestParameters: IndexProductRegistrationOperationRequest): Promise<runtime.RequestOpts>;
|
|
51
|
-
/**
|
|
52
|
-
* Auto-generated: indexProductRegistration
|
|
53
|
-
*/
|
|
54
|
-
indexProductRegistrationRaw(requestParameters: IndexProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductRegistrationListResourceResponse>>;
|
|
55
|
-
/**
|
|
56
|
-
* Auto-generated: indexProductRegistration
|
|
57
|
-
*/
|
|
58
|
-
indexProductRegistration(requestParameters?: IndexProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductRegistrationListResourceResponse>;
|
|
59
|
-
/**
|
|
60
|
-
* Creates request options for listAssetsProductRegistration without sending the request
|
|
61
|
-
*/
|
|
62
|
-
listAssetsProductRegistrationRequestOpts(requestParameters: ListAssetsProductRegistrationOperationRequest): Promise<runtime.RequestOpts>;
|
|
63
|
-
/**
|
|
64
|
-
* Auto-generated: listAssetsProductRegistration
|
|
65
|
-
*/
|
|
66
|
-
listAssetsProductRegistrationRaw(requestParameters: ListAssetsProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductRegistrationAssetResourceResponse>>;
|
|
67
|
-
/**
|
|
68
|
-
* Auto-generated: listAssetsProductRegistration
|
|
69
|
-
*/
|
|
70
|
-
listAssetsProductRegistration(requestParameters: ListAssetsProductRegistrationOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductRegistrationAssetResourceResponse>;
|
|
71
|
-
/**
|
|
72
|
-
* Creates request options for listProductsProductRegistration without sending the request
|
|
73
|
-
*/
|
|
74
|
-
listProductsProductRegistrationRequestOpts(requestParameters: ListProductsProductRegistrationRequest): Promise<runtime.RequestOpts>;
|
|
75
|
-
/**
|
|
76
|
-
* Auto-generated: listProductsProductRegistration
|
|
77
|
-
*/
|
|
78
|
-
listProductsProductRegistrationRaw(requestParameters: ListProductsProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedProductChildListResourceResponse>>;
|
|
79
|
-
/**
|
|
80
|
-
* Auto-generated: listProductsProductRegistration
|
|
81
|
-
*/
|
|
82
|
-
listProductsProductRegistration(requestParameters: ListProductsProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedProductChildListResourceResponse>;
|
|
83
|
-
/**
|
|
84
|
-
* Creates request options for showProductRegistration without sending the request
|
|
85
|
-
*/
|
|
86
|
-
showProductRegistrationRequestOpts(requestParameters: ShowProductRegistrationRequest): Promise<runtime.RequestOpts>;
|
|
87
|
-
/**
|
|
88
|
-
* Auto-generated: showProductRegistration
|
|
89
|
-
*/
|
|
90
|
-
showProductRegistrationRaw(requestParameters: ShowProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<ProductRegistrationResource>>;
|
|
91
|
-
/**
|
|
92
|
-
* Auto-generated: showProductRegistration
|
|
93
|
-
*/
|
|
94
|
-
showProductRegistration(requestParameters: ShowProductRegistrationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ProductRegistrationResource>;
|
|
95
|
-
}
|
|
@@ -1,88 +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 GetAllProductRegistrationRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface GetAllProductRegistrationRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof GetAllProductRegistrationRequest
|
|
22
|
-
*/
|
|
23
|
-
search?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {GetAllProductRegistrationRequestSortByEnum}
|
|
27
|
-
* @memberof GetAllProductRegistrationRequest
|
|
28
|
-
*/
|
|
29
|
-
sortBy?: GetAllProductRegistrationRequestSortByEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {GetAllProductRegistrationRequestSortDirectionEnum}
|
|
33
|
-
* @memberof GetAllProductRegistrationRequest
|
|
34
|
-
*/
|
|
35
|
-
sortDirection?: GetAllProductRegistrationRequestSortDirectionEnum;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof GetAllProductRegistrationRequest
|
|
40
|
-
*/
|
|
41
|
-
relatedId?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof GetAllProductRegistrationRequest
|
|
46
|
-
*/
|
|
47
|
-
relatedType?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof GetAllProductRegistrationRequest
|
|
52
|
-
*/
|
|
53
|
-
includesRelations?: boolean;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {Array<string>}
|
|
57
|
-
* @memberof GetAllProductRegistrationRequest
|
|
58
|
-
*/
|
|
59
|
-
siteId?: Array<string>;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* @export
|
|
63
|
-
*/
|
|
64
|
-
export declare const GetAllProductRegistrationRequestSortByEnum: {
|
|
65
|
-
readonly Id: "id";
|
|
66
|
-
readonly CustomerName: "customer-name";
|
|
67
|
-
readonly CustomerEmail: "customer-email";
|
|
68
|
-
readonly CustomerPhone: "customer-phone";
|
|
69
|
-
readonly CreatedAt: "created_at";
|
|
70
|
-
readonly PurchasedDate: "purchased_date";
|
|
71
|
-
};
|
|
72
|
-
export type GetAllProductRegistrationRequestSortByEnum = typeof GetAllProductRegistrationRequestSortByEnum[keyof typeof GetAllProductRegistrationRequestSortByEnum];
|
|
73
|
-
/**
|
|
74
|
-
* @export
|
|
75
|
-
*/
|
|
76
|
-
export declare const GetAllProductRegistrationRequestSortDirectionEnum: {
|
|
77
|
-
readonly Asc: "asc";
|
|
78
|
-
readonly Desc: "desc";
|
|
79
|
-
};
|
|
80
|
-
export type GetAllProductRegistrationRequestSortDirectionEnum = typeof GetAllProductRegistrationRequestSortDirectionEnum[keyof typeof GetAllProductRegistrationRequestSortDirectionEnum];
|
|
81
|
-
/**
|
|
82
|
-
* Check if a given object implements the GetAllProductRegistrationRequest interface.
|
|
83
|
-
*/
|
|
84
|
-
export declare function instanceOfGetAllProductRegistrationRequest(value: object): value is GetAllProductRegistrationRequest;
|
|
85
|
-
export declare function GetAllProductRegistrationRequestFromJSON(json: any): GetAllProductRegistrationRequest;
|
|
86
|
-
export declare function GetAllProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): GetAllProductRegistrationRequest;
|
|
87
|
-
export declare function GetAllProductRegistrationRequestToJSON(json: any): GetAllProductRegistrationRequest;
|
|
88
|
-
export declare function GetAllProductRegistrationRequestToJSONTyped(value?: GetAllProductRegistrationRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,131 +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 IndexProductRegistrationRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface IndexProductRegistrationRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IndexProductRegistrationRequest
|
|
22
|
-
*/
|
|
23
|
-
search?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {IndexProductRegistrationRequestSortByEnum}
|
|
27
|
-
* @memberof IndexProductRegistrationRequest
|
|
28
|
-
*/
|
|
29
|
-
sortBy?: IndexProductRegistrationRequestSortByEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {IndexProductRegistrationRequestSortDirectionEnum}
|
|
33
|
-
* @memberof IndexProductRegistrationRequest
|
|
34
|
-
*/
|
|
35
|
-
sortDirection?: IndexProductRegistrationRequestSortDirectionEnum;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof IndexProductRegistrationRequest
|
|
40
|
-
*/
|
|
41
|
-
perPage?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof IndexProductRegistrationRequest
|
|
46
|
-
*/
|
|
47
|
-
page?: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {Array<string>}
|
|
51
|
-
* @memberof IndexProductRegistrationRequest
|
|
52
|
-
*/
|
|
53
|
-
siteId?: Array<string>;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {Date}
|
|
57
|
-
* @memberof IndexProductRegistrationRequest
|
|
58
|
-
*/
|
|
59
|
-
beforePurchasedDate?: Date;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Date}
|
|
63
|
-
* @memberof IndexProductRegistrationRequest
|
|
64
|
-
*/
|
|
65
|
-
afterPurchasedDate?: Date;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {Date}
|
|
69
|
-
* @memberof IndexProductRegistrationRequest
|
|
70
|
-
*/
|
|
71
|
-
beforeCreatedAt?: Date;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {Date}
|
|
75
|
-
* @memberof IndexProductRegistrationRequest
|
|
76
|
-
*/
|
|
77
|
-
afterCreatedAt?: Date;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {number}
|
|
81
|
-
* @memberof IndexProductRegistrationRequest
|
|
82
|
-
*/
|
|
83
|
-
relatedId?: number;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {IndexProductRegistrationRequestRelatedTypeEnum}
|
|
87
|
-
* @memberof IndexProductRegistrationRequest
|
|
88
|
-
*/
|
|
89
|
-
relatedType?: IndexProductRegistrationRequestRelatedTypeEnum;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {boolean}
|
|
93
|
-
* @memberof IndexProductRegistrationRequest
|
|
94
|
-
*/
|
|
95
|
-
includesRelations?: boolean;
|
|
96
|
-
}
|
|
97
|
-
/**
|
|
98
|
-
* @export
|
|
99
|
-
*/
|
|
100
|
-
export declare const IndexProductRegistrationRequestSortByEnum: {
|
|
101
|
-
readonly Id: "id";
|
|
102
|
-
readonly CustomerName: "customer-name";
|
|
103
|
-
readonly CustomerEmail: "customer-email";
|
|
104
|
-
readonly CustomerPhone: "customer-phone";
|
|
105
|
-
readonly CreatedAt: "created_at";
|
|
106
|
-
readonly PurchasedDate: "purchased_date";
|
|
107
|
-
};
|
|
108
|
-
export type IndexProductRegistrationRequestSortByEnum = typeof IndexProductRegistrationRequestSortByEnum[keyof typeof IndexProductRegistrationRequestSortByEnum];
|
|
109
|
-
/**
|
|
110
|
-
* @export
|
|
111
|
-
*/
|
|
112
|
-
export declare const IndexProductRegistrationRequestSortDirectionEnum: {
|
|
113
|
-
readonly Asc: "asc";
|
|
114
|
-
readonly Desc: "desc";
|
|
115
|
-
};
|
|
116
|
-
export type IndexProductRegistrationRequestSortDirectionEnum = typeof IndexProductRegistrationRequestSortDirectionEnum[keyof typeof IndexProductRegistrationRequestSortDirectionEnum];
|
|
117
|
-
/**
|
|
118
|
-
* @export
|
|
119
|
-
*/
|
|
120
|
-
export declare const IndexProductRegistrationRequestRelatedTypeEnum: {
|
|
121
|
-
readonly ProductChild: "productChild";
|
|
122
|
-
};
|
|
123
|
-
export type IndexProductRegistrationRequestRelatedTypeEnum = typeof IndexProductRegistrationRequestRelatedTypeEnum[keyof typeof IndexProductRegistrationRequestRelatedTypeEnum];
|
|
124
|
-
/**
|
|
125
|
-
* Check if a given object implements the IndexProductRegistrationRequest interface.
|
|
126
|
-
*/
|
|
127
|
-
export declare function instanceOfIndexProductRegistrationRequest(value: object): value is IndexProductRegistrationRequest;
|
|
128
|
-
export declare function IndexProductRegistrationRequestFromJSON(json: any): IndexProductRegistrationRequest;
|
|
129
|
-
export declare function IndexProductRegistrationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexProductRegistrationRequest;
|
|
130
|
-
export declare function IndexProductRegistrationRequestToJSON(json: any): IndexProductRegistrationRequest;
|
|
131
|
-
export declare function IndexProductRegistrationRequestToJSONTyped(value?: IndexProductRegistrationRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,98 +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.IndexProductRegistrationRequestRelatedTypeEnum = exports.IndexProductRegistrationRequestSortDirectionEnum = exports.IndexProductRegistrationRequestSortByEnum = void 0;
|
|
17
|
-
exports.instanceOfIndexProductRegistrationRequest = instanceOfIndexProductRegistrationRequest;
|
|
18
|
-
exports.IndexProductRegistrationRequestFromJSON = IndexProductRegistrationRequestFromJSON;
|
|
19
|
-
exports.IndexProductRegistrationRequestFromJSONTyped = IndexProductRegistrationRequestFromJSONTyped;
|
|
20
|
-
exports.IndexProductRegistrationRequestToJSON = IndexProductRegistrationRequestToJSON;
|
|
21
|
-
exports.IndexProductRegistrationRequestToJSONTyped = IndexProductRegistrationRequestToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.IndexProductRegistrationRequestSortByEnum = {
|
|
26
|
-
Id: 'id',
|
|
27
|
-
CustomerName: 'customer-name',
|
|
28
|
-
CustomerEmail: 'customer-email',
|
|
29
|
-
CustomerPhone: 'customer-phone',
|
|
30
|
-
CreatedAt: 'created_at',
|
|
31
|
-
PurchasedDate: 'purchased_date'
|
|
32
|
-
};
|
|
33
|
-
/**
|
|
34
|
-
* @export
|
|
35
|
-
*/
|
|
36
|
-
exports.IndexProductRegistrationRequestSortDirectionEnum = {
|
|
37
|
-
Asc: 'asc',
|
|
38
|
-
Desc: 'desc'
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* @export
|
|
42
|
-
*/
|
|
43
|
-
exports.IndexProductRegistrationRequestRelatedTypeEnum = {
|
|
44
|
-
ProductChild: 'productChild'
|
|
45
|
-
};
|
|
46
|
-
/**
|
|
47
|
-
* Check if a given object implements the IndexProductRegistrationRequest interface.
|
|
48
|
-
*/
|
|
49
|
-
function instanceOfIndexProductRegistrationRequest(value) {
|
|
50
|
-
return true;
|
|
51
|
-
}
|
|
52
|
-
function IndexProductRegistrationRequestFromJSON(json) {
|
|
53
|
-
return IndexProductRegistrationRequestFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
function IndexProductRegistrationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
-
if (json == null) {
|
|
57
|
-
return json;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
61
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
62
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
63
|
-
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
64
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
65
|
-
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
66
|
-
'beforePurchasedDate': json['before_purchased_date'] == null ? undefined : (new Date(json['before_purchased_date'])),
|
|
67
|
-
'afterPurchasedDate': json['after_purchased_date'] == null ? undefined : (new Date(json['after_purchased_date'])),
|
|
68
|
-
'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
|
|
69
|
-
'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
|
|
70
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
71
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
72
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
function IndexProductRegistrationRequestToJSON(json) {
|
|
76
|
-
return IndexProductRegistrationRequestToJSONTyped(json, false);
|
|
77
|
-
}
|
|
78
|
-
function IndexProductRegistrationRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
79
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
80
|
-
if (value == null) {
|
|
81
|
-
return value;
|
|
82
|
-
}
|
|
83
|
-
return {
|
|
84
|
-
'search': value['search'],
|
|
85
|
-
'sortBy': value['sortBy'],
|
|
86
|
-
'sortDirection': value['sortDirection'],
|
|
87
|
-
'per_page': value['perPage'],
|
|
88
|
-
'page': value['page'],
|
|
89
|
-
'site_id': value['siteId'],
|
|
90
|
-
'before_purchased_date': value['beforePurchasedDate'] == null ? value['beforePurchasedDate'] : value['beforePurchasedDate'].toISOString(),
|
|
91
|
-
'after_purchased_date': value['afterPurchasedDate'] == null ? value['afterPurchasedDate'] : value['afterPurchasedDate'].toISOString(),
|
|
92
|
-
'before_created_at': value['beforeCreatedAt'] == null ? value['beforeCreatedAt'] : value['beforeCreatedAt'].toISOString(),
|
|
93
|
-
'after_created_at': value['afterCreatedAt'] == null ? value['afterCreatedAt'] : value['afterCreatedAt'].toISOString(),
|
|
94
|
-
'related_id': value['relatedId'],
|
|
95
|
-
'related_type': value['relatedType'],
|
|
96
|
-
'includes_relations': value['includesRelations'],
|
|
97
|
-
};
|
|
98
|
-
}
|