@digital8/lighting-illusions-ts-sdk 0.0.1575 → 0.0.1577
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 +40 -18
- package/README.md +26 -11
- package/dist/apis/ProductRegistrationApi.d.ts +95 -0
- package/dist/apis/ProductRegistrationApi.js +377 -0
- package/dist/apis/index.d.ts +1 -1
- package/dist/apis/index.js +1 -1
- 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 +1 -3
- package/dist/models/GetAllProductRegistrationRequest.d.ts +88 -0
- package/dist/models/GetAllProductRegistrationRequest.js +80 -0
- package/dist/models/GlobalSearchProductResource.d.ts +6 -0
- package/dist/models/GlobalSearchProductResource.js +4 -0
- package/dist/models/IndexProductChildRequest.d.ts +1 -0
- package/dist/models/IndexProductChildRequest.js +1 -0
- package/dist/models/IndexProductRegistrationRequest.d.ts +131 -0
- package/dist/models/IndexProductRegistrationRequest.js +98 -0
- package/dist/models/ListAssetsProductRegistrationRequest.d.ts +103 -0
- package/dist/models/ListAssetsProductRegistrationRequest.js +83 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationAssetResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationListResourceResponse.js +57 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.d.ts +40 -0
- package/dist/models/PaginatedProductRegistrationResourceResponse.js +57 -0
- package/dist/models/ProductChildListResource.d.ts +6 -0
- package/dist/models/ProductChildListResource.js +2 -0
- package/dist/models/ProductRangeFrontendResource.d.ts +0 -7
- package/dist/models/ProductRangeFrontendResource.js +0 -5
- package/dist/models/ProductRegistrationAssetResource.d.ts +45 -0
- package/dist/models/ProductRegistrationAssetResource.js +58 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationAssetResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationAssetType.d.ts +25 -0
- package/dist/models/ProductRegistrationAssetType.js +51 -0
- package/dist/models/ProductRegistrationCustomerResource.d.ts +62 -0
- package/dist/models/ProductRegistrationCustomerResource.js +65 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationCustomerResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationListResource.d.ts +57 -0
- package/dist/models/ProductRegistrationListResource.js +64 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationListResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationLiteResource.d.ts +38 -0
- package/dist/models/ProductRegistrationLiteResource.js +53 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationLiteResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationProductChildResource.d.ts +50 -0
- package/dist/models/ProductRegistrationProductChildResource.js +63 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationProductChildResourceArrayResponse.js +50 -0
- package/dist/models/ProductRegistrationResource.d.ts +90 -0
- package/dist/models/ProductRegistrationResource.js +81 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.d.ts +33 -0
- package/dist/models/ProductRegistrationResourceArrayResponse.js +50 -0
- package/dist/models/ProductSearchResultResource.d.ts +6 -0
- package/dist/models/ProductSearchResultResource.js +4 -0
- package/dist/models/StoreFrontendResource.d.ts +1 -1
- package/dist/models/StoreFrontendResource.js +3 -1
- package/dist/models/StoreSpecialDateFrontendResource.d.ts +2 -2
- package/dist/models/StoreSpecialDateFrontendResource.js +3 -1
- package/dist/models/index.d.ts +19 -8
- package/dist/models/index.js +19 -8
- package/docs/GetAllProductRegistrationRequest.md +46 -0
- package/docs/GlobalSearchProductResource.md +2 -0
- package/docs/IndexProductRegistrationRequest.md +58 -0
- package/docs/{IndexRedirectRequest.md → ListAssetsProductRegistrationRequest.md} +8 -12
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
- package/docs/{PaginatedRedirectListResourceResponse.md → PaginatedProductRegistrationResourceResponse.md} +5 -5
- package/docs/ProductChildListResource.md +2 -0
- package/docs/ProductRangeFrontendResource.md +0 -2
- package/docs/ProductRegistrationApi.md +344 -0
- package/docs/ProductRegistrationAssetResource.md +38 -0
- package/docs/ProductRegistrationAssetResourceArrayResponse.md +34 -0
- package/docs/{ModelAttributeFrontendResource.md → ProductRegistrationAssetType.md} +4 -8
- package/docs/{RedirectListResource.md → ProductRegistrationCustomerResource.md} +14 -16
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationListResource.md +42 -0
- package/docs/{ModelAttributeFrontendResourceArrayResponse.md → ProductRegistrationListResourceArrayResponse.md} +5 -5
- package/docs/{RedirectListResourceArrayResponse.md → ProductRegistrationLiteResource.md} +8 -6
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
- package/docs/{RedirectFrontendResource.md → ProductRegistrationProductChildResource.md} +10 -14
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationResource.md +52 -0
- package/docs/{RedirectFrontendResourceArrayResponse.md → ProductRegistrationResourceArrayResponse.md} +5 -5
- package/docs/ProductSearchResultResource.md +2 -0
- package/docs/StoreSpecialDateFrontendResource.md +1 -1
- package/package.json +1 -1
- package/src/apis/ProductRegistrationApi.ts +297 -0
- package/src/apis/index.ts +1 -1
- package/src/models/AddressFrontendResource.ts +3 -2
- package/src/models/AddressResource.ts +2 -3
- package/src/models/GetAllProductRegistrationRequest.ts +137 -0
- package/src/models/GlobalSearchProductResource.ts +9 -0
- package/src/models/IndexProductChildRequest.ts +1 -0
- package/src/models/IndexProductRegistrationRequest.ts +193 -0
- package/src/models/ListAssetsProductRegistrationRequest.ts +158 -0
- package/src/models/PaginatedProductRegistrationAssetResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationListResourceResponse.ts +90 -0
- package/src/models/PaginatedProductRegistrationResourceResponse.ts +90 -0
- package/src/models/ProductChildListResource.ts +8 -0
- package/src/models/ProductRangeFrontendResource.ts +0 -16
- package/src/models/ProductRegistrationAssetResource.ts +91 -0
- package/src/models/ProductRegistrationAssetResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationAssetType.ts +53 -0
- package/src/models/ProductRegistrationCustomerResource.ts +108 -0
- package/src/models/ProductRegistrationCustomerResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationListResource.ts +108 -0
- package/src/models/ProductRegistrationListResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationLiteResource.ts +74 -0
- package/src/models/ProductRegistrationLiteResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationProductChildResource.ts +93 -0
- package/src/models/ProductRegistrationProductChildResourceArrayResponse.ts +73 -0
- package/src/models/ProductRegistrationResource.ts +171 -0
- package/src/models/ProductRegistrationResourceArrayResponse.ts +73 -0
- package/src/models/ProductSearchResultResource.ts +9 -0
- package/src/models/StoreFrontendResource.ts +3 -2
- package/src/models/StoreSpecialDateFrontendResource.ts +4 -3
- package/src/models/index.ts +19 -8
- package/dist/apis/RedirectApi.d.ts +0 -33
- package/dist/apis/RedirectApi.js +0 -138
- package/dist/models/IndexRedirectRequest.d.ts +0 -124
- package/dist/models/IndexRedirectRequest.js +0 -95
- package/dist/models/ModelAttributeFrontendResource.d.ts +0 -38
- package/dist/models/ModelAttributeFrontendResource.js +0 -55
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/ModelAttributeFrontendResourceArrayResponse.js +0 -50
- package/dist/models/PaginatedRedirectListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedRedirectListResourceResponse.js +0 -57
- package/dist/models/RedirectFrontendResource.d.ts +0 -62
- package/dist/models/RedirectFrontendResource.js +0 -71
- package/dist/models/RedirectFrontendResourceArrayResponse.d.ts +0 -33
- package/dist/models/RedirectFrontendResourceArrayResponse.js +0 -50
- package/dist/models/RedirectListResource.d.ts +0 -69
- package/dist/models/RedirectListResource.js +0 -76
- package/dist/models/RedirectListResourceArrayResponse.d.ts +0 -33
- package/dist/models/RedirectListResourceArrayResponse.js +0 -50
- package/docs/RedirectApi.md +0 -74
- package/src/apis/RedirectApi.ts +0 -77
- package/src/models/IndexRedirectRequest.ts +0 -184
- package/src/models/ModelAttributeFrontendResource.ts +0 -75
- package/src/models/ModelAttributeFrontendResourceArrayResponse.ts +0 -73
- package/src/models/PaginatedRedirectListResourceResponse.ts +0 -90
- package/src/models/RedirectFrontendResource.ts +0 -111
- package/src/models/RedirectFrontendResourceArrayResponse.ts +0 -73
- package/src/models/RedirectListResource.ts +0 -128
- package/src/models/RedirectListResourceArrayResponse.ts +0 -73
|
@@ -0,0 +1,73 @@
|
|
|
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
|
+
import type { ProductRegistrationResource } from './ProductRegistrationResource';
|
|
17
|
+
import {
|
|
18
|
+
ProductRegistrationResourceFromJSON,
|
|
19
|
+
ProductRegistrationResourceFromJSONTyped,
|
|
20
|
+
ProductRegistrationResourceToJSON,
|
|
21
|
+
ProductRegistrationResourceToJSONTyped,
|
|
22
|
+
} from './ProductRegistrationResource';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface ProductRegistrationResourceArrayResponse
|
|
28
|
+
*/
|
|
29
|
+
export interface ProductRegistrationResourceArrayResponse {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<ProductRegistrationResource>}
|
|
33
|
+
* @memberof ProductRegistrationResourceArrayResponse
|
|
34
|
+
*/
|
|
35
|
+
data?: Array<ProductRegistrationResource>;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the ProductRegistrationResourceArrayResponse interface.
|
|
40
|
+
*/
|
|
41
|
+
export function instanceOfProductRegistrationResourceArrayResponse(value: object): value is ProductRegistrationResourceArrayResponse {
|
|
42
|
+
return true;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
export function ProductRegistrationResourceArrayResponseFromJSON(json: any): ProductRegistrationResourceArrayResponse {
|
|
46
|
+
return ProductRegistrationResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export function ProductRegistrationResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductRegistrationResourceArrayResponse {
|
|
50
|
+
if (json == null) {
|
|
51
|
+
return json;
|
|
52
|
+
}
|
|
53
|
+
return {
|
|
54
|
+
|
|
55
|
+
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ProductRegistrationResourceFromJSON)),
|
|
56
|
+
};
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export function ProductRegistrationResourceArrayResponseToJSON(json: any): ProductRegistrationResourceArrayResponse {
|
|
60
|
+
return ProductRegistrationResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
export function ProductRegistrationResourceArrayResponseToJSONTyped(value?: ProductRegistrationResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
+
if (value == null) {
|
|
65
|
+
return value;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
return {
|
|
69
|
+
|
|
70
|
+
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(ProductRegistrationResourceToJSON)),
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -37,6 +37,12 @@ export interface ProductSearchResultResource {
|
|
|
37
37
|
* @memberof ProductSearchResultResource
|
|
38
38
|
*/
|
|
39
39
|
model: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {string}
|
|
43
|
+
* @memberof ProductSearchResultResource
|
|
44
|
+
*/
|
|
45
|
+
modelRaw: string;
|
|
40
46
|
/**
|
|
41
47
|
*
|
|
42
48
|
* @type {string}
|
|
@@ -136,6 +142,7 @@ export function instanceOfProductSearchResultResource(value: object): value is P
|
|
|
136
142
|
if (!('id' in value) || value['id'] === undefined) return false;
|
|
137
143
|
if (!('sku' in value) || value['sku'] === undefined) return false;
|
|
138
144
|
if (!('model' in value) || value['model'] === undefined) return false;
|
|
145
|
+
if (!('modelRaw' in value) || value['modelRaw'] === undefined) return false;
|
|
139
146
|
if (!('barcode' in value) || value['barcode'] === undefined) return false;
|
|
140
147
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
141
148
|
if (!('slug' in value) || value['slug'] === undefined) return false;
|
|
@@ -166,6 +173,7 @@ export function ProductSearchResultResourceFromJSONTyped(json: any, ignoreDiscri
|
|
|
166
173
|
'id': json['id'],
|
|
167
174
|
'sku': json['sku'],
|
|
168
175
|
'model': json['model'],
|
|
176
|
+
'modelRaw': json['modelRaw'],
|
|
169
177
|
'barcode': json['barcode'],
|
|
170
178
|
'name': json['name'],
|
|
171
179
|
'slug': json['slug'],
|
|
@@ -198,6 +206,7 @@ export function ProductSearchResultResourceToJSONTyped(value?: ProductSearchResu
|
|
|
198
206
|
'id': value['id'],
|
|
199
207
|
'sku': value['sku'],
|
|
200
208
|
'model': value['model'],
|
|
209
|
+
'modelRaw': value['modelRaw'],
|
|
201
210
|
'barcode': value['barcode'],
|
|
202
211
|
'name': value['name'],
|
|
203
212
|
'slug': value['slug'],
|
|
@@ -72,7 +72,7 @@ export interface StoreFrontendResource {
|
|
|
72
72
|
* @type {string}
|
|
73
73
|
* @memberof StoreFrontendResource
|
|
74
74
|
*/
|
|
75
|
-
tagLine
|
|
75
|
+
tagLine: string;
|
|
76
76
|
/**
|
|
77
77
|
*
|
|
78
78
|
* @type {string}
|
|
@@ -103,6 +103,7 @@ export function instanceOfStoreFrontendResource(value: object): value is StoreFr
|
|
|
103
103
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
104
104
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
105
105
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
106
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
106
107
|
if (!('specialDates' in value) || value['specialDates'] === undefined) return false;
|
|
107
108
|
if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
|
|
108
109
|
return true;
|
|
@@ -126,7 +127,7 @@ export function StoreFrontendResourceFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
126
127
|
'address': json['address'] == null ? undefined : json['address'],
|
|
127
128
|
'latitude': json['latitude'],
|
|
128
129
|
'longitude': json['longitude'],
|
|
129
|
-
'tagLine': json['tagLine']
|
|
130
|
+
'tagLine': json['tagLine'],
|
|
130
131
|
'openingHours': json['openingHours'] == null ? undefined : json['openingHours'],
|
|
131
132
|
'specialDates': json['specialDates'],
|
|
132
133
|
'suppliers': json['suppliers'],
|
|
@@ -39,10 +39,10 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
39
39
|
hours: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
|
-
* @type {
|
|
42
|
+
* @type {object}
|
|
43
43
|
* @memberof StoreSpecialDateFrontendResource
|
|
44
44
|
*/
|
|
45
|
-
date
|
|
45
|
+
date: object;
|
|
46
46
|
/**
|
|
47
47
|
*
|
|
48
48
|
* @type {boolean}
|
|
@@ -69,6 +69,7 @@ export interface StoreSpecialDateFrontendResource {
|
|
|
69
69
|
export function instanceOfStoreSpecialDateFrontendResource(value: object): value is StoreSpecialDateFrontendResource {
|
|
70
70
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
71
71
|
if (!('hours' in value) || value['hours'] === undefined) return false;
|
|
72
|
+
if (!('date' in value) || value['date'] === undefined) return false;
|
|
72
73
|
if (!('closed' in value) || value['closed'] === undefined) return false;
|
|
73
74
|
if (!('displayStartDate' in value) || value['displayStartDate'] === undefined) return false;
|
|
74
75
|
if (!('displayEndDate' in value) || value['displayEndDate'] === undefined) return false;
|
|
@@ -88,7 +89,7 @@ export function StoreSpecialDateFrontendResourceFromJSONTyped(json: any, ignoreD
|
|
|
88
89
|
'id': json['id'] == null ? undefined : json['id'],
|
|
89
90
|
'name': json['name'],
|
|
90
91
|
'hours': json['hours'],
|
|
91
|
-
'date': json['date']
|
|
92
|
+
'date': json['date'],
|
|
92
93
|
'closed': json['closed'],
|
|
93
94
|
'displayStartDate': json['displayStartDate'],
|
|
94
95
|
'displayEndDate': json['displayEndDate'],
|
package/src/models/index.ts
CHANGED
|
@@ -92,6 +92,7 @@ export * from './GetAllOverlayTemplateRequest';
|
|
|
92
92
|
export * from './GetAllProductCategoryRequest';
|
|
93
93
|
export * from './GetAllProductChildRequest';
|
|
94
94
|
export * from './GetAllProductRangeRequest';
|
|
95
|
+
export * from './GetAllProductRegistrationRequest';
|
|
95
96
|
export * from './GetAllProductRequest';
|
|
96
97
|
export * from './GetAllProductTypeRequest';
|
|
97
98
|
export * from './GetAllStoreRequest';
|
|
@@ -119,9 +120,9 @@ export * from './IndexOverlayTemplateRequest';
|
|
|
119
120
|
export * from './IndexProductCategoryRequest';
|
|
120
121
|
export * from './IndexProductChildRequest';
|
|
121
122
|
export * from './IndexProductRangeRequest';
|
|
123
|
+
export * from './IndexProductRegistrationRequest';
|
|
122
124
|
export * from './IndexProductRequest';
|
|
123
125
|
export * from './IndexProductTypeRequest';
|
|
124
|
-
export * from './IndexRedirectRequest';
|
|
125
126
|
export * from './IndexSiteNotificationRequest';
|
|
126
127
|
export * from './IndexSiteRequest';
|
|
127
128
|
export * from './IndexStoreRequest';
|
|
@@ -133,8 +134,7 @@ export * from './LabelLiteResource';
|
|
|
133
134
|
export * from './LabelLiteResourceArrayResponse';
|
|
134
135
|
export * from './LabelResource';
|
|
135
136
|
export * from './LabelResourceArrayResponse';
|
|
136
|
-
export * from './
|
|
137
|
-
export * from './ModelAttributeFrontendResourceArrayResponse';
|
|
137
|
+
export * from './ListAssetsProductRegistrationRequest';
|
|
138
138
|
export * from './ModelAttributeListResource';
|
|
139
139
|
export * from './ModelAttributeListResourceArrayResponse';
|
|
140
140
|
export * from './ModelAttributeResource';
|
|
@@ -181,12 +181,14 @@ export * from './PaginatedProductRangeListResourceResponse';
|
|
|
181
181
|
export * from './PaginatedProductRangeLiteResourceResponse';
|
|
182
182
|
export * from './PaginatedProductRangeResourceResponse';
|
|
183
183
|
export * from './PaginatedProductRangeSearchResultResourceResponse';
|
|
184
|
+
export * from './PaginatedProductRegistrationAssetResourceResponse';
|
|
185
|
+
export * from './PaginatedProductRegistrationListResourceResponse';
|
|
186
|
+
export * from './PaginatedProductRegistrationResourceResponse';
|
|
184
187
|
export * from './PaginatedProductResourceResponse';
|
|
185
188
|
export * from './PaginatedProductSearchResultResourceResponse';
|
|
186
189
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
187
190
|
export * from './PaginatedProductTypeLiteResourceResponse';
|
|
188
191
|
export * from './PaginatedProductTypeResourceResponse';
|
|
189
|
-
export * from './PaginatedRedirectListResourceResponse';
|
|
190
192
|
export * from './PaginatedSiteListResourceResponse';
|
|
191
193
|
export * from './PaginatedSiteLiteResourceResponse';
|
|
192
194
|
export * from './PaginatedSiteNotificationListResourceResponse';
|
|
@@ -264,6 +266,19 @@ export * from './ProductRangeSiteDetailResource';
|
|
|
264
266
|
export * from './ProductRangeSiteDetailResourceArrayResponse';
|
|
265
267
|
export * from './ProductRangeSortBy';
|
|
266
268
|
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';
|
|
267
282
|
export * from './ProductResource';
|
|
268
283
|
export * from './ProductResourceArrayResponse';
|
|
269
284
|
export * from './ProductSearchResponseResource';
|
|
@@ -279,10 +294,6 @@ export * from './ProductTypeLiteResource';
|
|
|
279
294
|
export * from './ProductTypeLiteResourceArrayResponse';
|
|
280
295
|
export * from './ProductTypeResource';
|
|
281
296
|
export * from './ProductTypeResourceArrayResponse';
|
|
282
|
-
export * from './RedirectFrontendResource';
|
|
283
|
-
export * from './RedirectFrontendResourceArrayResponse';
|
|
284
|
-
export * from './RedirectListResource';
|
|
285
|
-
export * from './RedirectListResourceArrayResponse';
|
|
286
297
|
export * from './SEOResource';
|
|
287
298
|
export * from './SEOResourceArrayResponse';
|
|
288
299
|
export * from './ShowAssetsProductChildRequest';
|
|
@@ -1,33 +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 { IndexRedirectRequest, PaginatedRedirectListResourceResponse } from '../models/index';
|
|
14
|
-
export interface IndexRedirectOperationRequest {
|
|
15
|
-
indexRedirectRequest?: IndexRedirectRequest;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
*/
|
|
20
|
-
export declare class RedirectApi extends runtime.BaseAPI {
|
|
21
|
-
/**
|
|
22
|
-
* Creates request options for indexRedirect without sending the request
|
|
23
|
-
*/
|
|
24
|
-
indexRedirectRequestOpts(requestParameters: IndexRedirectOperationRequest): Promise<runtime.RequestOpts>;
|
|
25
|
-
/**
|
|
26
|
-
* Auto-generated: indexRedirect
|
|
27
|
-
*/
|
|
28
|
-
indexRedirectRaw(requestParameters: IndexRedirectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PaginatedRedirectListResourceResponse>>;
|
|
29
|
-
/**
|
|
30
|
-
* Auto-generated: indexRedirect
|
|
31
|
-
*/
|
|
32
|
-
indexRedirect(requestParameters?: IndexRedirectOperationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PaginatedRedirectListResourceResponse>;
|
|
33
|
-
}
|
package/dist/apis/RedirectApi.js
DELETED
|
@@ -1,138 +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
|
-
var __extends = (this && this.__extends) || (function () {
|
|
16
|
-
var extendStatics = function (d, b) {
|
|
17
|
-
extendStatics = Object.setPrototypeOf ||
|
|
18
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
-
return extendStatics(d, b);
|
|
21
|
-
};
|
|
22
|
-
return function (d, b) {
|
|
23
|
-
if (typeof b !== "function" && b !== null)
|
|
24
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
-
extendStatics(d, b);
|
|
26
|
-
function __() { this.constructor = d; }
|
|
27
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
-
};
|
|
29
|
-
})();
|
|
30
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
31
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
32
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
33
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
34
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
35
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
36
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
40
|
-
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
41
|
-
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
42
|
-
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
43
|
-
function step(op) {
|
|
44
|
-
if (f) throw new TypeError("Generator is already executing.");
|
|
45
|
-
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
46
|
-
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
47
|
-
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
48
|
-
switch (op[0]) {
|
|
49
|
-
case 0: case 1: t = op; break;
|
|
50
|
-
case 4: _.label++; return { value: op[1], done: false };
|
|
51
|
-
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
52
|
-
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
53
|
-
default:
|
|
54
|
-
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
55
|
-
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
56
|
-
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
57
|
-
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
58
|
-
if (t[2]) _.ops.pop();
|
|
59
|
-
_.trys.pop(); continue;
|
|
60
|
-
}
|
|
61
|
-
op = body.call(thisArg, _);
|
|
62
|
-
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
63
|
-
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
64
|
-
}
|
|
65
|
-
};
|
|
66
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
67
|
-
exports.RedirectApi = void 0;
|
|
68
|
-
var runtime = require("../runtime");
|
|
69
|
-
var index_1 = require("../models/index");
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
*/
|
|
73
|
-
var RedirectApi = /** @class */ (function (_super) {
|
|
74
|
-
__extends(RedirectApi, _super);
|
|
75
|
-
function RedirectApi() {
|
|
76
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* Creates request options for indexRedirect without sending the request
|
|
80
|
-
*/
|
|
81
|
-
RedirectApi.prototype.indexRedirectRequestOpts = function (requestParameters) {
|
|
82
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
83
|
-
var queryParameters, headerParameters, urlPath;
|
|
84
|
-
return __generator(this, function (_a) {
|
|
85
|
-
queryParameters = {};
|
|
86
|
-
headerParameters = {};
|
|
87
|
-
headerParameters['Content-Type'] = 'application/json';
|
|
88
|
-
urlPath = "/admin-api/redirect/list";
|
|
89
|
-
return [2 /*return*/, {
|
|
90
|
-
path: urlPath,
|
|
91
|
-
method: 'POST',
|
|
92
|
-
headers: headerParameters,
|
|
93
|
-
query: queryParameters,
|
|
94
|
-
body: (0, index_1.IndexRedirectRequestToJSON)(requestParameters['indexRedirectRequest']),
|
|
95
|
-
}];
|
|
96
|
-
});
|
|
97
|
-
});
|
|
98
|
-
};
|
|
99
|
-
/**
|
|
100
|
-
* Auto-generated: indexRedirect
|
|
101
|
-
*/
|
|
102
|
-
RedirectApi.prototype.indexRedirectRaw = function (requestParameters, initOverrides) {
|
|
103
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
104
|
-
var requestOptions, response;
|
|
105
|
-
return __generator(this, function (_a) {
|
|
106
|
-
switch (_a.label) {
|
|
107
|
-
case 0: return [4 /*yield*/, this.indexRedirectRequestOpts(requestParameters)];
|
|
108
|
-
case 1:
|
|
109
|
-
requestOptions = _a.sent();
|
|
110
|
-
return [4 /*yield*/, this.request(requestOptions, initOverrides)];
|
|
111
|
-
case 2:
|
|
112
|
-
response = _a.sent();
|
|
113
|
-
return [2 /*return*/, new runtime.JSONApiResponse(response, function (jsonValue) { return (0, index_1.PaginatedRedirectListResourceResponseFromJSON)(jsonValue); })];
|
|
114
|
-
}
|
|
115
|
-
});
|
|
116
|
-
});
|
|
117
|
-
};
|
|
118
|
-
/**
|
|
119
|
-
* Auto-generated: indexRedirect
|
|
120
|
-
*/
|
|
121
|
-
RedirectApi.prototype.indexRedirect = function () {
|
|
122
|
-
return __awaiter(this, arguments, void 0, function (requestParameters, initOverrides) {
|
|
123
|
-
var response;
|
|
124
|
-
if (requestParameters === void 0) { requestParameters = {}; }
|
|
125
|
-
return __generator(this, function (_a) {
|
|
126
|
-
switch (_a.label) {
|
|
127
|
-
case 0: return [4 /*yield*/, this.indexRedirectRaw(requestParameters, initOverrides)];
|
|
128
|
-
case 1:
|
|
129
|
-
response = _a.sent();
|
|
130
|
-
return [4 /*yield*/, response.value()];
|
|
131
|
-
case 2: return [2 /*return*/, _a.sent()];
|
|
132
|
-
}
|
|
133
|
-
});
|
|
134
|
-
});
|
|
135
|
-
};
|
|
136
|
-
return RedirectApi;
|
|
137
|
-
}(runtime.BaseAPI));
|
|
138
|
-
exports.RedirectApi = RedirectApi;
|
|
@@ -1,124 +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 IndexRedirectRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface IndexRedirectRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IndexRedirectRequest
|
|
22
|
-
*/
|
|
23
|
-
search?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {IndexRedirectRequestSortByEnum}
|
|
27
|
-
* @memberof IndexRedirectRequest
|
|
28
|
-
*/
|
|
29
|
-
sortBy?: IndexRedirectRequestSortByEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {IndexRedirectRequestSortDirectionEnum}
|
|
33
|
-
* @memberof IndexRedirectRequest
|
|
34
|
-
*/
|
|
35
|
-
sortDirection?: IndexRedirectRequestSortDirectionEnum;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof IndexRedirectRequest
|
|
40
|
-
*/
|
|
41
|
-
perPage?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof IndexRedirectRequest
|
|
46
|
-
*/
|
|
47
|
-
page?: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {Array<string>}
|
|
51
|
-
* @memberof IndexRedirectRequest
|
|
52
|
-
*/
|
|
53
|
-
siteId?: Array<string>;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {Array<string>}
|
|
57
|
-
* @memberof IndexRedirectRequest
|
|
58
|
-
*/
|
|
59
|
-
redirectableType?: Array<string>;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof IndexRedirectRequest
|
|
64
|
-
*/
|
|
65
|
-
relatedId?: number;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {IndexRedirectRequestRelatedTypeEnum}
|
|
69
|
-
* @memberof IndexRedirectRequest
|
|
70
|
-
*/
|
|
71
|
-
relatedType?: IndexRedirectRequestRelatedTypeEnum;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {boolean}
|
|
75
|
-
* @memberof IndexRedirectRequest
|
|
76
|
-
*/
|
|
77
|
-
includesRelations?: boolean;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {number}
|
|
81
|
-
* @memberof IndexRedirectRequest
|
|
82
|
-
*/
|
|
83
|
-
productChildId?: number;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {number}
|
|
87
|
-
* @memberof IndexRedirectRequest
|
|
88
|
-
*/
|
|
89
|
-
productRangeId?: number;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* @export
|
|
93
|
-
*/
|
|
94
|
-
export declare const IndexRedirectRequestSortByEnum: {
|
|
95
|
-
readonly Id: "id";
|
|
96
|
-
};
|
|
97
|
-
export type IndexRedirectRequestSortByEnum = typeof IndexRedirectRequestSortByEnum[keyof typeof IndexRedirectRequestSortByEnum];
|
|
98
|
-
/**
|
|
99
|
-
* @export
|
|
100
|
-
*/
|
|
101
|
-
export declare const IndexRedirectRequestSortDirectionEnum: {
|
|
102
|
-
readonly Asc: "asc";
|
|
103
|
-
readonly Desc: "desc";
|
|
104
|
-
};
|
|
105
|
-
export type IndexRedirectRequestSortDirectionEnum = typeof IndexRedirectRequestSortDirectionEnum[keyof typeof IndexRedirectRequestSortDirectionEnum];
|
|
106
|
-
/**
|
|
107
|
-
* @export
|
|
108
|
-
*/
|
|
109
|
-
export declare const IndexRedirectRequestRelatedTypeEnum: {
|
|
110
|
-
readonly ProductChildSiteDetail: "productChildSiteDetail";
|
|
111
|
-
readonly ProductRangeSiteDetail: "productRangeSiteDetail";
|
|
112
|
-
readonly ProductCategory: "productCategory";
|
|
113
|
-
readonly Supplier: "supplier";
|
|
114
|
-
readonly Tag: "tag";
|
|
115
|
-
};
|
|
116
|
-
export type IndexRedirectRequestRelatedTypeEnum = typeof IndexRedirectRequestRelatedTypeEnum[keyof typeof IndexRedirectRequestRelatedTypeEnum];
|
|
117
|
-
/**
|
|
118
|
-
* Check if a given object implements the IndexRedirectRequest interface.
|
|
119
|
-
*/
|
|
120
|
-
export declare function instanceOfIndexRedirectRequest(value: object): value is IndexRedirectRequest;
|
|
121
|
-
export declare function IndexRedirectRequestFromJSON(json: any): IndexRedirectRequest;
|
|
122
|
-
export declare function IndexRedirectRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexRedirectRequest;
|
|
123
|
-
export declare function IndexRedirectRequestToJSON(json: any): IndexRedirectRequest;
|
|
124
|
-
export declare function IndexRedirectRequestToJSONTyped(value?: IndexRedirectRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,95 +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.IndexRedirectRequestRelatedTypeEnum = exports.IndexRedirectRequestSortDirectionEnum = exports.IndexRedirectRequestSortByEnum = void 0;
|
|
17
|
-
exports.instanceOfIndexRedirectRequest = instanceOfIndexRedirectRequest;
|
|
18
|
-
exports.IndexRedirectRequestFromJSON = IndexRedirectRequestFromJSON;
|
|
19
|
-
exports.IndexRedirectRequestFromJSONTyped = IndexRedirectRequestFromJSONTyped;
|
|
20
|
-
exports.IndexRedirectRequestToJSON = IndexRedirectRequestToJSON;
|
|
21
|
-
exports.IndexRedirectRequestToJSONTyped = IndexRedirectRequestToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.IndexRedirectRequestSortByEnum = {
|
|
26
|
-
Id: 'id'
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* @export
|
|
30
|
-
*/
|
|
31
|
-
exports.IndexRedirectRequestSortDirectionEnum = {
|
|
32
|
-
Asc: 'asc',
|
|
33
|
-
Desc: 'desc'
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* @export
|
|
37
|
-
*/
|
|
38
|
-
exports.IndexRedirectRequestRelatedTypeEnum = {
|
|
39
|
-
ProductChildSiteDetail: 'productChildSiteDetail',
|
|
40
|
-
ProductRangeSiteDetail: 'productRangeSiteDetail',
|
|
41
|
-
ProductCategory: 'productCategory',
|
|
42
|
-
Supplier: 'supplier',
|
|
43
|
-
Tag: 'tag'
|
|
44
|
-
};
|
|
45
|
-
/**
|
|
46
|
-
* Check if a given object implements the IndexRedirectRequest interface.
|
|
47
|
-
*/
|
|
48
|
-
function instanceOfIndexRedirectRequest(value) {
|
|
49
|
-
return true;
|
|
50
|
-
}
|
|
51
|
-
function IndexRedirectRequestFromJSON(json) {
|
|
52
|
-
return IndexRedirectRequestFromJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
function IndexRedirectRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
55
|
-
if (json == null) {
|
|
56
|
-
return json;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
60
|
-
'sortBy': json['sortBy'] == null ? undefined : json['sortBy'],
|
|
61
|
-
'sortDirection': json['sortDirection'] == null ? undefined : json['sortDirection'],
|
|
62
|
-
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
63
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
64
|
-
'siteId': json['site_id'] == null ? undefined : json['site_id'],
|
|
65
|
-
'redirectableType': json['redirectable_type'] == null ? undefined : json['redirectable_type'],
|
|
66
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
67
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
68
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
69
|
-
'productChildId': json['product_child_id'] == null ? undefined : json['product_child_id'],
|
|
70
|
-
'productRangeId': json['product_range_id'] == null ? undefined : json['product_range_id'],
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
function IndexRedirectRequestToJSON(json) {
|
|
74
|
-
return IndexRedirectRequestToJSONTyped(json, false);
|
|
75
|
-
}
|
|
76
|
-
function IndexRedirectRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
77
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
78
|
-
if (value == null) {
|
|
79
|
-
return value;
|
|
80
|
-
}
|
|
81
|
-
return {
|
|
82
|
-
'search': value['search'],
|
|
83
|
-
'sortBy': value['sortBy'],
|
|
84
|
-
'sortDirection': value['sortDirection'],
|
|
85
|
-
'per_page': value['perPage'],
|
|
86
|
-
'page': value['page'],
|
|
87
|
-
'site_id': value['siteId'],
|
|
88
|
-
'redirectable_type': value['redirectableType'],
|
|
89
|
-
'related_id': value['relatedId'],
|
|
90
|
-
'related_type': value['relatedType'],
|
|
91
|
-
'includes_relations': value['includesRelations'],
|
|
92
|
-
'product_child_id': value['productChildId'],
|
|
93
|
-
'product_range_id': value['productRangeId'],
|
|
94
|
-
};
|
|
95
|
-
}
|
|
@@ -1,38 +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 ModelAttributeFrontendResource
|
|
16
|
-
*/
|
|
17
|
-
export interface ModelAttributeFrontendResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ModelAttributeFrontendResource
|
|
22
|
-
*/
|
|
23
|
-
name: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ModelAttributeFrontendResource
|
|
28
|
-
*/
|
|
29
|
-
value: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Check if a given object implements the ModelAttributeFrontendResource interface.
|
|
33
|
-
*/
|
|
34
|
-
export declare function instanceOfModelAttributeFrontendResource(value: object): value is ModelAttributeFrontendResource;
|
|
35
|
-
export declare function ModelAttributeFrontendResourceFromJSON(json: any): ModelAttributeFrontendResource;
|
|
36
|
-
export declare function ModelAttributeFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelAttributeFrontendResource;
|
|
37
|
-
export declare function ModelAttributeFrontendResourceToJSON(json: any): ModelAttributeFrontendResource;
|
|
38
|
-
export declare function ModelAttributeFrontendResourceToJSONTyped(value?: ModelAttributeFrontendResource | null, ignoreDiscriminator?: boolean): any;
|