@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.
Files changed (87) hide show
  1. package/dist/{client-4ZTG2RZ3.d.ts → client-Ba1r_uiO.d.ts} +4 -4
  2. package/dist/{client-BpX4yR6S.d.cts → client-Cqcnv2tC.d.cts} +4 -4
  3. package/dist/client.cjs +94 -89
  4. package/dist/client.cjs.map +1 -1
  5. package/dist/client.d.cts +2 -2
  6. package/dist/client.d.ts +2 -2
  7. package/dist/client.js +94 -89
  8. package/dist/client.js.map +1 -1
  9. package/dist/index.cjs +96 -101
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.cts +65 -55
  12. package/dist/index.d.ts +65 -55
  13. package/dist/index.js +95 -100
  14. package/dist/index.js.map +1 -1
  15. package/dist/models/collections.cjs +7 -1
  16. package/dist/models/collections.cjs.map +1 -1
  17. package/dist/models/collections.d.cts +6 -6
  18. package/dist/models/collections.d.ts +6 -6
  19. package/dist/models/collections.js +7 -1
  20. package/dist/models/collections.js.map +1 -1
  21. package/dist/models/customer-address.cjs +7 -1
  22. package/dist/models/customer-address.cjs.map +1 -1
  23. package/dist/models/customer-address.d.cts +4 -4
  24. package/dist/models/customer-address.d.ts +4 -4
  25. package/dist/models/customer-address.js +7 -1
  26. package/dist/models/customer-address.js.map +1 -1
  27. package/dist/models/customer-order.cjs +14 -8
  28. package/dist/models/customer-order.cjs.map +1 -1
  29. package/dist/models/customer-order.d.cts +1 -5
  30. package/dist/models/customer-order.d.ts +1 -5
  31. package/dist/models/customer-order.js +14 -8
  32. package/dist/models/customer-order.js.map +1 -1
  33. package/dist/models/customer-profile.cjs +8 -2
  34. package/dist/models/customer-profile.cjs.map +1 -1
  35. package/dist/models/customer-profile.d.cts +3 -3
  36. package/dist/models/customer-profile.d.ts +3 -3
  37. package/dist/models/customer-profile.js +8 -2
  38. package/dist/models/customer-profile.js.map +1 -1
  39. package/dist/models/geo.cjs +2 -4
  40. package/dist/models/geo.cjs.map +1 -1
  41. package/dist/models/geo.d.cts +14 -14
  42. package/dist/models/geo.d.ts +14 -14
  43. package/dist/models/geo.js +2 -4
  44. package/dist/models/geo.js.map +1 -1
  45. package/dist/models/ids.cjs +3 -4
  46. package/dist/models/ids.cjs.map +1 -1
  47. package/dist/models/ids.d.cts +8 -8
  48. package/dist/models/ids.d.ts +8 -8
  49. package/dist/models/ids.js +3 -5
  50. package/dist/models/ids.js.map +1 -1
  51. package/dist/models/products.cjs +12 -19
  52. package/dist/models/products.cjs.map +1 -1
  53. package/dist/models/products.d.cts +32 -33
  54. package/dist/models/products.d.ts +32 -33
  55. package/dist/models/products.js +13 -19
  56. package/dist/models/products.js.map +1 -1
  57. package/dist/models/search.cjs +3 -180
  58. package/dist/models/search.cjs.map +1 -1
  59. package/dist/models/search.d.cts +5 -5
  60. package/dist/models/search.d.ts +5 -5
  61. package/dist/models/search.js +3 -180
  62. package/dist/models/search.js.map +1 -1
  63. package/dist/models/settings.cjs +2 -4
  64. package/dist/models/settings.cjs.map +1 -1
  65. package/dist/models/settings.d.cts +63 -63
  66. package/dist/models/settings.d.ts +63 -63
  67. package/dist/models/settings.js +2 -4
  68. package/dist/models/settings.js.map +1 -1
  69. package/dist/models/storefront-cart.cjs +14 -26
  70. package/dist/models/storefront-cart.cjs.map +1 -1
  71. package/dist/models/storefront-cart.d.cts +100 -98
  72. package/dist/models/storefront-cart.d.ts +100 -98
  73. package/dist/models/storefront-cart.js +15 -26
  74. package/dist/models/storefront-cart.js.map +1 -1
  75. package/dist/models/storefront-checkout.cjs +44 -34
  76. package/dist/models/storefront-checkout.cjs.map +1 -1
  77. package/dist/models/storefront-checkout.d.cts +660 -2278
  78. package/dist/models/storefront-checkout.d.ts +660 -2278
  79. package/dist/models/storefront-checkout.js +44 -35
  80. package/dist/models/storefront-checkout.js.map +1 -1
  81. package/dist/models/storefront-reviews.cjs +8 -187
  82. package/dist/models/storefront-reviews.cjs.map +1 -1
  83. package/dist/models/storefront-reviews.d.cts +17 -17
  84. package/dist/models/storefront-reviews.d.ts +17 -17
  85. package/dist/models/storefront-reviews.js +8 -187
  86. package/dist/models/storefront-reviews.js.map +1 -1
  87. package/package.json +1 -1
@@ -1,6 +1,5 @@
1
1
  import { z } from 'zod';
2
2
 
3
- declare function cartVariantIdFromProduct(variantId: string): number;
4
3
  declare const StorefrontAddressSchema: z.ZodObject<{
5
4
  name: z.ZodNullable<z.ZodString>;
6
5
  address1: z.ZodString;
@@ -42,8 +41,8 @@ declare const StorefrontAddressSchema: z.ZodObject<{
42
41
  longitude: number | null;
43
42
  }>;
44
43
  declare const StorefrontCartBundleItemSchema: z.ZodObject<{
45
- productId: z.ZodNumber;
46
- variantId: z.ZodNumber;
44
+ productId: z.ZodString;
45
+ variantId: z.ZodString;
47
46
  productName: z.ZodString;
48
47
  variantName: z.ZodNullable<z.ZodString>;
49
48
  sku: z.ZodNullable<z.ZodString>;
@@ -53,37 +52,37 @@ declare const StorefrontCartBundleItemSchema: z.ZodObject<{
53
52
  }, "strip", z.ZodTypeAny, {
54
53
  imageUrl: string | null;
55
54
  brand: string | null;
56
- productId: number;
55
+ productId: string;
57
56
  sku: string | null;
58
57
  quantity: number;
59
- variantId: number;
58
+ variantId: string;
60
59
  productName: string;
61
60
  variantName: string | null;
62
61
  }, {
63
62
  imageUrl: string | null;
64
63
  brand: string | null;
65
- productId: number;
64
+ productId: string;
66
65
  sku: string | null;
67
66
  quantity: number;
68
- variantId: number;
67
+ variantId: string;
69
68
  productName: string;
70
69
  variantName: string | null;
71
70
  }>;
72
71
  declare const StorefrontCartItemSchema: z.ZodObject<{
73
- id: z.ZodUnion<[z.ZodString, z.ZodString]>;
74
- productId: z.ZodNumber;
72
+ id: z.ZodString;
73
+ productId: z.ZodNullable<z.ZodString>;
75
74
  title: z.ZodString;
76
75
  variantLabel: z.ZodNullable<z.ZodString>;
77
76
  productHandle: z.ZodNullable<z.ZodString>;
78
77
  thumbnail: z.ZodNullable<z.ZodString>;
79
78
  quantity: z.ZodNumber;
80
- variantId: z.ZodNumber;
79
+ variantId: z.ZodNullable<z.ZodString>;
81
80
  variantSku: z.ZodNullable<z.ZodString>;
82
81
  unitPrice: z.ZodNumber;
83
82
  compareAtUnitPrice: z.ZodNullable<z.ZodNumber>;
84
83
  bundleItems: z.ZodArray<z.ZodObject<{
85
- productId: z.ZodNumber;
86
- variantId: z.ZodNumber;
84
+ productId: z.ZodString;
85
+ variantId: z.ZodString;
87
86
  productName: z.ZodString;
88
87
  variantName: z.ZodNullable<z.ZodString>;
89
88
  sku: z.ZodNullable<z.ZodString>;
@@ -93,35 +92,35 @@ declare const StorefrontCartItemSchema: z.ZodObject<{
93
92
  }, "strip", z.ZodTypeAny, {
94
93
  imageUrl: string | null;
95
94
  brand: string | null;
96
- productId: number;
95
+ productId: string;
97
96
  sku: string | null;
98
97
  quantity: number;
99
- variantId: number;
98
+ variantId: string;
100
99
  productName: string;
101
100
  variantName: string | null;
102
101
  }, {
103
102
  imageUrl: string | null;
104
103
  brand: string | null;
105
- productId: number;
104
+ productId: string;
106
105
  sku: string | null;
107
106
  quantity: number;
108
- variantId: number;
107
+ variantId: string;
109
108
  productName: string;
110
109
  variantName: string | null;
111
110
  }>, "many">;
112
111
  }, "strip", z.ZodTypeAny, {
113
112
  id: string;
114
- productId: number;
113
+ productId: string | null;
115
114
  quantity: number;
116
- variantId: number;
115
+ variantId: string | null;
117
116
  unitPrice: number;
118
117
  bundleItems: {
119
118
  imageUrl: string | null;
120
119
  brand: string | null;
121
- productId: number;
120
+ productId: string;
122
121
  sku: string | null;
123
122
  quantity: number;
124
- variantId: number;
123
+ variantId: string;
125
124
  productName: string;
126
125
  variantName: string | null;
127
126
  }[];
@@ -133,17 +132,17 @@ declare const StorefrontCartItemSchema: z.ZodObject<{
133
132
  compareAtUnitPrice: number | null;
134
133
  }, {
135
134
  id: string;
136
- productId: number;
135
+ productId: string | null;
137
136
  quantity: number;
138
- variantId: number;
137
+ variantId: string | null;
139
138
  unitPrice: number;
140
139
  bundleItems: {
141
140
  imageUrl: string | null;
142
141
  brand: string | null;
143
- productId: number;
142
+ productId: string;
144
143
  sku: string | null;
145
144
  quantity: number;
146
- variantId: number;
145
+ variantId: string;
147
146
  productName: string;
148
147
  variantName: string | null;
149
148
  }[];
@@ -155,20 +154,20 @@ declare const StorefrontCartItemSchema: z.ZodObject<{
155
154
  compareAtUnitPrice: number | null;
156
155
  }>;
157
156
  declare const StorefrontCartShippingMethodSchema: z.ZodObject<{
158
- id: z.ZodUnion<[z.ZodString, z.ZodString]>;
159
- shippingMethodId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
160
- rateId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
157
+ id: z.ZodString;
158
+ shippingMethodId: z.ZodNullable<z.ZodString>;
159
+ rateId: z.ZodNullable<z.ZodString>;
161
160
  name: z.ZodString;
162
161
  description: z.ZodNullable<z.ZodString>;
163
162
  total: z.ZodNumber;
164
- locationId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
163
+ locationId: z.ZodNullable<z.ZodString>;
165
164
  estimatedDays: z.ZodNullable<z.ZodNumber>;
166
- pickupPointId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
165
+ pickupPointId: z.ZodNullable<z.ZodString>;
167
166
  scheduledDate: z.ZodNullable<z.ZodString>;
168
167
  scheduledTime: z.ZodNullable<z.ZodString>;
169
168
  serviceCode: z.ZodNullable<z.ZodString>;
170
- sellerId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
171
- shippingProfileId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
169
+ sellerId: z.ZodNullable<z.ZodString>;
170
+ shippingProfileId: z.ZodNullable<z.ZodString>;
172
171
  }, "strip", z.ZodTypeAny, {
173
172
  id: string;
174
173
  name: string;
@@ -227,7 +226,8 @@ declare const StorefrontCartTotalsSchema: z.ZodObject<{
227
226
  }>;
228
227
  declare const StorefrontCartStatusSchema: z.ZodEnum<["inProgress", "pending", "completed", "abandoned", "cancelled", "expired", "failed"]>;
229
228
  declare const StorefrontCartSchema: z.ZodObject<{
230
- id: z.ZodUnion<[z.ZodString, z.ZodString]>;
229
+ id: z.ZodString;
230
+ token: z.ZodString;
231
231
  cartNumber: z.ZodString;
232
232
  email: z.ZodNullable<z.ZodString>;
233
233
  phone: z.ZodNullable<z.ZodString>;
@@ -318,20 +318,20 @@ declare const StorefrontCartSchema: z.ZodObject<{
318
318
  }>>;
319
319
  promotionCodes: z.ZodArray<z.ZodString, "many">;
320
320
  items: z.ZodArray<z.ZodObject<{
321
- id: z.ZodUnion<[z.ZodString, z.ZodString]>;
322
- productId: z.ZodNumber;
321
+ id: z.ZodString;
322
+ productId: z.ZodNullable<z.ZodString>;
323
323
  title: z.ZodString;
324
324
  variantLabel: z.ZodNullable<z.ZodString>;
325
325
  productHandle: z.ZodNullable<z.ZodString>;
326
326
  thumbnail: z.ZodNullable<z.ZodString>;
327
327
  quantity: z.ZodNumber;
328
- variantId: z.ZodNumber;
328
+ variantId: z.ZodNullable<z.ZodString>;
329
329
  variantSku: z.ZodNullable<z.ZodString>;
330
330
  unitPrice: z.ZodNumber;
331
331
  compareAtUnitPrice: z.ZodNullable<z.ZodNumber>;
332
332
  bundleItems: z.ZodArray<z.ZodObject<{
333
- productId: z.ZodNumber;
334
- variantId: z.ZodNumber;
333
+ productId: z.ZodString;
334
+ variantId: z.ZodString;
335
335
  productName: z.ZodString;
336
336
  variantName: z.ZodNullable<z.ZodString>;
337
337
  sku: z.ZodNullable<z.ZodString>;
@@ -341,35 +341,35 @@ declare const StorefrontCartSchema: z.ZodObject<{
341
341
  }, "strip", z.ZodTypeAny, {
342
342
  imageUrl: string | null;
343
343
  brand: string | null;
344
- productId: number;
344
+ productId: string;
345
345
  sku: string | null;
346
346
  quantity: number;
347
- variantId: number;
347
+ variantId: string;
348
348
  productName: string;
349
349
  variantName: string | null;
350
350
  }, {
351
351
  imageUrl: string | null;
352
352
  brand: string | null;
353
- productId: number;
353
+ productId: string;
354
354
  sku: string | null;
355
355
  quantity: number;
356
- variantId: number;
356
+ variantId: string;
357
357
  productName: string;
358
358
  variantName: string | null;
359
359
  }>, "many">;
360
360
  }, "strip", z.ZodTypeAny, {
361
361
  id: string;
362
- productId: number;
362
+ productId: string | null;
363
363
  quantity: number;
364
- variantId: number;
364
+ variantId: string | null;
365
365
  unitPrice: number;
366
366
  bundleItems: {
367
367
  imageUrl: string | null;
368
368
  brand: string | null;
369
- productId: number;
369
+ productId: string;
370
370
  sku: string | null;
371
371
  quantity: number;
372
- variantId: number;
372
+ variantId: string;
373
373
  productName: string;
374
374
  variantName: string | null;
375
375
  }[];
@@ -381,17 +381,17 @@ declare const StorefrontCartSchema: z.ZodObject<{
381
381
  compareAtUnitPrice: number | null;
382
382
  }, {
383
383
  id: string;
384
- productId: number;
384
+ productId: string | null;
385
385
  quantity: number;
386
- variantId: number;
386
+ variantId: string | null;
387
387
  unitPrice: number;
388
388
  bundleItems: {
389
389
  imageUrl: string | null;
390
390
  brand: string | null;
391
- productId: number;
391
+ productId: string;
392
392
  sku: string | null;
393
393
  quantity: number;
394
- variantId: number;
394
+ variantId: string;
395
395
  productName: string;
396
396
  variantName: string | null;
397
397
  }[];
@@ -403,20 +403,20 @@ declare const StorefrontCartSchema: z.ZodObject<{
403
403
  compareAtUnitPrice: number | null;
404
404
  }>, "many">;
405
405
  shippingMethods: z.ZodArray<z.ZodObject<{
406
- id: z.ZodUnion<[z.ZodString, z.ZodString]>;
407
- shippingMethodId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
408
- rateId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
406
+ id: z.ZodString;
407
+ shippingMethodId: z.ZodNullable<z.ZodString>;
408
+ rateId: z.ZodNullable<z.ZodString>;
409
409
  name: z.ZodString;
410
410
  description: z.ZodNullable<z.ZodString>;
411
411
  total: z.ZodNumber;
412
- locationId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
412
+ locationId: z.ZodNullable<z.ZodString>;
413
413
  estimatedDays: z.ZodNullable<z.ZodNumber>;
414
- pickupPointId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
414
+ pickupPointId: z.ZodNullable<z.ZodString>;
415
415
  scheduledDate: z.ZodNullable<z.ZodString>;
416
416
  scheduledTime: z.ZodNullable<z.ZodString>;
417
417
  serviceCode: z.ZodNullable<z.ZodString>;
418
- sellerId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
419
- shippingProfileId: z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString]>>;
418
+ sellerId: z.ZodNullable<z.ZodString>;
419
+ shippingProfileId: z.ZodNullable<z.ZodString>;
420
420
  }, "strip", z.ZodTypeAny, {
421
421
  id: string;
422
422
  name: string;
@@ -477,6 +477,7 @@ declare const StorefrontCartSchema: z.ZodObject<{
477
477
  status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
478
478
  id: string;
479
479
  phone: string | null;
480
+ token: string;
480
481
  cartNumber: string;
481
482
  email: string | null;
482
483
  firstName: string | null;
@@ -514,17 +515,17 @@ declare const StorefrontCartSchema: z.ZodObject<{
514
515
  promotionCodes: string[];
515
516
  items: {
516
517
  id: string;
517
- productId: number;
518
+ productId: string | null;
518
519
  quantity: number;
519
- variantId: number;
520
+ variantId: string | null;
520
521
  unitPrice: number;
521
522
  bundleItems: {
522
523
  imageUrl: string | null;
523
524
  brand: string | null;
524
- productId: number;
525
+ productId: string;
525
526
  sku: string | null;
526
527
  quantity: number;
527
- variantId: number;
528
+ variantId: string;
528
529
  productName: string;
529
530
  variantName: string | null;
530
531
  }[];
@@ -564,6 +565,7 @@ declare const StorefrontCartSchema: z.ZodObject<{
564
565
  status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
565
566
  id: string;
566
567
  phone: string | null;
568
+ token: string;
567
569
  cartNumber: string;
568
570
  email: string | null;
569
571
  firstName: string | null;
@@ -601,17 +603,17 @@ declare const StorefrontCartSchema: z.ZodObject<{
601
603
  promotionCodes: string[];
602
604
  items: {
603
605
  id: string;
604
- productId: number;
606
+ productId: string | null;
605
607
  quantity: number;
606
- variantId: number;
608
+ variantId: string | null;
607
609
  unitPrice: number;
608
610
  bundleItems: {
609
611
  imageUrl: string | null;
610
612
  brand: string | null;
611
- productId: number;
613
+ productId: string;
612
614
  sku: string | null;
613
615
  quantity: number;
614
- variantId: number;
616
+ variantId: string;
615
617
  productName: string;
616
618
  variantName: string | null;
617
619
  }[];
@@ -662,74 +664,74 @@ declare const CreateCartParamsSchema: z.ZodObject<{
662
664
  salesChannelId?: string | undefined;
663
665
  }>;
664
666
  declare const GetCartParamsSchema: z.ZodObject<{
665
- cartId: z.ZodUnion<[z.ZodString, z.ZodString]>;
667
+ cartToken: z.ZodString;
666
668
  }, "strip", z.ZodTypeAny, {
667
- cartId: string;
669
+ cartToken: string;
668
670
  }, {
669
- cartId: string;
671
+ cartToken: string;
670
672
  }>;
671
673
  declare const CartItemModifierSchema: z.ZodObject<{
672
- modifierGroupId: z.ZodNumber;
673
- optionIds: z.ZodArray<z.ZodNumber, "many">;
674
+ modifierGroupId: z.ZodString;
675
+ optionIds: z.ZodArray<z.ZodString, "many">;
674
676
  }, "strip", z.ZodTypeAny, {
675
- modifierGroupId: number;
676
- optionIds: number[];
677
+ modifierGroupId: string;
678
+ optionIds: string[];
677
679
  }, {
678
- modifierGroupId: number;
679
- optionIds: number[];
680
+ modifierGroupId: string;
681
+ optionIds: string[];
680
682
  }>;
681
683
  declare const AddCartItemParamsSchema: z.ZodObject<{
682
- cartId: z.ZodUnion<[z.ZodString, z.ZodString]>;
683
- variantId: z.ZodNumber;
684
+ cartToken: z.ZodString;
685
+ variantId: z.ZodString;
684
686
  quantity: z.ZodNumber;
685
687
  modifiers: z.ZodOptional<z.ZodArray<z.ZodObject<{
686
- modifierGroupId: z.ZodNumber;
687
- optionIds: z.ZodArray<z.ZodNumber, "many">;
688
+ modifierGroupId: z.ZodString;
689
+ optionIds: z.ZodArray<z.ZodString, "many">;
688
690
  }, "strip", z.ZodTypeAny, {
689
- modifierGroupId: number;
690
- optionIds: number[];
691
+ modifierGroupId: string;
692
+ optionIds: string[];
691
693
  }, {
692
- modifierGroupId: number;
693
- optionIds: number[];
694
+ modifierGroupId: string;
695
+ optionIds: string[];
694
696
  }>, "many">>;
695
697
  }, "strip", z.ZodTypeAny, {
696
698
  quantity: number;
697
- variantId: number;
698
- cartId: string;
699
+ variantId: string;
700
+ cartToken: string;
699
701
  modifiers?: {
700
- modifierGroupId: number;
701
- optionIds: number[];
702
+ modifierGroupId: string;
703
+ optionIds: string[];
702
704
  }[] | undefined;
703
705
  }, {
704
706
  quantity: number;
705
- variantId: number;
706
- cartId: string;
707
+ variantId: string;
708
+ cartToken: string;
707
709
  modifiers?: {
708
- modifierGroupId: number;
709
- optionIds: number[];
710
+ modifierGroupId: string;
711
+ optionIds: string[];
710
712
  }[] | undefined;
711
713
  }>;
712
714
  declare const UpdateCartItemQuantityParamsSchema: z.ZodObject<{
713
- cartId: z.ZodUnion<[z.ZodString, z.ZodString]>;
714
- cartItemId: z.ZodUnion<[z.ZodString, z.ZodString]>;
715
+ cartToken: z.ZodString;
716
+ cartItemId: z.ZodString;
715
717
  quantity: z.ZodNumber;
716
718
  }, "strip", z.ZodTypeAny, {
717
719
  quantity: number;
718
- cartId: string;
720
+ cartToken: string;
719
721
  cartItemId: string;
720
722
  }, {
721
723
  quantity: number;
722
- cartId: string;
724
+ cartToken: string;
723
725
  cartItemId: string;
724
726
  }>;
725
727
  declare const RemoveCartItemParamsSchema: z.ZodObject<{
726
- cartId: z.ZodUnion<[z.ZodString, z.ZodString]>;
727
- cartItemId: z.ZodUnion<[z.ZodString, z.ZodString]>;
728
+ cartToken: z.ZodString;
729
+ cartItemId: z.ZodString;
728
730
  }, "strip", z.ZodTypeAny, {
729
- cartId: string;
731
+ cartToken: string;
730
732
  cartItemId: string;
731
733
  }, {
732
- cartId: string;
734
+ cartToken: string;
733
735
  cartItemId: string;
734
736
  }>;
735
737
  type StorefrontAddress = z.infer<typeof StorefrontAddressSchema>;
@@ -744,4 +746,4 @@ type AddCartItemParams = z.input<typeof AddCartItemParamsSchema>;
744
746
  type UpdateCartItemQuantityParams = z.input<typeof UpdateCartItemQuantityParamsSchema>;
745
747
  type RemoveCartItemParams = z.input<typeof RemoveCartItemParamsSchema>;
746
748
 
747
- export { type AddCartItemParams, AddCartItemParamsSchema, CartItemModifierSchema, type CreateCartParams, CreateCartParamsSchema, type GetCartParams, GetCartParamsSchema, type RemoveCartItemParams, RemoveCartItemParamsSchema, type StorefrontAddress, StorefrontAddressSchema, type StorefrontCart, type StorefrontCartBundleItem, StorefrontCartBundleItemSchema, type StorefrontCartItem, StorefrontCartItemSchema, StorefrontCartSchema, type StorefrontCartShippingMethod, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, type StorefrontCartTotals, StorefrontCartTotalsSchema, type UpdateCartItemQuantityParams, UpdateCartItemQuantityParamsSchema, cartVariantIdFromProduct };
749
+ export { type AddCartItemParams, AddCartItemParamsSchema, CartItemModifierSchema, type CreateCartParams, CreateCartParamsSchema, type GetCartParams, GetCartParamsSchema, type RemoveCartItemParams, RemoveCartItemParamsSchema, type StorefrontAddress, StorefrontAddressSchema, type StorefrontCart, type StorefrontCartBundleItem, StorefrontCartBundleItemSchema, type StorefrontCartItem, StorefrontCartItemSchema, StorefrontCartSchema, type StorefrontCartShippingMethod, StorefrontCartShippingMethodSchema, StorefrontCartStatusSchema, type StorefrontCartTotals, StorefrontCartTotalsSchema, type UpdateCartItemQuantityParams, UpdateCartItemQuantityParamsSchema };