@ecomiq/core 0.1.7 → 0.1.9
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/{client-4ZTG2RZ3.d.ts → client-Ba1r_uiO.d.ts} +4 -4
- package/dist/{client-BpX4yR6S.d.cts → client-Cqcnv2tC.d.cts} +4 -4
- package/dist/client.cjs +94 -89
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +94 -89
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +96 -101
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +65 -55
- package/dist/index.d.ts +65 -55
- package/dist/index.js +95 -100
- package/dist/index.js.map +1 -1
- package/dist/models/collections.cjs +7 -1
- package/dist/models/collections.cjs.map +1 -1
- package/dist/models/collections.d.cts +6 -6
- package/dist/models/collections.d.ts +6 -6
- package/dist/models/collections.js +7 -1
- package/dist/models/collections.js.map +1 -1
- package/dist/models/customer-address.cjs +7 -1
- package/dist/models/customer-address.cjs.map +1 -1
- package/dist/models/customer-address.d.cts +4 -4
- package/dist/models/customer-address.d.ts +4 -4
- package/dist/models/customer-address.js +7 -1
- package/dist/models/customer-address.js.map +1 -1
- package/dist/models/customer-order.cjs +14 -8
- package/dist/models/customer-order.cjs.map +1 -1
- package/dist/models/customer-order.d.cts +1 -5
- package/dist/models/customer-order.d.ts +1 -5
- package/dist/models/customer-order.js +14 -8
- package/dist/models/customer-order.js.map +1 -1
- package/dist/models/customer-profile.cjs +8 -2
- package/dist/models/customer-profile.cjs.map +1 -1
- package/dist/models/customer-profile.d.cts +3 -3
- package/dist/models/customer-profile.d.ts +3 -3
- package/dist/models/customer-profile.js +8 -2
- package/dist/models/customer-profile.js.map +1 -1
- package/dist/models/geo.cjs +2 -4
- package/dist/models/geo.cjs.map +1 -1
- package/dist/models/geo.d.cts +14 -14
- package/dist/models/geo.d.ts +14 -14
- package/dist/models/geo.js +2 -4
- package/dist/models/geo.js.map +1 -1
- package/dist/models/ids.cjs +3 -4
- package/dist/models/ids.cjs.map +1 -1
- package/dist/models/ids.d.cts +8 -8
- package/dist/models/ids.d.ts +8 -8
- package/dist/models/ids.js +3 -5
- package/dist/models/ids.js.map +1 -1
- package/dist/models/products.cjs +12 -19
- package/dist/models/products.cjs.map +1 -1
- package/dist/models/products.d.cts +32 -33
- package/dist/models/products.d.ts +32 -33
- package/dist/models/products.js +13 -19
- package/dist/models/products.js.map +1 -1
- package/dist/models/search.cjs +3 -180
- package/dist/models/search.cjs.map +1 -1
- package/dist/models/search.d.cts +5 -5
- package/dist/models/search.d.ts +5 -5
- package/dist/models/search.js +3 -180
- package/dist/models/search.js.map +1 -1
- package/dist/models/settings.cjs +2 -4
- package/dist/models/settings.cjs.map +1 -1
- package/dist/models/settings.d.cts +63 -63
- package/dist/models/settings.d.ts +63 -63
- package/dist/models/settings.js +2 -4
- package/dist/models/settings.js.map +1 -1
- package/dist/models/storefront-cart.cjs +14 -26
- package/dist/models/storefront-cart.cjs.map +1 -1
- package/dist/models/storefront-cart.d.cts +100 -98
- package/dist/models/storefront-cart.d.ts +100 -98
- package/dist/models/storefront-cart.js +15 -26
- package/dist/models/storefront-cart.js.map +1 -1
- package/dist/models/storefront-checkout.cjs +44 -34
- package/dist/models/storefront-checkout.cjs.map +1 -1
- package/dist/models/storefront-checkout.d.cts +660 -2278
- package/dist/models/storefront-checkout.d.ts +660 -2278
- package/dist/models/storefront-checkout.js +44 -35
- package/dist/models/storefront-checkout.js.map +1 -1
- package/dist/models/storefront-reviews.cjs +8 -187
- package/dist/models/storefront-reviews.cjs.map +1 -1
- package/dist/models/storefront-reviews.d.cts +17 -17
- package/dist/models/storefront-reviews.d.ts +17 -17
- package/dist/models/storefront-reviews.js +8 -187
- package/dist/models/storefront-reviews.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
|
|
3
|
+
type CheckoutMetadataValue = string | number | boolean | null | CheckoutMetadataValue[] | {
|
|
4
|
+
[key: string]: CheckoutMetadataValue;
|
|
5
|
+
};
|
|
6
|
+
declare const CheckoutMetadataValueSchema: z.ZodType<CheckoutMetadataValue>;
|
|
3
7
|
declare const CartBuyerParamsSchema: z.ZodObject<{
|
|
4
|
-
|
|
8
|
+
cartToken: z.ZodString;
|
|
5
9
|
email: z.ZodString;
|
|
6
10
|
firstName: z.ZodString;
|
|
7
11
|
lastName: z.ZodString;
|
|
@@ -11,13 +15,13 @@ declare const CartBuyerParamsSchema: z.ZodObject<{
|
|
|
11
15
|
email: string;
|
|
12
16
|
firstName: string;
|
|
13
17
|
lastName: string;
|
|
14
|
-
|
|
18
|
+
cartToken: string;
|
|
15
19
|
}, {
|
|
16
20
|
phone: string;
|
|
17
21
|
email: string;
|
|
18
22
|
firstName: string;
|
|
19
23
|
lastName: string;
|
|
20
|
-
|
|
24
|
+
cartToken: string;
|
|
21
25
|
}>;
|
|
22
26
|
type CartBuyerParams = z.input<typeof CartBuyerParamsSchema>;
|
|
23
27
|
declare const CartAddressWriteSchema: z.ZodObject<{
|
|
@@ -85,7 +89,7 @@ declare const CartAddressWriteSchema: z.ZodObject<{
|
|
|
85
89
|
}>;
|
|
86
90
|
type CartAddressWrite = z.input<typeof CartAddressWriteSchema>;
|
|
87
91
|
declare const CartAddressesParamsSchema: z.ZodObject<{
|
|
88
|
-
|
|
92
|
+
cartToken: z.ZodString;
|
|
89
93
|
shippingAddress: z.ZodObject<{
|
|
90
94
|
name: z.ZodString;
|
|
91
95
|
address1: z.ZodString;
|
|
@@ -251,7 +255,7 @@ declare const CartAddressesParamsSchema: z.ZodObject<{
|
|
|
251
255
|
districtCode?: string | null | undefined;
|
|
252
256
|
} | null | undefined;
|
|
253
257
|
};
|
|
254
|
-
|
|
258
|
+
cartToken: string;
|
|
255
259
|
}, {
|
|
256
260
|
shippingAddress: {
|
|
257
261
|
name: string;
|
|
@@ -291,7 +295,7 @@ declare const CartAddressesParamsSchema: z.ZodObject<{
|
|
|
291
295
|
districtCode?: string | null | undefined;
|
|
292
296
|
} | null | undefined;
|
|
293
297
|
};
|
|
294
|
-
|
|
298
|
+
cartToken: string;
|
|
295
299
|
}>;
|
|
296
300
|
type CartAddressesParams = z.input<typeof CartAddressesParamsSchema>;
|
|
297
301
|
declare const CartPaymentMethodSchema: z.ZodObject<{
|
|
@@ -337,8 +341,8 @@ declare const CartPaymentMethodSchema: z.ZodObject<{
|
|
|
337
341
|
type CartPaymentMethod = z.infer<typeof CartPaymentMethodSchema>;
|
|
338
342
|
declare const StorefrontOrderBumpSchema: z.ZodObject<{
|
|
339
343
|
id: z.ZodString;
|
|
340
|
-
|
|
341
|
-
|
|
344
|
+
productId: z.ZodString;
|
|
345
|
+
variantId: z.ZodString;
|
|
342
346
|
productName: z.ZodString;
|
|
343
347
|
variantName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
344
348
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -350,10 +354,10 @@ declare const StorefrontOrderBumpSchema: z.ZodObject<{
|
|
|
350
354
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
351
355
|
}, "strip", z.ZodTypeAny, {
|
|
352
356
|
id: string;
|
|
357
|
+
productId: string;
|
|
358
|
+
variantId: string;
|
|
353
359
|
productName: string;
|
|
354
360
|
currencyCode: string;
|
|
355
|
-
productPublicId: string;
|
|
356
|
-
variantPublicId: string;
|
|
357
361
|
regularPrice: number;
|
|
358
362
|
offerPrice: number;
|
|
359
363
|
callToAction: string;
|
|
@@ -363,10 +367,10 @@ declare const StorefrontOrderBumpSchema: z.ZodObject<{
|
|
|
363
367
|
badgeLabel?: string | null | undefined;
|
|
364
368
|
}, {
|
|
365
369
|
id: string;
|
|
370
|
+
productId: string;
|
|
371
|
+
variantId: string;
|
|
366
372
|
productName: string;
|
|
367
373
|
currencyCode: string;
|
|
368
|
-
productPublicId: string;
|
|
369
|
-
variantPublicId: string;
|
|
370
374
|
regularPrice: number;
|
|
371
375
|
offerPrice: number;
|
|
372
376
|
callToAction: string;
|
|
@@ -377,16 +381,17 @@ declare const StorefrontOrderBumpSchema: z.ZodObject<{
|
|
|
377
381
|
}>;
|
|
378
382
|
type StorefrontOrderBump = z.infer<typeof StorefrontOrderBumpSchema>;
|
|
379
383
|
declare const CartCheckoutReadParamsSchema: z.ZodObject<{
|
|
380
|
-
|
|
384
|
+
cartToken: z.ZodString;
|
|
381
385
|
}, "strip", z.ZodTypeAny, {
|
|
382
|
-
|
|
386
|
+
cartToken: string;
|
|
383
387
|
}, {
|
|
384
|
-
|
|
388
|
+
cartToken: string;
|
|
385
389
|
}>;
|
|
386
390
|
type CartCheckoutReadParams = z.input<typeof CartCheckoutReadParamsSchema>;
|
|
387
391
|
declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
388
392
|
cart: z.ZodObject<{
|
|
389
|
-
id: z.
|
|
393
|
+
id: z.ZodString;
|
|
394
|
+
token: z.ZodString;
|
|
390
395
|
cartNumber: z.ZodString;
|
|
391
396
|
email: z.ZodNullable<z.ZodString>;
|
|
392
397
|
phone: z.ZodNullable<z.ZodString>;
|
|
@@ -477,20 +482,20 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
477
482
|
}>>;
|
|
478
483
|
promotionCodes: z.ZodArray<z.ZodString, "many">;
|
|
479
484
|
items: z.ZodArray<z.ZodObject<{
|
|
480
|
-
id: z.
|
|
481
|
-
productId: z.
|
|
485
|
+
id: z.ZodString;
|
|
486
|
+
productId: z.ZodNullable<z.ZodString>;
|
|
482
487
|
title: z.ZodString;
|
|
483
488
|
variantLabel: z.ZodNullable<z.ZodString>;
|
|
484
489
|
productHandle: z.ZodNullable<z.ZodString>;
|
|
485
490
|
thumbnail: z.ZodNullable<z.ZodString>;
|
|
486
491
|
quantity: z.ZodNumber;
|
|
487
|
-
variantId: z.
|
|
492
|
+
variantId: z.ZodNullable<z.ZodString>;
|
|
488
493
|
variantSku: z.ZodNullable<z.ZodString>;
|
|
489
494
|
unitPrice: z.ZodNumber;
|
|
490
495
|
compareAtUnitPrice: z.ZodNullable<z.ZodNumber>;
|
|
491
496
|
bundleItems: z.ZodArray<z.ZodObject<{
|
|
492
|
-
productId: z.
|
|
493
|
-
variantId: z.
|
|
497
|
+
productId: z.ZodString;
|
|
498
|
+
variantId: z.ZodString;
|
|
494
499
|
productName: z.ZodString;
|
|
495
500
|
variantName: z.ZodNullable<z.ZodString>;
|
|
496
501
|
sku: z.ZodNullable<z.ZodString>;
|
|
@@ -500,35 +505,35 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
500
505
|
}, "strip", z.ZodTypeAny, {
|
|
501
506
|
imageUrl: string | null;
|
|
502
507
|
brand: string | null;
|
|
503
|
-
productId:
|
|
508
|
+
productId: string;
|
|
504
509
|
sku: string | null;
|
|
505
510
|
quantity: number;
|
|
506
|
-
variantId:
|
|
511
|
+
variantId: string;
|
|
507
512
|
productName: string;
|
|
508
513
|
variantName: string | null;
|
|
509
514
|
}, {
|
|
510
515
|
imageUrl: string | null;
|
|
511
516
|
brand: string | null;
|
|
512
|
-
productId:
|
|
517
|
+
productId: string;
|
|
513
518
|
sku: string | null;
|
|
514
519
|
quantity: number;
|
|
515
|
-
variantId:
|
|
520
|
+
variantId: string;
|
|
516
521
|
productName: string;
|
|
517
522
|
variantName: string | null;
|
|
518
523
|
}>, "many">;
|
|
519
524
|
}, "strip", z.ZodTypeAny, {
|
|
520
525
|
id: string;
|
|
521
|
-
productId:
|
|
526
|
+
productId: string | null;
|
|
522
527
|
quantity: number;
|
|
523
|
-
variantId:
|
|
528
|
+
variantId: string | null;
|
|
524
529
|
unitPrice: number;
|
|
525
530
|
bundleItems: {
|
|
526
531
|
imageUrl: string | null;
|
|
527
532
|
brand: string | null;
|
|
528
|
-
productId:
|
|
533
|
+
productId: string;
|
|
529
534
|
sku: string | null;
|
|
530
535
|
quantity: number;
|
|
531
|
-
variantId:
|
|
536
|
+
variantId: string;
|
|
532
537
|
productName: string;
|
|
533
538
|
variantName: string | null;
|
|
534
539
|
}[];
|
|
@@ -540,17 +545,17 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
540
545
|
compareAtUnitPrice: number | null;
|
|
541
546
|
}, {
|
|
542
547
|
id: string;
|
|
543
|
-
productId:
|
|
548
|
+
productId: string | null;
|
|
544
549
|
quantity: number;
|
|
545
|
-
variantId:
|
|
550
|
+
variantId: string | null;
|
|
546
551
|
unitPrice: number;
|
|
547
552
|
bundleItems: {
|
|
548
553
|
imageUrl: string | null;
|
|
549
554
|
brand: string | null;
|
|
550
|
-
productId:
|
|
555
|
+
productId: string;
|
|
551
556
|
sku: string | null;
|
|
552
557
|
quantity: number;
|
|
553
|
-
variantId:
|
|
558
|
+
variantId: string;
|
|
554
559
|
productName: string;
|
|
555
560
|
variantName: string | null;
|
|
556
561
|
}[];
|
|
@@ -562,20 +567,20 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
562
567
|
compareAtUnitPrice: number | null;
|
|
563
568
|
}>, "many">;
|
|
564
569
|
shippingMethods: z.ZodArray<z.ZodObject<{
|
|
565
|
-
id: z.
|
|
566
|
-
shippingMethodId: z.ZodNullable<z.
|
|
567
|
-
rateId: z.ZodNullable<z.
|
|
570
|
+
id: z.ZodString;
|
|
571
|
+
shippingMethodId: z.ZodNullable<z.ZodString>;
|
|
572
|
+
rateId: z.ZodNullable<z.ZodString>;
|
|
568
573
|
name: z.ZodString;
|
|
569
574
|
description: z.ZodNullable<z.ZodString>;
|
|
570
575
|
total: z.ZodNumber;
|
|
571
|
-
locationId: z.ZodNullable<z.
|
|
576
|
+
locationId: z.ZodNullable<z.ZodString>;
|
|
572
577
|
estimatedDays: z.ZodNullable<z.ZodNumber>;
|
|
573
|
-
pickupPointId: z.ZodNullable<z.
|
|
578
|
+
pickupPointId: z.ZodNullable<z.ZodString>;
|
|
574
579
|
scheduledDate: z.ZodNullable<z.ZodString>;
|
|
575
580
|
scheduledTime: z.ZodNullable<z.ZodString>;
|
|
576
581
|
serviceCode: z.ZodNullable<z.ZodString>;
|
|
577
|
-
sellerId: z.ZodNullable<z.
|
|
578
|
-
shippingProfileId: z.ZodNullable<z.
|
|
582
|
+
sellerId: z.ZodNullable<z.ZodString>;
|
|
583
|
+
shippingProfileId: z.ZodNullable<z.ZodString>;
|
|
579
584
|
}, "strip", z.ZodTypeAny, {
|
|
580
585
|
id: string;
|
|
581
586
|
name: string;
|
|
@@ -636,6 +641,7 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
636
641
|
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
637
642
|
id: string;
|
|
638
643
|
phone: string | null;
|
|
644
|
+
token: string;
|
|
639
645
|
cartNumber: string;
|
|
640
646
|
email: string | null;
|
|
641
647
|
firstName: string | null;
|
|
@@ -673,17 +679,17 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
673
679
|
promotionCodes: string[];
|
|
674
680
|
items: {
|
|
675
681
|
id: string;
|
|
676
|
-
productId:
|
|
682
|
+
productId: string | null;
|
|
677
683
|
quantity: number;
|
|
678
|
-
variantId:
|
|
684
|
+
variantId: string | null;
|
|
679
685
|
unitPrice: number;
|
|
680
686
|
bundleItems: {
|
|
681
687
|
imageUrl: string | null;
|
|
682
688
|
brand: string | null;
|
|
683
|
-
productId:
|
|
689
|
+
productId: string;
|
|
684
690
|
sku: string | null;
|
|
685
691
|
quantity: number;
|
|
686
|
-
variantId:
|
|
692
|
+
variantId: string;
|
|
687
693
|
productName: string;
|
|
688
694
|
variantName: string | null;
|
|
689
695
|
}[];
|
|
@@ -723,6 +729,7 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
723
729
|
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
724
730
|
id: string;
|
|
725
731
|
phone: string | null;
|
|
732
|
+
token: string;
|
|
726
733
|
cartNumber: string;
|
|
727
734
|
email: string | null;
|
|
728
735
|
firstName: string | null;
|
|
@@ -760,17 +767,17 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
760
767
|
promotionCodes: string[];
|
|
761
768
|
items: {
|
|
762
769
|
id: string;
|
|
763
|
-
productId:
|
|
770
|
+
productId: string | null;
|
|
764
771
|
quantity: number;
|
|
765
|
-
variantId:
|
|
772
|
+
variantId: string | null;
|
|
766
773
|
unitPrice: number;
|
|
767
774
|
bundleItems: {
|
|
768
775
|
imageUrl: string | null;
|
|
769
776
|
brand: string | null;
|
|
770
|
-
productId:
|
|
777
|
+
productId: string;
|
|
771
778
|
sku: string | null;
|
|
772
779
|
quantity: number;
|
|
773
|
-
variantId:
|
|
780
|
+
variantId: string;
|
|
774
781
|
productName: string;
|
|
775
782
|
variantName: string | null;
|
|
776
783
|
}[];
|
|
@@ -881,8 +888,8 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
881
888
|
}>;
|
|
882
889
|
orderBumps: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
883
890
|
id: z.ZodString;
|
|
884
|
-
|
|
885
|
-
|
|
891
|
+
productId: z.ZodString;
|
|
892
|
+
variantId: z.ZodString;
|
|
886
893
|
productName: z.ZodString;
|
|
887
894
|
variantName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
888
895
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -894,10 +901,10 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
894
901
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
895
902
|
}, "strip", z.ZodTypeAny, {
|
|
896
903
|
id: string;
|
|
904
|
+
productId: string;
|
|
905
|
+
variantId: string;
|
|
897
906
|
productName: string;
|
|
898
907
|
currencyCode: string;
|
|
899
|
-
productPublicId: string;
|
|
900
|
-
variantPublicId: string;
|
|
901
908
|
regularPrice: number;
|
|
902
909
|
offerPrice: number;
|
|
903
910
|
callToAction: string;
|
|
@@ -907,10 +914,10 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
907
914
|
badgeLabel?: string | null | undefined;
|
|
908
915
|
}, {
|
|
909
916
|
id: string;
|
|
917
|
+
productId: string;
|
|
918
|
+
variantId: string;
|
|
910
919
|
productName: string;
|
|
911
920
|
currencyCode: string;
|
|
912
|
-
productPublicId: string;
|
|
913
|
-
variantPublicId: string;
|
|
914
921
|
regularPrice: number;
|
|
915
922
|
offerPrice: number;
|
|
916
923
|
callToAction: string;
|
|
@@ -924,6 +931,7 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
924
931
|
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
925
932
|
id: string;
|
|
926
933
|
phone: string | null;
|
|
934
|
+
token: string;
|
|
927
935
|
cartNumber: string;
|
|
928
936
|
email: string | null;
|
|
929
937
|
firstName: string | null;
|
|
@@ -961,17 +969,17 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
961
969
|
promotionCodes: string[];
|
|
962
970
|
items: {
|
|
963
971
|
id: string;
|
|
964
|
-
productId:
|
|
972
|
+
productId: string | null;
|
|
965
973
|
quantity: number;
|
|
966
|
-
variantId:
|
|
974
|
+
variantId: string | null;
|
|
967
975
|
unitPrice: number;
|
|
968
976
|
bundleItems: {
|
|
969
977
|
imageUrl: string | null;
|
|
970
978
|
brand: string | null;
|
|
971
|
-
productId:
|
|
979
|
+
productId: string;
|
|
972
980
|
sku: string | null;
|
|
973
981
|
quantity: number;
|
|
974
|
-
variantId:
|
|
982
|
+
variantId: string;
|
|
975
983
|
productName: string;
|
|
976
984
|
variantName: string | null;
|
|
977
985
|
}[];
|
|
@@ -1026,10 +1034,10 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
1026
1034
|
};
|
|
1027
1035
|
orderBumps: {
|
|
1028
1036
|
id: string;
|
|
1037
|
+
productId: string;
|
|
1038
|
+
variantId: string;
|
|
1029
1039
|
productName: string;
|
|
1030
1040
|
currencyCode: string;
|
|
1031
|
-
productPublicId: string;
|
|
1032
|
-
variantPublicId: string;
|
|
1033
1041
|
regularPrice: number;
|
|
1034
1042
|
offerPrice: number;
|
|
1035
1043
|
callToAction: string;
|
|
@@ -1043,6 +1051,7 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
1043
1051
|
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
1044
1052
|
id: string;
|
|
1045
1053
|
phone: string | null;
|
|
1054
|
+
token: string;
|
|
1046
1055
|
cartNumber: string;
|
|
1047
1056
|
email: string | null;
|
|
1048
1057
|
firstName: string | null;
|
|
@@ -1080,17 +1089,17 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
1080
1089
|
promotionCodes: string[];
|
|
1081
1090
|
items: {
|
|
1082
1091
|
id: string;
|
|
1083
|
-
productId:
|
|
1092
|
+
productId: string | null;
|
|
1084
1093
|
quantity: number;
|
|
1085
|
-
variantId:
|
|
1094
|
+
variantId: string | null;
|
|
1086
1095
|
unitPrice: number;
|
|
1087
1096
|
bundleItems: {
|
|
1088
1097
|
imageUrl: string | null;
|
|
1089
1098
|
brand: string | null;
|
|
1090
|
-
productId:
|
|
1099
|
+
productId: string;
|
|
1091
1100
|
sku: string | null;
|
|
1092
1101
|
quantity: number;
|
|
1093
|
-
variantId:
|
|
1102
|
+
variantId: string;
|
|
1094
1103
|
productName: string;
|
|
1095
1104
|
variantName: string | null;
|
|
1096
1105
|
}[];
|
|
@@ -1145,10 +1154,10 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
1145
1154
|
};
|
|
1146
1155
|
orderBumps?: {
|
|
1147
1156
|
id: string;
|
|
1157
|
+
productId: string;
|
|
1158
|
+
variantId: string;
|
|
1148
1159
|
productName: string;
|
|
1149
1160
|
currencyCode: string;
|
|
1150
|
-
productPublicId: string;
|
|
1151
|
-
variantPublicId: string;
|
|
1152
1161
|
regularPrice: number;
|
|
1153
1162
|
offerPrice: number;
|
|
1154
1163
|
callToAction: string;
|
|
@@ -1166,75 +1175,51 @@ declare const CartCheckoutPaymentActionSchema: z.ZodObject<{
|
|
|
1166
1175
|
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1167
1176
|
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1168
1177
|
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1169
|
-
}, "
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
},
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
}
|
|
1182
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1183
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1184
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1185
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1186
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1187
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1188
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1189
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1190
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1191
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1192
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1193
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1194
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1195
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1196
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1197
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1198
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1199
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1200
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1201
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1202
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1203
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1204
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1205
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1206
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1207
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1208
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1209
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1210
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1211
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1212
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1213
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1214
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1215
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1216
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1217
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1218
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1219
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1220
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1221
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1222
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1223
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1224
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1225
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1226
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1227
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1228
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1229
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1230
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1231
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1178
|
+
}, "strip", z.ZodTypeAny, {
|
|
1179
|
+
phoneNumber?: string | null | undefined;
|
|
1180
|
+
accountHolder?: string | null | undefined;
|
|
1181
|
+
qrImageUrl?: string | null | undefined;
|
|
1182
|
+
publishableKey?: string | null | undefined;
|
|
1183
|
+
checkoutMode?: string | null | undefined;
|
|
1184
|
+
}, {
|
|
1185
|
+
phoneNumber?: string | null | undefined;
|
|
1186
|
+
accountHolder?: string | null | undefined;
|
|
1187
|
+
qrImageUrl?: string | null | undefined;
|
|
1188
|
+
publishableKey?: string | null | undefined;
|
|
1189
|
+
checkoutMode?: string | null | undefined;
|
|
1190
|
+
}>>>;
|
|
1232
1191
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1233
1192
|
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1234
1193
|
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1235
1194
|
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1236
1195
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1237
|
-
}, z.ZodTypeAny,
|
|
1196
|
+
}, "strip", z.ZodTypeAny, {
|
|
1197
|
+
url?: string | null | undefined;
|
|
1198
|
+
publicConfiguration?: {
|
|
1199
|
+
phoneNumber?: string | null | undefined;
|
|
1200
|
+
accountHolder?: string | null | undefined;
|
|
1201
|
+
qrImageUrl?: string | null | undefined;
|
|
1202
|
+
publishableKey?: string | null | undefined;
|
|
1203
|
+
checkoutMode?: string | null | undefined;
|
|
1204
|
+
} | null | undefined;
|
|
1205
|
+
html?: string | null | undefined;
|
|
1206
|
+
clientSecret?: string | null | undefined;
|
|
1207
|
+
qrCode?: string | null | undefined;
|
|
1208
|
+
expiresAt?: string | null | undefined;
|
|
1209
|
+
}, {
|
|
1210
|
+
url?: string | null | undefined;
|
|
1211
|
+
publicConfiguration?: {
|
|
1212
|
+
phoneNumber?: string | null | undefined;
|
|
1213
|
+
accountHolder?: string | null | undefined;
|
|
1214
|
+
qrImageUrl?: string | null | undefined;
|
|
1215
|
+
publishableKey?: string | null | undefined;
|
|
1216
|
+
checkoutMode?: string | null | undefined;
|
|
1217
|
+
} | null | undefined;
|
|
1218
|
+
html?: string | null | undefined;
|
|
1219
|
+
clientSecret?: string | null | undefined;
|
|
1220
|
+
qrCode?: string | null | undefined;
|
|
1221
|
+
expiresAt?: string | null | undefined;
|
|
1222
|
+
}>;
|
|
1238
1223
|
declare const CartCheckoutPaymentSchema: z.ZodObject<{
|
|
1239
1224
|
transactionId: z.ZodString;
|
|
1240
1225
|
paymentMethodCode: z.ZodString;
|
|
@@ -1251,246 +1236,98 @@ declare const CartCheckoutPaymentSchema: z.ZodObject<{
|
|
|
1251
1236
|
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1252
1237
|
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1253
1238
|
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1254
|
-
}, "
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
},
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
}
|
|
1267
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1268
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1269
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1270
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1271
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1272
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1273
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1274
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1275
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1276
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1277
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1278
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1279
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1280
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1281
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1282
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1283
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1284
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1285
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1286
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1287
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1288
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1289
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1290
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1291
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1292
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1293
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1294
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1295
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1296
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1297
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1298
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1299
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1300
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1301
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1302
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1303
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1304
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1305
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1306
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1307
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1308
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1309
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1310
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1311
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1312
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1313
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1314
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1315
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1316
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1317
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1318
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1319
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1320
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1321
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1322
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1323
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1324
|
-
transactionId: z.ZodString;
|
|
1325
|
-
paymentMethodCode: z.ZodString;
|
|
1326
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1327
|
-
status: z.ZodString;
|
|
1328
|
-
amount: z.ZodNumber;
|
|
1329
|
-
reference: z.ZodString;
|
|
1330
|
-
actionType: z.ZodString;
|
|
1331
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1332
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1333
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1334
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1335
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1336
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1337
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1338
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1339
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1340
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1341
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1342
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1343
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1344
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1345
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1346
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1347
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1348
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1349
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1350
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1351
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1352
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1353
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1354
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1355
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1356
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1357
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1358
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1359
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1360
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1361
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1362
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1363
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1364
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1365
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1366
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1367
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1368
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1369
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1370
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1371
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1372
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1373
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1374
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1375
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1376
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1377
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1378
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1379
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1380
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1381
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1382
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1383
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1384
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1385
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1386
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1387
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1388
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1389
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1390
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1391
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1392
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1393
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1394
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1395
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1396
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1397
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1398
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1399
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1400
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1401
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1402
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1403
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1404
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1405
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1406
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1407
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1408
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1409
|
-
transactionId: z.ZodString;
|
|
1410
|
-
paymentMethodCode: z.ZodString;
|
|
1411
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1412
|
-
status: z.ZodString;
|
|
1413
|
-
amount: z.ZodNumber;
|
|
1414
|
-
reference: z.ZodString;
|
|
1415
|
-
actionType: z.ZodString;
|
|
1416
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1417
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1418
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1419
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1420
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1421
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1422
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1423
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1424
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1425
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1426
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1427
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1428
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1429
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1430
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1431
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1432
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1433
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1434
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1435
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1436
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1437
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1438
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1439
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1440
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1441
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1442
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1443
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1444
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1445
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1446
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1447
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1448
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1449
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1450
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1451
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1452
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1453
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1454
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1455
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1456
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1457
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1458
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1459
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1460
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1461
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1239
|
+
}, "strip", z.ZodTypeAny, {
|
|
1240
|
+
phoneNumber?: string | null | undefined;
|
|
1241
|
+
accountHolder?: string | null | undefined;
|
|
1242
|
+
qrImageUrl?: string | null | undefined;
|
|
1243
|
+
publishableKey?: string | null | undefined;
|
|
1244
|
+
checkoutMode?: string | null | undefined;
|
|
1245
|
+
}, {
|
|
1246
|
+
phoneNumber?: string | null | undefined;
|
|
1247
|
+
accountHolder?: string | null | undefined;
|
|
1248
|
+
qrImageUrl?: string | null | undefined;
|
|
1249
|
+
publishableKey?: string | null | undefined;
|
|
1250
|
+
checkoutMode?: string | null | undefined;
|
|
1251
|
+
}>>>;
|
|
1462
1252
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1463
1253
|
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1464
1254
|
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1465
1255
|
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1466
1256
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1467
|
-
}, z.ZodTypeAny,
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
phoneNumber
|
|
1484
|
-
accountHolder
|
|
1485
|
-
qrImageUrl
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
}
|
|
1257
|
+
}, "strip", z.ZodTypeAny, {
|
|
1258
|
+
url?: string | null | undefined;
|
|
1259
|
+
publicConfiguration?: {
|
|
1260
|
+
phoneNumber?: string | null | undefined;
|
|
1261
|
+
accountHolder?: string | null | undefined;
|
|
1262
|
+
qrImageUrl?: string | null | undefined;
|
|
1263
|
+
publishableKey?: string | null | undefined;
|
|
1264
|
+
checkoutMode?: string | null | undefined;
|
|
1265
|
+
} | null | undefined;
|
|
1266
|
+
html?: string | null | undefined;
|
|
1267
|
+
clientSecret?: string | null | undefined;
|
|
1268
|
+
qrCode?: string | null | undefined;
|
|
1269
|
+
expiresAt?: string | null | undefined;
|
|
1270
|
+
}, {
|
|
1271
|
+
url?: string | null | undefined;
|
|
1272
|
+
publicConfiguration?: {
|
|
1273
|
+
phoneNumber?: string | null | undefined;
|
|
1274
|
+
accountHolder?: string | null | undefined;
|
|
1275
|
+
qrImageUrl?: string | null | undefined;
|
|
1276
|
+
publishableKey?: string | null | undefined;
|
|
1277
|
+
checkoutMode?: string | null | undefined;
|
|
1278
|
+
} | null | undefined;
|
|
1279
|
+
html?: string | null | undefined;
|
|
1280
|
+
clientSecret?: string | null | undefined;
|
|
1281
|
+
qrCode?: string | null | undefined;
|
|
1282
|
+
expiresAt?: string | null | undefined;
|
|
1283
|
+
}>>>;
|
|
1284
|
+
}, "strip", z.ZodTypeAny, {
|
|
1285
|
+
status: string;
|
|
1286
|
+
transactionId: string;
|
|
1287
|
+
paymentMethodCode: string;
|
|
1288
|
+
amount: number;
|
|
1289
|
+
reference: string;
|
|
1290
|
+
actionType: string;
|
|
1291
|
+
providerId?: string | null | undefined;
|
|
1292
|
+
receiptUrl?: string | null | undefined;
|
|
1293
|
+
action?: {
|
|
1294
|
+
url?: string | null | undefined;
|
|
1295
|
+
publicConfiguration?: {
|
|
1296
|
+
phoneNumber?: string | null | undefined;
|
|
1297
|
+
accountHolder?: string | null | undefined;
|
|
1298
|
+
qrImageUrl?: string | null | undefined;
|
|
1299
|
+
publishableKey?: string | null | undefined;
|
|
1300
|
+
checkoutMode?: string | null | undefined;
|
|
1301
|
+
} | null | undefined;
|
|
1302
|
+
html?: string | null | undefined;
|
|
1303
|
+
clientSecret?: string | null | undefined;
|
|
1304
|
+
qrCode?: string | null | undefined;
|
|
1305
|
+
expiresAt?: string | null | undefined;
|
|
1306
|
+
} | null | undefined;
|
|
1307
|
+
}, {
|
|
1308
|
+
status: string;
|
|
1309
|
+
transactionId: string;
|
|
1310
|
+
paymentMethodCode: string;
|
|
1311
|
+
amount: number;
|
|
1312
|
+
reference: string;
|
|
1313
|
+
actionType: string;
|
|
1314
|
+
providerId?: string | null | undefined;
|
|
1315
|
+
receiptUrl?: string | null | undefined;
|
|
1316
|
+
action?: {
|
|
1317
|
+
url?: string | null | undefined;
|
|
1318
|
+
publicConfiguration?: {
|
|
1319
|
+
phoneNumber?: string | null | undefined;
|
|
1320
|
+
accountHolder?: string | null | undefined;
|
|
1321
|
+
qrImageUrl?: string | null | undefined;
|
|
1322
|
+
publishableKey?: string | null | undefined;
|
|
1323
|
+
checkoutMode?: string | null | undefined;
|
|
1324
|
+
} | null | undefined;
|
|
1325
|
+
html?: string | null | undefined;
|
|
1326
|
+
clientSecret?: string | null | undefined;
|
|
1327
|
+
qrCode?: string | null | undefined;
|
|
1328
|
+
expiresAt?: string | null | undefined;
|
|
1329
|
+
} | null | undefined;
|
|
1330
|
+
}>;
|
|
1494
1331
|
type CartCheckoutPayment = z.infer<typeof CartCheckoutPaymentSchema>;
|
|
1495
1332
|
declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
1496
1333
|
publicKey: z.ZodOptional<z.ZodString>;
|
|
@@ -1517,248 +1354,101 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
1517
1354
|
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1518
1355
|
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1519
1356
|
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1520
|
-
}, "
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
},
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
}
|
|
1533
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1534
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1535
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1536
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1537
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1538
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1539
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1540
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1541
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1542
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1543
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1544
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1545
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1546
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1547
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1548
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1549
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1550
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1551
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1552
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1553
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1554
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1555
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1556
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1557
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1558
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1559
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1560
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1561
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1562
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1563
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1564
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1565
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1566
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1567
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1568
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1569
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1570
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1571
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1572
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1573
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1574
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1575
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1576
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1577
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1578
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1579
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1580
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1581
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1582
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1583
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1584
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1585
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1586
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1587
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1588
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1589
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1590
|
-
transactionId: z.ZodString;
|
|
1591
|
-
paymentMethodCode: z.ZodString;
|
|
1592
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1593
|
-
status: z.ZodString;
|
|
1594
|
-
amount: z.ZodNumber;
|
|
1595
|
-
reference: z.ZodString;
|
|
1596
|
-
actionType: z.ZodString;
|
|
1597
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1598
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1599
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1600
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1601
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1602
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1603
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1604
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1605
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1606
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1607
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1608
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1609
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1610
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1611
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1612
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1613
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1614
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1615
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1616
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1617
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1618
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1619
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1620
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1621
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1622
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1623
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1624
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1625
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1626
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1627
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1628
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1629
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1630
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1631
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1632
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1633
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1634
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1635
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1636
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1637
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1638
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1639
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1640
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1641
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1642
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1643
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1644
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1645
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1646
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1647
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1648
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1649
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1650
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1651
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1652
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1653
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1654
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1655
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1656
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1657
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1658
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1659
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1660
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1661
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1662
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1663
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1664
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1665
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1666
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1667
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1668
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1669
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1670
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1671
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1672
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1673
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1674
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1675
|
-
transactionId: z.ZodString;
|
|
1676
|
-
paymentMethodCode: z.ZodString;
|
|
1677
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1678
|
-
status: z.ZodString;
|
|
1679
|
-
amount: z.ZodNumber;
|
|
1680
|
-
reference: z.ZodString;
|
|
1681
|
-
actionType: z.ZodString;
|
|
1682
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1683
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1684
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1685
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1686
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1687
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1688
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1689
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1690
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1691
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1692
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1693
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1694
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1695
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1696
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1697
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1698
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1699
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1700
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1701
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1702
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1703
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1704
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1705
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1706
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1707
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1708
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1709
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1710
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1711
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1712
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1713
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1714
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1715
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1716
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1717
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1718
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1719
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1720
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1721
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1722
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1723
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1724
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1725
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1726
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1727
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1728
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1729
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1730
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1731
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1732
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1733
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1734
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1735
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1736
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1737
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1738
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1739
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1740
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
1741
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1742
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1743
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1744
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1745
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1746
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
1747
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1748
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1749
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1750
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1751
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1752
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
1357
|
+
}, "strip", z.ZodTypeAny, {
|
|
1358
|
+
phoneNumber?: string | null | undefined;
|
|
1359
|
+
accountHolder?: string | null | undefined;
|
|
1360
|
+
qrImageUrl?: string | null | undefined;
|
|
1361
|
+
publishableKey?: string | null | undefined;
|
|
1362
|
+
checkoutMode?: string | null | undefined;
|
|
1363
|
+
}, {
|
|
1364
|
+
phoneNumber?: string | null | undefined;
|
|
1365
|
+
accountHolder?: string | null | undefined;
|
|
1366
|
+
qrImageUrl?: string | null | undefined;
|
|
1367
|
+
publishableKey?: string | null | undefined;
|
|
1368
|
+
checkoutMode?: string | null | undefined;
|
|
1369
|
+
}>>>;
|
|
1753
1370
|
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1754
1371
|
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1755
1372
|
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1756
1373
|
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1757
1374
|
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1758
|
-
}, z.ZodTypeAny,
|
|
1759
|
-
|
|
1375
|
+
}, "strip", z.ZodTypeAny, {
|
|
1376
|
+
url?: string | null | undefined;
|
|
1377
|
+
publicConfiguration?: {
|
|
1378
|
+
phoneNumber?: string | null | undefined;
|
|
1379
|
+
accountHolder?: string | null | undefined;
|
|
1380
|
+
qrImageUrl?: string | null | undefined;
|
|
1381
|
+
publishableKey?: string | null | undefined;
|
|
1382
|
+
checkoutMode?: string | null | undefined;
|
|
1383
|
+
} | null | undefined;
|
|
1384
|
+
html?: string | null | undefined;
|
|
1385
|
+
clientSecret?: string | null | undefined;
|
|
1386
|
+
qrCode?: string | null | undefined;
|
|
1387
|
+
expiresAt?: string | null | undefined;
|
|
1388
|
+
}, {
|
|
1389
|
+
url?: string | null | undefined;
|
|
1390
|
+
publicConfiguration?: {
|
|
1391
|
+
phoneNumber?: string | null | undefined;
|
|
1392
|
+
accountHolder?: string | null | undefined;
|
|
1393
|
+
qrImageUrl?: string | null | undefined;
|
|
1394
|
+
publishableKey?: string | null | undefined;
|
|
1395
|
+
checkoutMode?: string | null | undefined;
|
|
1396
|
+
} | null | undefined;
|
|
1397
|
+
html?: string | null | undefined;
|
|
1398
|
+
clientSecret?: string | null | undefined;
|
|
1399
|
+
qrCode?: string | null | undefined;
|
|
1400
|
+
expiresAt?: string | null | undefined;
|
|
1401
|
+
}>>>;
|
|
1402
|
+
}, "strip", z.ZodTypeAny, {
|
|
1403
|
+
status: string;
|
|
1404
|
+
transactionId: string;
|
|
1405
|
+
paymentMethodCode: string;
|
|
1406
|
+
amount: number;
|
|
1407
|
+
reference: string;
|
|
1408
|
+
actionType: string;
|
|
1409
|
+
providerId?: string | null | undefined;
|
|
1410
|
+
receiptUrl?: string | null | undefined;
|
|
1411
|
+
action?: {
|
|
1412
|
+
url?: string | null | undefined;
|
|
1413
|
+
publicConfiguration?: {
|
|
1414
|
+
phoneNumber?: string | null | undefined;
|
|
1415
|
+
accountHolder?: string | null | undefined;
|
|
1416
|
+
qrImageUrl?: string | null | undefined;
|
|
1417
|
+
publishableKey?: string | null | undefined;
|
|
1418
|
+
checkoutMode?: string | null | undefined;
|
|
1419
|
+
} | null | undefined;
|
|
1420
|
+
html?: string | null | undefined;
|
|
1421
|
+
clientSecret?: string | null | undefined;
|
|
1422
|
+
qrCode?: string | null | undefined;
|
|
1423
|
+
expiresAt?: string | null | undefined;
|
|
1424
|
+
} | null | undefined;
|
|
1425
|
+
}, {
|
|
1426
|
+
status: string;
|
|
1427
|
+
transactionId: string;
|
|
1428
|
+
paymentMethodCode: string;
|
|
1429
|
+
amount: number;
|
|
1430
|
+
reference: string;
|
|
1431
|
+
actionType: string;
|
|
1432
|
+
providerId?: string | null | undefined;
|
|
1433
|
+
receiptUrl?: string | null | undefined;
|
|
1434
|
+
action?: {
|
|
1435
|
+
url?: string | null | undefined;
|
|
1436
|
+
publicConfiguration?: {
|
|
1437
|
+
phoneNumber?: string | null | undefined;
|
|
1438
|
+
accountHolder?: string | null | undefined;
|
|
1439
|
+
qrImageUrl?: string | null | undefined;
|
|
1440
|
+
publishableKey?: string | null | undefined;
|
|
1441
|
+
checkoutMode?: string | null | undefined;
|
|
1442
|
+
} | null | undefined;
|
|
1443
|
+
html?: string | null | undefined;
|
|
1444
|
+
clientSecret?: string | null | undefined;
|
|
1445
|
+
qrCode?: string | null | undefined;
|
|
1446
|
+
expiresAt?: string | null | undefined;
|
|
1447
|
+
} | null | undefined;
|
|
1448
|
+
}>>;
|
|
1760
1449
|
cart: z.ZodOptional<z.ZodObject<{
|
|
1761
|
-
id: z.
|
|
1450
|
+
id: z.ZodString;
|
|
1451
|
+
token: z.ZodString;
|
|
1762
1452
|
cartNumber: z.ZodString;
|
|
1763
1453
|
email: z.ZodNullable<z.ZodString>;
|
|
1764
1454
|
phone: z.ZodNullable<z.ZodString>;
|
|
@@ -1849,20 +1539,20 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
1849
1539
|
}>>;
|
|
1850
1540
|
promotionCodes: z.ZodArray<z.ZodString, "many">;
|
|
1851
1541
|
items: z.ZodArray<z.ZodObject<{
|
|
1852
|
-
id: z.
|
|
1853
|
-
productId: z.
|
|
1542
|
+
id: z.ZodString;
|
|
1543
|
+
productId: z.ZodNullable<z.ZodString>;
|
|
1854
1544
|
title: z.ZodString;
|
|
1855
1545
|
variantLabel: z.ZodNullable<z.ZodString>;
|
|
1856
1546
|
productHandle: z.ZodNullable<z.ZodString>;
|
|
1857
1547
|
thumbnail: z.ZodNullable<z.ZodString>;
|
|
1858
1548
|
quantity: z.ZodNumber;
|
|
1859
|
-
variantId: z.
|
|
1549
|
+
variantId: z.ZodNullable<z.ZodString>;
|
|
1860
1550
|
variantSku: z.ZodNullable<z.ZodString>;
|
|
1861
1551
|
unitPrice: z.ZodNumber;
|
|
1862
1552
|
compareAtUnitPrice: z.ZodNullable<z.ZodNumber>;
|
|
1863
1553
|
bundleItems: z.ZodArray<z.ZodObject<{
|
|
1864
|
-
productId: z.
|
|
1865
|
-
variantId: z.
|
|
1554
|
+
productId: z.ZodString;
|
|
1555
|
+
variantId: z.ZodString;
|
|
1866
1556
|
productName: z.ZodString;
|
|
1867
1557
|
variantName: z.ZodNullable<z.ZodString>;
|
|
1868
1558
|
sku: z.ZodNullable<z.ZodString>;
|
|
@@ -1872,35 +1562,35 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
1872
1562
|
}, "strip", z.ZodTypeAny, {
|
|
1873
1563
|
imageUrl: string | null;
|
|
1874
1564
|
brand: string | null;
|
|
1875
|
-
productId:
|
|
1565
|
+
productId: string;
|
|
1876
1566
|
sku: string | null;
|
|
1877
1567
|
quantity: number;
|
|
1878
|
-
variantId:
|
|
1568
|
+
variantId: string;
|
|
1879
1569
|
productName: string;
|
|
1880
1570
|
variantName: string | null;
|
|
1881
1571
|
}, {
|
|
1882
1572
|
imageUrl: string | null;
|
|
1883
1573
|
brand: string | null;
|
|
1884
|
-
productId:
|
|
1574
|
+
productId: string;
|
|
1885
1575
|
sku: string | null;
|
|
1886
1576
|
quantity: number;
|
|
1887
|
-
variantId:
|
|
1577
|
+
variantId: string;
|
|
1888
1578
|
productName: string;
|
|
1889
1579
|
variantName: string | null;
|
|
1890
1580
|
}>, "many">;
|
|
1891
1581
|
}, "strip", z.ZodTypeAny, {
|
|
1892
1582
|
id: string;
|
|
1893
|
-
productId:
|
|
1583
|
+
productId: string | null;
|
|
1894
1584
|
quantity: number;
|
|
1895
|
-
variantId:
|
|
1585
|
+
variantId: string | null;
|
|
1896
1586
|
unitPrice: number;
|
|
1897
1587
|
bundleItems: {
|
|
1898
1588
|
imageUrl: string | null;
|
|
1899
1589
|
brand: string | null;
|
|
1900
|
-
productId:
|
|
1590
|
+
productId: string;
|
|
1901
1591
|
sku: string | null;
|
|
1902
1592
|
quantity: number;
|
|
1903
|
-
variantId:
|
|
1593
|
+
variantId: string;
|
|
1904
1594
|
productName: string;
|
|
1905
1595
|
variantName: string | null;
|
|
1906
1596
|
}[];
|
|
@@ -1912,17 +1602,17 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
1912
1602
|
compareAtUnitPrice: number | null;
|
|
1913
1603
|
}, {
|
|
1914
1604
|
id: string;
|
|
1915
|
-
productId:
|
|
1605
|
+
productId: string | null;
|
|
1916
1606
|
quantity: number;
|
|
1917
|
-
variantId:
|
|
1607
|
+
variantId: string | null;
|
|
1918
1608
|
unitPrice: number;
|
|
1919
1609
|
bundleItems: {
|
|
1920
1610
|
imageUrl: string | null;
|
|
1921
1611
|
brand: string | null;
|
|
1922
|
-
productId:
|
|
1612
|
+
productId: string;
|
|
1923
1613
|
sku: string | null;
|
|
1924
1614
|
quantity: number;
|
|
1925
|
-
variantId:
|
|
1615
|
+
variantId: string;
|
|
1926
1616
|
productName: string;
|
|
1927
1617
|
variantName: string | null;
|
|
1928
1618
|
}[];
|
|
@@ -1934,20 +1624,20 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
1934
1624
|
compareAtUnitPrice: number | null;
|
|
1935
1625
|
}>, "many">;
|
|
1936
1626
|
shippingMethods: z.ZodArray<z.ZodObject<{
|
|
1937
|
-
id: z.
|
|
1938
|
-
shippingMethodId: z.ZodNullable<z.
|
|
1939
|
-
rateId: z.ZodNullable<z.
|
|
1627
|
+
id: z.ZodString;
|
|
1628
|
+
shippingMethodId: z.ZodNullable<z.ZodString>;
|
|
1629
|
+
rateId: z.ZodNullable<z.ZodString>;
|
|
1940
1630
|
name: z.ZodString;
|
|
1941
1631
|
description: z.ZodNullable<z.ZodString>;
|
|
1942
1632
|
total: z.ZodNumber;
|
|
1943
|
-
locationId: z.ZodNullable<z.
|
|
1633
|
+
locationId: z.ZodNullable<z.ZodString>;
|
|
1944
1634
|
estimatedDays: z.ZodNullable<z.ZodNumber>;
|
|
1945
|
-
pickupPointId: z.ZodNullable<z.
|
|
1635
|
+
pickupPointId: z.ZodNullable<z.ZodString>;
|
|
1946
1636
|
scheduledDate: z.ZodNullable<z.ZodString>;
|
|
1947
1637
|
scheduledTime: z.ZodNullable<z.ZodString>;
|
|
1948
1638
|
serviceCode: z.ZodNullable<z.ZodString>;
|
|
1949
|
-
sellerId: z.ZodNullable<z.
|
|
1950
|
-
shippingProfileId: z.ZodNullable<z.
|
|
1639
|
+
sellerId: z.ZodNullable<z.ZodString>;
|
|
1640
|
+
shippingProfileId: z.ZodNullable<z.ZodString>;
|
|
1951
1641
|
}, "strip", z.ZodTypeAny, {
|
|
1952
1642
|
id: string;
|
|
1953
1643
|
name: string;
|
|
@@ -2008,6 +1698,7 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
2008
1698
|
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
2009
1699
|
id: string;
|
|
2010
1700
|
phone: string | null;
|
|
1701
|
+
token: string;
|
|
2011
1702
|
cartNumber: string;
|
|
2012
1703
|
email: string | null;
|
|
2013
1704
|
firstName: string | null;
|
|
@@ -2045,17 +1736,17 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
2045
1736
|
promotionCodes: string[];
|
|
2046
1737
|
items: {
|
|
2047
1738
|
id: string;
|
|
2048
|
-
productId:
|
|
1739
|
+
productId: string | null;
|
|
2049
1740
|
quantity: number;
|
|
2050
|
-
variantId:
|
|
1741
|
+
variantId: string | null;
|
|
2051
1742
|
unitPrice: number;
|
|
2052
1743
|
bundleItems: {
|
|
2053
1744
|
imageUrl: string | null;
|
|
2054
1745
|
brand: string | null;
|
|
2055
|
-
productId:
|
|
1746
|
+
productId: string;
|
|
2056
1747
|
sku: string | null;
|
|
2057
1748
|
quantity: number;
|
|
2058
|
-
variantId:
|
|
1749
|
+
variantId: string;
|
|
2059
1750
|
productName: string;
|
|
2060
1751
|
variantName: string | null;
|
|
2061
1752
|
}[];
|
|
@@ -2095,6 +1786,7 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
2095
1786
|
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
2096
1787
|
id: string;
|
|
2097
1788
|
phone: string | null;
|
|
1789
|
+
token: string;
|
|
2098
1790
|
cartNumber: string;
|
|
2099
1791
|
email: string | null;
|
|
2100
1792
|
firstName: string | null;
|
|
@@ -2132,17 +1824,17 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
2132
1824
|
promotionCodes: string[];
|
|
2133
1825
|
items: {
|
|
2134
1826
|
id: string;
|
|
2135
|
-
productId:
|
|
1827
|
+
productId: string | null;
|
|
2136
1828
|
quantity: number;
|
|
2137
|
-
variantId:
|
|
1829
|
+
variantId: string | null;
|
|
2138
1830
|
unitPrice: number;
|
|
2139
1831
|
bundleItems: {
|
|
2140
1832
|
imageUrl: string | null;
|
|
2141
1833
|
brand: string | null;
|
|
2142
|
-
productId:
|
|
1834
|
+
productId: string;
|
|
2143
1835
|
sku: string | null;
|
|
2144
1836
|
quantity: number;
|
|
2145
|
-
variantId:
|
|
1837
|
+
variantId: string;
|
|
2146
1838
|
productName: string;
|
|
2147
1839
|
variantName: string | null;
|
|
2148
1840
|
}[];
|
|
@@ -2179,1209 +1871,13 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
2179
1871
|
warrantyTotal: number;
|
|
2180
1872
|
};
|
|
2181
1873
|
}>>;
|
|
2182
|
-
}, "
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
stripePublicKey: z.ZodOptional<z.ZodString>;
|
|
2186
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
2187
|
-
intentClientSecret: z.ZodOptional<z.ZodString>;
|
|
2188
|
-
orderId: z.ZodOptional<z.ZodString>;
|
|
2189
|
-
orderGroup: z.ZodOptional<z.ZodString>;
|
|
2190
|
-
orderIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2191
|
-
payment: z.ZodOptional<z.ZodObject<{
|
|
2192
|
-
transactionId: z.ZodString;
|
|
2193
|
-
paymentMethodCode: z.ZodString;
|
|
2194
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2195
|
-
status: z.ZodString;
|
|
2196
|
-
amount: z.ZodNumber;
|
|
2197
|
-
reference: z.ZodString;
|
|
2198
|
-
actionType: z.ZodString;
|
|
2199
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2200
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2201
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2202
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2203
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2204
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2205
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2206
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2207
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2208
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2209
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2210
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2211
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2212
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2213
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2214
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2215
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2216
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2217
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2218
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2219
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2220
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2221
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2222
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2223
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2224
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2225
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2226
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2227
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2228
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2229
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2230
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2231
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2232
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2233
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2234
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2235
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2236
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2237
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2238
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2239
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2240
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2241
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2242
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2243
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2244
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2245
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2246
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2247
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2248
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2249
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2250
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2251
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2252
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2253
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2254
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2255
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2256
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2257
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2258
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2259
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2260
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2261
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2262
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2263
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2264
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2265
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2266
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2267
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2268
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2269
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2270
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2271
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2272
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2273
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2274
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2275
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2276
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2277
|
-
transactionId: z.ZodString;
|
|
2278
|
-
paymentMethodCode: z.ZodString;
|
|
2279
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2280
|
-
status: z.ZodString;
|
|
2281
|
-
amount: z.ZodNumber;
|
|
2282
|
-
reference: z.ZodString;
|
|
2283
|
-
actionType: z.ZodString;
|
|
2284
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2285
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2286
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2287
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2288
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2289
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2290
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2291
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2292
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2293
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2294
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2295
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2296
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2297
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2298
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2299
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2300
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2301
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2302
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2303
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2304
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2305
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2306
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2307
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2308
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2309
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2310
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2311
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2312
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2313
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2314
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2315
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2316
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2317
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2318
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2319
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2320
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2321
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2322
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2323
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2324
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2325
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2326
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2327
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2328
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2329
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2330
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2331
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2332
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2333
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2334
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2335
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2336
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2337
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2338
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2339
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2340
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2341
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2342
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2343
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2344
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2345
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2346
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2347
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2348
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2349
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2350
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2351
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2352
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2353
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2354
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2355
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2356
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2357
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2358
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2359
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2360
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2361
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2362
|
-
transactionId: z.ZodString;
|
|
2363
|
-
paymentMethodCode: z.ZodString;
|
|
2364
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2365
|
-
status: z.ZodString;
|
|
2366
|
-
amount: z.ZodNumber;
|
|
2367
|
-
reference: z.ZodString;
|
|
2368
|
-
actionType: z.ZodString;
|
|
2369
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2370
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2371
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2372
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2373
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2374
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2375
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2376
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2377
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2378
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2379
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2380
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2381
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2382
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2383
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2384
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2385
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2386
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2387
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2388
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2389
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2390
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2391
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2392
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2393
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2394
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2395
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2396
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2397
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2398
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2399
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2400
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2401
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2402
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2403
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2404
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2405
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2406
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2407
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2408
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2409
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2410
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2411
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2412
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2413
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2414
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2415
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2416
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2417
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2418
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2419
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2420
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2421
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2422
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2423
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2424
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2425
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2426
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2427
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2428
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2429
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2430
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2431
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2432
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2433
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2434
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2435
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2436
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2437
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2438
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2439
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2440
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2441
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2442
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2443
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2444
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2445
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2446
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
2447
|
-
cart: z.ZodOptional<z.ZodObject<{
|
|
2448
|
-
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2449
|
-
cartNumber: z.ZodString;
|
|
2450
|
-
email: z.ZodNullable<z.ZodString>;
|
|
2451
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
2452
|
-
firstName: z.ZodNullable<z.ZodString>;
|
|
2453
|
-
lastName: z.ZodNullable<z.ZodString>;
|
|
2454
|
-
currencyCode: z.ZodString;
|
|
2455
|
-
status: z.ZodEnum<["inProgress", "pending", "completed", "abandoned", "cancelled", "expired", "failed"]>;
|
|
2456
|
-
completedAt: z.ZodNullable<z.ZodString>;
|
|
2457
|
-
shippingAddress: z.ZodNullable<z.ZodObject<{
|
|
2458
|
-
name: z.ZodNullable<z.ZodString>;
|
|
2459
|
-
address1: z.ZodString;
|
|
2460
|
-
city: z.ZodString;
|
|
2461
|
-
countryCode: z.ZodString;
|
|
2462
|
-
company: z.ZodNullable<z.ZodString>;
|
|
2463
|
-
address2: z.ZodNullable<z.ZodString>;
|
|
2464
|
-
province: z.ZodNullable<z.ZodString>;
|
|
2465
|
-
postalCode: z.ZodNullable<z.ZodString>;
|
|
2466
|
-
district: z.ZodNullable<z.ZodString>;
|
|
2467
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
2468
|
-
latitude: z.ZodNullable<z.ZodNumber>;
|
|
2469
|
-
longitude: z.ZodNullable<z.ZodNumber>;
|
|
2470
|
-
}, "strip", z.ZodTypeAny, {
|
|
2471
|
-
name: string | null;
|
|
2472
|
-
address1: string;
|
|
2473
|
-
city: string;
|
|
2474
|
-
countryCode: string;
|
|
2475
|
-
company: string | null;
|
|
2476
|
-
address2: string | null;
|
|
2477
|
-
province: string | null;
|
|
2478
|
-
postalCode: string | null;
|
|
2479
|
-
district: string | null;
|
|
2480
|
-
phone: string | null;
|
|
2481
|
-
latitude: number | null;
|
|
2482
|
-
longitude: number | null;
|
|
2483
|
-
}, {
|
|
2484
|
-
name: string | null;
|
|
2485
|
-
address1: string;
|
|
2486
|
-
city: string;
|
|
2487
|
-
countryCode: string;
|
|
2488
|
-
company: string | null;
|
|
2489
|
-
address2: string | null;
|
|
2490
|
-
province: string | null;
|
|
2491
|
-
postalCode: string | null;
|
|
2492
|
-
district: string | null;
|
|
2493
|
-
phone: string | null;
|
|
2494
|
-
latitude: number | null;
|
|
2495
|
-
longitude: number | null;
|
|
2496
|
-
}>>;
|
|
2497
|
-
billingAddress: z.ZodNullable<z.ZodObject<{
|
|
2498
|
-
name: z.ZodNullable<z.ZodString>;
|
|
2499
|
-
address1: z.ZodString;
|
|
2500
|
-
city: z.ZodString;
|
|
2501
|
-
countryCode: z.ZodString;
|
|
2502
|
-
company: z.ZodNullable<z.ZodString>;
|
|
2503
|
-
address2: z.ZodNullable<z.ZodString>;
|
|
2504
|
-
province: z.ZodNullable<z.ZodString>;
|
|
2505
|
-
postalCode: z.ZodNullable<z.ZodString>;
|
|
2506
|
-
district: z.ZodNullable<z.ZodString>;
|
|
2507
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
2508
|
-
latitude: z.ZodNullable<z.ZodNumber>;
|
|
2509
|
-
longitude: z.ZodNullable<z.ZodNumber>;
|
|
2510
|
-
}, "strip", z.ZodTypeAny, {
|
|
2511
|
-
name: string | null;
|
|
2512
|
-
address1: string;
|
|
2513
|
-
city: string;
|
|
2514
|
-
countryCode: string;
|
|
2515
|
-
company: string | null;
|
|
2516
|
-
address2: string | null;
|
|
2517
|
-
province: string | null;
|
|
2518
|
-
postalCode: string | null;
|
|
2519
|
-
district: string | null;
|
|
2520
|
-
phone: string | null;
|
|
2521
|
-
latitude: number | null;
|
|
2522
|
-
longitude: number | null;
|
|
2523
|
-
}, {
|
|
2524
|
-
name: string | null;
|
|
2525
|
-
address1: string;
|
|
2526
|
-
city: string;
|
|
2527
|
-
countryCode: string;
|
|
2528
|
-
company: string | null;
|
|
2529
|
-
address2: string | null;
|
|
2530
|
-
province: string | null;
|
|
2531
|
-
postalCode: string | null;
|
|
2532
|
-
district: string | null;
|
|
2533
|
-
phone: string | null;
|
|
2534
|
-
latitude: number | null;
|
|
2535
|
-
longitude: number | null;
|
|
2536
|
-
}>>;
|
|
2537
|
-
promotionCodes: z.ZodArray<z.ZodString, "many">;
|
|
2538
|
-
items: z.ZodArray<z.ZodObject<{
|
|
2539
|
-
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2540
|
-
productId: z.ZodNumber;
|
|
2541
|
-
title: z.ZodString;
|
|
2542
|
-
variantLabel: z.ZodNullable<z.ZodString>;
|
|
2543
|
-
productHandle: z.ZodNullable<z.ZodString>;
|
|
2544
|
-
thumbnail: z.ZodNullable<z.ZodString>;
|
|
2545
|
-
quantity: z.ZodNumber;
|
|
2546
|
-
variantId: z.ZodNumber;
|
|
2547
|
-
variantSku: z.ZodNullable<z.ZodString>;
|
|
2548
|
-
unitPrice: z.ZodNumber;
|
|
2549
|
-
compareAtUnitPrice: z.ZodNullable<z.ZodNumber>;
|
|
2550
|
-
bundleItems: z.ZodArray<z.ZodObject<{
|
|
2551
|
-
productId: z.ZodNumber;
|
|
2552
|
-
variantId: z.ZodNumber;
|
|
2553
|
-
productName: z.ZodString;
|
|
2554
|
-
variantName: z.ZodNullable<z.ZodString>;
|
|
2555
|
-
sku: z.ZodNullable<z.ZodString>;
|
|
2556
|
-
brand: z.ZodNullable<z.ZodString>;
|
|
2557
|
-
imageUrl: z.ZodNullable<z.ZodString>;
|
|
2558
|
-
quantity: z.ZodNumber;
|
|
2559
|
-
}, "strip", z.ZodTypeAny, {
|
|
2560
|
-
imageUrl: string | null;
|
|
2561
|
-
brand: string | null;
|
|
2562
|
-
productId: number;
|
|
2563
|
-
sku: string | null;
|
|
2564
|
-
quantity: number;
|
|
2565
|
-
variantId: number;
|
|
2566
|
-
productName: string;
|
|
2567
|
-
variantName: string | null;
|
|
2568
|
-
}, {
|
|
2569
|
-
imageUrl: string | null;
|
|
2570
|
-
brand: string | null;
|
|
2571
|
-
productId: number;
|
|
2572
|
-
sku: string | null;
|
|
2573
|
-
quantity: number;
|
|
2574
|
-
variantId: number;
|
|
2575
|
-
productName: string;
|
|
2576
|
-
variantName: string | null;
|
|
2577
|
-
}>, "many">;
|
|
2578
|
-
}, "strip", z.ZodTypeAny, {
|
|
2579
|
-
id: string;
|
|
2580
|
-
productId: number;
|
|
2581
|
-
quantity: number;
|
|
2582
|
-
variantId: number;
|
|
2583
|
-
unitPrice: number;
|
|
2584
|
-
bundleItems: {
|
|
2585
|
-
imageUrl: string | null;
|
|
2586
|
-
brand: string | null;
|
|
2587
|
-
productId: number;
|
|
2588
|
-
sku: string | null;
|
|
2589
|
-
quantity: number;
|
|
2590
|
-
variantId: number;
|
|
2591
|
-
productName: string;
|
|
2592
|
-
variantName: string | null;
|
|
2593
|
-
}[];
|
|
2594
|
-
title: string;
|
|
2595
|
-
variantLabel: string | null;
|
|
2596
|
-
productHandle: string | null;
|
|
2597
|
-
thumbnail: string | null;
|
|
2598
|
-
variantSku: string | null;
|
|
2599
|
-
compareAtUnitPrice: number | null;
|
|
2600
|
-
}, {
|
|
2601
|
-
id: string;
|
|
2602
|
-
productId: number;
|
|
2603
|
-
quantity: number;
|
|
2604
|
-
variantId: number;
|
|
2605
|
-
unitPrice: number;
|
|
2606
|
-
bundleItems: {
|
|
2607
|
-
imageUrl: string | null;
|
|
2608
|
-
brand: string | null;
|
|
2609
|
-
productId: number;
|
|
2610
|
-
sku: string | null;
|
|
2611
|
-
quantity: number;
|
|
2612
|
-
variantId: number;
|
|
2613
|
-
productName: string;
|
|
2614
|
-
variantName: string | null;
|
|
2615
|
-
}[];
|
|
2616
|
-
title: string;
|
|
2617
|
-
variantLabel: string | null;
|
|
2618
|
-
productHandle: string | null;
|
|
2619
|
-
thumbnail: string | null;
|
|
2620
|
-
variantSku: string | null;
|
|
2621
|
-
compareAtUnitPrice: number | null;
|
|
2622
|
-
}>, "many">;
|
|
2623
|
-
shippingMethods: z.ZodArray<z.ZodObject<{
|
|
2624
|
-
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
2625
|
-
shippingMethodId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
2626
|
-
rateId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
2627
|
-
name: z.ZodString;
|
|
2628
|
-
description: z.ZodNullable<z.ZodString>;
|
|
2629
|
-
total: z.ZodNumber;
|
|
2630
|
-
locationId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
2631
|
-
estimatedDays: z.ZodNullable<z.ZodNumber>;
|
|
2632
|
-
pickupPointId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
2633
|
-
scheduledDate: z.ZodNullable<z.ZodString>;
|
|
2634
|
-
scheduledTime: z.ZodNullable<z.ZodString>;
|
|
2635
|
-
serviceCode: z.ZodNullable<z.ZodString>;
|
|
2636
|
-
sellerId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
2637
|
-
shippingProfileId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
2638
|
-
}, "strip", z.ZodTypeAny, {
|
|
2639
|
-
id: string;
|
|
2640
|
-
name: string;
|
|
2641
|
-
description: string | null;
|
|
2642
|
-
sellerId: string | null;
|
|
2643
|
-
locationId: string | null;
|
|
2644
|
-
shippingMethodId: string | null;
|
|
2645
|
-
rateId: string | null;
|
|
2646
|
-
total: number;
|
|
2647
|
-
estimatedDays: number | null;
|
|
2648
|
-
pickupPointId: string | null;
|
|
2649
|
-
scheduledDate: string | null;
|
|
2650
|
-
scheduledTime: string | null;
|
|
2651
|
-
serviceCode: string | null;
|
|
2652
|
-
shippingProfileId: string | null;
|
|
2653
|
-
}, {
|
|
2654
|
-
id: string;
|
|
2655
|
-
name: string;
|
|
2656
|
-
description: string | null;
|
|
2657
|
-
sellerId: string | null;
|
|
2658
|
-
locationId: string | null;
|
|
2659
|
-
shippingMethodId: string | null;
|
|
2660
|
-
rateId: string | null;
|
|
2661
|
-
total: number;
|
|
2662
|
-
estimatedDays: number | null;
|
|
2663
|
-
pickupPointId: string | null;
|
|
2664
|
-
scheduledDate: string | null;
|
|
2665
|
-
scheduledTime: string | null;
|
|
2666
|
-
serviceCode: string | null;
|
|
2667
|
-
shippingProfileId: string | null;
|
|
2668
|
-
}>, "many">;
|
|
2669
|
-
totals: z.ZodObject<{
|
|
2670
|
-
subtotal: z.ZodNumber;
|
|
2671
|
-
discountTotal: z.ZodNumber;
|
|
2672
|
-
shippingOriginalTotal: z.ZodNumber;
|
|
2673
|
-
shippingTotal: z.ZodNumber;
|
|
2674
|
-
taxTotal: z.ZodNumber;
|
|
2675
|
-
warrantyTotal: z.ZodNumber;
|
|
2676
|
-
total: z.ZodNumber;
|
|
2677
|
-
}, "strip", z.ZodTypeAny, {
|
|
2678
|
-
total: number;
|
|
2679
|
-
subtotal: number;
|
|
2680
|
-
discountTotal: number;
|
|
2681
|
-
shippingOriginalTotal: number;
|
|
2682
|
-
shippingTotal: number;
|
|
2683
|
-
taxTotal: number;
|
|
2684
|
-
warrantyTotal: number;
|
|
2685
|
-
}, {
|
|
2686
|
-
total: number;
|
|
2687
|
-
subtotal: number;
|
|
2688
|
-
discountTotal: number;
|
|
2689
|
-
shippingOriginalTotal: number;
|
|
2690
|
-
shippingTotal: number;
|
|
2691
|
-
taxTotal: number;
|
|
2692
|
-
warrantyTotal: number;
|
|
2693
|
-
}>;
|
|
2694
|
-
}, "strip", z.ZodTypeAny, {
|
|
2695
|
-
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
2696
|
-
id: string;
|
|
2697
|
-
phone: string | null;
|
|
2698
|
-
cartNumber: string;
|
|
2699
|
-
email: string | null;
|
|
2700
|
-
firstName: string | null;
|
|
2701
|
-
lastName: string | null;
|
|
2702
|
-
currencyCode: string;
|
|
2703
|
-
completedAt: string | null;
|
|
2704
|
-
shippingAddress: {
|
|
2705
|
-
name: string | null;
|
|
2706
|
-
address1: string;
|
|
2707
|
-
city: string;
|
|
2708
|
-
countryCode: string;
|
|
2709
|
-
company: string | null;
|
|
2710
|
-
address2: string | null;
|
|
2711
|
-
province: string | null;
|
|
2712
|
-
postalCode: string | null;
|
|
2713
|
-
district: string | null;
|
|
2714
|
-
phone: string | null;
|
|
2715
|
-
latitude: number | null;
|
|
2716
|
-
longitude: number | null;
|
|
2717
|
-
} | null;
|
|
2718
|
-
billingAddress: {
|
|
2719
|
-
name: string | null;
|
|
2720
|
-
address1: string;
|
|
2721
|
-
city: string;
|
|
2722
|
-
countryCode: string;
|
|
2723
|
-
company: string | null;
|
|
2724
|
-
address2: string | null;
|
|
2725
|
-
province: string | null;
|
|
2726
|
-
postalCode: string | null;
|
|
2727
|
-
district: string | null;
|
|
2728
|
-
phone: string | null;
|
|
2729
|
-
latitude: number | null;
|
|
2730
|
-
longitude: number | null;
|
|
2731
|
-
} | null;
|
|
2732
|
-
promotionCodes: string[];
|
|
2733
|
-
items: {
|
|
2734
|
-
id: string;
|
|
2735
|
-
productId: number;
|
|
2736
|
-
quantity: number;
|
|
2737
|
-
variantId: number;
|
|
2738
|
-
unitPrice: number;
|
|
2739
|
-
bundleItems: {
|
|
2740
|
-
imageUrl: string | null;
|
|
2741
|
-
brand: string | null;
|
|
2742
|
-
productId: number;
|
|
2743
|
-
sku: string | null;
|
|
2744
|
-
quantity: number;
|
|
2745
|
-
variantId: number;
|
|
2746
|
-
productName: string;
|
|
2747
|
-
variantName: string | null;
|
|
2748
|
-
}[];
|
|
2749
|
-
title: string;
|
|
2750
|
-
variantLabel: string | null;
|
|
2751
|
-
productHandle: string | null;
|
|
2752
|
-
thumbnail: string | null;
|
|
2753
|
-
variantSku: string | null;
|
|
2754
|
-
compareAtUnitPrice: number | null;
|
|
2755
|
-
}[];
|
|
2756
|
-
shippingMethods: {
|
|
2757
|
-
id: string;
|
|
2758
|
-
name: string;
|
|
2759
|
-
description: string | null;
|
|
2760
|
-
sellerId: string | null;
|
|
2761
|
-
locationId: string | null;
|
|
2762
|
-
shippingMethodId: string | null;
|
|
2763
|
-
rateId: string | null;
|
|
2764
|
-
total: number;
|
|
2765
|
-
estimatedDays: number | null;
|
|
2766
|
-
pickupPointId: string | null;
|
|
2767
|
-
scheduledDate: string | null;
|
|
2768
|
-
scheduledTime: string | null;
|
|
2769
|
-
serviceCode: string | null;
|
|
2770
|
-
shippingProfileId: string | null;
|
|
2771
|
-
}[];
|
|
2772
|
-
totals: {
|
|
2773
|
-
total: number;
|
|
2774
|
-
subtotal: number;
|
|
2775
|
-
discountTotal: number;
|
|
2776
|
-
shippingOriginalTotal: number;
|
|
2777
|
-
shippingTotal: number;
|
|
2778
|
-
taxTotal: number;
|
|
2779
|
-
warrantyTotal: number;
|
|
2780
|
-
};
|
|
2781
|
-
}, {
|
|
2782
|
-
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
2783
|
-
id: string;
|
|
2784
|
-
phone: string | null;
|
|
2785
|
-
cartNumber: string;
|
|
2786
|
-
email: string | null;
|
|
2787
|
-
firstName: string | null;
|
|
2788
|
-
lastName: string | null;
|
|
2789
|
-
currencyCode: string;
|
|
2790
|
-
completedAt: string | null;
|
|
2791
|
-
shippingAddress: {
|
|
2792
|
-
name: string | null;
|
|
2793
|
-
address1: string;
|
|
2794
|
-
city: string;
|
|
2795
|
-
countryCode: string;
|
|
2796
|
-
company: string | null;
|
|
2797
|
-
address2: string | null;
|
|
2798
|
-
province: string | null;
|
|
2799
|
-
postalCode: string | null;
|
|
2800
|
-
district: string | null;
|
|
2801
|
-
phone: string | null;
|
|
2802
|
-
latitude: number | null;
|
|
2803
|
-
longitude: number | null;
|
|
2804
|
-
} | null;
|
|
2805
|
-
billingAddress: {
|
|
2806
|
-
name: string | null;
|
|
2807
|
-
address1: string;
|
|
2808
|
-
city: string;
|
|
2809
|
-
countryCode: string;
|
|
2810
|
-
company: string | null;
|
|
2811
|
-
address2: string | null;
|
|
2812
|
-
province: string | null;
|
|
2813
|
-
postalCode: string | null;
|
|
2814
|
-
district: string | null;
|
|
2815
|
-
phone: string | null;
|
|
2816
|
-
latitude: number | null;
|
|
2817
|
-
longitude: number | null;
|
|
2818
|
-
} | null;
|
|
2819
|
-
promotionCodes: string[];
|
|
2820
|
-
items: {
|
|
2821
|
-
id: string;
|
|
2822
|
-
productId: number;
|
|
2823
|
-
quantity: number;
|
|
2824
|
-
variantId: number;
|
|
2825
|
-
unitPrice: number;
|
|
2826
|
-
bundleItems: {
|
|
2827
|
-
imageUrl: string | null;
|
|
2828
|
-
brand: string | null;
|
|
2829
|
-
productId: number;
|
|
2830
|
-
sku: string | null;
|
|
2831
|
-
quantity: number;
|
|
2832
|
-
variantId: number;
|
|
2833
|
-
productName: string;
|
|
2834
|
-
variantName: string | null;
|
|
2835
|
-
}[];
|
|
2836
|
-
title: string;
|
|
2837
|
-
variantLabel: string | null;
|
|
2838
|
-
productHandle: string | null;
|
|
2839
|
-
thumbnail: string | null;
|
|
2840
|
-
variantSku: string | null;
|
|
2841
|
-
compareAtUnitPrice: number | null;
|
|
2842
|
-
}[];
|
|
2843
|
-
shippingMethods: {
|
|
2844
|
-
id: string;
|
|
2845
|
-
name: string;
|
|
2846
|
-
description: string | null;
|
|
2847
|
-
sellerId: string | null;
|
|
2848
|
-
locationId: string | null;
|
|
2849
|
-
shippingMethodId: string | null;
|
|
2850
|
-
rateId: string | null;
|
|
2851
|
-
total: number;
|
|
2852
|
-
estimatedDays: number | null;
|
|
2853
|
-
pickupPointId: string | null;
|
|
2854
|
-
scheduledDate: string | null;
|
|
2855
|
-
scheduledTime: string | null;
|
|
2856
|
-
serviceCode: string | null;
|
|
2857
|
-
shippingProfileId: string | null;
|
|
2858
|
-
}[];
|
|
2859
|
-
totals: {
|
|
2860
|
-
total: number;
|
|
2861
|
-
subtotal: number;
|
|
2862
|
-
discountTotal: number;
|
|
2863
|
-
shippingOriginalTotal: number;
|
|
2864
|
-
shippingTotal: number;
|
|
2865
|
-
taxTotal: number;
|
|
2866
|
-
warrantyTotal: number;
|
|
2867
|
-
};
|
|
2868
|
-
}>>;
|
|
2869
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2870
|
-
publicKey: z.ZodOptional<z.ZodString>;
|
|
2871
|
-
publishableKey: z.ZodOptional<z.ZodString>;
|
|
2872
|
-
stripePublicKey: z.ZodOptional<z.ZodString>;
|
|
2873
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
2874
|
-
intentClientSecret: z.ZodOptional<z.ZodString>;
|
|
2875
|
-
orderId: z.ZodOptional<z.ZodString>;
|
|
2876
|
-
orderGroup: z.ZodOptional<z.ZodString>;
|
|
2877
|
-
orderIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2878
|
-
payment: z.ZodOptional<z.ZodObject<{
|
|
2879
|
-
transactionId: z.ZodString;
|
|
2880
|
-
paymentMethodCode: z.ZodString;
|
|
2881
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2882
|
-
status: z.ZodString;
|
|
2883
|
-
amount: z.ZodNumber;
|
|
2884
|
-
reference: z.ZodString;
|
|
2885
|
-
actionType: z.ZodString;
|
|
2886
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2887
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2888
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2889
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2890
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2891
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2892
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2893
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2894
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2895
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2896
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2897
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2898
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2899
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2900
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2901
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2902
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2903
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2904
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2905
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2906
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2907
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2908
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2909
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2910
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2911
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2912
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2913
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2914
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2915
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2916
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2917
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2918
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2919
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2920
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2921
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2922
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2923
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2924
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2925
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2926
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2927
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2928
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2929
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2930
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2931
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2932
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2933
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2934
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2935
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2936
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2937
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2938
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2939
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2940
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2941
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2942
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2943
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2944
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2945
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2946
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2947
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2948
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2949
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2950
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2951
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2952
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2953
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2954
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2955
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2956
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2957
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2958
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2959
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2960
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2961
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2962
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2963
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2964
|
-
transactionId: z.ZodString;
|
|
2965
|
-
paymentMethodCode: z.ZodString;
|
|
2966
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2967
|
-
status: z.ZodString;
|
|
2968
|
-
amount: z.ZodNumber;
|
|
2969
|
-
reference: z.ZodString;
|
|
2970
|
-
actionType: z.ZodString;
|
|
2971
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2972
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2973
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2974
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2975
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2976
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2977
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2978
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2979
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2980
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2981
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2982
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2983
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2984
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2985
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2986
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2987
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2988
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2989
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2990
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2991
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
2992
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2993
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2994
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2995
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2996
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2997
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
2998
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2999
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3000
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3001
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3002
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3003
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3004
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3005
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3006
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3007
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3008
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3009
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3010
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3011
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3012
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3013
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3014
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3015
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3016
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
3017
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3018
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3019
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3020
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3021
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3022
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3023
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3024
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3025
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3026
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3027
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3028
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3029
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3030
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3031
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3032
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3033
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3034
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3035
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3036
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3037
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3038
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3039
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3040
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3041
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
3042
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3043
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3044
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3045
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3046
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3047
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
3048
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3049
|
-
transactionId: z.ZodString;
|
|
3050
|
-
paymentMethodCode: z.ZodString;
|
|
3051
|
-
providerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3052
|
-
status: z.ZodString;
|
|
3053
|
-
amount: z.ZodNumber;
|
|
3054
|
-
reference: z.ZodString;
|
|
3055
|
-
actionType: z.ZodString;
|
|
3056
|
-
receiptUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3057
|
-
action: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3058
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3059
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3060
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3061
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3062
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3063
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3064
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3065
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3066
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3067
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3068
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3069
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3070
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3071
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3072
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3073
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3074
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3075
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3076
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
3077
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3078
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3079
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3080
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3081
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3082
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3083
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3084
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3085
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3086
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3087
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3088
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3089
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3090
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3091
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3092
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3093
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3094
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3095
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3096
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3097
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3098
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3099
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3100
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3101
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
3102
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3103
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3104
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3105
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3106
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3107
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3108
|
-
publicConfiguration: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
3109
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3110
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3111
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3112
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3113
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3114
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3115
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3116
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3117
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3118
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3119
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3120
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3121
|
-
publishableKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3122
|
-
checkoutMode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3123
|
-
phoneNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3124
|
-
accountHolder: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3125
|
-
qrImageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3126
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
3127
|
-
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3128
|
-
html: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3129
|
-
clientSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3130
|
-
qrCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3131
|
-
expiresAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3132
|
-
}, z.ZodTypeAny, "passthrough">>>>;
|
|
3133
|
-
}, z.ZodTypeAny, "passthrough">>>;
|
|
3134
|
-
cart: z.ZodOptional<z.ZodObject<{
|
|
3135
|
-
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
3136
|
-
cartNumber: z.ZodString;
|
|
3137
|
-
email: z.ZodNullable<z.ZodString>;
|
|
3138
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
3139
|
-
firstName: z.ZodNullable<z.ZodString>;
|
|
3140
|
-
lastName: z.ZodNullable<z.ZodString>;
|
|
3141
|
-
currencyCode: z.ZodString;
|
|
3142
|
-
status: z.ZodEnum<["inProgress", "pending", "completed", "abandoned", "cancelled", "expired", "failed"]>;
|
|
3143
|
-
completedAt: z.ZodNullable<z.ZodString>;
|
|
3144
|
-
shippingAddress: z.ZodNullable<z.ZodObject<{
|
|
3145
|
-
name: z.ZodNullable<z.ZodString>;
|
|
3146
|
-
address1: z.ZodString;
|
|
3147
|
-
city: z.ZodString;
|
|
3148
|
-
countryCode: z.ZodString;
|
|
3149
|
-
company: z.ZodNullable<z.ZodString>;
|
|
3150
|
-
address2: z.ZodNullable<z.ZodString>;
|
|
3151
|
-
province: z.ZodNullable<z.ZodString>;
|
|
3152
|
-
postalCode: z.ZodNullable<z.ZodString>;
|
|
3153
|
-
district: z.ZodNullable<z.ZodString>;
|
|
3154
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
3155
|
-
latitude: z.ZodNullable<z.ZodNumber>;
|
|
3156
|
-
longitude: z.ZodNullable<z.ZodNumber>;
|
|
3157
|
-
}, "strip", z.ZodTypeAny, {
|
|
3158
|
-
name: string | null;
|
|
3159
|
-
address1: string;
|
|
3160
|
-
city: string;
|
|
3161
|
-
countryCode: string;
|
|
3162
|
-
company: string | null;
|
|
3163
|
-
address2: string | null;
|
|
3164
|
-
province: string | null;
|
|
3165
|
-
postalCode: string | null;
|
|
3166
|
-
district: string | null;
|
|
3167
|
-
phone: string | null;
|
|
3168
|
-
latitude: number | null;
|
|
3169
|
-
longitude: number | null;
|
|
3170
|
-
}, {
|
|
3171
|
-
name: string | null;
|
|
3172
|
-
address1: string;
|
|
3173
|
-
city: string;
|
|
3174
|
-
countryCode: string;
|
|
3175
|
-
company: string | null;
|
|
3176
|
-
address2: string | null;
|
|
3177
|
-
province: string | null;
|
|
3178
|
-
postalCode: string | null;
|
|
3179
|
-
district: string | null;
|
|
3180
|
-
phone: string | null;
|
|
3181
|
-
latitude: number | null;
|
|
3182
|
-
longitude: number | null;
|
|
3183
|
-
}>>;
|
|
3184
|
-
billingAddress: z.ZodNullable<z.ZodObject<{
|
|
3185
|
-
name: z.ZodNullable<z.ZodString>;
|
|
3186
|
-
address1: z.ZodString;
|
|
3187
|
-
city: z.ZodString;
|
|
3188
|
-
countryCode: z.ZodString;
|
|
3189
|
-
company: z.ZodNullable<z.ZodString>;
|
|
3190
|
-
address2: z.ZodNullable<z.ZodString>;
|
|
3191
|
-
province: z.ZodNullable<z.ZodString>;
|
|
3192
|
-
postalCode: z.ZodNullable<z.ZodString>;
|
|
3193
|
-
district: z.ZodNullable<z.ZodString>;
|
|
3194
|
-
phone: z.ZodNullable<z.ZodString>;
|
|
3195
|
-
latitude: z.ZodNullable<z.ZodNumber>;
|
|
3196
|
-
longitude: z.ZodNullable<z.ZodNumber>;
|
|
3197
|
-
}, "strip", z.ZodTypeAny, {
|
|
3198
|
-
name: string | null;
|
|
3199
|
-
address1: string;
|
|
3200
|
-
city: string;
|
|
3201
|
-
countryCode: string;
|
|
3202
|
-
company: string | null;
|
|
3203
|
-
address2: string | null;
|
|
3204
|
-
province: string | null;
|
|
3205
|
-
postalCode: string | null;
|
|
3206
|
-
district: string | null;
|
|
3207
|
-
phone: string | null;
|
|
3208
|
-
latitude: number | null;
|
|
3209
|
-
longitude: number | null;
|
|
3210
|
-
}, {
|
|
3211
|
-
name: string | null;
|
|
3212
|
-
address1: string;
|
|
3213
|
-
city: string;
|
|
3214
|
-
countryCode: string;
|
|
3215
|
-
company: string | null;
|
|
3216
|
-
address2: string | null;
|
|
3217
|
-
province: string | null;
|
|
3218
|
-
postalCode: string | null;
|
|
3219
|
-
district: string | null;
|
|
3220
|
-
phone: string | null;
|
|
3221
|
-
latitude: number | null;
|
|
3222
|
-
longitude: number | null;
|
|
3223
|
-
}>>;
|
|
3224
|
-
promotionCodes: z.ZodArray<z.ZodString, "many">;
|
|
3225
|
-
items: z.ZodArray<z.ZodObject<{
|
|
3226
|
-
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
3227
|
-
productId: z.ZodNumber;
|
|
3228
|
-
title: z.ZodString;
|
|
3229
|
-
variantLabel: z.ZodNullable<z.ZodString>;
|
|
3230
|
-
productHandle: z.ZodNullable<z.ZodString>;
|
|
3231
|
-
thumbnail: z.ZodNullable<z.ZodString>;
|
|
3232
|
-
quantity: z.ZodNumber;
|
|
3233
|
-
variantId: z.ZodNumber;
|
|
3234
|
-
variantSku: z.ZodNullable<z.ZodString>;
|
|
3235
|
-
unitPrice: z.ZodNumber;
|
|
3236
|
-
compareAtUnitPrice: z.ZodNullable<z.ZodNumber>;
|
|
3237
|
-
bundleItems: z.ZodArray<z.ZodObject<{
|
|
3238
|
-
productId: z.ZodNumber;
|
|
3239
|
-
variantId: z.ZodNumber;
|
|
3240
|
-
productName: z.ZodString;
|
|
3241
|
-
variantName: z.ZodNullable<z.ZodString>;
|
|
3242
|
-
sku: z.ZodNullable<z.ZodString>;
|
|
3243
|
-
brand: z.ZodNullable<z.ZodString>;
|
|
3244
|
-
imageUrl: z.ZodNullable<z.ZodString>;
|
|
3245
|
-
quantity: z.ZodNumber;
|
|
3246
|
-
}, "strip", z.ZodTypeAny, {
|
|
3247
|
-
imageUrl: string | null;
|
|
3248
|
-
brand: string | null;
|
|
3249
|
-
productId: number;
|
|
3250
|
-
sku: string | null;
|
|
3251
|
-
quantity: number;
|
|
3252
|
-
variantId: number;
|
|
3253
|
-
productName: string;
|
|
3254
|
-
variantName: string | null;
|
|
3255
|
-
}, {
|
|
3256
|
-
imageUrl: string | null;
|
|
3257
|
-
brand: string | null;
|
|
3258
|
-
productId: number;
|
|
3259
|
-
sku: string | null;
|
|
3260
|
-
quantity: number;
|
|
3261
|
-
variantId: number;
|
|
3262
|
-
productName: string;
|
|
3263
|
-
variantName: string | null;
|
|
3264
|
-
}>, "many">;
|
|
3265
|
-
}, "strip", z.ZodTypeAny, {
|
|
3266
|
-
id: string;
|
|
3267
|
-
productId: number;
|
|
3268
|
-
quantity: number;
|
|
3269
|
-
variantId: number;
|
|
3270
|
-
unitPrice: number;
|
|
3271
|
-
bundleItems: {
|
|
3272
|
-
imageUrl: string | null;
|
|
3273
|
-
brand: string | null;
|
|
3274
|
-
productId: number;
|
|
3275
|
-
sku: string | null;
|
|
3276
|
-
quantity: number;
|
|
3277
|
-
variantId: number;
|
|
3278
|
-
productName: string;
|
|
3279
|
-
variantName: string | null;
|
|
3280
|
-
}[];
|
|
3281
|
-
title: string;
|
|
3282
|
-
variantLabel: string | null;
|
|
3283
|
-
productHandle: string | null;
|
|
3284
|
-
thumbnail: string | null;
|
|
3285
|
-
variantSku: string | null;
|
|
3286
|
-
compareAtUnitPrice: number | null;
|
|
3287
|
-
}, {
|
|
3288
|
-
id: string;
|
|
3289
|
-
productId: number;
|
|
3290
|
-
quantity: number;
|
|
3291
|
-
variantId: number;
|
|
3292
|
-
unitPrice: number;
|
|
3293
|
-
bundleItems: {
|
|
3294
|
-
imageUrl: string | null;
|
|
3295
|
-
brand: string | null;
|
|
3296
|
-
productId: number;
|
|
3297
|
-
sku: string | null;
|
|
3298
|
-
quantity: number;
|
|
3299
|
-
variantId: number;
|
|
3300
|
-
productName: string;
|
|
3301
|
-
variantName: string | null;
|
|
3302
|
-
}[];
|
|
3303
|
-
title: string;
|
|
3304
|
-
variantLabel: string | null;
|
|
3305
|
-
productHandle: string | null;
|
|
3306
|
-
thumbnail: string | null;
|
|
3307
|
-
variantSku: string | null;
|
|
3308
|
-
compareAtUnitPrice: number | null;
|
|
3309
|
-
}>, "many">;
|
|
3310
|
-
shippingMethods: z.ZodArray<z.ZodObject<{
|
|
3311
|
-
id: z.ZodUnion<[z.ZodString, z.ZodString]>;
|
|
3312
|
-
shippingMethodId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
3313
|
-
rateId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
3314
|
-
name: z.ZodString;
|
|
3315
|
-
description: z.ZodNullable<z.ZodString>;
|
|
3316
|
-
total: z.ZodNumber;
|
|
3317
|
-
locationId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
3318
|
-
estimatedDays: z.ZodNullable<z.ZodNumber>;
|
|
3319
|
-
pickupPointId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
3320
|
-
scheduledDate: z.ZodNullable<z.ZodString>;
|
|
3321
|
-
scheduledTime: z.ZodNullable<z.ZodString>;
|
|
3322
|
-
serviceCode: z.ZodNullable<z.ZodString>;
|
|
3323
|
-
sellerId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
3324
|
-
shippingProfileId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
|
|
3325
|
-
}, "strip", z.ZodTypeAny, {
|
|
3326
|
-
id: string;
|
|
3327
|
-
name: string;
|
|
3328
|
-
description: string | null;
|
|
3329
|
-
sellerId: string | null;
|
|
3330
|
-
locationId: string | null;
|
|
3331
|
-
shippingMethodId: string | null;
|
|
3332
|
-
rateId: string | null;
|
|
3333
|
-
total: number;
|
|
3334
|
-
estimatedDays: number | null;
|
|
3335
|
-
pickupPointId: string | null;
|
|
3336
|
-
scheduledDate: string | null;
|
|
3337
|
-
scheduledTime: string | null;
|
|
3338
|
-
serviceCode: string | null;
|
|
3339
|
-
shippingProfileId: string | null;
|
|
3340
|
-
}, {
|
|
3341
|
-
id: string;
|
|
3342
|
-
name: string;
|
|
3343
|
-
description: string | null;
|
|
3344
|
-
sellerId: string | null;
|
|
3345
|
-
locationId: string | null;
|
|
3346
|
-
shippingMethodId: string | null;
|
|
3347
|
-
rateId: string | null;
|
|
3348
|
-
total: number;
|
|
3349
|
-
estimatedDays: number | null;
|
|
3350
|
-
pickupPointId: string | null;
|
|
3351
|
-
scheduledDate: string | null;
|
|
3352
|
-
scheduledTime: string | null;
|
|
3353
|
-
serviceCode: string | null;
|
|
3354
|
-
shippingProfileId: string | null;
|
|
3355
|
-
}>, "many">;
|
|
3356
|
-
totals: z.ZodObject<{
|
|
3357
|
-
subtotal: z.ZodNumber;
|
|
3358
|
-
discountTotal: z.ZodNumber;
|
|
3359
|
-
shippingOriginalTotal: z.ZodNumber;
|
|
3360
|
-
shippingTotal: z.ZodNumber;
|
|
3361
|
-
taxTotal: z.ZodNumber;
|
|
3362
|
-
warrantyTotal: z.ZodNumber;
|
|
3363
|
-
total: z.ZodNumber;
|
|
3364
|
-
}, "strip", z.ZodTypeAny, {
|
|
3365
|
-
total: number;
|
|
3366
|
-
subtotal: number;
|
|
3367
|
-
discountTotal: number;
|
|
3368
|
-
shippingOriginalTotal: number;
|
|
3369
|
-
shippingTotal: number;
|
|
3370
|
-
taxTotal: number;
|
|
3371
|
-
warrantyTotal: number;
|
|
3372
|
-
}, {
|
|
3373
|
-
total: number;
|
|
3374
|
-
subtotal: number;
|
|
3375
|
-
discountTotal: number;
|
|
3376
|
-
shippingOriginalTotal: number;
|
|
3377
|
-
shippingTotal: number;
|
|
3378
|
-
taxTotal: number;
|
|
3379
|
-
warrantyTotal: number;
|
|
3380
|
-
}>;
|
|
3381
|
-
}, "strip", z.ZodTypeAny, {
|
|
1874
|
+
}, "strip", z.ZodTypeAny, {
|
|
1875
|
+
orderId?: string | undefined;
|
|
1876
|
+
cart?: {
|
|
3382
1877
|
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
3383
1878
|
id: string;
|
|
3384
1879
|
phone: string | null;
|
|
1880
|
+
token: string;
|
|
3385
1881
|
cartNumber: string;
|
|
3386
1882
|
email: string | null;
|
|
3387
1883
|
firstName: string | null;
|
|
@@ -3419,17 +1915,17 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
3419
1915
|
promotionCodes: string[];
|
|
3420
1916
|
items: {
|
|
3421
1917
|
id: string;
|
|
3422
|
-
productId:
|
|
1918
|
+
productId: string | null;
|
|
3423
1919
|
quantity: number;
|
|
3424
|
-
variantId:
|
|
1920
|
+
variantId: string | null;
|
|
3425
1921
|
unitPrice: number;
|
|
3426
1922
|
bundleItems: {
|
|
3427
1923
|
imageUrl: string | null;
|
|
3428
1924
|
brand: string | null;
|
|
3429
|
-
productId:
|
|
1925
|
+
productId: string;
|
|
3430
1926
|
sku: string | null;
|
|
3431
1927
|
quantity: number;
|
|
3432
|
-
variantId:
|
|
1928
|
+
variantId: string;
|
|
3433
1929
|
productName: string;
|
|
3434
1930
|
variantName: string | null;
|
|
3435
1931
|
}[];
|
|
@@ -3465,10 +1961,45 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
3465
1961
|
taxTotal: number;
|
|
3466
1962
|
warrantyTotal: number;
|
|
3467
1963
|
};
|
|
3468
|
-
}
|
|
1964
|
+
} | undefined;
|
|
1965
|
+
publishableKey?: string | undefined;
|
|
1966
|
+
clientSecret?: string | undefined;
|
|
1967
|
+
publicKey?: string | undefined;
|
|
1968
|
+
stripePublicKey?: string | undefined;
|
|
1969
|
+
intentClientSecret?: string | undefined;
|
|
1970
|
+
orderGroup?: string | undefined;
|
|
1971
|
+
orderIds?: string[] | undefined;
|
|
1972
|
+
payment?: {
|
|
1973
|
+
status: string;
|
|
1974
|
+
transactionId: string;
|
|
1975
|
+
paymentMethodCode: string;
|
|
1976
|
+
amount: number;
|
|
1977
|
+
reference: string;
|
|
1978
|
+
actionType: string;
|
|
1979
|
+
providerId?: string | null | undefined;
|
|
1980
|
+
receiptUrl?: string | null | undefined;
|
|
1981
|
+
action?: {
|
|
1982
|
+
url?: string | null | undefined;
|
|
1983
|
+
publicConfiguration?: {
|
|
1984
|
+
phoneNumber?: string | null | undefined;
|
|
1985
|
+
accountHolder?: string | null | undefined;
|
|
1986
|
+
qrImageUrl?: string | null | undefined;
|
|
1987
|
+
publishableKey?: string | null | undefined;
|
|
1988
|
+
checkoutMode?: string | null | undefined;
|
|
1989
|
+
} | null | undefined;
|
|
1990
|
+
html?: string | null | undefined;
|
|
1991
|
+
clientSecret?: string | null | undefined;
|
|
1992
|
+
qrCode?: string | null | undefined;
|
|
1993
|
+
expiresAt?: string | null | undefined;
|
|
1994
|
+
} | null | undefined;
|
|
1995
|
+
} | undefined;
|
|
1996
|
+
}, {
|
|
1997
|
+
orderId?: string | undefined;
|
|
1998
|
+
cart?: {
|
|
3469
1999
|
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
3470
2000
|
id: string;
|
|
3471
2001
|
phone: string | null;
|
|
2002
|
+
token: string;
|
|
3472
2003
|
cartNumber: string;
|
|
3473
2004
|
email: string | null;
|
|
3474
2005
|
firstName: string | null;
|
|
@@ -3506,17 +2037,17 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
3506
2037
|
promotionCodes: string[];
|
|
3507
2038
|
items: {
|
|
3508
2039
|
id: string;
|
|
3509
|
-
productId:
|
|
2040
|
+
productId: string | null;
|
|
3510
2041
|
quantity: number;
|
|
3511
|
-
variantId:
|
|
2042
|
+
variantId: string | null;
|
|
3512
2043
|
unitPrice: number;
|
|
3513
2044
|
bundleItems: {
|
|
3514
2045
|
imageUrl: string | null;
|
|
3515
2046
|
brand: string | null;
|
|
3516
|
-
productId:
|
|
2047
|
+
productId: string;
|
|
3517
2048
|
sku: string | null;
|
|
3518
2049
|
quantity: number;
|
|
3519
|
-
variantId:
|
|
2050
|
+
variantId: string;
|
|
3520
2051
|
productName: string;
|
|
3521
2052
|
variantName: string | null;
|
|
3522
2053
|
}[];
|
|
@@ -3552,21 +2083,52 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
3552
2083
|
taxTotal: number;
|
|
3553
2084
|
warrantyTotal: number;
|
|
3554
2085
|
};
|
|
3555
|
-
}
|
|
3556
|
-
|
|
2086
|
+
} | undefined;
|
|
2087
|
+
publishableKey?: string | undefined;
|
|
2088
|
+
clientSecret?: string | undefined;
|
|
2089
|
+
publicKey?: string | undefined;
|
|
2090
|
+
stripePublicKey?: string | undefined;
|
|
2091
|
+
intentClientSecret?: string | undefined;
|
|
2092
|
+
orderGroup?: string | undefined;
|
|
2093
|
+
orderIds?: string[] | undefined;
|
|
2094
|
+
payment?: {
|
|
2095
|
+
status: string;
|
|
2096
|
+
transactionId: string;
|
|
2097
|
+
paymentMethodCode: string;
|
|
2098
|
+
amount: number;
|
|
2099
|
+
reference: string;
|
|
2100
|
+
actionType: string;
|
|
2101
|
+
providerId?: string | null | undefined;
|
|
2102
|
+
receiptUrl?: string | null | undefined;
|
|
2103
|
+
action?: {
|
|
2104
|
+
url?: string | null | undefined;
|
|
2105
|
+
publicConfiguration?: {
|
|
2106
|
+
phoneNumber?: string | null | undefined;
|
|
2107
|
+
accountHolder?: string | null | undefined;
|
|
2108
|
+
qrImageUrl?: string | null | undefined;
|
|
2109
|
+
publishableKey?: string | null | undefined;
|
|
2110
|
+
checkoutMode?: string | null | undefined;
|
|
2111
|
+
} | null | undefined;
|
|
2112
|
+
html?: string | null | undefined;
|
|
2113
|
+
clientSecret?: string | null | undefined;
|
|
2114
|
+
qrCode?: string | null | undefined;
|
|
2115
|
+
expiresAt?: string | null | undefined;
|
|
2116
|
+
} | null | undefined;
|
|
2117
|
+
} | undefined;
|
|
2118
|
+
}>;
|
|
3557
2119
|
type CartCheckoutResponse = z.infer<typeof CartCheckoutResponseSchema>;
|
|
3558
2120
|
declare const CartCheckoutParamsSchema: z.ZodObject<{
|
|
3559
|
-
|
|
2121
|
+
cartToken: z.ZodString;
|
|
3560
2122
|
paymentMethodCode: z.ZodString;
|
|
3561
2123
|
externalRef: z.ZodString;
|
|
3562
2124
|
receiptUrl: z.ZodOptional<z.ZodString>;
|
|
3563
2125
|
}, "strip", z.ZodTypeAny, {
|
|
3564
|
-
|
|
2126
|
+
cartToken: string;
|
|
3565
2127
|
paymentMethodCode: string;
|
|
3566
2128
|
externalRef: string;
|
|
3567
2129
|
receiptUrl?: string | undefined;
|
|
3568
2130
|
}, {
|
|
3569
|
-
|
|
2131
|
+
cartToken: string;
|
|
3570
2132
|
paymentMethodCode: string;
|
|
3571
2133
|
externalRef: string;
|
|
3572
2134
|
receiptUrl?: string | undefined;
|
|
@@ -3586,180 +2148,46 @@ declare const ShippingRateSchema: z.ZodObject<{
|
|
|
3586
2148
|
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3587
2149
|
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3588
2150
|
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3589
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3590
|
-
}, "
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
metadata
|
|
3605
|
-
},
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
metadata
|
|
3620
|
-
}
|
|
3621
|
-
type ShippingRate = z.infer<typeof ShippingRateSchema>;
|
|
3622
|
-
declare const ShippingOptionGroupSchema: z.ZodObject<{
|
|
3623
|
-
sellerId: z.ZodString;
|
|
3624
|
-
shippingProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3625
|
-
orderAmount: z.ZodOptional<z.ZodNumber>;
|
|
3626
|
-
totalWeight: z.ZodOptional<z.ZodNumber>;
|
|
3627
|
-
itemIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3628
|
-
rates: z.ZodArray<z.ZodObject<{
|
|
3629
|
-
shippingMethodId: z.ZodString;
|
|
3630
|
-
name: z.ZodString;
|
|
3631
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3632
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3633
|
-
price: z.ZodNumber;
|
|
3634
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3635
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3636
|
-
rateId: z.ZodString;
|
|
3637
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3638
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3639
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3640
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3641
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3642
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3643
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3644
|
-
shippingMethodId: z.ZodString;
|
|
3645
|
-
name: z.ZodString;
|
|
3646
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3647
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3648
|
-
price: z.ZodNumber;
|
|
3649
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3650
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3651
|
-
rateId: z.ZodString;
|
|
3652
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3653
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3654
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3655
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3656
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3657
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3658
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3659
|
-
shippingMethodId: z.ZodString;
|
|
3660
|
-
name: z.ZodString;
|
|
3661
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3662
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3663
|
-
price: z.ZodNumber;
|
|
3664
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3665
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3666
|
-
rateId: z.ZodString;
|
|
3667
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3668
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3669
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3670
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3671
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3672
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3673
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
3674
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3675
|
-
sellerId: z.ZodString;
|
|
3676
|
-
shippingProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3677
|
-
orderAmount: z.ZodOptional<z.ZodNumber>;
|
|
3678
|
-
totalWeight: z.ZodOptional<z.ZodNumber>;
|
|
3679
|
-
itemIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3680
|
-
rates: z.ZodArray<z.ZodObject<{
|
|
3681
|
-
shippingMethodId: z.ZodString;
|
|
3682
|
-
name: z.ZodString;
|
|
3683
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3684
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3685
|
-
price: z.ZodNumber;
|
|
3686
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3687
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3688
|
-
rateId: z.ZodString;
|
|
3689
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3690
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3691
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3692
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3693
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3694
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3695
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3696
|
-
shippingMethodId: z.ZodString;
|
|
3697
|
-
name: z.ZodString;
|
|
3698
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3699
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3700
|
-
price: z.ZodNumber;
|
|
3701
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3702
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3703
|
-
rateId: z.ZodString;
|
|
3704
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3705
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3706
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3707
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3708
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3709
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3710
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3711
|
-
shippingMethodId: z.ZodString;
|
|
3712
|
-
name: z.ZodString;
|
|
3713
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3714
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3715
|
-
price: z.ZodNumber;
|
|
3716
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3717
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3718
|
-
rateId: z.ZodString;
|
|
3719
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3720
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3721
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3722
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3723
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3724
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3725
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
3726
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3727
|
-
sellerId: z.ZodString;
|
|
3728
|
-
shippingProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3729
|
-
orderAmount: z.ZodOptional<z.ZodNumber>;
|
|
3730
|
-
totalWeight: z.ZodOptional<z.ZodNumber>;
|
|
3731
|
-
itemIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3732
|
-
rates: z.ZodArray<z.ZodObject<{
|
|
3733
|
-
shippingMethodId: z.ZodString;
|
|
3734
|
-
name: z.ZodString;
|
|
3735
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3736
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3737
|
-
price: z.ZodNumber;
|
|
3738
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3739
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3740
|
-
rateId: z.ZodString;
|
|
3741
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3742
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3743
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3744
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3745
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3746
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3747
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3748
|
-
shippingMethodId: z.ZodString;
|
|
3749
|
-
name: z.ZodString;
|
|
3750
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3751
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3752
|
-
price: z.ZodNumber;
|
|
3753
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3754
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3755
|
-
rateId: z.ZodString;
|
|
3756
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3757
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3758
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3759
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3760
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3761
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3762
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
2151
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<CheckoutMetadataValue, z.ZodTypeDef, CheckoutMetadataValue>>>;
|
|
2152
|
+
}, "strip", z.ZodTypeAny, {
|
|
2153
|
+
name: string;
|
|
2154
|
+
price: number;
|
|
2155
|
+
shippingMethodId: string;
|
|
2156
|
+
rateId: string;
|
|
2157
|
+
type?: string | undefined;
|
|
2158
|
+
description?: string | null | undefined;
|
|
2159
|
+
serviceCode?: string | null | undefined;
|
|
2160
|
+
sortOrder?: number | undefined;
|
|
2161
|
+
displayName?: string | undefined;
|
|
2162
|
+
currency?: string | undefined;
|
|
2163
|
+
deliveryLocationId?: string | null | undefined;
|
|
2164
|
+
deliveryLocationName?: string | null | undefined;
|
|
2165
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2166
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2167
|
+
}, {
|
|
2168
|
+
name: string;
|
|
2169
|
+
price: number;
|
|
2170
|
+
shippingMethodId: string;
|
|
2171
|
+
rateId: string;
|
|
2172
|
+
type?: string | undefined;
|
|
2173
|
+
description?: string | null | undefined;
|
|
2174
|
+
serviceCode?: string | null | undefined;
|
|
2175
|
+
sortOrder?: number | undefined;
|
|
2176
|
+
displayName?: string | undefined;
|
|
2177
|
+
currency?: string | undefined;
|
|
2178
|
+
deliveryLocationId?: string | null | undefined;
|
|
2179
|
+
deliveryLocationName?: string | null | undefined;
|
|
2180
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2181
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2182
|
+
}>;
|
|
2183
|
+
type ShippingRate = z.infer<typeof ShippingRateSchema>;
|
|
2184
|
+
declare const ShippingOptionGroupSchema: z.ZodObject<{
|
|
2185
|
+
sellerId: z.ZodString;
|
|
2186
|
+
shippingProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2187
|
+
orderAmount: z.ZodOptional<z.ZodNumber>;
|
|
2188
|
+
totalWeight: z.ZodOptional<z.ZodNumber>;
|
|
2189
|
+
itemIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2190
|
+
rates: z.ZodArray<z.ZodObject<{
|
|
3763
2191
|
shippingMethodId: z.ZodString;
|
|
3764
2192
|
name: z.ZodString;
|
|
3765
2193
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -3773,9 +2201,83 @@ declare const ShippingOptionGroupSchema: z.ZodObject<{
|
|
|
3773
2201
|
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3774
2202
|
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3775
2203
|
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3776
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3777
|
-
}, z.ZodTypeAny,
|
|
3778
|
-
|
|
2204
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<CheckoutMetadataValue, z.ZodTypeDef, CheckoutMetadataValue>>>;
|
|
2205
|
+
}, "strip", z.ZodTypeAny, {
|
|
2206
|
+
name: string;
|
|
2207
|
+
price: number;
|
|
2208
|
+
shippingMethodId: string;
|
|
2209
|
+
rateId: string;
|
|
2210
|
+
type?: string | undefined;
|
|
2211
|
+
description?: string | null | undefined;
|
|
2212
|
+
serviceCode?: string | null | undefined;
|
|
2213
|
+
sortOrder?: number | undefined;
|
|
2214
|
+
displayName?: string | undefined;
|
|
2215
|
+
currency?: string | undefined;
|
|
2216
|
+
deliveryLocationId?: string | null | undefined;
|
|
2217
|
+
deliveryLocationName?: string | null | undefined;
|
|
2218
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2219
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2220
|
+
}, {
|
|
2221
|
+
name: string;
|
|
2222
|
+
price: number;
|
|
2223
|
+
shippingMethodId: string;
|
|
2224
|
+
rateId: string;
|
|
2225
|
+
type?: string | undefined;
|
|
2226
|
+
description?: string | null | undefined;
|
|
2227
|
+
serviceCode?: string | null | undefined;
|
|
2228
|
+
sortOrder?: number | undefined;
|
|
2229
|
+
displayName?: string | undefined;
|
|
2230
|
+
currency?: string | undefined;
|
|
2231
|
+
deliveryLocationId?: string | null | undefined;
|
|
2232
|
+
deliveryLocationName?: string | null | undefined;
|
|
2233
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2234
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2235
|
+
}>, "many">;
|
|
2236
|
+
}, "strip", z.ZodTypeAny, {
|
|
2237
|
+
sellerId: string;
|
|
2238
|
+
rates: {
|
|
2239
|
+
name: string;
|
|
2240
|
+
price: number;
|
|
2241
|
+
shippingMethodId: string;
|
|
2242
|
+
rateId: string;
|
|
2243
|
+
type?: string | undefined;
|
|
2244
|
+
description?: string | null | undefined;
|
|
2245
|
+
serviceCode?: string | null | undefined;
|
|
2246
|
+
sortOrder?: number | undefined;
|
|
2247
|
+
displayName?: string | undefined;
|
|
2248
|
+
currency?: string | undefined;
|
|
2249
|
+
deliveryLocationId?: string | null | undefined;
|
|
2250
|
+
deliveryLocationName?: string | null | undefined;
|
|
2251
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2252
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2253
|
+
}[];
|
|
2254
|
+
shippingProfileId?: string | null | undefined;
|
|
2255
|
+
orderAmount?: number | undefined;
|
|
2256
|
+
totalWeight?: number | undefined;
|
|
2257
|
+
itemIds?: string[] | undefined;
|
|
2258
|
+
}, {
|
|
2259
|
+
sellerId: string;
|
|
2260
|
+
rates: {
|
|
2261
|
+
name: string;
|
|
2262
|
+
price: number;
|
|
2263
|
+
shippingMethodId: string;
|
|
2264
|
+
rateId: string;
|
|
2265
|
+
type?: string | undefined;
|
|
2266
|
+
description?: string | null | undefined;
|
|
2267
|
+
serviceCode?: string | null | undefined;
|
|
2268
|
+
sortOrder?: number | undefined;
|
|
2269
|
+
displayName?: string | undefined;
|
|
2270
|
+
currency?: string | undefined;
|
|
2271
|
+
deliveryLocationId?: string | null | undefined;
|
|
2272
|
+
deliveryLocationName?: string | null | undefined;
|
|
2273
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2274
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2275
|
+
}[];
|
|
2276
|
+
shippingProfileId?: string | null | undefined;
|
|
2277
|
+
orderAmount?: number | undefined;
|
|
2278
|
+
totalWeight?: number | undefined;
|
|
2279
|
+
itemIds?: string[] | undefined;
|
|
2280
|
+
}>;
|
|
3779
2281
|
type ShippingOptionGroup = z.infer<typeof ShippingOptionGroupSchema>;
|
|
3780
2282
|
declare const ShippingOptionsResponseSchema: z.ZodObject<{
|
|
3781
2283
|
groups: z.ZodArray<z.ZodObject<{
|
|
@@ -3798,266 +2300,146 @@ declare const ShippingOptionsResponseSchema: z.ZodObject<{
|
|
|
3798
2300
|
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3799
2301
|
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3800
2302
|
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3801
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.
|
|
3802
|
-
}, "
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
metadata
|
|
3817
|
-
},
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
metadata
|
|
3832
|
-
}
|
|
3833
|
-
}, "
|
|
3834
|
-
sellerId:
|
|
3835
|
-
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
|
|
3839
|
-
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3843
|
-
|
|
3844
|
-
|
|
3845
|
-
currency
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
price:
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
description
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3879
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3880
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3881
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3882
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3883
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3884
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
3885
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3886
|
-
sellerId: z.ZodString;
|
|
3887
|
-
shippingProfileId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3888
|
-
orderAmount: z.ZodOptional<z.ZodNumber>;
|
|
3889
|
-
totalWeight: z.ZodOptional<z.ZodNumber>;
|
|
3890
|
-
itemIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
3891
|
-
rates: z.ZodArray<z.ZodObject<{
|
|
3892
|
-
shippingMethodId: z.ZodString;
|
|
3893
|
-
name: z.ZodString;
|
|
3894
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3895
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3896
|
-
price: z.ZodNumber;
|
|
3897
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3898
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3899
|
-
rateId: z.ZodString;
|
|
3900
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3901
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3902
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3903
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3904
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3905
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3906
|
-
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
3907
|
-
shippingMethodId: z.ZodString;
|
|
3908
|
-
name: z.ZodString;
|
|
3909
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3910
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3911
|
-
price: z.ZodNumber;
|
|
3912
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3913
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3914
|
-
rateId: z.ZodString;
|
|
3915
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3916
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3917
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3918
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3919
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3920
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3921
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3922
|
-
shippingMethodId: z.ZodString;
|
|
3923
|
-
name: z.ZodString;
|
|
3924
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3925
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3926
|
-
price: z.ZodNumber;
|
|
3927
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3928
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3929
|
-
rateId: z.ZodString;
|
|
3930
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3931
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3932
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3933
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3934
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3935
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3936
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
3937
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
2303
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodType<CheckoutMetadataValue, z.ZodTypeDef, CheckoutMetadataValue>>>;
|
|
2304
|
+
}, "strip", z.ZodTypeAny, {
|
|
2305
|
+
name: string;
|
|
2306
|
+
price: number;
|
|
2307
|
+
shippingMethodId: string;
|
|
2308
|
+
rateId: string;
|
|
2309
|
+
type?: string | undefined;
|
|
2310
|
+
description?: string | null | undefined;
|
|
2311
|
+
serviceCode?: string | null | undefined;
|
|
2312
|
+
sortOrder?: number | undefined;
|
|
2313
|
+
displayName?: string | undefined;
|
|
2314
|
+
currency?: string | undefined;
|
|
2315
|
+
deliveryLocationId?: string | null | undefined;
|
|
2316
|
+
deliveryLocationName?: string | null | undefined;
|
|
2317
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2318
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2319
|
+
}, {
|
|
2320
|
+
name: string;
|
|
2321
|
+
price: number;
|
|
2322
|
+
shippingMethodId: string;
|
|
2323
|
+
rateId: string;
|
|
2324
|
+
type?: string | undefined;
|
|
2325
|
+
description?: string | null | undefined;
|
|
2326
|
+
serviceCode?: string | null | undefined;
|
|
2327
|
+
sortOrder?: number | undefined;
|
|
2328
|
+
displayName?: string | undefined;
|
|
2329
|
+
currency?: string | undefined;
|
|
2330
|
+
deliveryLocationId?: string | null | undefined;
|
|
2331
|
+
deliveryLocationName?: string | null | undefined;
|
|
2332
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2333
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2334
|
+
}>, "many">;
|
|
2335
|
+
}, "strip", z.ZodTypeAny, {
|
|
2336
|
+
sellerId: string;
|
|
2337
|
+
rates: {
|
|
2338
|
+
name: string;
|
|
2339
|
+
price: number;
|
|
2340
|
+
shippingMethodId: string;
|
|
2341
|
+
rateId: string;
|
|
2342
|
+
type?: string | undefined;
|
|
2343
|
+
description?: string | null | undefined;
|
|
2344
|
+
serviceCode?: string | null | undefined;
|
|
2345
|
+
sortOrder?: number | undefined;
|
|
2346
|
+
displayName?: string | undefined;
|
|
2347
|
+
currency?: string | undefined;
|
|
2348
|
+
deliveryLocationId?: string | null | undefined;
|
|
2349
|
+
deliveryLocationName?: string | null | undefined;
|
|
2350
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2351
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2352
|
+
}[];
|
|
2353
|
+
shippingProfileId?: string | null | undefined;
|
|
2354
|
+
orderAmount?: number | undefined;
|
|
2355
|
+
totalWeight?: number | undefined;
|
|
2356
|
+
itemIds?: string[] | undefined;
|
|
2357
|
+
}, {
|
|
2358
|
+
sellerId: string;
|
|
2359
|
+
rates: {
|
|
2360
|
+
name: string;
|
|
2361
|
+
price: number;
|
|
2362
|
+
shippingMethodId: string;
|
|
2363
|
+
rateId: string;
|
|
2364
|
+
type?: string | undefined;
|
|
2365
|
+
description?: string | null | undefined;
|
|
2366
|
+
serviceCode?: string | null | undefined;
|
|
2367
|
+
sortOrder?: number | undefined;
|
|
2368
|
+
displayName?: string | undefined;
|
|
2369
|
+
currency?: string | undefined;
|
|
2370
|
+
deliveryLocationId?: string | null | undefined;
|
|
2371
|
+
deliveryLocationName?: string | null | undefined;
|
|
2372
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2373
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2374
|
+
}[];
|
|
2375
|
+
shippingProfileId?: string | null | undefined;
|
|
2376
|
+
orderAmount?: number | undefined;
|
|
2377
|
+
totalWeight?: number | undefined;
|
|
2378
|
+
itemIds?: string[] | undefined;
|
|
2379
|
+
}>, "many">;
|
|
3938
2380
|
}, "strip", z.ZodTypeAny, {
|
|
3939
|
-
groups:
|
|
3940
|
-
sellerId:
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
currency
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
name: z.ZodString;
|
|
3963
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3964
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3965
|
-
price: z.ZodNumber;
|
|
3966
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3967
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3968
|
-
rateId: z.ZodString;
|
|
3969
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3970
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3971
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3972
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3973
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3974
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3975
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
3976
|
-
shippingMethodId: z.ZodString;
|
|
3977
|
-
name: z.ZodString;
|
|
3978
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
3979
|
-
type: z.ZodOptional<z.ZodString>;
|
|
3980
|
-
price: z.ZodNumber;
|
|
3981
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
3982
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
3983
|
-
rateId: z.ZodString;
|
|
3984
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3985
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3986
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3987
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3988
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3989
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
3990
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
3991
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
2381
|
+
groups: {
|
|
2382
|
+
sellerId: string;
|
|
2383
|
+
rates: {
|
|
2384
|
+
name: string;
|
|
2385
|
+
price: number;
|
|
2386
|
+
shippingMethodId: string;
|
|
2387
|
+
rateId: string;
|
|
2388
|
+
type?: string | undefined;
|
|
2389
|
+
description?: string | null | undefined;
|
|
2390
|
+
serviceCode?: string | null | undefined;
|
|
2391
|
+
sortOrder?: number | undefined;
|
|
2392
|
+
displayName?: string | undefined;
|
|
2393
|
+
currency?: string | undefined;
|
|
2394
|
+
deliveryLocationId?: string | null | undefined;
|
|
2395
|
+
deliveryLocationName?: string | null | undefined;
|
|
2396
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2397
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2398
|
+
}[];
|
|
2399
|
+
shippingProfileId?: string | null | undefined;
|
|
2400
|
+
orderAmount?: number | undefined;
|
|
2401
|
+
totalWeight?: number | undefined;
|
|
2402
|
+
itemIds?: string[] | undefined;
|
|
2403
|
+
}[];
|
|
3992
2404
|
}, {
|
|
3993
|
-
groups:
|
|
3994
|
-
sellerId:
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
currency
|
|
4006
|
-
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4016
|
-
name: z.ZodString;
|
|
4017
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
4018
|
-
type: z.ZodOptional<z.ZodString>;
|
|
4019
|
-
price: z.ZodNumber;
|
|
4020
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
4021
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
4022
|
-
rateId: z.ZodString;
|
|
4023
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4024
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4025
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4026
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4027
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4028
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4029
|
-
}, z.ZodTypeAny, "passthrough">, z.objectInputType<{
|
|
4030
|
-
shippingMethodId: z.ZodString;
|
|
4031
|
-
name: z.ZodString;
|
|
4032
|
-
displayName: z.ZodOptional<z.ZodString>;
|
|
4033
|
-
type: z.ZodOptional<z.ZodString>;
|
|
4034
|
-
price: z.ZodNumber;
|
|
4035
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
4036
|
-
sortOrder: z.ZodOptional<z.ZodNumber>;
|
|
4037
|
-
rateId: z.ZodString;
|
|
4038
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4039
|
-
deliveryLocationId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4040
|
-
deliveryLocationName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4041
|
-
estimatedDeliveryDays: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4042
|
-
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4043
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
4044
|
-
}, z.ZodTypeAny, "passthrough">>, "many">;
|
|
4045
|
-
}, z.ZodTypeAny, "passthrough">[];
|
|
2405
|
+
groups: {
|
|
2406
|
+
sellerId: string;
|
|
2407
|
+
rates: {
|
|
2408
|
+
name: string;
|
|
2409
|
+
price: number;
|
|
2410
|
+
shippingMethodId: string;
|
|
2411
|
+
rateId: string;
|
|
2412
|
+
type?: string | undefined;
|
|
2413
|
+
description?: string | null | undefined;
|
|
2414
|
+
serviceCode?: string | null | undefined;
|
|
2415
|
+
sortOrder?: number | undefined;
|
|
2416
|
+
displayName?: string | undefined;
|
|
2417
|
+
currency?: string | undefined;
|
|
2418
|
+
deliveryLocationId?: string | null | undefined;
|
|
2419
|
+
deliveryLocationName?: string | null | undefined;
|
|
2420
|
+
estimatedDeliveryDays?: number | null | undefined;
|
|
2421
|
+
metadata?: Record<string, CheckoutMetadataValue> | undefined;
|
|
2422
|
+
}[];
|
|
2423
|
+
shippingProfileId?: string | null | undefined;
|
|
2424
|
+
orderAmount?: number | undefined;
|
|
2425
|
+
totalWeight?: number | undefined;
|
|
2426
|
+
itemIds?: string[] | undefined;
|
|
2427
|
+
}[];
|
|
4046
2428
|
}>;
|
|
4047
2429
|
type ShippingOptionsResponse = z.infer<typeof ShippingOptionsResponseSchema>;
|
|
4048
2430
|
declare const GetShippingOptionsParamsSchema: z.ZodObject<{
|
|
4049
|
-
|
|
2431
|
+
cartToken: z.ZodString;
|
|
4050
2432
|
postalCode: z.ZodString;
|
|
4051
2433
|
}, "strip", z.ZodTypeAny, {
|
|
4052
2434
|
postalCode: string;
|
|
4053
|
-
|
|
2435
|
+
cartToken: string;
|
|
4054
2436
|
}, {
|
|
4055
2437
|
postalCode: string;
|
|
4056
|
-
|
|
2438
|
+
cartToken: string;
|
|
4057
2439
|
}>;
|
|
4058
2440
|
type GetShippingOptionsParams = z.input<typeof GetShippingOptionsParamsSchema>;
|
|
4059
2441
|
declare const PutShippingMethodParamsSchema: z.ZodObject<{
|
|
4060
|
-
|
|
2442
|
+
cartToken: z.ZodString;
|
|
4061
2443
|
rateId: z.ZodString;
|
|
4062
2444
|
shippingMethodId: z.ZodString;
|
|
4063
2445
|
serviceCode: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4070,7 +2452,7 @@ declare const PutShippingMethodParamsSchema: z.ZodObject<{
|
|
|
4070
2452
|
}, "strip", z.ZodTypeAny, {
|
|
4071
2453
|
shippingMethodId: string;
|
|
4072
2454
|
rateId: string;
|
|
4073
|
-
|
|
2455
|
+
cartToken: string;
|
|
4074
2456
|
sellerId?: string | null | undefined;
|
|
4075
2457
|
locationId?: string | null | undefined;
|
|
4076
2458
|
pickupPointId?: string | null | undefined;
|
|
@@ -4081,7 +2463,7 @@ declare const PutShippingMethodParamsSchema: z.ZodObject<{
|
|
|
4081
2463
|
}, {
|
|
4082
2464
|
shippingMethodId: string;
|
|
4083
2465
|
rateId: string;
|
|
4084
|
-
|
|
2466
|
+
cartToken: string;
|
|
4085
2467
|
sellerId?: string | null | undefined;
|
|
4086
2468
|
locationId?: string | null | undefined;
|
|
4087
2469
|
pickupPointId?: string | null | undefined;
|
|
@@ -4103,20 +2485,20 @@ declare const CartPaymentReceiptResponseSchema: z.ZodObject<{
|
|
|
4103
2485
|
}>;
|
|
4104
2486
|
type CartPaymentReceiptResponse = z.infer<typeof CartPaymentReceiptResponseSchema>;
|
|
4105
2487
|
type UploadPaymentReceiptParams = {
|
|
4106
|
-
|
|
2488
|
+
cartToken: string;
|
|
4107
2489
|
file: Blob;
|
|
4108
2490
|
fileName?: string;
|
|
4109
2491
|
};
|
|
4110
2492
|
declare const CartPromotionCodeParamsSchema: z.ZodObject<{
|
|
4111
|
-
|
|
2493
|
+
cartToken: z.ZodString;
|
|
4112
2494
|
code: z.ZodString;
|
|
4113
2495
|
}, "strip", z.ZodTypeAny, {
|
|
4114
2496
|
code: string;
|
|
4115
|
-
|
|
2497
|
+
cartToken: string;
|
|
4116
2498
|
}, {
|
|
4117
2499
|
code: string;
|
|
4118
|
-
|
|
2500
|
+
cartToken: string;
|
|
4119
2501
|
}>;
|
|
4120
2502
|
type CartPromotionCodeParams = z.input<typeof CartPromotionCodeParamsSchema>;
|
|
4121
2503
|
|
|
4122
|
-
export { type CartAddressWrite, CartAddressWriteSchema, type CartAddressesParams, CartAddressesParamsSchema, type CartBuyerParams, CartBuyerParamsSchema, type CartCheckoutParams, CartCheckoutParamsSchema, type CartCheckoutPayment, CartCheckoutPaymentActionSchema, CartCheckoutPaymentSchema, type CartCheckoutReadParams, CartCheckoutReadParamsSchema, type CartCheckoutReadResponse, CartCheckoutReadResponseSchema, type CartCheckoutResponse, CartCheckoutResponseSchema, type CartPaymentMethod, CartPaymentMethodSchema, type CartPaymentReceiptResponse, CartPaymentReceiptResponseSchema, type CartPromotionCodeParams, CartPromotionCodeParamsSchema, type GetShippingOptionsParams, GetShippingOptionsParamsSchema, type PutShippingMethodParams, PutShippingMethodParamsSchema, type ShippingOptionGroup, ShippingOptionGroupSchema, type ShippingOptionsResponse, ShippingOptionsResponseSchema, type ShippingRate, ShippingRateSchema, type StorefrontOrderBump, StorefrontOrderBumpSchema, type UploadPaymentReceiptParams };
|
|
2504
|
+
export { type CartAddressWrite, CartAddressWriteSchema, type CartAddressesParams, CartAddressesParamsSchema, type CartBuyerParams, CartBuyerParamsSchema, type CartCheckoutParams, CartCheckoutParamsSchema, type CartCheckoutPayment, CartCheckoutPaymentActionSchema, CartCheckoutPaymentSchema, type CartCheckoutReadParams, CartCheckoutReadParamsSchema, type CartCheckoutReadResponse, CartCheckoutReadResponseSchema, type CartCheckoutResponse, CartCheckoutResponseSchema, type CartPaymentMethod, CartPaymentMethodSchema, type CartPaymentReceiptResponse, CartPaymentReceiptResponseSchema, type CartPromotionCodeParams, CartPromotionCodeParamsSchema, type CheckoutMetadataValue, CheckoutMetadataValueSchema, type GetShippingOptionsParams, GetShippingOptionsParamsSchema, type PutShippingMethodParams, PutShippingMethodParamsSchema, type ShippingOptionGroup, ShippingOptionGroupSchema, type ShippingOptionsResponse, ShippingOptionsResponseSchema, type ShippingRate, ShippingRateSchema, type StorefrontOrderBump, StorefrontOrderBumpSchema, type UploadPaymentReceiptParams };
|