@ecomiq/core 0.1.3 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/api.cjs +19 -5
  2. package/dist/api.cjs.map +1 -1
  3. package/dist/api.js +19 -5
  4. package/dist/api.js.map +1 -1
  5. package/dist/client-4ZTG2RZ3.d.ts +195 -0
  6. package/dist/client-BpX4yR6S.d.cts +195 -0
  7. package/dist/client.cjs +331 -12
  8. package/dist/client.cjs.map +1 -1
  9. package/dist/client.d.cts +13 -84
  10. package/dist/client.d.ts +13 -84
  11. package/dist/client.js +331 -12
  12. package/dist/client.js.map +1 -1
  13. package/dist/index.cjs +484 -12
  14. package/dist/index.cjs.map +1 -1
  15. package/dist/index.d.cts +327 -324
  16. package/dist/index.d.ts +327 -324
  17. package/dist/index.js +451 -13
  18. package/dist/index.js.map +1 -1
  19. package/dist/models/collections.d.cts +4 -4
  20. package/dist/models/collections.d.ts +4 -4
  21. package/dist/models/customer-address.cjs +41 -0
  22. package/dist/models/customer-address.cjs.map +1 -0
  23. package/dist/models/customer-address.d.cts +160 -0
  24. package/dist/models/customer-address.d.ts +160 -0
  25. package/dist/models/customer-address.js +36 -0
  26. package/dist/models/customer-address.js.map +1 -0
  27. package/dist/models/customer-order.cjs +161 -0
  28. package/dist/models/customer-order.cjs.map +1 -0
  29. package/dist/models/customer-order.d.cts +896 -0
  30. package/dist/models/customer-order.d.ts +896 -0
  31. package/dist/models/customer-order.js +149 -0
  32. package/dist/models/customer-order.js.map +1 -0
  33. package/dist/models/customer-profile.cjs +126 -0
  34. package/dist/models/customer-profile.cjs.map +1 -0
  35. package/dist/models/customer-profile.d.cts +178 -0
  36. package/dist/models/customer-profile.d.ts +178 -0
  37. package/dist/models/customer-profile.js +118 -0
  38. package/dist/models/customer-profile.js.map +1 -0
  39. package/dist/models/geo.d.cts +14 -14
  40. package/dist/models/geo.d.ts +14 -14
  41. package/dist/models/products.d.cts +130 -130
  42. package/dist/models/products.d.ts +130 -130
  43. package/dist/models/search.d.cts +4 -4
  44. package/dist/models/search.d.ts +4 -4
  45. package/dist/models/settings.cjs +13 -6
  46. package/dist/models/settings.cjs.map +1 -1
  47. package/dist/models/settings.d.cts +844 -841
  48. package/dist/models/settings.d.ts +844 -841
  49. package/dist/models/settings.js +12 -7
  50. package/dist/models/settings.js.map +1 -1
  51. package/dist/models/storefront-cart.d.cts +80 -80
  52. package/dist/models/storefront-cart.d.ts +80 -80
  53. package/dist/models/storefront-checkout.d.cts +400 -400
  54. package/dist/models/storefront-checkout.d.ts +400 -400
  55. package/dist/models/storefront-reviews.d.cts +8 -8
  56. package/dist/models/storefront-reviews.d.ts +8 -8
  57. package/package.json +16 -1
@@ -7,14 +7,14 @@ declare const CartBuyerParamsSchema: z.ZodObject<{
7
7
  lastName: z.ZodString;
8
8
  phone: z.ZodString;
9
9
  }, "strip", z.ZodTypeAny, {
10
- email: string;
11
10
  phone: string;
11
+ email: string;
12
12
  firstName: string;
13
13
  lastName: string;
14
14
  cartId: string;
15
15
  }, {
16
- email: string;
17
16
  phone: string;
17
+ email: string;
18
18
  firstName: string;
19
19
  lastName: string;
20
20
  cartId: string;
@@ -52,11 +52,11 @@ declare const CartAddressWriteSchema: z.ZodObject<{
52
52
  city: string;
53
53
  countryCode: string;
54
54
  company?: string | null | undefined;
55
- phone?: string | null | undefined;
56
55
  address2?: string | null | undefined;
57
56
  province?: string | null | undefined;
58
57
  postalCode?: string | null | undefined;
59
58
  district?: string | null | undefined;
59
+ phone?: string | null | undefined;
60
60
  latitude?: number | null | undefined;
61
61
  longitude?: number | null | undefined;
62
62
  geo?: {
@@ -70,11 +70,11 @@ declare const CartAddressWriteSchema: z.ZodObject<{
70
70
  city: string;
71
71
  countryCode: string;
72
72
  company?: string | null | undefined;
73
- phone?: string | null | undefined;
74
73
  address2?: string | null | undefined;
75
74
  province?: string | null | undefined;
76
75
  postalCode?: string | null | undefined;
77
76
  district?: string | null | undefined;
77
+ phone?: string | null | undefined;
78
78
  latitude?: number | null | undefined;
79
79
  longitude?: number | null | undefined;
80
80
  geo?: {
@@ -118,11 +118,11 @@ declare const CartAddressesParamsSchema: z.ZodObject<{
118
118
  city: string;
119
119
  countryCode: string;
120
120
  company?: string | null | undefined;
121
- phone?: string | null | undefined;
122
121
  address2?: string | null | undefined;
123
122
  province?: string | null | undefined;
124
123
  postalCode?: string | null | undefined;
125
124
  district?: string | null | undefined;
125
+ phone?: string | null | undefined;
126
126
  latitude?: number | null | undefined;
127
127
  longitude?: number | null | undefined;
128
128
  geo?: {
@@ -136,11 +136,11 @@ declare const CartAddressesParamsSchema: z.ZodObject<{
136
136
  city: string;
137
137
  countryCode: string;
138
138
  company?: string | null | undefined;
139
- phone?: string | null | undefined;
140
139
  address2?: string | null | undefined;
141
140
  province?: string | null | undefined;
142
141
  postalCode?: string | null | undefined;
143
142
  district?: string | null | undefined;
143
+ phone?: string | null | undefined;
144
144
  latitude?: number | null | undefined;
145
145
  longitude?: number | null | undefined;
146
146
  geo?: {
@@ -181,11 +181,11 @@ declare const CartAddressesParamsSchema: z.ZodObject<{
181
181
  city: string;
182
182
  countryCode: string;
183
183
  company?: string | null | undefined;
184
- phone?: string | null | undefined;
185
184
  address2?: string | null | undefined;
186
185
  province?: string | null | undefined;
187
186
  postalCode?: string | null | undefined;
188
187
  district?: string | null | undefined;
188
+ phone?: string | null | undefined;
189
189
  latitude?: number | null | undefined;
190
190
  longitude?: number | null | undefined;
191
191
  geo?: {
@@ -199,11 +199,11 @@ declare const CartAddressesParamsSchema: z.ZodObject<{
199
199
  city: string;
200
200
  countryCode: string;
201
201
  company?: string | null | undefined;
202
- phone?: string | null | undefined;
203
202
  address2?: string | null | undefined;
204
203
  province?: string | null | undefined;
205
204
  postalCode?: string | null | undefined;
206
205
  district?: string | null | undefined;
206
+ phone?: string | null | undefined;
207
207
  latitude?: number | null | undefined;
208
208
  longitude?: number | null | undefined;
209
209
  geo?: {
@@ -219,11 +219,11 @@ declare const CartAddressesParamsSchema: z.ZodObject<{
219
219
  city: string;
220
220
  countryCode: string;
221
221
  company?: string | null | undefined;
222
- phone?: string | null | undefined;
223
222
  address2?: string | null | undefined;
224
223
  province?: string | null | undefined;
225
224
  postalCode?: string | null | undefined;
226
225
  district?: string | null | undefined;
226
+ phone?: string | null | undefined;
227
227
  latitude?: number | null | undefined;
228
228
  longitude?: number | null | undefined;
229
229
  geo?: {
@@ -238,11 +238,11 @@ declare const CartAddressesParamsSchema: z.ZodObject<{
238
238
  city: string;
239
239
  countryCode: string;
240
240
  company?: string | null | undefined;
241
- phone?: string | null | undefined;
242
241
  address2?: string | null | undefined;
243
242
  province?: string | null | undefined;
244
243
  postalCode?: string | null | undefined;
245
244
  district?: string | null | undefined;
245
+ phone?: string | null | undefined;
246
246
  latitude?: number | null | undefined;
247
247
  longitude?: number | null | undefined;
248
248
  geo?: {
@@ -259,11 +259,11 @@ declare const CartAddressesParamsSchema: z.ZodObject<{
259
259
  city: string;
260
260
  countryCode: string;
261
261
  company?: string | null | undefined;
262
- phone?: string | null | undefined;
263
262
  address2?: string | null | undefined;
264
263
  province?: string | null | undefined;
265
264
  postalCode?: string | null | undefined;
266
265
  district?: string | null | undefined;
266
+ phone?: string | null | undefined;
267
267
  latitude?: number | null | undefined;
268
268
  longitude?: number | null | undefined;
269
269
  geo?: {
@@ -278,11 +278,11 @@ declare const CartAddressesParamsSchema: z.ZodObject<{
278
278
  city: string;
279
279
  countryCode: string;
280
280
  company?: string | null | undefined;
281
- phone?: string | null | undefined;
282
281
  address2?: string | null | undefined;
283
282
  province?: string | null | undefined;
284
283
  postalCode?: string | null | undefined;
285
284
  district?: string | null | undefined;
285
+ phone?: string | null | undefined;
286
286
  latitude?: number | null | undefined;
287
287
  longitude?: number | null | undefined;
288
288
  geo?: {
@@ -310,8 +310,8 @@ declare const CartPaymentMethodSchema: z.ZodObject<{
310
310
  }, "strip", z.ZodTypeAny, {
311
311
  code: string;
312
312
  name: string;
313
- isActive: boolean;
314
313
  kind: string;
314
+ isActive: boolean;
315
315
  isDefault: boolean;
316
316
  isManual: boolean;
317
317
  sortOrder: number;
@@ -323,8 +323,8 @@ declare const CartPaymentMethodSchema: z.ZodObject<{
323
323
  }, {
324
324
  code: string;
325
325
  name: string;
326
- isActive: boolean;
327
326
  kind: string;
327
+ isActive: boolean;
328
328
  isDefault: boolean;
329
329
  isManual: boolean;
330
330
  sortOrder: number;
@@ -410,28 +410,28 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
410
410
  longitude: z.ZodNullable<z.ZodNumber>;
411
411
  }, "strip", z.ZodTypeAny, {
412
412
  name: string | null;
413
- company: string | null;
414
- phone: string | null;
415
413
  address1: string;
416
414
  city: string;
417
415
  countryCode: string;
416
+ company: string | null;
418
417
  address2: string | null;
419
418
  province: string | null;
420
419
  postalCode: string | null;
421
420
  district: string | null;
421
+ phone: string | null;
422
422
  latitude: number | null;
423
423
  longitude: number | null;
424
424
  }, {
425
425
  name: string | null;
426
- company: string | null;
427
- phone: string | null;
428
426
  address1: string;
429
427
  city: string;
430
428
  countryCode: string;
429
+ company: string | null;
431
430
  address2: string | null;
432
431
  province: string | null;
433
432
  postalCode: string | null;
434
433
  district: string | null;
434
+ phone: string | null;
435
435
  latitude: number | null;
436
436
  longitude: number | null;
437
437
  }>>;
@@ -450,28 +450,28 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
450
450
  longitude: z.ZodNullable<z.ZodNumber>;
451
451
  }, "strip", z.ZodTypeAny, {
452
452
  name: string | null;
453
- company: string | null;
454
- phone: string | null;
455
453
  address1: string;
456
454
  city: string;
457
455
  countryCode: string;
456
+ company: string | null;
458
457
  address2: string | null;
459
458
  province: string | null;
460
459
  postalCode: string | null;
461
460
  district: string | null;
461
+ phone: string | null;
462
462
  latitude: number | null;
463
463
  longitude: number | null;
464
464
  }, {
465
465
  name: string | null;
466
- company: string | null;
467
- phone: string | null;
468
466
  address1: string;
469
467
  city: string;
470
468
  countryCode: string;
469
+ company: string | null;
471
470
  address2: string | null;
472
471
  province: string | null;
473
472
  postalCode: string | null;
474
473
  district: string | null;
474
+ phone: string | null;
475
475
  latitude: number | null;
476
476
  longitude: number | null;
477
477
  }>>;
@@ -577,10 +577,10 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
577
577
  sellerId: z.ZodNullable<z.ZodString>;
578
578
  shippingProfileId: z.ZodNullable<z.ZodString>;
579
579
  }, "strip", z.ZodTypeAny, {
580
- name: string;
581
580
  id: string;
582
- sellerId: string | null;
581
+ name: string;
583
582
  description: string | null;
583
+ sellerId: string | null;
584
584
  locationId: string | null;
585
585
  shippingMethodId: string | null;
586
586
  rateId: string | null;
@@ -592,10 +592,10 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
592
592
  serviceCode: string | null;
593
593
  shippingProfileId: string | null;
594
594
  }, {
595
- name: string;
596
595
  id: string;
597
- sellerId: string | null;
596
+ name: string;
598
597
  description: string | null;
598
+ sellerId: string | null;
599
599
  locationId: string | null;
600
600
  shippingMethodId: string | null;
601
601
  rateId: string | null;
@@ -634,71 +634,71 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
634
634
  }>;
635
635
  }, "strip", z.ZodTypeAny, {
636
636
  status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
637
- email: string | null;
638
637
  id: string;
639
638
  phone: string | null;
640
- items: {
641
- id: string;
642
- productId: number;
643
- quantity: number;
644
- variantId: number;
645
- unitPrice: number;
646
- bundleItems: {
647
- imageUrl: string | null;
648
- brand: string | null;
649
- productId: number;
650
- sku: string | null;
651
- quantity: number;
652
- variantId: number;
653
- productName: string;
654
- variantName: string | null;
655
- }[];
656
- title: string;
657
- variantLabel: string | null;
658
- productHandle: string | null;
659
- thumbnail: string | null;
660
- variantSku: string | null;
661
- compareAtUnitPrice: number | null;
662
- }[];
663
639
  cartNumber: string;
640
+ email: string | null;
664
641
  firstName: string | null;
665
642
  lastName: string | null;
666
643
  currencyCode: string;
667
644
  completedAt: string | null;
668
645
  shippingAddress: {
669
646
  name: string | null;
670
- company: string | null;
671
- phone: string | null;
672
647
  address1: string;
673
648
  city: string;
674
649
  countryCode: string;
650
+ company: string | null;
675
651
  address2: string | null;
676
652
  province: string | null;
677
653
  postalCode: string | null;
678
654
  district: string | null;
655
+ phone: string | null;
679
656
  latitude: number | null;
680
657
  longitude: number | null;
681
658
  } | null;
682
659
  billingAddress: {
683
660
  name: string | null;
684
- company: string | null;
685
- phone: string | null;
686
661
  address1: string;
687
662
  city: string;
688
663
  countryCode: string;
664
+ company: string | null;
689
665
  address2: string | null;
690
666
  province: string | null;
691
667
  postalCode: string | null;
692
668
  district: string | null;
669
+ phone: string | null;
693
670
  latitude: number | null;
694
671
  longitude: number | null;
695
672
  } | null;
696
673
  promotionCodes: string[];
674
+ items: {
675
+ id: string;
676
+ productId: number;
677
+ quantity: number;
678
+ variantId: number;
679
+ unitPrice: number;
680
+ bundleItems: {
681
+ imageUrl: string | null;
682
+ brand: string | null;
683
+ productId: number;
684
+ sku: string | null;
685
+ quantity: number;
686
+ variantId: number;
687
+ productName: string;
688
+ variantName: string | null;
689
+ }[];
690
+ title: string;
691
+ variantLabel: string | null;
692
+ productHandle: string | null;
693
+ thumbnail: string | null;
694
+ variantSku: string | null;
695
+ compareAtUnitPrice: number | null;
696
+ }[];
697
697
  shippingMethods: {
698
- name: string;
699
698
  id: string;
700
- sellerId: string | null;
699
+ name: string;
701
700
  description: string | null;
701
+ sellerId: string | null;
702
702
  locationId: string | null;
703
703
  shippingMethodId: string | null;
704
704
  rateId: string | null;
@@ -721,71 +721,71 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
721
721
  };
722
722
  }, {
723
723
  status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
724
- email: string | null;
725
724
  id: string;
726
725
  phone: string | null;
727
- items: {
728
- id: string;
729
- productId: number;
730
- quantity: number;
731
- variantId: number;
732
- unitPrice: number;
733
- bundleItems: {
734
- imageUrl: string | null;
735
- brand: string | null;
736
- productId: number;
737
- sku: string | null;
738
- quantity: number;
739
- variantId: number;
740
- productName: string;
741
- variantName: string | null;
742
- }[];
743
- title: string;
744
- variantLabel: string | null;
745
- productHandle: string | null;
746
- thumbnail: string | null;
747
- variantSku: string | null;
748
- compareAtUnitPrice: number | null;
749
- }[];
750
726
  cartNumber: string;
727
+ email: string | null;
751
728
  firstName: string | null;
752
729
  lastName: string | null;
753
730
  currencyCode: string;
754
731
  completedAt: string | null;
755
732
  shippingAddress: {
756
733
  name: string | null;
757
- company: string | null;
758
- phone: string | null;
759
734
  address1: string;
760
735
  city: string;
761
736
  countryCode: string;
737
+ company: string | null;
762
738
  address2: string | null;
763
739
  province: string | null;
764
740
  postalCode: string | null;
765
741
  district: string | null;
742
+ phone: string | null;
766
743
  latitude: number | null;
767
744
  longitude: number | null;
768
745
  } | null;
769
746
  billingAddress: {
770
747
  name: string | null;
771
- company: string | null;
772
- phone: string | null;
773
748
  address1: string;
774
749
  city: string;
775
750
  countryCode: string;
751
+ company: string | null;
776
752
  address2: string | null;
777
753
  province: string | null;
778
754
  postalCode: string | null;
779
755
  district: string | null;
756
+ phone: string | null;
780
757
  latitude: number | null;
781
758
  longitude: number | null;
782
759
  } | null;
783
760
  promotionCodes: string[];
761
+ items: {
762
+ id: string;
763
+ productId: number;
764
+ quantity: number;
765
+ variantId: number;
766
+ unitPrice: number;
767
+ bundleItems: {
768
+ imageUrl: string | null;
769
+ brand: string | null;
770
+ productId: number;
771
+ sku: string | null;
772
+ quantity: number;
773
+ variantId: number;
774
+ productName: string;
775
+ variantName: string | null;
776
+ }[];
777
+ title: string;
778
+ variantLabel: string | null;
779
+ productHandle: string | null;
780
+ thumbnail: string | null;
781
+ variantSku: string | null;
782
+ compareAtUnitPrice: number | null;
783
+ }[];
784
784
  shippingMethods: {
785
- name: string;
786
785
  id: string;
787
- sellerId: string | null;
786
+ name: string;
788
787
  description: string | null;
788
+ sellerId: string | null;
789
789
  locationId: string | null;
790
790
  shippingMethodId: string | null;
791
791
  rateId: string | null;
@@ -824,8 +824,8 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
824
824
  }, "strip", z.ZodTypeAny, {
825
825
  code: string;
826
826
  name: string;
827
- isActive: boolean;
828
827
  kind: string;
828
+ isActive: boolean;
829
829
  isDefault: boolean;
830
830
  isManual: boolean;
831
831
  sortOrder: number;
@@ -837,8 +837,8 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
837
837
  }, {
838
838
  code: string;
839
839
  name: string;
840
- isActive: boolean;
841
840
  kind: string;
841
+ isActive: boolean;
842
842
  isDefault: boolean;
843
843
  isManual: boolean;
844
844
  sortOrder: number;
@@ -852,8 +852,8 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
852
852
  methods: {
853
853
  code: string;
854
854
  name: string;
855
- isActive: boolean;
856
855
  kind: string;
856
+ isActive: boolean;
857
857
  isDefault: boolean;
858
858
  isManual: boolean;
859
859
  sortOrder: number;
@@ -867,8 +867,8 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
867
867
  methods: {
868
868
  code: string;
869
869
  name: string;
870
- isActive: boolean;
871
870
  kind: string;
871
+ isActive: boolean;
872
872
  isDefault: boolean;
873
873
  isManual: boolean;
874
874
  sortOrder: number;
@@ -920,87 +920,73 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
920
920
  badgeLabel?: string | null | undefined;
921
921
  }>, "many">>>;
922
922
  }, "strip", z.ZodTypeAny, {
923
- orderBumps: {
924
- id: string;
925
- productName: string;
926
- currencyCode: string;
927
- productPublicId: string;
928
- variantPublicId: string;
929
- regularPrice: number;
930
- offerPrice: number;
931
- callToAction: string;
932
- description?: string | null | undefined;
933
- imageUrl?: string | null | undefined;
934
- variantName?: string | null | undefined;
935
- badgeLabel?: string | null | undefined;
936
- }[];
937
923
  cart: {
938
924
  status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
939
- email: string | null;
940
925
  id: string;
941
926
  phone: string | null;
942
- items: {
943
- id: string;
944
- productId: number;
945
- quantity: number;
946
- variantId: number;
947
- unitPrice: number;
948
- bundleItems: {
949
- imageUrl: string | null;
950
- brand: string | null;
951
- productId: number;
952
- sku: string | null;
953
- quantity: number;
954
- variantId: number;
955
- productName: string;
956
- variantName: string | null;
957
- }[];
958
- title: string;
959
- variantLabel: string | null;
960
- productHandle: string | null;
961
- thumbnail: string | null;
962
- variantSku: string | null;
963
- compareAtUnitPrice: number | null;
964
- }[];
965
927
  cartNumber: string;
928
+ email: string | null;
966
929
  firstName: string | null;
967
930
  lastName: string | null;
968
931
  currencyCode: string;
969
932
  completedAt: string | null;
970
933
  shippingAddress: {
971
934
  name: string | null;
972
- company: string | null;
973
- phone: string | null;
974
935
  address1: string;
975
936
  city: string;
976
937
  countryCode: string;
938
+ company: string | null;
977
939
  address2: string | null;
978
940
  province: string | null;
979
941
  postalCode: string | null;
980
942
  district: string | null;
943
+ phone: string | null;
981
944
  latitude: number | null;
982
945
  longitude: number | null;
983
946
  } | null;
984
947
  billingAddress: {
985
948
  name: string | null;
986
- company: string | null;
987
- phone: string | null;
988
949
  address1: string;
989
950
  city: string;
990
951
  countryCode: string;
952
+ company: string | null;
991
953
  address2: string | null;
992
954
  province: string | null;
993
955
  postalCode: string | null;
994
956
  district: string | null;
957
+ phone: string | null;
995
958
  latitude: number | null;
996
959
  longitude: number | null;
997
960
  } | null;
998
961
  promotionCodes: string[];
962
+ items: {
963
+ id: string;
964
+ productId: number;
965
+ quantity: number;
966
+ variantId: number;
967
+ unitPrice: number;
968
+ bundleItems: {
969
+ imageUrl: string | null;
970
+ brand: string | null;
971
+ productId: number;
972
+ sku: string | null;
973
+ quantity: number;
974
+ variantId: number;
975
+ productName: string;
976
+ variantName: string | null;
977
+ }[];
978
+ title: string;
979
+ variantLabel: string | null;
980
+ productHandle: string | null;
981
+ thumbnail: string | null;
982
+ variantSku: string | null;
983
+ compareAtUnitPrice: number | null;
984
+ }[];
999
985
  shippingMethods: {
1000
- name: string;
1001
986
  id: string;
1002
- sellerId: string | null;
987
+ name: string;
1003
988
  description: string | null;
989
+ sellerId: string | null;
1004
990
  locationId: string | null;
1005
991
  shippingMethodId: string | null;
1006
992
  rateId: string | null;
@@ -1026,8 +1012,8 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
1026
1012
  methods: {
1027
1013
  code: string;
1028
1014
  name: string;
1029
- isActive: boolean;
1030
1015
  kind: string;
1016
+ isActive: boolean;
1031
1017
  isDefault: boolean;
1032
1018
  isManual: boolean;
1033
1019
  sortOrder: number;
@@ -1038,74 +1024,88 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
1038
1024
  qrImageUrl?: string | null | undefined;
1039
1025
  }[];
1040
1026
  };
1041
- }, {
1042
- cart: {
1043
- status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
1044
- email: string | null;
1027
+ orderBumps: {
1045
1028
  id: string;
1046
- phone: string | null;
1047
- items: {
1048
- id: string;
1049
- productId: number;
1050
- quantity: number;
1051
- variantId: number;
1052
- unitPrice: number;
1053
- bundleItems: {
1054
- imageUrl: string | null;
1055
- brand: string | null;
1056
- productId: number;
1057
- sku: string | null;
1058
- quantity: number;
1059
- variantId: number;
1060
- productName: string;
1061
- variantName: string | null;
1062
- }[];
1063
- title: string;
1064
- variantLabel: string | null;
1065
- productHandle: string | null;
1066
- thumbnail: string | null;
1067
- variantSku: string | null;
1068
- compareAtUnitPrice: number | null;
1069
- }[];
1029
+ productName: string;
1030
+ currencyCode: string;
1031
+ productPublicId: string;
1032
+ variantPublicId: string;
1033
+ regularPrice: number;
1034
+ offerPrice: number;
1035
+ callToAction: string;
1036
+ description?: string | null | undefined;
1037
+ imageUrl?: string | null | undefined;
1038
+ variantName?: string | null | undefined;
1039
+ badgeLabel?: string | null | undefined;
1040
+ }[];
1041
+ }, {
1042
+ cart: {
1043
+ status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
1044
+ id: string;
1045
+ phone: string | null;
1070
1046
  cartNumber: string;
1047
+ email: string | null;
1071
1048
  firstName: string | null;
1072
1049
  lastName: string | null;
1073
1050
  currencyCode: string;
1074
1051
  completedAt: string | null;
1075
1052
  shippingAddress: {
1076
1053
  name: string | null;
1077
- company: string | null;
1078
- phone: string | null;
1079
1054
  address1: string;
1080
1055
  city: string;
1081
1056
  countryCode: string;
1057
+ company: string | null;
1082
1058
  address2: string | null;
1083
1059
  province: string | null;
1084
1060
  postalCode: string | null;
1085
1061
  district: string | null;
1062
+ phone: string | null;
1086
1063
  latitude: number | null;
1087
1064
  longitude: number | null;
1088
1065
  } | null;
1089
1066
  billingAddress: {
1090
1067
  name: string | null;
1091
- company: string | null;
1092
- phone: string | null;
1093
1068
  address1: string;
1094
1069
  city: string;
1095
1070
  countryCode: string;
1071
+ company: string | null;
1096
1072
  address2: string | null;
1097
1073
  province: string | null;
1098
1074
  postalCode: string | null;
1099
1075
  district: string | null;
1076
+ phone: string | null;
1100
1077
  latitude: number | null;
1101
1078
  longitude: number | null;
1102
1079
  } | null;
1103
1080
  promotionCodes: string[];
1081
+ items: {
1082
+ id: string;
1083
+ productId: number;
1084
+ quantity: number;
1085
+ variantId: number;
1086
+ unitPrice: number;
1087
+ bundleItems: {
1088
+ imageUrl: string | null;
1089
+ brand: string | null;
1090
+ productId: number;
1091
+ sku: string | null;
1092
+ quantity: number;
1093
+ variantId: number;
1094
+ productName: string;
1095
+ variantName: string | null;
1096
+ }[];
1097
+ title: string;
1098
+ variantLabel: string | null;
1099
+ productHandle: string | null;
1100
+ thumbnail: string | null;
1101
+ variantSku: string | null;
1102
+ compareAtUnitPrice: number | null;
1103
+ }[];
1104
1104
  shippingMethods: {
1105
- name: string;
1106
1105
  id: string;
1107
- sellerId: string | null;
1106
+ name: string;
1108
1107
  description: string | null;
1108
+ sellerId: string | null;
1109
1109
  locationId: string | null;
1110
1110
  shippingMethodId: string | null;
1111
1111
  rateId: string | null;
@@ -1131,8 +1131,8 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
1131
1131
  methods: {
1132
1132
  code: string;
1133
1133
  name: string;
1134
- isActive: boolean;
1135
1134
  kind: string;
1135
+ isActive: boolean;
1136
1136
  isDefault: boolean;
1137
1137
  isManual: boolean;
1138
1138
  sortOrder: number;
@@ -1782,28 +1782,28 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
1782
1782
  longitude: z.ZodNullable<z.ZodNumber>;
1783
1783
  }, "strip", z.ZodTypeAny, {
1784
1784
  name: string | null;
1785
- company: string | null;
1786
- phone: string | null;
1787
1785
  address1: string;
1788
1786
  city: string;
1789
1787
  countryCode: string;
1788
+ company: string | null;
1790
1789
  address2: string | null;
1791
1790
  province: string | null;
1792
1791
  postalCode: string | null;
1793
1792
  district: string | null;
1793
+ phone: string | null;
1794
1794
  latitude: number | null;
1795
1795
  longitude: number | null;
1796
1796
  }, {
1797
1797
  name: string | null;
1798
- company: string | null;
1799
- phone: string | null;
1800
1798
  address1: string;
1801
1799
  city: string;
1802
1800
  countryCode: string;
1801
+ company: string | null;
1803
1802
  address2: string | null;
1804
1803
  province: string | null;
1805
1804
  postalCode: string | null;
1806
1805
  district: string | null;
1806
+ phone: string | null;
1807
1807
  latitude: number | null;
1808
1808
  longitude: number | null;
1809
1809
  }>>;
@@ -1822,28 +1822,28 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
1822
1822
  longitude: z.ZodNullable<z.ZodNumber>;
1823
1823
  }, "strip", z.ZodTypeAny, {
1824
1824
  name: string | null;
1825
- company: string | null;
1826
- phone: string | null;
1827
1825
  address1: string;
1828
1826
  city: string;
1829
1827
  countryCode: string;
1828
+ company: string | null;
1830
1829
  address2: string | null;
1831
1830
  province: string | null;
1832
1831
  postalCode: string | null;
1833
1832
  district: string | null;
1833
+ phone: string | null;
1834
1834
  latitude: number | null;
1835
1835
  longitude: number | null;
1836
1836
  }, {
1837
1837
  name: string | null;
1838
- company: string | null;
1839
- phone: string | null;
1840
1838
  address1: string;
1841
1839
  city: string;
1842
1840
  countryCode: string;
1841
+ company: string | null;
1843
1842
  address2: string | null;
1844
1843
  province: string | null;
1845
1844
  postalCode: string | null;
1846
1845
  district: string | null;
1846
+ phone: string | null;
1847
1847
  latitude: number | null;
1848
1848
  longitude: number | null;
1849
1849
  }>>;
@@ -1949,10 +1949,10 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
1949
1949
  sellerId: z.ZodNullable<z.ZodString>;
1950
1950
  shippingProfileId: z.ZodNullable<z.ZodString>;
1951
1951
  }, "strip", z.ZodTypeAny, {
1952
- name: string;
1953
1952
  id: string;
1954
- sellerId: string | null;
1953
+ name: string;
1955
1954
  description: string | null;
1955
+ sellerId: string | null;
1956
1956
  locationId: string | null;
1957
1957
  shippingMethodId: string | null;
1958
1958
  rateId: string | null;
@@ -1964,10 +1964,10 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
1964
1964
  serviceCode: string | null;
1965
1965
  shippingProfileId: string | null;
1966
1966
  }, {
1967
- name: string;
1968
1967
  id: string;
1969
- sellerId: string | null;
1968
+ name: string;
1970
1969
  description: string | null;
1970
+ sellerId: string | null;
1971
1971
  locationId: string | null;
1972
1972
  shippingMethodId: string | null;
1973
1973
  rateId: string | null;
@@ -2006,71 +2006,71 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
2006
2006
  }>;
2007
2007
  }, "strip", z.ZodTypeAny, {
2008
2008
  status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
2009
- email: string | null;
2010
2009
  id: string;
2011
2010
  phone: string | null;
2012
- items: {
2013
- id: string;
2014
- productId: number;
2015
- quantity: number;
2016
- variantId: number;
2017
- unitPrice: number;
2018
- bundleItems: {
2019
- imageUrl: string | null;
2020
- brand: string | null;
2021
- productId: number;
2022
- sku: string | null;
2023
- quantity: number;
2024
- variantId: number;
2025
- productName: string;
2026
- variantName: string | null;
2027
- }[];
2028
- title: string;
2029
- variantLabel: string | null;
2030
- productHandle: string | null;
2031
- thumbnail: string | null;
2032
- variantSku: string | null;
2033
- compareAtUnitPrice: number | null;
2034
- }[];
2035
2011
  cartNumber: string;
2012
+ email: string | null;
2036
2013
  firstName: string | null;
2037
2014
  lastName: string | null;
2038
2015
  currencyCode: string;
2039
2016
  completedAt: string | null;
2040
2017
  shippingAddress: {
2041
2018
  name: string | null;
2042
- company: string | null;
2043
- phone: string | null;
2044
2019
  address1: string;
2045
2020
  city: string;
2046
2021
  countryCode: string;
2022
+ company: string | null;
2047
2023
  address2: string | null;
2048
2024
  province: string | null;
2049
2025
  postalCode: string | null;
2050
2026
  district: string | null;
2027
+ phone: string | null;
2051
2028
  latitude: number | null;
2052
2029
  longitude: number | null;
2053
2030
  } | null;
2054
2031
  billingAddress: {
2055
2032
  name: string | null;
2056
- company: string | null;
2057
- phone: string | null;
2058
2033
  address1: string;
2059
2034
  city: string;
2060
2035
  countryCode: string;
2036
+ company: string | null;
2061
2037
  address2: string | null;
2062
2038
  province: string | null;
2063
2039
  postalCode: string | null;
2064
2040
  district: string | null;
2041
+ phone: string | null;
2065
2042
  latitude: number | null;
2066
2043
  longitude: number | null;
2067
2044
  } | null;
2068
2045
  promotionCodes: string[];
2046
+ items: {
2047
+ id: string;
2048
+ productId: number;
2049
+ quantity: number;
2050
+ variantId: number;
2051
+ unitPrice: number;
2052
+ bundleItems: {
2053
+ imageUrl: string | null;
2054
+ brand: string | null;
2055
+ productId: number;
2056
+ sku: string | null;
2057
+ quantity: number;
2058
+ variantId: number;
2059
+ productName: string;
2060
+ variantName: string | null;
2061
+ }[];
2062
+ title: string;
2063
+ variantLabel: string | null;
2064
+ productHandle: string | null;
2065
+ thumbnail: string | null;
2066
+ variantSku: string | null;
2067
+ compareAtUnitPrice: number | null;
2068
+ }[];
2069
2069
  shippingMethods: {
2070
- name: string;
2071
2070
  id: string;
2072
- sellerId: string | null;
2071
+ name: string;
2073
2072
  description: string | null;
2073
+ sellerId: string | null;
2074
2074
  locationId: string | null;
2075
2075
  shippingMethodId: string | null;
2076
2076
  rateId: string | null;
@@ -2093,71 +2093,71 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
2093
2093
  };
2094
2094
  }, {
2095
2095
  status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
2096
- email: string | null;
2097
2096
  id: string;
2098
2097
  phone: string | null;
2099
- items: {
2100
- id: string;
2101
- productId: number;
2102
- quantity: number;
2103
- variantId: number;
2104
- unitPrice: number;
2105
- bundleItems: {
2106
- imageUrl: string | null;
2107
- brand: string | null;
2108
- productId: number;
2109
- sku: string | null;
2110
- quantity: number;
2111
- variantId: number;
2112
- productName: string;
2113
- variantName: string | null;
2114
- }[];
2115
- title: string;
2116
- variantLabel: string | null;
2117
- productHandle: string | null;
2118
- thumbnail: string | null;
2119
- variantSku: string | null;
2120
- compareAtUnitPrice: number | null;
2121
- }[];
2122
2098
  cartNumber: string;
2099
+ email: string | null;
2123
2100
  firstName: string | null;
2124
2101
  lastName: string | null;
2125
2102
  currencyCode: string;
2126
2103
  completedAt: string | null;
2127
2104
  shippingAddress: {
2128
2105
  name: string | null;
2129
- company: string | null;
2130
- phone: string | null;
2131
2106
  address1: string;
2132
2107
  city: string;
2133
2108
  countryCode: string;
2109
+ company: string | null;
2134
2110
  address2: string | null;
2135
2111
  province: string | null;
2136
2112
  postalCode: string | null;
2137
2113
  district: string | null;
2114
+ phone: string | null;
2138
2115
  latitude: number | null;
2139
2116
  longitude: number | null;
2140
2117
  } | null;
2141
2118
  billingAddress: {
2142
2119
  name: string | null;
2143
- company: string | null;
2144
- phone: string | null;
2145
2120
  address1: string;
2146
2121
  city: string;
2147
2122
  countryCode: string;
2123
+ company: string | null;
2148
2124
  address2: string | null;
2149
2125
  province: string | null;
2150
2126
  postalCode: string | null;
2151
2127
  district: string | null;
2128
+ phone: string | null;
2152
2129
  latitude: number | null;
2153
2130
  longitude: number | null;
2154
2131
  } | null;
2155
2132
  promotionCodes: string[];
2133
+ items: {
2134
+ id: string;
2135
+ productId: number;
2136
+ quantity: number;
2137
+ variantId: number;
2138
+ unitPrice: number;
2139
+ bundleItems: {
2140
+ imageUrl: string | null;
2141
+ brand: string | null;
2142
+ productId: number;
2143
+ sku: string | null;
2144
+ quantity: number;
2145
+ variantId: number;
2146
+ productName: string;
2147
+ variantName: string | null;
2148
+ }[];
2149
+ title: string;
2150
+ variantLabel: string | null;
2151
+ productHandle: string | null;
2152
+ thumbnail: string | null;
2153
+ variantSku: string | null;
2154
+ compareAtUnitPrice: number | null;
2155
+ }[];
2156
2156
  shippingMethods: {
2157
- name: string;
2158
2157
  id: string;
2159
- sellerId: string | null;
2158
+ name: string;
2160
2159
  description: string | null;
2160
+ sellerId: string | null;
2161
2161
  locationId: string | null;
2162
2162
  shippingMethodId: string | null;
2163
2163
  rateId: string | null;
@@ -2469,28 +2469,28 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
2469
2469
  longitude: z.ZodNullable<z.ZodNumber>;
2470
2470
  }, "strip", z.ZodTypeAny, {
2471
2471
  name: string | null;
2472
- company: string | null;
2473
- phone: string | null;
2474
2472
  address1: string;
2475
2473
  city: string;
2476
2474
  countryCode: string;
2475
+ company: string | null;
2477
2476
  address2: string | null;
2478
2477
  province: string | null;
2479
2478
  postalCode: string | null;
2480
2479
  district: string | null;
2480
+ phone: string | null;
2481
2481
  latitude: number | null;
2482
2482
  longitude: number | null;
2483
2483
  }, {
2484
2484
  name: string | null;
2485
- company: string | null;
2486
- phone: string | null;
2487
2485
  address1: string;
2488
2486
  city: string;
2489
2487
  countryCode: string;
2488
+ company: string | null;
2490
2489
  address2: string | null;
2491
2490
  province: string | null;
2492
2491
  postalCode: string | null;
2493
2492
  district: string | null;
2493
+ phone: string | null;
2494
2494
  latitude: number | null;
2495
2495
  longitude: number | null;
2496
2496
  }>>;
@@ -2509,28 +2509,28 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
2509
2509
  longitude: z.ZodNullable<z.ZodNumber>;
2510
2510
  }, "strip", z.ZodTypeAny, {
2511
2511
  name: string | null;
2512
- company: string | null;
2513
- phone: string | null;
2514
2512
  address1: string;
2515
2513
  city: string;
2516
2514
  countryCode: string;
2515
+ company: string | null;
2517
2516
  address2: string | null;
2518
2517
  province: string | null;
2519
2518
  postalCode: string | null;
2520
2519
  district: string | null;
2520
+ phone: string | null;
2521
2521
  latitude: number | null;
2522
2522
  longitude: number | null;
2523
2523
  }, {
2524
2524
  name: string | null;
2525
- company: string | null;
2526
- phone: string | null;
2527
2525
  address1: string;
2528
2526
  city: string;
2529
2527
  countryCode: string;
2528
+ company: string | null;
2530
2529
  address2: string | null;
2531
2530
  province: string | null;
2532
2531
  postalCode: string | null;
2533
2532
  district: string | null;
2533
+ phone: string | null;
2534
2534
  latitude: number | null;
2535
2535
  longitude: number | null;
2536
2536
  }>>;
@@ -2636,10 +2636,10 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
2636
2636
  sellerId: z.ZodNullable<z.ZodString>;
2637
2637
  shippingProfileId: z.ZodNullable<z.ZodString>;
2638
2638
  }, "strip", z.ZodTypeAny, {
2639
- name: string;
2640
2639
  id: string;
2641
- sellerId: string | null;
2640
+ name: string;
2642
2641
  description: string | null;
2642
+ sellerId: string | null;
2643
2643
  locationId: string | null;
2644
2644
  shippingMethodId: string | null;
2645
2645
  rateId: string | null;
@@ -2651,10 +2651,10 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
2651
2651
  serviceCode: string | null;
2652
2652
  shippingProfileId: string | null;
2653
2653
  }, {
2654
- name: string;
2655
2654
  id: string;
2656
- sellerId: string | null;
2655
+ name: string;
2657
2656
  description: string | null;
2657
+ sellerId: string | null;
2658
2658
  locationId: string | null;
2659
2659
  shippingMethodId: string | null;
2660
2660
  rateId: string | null;
@@ -2683,81 +2683,81 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
2683
2683
  taxTotal: number;
2684
2684
  warrantyTotal: number;
2685
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
- email: string | null;
2697
- id: string;
2698
- phone: string | null;
2699
- items: {
2700
- id: string;
2701
- productId: number;
2702
- quantity: number;
2703
- variantId: number;
2704
- unitPrice: number;
2705
- bundleItems: {
2706
- imageUrl: string | null;
2707
- brand: string | null;
2708
- productId: number;
2709
- sku: string | null;
2710
- quantity: number;
2711
- variantId: number;
2712
- productName: string;
2713
- variantName: string | null;
2714
- }[];
2715
- title: string;
2716
- variantLabel: string | null;
2717
- productHandle: string | null;
2718
- thumbnail: string | null;
2719
- variantSku: string | null;
2720
- compareAtUnitPrice: number | null;
2721
- }[];
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;
2722
2698
  cartNumber: string;
2699
+ email: string | null;
2723
2700
  firstName: string | null;
2724
2701
  lastName: string | null;
2725
2702
  currencyCode: string;
2726
2703
  completedAt: string | null;
2727
2704
  shippingAddress: {
2728
2705
  name: string | null;
2729
- company: string | null;
2730
- phone: string | null;
2731
2706
  address1: string;
2732
2707
  city: string;
2733
2708
  countryCode: string;
2709
+ company: string | null;
2734
2710
  address2: string | null;
2735
2711
  province: string | null;
2736
2712
  postalCode: string | null;
2737
2713
  district: string | null;
2714
+ phone: string | null;
2738
2715
  latitude: number | null;
2739
2716
  longitude: number | null;
2740
2717
  } | null;
2741
2718
  billingAddress: {
2742
2719
  name: string | null;
2743
- company: string | null;
2744
- phone: string | null;
2745
2720
  address1: string;
2746
2721
  city: string;
2747
2722
  countryCode: string;
2723
+ company: string | null;
2748
2724
  address2: string | null;
2749
2725
  province: string | null;
2750
2726
  postalCode: string | null;
2751
2727
  district: string | null;
2728
+ phone: string | null;
2752
2729
  latitude: number | null;
2753
2730
  longitude: number | null;
2754
2731
  } | null;
2755
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
2756
  shippingMethods: {
2757
- name: string;
2758
2757
  id: string;
2759
- sellerId: string | null;
2758
+ name: string;
2760
2759
  description: string | null;
2760
+ sellerId: string | null;
2761
2761
  locationId: string | null;
2762
2762
  shippingMethodId: string | null;
2763
2763
  rateId: string | null;
@@ -2780,71 +2780,71 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
2780
2780
  };
2781
2781
  }, {
2782
2782
  status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
2783
- email: string | null;
2784
2783
  id: string;
2785
2784
  phone: string | null;
2786
- items: {
2787
- id: string;
2788
- productId: number;
2789
- quantity: number;
2790
- variantId: number;
2791
- unitPrice: number;
2792
- bundleItems: {
2793
- imageUrl: string | null;
2794
- brand: string | null;
2795
- productId: number;
2796
- sku: string | null;
2797
- quantity: number;
2798
- variantId: number;
2799
- productName: string;
2800
- variantName: string | null;
2801
- }[];
2802
- title: string;
2803
- variantLabel: string | null;
2804
- productHandle: string | null;
2805
- thumbnail: string | null;
2806
- variantSku: string | null;
2807
- compareAtUnitPrice: number | null;
2808
- }[];
2809
2785
  cartNumber: string;
2786
+ email: string | null;
2810
2787
  firstName: string | null;
2811
2788
  lastName: string | null;
2812
2789
  currencyCode: string;
2813
2790
  completedAt: string | null;
2814
2791
  shippingAddress: {
2815
2792
  name: string | null;
2816
- company: string | null;
2817
- phone: string | null;
2818
2793
  address1: string;
2819
2794
  city: string;
2820
2795
  countryCode: string;
2796
+ company: string | null;
2821
2797
  address2: string | null;
2822
2798
  province: string | null;
2823
2799
  postalCode: string | null;
2824
2800
  district: string | null;
2801
+ phone: string | null;
2825
2802
  latitude: number | null;
2826
2803
  longitude: number | null;
2827
2804
  } | null;
2828
2805
  billingAddress: {
2829
2806
  name: string | null;
2830
- company: string | null;
2831
- phone: string | null;
2832
2807
  address1: string;
2833
2808
  city: string;
2834
2809
  countryCode: string;
2810
+ company: string | null;
2835
2811
  address2: string | null;
2836
2812
  province: string | null;
2837
2813
  postalCode: string | null;
2838
2814
  district: string | null;
2815
+ phone: string | null;
2839
2816
  latitude: number | null;
2840
2817
  longitude: number | null;
2841
2818
  } | null;
2842
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
2843
  shippingMethods: {
2844
- name: string;
2845
2844
  id: string;
2846
- sellerId: string | null;
2845
+ name: string;
2847
2846
  description: string | null;
2847
+ sellerId: string | null;
2848
2848
  locationId: string | null;
2849
2849
  shippingMethodId: string | null;
2850
2850
  rateId: string | null;
@@ -3156,28 +3156,28 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
3156
3156
  longitude: z.ZodNullable<z.ZodNumber>;
3157
3157
  }, "strip", z.ZodTypeAny, {
3158
3158
  name: string | null;
3159
- company: string | null;
3160
- phone: string | null;
3161
3159
  address1: string;
3162
3160
  city: string;
3163
3161
  countryCode: string;
3162
+ company: string | null;
3164
3163
  address2: string | null;
3165
3164
  province: string | null;
3166
3165
  postalCode: string | null;
3167
3166
  district: string | null;
3167
+ phone: string | null;
3168
3168
  latitude: number | null;
3169
3169
  longitude: number | null;
3170
3170
  }, {
3171
3171
  name: string | null;
3172
- company: string | null;
3173
- phone: string | null;
3174
3172
  address1: string;
3175
3173
  city: string;
3176
3174
  countryCode: string;
3175
+ company: string | null;
3177
3176
  address2: string | null;
3178
3177
  province: string | null;
3179
3178
  postalCode: string | null;
3180
3179
  district: string | null;
3180
+ phone: string | null;
3181
3181
  latitude: number | null;
3182
3182
  longitude: number | null;
3183
3183
  }>>;
@@ -3196,28 +3196,28 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
3196
3196
  longitude: z.ZodNullable<z.ZodNumber>;
3197
3197
  }, "strip", z.ZodTypeAny, {
3198
3198
  name: string | null;
3199
- company: string | null;
3200
- phone: string | null;
3201
3199
  address1: string;
3202
3200
  city: string;
3203
3201
  countryCode: string;
3202
+ company: string | null;
3204
3203
  address2: string | null;
3205
3204
  province: string | null;
3206
3205
  postalCode: string | null;
3207
3206
  district: string | null;
3207
+ phone: string | null;
3208
3208
  latitude: number | null;
3209
3209
  longitude: number | null;
3210
3210
  }, {
3211
3211
  name: string | null;
3212
- company: string | null;
3213
- phone: string | null;
3214
3212
  address1: string;
3215
3213
  city: string;
3216
3214
  countryCode: string;
3215
+ company: string | null;
3217
3216
  address2: string | null;
3218
3217
  province: string | null;
3219
3218
  postalCode: string | null;
3220
3219
  district: string | null;
3220
+ phone: string | null;
3221
3221
  latitude: number | null;
3222
3222
  longitude: number | null;
3223
3223
  }>>;
@@ -3323,10 +3323,10 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
3323
3323
  sellerId: z.ZodNullable<z.ZodString>;
3324
3324
  shippingProfileId: z.ZodNullable<z.ZodString>;
3325
3325
  }, "strip", z.ZodTypeAny, {
3326
- name: string;
3327
3326
  id: string;
3328
- sellerId: string | null;
3327
+ name: string;
3329
3328
  description: string | null;
3329
+ sellerId: string | null;
3330
3330
  locationId: string | null;
3331
3331
  shippingMethodId: string | null;
3332
3332
  rateId: string | null;
@@ -3338,10 +3338,10 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
3338
3338
  serviceCode: string | null;
3339
3339
  shippingProfileId: string | null;
3340
3340
  }, {
3341
- name: string;
3342
3341
  id: string;
3343
- sellerId: string | null;
3342
+ name: string;
3344
3343
  description: string | null;
3344
+ sellerId: string | null;
3345
3345
  locationId: string | null;
3346
3346
  shippingMethodId: string | null;
3347
3347
  rateId: string | null;
@@ -3380,71 +3380,71 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
3380
3380
  }>;
3381
3381
  }, "strip", z.ZodTypeAny, {
3382
3382
  status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
3383
- email: string | null;
3384
3383
  id: string;
3385
3384
  phone: string | null;
3386
- items: {
3387
- id: string;
3388
- productId: number;
3389
- quantity: number;
3390
- variantId: number;
3391
- unitPrice: number;
3392
- bundleItems: {
3393
- imageUrl: string | null;
3394
- brand: string | null;
3395
- productId: number;
3396
- sku: string | null;
3397
- quantity: number;
3398
- variantId: number;
3399
- productName: string;
3400
- variantName: string | null;
3401
- }[];
3402
- title: string;
3403
- variantLabel: string | null;
3404
- productHandle: string | null;
3405
- thumbnail: string | null;
3406
- variantSku: string | null;
3407
- compareAtUnitPrice: number | null;
3408
- }[];
3409
3385
  cartNumber: string;
3386
+ email: string | null;
3410
3387
  firstName: string | null;
3411
3388
  lastName: string | null;
3412
3389
  currencyCode: string;
3413
3390
  completedAt: string | null;
3414
3391
  shippingAddress: {
3415
3392
  name: string | null;
3416
- company: string | null;
3417
- phone: string | null;
3418
3393
  address1: string;
3419
3394
  city: string;
3420
3395
  countryCode: string;
3396
+ company: string | null;
3421
3397
  address2: string | null;
3422
3398
  province: string | null;
3423
3399
  postalCode: string | null;
3424
3400
  district: string | null;
3401
+ phone: string | null;
3425
3402
  latitude: number | null;
3426
3403
  longitude: number | null;
3427
3404
  } | null;
3428
3405
  billingAddress: {
3429
3406
  name: string | null;
3430
- company: string | null;
3431
- phone: string | null;
3432
3407
  address1: string;
3433
3408
  city: string;
3434
3409
  countryCode: string;
3410
+ company: string | null;
3435
3411
  address2: string | null;
3436
3412
  province: string | null;
3437
3413
  postalCode: string | null;
3438
3414
  district: string | null;
3415
+ phone: string | null;
3439
3416
  latitude: number | null;
3440
3417
  longitude: number | null;
3441
3418
  } | null;
3442
3419
  promotionCodes: string[];
3420
+ items: {
3421
+ id: string;
3422
+ productId: number;
3423
+ quantity: number;
3424
+ variantId: number;
3425
+ unitPrice: number;
3426
+ bundleItems: {
3427
+ imageUrl: string | null;
3428
+ brand: string | null;
3429
+ productId: number;
3430
+ sku: string | null;
3431
+ quantity: number;
3432
+ variantId: number;
3433
+ productName: string;
3434
+ variantName: string | null;
3435
+ }[];
3436
+ title: string;
3437
+ variantLabel: string | null;
3438
+ productHandle: string | null;
3439
+ thumbnail: string | null;
3440
+ variantSku: string | null;
3441
+ compareAtUnitPrice: number | null;
3442
+ }[];
3443
3443
  shippingMethods: {
3444
- name: string;
3445
3444
  id: string;
3446
- sellerId: string | null;
3445
+ name: string;
3447
3446
  description: string | null;
3447
+ sellerId: string | null;
3448
3448
  locationId: string | null;
3449
3449
  shippingMethodId: string | null;
3450
3450
  rateId: string | null;
@@ -3467,71 +3467,71 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
3467
3467
  };
3468
3468
  }, {
3469
3469
  status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
3470
- email: string | null;
3471
3470
  id: string;
3472
3471
  phone: string | null;
3473
- items: {
3474
- id: string;
3475
- productId: number;
3476
- quantity: number;
3477
- variantId: number;
3478
- unitPrice: number;
3479
- bundleItems: {
3480
- imageUrl: string | null;
3481
- brand: string | null;
3482
- productId: number;
3483
- sku: string | null;
3484
- quantity: number;
3485
- variantId: number;
3486
- productName: string;
3487
- variantName: string | null;
3488
- }[];
3489
- title: string;
3490
- variantLabel: string | null;
3491
- productHandle: string | null;
3492
- thumbnail: string | null;
3493
- variantSku: string | null;
3494
- compareAtUnitPrice: number | null;
3495
- }[];
3496
3472
  cartNumber: string;
3473
+ email: string | null;
3497
3474
  firstName: string | null;
3498
3475
  lastName: string | null;
3499
3476
  currencyCode: string;
3500
3477
  completedAt: string | null;
3501
3478
  shippingAddress: {
3502
3479
  name: string | null;
3503
- company: string | null;
3504
- phone: string | null;
3505
3480
  address1: string;
3506
3481
  city: string;
3507
3482
  countryCode: string;
3483
+ company: string | null;
3508
3484
  address2: string | null;
3509
3485
  province: string | null;
3510
3486
  postalCode: string | null;
3511
3487
  district: string | null;
3488
+ phone: string | null;
3512
3489
  latitude: number | null;
3513
3490
  longitude: number | null;
3514
3491
  } | null;
3515
3492
  billingAddress: {
3516
3493
  name: string | null;
3517
- company: string | null;
3518
- phone: string | null;
3519
3494
  address1: string;
3520
3495
  city: string;
3521
3496
  countryCode: string;
3497
+ company: string | null;
3522
3498
  address2: string | null;
3523
3499
  province: string | null;
3524
3500
  postalCode: string | null;
3525
3501
  district: string | null;
3502
+ phone: string | null;
3526
3503
  latitude: number | null;
3527
3504
  longitude: number | null;
3528
3505
  } | null;
3529
3506
  promotionCodes: string[];
3507
+ items: {
3508
+ id: string;
3509
+ productId: number;
3510
+ quantity: number;
3511
+ variantId: number;
3512
+ unitPrice: number;
3513
+ bundleItems: {
3514
+ imageUrl: string | null;
3515
+ brand: string | null;
3516
+ productId: number;
3517
+ sku: string | null;
3518
+ quantity: number;
3519
+ variantId: number;
3520
+ productName: string;
3521
+ variantName: string | null;
3522
+ }[];
3523
+ title: string;
3524
+ variantLabel: string | null;
3525
+ productHandle: string | null;
3526
+ thumbnail: string | null;
3527
+ variantSku: string | null;
3528
+ compareAtUnitPrice: number | null;
3529
+ }[];
3530
3530
  shippingMethods: {
3531
- name: string;
3532
3531
  id: string;
3533
- sellerId: string | null;
3532
+ name: string;
3534
3533
  description: string | null;
3534
+ sellerId: string | null;
3535
3535
  locationId: string | null;
3536
3536
  shippingMethodId: string | null;
3537
3537
  rateId: string | null;
@@ -4095,11 +4095,11 @@ declare const CartPaymentReceiptResponseSchema: z.ZodObject<{
4095
4095
  id: z.ZodString;
4096
4096
  url: z.ZodString;
4097
4097
  }, "strip", z.ZodTypeAny, {
4098
- url: string;
4099
4098
  id: string;
4100
- }, {
4101
4099
  url: string;
4100
+ }, {
4102
4101
  id: string;
4102
+ url: string;
4103
4103
  }>;
4104
4104
  type CartPaymentReceiptResponse = z.infer<typeof CartPaymentReceiptResponseSchema>;
4105
4105
  type UploadPaymentReceiptParams = {