@teemill/platform 0.3.0 → 0.5.0
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/VERSION +1 -1
- package/README.md +2 -2
- package/api.ts +1246 -50
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +880 -1
- package/dist/api.js +454 -2
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +880 -1
- package/dist/esm/api.js +449 -1
- package/dist/esm/base.d.ts +1 -1
- package/dist/esm/base.js +1 -1
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -1
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Platform API
|
|
5
5
|
* Manage Your podOS platform Currently this API is in development and is not yet publicly accessible. All paths and models are subject to change. For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.5.0
|
|
8
8
|
* Contact: hello@teemill.com
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,6 +23,61 @@ import type { RequestArgs } from './base';
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* A person\'s address.
|
|
28
|
+
* @export
|
|
29
|
+
* @interface Address
|
|
30
|
+
*/
|
|
31
|
+
export interface Address {
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof Address
|
|
36
|
+
*/
|
|
37
|
+
'contactName': string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof Address
|
|
42
|
+
*/
|
|
43
|
+
'company'?: string;
|
|
44
|
+
/**
|
|
45
|
+
* First line of the address.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof Address
|
|
48
|
+
*/
|
|
49
|
+
'line1': string;
|
|
50
|
+
/**
|
|
51
|
+
* Second line of the address.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof Address
|
|
54
|
+
*/
|
|
55
|
+
'line2'?: string;
|
|
56
|
+
/**
|
|
57
|
+
* City of the address.
|
|
58
|
+
* @type {string}
|
|
59
|
+
* @memberof Address
|
|
60
|
+
*/
|
|
61
|
+
'city': string;
|
|
62
|
+
/**
|
|
63
|
+
* Postal code of the address.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof Address
|
|
66
|
+
*/
|
|
67
|
+
'postalCode'?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Country of the address (ISO 3166-1 alpha-2).
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof Address
|
|
72
|
+
*/
|
|
73
|
+
'country': string;
|
|
74
|
+
/**
|
|
75
|
+
* State of the address.
|
|
76
|
+
* @type {string}
|
|
77
|
+
* @memberof Address
|
|
78
|
+
*/
|
|
79
|
+
'state'?: string;
|
|
80
|
+
}
|
|
26
81
|
/**
|
|
27
82
|
*
|
|
28
83
|
* @export
|
|
@@ -42,6 +97,379 @@ export interface ApiError {
|
|
|
42
97
|
*/
|
|
43
98
|
'message': string;
|
|
44
99
|
}
|
|
100
|
+
/**
|
|
101
|
+
* Order recipient contact information, used only for courier tracking/updates.
|
|
102
|
+
* @export
|
|
103
|
+
* @interface ContactInformation
|
|
104
|
+
*/
|
|
105
|
+
export interface ContactInformation {
|
|
106
|
+
/**
|
|
107
|
+
*
|
|
108
|
+
* @type {string}
|
|
109
|
+
* @memberof ContactInformation
|
|
110
|
+
*/
|
|
111
|
+
'email': string;
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @type {string}
|
|
115
|
+
* @memberof ContactInformation
|
|
116
|
+
*/
|
|
117
|
+
'phone'?: string | null;
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
*
|
|
121
|
+
* @export
|
|
122
|
+
* @interface DeliveryEstimates
|
|
123
|
+
*/
|
|
124
|
+
export interface DeliveryEstimates {
|
|
125
|
+
/**
|
|
126
|
+
* ISO 8601 Timestamp
|
|
127
|
+
* @type {string}
|
|
128
|
+
* @memberof DeliveryEstimates
|
|
129
|
+
*/
|
|
130
|
+
'min'?: string;
|
|
131
|
+
/**
|
|
132
|
+
* ISO 8601 Timestamp
|
|
133
|
+
* @type {string}
|
|
134
|
+
* @memberof DeliveryEstimates
|
|
135
|
+
*/
|
|
136
|
+
'max'?: string;
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
*
|
|
140
|
+
* @export
|
|
141
|
+
* @interface ExportOrders202Response
|
|
142
|
+
*/
|
|
143
|
+
export interface ExportOrders202Response {
|
|
144
|
+
/**
|
|
145
|
+
* A message describing the export status
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof ExportOrders202Response
|
|
148
|
+
*/
|
|
149
|
+
'message'?: string;
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
*
|
|
153
|
+
* @export
|
|
154
|
+
* @interface Fulfillment
|
|
155
|
+
*/
|
|
156
|
+
export interface Fulfillment {
|
|
157
|
+
/**
|
|
158
|
+
* Unique fulfillment id
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof Fulfillment
|
|
161
|
+
*/
|
|
162
|
+
'id'?: string;
|
|
163
|
+
/**
|
|
164
|
+
*
|
|
165
|
+
* @type {OrderStatus}
|
|
166
|
+
* @memberof Fulfillment
|
|
167
|
+
*/
|
|
168
|
+
'status'?: OrderStatus;
|
|
169
|
+
/**
|
|
170
|
+
*
|
|
171
|
+
* @type {Array<FulfillmentItem>}
|
|
172
|
+
* @memberof Fulfillment
|
|
173
|
+
*/
|
|
174
|
+
'items'?: Array<FulfillmentItem>;
|
|
175
|
+
/**
|
|
176
|
+
*
|
|
177
|
+
* @type {OrderTracking}
|
|
178
|
+
* @memberof Fulfillment
|
|
179
|
+
*/
|
|
180
|
+
'tracking'?: OrderTracking | null;
|
|
181
|
+
/**
|
|
182
|
+
* Shipping method currently set
|
|
183
|
+
* @type {ShippingMethod}
|
|
184
|
+
* @memberof Fulfillment
|
|
185
|
+
*/
|
|
186
|
+
'shippingMethod'?: ShippingMethod;
|
|
187
|
+
/**
|
|
188
|
+
* Shipping methods available for this fulfillment. One of these should be used to confirm the fulfillment.
|
|
189
|
+
* @type {Array<ShippingMethod>}
|
|
190
|
+
* @memberof Fulfillment
|
|
191
|
+
*/
|
|
192
|
+
'availableShippingMethods'?: Array<ShippingMethod>;
|
|
193
|
+
/**
|
|
194
|
+
* Weight of the package being shipped in grams
|
|
195
|
+
* @type {number}
|
|
196
|
+
* @memberof Fulfillment
|
|
197
|
+
*/
|
|
198
|
+
'packageWeight'?: number;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @export
|
|
205
|
+
* @interface FulfillmentItem
|
|
206
|
+
*/
|
|
207
|
+
export interface FulfillmentItem {
|
|
208
|
+
/**
|
|
209
|
+
* Unique fulfillment item id
|
|
210
|
+
* @type {string}
|
|
211
|
+
* @memberof FulfillmentItem
|
|
212
|
+
*/
|
|
213
|
+
'id'?: string;
|
|
214
|
+
/**
|
|
215
|
+
* Id of the order item being fulfilled
|
|
216
|
+
* @type {string}
|
|
217
|
+
* @memberof FulfillmentItem
|
|
218
|
+
*/
|
|
219
|
+
'itemId'?: string;
|
|
220
|
+
/**
|
|
221
|
+
* Number of this item being fulfilled
|
|
222
|
+
* @type {number}
|
|
223
|
+
* @memberof FulfillmentItem
|
|
224
|
+
*/
|
|
225
|
+
'quantity'?: number;
|
|
226
|
+
}
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @export
|
|
230
|
+
* @interface Order
|
|
231
|
+
*/
|
|
232
|
+
export interface Order {
|
|
233
|
+
/**
|
|
234
|
+
* Unique object identifier
|
|
235
|
+
* @type {string}
|
|
236
|
+
* @memberof Order
|
|
237
|
+
*/
|
|
238
|
+
'id'?: string;
|
|
239
|
+
/**
|
|
240
|
+
* A reference to the resource location
|
|
241
|
+
* @type {string}
|
|
242
|
+
* @memberof Order
|
|
243
|
+
*/
|
|
244
|
+
'ref'?: string;
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @type {OrderStatus}
|
|
248
|
+
* @memberof Order
|
|
249
|
+
*/
|
|
250
|
+
'status'?: OrderStatus;
|
|
251
|
+
/**
|
|
252
|
+
*
|
|
253
|
+
* @type {ContactInformation}
|
|
254
|
+
* @memberof Order
|
|
255
|
+
*/
|
|
256
|
+
'contactInformation': ContactInformation;
|
|
257
|
+
/**
|
|
258
|
+
*
|
|
259
|
+
* @type {Address}
|
|
260
|
+
* @memberof Order
|
|
261
|
+
*/
|
|
262
|
+
'shippingAddress': Address;
|
|
263
|
+
/**
|
|
264
|
+
* ISO 8601 Timestamp
|
|
265
|
+
* @type {string}
|
|
266
|
+
* @memberof Order
|
|
267
|
+
*/
|
|
268
|
+
'createdAt'?: string;
|
|
269
|
+
/**
|
|
270
|
+
* ISO 8601 Timestamp
|
|
271
|
+
* @type {string}
|
|
272
|
+
* @memberof Order
|
|
273
|
+
*/
|
|
274
|
+
'updatedAt'?: string;
|
|
275
|
+
/**
|
|
276
|
+
* A custom reference to the merchant\'s order that will be displayed on the shipping label.
|
|
277
|
+
* @type {string}
|
|
278
|
+
* @memberof Order
|
|
279
|
+
*/
|
|
280
|
+
'merchantReference'?: string | null;
|
|
281
|
+
/**
|
|
282
|
+
*
|
|
283
|
+
* @type {Array<Fulfillment>}
|
|
284
|
+
* @memberof Order
|
|
285
|
+
*/
|
|
286
|
+
'fulfillments'?: Array<Fulfillment>;
|
|
287
|
+
/**
|
|
288
|
+
*
|
|
289
|
+
* @type {Array<OrderItem>}
|
|
290
|
+
* @memberof Order
|
|
291
|
+
*/
|
|
292
|
+
'items': Array<OrderItem>;
|
|
293
|
+
/**
|
|
294
|
+
*
|
|
295
|
+
* @type {Price}
|
|
296
|
+
* @memberof Order
|
|
297
|
+
*/
|
|
298
|
+
'totalPrice'?: Price;
|
|
299
|
+
/**
|
|
300
|
+
*
|
|
301
|
+
* @type {Price}
|
|
302
|
+
* @memberof Order
|
|
303
|
+
*/
|
|
304
|
+
'taxPrice'?: Price;
|
|
305
|
+
/**
|
|
306
|
+
*
|
|
307
|
+
* @type {Price}
|
|
308
|
+
* @memberof Order
|
|
309
|
+
*/
|
|
310
|
+
'subtotalPrice'?: Price;
|
|
311
|
+
/**
|
|
312
|
+
*
|
|
313
|
+
* @type {Price}
|
|
314
|
+
* @memberof Order
|
|
315
|
+
*/
|
|
316
|
+
'discountPrice'?: Price;
|
|
317
|
+
/**
|
|
318
|
+
*
|
|
319
|
+
* @type {Price}
|
|
320
|
+
* @memberof Order
|
|
321
|
+
*/
|
|
322
|
+
'shippingPrice'?: Price;
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @type {Origin}
|
|
326
|
+
* @memberof Order
|
|
327
|
+
*/
|
|
328
|
+
'origin'?: Origin;
|
|
329
|
+
/**
|
|
330
|
+
*
|
|
331
|
+
* @type {Array<StatusHistoryItem>}
|
|
332
|
+
* @memberof Order
|
|
333
|
+
*/
|
|
334
|
+
'statusHistory'?: Array<StatusHistoryItem>;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
*
|
|
340
|
+
* @export
|
|
341
|
+
* @interface OrderItem
|
|
342
|
+
*/
|
|
343
|
+
export interface OrderItem {
|
|
344
|
+
/**
|
|
345
|
+
* Unique object identifier
|
|
346
|
+
* @type {string}
|
|
347
|
+
* @memberof OrderItem
|
|
348
|
+
*/
|
|
349
|
+
'id'?: string;
|
|
350
|
+
/**
|
|
351
|
+
* Reference URL to the order item variant
|
|
352
|
+
* @type {string}
|
|
353
|
+
* @memberof OrderItem
|
|
354
|
+
*/
|
|
355
|
+
'variantRef': string;
|
|
356
|
+
/**
|
|
357
|
+
*
|
|
358
|
+
* @type {number}
|
|
359
|
+
* @memberof OrderItem
|
|
360
|
+
*/
|
|
361
|
+
'quantity': number;
|
|
362
|
+
/**
|
|
363
|
+
*
|
|
364
|
+
* @type {Price}
|
|
365
|
+
* @memberof OrderItem
|
|
366
|
+
*/
|
|
367
|
+
'totalPrice'?: Price;
|
|
368
|
+
/**
|
|
369
|
+
* This is an estimate until the order has been confirmed
|
|
370
|
+
* @type {Price}
|
|
371
|
+
* @memberof OrderItem
|
|
372
|
+
*/
|
|
373
|
+
'taxPrice'?: Price;
|
|
374
|
+
/**
|
|
375
|
+
*
|
|
376
|
+
* @type {Price}
|
|
377
|
+
* @memberof OrderItem
|
|
378
|
+
*/
|
|
379
|
+
'subtotalPrice'?: Price;
|
|
380
|
+
/**
|
|
381
|
+
*
|
|
382
|
+
* @type {Price}
|
|
383
|
+
* @memberof OrderItem
|
|
384
|
+
*/
|
|
385
|
+
'discountPrice'?: Price;
|
|
386
|
+
/**
|
|
387
|
+
* The price you charged the recipient for each item. It\'s highly recommended if you have international orders as it aids customs issues.
|
|
388
|
+
* @type {Price}
|
|
389
|
+
* @memberof OrderItem
|
|
390
|
+
*/
|
|
391
|
+
'recipientCost'?: Price;
|
|
392
|
+
}
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @export
|
|
396
|
+
* @enum {string}
|
|
397
|
+
*/
|
|
398
|
+
|
|
399
|
+
export const OrderStatus = {
|
|
400
|
+
New: 'new',
|
|
401
|
+
Paid: 'paid',
|
|
402
|
+
Processing: 'processing',
|
|
403
|
+
Complete: 'complete',
|
|
404
|
+
Refunded: 'refunded'
|
|
405
|
+
} as const;
|
|
406
|
+
|
|
407
|
+
export type OrderStatus = typeof OrderStatus[keyof typeof OrderStatus];
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
/**
|
|
411
|
+
*
|
|
412
|
+
* @export
|
|
413
|
+
* @interface OrderTracking
|
|
414
|
+
*/
|
|
415
|
+
export interface OrderTracking {
|
|
416
|
+
/**
|
|
417
|
+
*
|
|
418
|
+
* @type {string}
|
|
419
|
+
* @memberof OrderTracking
|
|
420
|
+
*/
|
|
421
|
+
'courier'?: string;
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @type {string}
|
|
425
|
+
* @memberof OrderTracking
|
|
426
|
+
*/
|
|
427
|
+
'code'?: string;
|
|
428
|
+
/**
|
|
429
|
+
*
|
|
430
|
+
* @type {string}
|
|
431
|
+
* @memberof OrderTracking
|
|
432
|
+
*/
|
|
433
|
+
'url'?: string;
|
|
434
|
+
}
|
|
435
|
+
/**
|
|
436
|
+
*
|
|
437
|
+
* @export
|
|
438
|
+
* @interface OrdersResponse
|
|
439
|
+
*/
|
|
440
|
+
export interface OrdersResponse {
|
|
441
|
+
/**
|
|
442
|
+
*
|
|
443
|
+
* @type {Array<Order>}
|
|
444
|
+
* @memberof OrdersResponse
|
|
445
|
+
*/
|
|
446
|
+
'orders'?: Array<Order>;
|
|
447
|
+
/**
|
|
448
|
+
*
|
|
449
|
+
* @type {number}
|
|
450
|
+
* @memberof OrdersResponse
|
|
451
|
+
*/
|
|
452
|
+
'nextPageToken'?: number;
|
|
453
|
+
}
|
|
454
|
+
/**
|
|
455
|
+
*
|
|
456
|
+
* @export
|
|
457
|
+
* @interface Origin
|
|
458
|
+
*/
|
|
459
|
+
export interface Origin {
|
|
460
|
+
/**
|
|
461
|
+
*
|
|
462
|
+
* @type {string}
|
|
463
|
+
* @memberof Origin
|
|
464
|
+
*/
|
|
465
|
+
'code'?: string;
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @type {boolean}
|
|
469
|
+
* @memberof Origin
|
|
470
|
+
*/
|
|
471
|
+
'isPaid'?: boolean;
|
|
472
|
+
}
|
|
45
473
|
/**
|
|
46
474
|
*
|
|
47
475
|
* @export
|
|
@@ -51,86 +479,607 @@ export interface Platform {
|
|
|
51
479
|
/**
|
|
52
480
|
*
|
|
53
481
|
* @type {string}
|
|
54
|
-
* @memberof Platform
|
|
482
|
+
* @memberof Platform
|
|
483
|
+
*/
|
|
484
|
+
'id': string;
|
|
485
|
+
/**
|
|
486
|
+
*
|
|
487
|
+
* @type {string}
|
|
488
|
+
* @memberof Platform
|
|
489
|
+
*/
|
|
490
|
+
'name': string;
|
|
491
|
+
/**
|
|
492
|
+
*
|
|
493
|
+
* @type {Array<string>}
|
|
494
|
+
* @memberof Platform
|
|
495
|
+
*/
|
|
496
|
+
'domains': Array<string>;
|
|
497
|
+
/**
|
|
498
|
+
*
|
|
499
|
+
* @type {Array<PlatformLogo>}
|
|
500
|
+
* @memberof Platform
|
|
501
|
+
*/
|
|
502
|
+
'logos': Array<PlatformLogo>;
|
|
503
|
+
/**
|
|
504
|
+
*
|
|
505
|
+
* @type {string}
|
|
506
|
+
* @memberof Platform
|
|
507
|
+
*/
|
|
508
|
+
'favicon': string | null;
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
*
|
|
512
|
+
* @export
|
|
513
|
+
* @interface PlatformLogo
|
|
514
|
+
*/
|
|
515
|
+
export interface PlatformLogo {
|
|
516
|
+
/**
|
|
517
|
+
*
|
|
518
|
+
* @type {string}
|
|
519
|
+
* @memberof PlatformLogo
|
|
520
|
+
*/
|
|
521
|
+
'url': string;
|
|
522
|
+
/**
|
|
523
|
+
*
|
|
524
|
+
* @type {{ [key: string]: string; }}
|
|
525
|
+
* @memberof PlatformLogo
|
|
526
|
+
*/
|
|
527
|
+
'meta': { [key: string]: string; };
|
|
528
|
+
}
|
|
529
|
+
/**
|
|
530
|
+
* Standard price definition that defines the amount and currency.
|
|
531
|
+
* @export
|
|
532
|
+
* @interface Price
|
|
533
|
+
*/
|
|
534
|
+
export interface Price {
|
|
535
|
+
/**
|
|
536
|
+
* Price including tax in the specified currency.
|
|
537
|
+
* @type {string}
|
|
538
|
+
* @memberof Price
|
|
539
|
+
*/
|
|
540
|
+
'amount'?: string;
|
|
541
|
+
/**
|
|
542
|
+
* Currency code for the currency the price is valued in.
|
|
543
|
+
* @type {string}
|
|
544
|
+
* @memberof Price
|
|
545
|
+
*/
|
|
546
|
+
'currencyCode'?: string;
|
|
547
|
+
}
|
|
548
|
+
/**
|
|
549
|
+
*
|
|
550
|
+
* @export
|
|
551
|
+
* @interface ShippingMethod
|
|
552
|
+
*/
|
|
553
|
+
export interface ShippingMethod {
|
|
554
|
+
/**
|
|
555
|
+
* Unique object identifier
|
|
556
|
+
* @type {string}
|
|
557
|
+
* @memberof ShippingMethod
|
|
558
|
+
*/
|
|
559
|
+
'id'?: string;
|
|
560
|
+
/**
|
|
561
|
+
*
|
|
562
|
+
* @type {string}
|
|
563
|
+
* @memberof ShippingMethod
|
|
564
|
+
*/
|
|
565
|
+
'name'?: string;
|
|
566
|
+
/**
|
|
567
|
+
*
|
|
568
|
+
* @type {string}
|
|
569
|
+
* @memberof ShippingMethod
|
|
570
|
+
*/
|
|
571
|
+
'description'?: string;
|
|
572
|
+
/**
|
|
573
|
+
*
|
|
574
|
+
* @type {DeliveryEstimates}
|
|
575
|
+
* @memberof ShippingMethod
|
|
576
|
+
*/
|
|
577
|
+
'deliveryEstimates'?: DeliveryEstimates;
|
|
578
|
+
/**
|
|
579
|
+
*
|
|
580
|
+
* @type {Price}
|
|
581
|
+
* @memberof ShippingMethod
|
|
582
|
+
*/
|
|
583
|
+
'totalPrice'?: Price;
|
|
584
|
+
/**
|
|
585
|
+
*
|
|
586
|
+
* @type {Price}
|
|
587
|
+
* @memberof ShippingMethod
|
|
588
|
+
*/
|
|
589
|
+
'taxPrice'?: Price;
|
|
590
|
+
/**
|
|
591
|
+
*
|
|
592
|
+
* @type {Price}
|
|
593
|
+
* @memberof ShippingMethod
|
|
594
|
+
*/
|
|
595
|
+
'subtotalPrice'?: Price;
|
|
596
|
+
/**
|
|
597
|
+
*
|
|
598
|
+
* @type {Price}
|
|
599
|
+
* @memberof ShippingMethod
|
|
600
|
+
*/
|
|
601
|
+
'discountPrice'?: Price;
|
|
602
|
+
}
|
|
603
|
+
/**
|
|
604
|
+
*
|
|
605
|
+
* @export
|
|
606
|
+
* @interface StatusHistoryItem
|
|
607
|
+
*/
|
|
608
|
+
export interface StatusHistoryItem {
|
|
609
|
+
/**
|
|
610
|
+
*
|
|
611
|
+
* @type {OrderStatus}
|
|
612
|
+
* @memberof StatusHistoryItem
|
|
613
|
+
*/
|
|
614
|
+
'status'?: OrderStatus;
|
|
615
|
+
/**
|
|
616
|
+
* ISO 8601 Timestamp
|
|
617
|
+
* @type {string}
|
|
618
|
+
* @memberof StatusHistoryItem
|
|
619
|
+
*/
|
|
620
|
+
'createdAt'?: string;
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
*
|
|
626
|
+
* @export
|
|
627
|
+
* @interface UpdatePlatformRequest
|
|
628
|
+
*/
|
|
629
|
+
export interface UpdatePlatformRequest {
|
|
630
|
+
/**
|
|
631
|
+
*
|
|
632
|
+
* @type {Array<PlatformLogo>}
|
|
633
|
+
* @memberof UpdatePlatformRequest
|
|
634
|
+
*/
|
|
635
|
+
'logos'?: Array<PlatformLogo>;
|
|
636
|
+
/**
|
|
637
|
+
*
|
|
638
|
+
* @type {string}
|
|
639
|
+
* @memberof UpdatePlatformRequest
|
|
640
|
+
*/
|
|
641
|
+
'favicon'?: string;
|
|
642
|
+
}
|
|
643
|
+
/**
|
|
644
|
+
*
|
|
645
|
+
* @export
|
|
646
|
+
* @interface ValidationError
|
|
647
|
+
*/
|
|
648
|
+
export interface ValidationError {
|
|
649
|
+
/**
|
|
650
|
+
*
|
|
651
|
+
* @type {string}
|
|
652
|
+
* @memberof ValidationError
|
|
653
|
+
*/
|
|
654
|
+
'message': string;
|
|
655
|
+
/**
|
|
656
|
+
*
|
|
657
|
+
* @type {{ [key: string]: Array<string>; }}
|
|
658
|
+
* @memberof ValidationError
|
|
659
|
+
*/
|
|
660
|
+
'errors': { [key: string]: Array<string>; };
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
/**
|
|
664
|
+
* OrdersApi - axios parameter creator
|
|
665
|
+
* @export
|
|
666
|
+
*/
|
|
667
|
+
export const OrdersApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
668
|
+
return {
|
|
669
|
+
/**
|
|
670
|
+
* Export orders as a CSV file
|
|
671
|
+
* @summary Export orders
|
|
672
|
+
* @param {string} project Project unique identifier
|
|
673
|
+
* @param {string} platformId The platform identifier
|
|
674
|
+
* @param {string} start Start of date range to filter by when orders were placed
|
|
675
|
+
* @param {string} [end] End of date range to filter by when orders were placed
|
|
676
|
+
* @param {*} [options] Override http request option.
|
|
677
|
+
* @throws {RequiredError}
|
|
678
|
+
*/
|
|
679
|
+
exportOrders: async (project: string, platformId: string, start: string, end?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
680
|
+
// verify required parameter 'project' is not null or undefined
|
|
681
|
+
assertParamExists('exportOrders', 'project', project)
|
|
682
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
683
|
+
assertParamExists('exportOrders', 'platformId', platformId)
|
|
684
|
+
// verify required parameter 'start' is not null or undefined
|
|
685
|
+
assertParamExists('exportOrders', 'start', start)
|
|
686
|
+
const localVarPath = `/v1/platform/{platformId}/orders/export`
|
|
687
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
|
|
688
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
689
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
690
|
+
let baseOptions;
|
|
691
|
+
if (configuration) {
|
|
692
|
+
baseOptions = configuration.baseOptions;
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
696
|
+
const localVarHeaderParameter = {} as any;
|
|
697
|
+
const localVarQueryParameter = {} as any;
|
|
698
|
+
|
|
699
|
+
// authentication session-oauth required
|
|
700
|
+
// oauth required
|
|
701
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
702
|
+
|
|
703
|
+
// authentication api-key required
|
|
704
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
705
|
+
|
|
706
|
+
if (project !== undefined) {
|
|
707
|
+
localVarQueryParameter['project'] = project;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
if (start !== undefined) {
|
|
711
|
+
localVarQueryParameter['start'] = (start as any instanceof Date) ?
|
|
712
|
+
(start as any).toISOString() :
|
|
713
|
+
start;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
if (end !== undefined) {
|
|
717
|
+
localVarQueryParameter['end'] = (end as any instanceof Date) ?
|
|
718
|
+
(end as any).toISOString() :
|
|
719
|
+
end;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
725
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
726
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
727
|
+
|
|
728
|
+
return {
|
|
729
|
+
url: toPathString(localVarUrlObj),
|
|
730
|
+
options: localVarRequestOptions,
|
|
731
|
+
};
|
|
732
|
+
},
|
|
733
|
+
/**
|
|
734
|
+
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
735
|
+
* @summary List orders
|
|
736
|
+
* @param {string} project Project unique identifier
|
|
737
|
+
* @param {string} platformId The platform identifier
|
|
738
|
+
* @param {number} [pageToken] Page reference token
|
|
739
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
740
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
741
|
+
* @param {string} [start] Start of date range to filter by when orders were placed
|
|
742
|
+
* @param {string} [end] End of date range to filter by when orders were placed
|
|
743
|
+
* @param {*} [options] Override http request option.
|
|
744
|
+
* @throws {RequiredError}
|
|
745
|
+
*/
|
|
746
|
+
listOrders: async (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, start?: string, end?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
747
|
+
// verify required parameter 'project' is not null or undefined
|
|
748
|
+
assertParamExists('listOrders', 'project', project)
|
|
749
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
750
|
+
assertParamExists('listOrders', 'platformId', platformId)
|
|
751
|
+
const localVarPath = `/v1/platform/{platformId}/orders`
|
|
752
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
|
|
753
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
754
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
755
|
+
let baseOptions;
|
|
756
|
+
if (configuration) {
|
|
757
|
+
baseOptions = configuration.baseOptions;
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
761
|
+
const localVarHeaderParameter = {} as any;
|
|
762
|
+
const localVarQueryParameter = {} as any;
|
|
763
|
+
|
|
764
|
+
// authentication session-oauth required
|
|
765
|
+
// oauth required
|
|
766
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
767
|
+
|
|
768
|
+
// authentication api-key required
|
|
769
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
770
|
+
|
|
771
|
+
if (project !== undefined) {
|
|
772
|
+
localVarQueryParameter['project'] = project;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
if (pageToken !== undefined) {
|
|
776
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
if (pageSize !== undefined) {
|
|
780
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
if (search !== undefined) {
|
|
784
|
+
localVarQueryParameter['search'] = search;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
if (start !== undefined) {
|
|
788
|
+
localVarQueryParameter['start'] = (start as any instanceof Date) ?
|
|
789
|
+
(start as any).toISOString() :
|
|
790
|
+
start;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
if (end !== undefined) {
|
|
794
|
+
localVarQueryParameter['end'] = (end as any instanceof Date) ?
|
|
795
|
+
(end as any).toISOString() :
|
|
796
|
+
end;
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
802
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
803
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
804
|
+
|
|
805
|
+
return {
|
|
806
|
+
url: toPathString(localVarUrlObj),
|
|
807
|
+
options: localVarRequestOptions,
|
|
808
|
+
};
|
|
809
|
+
},
|
|
810
|
+
}
|
|
811
|
+
};
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* OrdersApi - functional programming interface
|
|
815
|
+
* @export
|
|
816
|
+
*/
|
|
817
|
+
export const OrdersApiFp = function(configuration?: Configuration) {
|
|
818
|
+
const localVarAxiosParamCreator = OrdersApiAxiosParamCreator(configuration)
|
|
819
|
+
return {
|
|
820
|
+
/**
|
|
821
|
+
* Export orders as a CSV file
|
|
822
|
+
* @summary Export orders
|
|
823
|
+
* @param {string} project Project unique identifier
|
|
824
|
+
* @param {string} platformId The platform identifier
|
|
825
|
+
* @param {string} start Start of date range to filter by when orders were placed
|
|
826
|
+
* @param {string} [end] End of date range to filter by when orders were placed
|
|
827
|
+
* @param {*} [options] Override http request option.
|
|
828
|
+
* @throws {RequiredError}
|
|
829
|
+
*/
|
|
830
|
+
async exportOrders(project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
831
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, platformId, start, end, options);
|
|
832
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
833
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.exportOrders']?.[localVarOperationServerIndex]?.url;
|
|
834
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
835
|
+
},
|
|
836
|
+
/**
|
|
837
|
+
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
838
|
+
* @summary List orders
|
|
839
|
+
* @param {string} project Project unique identifier
|
|
840
|
+
* @param {string} platformId The platform identifier
|
|
841
|
+
* @param {number} [pageToken] Page reference token
|
|
842
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
843
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
844
|
+
* @param {string} [start] Start of date range to filter by when orders were placed
|
|
845
|
+
* @param {string} [end] End of date range to filter by when orders were placed
|
|
846
|
+
* @param {*} [options] Override http request option.
|
|
847
|
+
* @throws {RequiredError}
|
|
848
|
+
*/
|
|
849
|
+
async listOrders(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrdersResponse>> {
|
|
850
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrders(project, platformId, pageToken, pageSize, search, start, end, options);
|
|
851
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
852
|
+
const localVarOperationServerBasePath = operationServerMap['OrdersApi.listOrders']?.[localVarOperationServerIndex]?.url;
|
|
853
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
854
|
+
},
|
|
855
|
+
}
|
|
856
|
+
};
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* OrdersApi - factory interface
|
|
860
|
+
* @export
|
|
861
|
+
*/
|
|
862
|
+
export const OrdersApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
863
|
+
const localVarFp = OrdersApiFp(configuration)
|
|
864
|
+
return {
|
|
865
|
+
/**
|
|
866
|
+
* Export orders as a CSV file
|
|
867
|
+
* @summary Export orders
|
|
868
|
+
* @param {OrdersApiExportOrdersRequest} requestParameters Request parameters.
|
|
869
|
+
* @param {*} [options] Override http request option.
|
|
870
|
+
* @throws {RequiredError}
|
|
871
|
+
*/
|
|
872
|
+
exportOrders(requestParameters: OrdersApiExportOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
873
|
+
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
874
|
+
},
|
|
875
|
+
/**
|
|
876
|
+
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
877
|
+
* @summary List orders
|
|
878
|
+
* @param {OrdersApiListOrdersRequest} requestParameters Request parameters.
|
|
879
|
+
* @param {*} [options] Override http request option.
|
|
880
|
+
* @throws {RequiredError}
|
|
881
|
+
*/
|
|
882
|
+
listOrders(requestParameters: OrdersApiListOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrdersResponse> {
|
|
883
|
+
return localVarFp.listOrders(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
884
|
+
},
|
|
885
|
+
};
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* Request parameters for exportOrders operation in OrdersApi.
|
|
890
|
+
* @export
|
|
891
|
+
* @interface OrdersApiExportOrdersRequest
|
|
892
|
+
*/
|
|
893
|
+
export interface OrdersApiExportOrdersRequest {
|
|
894
|
+
/**
|
|
895
|
+
* Project unique identifier
|
|
896
|
+
* @type {string}
|
|
897
|
+
* @memberof OrdersApiExportOrders
|
|
898
|
+
*/
|
|
899
|
+
readonly project: string
|
|
900
|
+
|
|
901
|
+
/**
|
|
902
|
+
* The platform identifier
|
|
903
|
+
* @type {string}
|
|
904
|
+
* @memberof OrdersApiExportOrders
|
|
905
|
+
*/
|
|
906
|
+
readonly platformId: string
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* Start of date range to filter by when orders were placed
|
|
910
|
+
* @type {string}
|
|
911
|
+
* @memberof OrdersApiExportOrders
|
|
912
|
+
*/
|
|
913
|
+
readonly start: string
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* End of date range to filter by when orders were placed
|
|
917
|
+
* @type {string}
|
|
918
|
+
* @memberof OrdersApiExportOrders
|
|
919
|
+
*/
|
|
920
|
+
readonly end?: string
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* Request parameters for listOrders operation in OrdersApi.
|
|
925
|
+
* @export
|
|
926
|
+
* @interface OrdersApiListOrdersRequest
|
|
927
|
+
*/
|
|
928
|
+
export interface OrdersApiListOrdersRequest {
|
|
929
|
+
/**
|
|
930
|
+
* Project unique identifier
|
|
931
|
+
* @type {string}
|
|
932
|
+
* @memberof OrdersApiListOrders
|
|
55
933
|
*/
|
|
56
|
-
|
|
934
|
+
readonly project: string
|
|
935
|
+
|
|
57
936
|
/**
|
|
58
|
-
*
|
|
937
|
+
* The platform identifier
|
|
59
938
|
* @type {string}
|
|
60
|
-
* @memberof
|
|
939
|
+
* @memberof OrdersApiListOrders
|
|
61
940
|
*/
|
|
62
|
-
|
|
941
|
+
readonly platformId: string
|
|
942
|
+
|
|
63
943
|
/**
|
|
64
|
-
*
|
|
65
|
-
* @type {
|
|
66
|
-
* @memberof
|
|
944
|
+
* Page reference token
|
|
945
|
+
* @type {number}
|
|
946
|
+
* @memberof OrdersApiListOrders
|
|
67
947
|
*/
|
|
68
|
-
|
|
948
|
+
readonly pageToken?: number
|
|
949
|
+
|
|
69
950
|
/**
|
|
70
|
-
*
|
|
71
|
-
* @type {
|
|
72
|
-
* @memberof
|
|
951
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
952
|
+
* @type {number}
|
|
953
|
+
* @memberof OrdersApiListOrders
|
|
73
954
|
*/
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
/**
|
|
77
|
-
*
|
|
78
|
-
* @export
|
|
79
|
-
* @interface PlatformLogo
|
|
80
|
-
*/
|
|
81
|
-
export interface PlatformLogo {
|
|
955
|
+
readonly pageSize?: number
|
|
956
|
+
|
|
82
957
|
/**
|
|
83
|
-
*
|
|
958
|
+
* Search term to filter based on order reference, customer name and email
|
|
84
959
|
* @type {string}
|
|
85
|
-
* @memberof
|
|
960
|
+
* @memberof OrdersApiListOrders
|
|
86
961
|
*/
|
|
87
|
-
|
|
962
|
+
readonly search?: string
|
|
963
|
+
|
|
88
964
|
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {
|
|
91
|
-
* @memberof
|
|
965
|
+
* Start of date range to filter by when orders were placed
|
|
966
|
+
* @type {string}
|
|
967
|
+
* @memberof OrdersApiListOrders
|
|
92
968
|
*/
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
/**
|
|
96
|
-
*
|
|
97
|
-
* @export
|
|
98
|
-
* @interface UpdatePlatformRequest
|
|
99
|
-
*/
|
|
100
|
-
export interface UpdatePlatformRequest {
|
|
969
|
+
readonly start?: string
|
|
970
|
+
|
|
101
971
|
/**
|
|
102
|
-
*
|
|
103
|
-
* @type {
|
|
104
|
-
* @memberof
|
|
972
|
+
* End of date range to filter by when orders were placed
|
|
973
|
+
* @type {string}
|
|
974
|
+
* @memberof OrdersApiListOrders
|
|
105
975
|
*/
|
|
106
|
-
|
|
976
|
+
readonly end?: string
|
|
107
977
|
}
|
|
978
|
+
|
|
108
979
|
/**
|
|
109
|
-
*
|
|
980
|
+
* OrdersApi - object-oriented interface
|
|
110
981
|
* @export
|
|
111
|
-
* @
|
|
982
|
+
* @class OrdersApi
|
|
983
|
+
* @extends {BaseAPI}
|
|
112
984
|
*/
|
|
113
|
-
export
|
|
985
|
+
export class OrdersApi extends BaseAPI {
|
|
114
986
|
/**
|
|
115
|
-
*
|
|
116
|
-
* @
|
|
117
|
-
* @
|
|
987
|
+
* Export orders as a CSV file
|
|
988
|
+
* @summary Export orders
|
|
989
|
+
* @param {OrdersApiExportOrdersRequest} requestParameters Request parameters.
|
|
990
|
+
* @param {*} [options] Override http request option.
|
|
991
|
+
* @throws {RequiredError}
|
|
992
|
+
* @memberof OrdersApi
|
|
118
993
|
*/
|
|
119
|
-
|
|
994
|
+
public exportOrders(requestParameters: OrdersApiExportOrdersRequest, options?: RawAxiosRequestConfig) {
|
|
995
|
+
return OrdersApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
996
|
+
}
|
|
997
|
+
|
|
120
998
|
/**
|
|
121
|
-
*
|
|
122
|
-
* @
|
|
123
|
-
* @
|
|
999
|
+
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
1000
|
+
* @summary List orders
|
|
1001
|
+
* @param {OrdersApiListOrdersRequest} requestParameters Request parameters.
|
|
1002
|
+
* @param {*} [options] Override http request option.
|
|
1003
|
+
* @throws {RequiredError}
|
|
1004
|
+
* @memberof OrdersApi
|
|
124
1005
|
*/
|
|
125
|
-
|
|
1006
|
+
public listOrders(requestParameters: OrdersApiListOrdersRequest, options?: RawAxiosRequestConfig) {
|
|
1007
|
+
return OrdersApiFp(this.configuration).listOrders(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
1008
|
+
}
|
|
126
1009
|
}
|
|
127
1010
|
|
|
1011
|
+
|
|
1012
|
+
|
|
128
1013
|
/**
|
|
129
1014
|
* PlatformApi - axios parameter creator
|
|
130
1015
|
* @export
|
|
131
1016
|
*/
|
|
132
1017
|
export const PlatformApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
133
1018
|
return {
|
|
1019
|
+
/**
|
|
1020
|
+
* Export orders as a CSV file
|
|
1021
|
+
* @summary Export orders
|
|
1022
|
+
* @param {string} project Project unique identifier
|
|
1023
|
+
* @param {string} platformId The platform identifier
|
|
1024
|
+
* @param {string} start Start of date range to filter by when orders were placed
|
|
1025
|
+
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1026
|
+
* @param {*} [options] Override http request option.
|
|
1027
|
+
* @throws {RequiredError}
|
|
1028
|
+
*/
|
|
1029
|
+
exportOrders: async (project: string, platformId: string, start: string, end?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1030
|
+
// verify required parameter 'project' is not null or undefined
|
|
1031
|
+
assertParamExists('exportOrders', 'project', project)
|
|
1032
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
1033
|
+
assertParamExists('exportOrders', 'platformId', platformId)
|
|
1034
|
+
// verify required parameter 'start' is not null or undefined
|
|
1035
|
+
assertParamExists('exportOrders', 'start', start)
|
|
1036
|
+
const localVarPath = `/v1/platform/{platformId}/orders/export`
|
|
1037
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
|
|
1038
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1039
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1040
|
+
let baseOptions;
|
|
1041
|
+
if (configuration) {
|
|
1042
|
+
baseOptions = configuration.baseOptions;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1046
|
+
const localVarHeaderParameter = {} as any;
|
|
1047
|
+
const localVarQueryParameter = {} as any;
|
|
1048
|
+
|
|
1049
|
+
// authentication session-oauth required
|
|
1050
|
+
// oauth required
|
|
1051
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1052
|
+
|
|
1053
|
+
// authentication api-key required
|
|
1054
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1055
|
+
|
|
1056
|
+
if (project !== undefined) {
|
|
1057
|
+
localVarQueryParameter['project'] = project;
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
if (start !== undefined) {
|
|
1061
|
+
localVarQueryParameter['start'] = (start as any instanceof Date) ?
|
|
1062
|
+
(start as any).toISOString() :
|
|
1063
|
+
start;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
if (end !== undefined) {
|
|
1067
|
+
localVarQueryParameter['end'] = (end as any instanceof Date) ?
|
|
1068
|
+
(end as any).toISOString() :
|
|
1069
|
+
end;
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
|
|
1073
|
+
|
|
1074
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1075
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1076
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1077
|
+
|
|
1078
|
+
return {
|
|
1079
|
+
url: toPathString(localVarUrlObj),
|
|
1080
|
+
options: localVarRequestOptions,
|
|
1081
|
+
};
|
|
1082
|
+
},
|
|
134
1083
|
/**
|
|
135
1084
|
*
|
|
136
1085
|
* @summary Get platform details
|
|
@@ -166,6 +1115,83 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
166
1115
|
|
|
167
1116
|
|
|
168
1117
|
|
|
1118
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1119
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1120
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1121
|
+
|
|
1122
|
+
return {
|
|
1123
|
+
url: toPathString(localVarUrlObj),
|
|
1124
|
+
options: localVarRequestOptions,
|
|
1125
|
+
};
|
|
1126
|
+
},
|
|
1127
|
+
/**
|
|
1128
|
+
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
1129
|
+
* @summary List orders
|
|
1130
|
+
* @param {string} project Project unique identifier
|
|
1131
|
+
* @param {string} platformId The platform identifier
|
|
1132
|
+
* @param {number} [pageToken] Page reference token
|
|
1133
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1134
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1135
|
+
* @param {string} [start] Start of date range to filter by when orders were placed
|
|
1136
|
+
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1137
|
+
* @param {*} [options] Override http request option.
|
|
1138
|
+
* @throws {RequiredError}
|
|
1139
|
+
*/
|
|
1140
|
+
listOrders: async (project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, start?: string, end?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1141
|
+
// verify required parameter 'project' is not null or undefined
|
|
1142
|
+
assertParamExists('listOrders', 'project', project)
|
|
1143
|
+
// verify required parameter 'platformId' is not null or undefined
|
|
1144
|
+
assertParamExists('listOrders', 'platformId', platformId)
|
|
1145
|
+
const localVarPath = `/v1/platform/{platformId}/orders`
|
|
1146
|
+
.replace(`{${"platformId"}}`, encodeURIComponent(String(platformId)));
|
|
1147
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1148
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1149
|
+
let baseOptions;
|
|
1150
|
+
if (configuration) {
|
|
1151
|
+
baseOptions = configuration.baseOptions;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
1155
|
+
const localVarHeaderParameter = {} as any;
|
|
1156
|
+
const localVarQueryParameter = {} as any;
|
|
1157
|
+
|
|
1158
|
+
// authentication session-oauth required
|
|
1159
|
+
// oauth required
|
|
1160
|
+
await setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration)
|
|
1161
|
+
|
|
1162
|
+
// authentication api-key required
|
|
1163
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
1164
|
+
|
|
1165
|
+
if (project !== undefined) {
|
|
1166
|
+
localVarQueryParameter['project'] = project;
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
if (pageToken !== undefined) {
|
|
1170
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
1171
|
+
}
|
|
1172
|
+
|
|
1173
|
+
if (pageSize !== undefined) {
|
|
1174
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
if (search !== undefined) {
|
|
1178
|
+
localVarQueryParameter['search'] = search;
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
if (start !== undefined) {
|
|
1182
|
+
localVarQueryParameter['start'] = (start as any instanceof Date) ?
|
|
1183
|
+
(start as any).toISOString() :
|
|
1184
|
+
start;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
if (end !== undefined) {
|
|
1188
|
+
localVarQueryParameter['end'] = (end as any instanceof Date) ?
|
|
1189
|
+
(end as any).toISOString() :
|
|
1190
|
+
end;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
|
|
1194
|
+
|
|
169
1195
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
170
1196
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
171
1197
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -235,6 +1261,22 @@ export const PlatformApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
235
1261
|
export const PlatformApiFp = function(configuration?: Configuration) {
|
|
236
1262
|
const localVarAxiosParamCreator = PlatformApiAxiosParamCreator(configuration)
|
|
237
1263
|
return {
|
|
1264
|
+
/**
|
|
1265
|
+
* Export orders as a CSV file
|
|
1266
|
+
* @summary Export orders
|
|
1267
|
+
* @param {string} project Project unique identifier
|
|
1268
|
+
* @param {string} platformId The platform identifier
|
|
1269
|
+
* @param {string} start Start of date range to filter by when orders were placed
|
|
1270
|
+
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1271
|
+
* @param {*} [options] Override http request option.
|
|
1272
|
+
* @throws {RequiredError}
|
|
1273
|
+
*/
|
|
1274
|
+
async exportOrders(project: string, platformId: string, start: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<File>> {
|
|
1275
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.exportOrders(project, platformId, start, end, options);
|
|
1276
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1277
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformApi.exportOrders']?.[localVarOperationServerIndex]?.url;
|
|
1278
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1279
|
+
},
|
|
238
1280
|
/**
|
|
239
1281
|
*
|
|
240
1282
|
* @summary Get platform details
|
|
@@ -248,6 +1290,25 @@ export const PlatformApiFp = function(configuration?: Configuration) {
|
|
|
248
1290
|
const localVarOperationServerBasePath = operationServerMap['PlatformApi.getPlatform']?.[localVarOperationServerIndex]?.url;
|
|
249
1291
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
250
1292
|
},
|
|
1293
|
+
/**
|
|
1294
|
+
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
1295
|
+
* @summary List orders
|
|
1296
|
+
* @param {string} project Project unique identifier
|
|
1297
|
+
* @param {string} platformId The platform identifier
|
|
1298
|
+
* @param {number} [pageToken] Page reference token
|
|
1299
|
+
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1300
|
+
* @param {string} [search] Search term to filter based on order reference, customer name and email
|
|
1301
|
+
* @param {string} [start] Start of date range to filter by when orders were placed
|
|
1302
|
+
* @param {string} [end] End of date range to filter by when orders were placed
|
|
1303
|
+
* @param {*} [options] Override http request option.
|
|
1304
|
+
* @throws {RequiredError}
|
|
1305
|
+
*/
|
|
1306
|
+
async listOrders(project: string, platformId: string, pageToken?: number, pageSize?: number, search?: string, start?: string, end?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrdersResponse>> {
|
|
1307
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listOrders(project, platformId, pageToken, pageSize, search, start, end, options);
|
|
1308
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1309
|
+
const localVarOperationServerBasePath = operationServerMap['PlatformApi.listOrders']?.[localVarOperationServerIndex]?.url;
|
|
1310
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1311
|
+
},
|
|
251
1312
|
/**
|
|
252
1313
|
*
|
|
253
1314
|
* @summary Update platform
|
|
@@ -272,6 +1333,16 @@ export const PlatformApiFp = function(configuration?: Configuration) {
|
|
|
272
1333
|
export const PlatformApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
273
1334
|
const localVarFp = PlatformApiFp(configuration)
|
|
274
1335
|
return {
|
|
1336
|
+
/**
|
|
1337
|
+
* Export orders as a CSV file
|
|
1338
|
+
* @summary Export orders
|
|
1339
|
+
* @param {PlatformApiExportOrdersRequest} requestParameters Request parameters.
|
|
1340
|
+
* @param {*} [options] Override http request option.
|
|
1341
|
+
* @throws {RequiredError}
|
|
1342
|
+
*/
|
|
1343
|
+
exportOrders(requestParameters: PlatformApiExportOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<File> {
|
|
1344
|
+
return localVarFp.exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
1345
|
+
},
|
|
275
1346
|
/**
|
|
276
1347
|
*
|
|
277
1348
|
* @summary Get platform details
|
|
@@ -282,6 +1353,16 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
|
|
|
282
1353
|
getPlatform(requestParameters: PlatformApiGetPlatformRequest, options?: RawAxiosRequestConfig): AxiosPromise<Platform> {
|
|
283
1354
|
return localVarFp.getPlatform(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
284
1355
|
},
|
|
1356
|
+
/**
|
|
1357
|
+
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
1358
|
+
* @summary List orders
|
|
1359
|
+
* @param {PlatformApiListOrdersRequest} requestParameters Request parameters.
|
|
1360
|
+
* @param {*} [options] Override http request option.
|
|
1361
|
+
* @throws {RequiredError}
|
|
1362
|
+
*/
|
|
1363
|
+
listOrders(requestParameters: PlatformApiListOrdersRequest, options?: RawAxiosRequestConfig): AxiosPromise<OrdersResponse> {
|
|
1364
|
+
return localVarFp.listOrders(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.start, requestParameters.end, options).then((request) => request(axios, basePath));
|
|
1365
|
+
},
|
|
285
1366
|
/**
|
|
286
1367
|
*
|
|
287
1368
|
* @summary Update platform
|
|
@@ -295,6 +1376,41 @@ export const PlatformApiFactory = function (configuration?: Configuration, baseP
|
|
|
295
1376
|
};
|
|
296
1377
|
};
|
|
297
1378
|
|
|
1379
|
+
/**
|
|
1380
|
+
* Request parameters for exportOrders operation in PlatformApi.
|
|
1381
|
+
* @export
|
|
1382
|
+
* @interface PlatformApiExportOrdersRequest
|
|
1383
|
+
*/
|
|
1384
|
+
export interface PlatformApiExportOrdersRequest {
|
|
1385
|
+
/**
|
|
1386
|
+
* Project unique identifier
|
|
1387
|
+
* @type {string}
|
|
1388
|
+
* @memberof PlatformApiExportOrders
|
|
1389
|
+
*/
|
|
1390
|
+
readonly project: string
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* The platform identifier
|
|
1394
|
+
* @type {string}
|
|
1395
|
+
* @memberof PlatformApiExportOrders
|
|
1396
|
+
*/
|
|
1397
|
+
readonly platformId: string
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* Start of date range to filter by when orders were placed
|
|
1401
|
+
* @type {string}
|
|
1402
|
+
* @memberof PlatformApiExportOrders
|
|
1403
|
+
*/
|
|
1404
|
+
readonly start: string
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* End of date range to filter by when orders were placed
|
|
1408
|
+
* @type {string}
|
|
1409
|
+
* @memberof PlatformApiExportOrders
|
|
1410
|
+
*/
|
|
1411
|
+
readonly end?: string
|
|
1412
|
+
}
|
|
1413
|
+
|
|
298
1414
|
/**
|
|
299
1415
|
* Request parameters for getPlatform operation in PlatformApi.
|
|
300
1416
|
* @export
|
|
@@ -309,6 +1425,62 @@ export interface PlatformApiGetPlatformRequest {
|
|
|
309
1425
|
readonly project: string
|
|
310
1426
|
}
|
|
311
1427
|
|
|
1428
|
+
/**
|
|
1429
|
+
* Request parameters for listOrders operation in PlatformApi.
|
|
1430
|
+
* @export
|
|
1431
|
+
* @interface PlatformApiListOrdersRequest
|
|
1432
|
+
*/
|
|
1433
|
+
export interface PlatformApiListOrdersRequest {
|
|
1434
|
+
/**
|
|
1435
|
+
* Project unique identifier
|
|
1436
|
+
* @type {string}
|
|
1437
|
+
* @memberof PlatformApiListOrders
|
|
1438
|
+
*/
|
|
1439
|
+
readonly project: string
|
|
1440
|
+
|
|
1441
|
+
/**
|
|
1442
|
+
* The platform identifier
|
|
1443
|
+
* @type {string}
|
|
1444
|
+
* @memberof PlatformApiListOrders
|
|
1445
|
+
*/
|
|
1446
|
+
readonly platformId: string
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
* Page reference token
|
|
1450
|
+
* @type {number}
|
|
1451
|
+
* @memberof PlatformApiListOrders
|
|
1452
|
+
*/
|
|
1453
|
+
readonly pageToken?: number
|
|
1454
|
+
|
|
1455
|
+
/**
|
|
1456
|
+
* Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1457
|
+
* @type {number}
|
|
1458
|
+
* @memberof PlatformApiListOrders
|
|
1459
|
+
*/
|
|
1460
|
+
readonly pageSize?: number
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* Search term to filter based on order reference, customer name and email
|
|
1464
|
+
* @type {string}
|
|
1465
|
+
* @memberof PlatformApiListOrders
|
|
1466
|
+
*/
|
|
1467
|
+
readonly search?: string
|
|
1468
|
+
|
|
1469
|
+
/**
|
|
1470
|
+
* Start of date range to filter by when orders were placed
|
|
1471
|
+
* @type {string}
|
|
1472
|
+
* @memberof PlatformApiListOrders
|
|
1473
|
+
*/
|
|
1474
|
+
readonly start?: string
|
|
1475
|
+
|
|
1476
|
+
/**
|
|
1477
|
+
* End of date range to filter by when orders were placed
|
|
1478
|
+
* @type {string}
|
|
1479
|
+
* @memberof PlatformApiListOrders
|
|
1480
|
+
*/
|
|
1481
|
+
readonly end?: string
|
|
1482
|
+
}
|
|
1483
|
+
|
|
312
1484
|
/**
|
|
313
1485
|
* Request parameters for updatePlatform operation in PlatformApi.
|
|
314
1486
|
* @export
|
|
@@ -337,6 +1509,18 @@ export interface PlatformApiUpdatePlatformRequest {
|
|
|
337
1509
|
* @extends {BaseAPI}
|
|
338
1510
|
*/
|
|
339
1511
|
export class PlatformApi extends BaseAPI {
|
|
1512
|
+
/**
|
|
1513
|
+
* Export orders as a CSV file
|
|
1514
|
+
* @summary Export orders
|
|
1515
|
+
* @param {PlatformApiExportOrdersRequest} requestParameters Request parameters.
|
|
1516
|
+
* @param {*} [options] Override http request option.
|
|
1517
|
+
* @throws {RequiredError}
|
|
1518
|
+
* @memberof PlatformApi
|
|
1519
|
+
*/
|
|
1520
|
+
public exportOrders(requestParameters: PlatformApiExportOrdersRequest, options?: RawAxiosRequestConfig) {
|
|
1521
|
+
return PlatformApiFp(this.configuration).exportOrders(requestParameters.project, requestParameters.platformId, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
1522
|
+
}
|
|
1523
|
+
|
|
340
1524
|
/**
|
|
341
1525
|
*
|
|
342
1526
|
* @summary Get platform details
|
|
@@ -349,6 +1533,18 @@ export class PlatformApi extends BaseAPI {
|
|
|
349
1533
|
return PlatformApiFp(this.configuration).getPlatform(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
350
1534
|
}
|
|
351
1535
|
|
|
1536
|
+
/**
|
|
1537
|
+
* Lists all orders placed on projects belonging to this platform, paginated into configurable chunks.
|
|
1538
|
+
* @summary List orders
|
|
1539
|
+
* @param {PlatformApiListOrdersRequest} requestParameters Request parameters.
|
|
1540
|
+
* @param {*} [options] Override http request option.
|
|
1541
|
+
* @throws {RequiredError}
|
|
1542
|
+
* @memberof PlatformApi
|
|
1543
|
+
*/
|
|
1544
|
+
public listOrders(requestParameters: PlatformApiListOrdersRequest, options?: RawAxiosRequestConfig) {
|
|
1545
|
+
return PlatformApiFp(this.configuration).listOrders(requestParameters.project, requestParameters.platformId, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
1546
|
+
}
|
|
1547
|
+
|
|
352
1548
|
/**
|
|
353
1549
|
*
|
|
354
1550
|
* @summary Update platform
|