@digital8/lighting-illusions-ts-sdk 0.0.1100 → 0.0.1102
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 +38 -4
- package/README.md +31 -4
- package/dist/apis/StoreApi.d.ts +158 -0
- package/dist/apis/StoreApi.js +621 -0
- package/dist/apis/SupplierApi.d.ts +33 -1
- package/dist/apis/SupplierApi.js +122 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/models/AddressResource.d.ts +74 -0
- package/dist/models/AddressResource.js +79 -0
- package/dist/models/AddressResourceArrayResponse.d.ts +33 -0
- package/dist/models/AddressResourceArrayResponse.js +50 -0
- package/dist/models/AttachStoresSupplierRequest.d.ts +32 -0
- package/dist/models/AttachStoresSupplierRequest.js +51 -0
- package/dist/models/AttachSuppliersStoreRequest.d.ts +32 -0
- package/dist/models/AttachSuppliersStoreRequest.js +51 -0
- package/dist/models/DetachStoresSupplierRequest.d.ts +32 -0
- package/dist/models/DetachStoresSupplierRequest.js +51 -0
- package/dist/models/DetachSuppliersStoreRequest.d.ts +32 -0
- package/dist/models/DetachSuppliersStoreRequest.js +51 -0
- package/dist/models/ExternalApiLogResource.d.ts +1 -1
- package/dist/models/ExternalApiLogResource.js +3 -1
- package/dist/models/GetAllStoreRequest.d.ts +87 -0
- package/dist/models/GetAllStoreRequest.js +79 -0
- package/dist/models/ProductChildOverlayRelationResource.d.ts +0 -6
- package/dist/models/ProductChildOverlayRelationResource.js +0 -4
- package/dist/models/ProductChildResource.d.ts +0 -19
- package/dist/models/ProductChildResource.js +0 -13
- package/dist/models/StoreListResource.d.ts +93 -0
- package/dist/models/StoreListResource.js +84 -0
- package/dist/models/StoreListResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreListResourceArrayResponse.js +50 -0
- package/dist/models/StoreProductCategoryRequest.d.ts +2 -2
- package/dist/models/StoreProductCategoryRequest.js +6 -2
- package/dist/models/StoreResource.d.ts +117 -0
- package/dist/models/StoreResource.js +100 -0
- package/dist/models/StoreResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreResourceArrayResponse.js +50 -0
- package/dist/models/StoreSpecialDateResource.d.ts +56 -0
- package/dist/models/StoreSpecialDateResource.js +65 -0
- package/dist/models/StoreSpecialDateResourceArrayResponse.d.ts +33 -0
- package/dist/models/StoreSpecialDateResourceArrayResponse.js +50 -0
- package/dist/models/StoreStoreRequest.d.ts +177 -0
- package/dist/models/StoreStoreRequest.js +124 -0
- package/dist/models/StoreStoreRequestSpecialDatesInner.d.ts +50 -0
- package/dist/models/StoreStoreRequestSpecialDatesInner.js +57 -0
- package/dist/models/StoreStoreSpecialDateRequest.d.ts +50 -0
- package/dist/models/StoreStoreSpecialDateRequest.js +57 -0
- package/dist/models/SupplierResource.d.ts +6 -0
- package/dist/models/SupplierResource.js +4 -0
- package/dist/models/UpdateStoreRequest.d.ts +177 -0
- package/dist/models/UpdateStoreRequest.js +124 -0
- package/dist/models/UpdateStoreRequestSpecialDatesInner.d.ts +56 -0
- package/dist/models/UpdateStoreRequestSpecialDatesInner.js +57 -0
- package/dist/models/index.d.ts +18 -2
- package/dist/models/index.js +18 -2
- package/docs/AddressResource.md +48 -0
- package/docs/{ProductClassResourceArrayResponse.md → AddressResourceArrayResponse.md} +5 -5
- package/docs/{ProductClassResource.md → AttachStoresSupplierRequest.md} +6 -10
- package/docs/AttachSuppliersStoreRequest.md +34 -0
- package/docs/DetachStoresSupplierRequest.md +34 -0
- package/docs/DetachSuppliersStoreRequest.md +34 -0
- package/docs/GetAllStoreRequest.md +46 -0
- package/docs/ProductChildOverlayRelationResource.md +0 -2
- package/docs/ProductChildResource.md +0 -6
- package/docs/StoreApi.md +617 -0
- package/docs/StoreListResource.md +54 -0
- package/docs/StoreListResourceArrayResponse.md +34 -0
- package/docs/StoreResource.md +62 -0
- package/docs/StoreResourceArrayResponse.md +34 -0
- package/docs/StoreSpecialDateResource.md +42 -0
- package/docs/StoreSpecialDateResourceArrayResponse.md +34 -0
- package/docs/StoreStoreRequest.md +82 -0
- package/docs/StoreStoreRequestSpecialDatesInner.md +40 -0
- package/docs/StoreStoreSpecialDateRequest.md +40 -0
- package/docs/SupplierApi.md +138 -0
- package/docs/SupplierResource.md +2 -0
- package/docs/UpdateStoreRequest.md +82 -0
- package/docs/UpdateStoreRequestSpecialDatesInner.md +42 -0
- package/package.json +1 -1
- package/src/apis/StoreApi.ts +513 -0
- package/src/apis/SupplierApi.ts +112 -0
- package/src/apis/index.ts +1 -0
- package/src/models/AddressResource.ts +129 -0
- package/src/models/AddressResourceArrayResponse.ts +73 -0
- package/src/models/AttachStoresSupplierRequest.ts +66 -0
- package/src/models/AttachSuppliersStoreRequest.ts +66 -0
- package/src/models/DetachStoresSupplierRequest.ts +66 -0
- package/src/models/DetachSuppliersStoreRequest.ts +66 -0
- package/src/models/ExternalApiLogResource.ts +3 -2
- package/src/models/GetAllStoreRequest.ts +136 -0
- package/src/models/ProductChildOverlayRelationResource.ts +0 -9
- package/src/models/ProductChildResource.ts +0 -34
- package/src/models/StoreListResource.ts +160 -0
- package/src/models/StoreListResourceArrayResponse.ts +73 -0
- package/src/models/StoreProductCategoryRequest.ts +6 -4
- package/src/models/StoreResource.ts +196 -0
- package/src/models/StoreResourceArrayResponse.ts +73 -0
- package/src/models/StoreSpecialDateResource.ts +101 -0
- package/src/models/StoreSpecialDateResourceArrayResponse.ts +73 -0
- package/src/models/StoreStoreRequest.ts +278 -0
- package/src/models/StoreStoreRequestSpecialDatesInner.ts +90 -0
- package/src/models/StoreStoreSpecialDateRequest.ts +90 -0
- package/src/models/SupplierResource.ts +9 -0
- package/src/models/UpdateStoreRequest.ts +278 -0
- package/src/models/UpdateStoreRequestSpecialDatesInner.ts +97 -0
- package/src/models/index.ts +18 -2
- package/dist/models/ProductClassResource.d.ts +0 -44
- package/dist/models/ProductClassResource.js +0 -57
- package/dist/models/ProductClassResourceArrayResponse.d.ts +0 -33
- package/dist/models/ProductClassResourceArrayResponse.js +0 -50
- package/src/models/ProductClassResource.ts +0 -83
- package/src/models/ProductClassResourceArrayResponse.ts +0 -73
|
@@ -0,0 +1,278 @@
|
|
|
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 { UpdateStoreRequestSpecialDatesInner } from './UpdateStoreRequestSpecialDatesInner';
|
|
17
|
+
import {
|
|
18
|
+
UpdateStoreRequestSpecialDatesInnerFromJSON,
|
|
19
|
+
UpdateStoreRequestSpecialDatesInnerFromJSONTyped,
|
|
20
|
+
UpdateStoreRequestSpecialDatesInnerToJSON,
|
|
21
|
+
UpdateStoreRequestSpecialDatesInnerToJSONTyped,
|
|
22
|
+
} from './UpdateStoreRequestSpecialDatesInner';
|
|
23
|
+
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @export
|
|
27
|
+
* @interface UpdateStoreRequest
|
|
28
|
+
*/
|
|
29
|
+
export interface UpdateStoreRequest {
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof UpdateStoreRequest
|
|
34
|
+
*/
|
|
35
|
+
siteId: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof UpdateStoreRequest
|
|
40
|
+
*/
|
|
41
|
+
name: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof UpdateStoreRequest
|
|
46
|
+
*/
|
|
47
|
+
phone: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof UpdateStoreRequest
|
|
52
|
+
*/
|
|
53
|
+
longitude: number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof UpdateStoreRequest
|
|
58
|
+
*/
|
|
59
|
+
latitude: number;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof UpdateStoreRequest
|
|
64
|
+
*/
|
|
65
|
+
tagLine?: string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof UpdateStoreRequest
|
|
70
|
+
*/
|
|
71
|
+
email: string;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {Array<string>}
|
|
75
|
+
* @memberof UpdateStoreRequest
|
|
76
|
+
*/
|
|
77
|
+
openingHours?: Array<string>;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof UpdateStoreRequest
|
|
82
|
+
*/
|
|
83
|
+
openingHours0?: string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof UpdateStoreRequest
|
|
88
|
+
*/
|
|
89
|
+
openingHours1?: string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof UpdateStoreRequest
|
|
94
|
+
*/
|
|
95
|
+
openingHours2?: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof UpdateStoreRequest
|
|
100
|
+
*/
|
|
101
|
+
openingHours3?: string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof UpdateStoreRequest
|
|
106
|
+
*/
|
|
107
|
+
openingHours4?: string;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof UpdateStoreRequest
|
|
112
|
+
*/
|
|
113
|
+
openingHours5?: string;
|
|
114
|
+
/**
|
|
115
|
+
*
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof UpdateStoreRequest
|
|
118
|
+
*/
|
|
119
|
+
openingHours6?: string;
|
|
120
|
+
/**
|
|
121
|
+
*
|
|
122
|
+
* @type {Array<number>}
|
|
123
|
+
* @memberof UpdateStoreRequest
|
|
124
|
+
*/
|
|
125
|
+
supplierIds?: Array<number>;
|
|
126
|
+
/**
|
|
127
|
+
*
|
|
128
|
+
* @type {Array<UpdateStoreRequestSpecialDatesInner>}
|
|
129
|
+
* @memberof UpdateStoreRequest
|
|
130
|
+
*/
|
|
131
|
+
specialDates?: Array<UpdateStoreRequestSpecialDatesInner>;
|
|
132
|
+
/**
|
|
133
|
+
*
|
|
134
|
+
* @type {Array<string>}
|
|
135
|
+
* @memberof UpdateStoreRequest
|
|
136
|
+
*/
|
|
137
|
+
address: Array<string>;
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof UpdateStoreRequest
|
|
142
|
+
*/
|
|
143
|
+
addressCompany: string;
|
|
144
|
+
/**
|
|
145
|
+
*
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof UpdateStoreRequest
|
|
148
|
+
*/
|
|
149
|
+
addressLine1: string;
|
|
150
|
+
/**
|
|
151
|
+
*
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof UpdateStoreRequest
|
|
154
|
+
*/
|
|
155
|
+
addressLine2?: string;
|
|
156
|
+
/**
|
|
157
|
+
*
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof UpdateStoreRequest
|
|
160
|
+
*/
|
|
161
|
+
addressPostcode: string;
|
|
162
|
+
/**
|
|
163
|
+
*
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof UpdateStoreRequest
|
|
166
|
+
*/
|
|
167
|
+
addressSuburb: string;
|
|
168
|
+
/**
|
|
169
|
+
*
|
|
170
|
+
* @type {string}
|
|
171
|
+
* @memberof UpdateStoreRequest
|
|
172
|
+
*/
|
|
173
|
+
addressCountry: string;
|
|
174
|
+
/**
|
|
175
|
+
*
|
|
176
|
+
* @type {string}
|
|
177
|
+
* @memberof UpdateStoreRequest
|
|
178
|
+
*/
|
|
179
|
+
addressState: string;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Check if a given object implements the UpdateStoreRequest interface.
|
|
184
|
+
*/
|
|
185
|
+
export function instanceOfUpdateStoreRequest(value: object): value is UpdateStoreRequest {
|
|
186
|
+
if (!('siteId' in value) || value['siteId'] === undefined) return false;
|
|
187
|
+
if (!('name' in value) || value['name'] === undefined) return false;
|
|
188
|
+
if (!('phone' in value) || value['phone'] === undefined) return false;
|
|
189
|
+
if (!('longitude' in value) || value['longitude'] === undefined) return false;
|
|
190
|
+
if (!('latitude' in value) || value['latitude'] === undefined) return false;
|
|
191
|
+
if (!('email' in value) || value['email'] === undefined) return false;
|
|
192
|
+
if (!('address' in value) || value['address'] === undefined) return false;
|
|
193
|
+
if (!('addressCompany' in value) || value['addressCompany'] === undefined) return false;
|
|
194
|
+
if (!('addressLine1' in value) || value['addressLine1'] === undefined) return false;
|
|
195
|
+
if (!('addressPostcode' in value) || value['addressPostcode'] === undefined) return false;
|
|
196
|
+
if (!('addressSuburb' in value) || value['addressSuburb'] === undefined) return false;
|
|
197
|
+
if (!('addressCountry' in value) || value['addressCountry'] === undefined) return false;
|
|
198
|
+
if (!('addressState' in value) || value['addressState'] === undefined) return false;
|
|
199
|
+
return true;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
export function UpdateStoreRequestFromJSON(json: any): UpdateStoreRequest {
|
|
203
|
+
return UpdateStoreRequestFromJSONTyped(json, false);
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
export function UpdateStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateStoreRequest {
|
|
207
|
+
if (json == null) {
|
|
208
|
+
return json;
|
|
209
|
+
}
|
|
210
|
+
return {
|
|
211
|
+
|
|
212
|
+
'siteId': json['site_id'],
|
|
213
|
+
'name': json['name'],
|
|
214
|
+
'phone': json['phone'],
|
|
215
|
+
'longitude': json['longitude'],
|
|
216
|
+
'latitude': json['latitude'],
|
|
217
|
+
'tagLine': json['tag_line'] == null ? undefined : json['tag_line'],
|
|
218
|
+
'email': json['email'],
|
|
219
|
+
'openingHours': json['opening_hours'] == null ? undefined : json['opening_hours'],
|
|
220
|
+
'openingHours0': json['opening_hours.0'] == null ? undefined : json['opening_hours.0'],
|
|
221
|
+
'openingHours1': json['opening_hours.1'] == null ? undefined : json['opening_hours.1'],
|
|
222
|
+
'openingHours2': json['opening_hours.2'] == null ? undefined : json['opening_hours.2'],
|
|
223
|
+
'openingHours3': json['opening_hours.3'] == null ? undefined : json['opening_hours.3'],
|
|
224
|
+
'openingHours4': json['opening_hours.4'] == null ? undefined : json['opening_hours.4'],
|
|
225
|
+
'openingHours5': json['opening_hours.5'] == null ? undefined : json['opening_hours.5'],
|
|
226
|
+
'openingHours6': json['opening_hours.6'] == null ? undefined : json['opening_hours.6'],
|
|
227
|
+
'supplierIds': json['supplier_ids'] == null ? undefined : json['supplier_ids'],
|
|
228
|
+
'specialDates': json['special_dates'] == null ? undefined : ((json['special_dates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerFromJSON)),
|
|
229
|
+
'address': json['address'],
|
|
230
|
+
'addressCompany': json['address.company'],
|
|
231
|
+
'addressLine1': json['address.line_1'],
|
|
232
|
+
'addressLine2': json['address.line_2'] == null ? undefined : json['address.line_2'],
|
|
233
|
+
'addressPostcode': json['address.postcode'],
|
|
234
|
+
'addressSuburb': json['address.suburb'],
|
|
235
|
+
'addressCountry': json['address.country'],
|
|
236
|
+
'addressState': json['address.state'],
|
|
237
|
+
};
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
export function UpdateStoreRequestToJSON(json: any): UpdateStoreRequest {
|
|
241
|
+
return UpdateStoreRequestToJSONTyped(json, false);
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
export function UpdateStoreRequestToJSONTyped(value?: UpdateStoreRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
245
|
+
if (value == null) {
|
|
246
|
+
return value;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
return {
|
|
250
|
+
|
|
251
|
+
'site_id': value['siteId'],
|
|
252
|
+
'name': value['name'],
|
|
253
|
+
'phone': value['phone'],
|
|
254
|
+
'longitude': value['longitude'],
|
|
255
|
+
'latitude': value['latitude'],
|
|
256
|
+
'tag_line': value['tagLine'],
|
|
257
|
+
'email': value['email'],
|
|
258
|
+
'opening_hours': value['openingHours'],
|
|
259
|
+
'opening_hours.0': value['openingHours0'],
|
|
260
|
+
'opening_hours.1': value['openingHours1'],
|
|
261
|
+
'opening_hours.2': value['openingHours2'],
|
|
262
|
+
'opening_hours.3': value['openingHours3'],
|
|
263
|
+
'opening_hours.4': value['openingHours4'],
|
|
264
|
+
'opening_hours.5': value['openingHours5'],
|
|
265
|
+
'opening_hours.6': value['openingHours6'],
|
|
266
|
+
'supplier_ids': value['supplierIds'],
|
|
267
|
+
'special_dates': value['specialDates'] == null ? undefined : ((value['specialDates'] as Array<any>).map(UpdateStoreRequestSpecialDatesInnerToJSON)),
|
|
268
|
+
'address': value['address'],
|
|
269
|
+
'address.company': value['addressCompany'],
|
|
270
|
+
'address.line_1': value['addressLine1'],
|
|
271
|
+
'address.line_2': value['addressLine2'],
|
|
272
|
+
'address.postcode': value['addressPostcode'],
|
|
273
|
+
'address.suburb': value['addressSuburb'],
|
|
274
|
+
'address.country': value['addressCountry'],
|
|
275
|
+
'address.state': value['addressState'],
|
|
276
|
+
};
|
|
277
|
+
}
|
|
278
|
+
|
|
@@ -0,0 +1,97 @@
|
|
|
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 UpdateStoreRequestSpecialDatesInner
|
|
20
|
+
*/
|
|
21
|
+
export interface UpdateStoreRequestSpecialDatesInner {
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
* @type {number}
|
|
25
|
+
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
26
|
+
*/
|
|
27
|
+
id?: number;
|
|
28
|
+
/**
|
|
29
|
+
*
|
|
30
|
+
* @type {string}
|
|
31
|
+
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
32
|
+
*/
|
|
33
|
+
name?: string;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {string}
|
|
37
|
+
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
38
|
+
*/
|
|
39
|
+
hours?: string;
|
|
40
|
+
/**
|
|
41
|
+
*
|
|
42
|
+
* @type {Date}
|
|
43
|
+
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
44
|
+
*/
|
|
45
|
+
displayStart?: Date;
|
|
46
|
+
/**
|
|
47
|
+
*
|
|
48
|
+
* @type {Date}
|
|
49
|
+
* @memberof UpdateStoreRequestSpecialDatesInner
|
|
50
|
+
*/
|
|
51
|
+
displayEnd?: Date;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Check if a given object implements the UpdateStoreRequestSpecialDatesInner interface.
|
|
56
|
+
*/
|
|
57
|
+
export function instanceOfUpdateStoreRequestSpecialDatesInner(value: object): value is UpdateStoreRequestSpecialDatesInner {
|
|
58
|
+
return true;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export function UpdateStoreRequestSpecialDatesInnerFromJSON(json: any): UpdateStoreRequestSpecialDatesInner {
|
|
62
|
+
return UpdateStoreRequestSpecialDatesInnerFromJSONTyped(json, false);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export function UpdateStoreRequestSpecialDatesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateStoreRequestSpecialDatesInner {
|
|
66
|
+
if (json == null) {
|
|
67
|
+
return json;
|
|
68
|
+
}
|
|
69
|
+
return {
|
|
70
|
+
|
|
71
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
72
|
+
'name': json['name'] == null ? undefined : json['name'],
|
|
73
|
+
'hours': json['hours'] == null ? undefined : json['hours'],
|
|
74
|
+
'displayStart': json['display_start'] == null ? undefined : (new Date(json['display_start'])),
|
|
75
|
+
'displayEnd': json['display_end'] == null ? undefined : (new Date(json['display_end'])),
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export function UpdateStoreRequestSpecialDatesInnerToJSON(json: any): UpdateStoreRequestSpecialDatesInner {
|
|
80
|
+
return UpdateStoreRequestSpecialDatesInnerToJSONTyped(json, false);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
export function UpdateStoreRequestSpecialDatesInnerToJSONTyped(value?: UpdateStoreRequestSpecialDatesInner | null, ignoreDiscriminator: boolean = false): any {
|
|
84
|
+
if (value == null) {
|
|
85
|
+
return value;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
return {
|
|
89
|
+
|
|
90
|
+
'id': value['id'],
|
|
91
|
+
'name': value['name'],
|
|
92
|
+
'hours': value['hours'],
|
|
93
|
+
'display_start': value['displayStart'] == null ? value['displayStart'] : value['displayStart'].toISOString(),
|
|
94
|
+
'display_end': value['displayEnd'] == null ? value['displayEnd'] : value['displayEnd'].toISOString(),
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
package/src/models/index.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
+
export * from './AddressResource';
|
|
4
|
+
export * from './AddressResourceArrayResponse';
|
|
3
5
|
export * from './AssetFileForUploadResource';
|
|
4
6
|
export * from './AssetFileForUploadResourceArrayResponse';
|
|
5
7
|
export * from './AssetFrontendResource';
|
|
@@ -17,6 +19,8 @@ export * from './AttachDocumentsProductChildRequest';
|
|
|
17
19
|
export * from './AttachDocumentsProductChildRequestDocumentsInner';
|
|
18
20
|
export * from './AttachProductTypeAttributeRequest';
|
|
19
21
|
export * from './AttachProductsProductCategoryRequest';
|
|
22
|
+
export * from './AttachStoresSupplierRequest';
|
|
23
|
+
export * from './AttachSuppliersStoreRequest';
|
|
20
24
|
export * from './AttributeFieldType';
|
|
21
25
|
export * from './AttributeListResource';
|
|
22
26
|
export * from './AttributeListResourceArrayResponse';
|
|
@@ -51,6 +55,8 @@ export * from './DetachDocumentablesDocumentRequest';
|
|
|
51
55
|
export * from './DetachDocumentablesDocumentRequestDocumentablesInner';
|
|
52
56
|
export * from './DetachDocumentsProductChildRequest';
|
|
53
57
|
export * from './DetachProductsProductCategoryRequest';
|
|
58
|
+
export * from './DetachStoresSupplierRequest';
|
|
59
|
+
export * from './DetachSuppliersStoreRequest';
|
|
54
60
|
export * from './DocumentFileForUploadResource';
|
|
55
61
|
export * from './DocumentFileForUploadResourceArrayResponse';
|
|
56
62
|
export * from './DocumentFrontendResource';
|
|
@@ -76,6 +82,7 @@ export * from './GetAllProductCategoryRequest';
|
|
|
76
82
|
export * from './GetAllProductChildRequest';
|
|
77
83
|
export * from './GetAllProductRequest';
|
|
78
84
|
export * from './GetAllProductTypeRequest';
|
|
85
|
+
export * from './GetAllStoreRequest';
|
|
79
86
|
export * from './GetAllSupplierRequest';
|
|
80
87
|
export * from './GetHierarchyProductCategoryRequest';
|
|
81
88
|
export * from './GlobalSearchCategoryResource';
|
|
@@ -187,8 +194,6 @@ export * from './ProductChildSiteDetailLiteResource';
|
|
|
187
194
|
export * from './ProductChildSiteDetailLiteResourceArrayResponse';
|
|
188
195
|
export * from './ProductChildSiteDetailResource';
|
|
189
196
|
export * from './ProductChildSiteDetailResourceArrayResponse';
|
|
190
|
-
export * from './ProductClassResource';
|
|
191
|
-
export * from './ProductClassResourceArrayResponse';
|
|
192
197
|
export * from './ProductCompareResource';
|
|
193
198
|
export * from './ProductCompareResourceArrayResponse';
|
|
194
199
|
export * from './ProductListResource';
|
|
@@ -234,6 +239,8 @@ export * from './StoreAttributeValueRequest';
|
|
|
234
239
|
export * from './StoreDefinitionRequest';
|
|
235
240
|
export * from './StoreDocumentFileRequest';
|
|
236
241
|
export * from './StoreDocumentRequest';
|
|
242
|
+
export * from './StoreListResource';
|
|
243
|
+
export * from './StoreListResourceArrayResponse';
|
|
237
244
|
export * from './StoreOverlayTemplateAssetRequest';
|
|
238
245
|
export * from './StoreOverlayTemplateRequest';
|
|
239
246
|
export * from './StoreProductCategoryRequest';
|
|
@@ -247,7 +254,14 @@ export * from './StoreProductChildRequestSitesInner';
|
|
|
247
254
|
export * from './StoreProductRequest';
|
|
248
255
|
export * from './StoreProductRequestCategoriesInner';
|
|
249
256
|
export * from './StoreProductTypeRequest';
|
|
257
|
+
export * from './StoreResource';
|
|
258
|
+
export * from './StoreResourceArrayResponse';
|
|
250
259
|
export * from './StoreSiteNotificationRequest';
|
|
260
|
+
export * from './StoreSpecialDateResource';
|
|
261
|
+
export * from './StoreSpecialDateResourceArrayResponse';
|
|
262
|
+
export * from './StoreStoreRequest';
|
|
263
|
+
export * from './StoreStoreRequestSpecialDatesInner';
|
|
264
|
+
export * from './StoreStoreSpecialDateRequest';
|
|
251
265
|
export * from './StoreSupplierRequest';
|
|
252
266
|
export * from './StoreTagRequest';
|
|
253
267
|
export * from './SupplierFrontendResource';
|
|
@@ -285,6 +299,8 @@ export * from './UpdateProductTypeRequest';
|
|
|
285
299
|
export * from './UpdateProductTypeRequestPerformanceValuesInner';
|
|
286
300
|
export * from './UpdateSiteNotificationRequest';
|
|
287
301
|
export * from './UpdateSiteRequest';
|
|
302
|
+
export * from './UpdateStoreRequest';
|
|
303
|
+
export * from './UpdateStoreRequestSpecialDatesInner';
|
|
288
304
|
export * from './UpdateSupplierRequest';
|
|
289
305
|
export * from './UpdateTagRequest';
|
|
290
306
|
export * from './WishlistCheckResource';
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface ProductClassResource
|
|
16
|
-
*/
|
|
17
|
-
export interface ProductClassResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof ProductClassResource
|
|
22
|
-
*/
|
|
23
|
-
id?: number | null;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ProductClassResource
|
|
28
|
-
*/
|
|
29
|
-
name: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof ProductClassResource
|
|
34
|
-
*/
|
|
35
|
-
order: number;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the ProductClassResource interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfProductClassResource(value: object): value is ProductClassResource;
|
|
41
|
-
export declare function ProductClassResourceFromJSON(json: any): ProductClassResource;
|
|
42
|
-
export declare function ProductClassResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductClassResource;
|
|
43
|
-
export declare function ProductClassResourceToJSON(json: any): ProductClassResource;
|
|
44
|
-
export declare function ProductClassResourceToJSONTyped(value?: ProductClassResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,57 +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.instanceOfProductClassResource = instanceOfProductClassResource;
|
|
17
|
-
exports.ProductClassResourceFromJSON = ProductClassResourceFromJSON;
|
|
18
|
-
exports.ProductClassResourceFromJSONTyped = ProductClassResourceFromJSONTyped;
|
|
19
|
-
exports.ProductClassResourceToJSON = ProductClassResourceToJSON;
|
|
20
|
-
exports.ProductClassResourceToJSONTyped = ProductClassResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the ProductClassResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfProductClassResource(value) {
|
|
25
|
-
if (!('name' in value) || value['name'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('order' in value) || value['order'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
return true;
|
|
30
|
-
}
|
|
31
|
-
function ProductClassResourceFromJSON(json) {
|
|
32
|
-
return ProductClassResourceFromJSONTyped(json, false);
|
|
33
|
-
}
|
|
34
|
-
function ProductClassResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if (json == null) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
return {
|
|
39
|
-
'id': json['id'] == null ? undefined : json['id'],
|
|
40
|
-
'name': json['name'],
|
|
41
|
-
'order': json['order'],
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
function ProductClassResourceToJSON(json) {
|
|
45
|
-
return ProductClassResourceToJSONTyped(json, false);
|
|
46
|
-
}
|
|
47
|
-
function ProductClassResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
48
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
49
|
-
if (value == null) {
|
|
50
|
-
return value;
|
|
51
|
-
}
|
|
52
|
-
return {
|
|
53
|
-
'id': value['id'],
|
|
54
|
-
'name': value['name'],
|
|
55
|
-
'order': value['order'],
|
|
56
|
-
};
|
|
57
|
-
}
|
|
@@ -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 { ProductClassResource } from './ProductClassResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface ProductClassResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface ProductClassResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<ProductClassResource>}
|
|
22
|
-
* @memberof ProductClassResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<ProductClassResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the ProductClassResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfProductClassResourceArrayResponse(value: object): value is ProductClassResourceArrayResponse;
|
|
30
|
-
export declare function ProductClassResourceArrayResponseFromJSON(json: any): ProductClassResourceArrayResponse;
|
|
31
|
-
export declare function ProductClassResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductClassResourceArrayResponse;
|
|
32
|
-
export declare function ProductClassResourceArrayResponseToJSON(json: any): ProductClassResourceArrayResponse;
|
|
33
|
-
export declare function ProductClassResourceArrayResponseToJSONTyped(value?: ProductClassResourceArrayResponse | 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.instanceOfProductClassResourceArrayResponse = instanceOfProductClassResourceArrayResponse;
|
|
17
|
-
exports.ProductClassResourceArrayResponseFromJSON = ProductClassResourceArrayResponseFromJSON;
|
|
18
|
-
exports.ProductClassResourceArrayResponseFromJSONTyped = ProductClassResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.ProductClassResourceArrayResponseToJSON = ProductClassResourceArrayResponseToJSON;
|
|
20
|
-
exports.ProductClassResourceArrayResponseToJSONTyped = ProductClassResourceArrayResponseToJSONTyped;
|
|
21
|
-
var ProductClassResource_1 = require("./ProductClassResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the ProductClassResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfProductClassResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function ProductClassResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return ProductClassResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function ProductClassResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(ProductClassResource_1.ProductClassResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function ProductClassResourceArrayResponseToJSON(json) {
|
|
40
|
-
return ProductClassResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function ProductClassResourceArrayResponseToJSONTyped(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(ProductClassResource_1.ProductClassResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|