@digital8/lighting-illusions-ts-sdk 0.0.1563 → 0.0.1565
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 -4
- package/README.md +26 -4
- package/dist/apis/ProductRegistrationApi.d.ts +95 -0
- package/dist/apis/ProductRegistrationApi.js +377 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AddressFrontendResource.d.ts +1 -1
- package/dist/models/AddressFrontendResource.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/StoreListResource.d.ts +1 -1
- package/dist/models/StoreListResource.js +3 -1
- package/dist/models/StoreResource.d.ts +1 -1
- package/dist/models/StoreResource.js +1 -3
- package/dist/models/index.d.ts +19 -2
- package/dist/models/index.js +19 -2
- package/docs/GetAllProductRegistrationRequest.md +46 -0
- package/docs/GlobalSearchProductResource.md +2 -0
- package/docs/IndexProductRegistrationRequest.md +58 -0
- package/docs/ListAssetsProductRegistrationRequest.md +52 -0
- package/docs/PaginatedProductRegistrationAssetResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationListResourceResponse.md +36 -0
- package/docs/PaginatedProductRegistrationResourceResponse.md +36 -0
- 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/ProductRegistrationCustomerResource.md +44 -0
- package/docs/ProductRegistrationCustomerResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationListResource.md +42 -0
- package/docs/ProductRegistrationListResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationLiteResource.md +36 -0
- package/docs/ProductRegistrationLiteResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationProductChildResource.md +40 -0
- package/docs/ProductRegistrationProductChildResourceArrayResponse.md +34 -0
- package/docs/ProductRegistrationResource.md +52 -0
- package/docs/{ModelAttributeFrontendResourceArrayResponse.md → ProductRegistrationResourceArrayResponse.md} +5 -5
- package/docs/ProductSearchResultResource.md +2 -0
- package/package.json +1 -1
- package/src/apis/ProductRegistrationApi.ts +297 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AddressFrontendResource.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/StoreListResource.ts +3 -2
- package/src/models/StoreResource.ts +2 -3
- package/src/models/index.ts +19 -2
- 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/src/models/ModelAttributeFrontendResource.ts +0 -75
- package/src/models/ModelAttributeFrontendResourceArrayResponse.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'],
|
|
@@ -68,7 +68,7 @@ export interface StoreListResource {
|
|
|
68
68
|
* @type {string}
|
|
69
69
|
* @memberof StoreListResource
|
|
70
70
|
*/
|
|
71
|
-
tagLine
|
|
71
|
+
tagLine: string;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
74
|
* @type {string}
|
|
@@ -92,6 +92,7 @@ export function instanceOfStoreListResource(value: object): value is StoreListRe
|
|
|
92
92
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
93
93
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
94
94
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
95
|
+
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
95
96
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
96
97
|
return true;
|
|
97
98
|
}
|
|
@@ -112,7 +113,7 @@ export function StoreListResourceFromJSONTyped(json: any, ignoreDiscriminator: b
|
|
|
112
113
|
'phone': json['phone'],
|
|
113
114
|
'longitude': json['longitude'],
|
|
114
115
|
'latitude': json['latitude'],
|
|
115
|
-
'tagLine': json['tag_line']
|
|
116
|
+
'tagLine': json['tag_line'],
|
|
116
117
|
'email': json['email'],
|
|
117
118
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
118
119
|
};
|
|
@@ -89,7 +89,7 @@ export interface StoreResource {
|
|
|
89
89
|
* @type {string}
|
|
90
90
|
* @memberof StoreResource
|
|
91
91
|
*/
|
|
92
|
-
tagLine
|
|
92
|
+
tagLine?: string | null;
|
|
93
93
|
/**
|
|
94
94
|
*
|
|
95
95
|
* @type {string}
|
|
@@ -131,7 +131,6 @@ export function instanceOfStoreResource(value: object): value is StoreResource {
|
|
|
131
131
|
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
132
132
|
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
133
133
|
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
134
|
-
if (!('tagLine' in value) || value['tagLine'] === undefined) return false;
|
|
135
134
|
if (!('email' in value) || value['email'] === undefined) return false;
|
|
136
135
|
if (!('suppliers' in value) || value['suppliers'] === undefined) return false;
|
|
137
136
|
if (!('address' in value) || value['address'] === undefined) return false;
|
|
@@ -155,7 +154,7 @@ export function StoreResourceFromJSONTyped(json: any, ignoreDiscriminator: boole
|
|
|
155
154
|
'phone': json['phone'],
|
|
156
155
|
'longitude': json['longitude'],
|
|
157
156
|
'latitude': json['latitude'],
|
|
158
|
-
'tagLine': json['tag_line'],
|
|
157
|
+
'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
|
|
159
158
|
'email': json['email'],
|
|
160
159
|
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
161
160
|
'suppliers': (json['suppliers'] == null ? null : (json['suppliers'] as Array<any>).map(SupplierLiteResourceFromJSON)),
|
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,6 +120,7 @@ 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
126
|
export * from './IndexSiteNotificationRequest';
|
|
@@ -132,8 +134,7 @@ export * from './LabelLiteResource';
|
|
|
132
134
|
export * from './LabelLiteResourceArrayResponse';
|
|
133
135
|
export * from './LabelResource';
|
|
134
136
|
export * from './LabelResourceArrayResponse';
|
|
135
|
-
export * from './
|
|
136
|
-
export * from './ModelAttributeFrontendResourceArrayResponse';
|
|
137
|
+
export * from './ListAssetsProductRegistrationRequest';
|
|
137
138
|
export * from './ModelAttributeListResource';
|
|
138
139
|
export * from './ModelAttributeListResourceArrayResponse';
|
|
139
140
|
export * from './ModelAttributeResource';
|
|
@@ -180,6 +181,9 @@ export * from './PaginatedProductRangeListResourceResponse';
|
|
|
180
181
|
export * from './PaginatedProductRangeLiteResourceResponse';
|
|
181
182
|
export * from './PaginatedProductRangeResourceResponse';
|
|
182
183
|
export * from './PaginatedProductRangeSearchResultResourceResponse';
|
|
184
|
+
export * from './PaginatedProductRegistrationAssetResourceResponse';
|
|
185
|
+
export * from './PaginatedProductRegistrationListResourceResponse';
|
|
186
|
+
export * from './PaginatedProductRegistrationResourceResponse';
|
|
183
187
|
export * from './PaginatedProductResourceResponse';
|
|
184
188
|
export * from './PaginatedProductSearchResultResourceResponse';
|
|
185
189
|
export * from './PaginatedProductTypeListResourceResponse';
|
|
@@ -262,6 +266,19 @@ export * from './ProductRangeSiteDetailResource';
|
|
|
262
266
|
export * from './ProductRangeSiteDetailResourceArrayResponse';
|
|
263
267
|
export * from './ProductRangeSortBy';
|
|
264
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';
|
|
265
282
|
export * from './ProductResource';
|
|
266
283
|
export * from './ProductResourceArrayResponse';
|
|
267
284
|
export * from './ProductSearchResponseResource';
|
|
@@ -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;
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfModelAttributeFrontendResource = instanceOfModelAttributeFrontendResource;
|
|
17
|
-
exports.ModelAttributeFrontendResourceFromJSON = ModelAttributeFrontendResourceFromJSON;
|
|
18
|
-
exports.ModelAttributeFrontendResourceFromJSONTyped = ModelAttributeFrontendResourceFromJSONTyped;
|
|
19
|
-
exports.ModelAttributeFrontendResourceToJSON = ModelAttributeFrontendResourceToJSON;
|
|
20
|
-
exports.ModelAttributeFrontendResourceToJSONTyped = ModelAttributeFrontendResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ModelAttributeFrontendResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfModelAttributeFrontendResource(value) {
|
|
25
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('value' in value) || value['value'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function ModelAttributeFrontendResourceFromJSON(json) {
|
|
32
|
-
return ModelAttributeFrontendResourceFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function ModelAttributeFrontendResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'name': json['name'],
|
|
40
|
-
'value': json['value'],
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
function ModelAttributeFrontendResourceToJSON(json) {
|
|
44
|
-
return ModelAttributeFrontendResourceToJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function ModelAttributeFrontendResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
-
if (value == null) {
|
|
49
|
-
return value;
|
|
50
|
-
}
|
|
51
|
-
return {
|
|
52
|
-
'name': value['name'],
|
|
53
|
-
'value': value['value'],
|
|
54
|
-
};
|
|
55
|
-
}
|
|
@@ -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 type { ModelAttributeFrontendResource } from './ModelAttributeFrontendResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ModelAttributeFrontendResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ModelAttributeFrontendResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ModelAttributeFrontendResource>}
|
|
22
|
-
* @memberof ModelAttributeFrontendResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ModelAttributeFrontendResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ModelAttributeFrontendResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfModelAttributeFrontendResourceArrayResponse(value: object): value is ModelAttributeFrontendResourceArrayResponse;
|
|
30
|
-
export declare function ModelAttributeFrontendResourceArrayResponseFromJSON(json: any): ModelAttributeFrontendResourceArrayResponse;
|
|
31
|
-
export declare function ModelAttributeFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelAttributeFrontendResourceArrayResponse;
|
|
32
|
-
export declare function ModelAttributeFrontendResourceArrayResponseToJSON(json: any): ModelAttributeFrontendResourceArrayResponse;
|
|
33
|
-
export declare function ModelAttributeFrontendResourceArrayResponseToJSONTyped(value?: ModelAttributeFrontendResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +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.instanceOfModelAttributeFrontendResourceArrayResponse = instanceOfModelAttributeFrontendResourceArrayResponse;
|
|
17
|
-
exports.ModelAttributeFrontendResourceArrayResponseFromJSON = ModelAttributeFrontendResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ModelAttributeFrontendResourceArrayResponseFromJSONTyped = ModelAttributeFrontendResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ModelAttributeFrontendResourceArrayResponseToJSON = ModelAttributeFrontendResourceArrayResponseToJSON;
|
|
20
|
-
exports.ModelAttributeFrontendResourceArrayResponseToJSONTyped = ModelAttributeFrontendResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ModelAttributeFrontendResource_1 = require("./ModelAttributeFrontendResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ModelAttributeFrontendResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfModelAttributeFrontendResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ModelAttributeFrontendResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ModelAttributeFrontendResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ModelAttributeFrontendResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ModelAttributeFrontendResource_1.ModelAttributeFrontendResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ModelAttributeFrontendResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ModelAttributeFrontendResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ModelAttributeFrontendResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(ModelAttributeFrontendResource_1.ModelAttributeFrontendResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface ModelAttributeFrontendResource
|
|
20
|
-
*/
|
|
21
|
-
export interface ModelAttributeFrontendResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ModelAttributeFrontendResource
|
|
26
|
-
*/
|
|
27
|
-
name: string;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof ModelAttributeFrontendResource
|
|
32
|
-
*/
|
|
33
|
-
value: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Check if a given object implements the ModelAttributeFrontendResource interface.
|
|
38
|
-
*/
|
|
39
|
-
export function instanceOfModelAttributeFrontendResource(value: object): value is ModelAttributeFrontendResource {
|
|
40
|
-
if (!('name' in value) || value['name'] === undefined) return false;
|
|
41
|
-
if (!('value' in value) || value['value'] === undefined) return false;
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ModelAttributeFrontendResourceFromJSON(json: any): ModelAttributeFrontendResource {
|
|
46
|
-
return ModelAttributeFrontendResourceFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ModelAttributeFrontendResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelAttributeFrontendResource {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'name': json['name'],
|
|
56
|
-
'value': json['value'],
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function ModelAttributeFrontendResourceToJSON(json: any): ModelAttributeFrontendResource {
|
|
61
|
-
return ModelAttributeFrontendResourceToJSONTyped(json, false);
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
export function ModelAttributeFrontendResourceToJSONTyped(value?: ModelAttributeFrontendResource | null, ignoreDiscriminator: boolean = false): any {
|
|
65
|
-
if (value == null) {
|
|
66
|
-
return value;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
return {
|
|
70
|
-
|
|
71
|
-
'name': value['name'],
|
|
72
|
-
'value': value['value'],
|
|
73
|
-
};
|
|
74
|
-
}
|
|
75
|
-
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { ModelAttributeFrontendResource } from './ModelAttributeFrontendResource';
|
|
17
|
-
import {
|
|
18
|
-
ModelAttributeFrontendResourceFromJSON,
|
|
19
|
-
ModelAttributeFrontendResourceFromJSONTyped,
|
|
20
|
-
ModelAttributeFrontendResourceToJSON,
|
|
21
|
-
ModelAttributeFrontendResourceToJSONTyped,
|
|
22
|
-
} from './ModelAttributeFrontendResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface ModelAttributeFrontendResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface ModelAttributeFrontendResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<ModelAttributeFrontendResource>}
|
|
33
|
-
* @memberof ModelAttributeFrontendResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<ModelAttributeFrontendResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the ModelAttributeFrontendResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfModelAttributeFrontendResourceArrayResponse(value: object): value is ModelAttributeFrontendResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function ModelAttributeFrontendResourceArrayResponseFromJSON(json: any): ModelAttributeFrontendResourceArrayResponse {
|
|
46
|
-
return ModelAttributeFrontendResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function ModelAttributeFrontendResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ModelAttributeFrontendResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(ModelAttributeFrontendResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function ModelAttributeFrontendResourceArrayResponseToJSON(json: any): ModelAttributeFrontendResourceArrayResponse {
|
|
60
|
-
return ModelAttributeFrontendResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function ModelAttributeFrontendResourceArrayResponseToJSONTyped(value?: ModelAttributeFrontendResourceArrayResponse | 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(ModelAttributeFrontendResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|