@firfi/voila-sdk 0.1.1 → 0.1.3

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.
Files changed (32) hide show
  1. package/README.md +6 -3
  2. package/dist/src/domain/schemas/index.d.ts +2 -0
  3. package/dist/src/domain/schemas/index.d.ts.map +1 -1
  4. package/dist/src/domain/schemas/index.js +2 -0
  5. package/dist/src/domain/schemas/index.js.map +1 -1
  6. package/dist/src/domain/schemas/order-details.d.ts +2623 -0
  7. package/dist/src/domain/schemas/order-details.d.ts.map +1 -0
  8. package/dist/src/domain/schemas/order-details.js +148 -0
  9. package/dist/src/domain/schemas/order-details.js.map +1 -0
  10. package/dist/src/domain/schemas/order-history.d.ts +738 -0
  11. package/dist/src/domain/schemas/order-history.d.ts.map +1 -0
  12. package/dist/src/domain/schemas/order-history.js +113 -0
  13. package/dist/src/domain/schemas/order-history.js.map +1 -0
  14. package/dist/src/domain/schemas/slot.d.ts +4 -4
  15. package/dist/src/index.d.ts +3 -0
  16. package/dist/src/index.d.ts.map +1 -1
  17. package/dist/src/index.js +3 -0
  18. package/dist/src/index.js.map +1 -1
  19. package/dist/src/voila/browser-login-adapter.d.ts +12 -12
  20. package/dist/src/voila/order-details.d.ts +22 -0
  21. package/dist/src/voila/order-details.d.ts.map +1 -0
  22. package/dist/src/voila/order-details.js +267 -0
  23. package/dist/src/voila/order-details.js.map +1 -0
  24. package/dist/src/voila/order-history.d.ts +18 -0
  25. package/dist/src/voila/order-history.d.ts.map +1 -0
  26. package/dist/src/voila/order-history.js +102 -0
  27. package/dist/src/voila/order-history.js.map +1 -0
  28. package/dist/src/voila/order-urls.d.ts +23 -0
  29. package/dist/src/voila/order-urls.d.ts.map +1 -0
  30. package/dist/src/voila/order-urls.js +90 -0
  31. package/dist/src/voila/order-urls.js.map +1 -0
  32. package/package.json +1 -1
@@ -0,0 +1,738 @@
1
+ import { Schema } from "effect";
2
+ export declare const MIN_ORDER_PAGE_SIZE = 1;
3
+ export declare const MAX_ORDER_PAGE_SIZE = 50;
4
+ export declare const DEFAULT_ORDER_PAGE_SIZE = 20;
5
+ export declare const CompletedOrdersInputSchema: Schema.Struct<{
6
+ pageSize: Schema.optionalWith<Schema.filter<Schema.filter<Schema.filter<Schema.filter<typeof Schema.Number>>>>, {
7
+ default: () => number;
8
+ }>;
9
+ pageToken: Schema.optionalWith<Schema.filter<Schema.filter<typeof Schema.String>>, {
10
+ exact: true;
11
+ }>;
12
+ }>;
13
+ export type CompletedOrdersInput = Schema.Schema.Type<typeof CompletedOrdersInputSchema>;
14
+ export declare const RawCompletedOrdersGraphqlErrorSchema: Schema.Schema<{
15
+ readonly message: string;
16
+ } & {
17
+ readonly [x: string]: unknown;
18
+ }, {
19
+ readonly message: string;
20
+ } & {
21
+ readonly [x: string]: unknown;
22
+ }, never>;
23
+ export type RawCompletedOrdersGraphqlError = Schema.Schema.Type<typeof RawCompletedOrdersGraphqlErrorSchema>;
24
+ export declare const RawInternalCompletedOrderSlotSchema: Schema.Schema<{
25
+ readonly type: string;
26
+ readonly shippingGroupType?: string;
27
+ readonly __typename: "InternalOrderSlot";
28
+ readonly carrier?: ({
29
+ readonly carrierId: string;
30
+ } & {
31
+ readonly [x: string]: unknown;
32
+ }) | null;
33
+ readonly deliveryDestination: {
34
+ readonly name: string;
35
+ readonly deliveryMethod: string;
36
+ readonly address: {
37
+ readonly timeZone: string;
38
+ } & {
39
+ readonly [x: string]: unknown;
40
+ };
41
+ } & {
42
+ readonly [x: string]: unknown;
43
+ };
44
+ readonly end: string;
45
+ readonly externalLocker?: ({
46
+ readonly externalLockerId: string;
47
+ } & {
48
+ readonly [x: string]: unknown;
49
+ }) | null;
50
+ readonly start: string;
51
+ } & {
52
+ readonly [x: string]: unknown;
53
+ }, {
54
+ readonly type: string;
55
+ readonly __typename: "InternalOrderSlot";
56
+ readonly deliveryDestination: {
57
+ readonly name: string;
58
+ readonly deliveryMethod: string;
59
+ readonly address: {
60
+ readonly timeZone: string;
61
+ } & {
62
+ readonly [x: string]: unknown;
63
+ };
64
+ } & {
65
+ readonly [x: string]: unknown;
66
+ };
67
+ readonly end: string;
68
+ readonly start: string;
69
+ readonly shippingGroupType?: string;
70
+ readonly carrier?: ({
71
+ readonly carrierId: string;
72
+ } & {
73
+ readonly [x: string]: unknown;
74
+ }) | null;
75
+ readonly externalLocker?: ({
76
+ readonly externalLockerId: string;
77
+ } & {
78
+ readonly [x: string]: unknown;
79
+ }) | null;
80
+ } & {
81
+ readonly [x: string]: unknown;
82
+ }, never>;
83
+ export type RawInternalCompletedOrderSlot = Schema.Schema.Type<typeof RawInternalCompletedOrderSlotSchema>;
84
+ export declare const RawImportedCompletedOrderSlotSchema: Schema.Schema<{
85
+ readonly name: string;
86
+ readonly timeZone: string;
87
+ readonly __typename: "ImportedOrderSlot";
88
+ readonly end: string;
89
+ readonly start: string;
90
+ } & {
91
+ readonly [x: string]: unknown;
92
+ }, {
93
+ readonly name: string;
94
+ readonly timeZone: string;
95
+ readonly __typename: "ImportedOrderSlot";
96
+ readonly end: string;
97
+ readonly start: string;
98
+ } & {
99
+ readonly [x: string]: unknown;
100
+ }, never>;
101
+ export type RawImportedCompletedOrderSlot = Schema.Schema.Type<typeof RawImportedCompletedOrderSlotSchema>;
102
+ export declare const RawCompletedOrderSlotSchema: Schema.Union<[Schema.Schema<{
103
+ readonly type: string;
104
+ readonly shippingGroupType?: string;
105
+ readonly __typename: "InternalOrderSlot";
106
+ readonly carrier?: ({
107
+ readonly carrierId: string;
108
+ } & {
109
+ readonly [x: string]: unknown;
110
+ }) | null;
111
+ readonly deliveryDestination: {
112
+ readonly name: string;
113
+ readonly deliveryMethod: string;
114
+ readonly address: {
115
+ readonly timeZone: string;
116
+ } & {
117
+ readonly [x: string]: unknown;
118
+ };
119
+ } & {
120
+ readonly [x: string]: unknown;
121
+ };
122
+ readonly end: string;
123
+ readonly externalLocker?: ({
124
+ readonly externalLockerId: string;
125
+ } & {
126
+ readonly [x: string]: unknown;
127
+ }) | null;
128
+ readonly start: string;
129
+ } & {
130
+ readonly [x: string]: unknown;
131
+ }, {
132
+ readonly type: string;
133
+ readonly __typename: "InternalOrderSlot";
134
+ readonly deliveryDestination: {
135
+ readonly name: string;
136
+ readonly deliveryMethod: string;
137
+ readonly address: {
138
+ readonly timeZone: string;
139
+ } & {
140
+ readonly [x: string]: unknown;
141
+ };
142
+ } & {
143
+ readonly [x: string]: unknown;
144
+ };
145
+ readonly end: string;
146
+ readonly start: string;
147
+ readonly shippingGroupType?: string;
148
+ readonly carrier?: ({
149
+ readonly carrierId: string;
150
+ } & {
151
+ readonly [x: string]: unknown;
152
+ }) | null;
153
+ readonly externalLocker?: ({
154
+ readonly externalLockerId: string;
155
+ } & {
156
+ readonly [x: string]: unknown;
157
+ }) | null;
158
+ } & {
159
+ readonly [x: string]: unknown;
160
+ }, never>, Schema.Schema<{
161
+ readonly name: string;
162
+ readonly timeZone: string;
163
+ readonly __typename: "ImportedOrderSlot";
164
+ readonly end: string;
165
+ readonly start: string;
166
+ } & {
167
+ readonly [x: string]: unknown;
168
+ }, {
169
+ readonly name: string;
170
+ readonly timeZone: string;
171
+ readonly __typename: "ImportedOrderSlot";
172
+ readonly end: string;
173
+ readonly start: string;
174
+ } & {
175
+ readonly [x: string]: unknown;
176
+ }, never>]>;
177
+ export type RawCompletedOrderSlot = Schema.Schema.Type<typeof RawCompletedOrderSlotSchema>;
178
+ export declare const RawCompletedOrderNodeSchema: Schema.Schema<{
179
+ readonly status: string;
180
+ readonly orderId: string;
181
+ readonly prices: {
182
+ readonly total: {
183
+ readonly amount: string;
184
+ readonly currency: string;
185
+ };
186
+ } & {
187
+ readonly [x: string]: unknown;
188
+ };
189
+ readonly recurringOrderDefinition?: ({
190
+ readonly name: string;
191
+ } & {
192
+ readonly [x: string]: unknown;
193
+ }) | null;
194
+ readonly region: {
195
+ readonly regionId: string;
196
+ readonly retailerRegionId: string;
197
+ } & {
198
+ readonly [x: string]: unknown;
199
+ };
200
+ readonly slot: ({
201
+ readonly type: string;
202
+ readonly shippingGroupType?: string;
203
+ readonly __typename: "InternalOrderSlot";
204
+ readonly carrier?: ({
205
+ readonly carrierId: string;
206
+ } & {
207
+ readonly [x: string]: unknown;
208
+ }) | null;
209
+ readonly deliveryDestination: {
210
+ readonly name: string;
211
+ readonly deliveryMethod: string;
212
+ readonly address: {
213
+ readonly timeZone: string;
214
+ } & {
215
+ readonly [x: string]: unknown;
216
+ };
217
+ } & {
218
+ readonly [x: string]: unknown;
219
+ };
220
+ readonly end: string;
221
+ readonly externalLocker?: ({
222
+ readonly externalLockerId: string;
223
+ } & {
224
+ readonly [x: string]: unknown;
225
+ }) | null;
226
+ readonly start: string;
227
+ } & {
228
+ readonly [x: string]: unknown;
229
+ }) | ({
230
+ readonly name: string;
231
+ readonly timeZone: string;
232
+ readonly __typename: "ImportedOrderSlot";
233
+ readonly end: string;
234
+ readonly start: string;
235
+ } & {
236
+ readonly [x: string]: unknown;
237
+ });
238
+ } & {
239
+ readonly [x: string]: unknown;
240
+ }, {
241
+ readonly status: string;
242
+ readonly orderId: string;
243
+ readonly prices: {
244
+ readonly total: {
245
+ readonly amount: string;
246
+ readonly currency: string;
247
+ };
248
+ } & {
249
+ readonly [x: string]: unknown;
250
+ };
251
+ readonly region: {
252
+ readonly regionId: string;
253
+ readonly retailerRegionId: string;
254
+ } & {
255
+ readonly [x: string]: unknown;
256
+ };
257
+ readonly slot: ({
258
+ readonly type: string;
259
+ readonly __typename: "InternalOrderSlot";
260
+ readonly deliveryDestination: {
261
+ readonly name: string;
262
+ readonly deliveryMethod: string;
263
+ readonly address: {
264
+ readonly timeZone: string;
265
+ } & {
266
+ readonly [x: string]: unknown;
267
+ };
268
+ } & {
269
+ readonly [x: string]: unknown;
270
+ };
271
+ readonly end: string;
272
+ readonly start: string;
273
+ readonly shippingGroupType?: string;
274
+ readonly carrier?: ({
275
+ readonly carrierId: string;
276
+ } & {
277
+ readonly [x: string]: unknown;
278
+ }) | null;
279
+ readonly externalLocker?: ({
280
+ readonly externalLockerId: string;
281
+ } & {
282
+ readonly [x: string]: unknown;
283
+ }) | null;
284
+ } & {
285
+ readonly [x: string]: unknown;
286
+ }) | ({
287
+ readonly name: string;
288
+ readonly timeZone: string;
289
+ readonly __typename: "ImportedOrderSlot";
290
+ readonly end: string;
291
+ readonly start: string;
292
+ } & {
293
+ readonly [x: string]: unknown;
294
+ });
295
+ readonly recurringOrderDefinition?: ({
296
+ readonly name: string;
297
+ } & {
298
+ readonly [x: string]: unknown;
299
+ }) | null;
300
+ } & {
301
+ readonly [x: string]: unknown;
302
+ }, never>;
303
+ export type RawCompletedOrderNode = Schema.Schema.Type<typeof RawCompletedOrderNodeSchema>;
304
+ declare const RawCompletedOrdersConnectionSchema: Schema.Schema<{
305
+ readonly edges: readonly (({
306
+ readonly node: ({
307
+ readonly status: string;
308
+ readonly orderId: string;
309
+ readonly prices: {
310
+ readonly total: {
311
+ readonly amount: string;
312
+ readonly currency: string;
313
+ };
314
+ } & {
315
+ readonly [x: string]: unknown;
316
+ };
317
+ readonly recurringOrderDefinition?: ({
318
+ readonly name: string;
319
+ } & {
320
+ readonly [x: string]: unknown;
321
+ }) | null;
322
+ readonly region: {
323
+ readonly regionId: string;
324
+ readonly retailerRegionId: string;
325
+ } & {
326
+ readonly [x: string]: unknown;
327
+ };
328
+ readonly slot: ({
329
+ readonly type: string;
330
+ readonly shippingGroupType?: string;
331
+ readonly __typename: "InternalOrderSlot";
332
+ readonly carrier?: ({
333
+ readonly carrierId: string;
334
+ } & {
335
+ readonly [x: string]: unknown;
336
+ }) | null;
337
+ readonly deliveryDestination: {
338
+ readonly name: string;
339
+ readonly deliveryMethod: string;
340
+ readonly address: {
341
+ readonly timeZone: string;
342
+ } & {
343
+ readonly [x: string]: unknown;
344
+ };
345
+ } & {
346
+ readonly [x: string]: unknown;
347
+ };
348
+ readonly end: string;
349
+ readonly externalLocker?: ({
350
+ readonly externalLockerId: string;
351
+ } & {
352
+ readonly [x: string]: unknown;
353
+ }) | null;
354
+ readonly start: string;
355
+ } & {
356
+ readonly [x: string]: unknown;
357
+ }) | ({
358
+ readonly name: string;
359
+ readonly timeZone: string;
360
+ readonly __typename: "ImportedOrderSlot";
361
+ readonly end: string;
362
+ readonly start: string;
363
+ } & {
364
+ readonly [x: string]: unknown;
365
+ });
366
+ } & {
367
+ readonly [x: string]: unknown;
368
+ }) | null;
369
+ } & {
370
+ readonly [x: string]: unknown;
371
+ }) | null)[];
372
+ readonly pageInfo: {
373
+ readonly endCursor: string | null;
374
+ readonly hasNextPage: boolean;
375
+ } & {
376
+ readonly [x: string]: unknown;
377
+ };
378
+ readonly retentionPeriod?: string;
379
+ } & {
380
+ readonly [x: string]: unknown;
381
+ }, {
382
+ readonly edges: readonly (({
383
+ readonly node: ({
384
+ readonly status: string;
385
+ readonly orderId: string;
386
+ readonly prices: {
387
+ readonly total: {
388
+ readonly amount: string;
389
+ readonly currency: string;
390
+ };
391
+ } & {
392
+ readonly [x: string]: unknown;
393
+ };
394
+ readonly region: {
395
+ readonly regionId: string;
396
+ readonly retailerRegionId: string;
397
+ } & {
398
+ readonly [x: string]: unknown;
399
+ };
400
+ readonly slot: ({
401
+ readonly type: string;
402
+ readonly __typename: "InternalOrderSlot";
403
+ readonly deliveryDestination: {
404
+ readonly name: string;
405
+ readonly deliveryMethod: string;
406
+ readonly address: {
407
+ readonly timeZone: string;
408
+ } & {
409
+ readonly [x: string]: unknown;
410
+ };
411
+ } & {
412
+ readonly [x: string]: unknown;
413
+ };
414
+ readonly end: string;
415
+ readonly start: string;
416
+ readonly shippingGroupType?: string;
417
+ readonly carrier?: ({
418
+ readonly carrierId: string;
419
+ } & {
420
+ readonly [x: string]: unknown;
421
+ }) | null;
422
+ readonly externalLocker?: ({
423
+ readonly externalLockerId: string;
424
+ } & {
425
+ readonly [x: string]: unknown;
426
+ }) | null;
427
+ } & {
428
+ readonly [x: string]: unknown;
429
+ }) | ({
430
+ readonly name: string;
431
+ readonly timeZone: string;
432
+ readonly __typename: "ImportedOrderSlot";
433
+ readonly end: string;
434
+ readonly start: string;
435
+ } & {
436
+ readonly [x: string]: unknown;
437
+ });
438
+ readonly recurringOrderDefinition?: ({
439
+ readonly name: string;
440
+ } & {
441
+ readonly [x: string]: unknown;
442
+ }) | null;
443
+ } & {
444
+ readonly [x: string]: unknown;
445
+ }) | null;
446
+ } & {
447
+ readonly [x: string]: unknown;
448
+ }) | null)[];
449
+ readonly pageInfo: {
450
+ readonly endCursor: string | null;
451
+ readonly hasNextPage: boolean;
452
+ } & {
453
+ readonly [x: string]: unknown;
454
+ };
455
+ readonly retentionPeriod?: string;
456
+ } & {
457
+ readonly [x: string]: unknown;
458
+ }, never>;
459
+ export type RawCompletedOrdersConnection = Schema.Schema.Type<typeof RawCompletedOrdersConnectionSchema>;
460
+ export declare const RawCompletedOrdersGraphqlResponseSchema: Schema.Schema<{
461
+ readonly data?: ({
462
+ readonly completedOrders: ({
463
+ readonly edges: readonly (({
464
+ readonly node: ({
465
+ readonly status: string;
466
+ readonly orderId: string;
467
+ readonly prices: {
468
+ readonly total: {
469
+ readonly amount: string;
470
+ readonly currency: string;
471
+ };
472
+ } & {
473
+ readonly [x: string]: unknown;
474
+ };
475
+ readonly recurringOrderDefinition?: ({
476
+ readonly name: string;
477
+ } & {
478
+ readonly [x: string]: unknown;
479
+ }) | null;
480
+ readonly region: {
481
+ readonly regionId: string;
482
+ readonly retailerRegionId: string;
483
+ } & {
484
+ readonly [x: string]: unknown;
485
+ };
486
+ readonly slot: ({
487
+ readonly type: string;
488
+ readonly shippingGroupType?: string;
489
+ readonly __typename: "InternalOrderSlot";
490
+ readonly carrier?: ({
491
+ readonly carrierId: string;
492
+ } & {
493
+ readonly [x: string]: unknown;
494
+ }) | null;
495
+ readonly deliveryDestination: {
496
+ readonly name: string;
497
+ readonly deliveryMethod: string;
498
+ readonly address: {
499
+ readonly timeZone: string;
500
+ } & {
501
+ readonly [x: string]: unknown;
502
+ };
503
+ } & {
504
+ readonly [x: string]: unknown;
505
+ };
506
+ readonly end: string;
507
+ readonly externalLocker?: ({
508
+ readonly externalLockerId: string;
509
+ } & {
510
+ readonly [x: string]: unknown;
511
+ }) | null;
512
+ readonly start: string;
513
+ } & {
514
+ readonly [x: string]: unknown;
515
+ }) | ({
516
+ readonly name: string;
517
+ readonly timeZone: string;
518
+ readonly __typename: "ImportedOrderSlot";
519
+ readonly end: string;
520
+ readonly start: string;
521
+ } & {
522
+ readonly [x: string]: unknown;
523
+ });
524
+ } & {
525
+ readonly [x: string]: unknown;
526
+ }) | null;
527
+ } & {
528
+ readonly [x: string]: unknown;
529
+ }) | null)[];
530
+ readonly pageInfo: {
531
+ readonly endCursor: string | null;
532
+ readonly hasNextPage: boolean;
533
+ } & {
534
+ readonly [x: string]: unknown;
535
+ };
536
+ readonly retentionPeriod?: string;
537
+ } & {
538
+ readonly [x: string]: unknown;
539
+ }) | null;
540
+ } & {
541
+ readonly [x: string]: unknown;
542
+ }) | null;
543
+ readonly errors?: readonly ({
544
+ readonly message: string;
545
+ } & {
546
+ readonly [x: string]: unknown;
547
+ })[];
548
+ } & {
549
+ readonly [x: string]: unknown;
550
+ }, {
551
+ readonly data?: ({
552
+ readonly completedOrders: ({
553
+ readonly edges: readonly (({
554
+ readonly node: ({
555
+ readonly status: string;
556
+ readonly orderId: string;
557
+ readonly prices: {
558
+ readonly total: {
559
+ readonly amount: string;
560
+ readonly currency: string;
561
+ };
562
+ } & {
563
+ readonly [x: string]: unknown;
564
+ };
565
+ readonly region: {
566
+ readonly regionId: string;
567
+ readonly retailerRegionId: string;
568
+ } & {
569
+ readonly [x: string]: unknown;
570
+ };
571
+ readonly slot: ({
572
+ readonly type: string;
573
+ readonly __typename: "InternalOrderSlot";
574
+ readonly deliveryDestination: {
575
+ readonly name: string;
576
+ readonly deliveryMethod: string;
577
+ readonly address: {
578
+ readonly timeZone: string;
579
+ } & {
580
+ readonly [x: string]: unknown;
581
+ };
582
+ } & {
583
+ readonly [x: string]: unknown;
584
+ };
585
+ readonly end: string;
586
+ readonly start: string;
587
+ readonly shippingGroupType?: string;
588
+ readonly carrier?: ({
589
+ readonly carrierId: string;
590
+ } & {
591
+ readonly [x: string]: unknown;
592
+ }) | null;
593
+ readonly externalLocker?: ({
594
+ readonly externalLockerId: string;
595
+ } & {
596
+ readonly [x: string]: unknown;
597
+ }) | null;
598
+ } & {
599
+ readonly [x: string]: unknown;
600
+ }) | ({
601
+ readonly name: string;
602
+ readonly timeZone: string;
603
+ readonly __typename: "ImportedOrderSlot";
604
+ readonly end: string;
605
+ readonly start: string;
606
+ } & {
607
+ readonly [x: string]: unknown;
608
+ });
609
+ readonly recurringOrderDefinition?: ({
610
+ readonly name: string;
611
+ } & {
612
+ readonly [x: string]: unknown;
613
+ }) | null;
614
+ } & {
615
+ readonly [x: string]: unknown;
616
+ }) | null;
617
+ } & {
618
+ readonly [x: string]: unknown;
619
+ }) | null)[];
620
+ readonly pageInfo: {
621
+ readonly endCursor: string | null;
622
+ readonly hasNextPage: boolean;
623
+ } & {
624
+ readonly [x: string]: unknown;
625
+ };
626
+ readonly retentionPeriod?: string;
627
+ } & {
628
+ readonly [x: string]: unknown;
629
+ }) | null;
630
+ } & {
631
+ readonly [x: string]: unknown;
632
+ }) | null;
633
+ readonly errors?: readonly ({
634
+ readonly message: string;
635
+ } & {
636
+ readonly [x: string]: unknown;
637
+ })[];
638
+ } & {
639
+ readonly [x: string]: unknown;
640
+ }, never>;
641
+ export type RawCompletedOrdersGraphqlResponse = Schema.Schema.Type<typeof RawCompletedOrdersGraphqlResponseSchema>;
642
+ export declare const CompletedOrdersPaginationSchema: Schema.Struct<{
643
+ hasNextPage: typeof Schema.Boolean;
644
+ nextPageToken: Schema.optionalWith<typeof Schema.String, {
645
+ exact: true;
646
+ }>;
647
+ retentionPeriod: Schema.optionalWith<typeof Schema.String, {
648
+ exact: true;
649
+ }>;
650
+ }>;
651
+ export type CompletedOrdersPagination = Schema.Schema.Type<typeof CompletedOrdersPaginationSchema>;
652
+ export declare const NormalizedCompletedOrderSchema: Schema.Struct<{
653
+ addressNickName: typeof Schema.String;
654
+ carrierId: Schema.optionalWith<typeof Schema.String, {
655
+ exact: true;
656
+ }>;
657
+ dates: Schema.Struct<{
658
+ deliveryEndDate: typeof Schema.String;
659
+ deliveryStartDate: typeof Schema.String;
660
+ timeZoneId: typeof Schema.String;
661
+ }>;
662
+ deliveryMethod: typeof Schema.String;
663
+ externalAddress: Schema.optionalWith<Schema.Struct<{
664
+ externalCollectionPointId: typeof Schema.String;
665
+ }>, {
666
+ exact: true;
667
+ }>;
668
+ orderId: typeof Schema.String;
669
+ orderTotals: Schema.Struct<{
670
+ totalPrice: Schema.Struct<{
671
+ amount: typeof Schema.String;
672
+ currency: typeof Schema.String;
673
+ }>;
674
+ }>;
675
+ recurringShoppingDefinition: Schema.optionalWith<Schema.Struct<{
676
+ name: typeof Schema.String;
677
+ }>, {
678
+ exact: true;
679
+ }>;
680
+ regionId: typeof Schema.String;
681
+ retailerRegionId: typeof Schema.String;
682
+ shippingGroupType: Schema.optionalWith<typeof Schema.String, {
683
+ exact: true;
684
+ }>;
685
+ slotType: typeof Schema.String;
686
+ status: typeof Schema.String;
687
+ }>;
688
+ export type NormalizedCompletedOrder = Schema.Schema.Type<typeof NormalizedCompletedOrderSchema>;
689
+ export declare const NormalizedCompletedOrdersResultSchema: Schema.Struct<{
690
+ orders: Schema.Array$<Schema.Struct<{
691
+ addressNickName: typeof Schema.String;
692
+ carrierId: Schema.optionalWith<typeof Schema.String, {
693
+ exact: true;
694
+ }>;
695
+ dates: Schema.Struct<{
696
+ deliveryEndDate: typeof Schema.String;
697
+ deliveryStartDate: typeof Schema.String;
698
+ timeZoneId: typeof Schema.String;
699
+ }>;
700
+ deliveryMethod: typeof Schema.String;
701
+ externalAddress: Schema.optionalWith<Schema.Struct<{
702
+ externalCollectionPointId: typeof Schema.String;
703
+ }>, {
704
+ exact: true;
705
+ }>;
706
+ orderId: typeof Schema.String;
707
+ orderTotals: Schema.Struct<{
708
+ totalPrice: Schema.Struct<{
709
+ amount: typeof Schema.String;
710
+ currency: typeof Schema.String;
711
+ }>;
712
+ }>;
713
+ recurringShoppingDefinition: Schema.optionalWith<Schema.Struct<{
714
+ name: typeof Schema.String;
715
+ }>, {
716
+ exact: true;
717
+ }>;
718
+ regionId: typeof Schema.String;
719
+ retailerRegionId: typeof Schema.String;
720
+ shippingGroupType: Schema.optionalWith<typeof Schema.String, {
721
+ exact: true;
722
+ }>;
723
+ slotType: typeof Schema.String;
724
+ status: typeof Schema.String;
725
+ }>>;
726
+ pagination: Schema.Struct<{
727
+ hasNextPage: typeof Schema.Boolean;
728
+ nextPageToken: Schema.optionalWith<typeof Schema.String, {
729
+ exact: true;
730
+ }>;
731
+ retentionPeriod: Schema.optionalWith<typeof Schema.String, {
732
+ exact: true;
733
+ }>;
734
+ }>;
735
+ }>;
736
+ export type NormalizedCompletedOrdersResult = Schema.Schema.Type<typeof NormalizedCompletedOrdersResultSchema>;
737
+ export {};
738
+ //# sourceMappingURL=order-history.d.ts.map