@teemill/orders 0.3.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/dist/api.d.ts ADDED
@@ -0,0 +1,750 @@
1
+ /**
2
+ * Orders API
3
+ * Manage Teemill Orders For full documentation on functionality and account settings go to [teemill.com](https://teemill.com)
4
+ *
5
+ * The version of the OpenAPI document: 0.3.0
6
+ * Contact: hello@teemill.com
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 { Configuration } from './configuration';
13
+ import type { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
14
+ import type { RequestArgs } from './base';
15
+ import { BaseAPI } from './base';
16
+ /**
17
+ * A person\'s address.
18
+ * @export
19
+ * @interface Address
20
+ */
21
+ export interface Address {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof Address
26
+ */
27
+ 'contactName': string;
28
+ /**
29
+ *
30
+ * @type {string}
31
+ * @memberof Address
32
+ */
33
+ 'company'?: string;
34
+ /**
35
+ * First line of the address.
36
+ * @type {string}
37
+ * @memberof Address
38
+ */
39
+ 'line1': string;
40
+ /**
41
+ * Second line of the address.
42
+ * @type {string}
43
+ * @memberof Address
44
+ */
45
+ 'line2'?: string;
46
+ /**
47
+ * City of the address.
48
+ * @type {string}
49
+ * @memberof Address
50
+ */
51
+ 'city': string;
52
+ /**
53
+ * Postal code of the address.
54
+ * @type {string}
55
+ * @memberof Address
56
+ */
57
+ 'postalCode'?: string;
58
+ /**
59
+ * Country of the address (ISO 3166-1 alpha-2).
60
+ * @type {string}
61
+ * @memberof Address
62
+ */
63
+ 'country': string;
64
+ /**
65
+ * State of the address.
66
+ * @type {string}
67
+ * @memberof Address
68
+ */
69
+ 'state'?: string;
70
+ }
71
+ /**
72
+ *
73
+ * @export
74
+ * @interface ConfirmOrderRequest
75
+ */
76
+ export interface ConfirmOrderRequest {
77
+ /**
78
+ *
79
+ * @type {Array<ConfirmOrderRequestFulfillmentsInner>}
80
+ * @memberof ConfirmOrderRequest
81
+ */
82
+ 'fulfillments': Array<ConfirmOrderRequestFulfillmentsInner>;
83
+ }
84
+ /**
85
+ *
86
+ * @export
87
+ * @interface ConfirmOrderRequestFulfillmentsInner
88
+ */
89
+ export interface ConfirmOrderRequestFulfillmentsInner {
90
+ /**
91
+ * Unique object identifier
92
+ * @type {string}
93
+ * @memberof ConfirmOrderRequestFulfillmentsInner
94
+ */
95
+ 'fulfillmentId': string;
96
+ /**
97
+ * Unique object identifier
98
+ * @type {string}
99
+ * @memberof ConfirmOrderRequestFulfillmentsInner
100
+ */
101
+ 'shippingMethodId': string;
102
+ }
103
+ /**
104
+ *
105
+ * @export
106
+ * @interface Fulfillment
107
+ */
108
+ export interface Fulfillment {
109
+ /**
110
+ * Unique object identifier
111
+ * @type {string}
112
+ * @memberof Fulfillment
113
+ */
114
+ 'id'?: string;
115
+ /**
116
+ *
117
+ * @type {Status}
118
+ * @memberof Fulfillment
119
+ */
120
+ 'status'?: Status;
121
+ /**
122
+ *
123
+ * @type {Array<FulfillmentItemsInner>}
124
+ * @memberof Fulfillment
125
+ */
126
+ 'items'?: Array<FulfillmentItemsInner>;
127
+ /**
128
+ *
129
+ * @type {Tracking}
130
+ * @memberof Fulfillment
131
+ */
132
+ 'tracking'?: Tracking | null;
133
+ /**
134
+ * Shipping method currently set
135
+ * @type {ShippingMethod}
136
+ * @memberof Fulfillment
137
+ */
138
+ 'shippingMethod'?: ShippingMethod;
139
+ /**
140
+ *
141
+ * @type {Array<ShippingMethod>}
142
+ * @memberof Fulfillment
143
+ */
144
+ 'availableShippingMethods'?: Array<ShippingMethod>;
145
+ /**
146
+ * Weight of the package being shipped in grams
147
+ * @type {number}
148
+ * @memberof Fulfillment
149
+ */
150
+ 'packageWeight'?: number;
151
+ }
152
+ /**
153
+ *
154
+ * @export
155
+ * @interface FulfillmentItemsInner
156
+ */
157
+ export interface FulfillmentItemsInner {
158
+ /**
159
+ * Unique object identifier
160
+ * @type {string}
161
+ * @memberof FulfillmentItemsInner
162
+ */
163
+ 'id'?: string;
164
+ /**
165
+ * Unique object identifier
166
+ * @type {string}
167
+ * @memberof FulfillmentItemsInner
168
+ */
169
+ 'itemId'?: string;
170
+ /**
171
+ * Number of this item being fulfilled
172
+ * @type {number}
173
+ * @memberof FulfillmentItemsInner
174
+ */
175
+ 'quantity'?: number;
176
+ }
177
+ /**
178
+ *
179
+ * @export
180
+ * @interface ModelError
181
+ */
182
+ export interface ModelError {
183
+ /**
184
+ *
185
+ * @type {string}
186
+ * @memberof ModelError
187
+ */
188
+ 'code'?: string;
189
+ /**
190
+ *
191
+ * @type {string}
192
+ * @memberof ModelError
193
+ */
194
+ 'message': string;
195
+ }
196
+ /**
197
+ *
198
+ * @export
199
+ * @interface Order
200
+ */
201
+ export interface Order {
202
+ /**
203
+ * Unique object identifier
204
+ * @type {string}
205
+ * @memberof Order
206
+ */
207
+ 'id'?: string;
208
+ /**
209
+ * A reference to the resource location
210
+ * @type {string}
211
+ * @memberof Order
212
+ */
213
+ 'ref'?: string;
214
+ /**
215
+ *
216
+ * @type {Status}
217
+ * @memberof Order
218
+ */
219
+ 'status'?: Status;
220
+ /**
221
+ *
222
+ * @type {OrderContactInformation}
223
+ * @memberof Order
224
+ */
225
+ 'contactInformation': OrderContactInformation;
226
+ /**
227
+ * Order recipient\'s address
228
+ * @type {Address}
229
+ * @memberof Order
230
+ */
231
+ 'shippingAddress': Address;
232
+ /**
233
+ * ISO 8601 Timestamp
234
+ * @type {string}
235
+ * @memberof Order
236
+ */
237
+ 'createdAt'?: string;
238
+ /**
239
+ * ISO 8601 Timestamp
240
+ * @type {string}
241
+ * @memberof Order
242
+ */
243
+ 'updatedAt'?: string;
244
+ /**
245
+ * A custom reference to the merchant\'s order that will be displayed on the shipping label.
246
+ * @type {string}
247
+ * @memberof Order
248
+ */
249
+ 'merchantReference'?: string | null;
250
+ /**
251
+ *
252
+ * @type {Array<Fulfillment>}
253
+ * @memberof Order
254
+ */
255
+ 'fulfillments'?: Array<Fulfillment>;
256
+ /**
257
+ *
258
+ * @type {Array<OrderItem>}
259
+ * @memberof Order
260
+ */
261
+ 'items': Array<OrderItem>;
262
+ /**
263
+ *
264
+ * @type {Price}
265
+ * @memberof Order
266
+ */
267
+ 'totalPrice'?: Price;
268
+ /**
269
+ *
270
+ * @type {Price}
271
+ * @memberof Order
272
+ */
273
+ 'taxPrice'?: Price;
274
+ /**
275
+ *
276
+ * @type {Price}
277
+ * @memberof Order
278
+ */
279
+ 'subtotalPrice'?: Price;
280
+ /**
281
+ *
282
+ * @type {Price}
283
+ * @memberof Order
284
+ */
285
+ 'discountPrice'?: Price;
286
+ /**
287
+ *
288
+ * @type {Price}
289
+ * @memberof Order
290
+ */
291
+ 'shippingPrice'?: Price;
292
+ /**
293
+ *
294
+ * @type {OrderOrigin}
295
+ * @memberof Order
296
+ */
297
+ 'origin'?: OrderOrigin;
298
+ }
299
+ /**
300
+ * Order recipient contact information, used only for courier tracking/updates.
301
+ * @export
302
+ * @interface OrderContactInformation
303
+ */
304
+ export interface OrderContactInformation {
305
+ /**
306
+ *
307
+ * @type {string}
308
+ * @memberof OrderContactInformation
309
+ */
310
+ 'email': string;
311
+ /**
312
+ *
313
+ * @type {string}
314
+ * @memberof OrderContactInformation
315
+ */
316
+ 'phone'?: string | null;
317
+ }
318
+ /**
319
+ *
320
+ * @export
321
+ * @interface OrderItem
322
+ */
323
+ export interface OrderItem {
324
+ /**
325
+ * Unique object identifier
326
+ * @type {string}
327
+ * @memberof OrderItem
328
+ */
329
+ 'id'?: string;
330
+ /**
331
+ * A reference to the resource location
332
+ * @type {string}
333
+ * @memberof OrderItem
334
+ */
335
+ 'variantRef': string;
336
+ /**
337
+ *
338
+ * @type {number}
339
+ * @memberof OrderItem
340
+ */
341
+ 'quantity': number;
342
+ /**
343
+ *
344
+ * @type {OrderItemTotalPrice}
345
+ * @memberof OrderItem
346
+ */
347
+ 'totalPrice'?: OrderItemTotalPrice;
348
+ /**
349
+ *
350
+ * @type {OrderItemTaxPrice}
351
+ * @memberof OrderItem
352
+ */
353
+ 'taxPrice'?: OrderItemTaxPrice;
354
+ /**
355
+ *
356
+ * @type {OrderItemTotalPrice}
357
+ * @memberof OrderItem
358
+ */
359
+ 'subtotalPrice'?: OrderItemTotalPrice;
360
+ /**
361
+ *
362
+ * @type {OrderItemTotalPrice}
363
+ * @memberof OrderItem
364
+ */
365
+ 'discountPrice'?: OrderItemTotalPrice;
366
+ /**
367
+ *
368
+ * @type {Price}
369
+ * @memberof OrderItem
370
+ */
371
+ 'recipientCost'?: Price;
372
+ }
373
+ /**
374
+ * This is an estimate until the order has been confirmed
375
+ * @export
376
+ * @interface OrderItemTaxPrice
377
+ */
378
+ export interface OrderItemTaxPrice {
379
+ /**
380
+ * Price including tax in the specified currency.
381
+ * @type {string}
382
+ * @memberof OrderItemTaxPrice
383
+ */
384
+ 'amount'?: string;
385
+ /**
386
+ * Currency code for the currency the price is valued in.
387
+ * @type {string}
388
+ * @memberof OrderItemTaxPrice
389
+ */
390
+ 'currencyCode'?: string;
391
+ }
392
+ /**
393
+ *
394
+ * @export
395
+ * @interface OrderItemTotalPrice
396
+ */
397
+ export interface OrderItemTotalPrice {
398
+ /**
399
+ * Price including tax in the specified currency.
400
+ * @type {string}
401
+ * @memberof OrderItemTotalPrice
402
+ */
403
+ 'amount'?: string;
404
+ /**
405
+ * Currency code for the currency the price is valued in.
406
+ * @type {string}
407
+ * @memberof OrderItemTotalPrice
408
+ */
409
+ 'currencyCode'?: string;
410
+ }
411
+ /**
412
+ *
413
+ * @export
414
+ * @interface OrderOrigin
415
+ */
416
+ export interface OrderOrigin {
417
+ /**
418
+ *
419
+ * @type {string}
420
+ * @memberof OrderOrigin
421
+ */
422
+ 'code'?: string;
423
+ /**
424
+ *
425
+ * @type {boolean}
426
+ * @memberof OrderOrigin
427
+ */
428
+ 'isPaid'?: boolean;
429
+ }
430
+ /**
431
+ * Standard price definition that defines the amount and currency.
432
+ * @export
433
+ * @interface Price
434
+ */
435
+ export interface Price {
436
+ /**
437
+ * Price including tax in the specified currency.
438
+ * @type {string}
439
+ * @memberof Price
440
+ */
441
+ 'amount'?: string;
442
+ /**
443
+ * Currency code for the currency the price is valued in.
444
+ * @type {string}
445
+ * @memberof Price
446
+ */
447
+ 'currencyCode'?: string;
448
+ }
449
+ /**
450
+ *
451
+ * @export
452
+ * @interface ShippingMethod
453
+ */
454
+ export interface ShippingMethod {
455
+ /**
456
+ * Unique object identifier
457
+ * @type {string}
458
+ * @memberof ShippingMethod
459
+ */
460
+ 'id'?: string;
461
+ /**
462
+ *
463
+ * @type {string}
464
+ * @memberof ShippingMethod
465
+ */
466
+ 'name'?: string;
467
+ /**
468
+ *
469
+ * @type {string}
470
+ * @memberof ShippingMethod
471
+ */
472
+ 'description'?: string;
473
+ /**
474
+ *
475
+ * @type {ShippingMethodDeliveryEstimates}
476
+ * @memberof ShippingMethod
477
+ */
478
+ 'deliveryEstimates'?: ShippingMethodDeliveryEstimates;
479
+ /**
480
+ *
481
+ * @type {Price}
482
+ * @memberof ShippingMethod
483
+ */
484
+ 'totalPrice'?: Price;
485
+ /**
486
+ *
487
+ * @type {Price}
488
+ * @memberof ShippingMethod
489
+ */
490
+ 'taxPrice'?: Price;
491
+ /**
492
+ *
493
+ * @type {Price}
494
+ * @memberof ShippingMethod
495
+ */
496
+ 'subtotalPrice'?: Price;
497
+ /**
498
+ *
499
+ * @type {Price}
500
+ * @memberof ShippingMethod
501
+ */
502
+ 'discountPrice'?: Price;
503
+ }
504
+ /**
505
+ *
506
+ * @export
507
+ * @interface ShippingMethodDeliveryEstimates
508
+ */
509
+ export interface ShippingMethodDeliveryEstimates {
510
+ /**
511
+ * ISO 8601 Timestamp
512
+ * @type {string}
513
+ * @memberof ShippingMethodDeliveryEstimates
514
+ */
515
+ 'min'?: string;
516
+ /**
517
+ * ISO 8601 Timestamp
518
+ * @type {string}
519
+ * @memberof ShippingMethodDeliveryEstimates
520
+ */
521
+ 'max'?: string;
522
+ }
523
+ /**
524
+ *
525
+ * @export
526
+ * @enum {string}
527
+ */
528
+ export declare const Status: {
529
+ readonly New: "new";
530
+ readonly Paid: "paid";
531
+ readonly Processing: "processing";
532
+ readonly Complete: "complete";
533
+ readonly Refunded: "refunded";
534
+ };
535
+ export type Status = typeof Status[keyof typeof Status];
536
+ /**
537
+ *
538
+ * @export
539
+ * @interface Tracking
540
+ */
541
+ export interface Tracking {
542
+ /**
543
+ *
544
+ * @type {string}
545
+ * @memberof Tracking
546
+ */
547
+ 'courier'?: string;
548
+ /**
549
+ *
550
+ * @type {string}
551
+ * @memberof Tracking
552
+ */
553
+ 'code'?: string;
554
+ /**
555
+ *
556
+ * @type {string}
557
+ * @memberof Tracking
558
+ */
559
+ 'url'?: string;
560
+ }
561
+ /**
562
+ * OrdersApi - axios parameter creator
563
+ * @export
564
+ */
565
+ export declare const OrdersApiAxiosParamCreator: (configuration?: Configuration) => {
566
+ /**
567
+ * Confirms and order, and submits it as ready to take payment and begin processing.
568
+ * @summary Confirm order
569
+ * @param {any} project What project it is
570
+ * @param {string} orderId Unique identifier of an order
571
+ * @param {ConfirmOrderRequest} confirmOrderRequest ConfirmFulfillment schema
572
+ * @param {*} [options] Override http request option.
573
+ * @throws {RequiredError}
574
+ */
575
+ confirmOrder: (project: any, orderId: string, confirmOrderRequest: ConfirmOrderRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
576
+ /**
577
+ * Creates a new order for the provided variants.
578
+ * @summary Create order
579
+ * @param {any} project What project it is
580
+ * @param {Order} order Order schema
581
+ * @param {*} [options] Override http request option.
582
+ * @throws {RequiredError}
583
+ */
584
+ createOrder: (project: any, order: Order, options?: AxiosRequestConfig) => Promise<RequestArgs>;
585
+ /**
586
+ * Get an order
587
+ * @summary Get order
588
+ * @param {any} project What project it is
589
+ * @param {string} orderId Unique identifier of an order
590
+ * @param {*} [options] Override http request option.
591
+ * @throws {RequiredError}
592
+ */
593
+ getOrder: (project: any, orderId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
594
+ /**
595
+ * Lists all orders available paginated into chunks
596
+ * @summary List orders
597
+ * @param {any} [pageToken] Page reference token
598
+ * @param {any} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
599
+ * @param {any} [start] Start of date range to filter by when orders were placed
600
+ * @param {any} [end] End of date range to filter by when orders were placed
601
+ * @param {any} [search] Search term to filter based on order reference, customer name and email
602
+ * @param {*} [options] Override http request option.
603
+ * @throws {RequiredError}
604
+ */
605
+ getOrders: (pageToken?: any, pageSize?: any, start?: any, end?: any, search?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
606
+ };
607
+ /**
608
+ * OrdersApi - functional programming interface
609
+ * @export
610
+ */
611
+ export declare const OrdersApiFp: (configuration?: Configuration) => {
612
+ /**
613
+ * Confirms and order, and submits it as ready to take payment and begin processing.
614
+ * @summary Confirm order
615
+ * @param {any} project What project it is
616
+ * @param {string} orderId Unique identifier of an order
617
+ * @param {ConfirmOrderRequest} confirmOrderRequest ConfirmFulfillment schema
618
+ * @param {*} [options] Override http request option.
619
+ * @throws {RequiredError}
620
+ */
621
+ confirmOrder(project: any, orderId: string, confirmOrderRequest: ConfirmOrderRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
622
+ /**
623
+ * Creates a new order for the provided variants.
624
+ * @summary Create order
625
+ * @param {any} project What project it is
626
+ * @param {Order} order Order schema
627
+ * @param {*} [options] Override http request option.
628
+ * @throws {RequiredError}
629
+ */
630
+ createOrder(project: any, order: Order, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
631
+ /**
632
+ * Get an order
633
+ * @summary Get order
634
+ * @param {any} project What project it is
635
+ * @param {string} orderId Unique identifier of an order
636
+ * @param {*} [options] Override http request option.
637
+ * @throws {RequiredError}
638
+ */
639
+ getOrder(project: any, orderId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
640
+ /**
641
+ * Lists all orders available paginated into chunks
642
+ * @summary List orders
643
+ * @param {any} [pageToken] Page reference token
644
+ * @param {any} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
645
+ * @param {any} [start] Start of date range to filter by when orders were placed
646
+ * @param {any} [end] End of date range to filter by when orders were placed
647
+ * @param {any} [search] Search term to filter based on order reference, customer name and email
648
+ * @param {*} [options] Override http request option.
649
+ * @throws {RequiredError}
650
+ */
651
+ getOrders(pageToken?: any, pageSize?: any, start?: any, end?: any, search?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
652
+ };
653
+ /**
654
+ * OrdersApi - factory interface
655
+ * @export
656
+ */
657
+ export declare const OrdersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
658
+ /**
659
+ * Confirms and order, and submits it as ready to take payment and begin processing.
660
+ * @summary Confirm order
661
+ * @param {any} project What project it is
662
+ * @param {string} orderId Unique identifier of an order
663
+ * @param {ConfirmOrderRequest} confirmOrderRequest ConfirmFulfillment schema
664
+ * @param {*} [options] Override http request option.
665
+ * @throws {RequiredError}
666
+ */
667
+ confirmOrder(project: any, orderId: string, confirmOrderRequest: ConfirmOrderRequest, options?: any): AxiosPromise<void>;
668
+ /**
669
+ * Creates a new order for the provided variants.
670
+ * @summary Create order
671
+ * @param {any} project What project it is
672
+ * @param {Order} order Order schema
673
+ * @param {*} [options] Override http request option.
674
+ * @throws {RequiredError}
675
+ */
676
+ createOrder(project: any, order: Order, options?: any): AxiosPromise<void>;
677
+ /**
678
+ * Get an order
679
+ * @summary Get order
680
+ * @param {any} project What project it is
681
+ * @param {string} orderId Unique identifier of an order
682
+ * @param {*} [options] Override http request option.
683
+ * @throws {RequiredError}
684
+ */
685
+ getOrder(project: any, orderId: string, options?: any): AxiosPromise<void>;
686
+ /**
687
+ * Lists all orders available paginated into chunks
688
+ * @summary List orders
689
+ * @param {any} [pageToken] Page reference token
690
+ * @param {any} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
691
+ * @param {any} [start] Start of date range to filter by when orders were placed
692
+ * @param {any} [end] End of date range to filter by when orders were placed
693
+ * @param {any} [search] Search term to filter based on order reference, customer name and email
694
+ * @param {*} [options] Override http request option.
695
+ * @throws {RequiredError}
696
+ */
697
+ getOrders(pageToken?: any, pageSize?: any, start?: any, end?: any, search?: any, options?: any): AxiosPromise<void>;
698
+ };
699
+ /**
700
+ * OrdersApi - object-oriented interface
701
+ * @export
702
+ * @class OrdersApi
703
+ * @extends {BaseAPI}
704
+ */
705
+ export declare class OrdersApi extends BaseAPI {
706
+ /**
707
+ * Confirms and order, and submits it as ready to take payment and begin processing.
708
+ * @summary Confirm order
709
+ * @param {any} project What project it is
710
+ * @param {string} orderId Unique identifier of an order
711
+ * @param {ConfirmOrderRequest} confirmOrderRequest ConfirmFulfillment schema
712
+ * @param {*} [options] Override http request option.
713
+ * @throws {RequiredError}
714
+ * @memberof OrdersApi
715
+ */
716
+ confirmOrder(project: any, orderId: string, confirmOrderRequest: ConfirmOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
717
+ /**
718
+ * Creates a new order for the provided variants.
719
+ * @summary Create order
720
+ * @param {any} project What project it is
721
+ * @param {Order} order Order schema
722
+ * @param {*} [options] Override http request option.
723
+ * @throws {RequiredError}
724
+ * @memberof OrdersApi
725
+ */
726
+ createOrder(project: any, order: Order, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
727
+ /**
728
+ * Get an order
729
+ * @summary Get order
730
+ * @param {any} project What project it is
731
+ * @param {string} orderId Unique identifier of an order
732
+ * @param {*} [options] Override http request option.
733
+ * @throws {RequiredError}
734
+ * @memberof OrdersApi
735
+ */
736
+ getOrder(project: any, orderId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
737
+ /**
738
+ * Lists all orders available paginated into chunks
739
+ * @summary List orders
740
+ * @param {any} [pageToken] Page reference token
741
+ * @param {any} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
742
+ * @param {any} [start] Start of date range to filter by when orders were placed
743
+ * @param {any} [end] End of date range to filter by when orders were placed
744
+ * @param {any} [search] Search term to filter based on order reference, customer name and email
745
+ * @param {*} [options] Override http request option.
746
+ * @throws {RequiredError}
747
+ * @memberof OrdersApi
748
+ */
749
+ getOrders(pageToken?: any, pageSize?: any, start?: any, end?: any, search?: any, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
750
+ }