@ecomiq/core 0.1.0 → 0.1.1
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/index.d.cts +319 -319
- package/dist/index.d.ts +319 -319
- package/dist/models/collections.d.cts +4 -4
- package/dist/models/collections.d.ts +4 -4
- package/dist/models/geo.d.cts +14 -14
- package/dist/models/geo.d.ts +14 -14
- package/dist/models/products.d.cts +130 -130
- package/dist/models/products.d.ts +130 -130
- package/dist/models/search.d.cts +4 -4
- package/dist/models/search.d.ts +4 -4
- package/dist/models/settings.d.cts +512 -512
- package/dist/models/settings.d.ts +512 -512
- package/dist/models/storefront-cart.d.cts +80 -80
- package/dist/models/storefront-cart.d.ts +80 -80
- package/dist/models/storefront-checkout.d.cts +384 -384
- package/dist/models/storefront-checkout.d.ts +384 -384
- package/dist/models/storefront-reviews.d.cts +8 -8
- package/dist/models/storefront-reviews.d.ts +8 -8
- package/package.json +3 -3
|
@@ -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
|
-
phone: string;
|
|
11
10
|
email: string;
|
|
11
|
+
phone: string;
|
|
12
12
|
firstName: string;
|
|
13
13
|
lastName: string;
|
|
14
14
|
cartId: string;
|
|
15
15
|
}, {
|
|
16
|
-
phone: string;
|
|
17
16
|
email: string;
|
|
17
|
+
phone: 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;
|
|
55
56
|
address2?: string | null | undefined;
|
|
56
57
|
province?: string | null | undefined;
|
|
57
58
|
postalCode?: string | null | undefined;
|
|
58
59
|
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;
|
|
73
74
|
address2?: string | null | undefined;
|
|
74
75
|
province?: string | null | undefined;
|
|
75
76
|
postalCode?: string | null | undefined;
|
|
76
77
|
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;
|
|
121
122
|
address2?: string | null | undefined;
|
|
122
123
|
province?: string | null | undefined;
|
|
123
124
|
postalCode?: string | null | undefined;
|
|
124
125
|
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;
|
|
139
140
|
address2?: string | null | undefined;
|
|
140
141
|
province?: string | null | undefined;
|
|
141
142
|
postalCode?: string | null | undefined;
|
|
142
143
|
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;
|
|
184
185
|
address2?: string | null | undefined;
|
|
185
186
|
province?: string | null | undefined;
|
|
186
187
|
postalCode?: string | null | undefined;
|
|
187
188
|
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;
|
|
202
203
|
address2?: string | null | undefined;
|
|
203
204
|
province?: string | null | undefined;
|
|
204
205
|
postalCode?: string | null | undefined;
|
|
205
206
|
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;
|
|
222
223
|
address2?: string | null | undefined;
|
|
223
224
|
province?: string | null | undefined;
|
|
224
225
|
postalCode?: string | null | undefined;
|
|
225
226
|
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;
|
|
241
242
|
address2?: string | null | undefined;
|
|
242
243
|
province?: string | null | undefined;
|
|
243
244
|
postalCode?: string | null | undefined;
|
|
244
245
|
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;
|
|
262
263
|
address2?: string | null | undefined;
|
|
263
264
|
province?: string | null | undefined;
|
|
264
265
|
postalCode?: string | null | undefined;
|
|
265
266
|
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;
|
|
281
282
|
address2?: string | null | undefined;
|
|
282
283
|
province?: string | null | undefined;
|
|
283
284
|
postalCode?: string | null | undefined;
|
|
284
285
|
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
|
-
kind: string;
|
|
314
313
|
isActive: boolean;
|
|
314
|
+
kind: string;
|
|
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
|
-
kind: string;
|
|
327
326
|
isActive: boolean;
|
|
327
|
+
kind: string;
|
|
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;
|
|
413
415
|
address1: string;
|
|
414
416
|
city: string;
|
|
415
417
|
countryCode: string;
|
|
416
|
-
company: string | null;
|
|
417
418
|
address2: string | null;
|
|
418
419
|
province: string | null;
|
|
419
420
|
postalCode: string | null;
|
|
420
421
|
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;
|
|
426
428
|
address1: string;
|
|
427
429
|
city: string;
|
|
428
430
|
countryCode: string;
|
|
429
|
-
company: string | null;
|
|
430
431
|
address2: string | null;
|
|
431
432
|
province: string | null;
|
|
432
433
|
postalCode: string | null;
|
|
433
434
|
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;
|
|
453
455
|
address1: string;
|
|
454
456
|
city: string;
|
|
455
457
|
countryCode: string;
|
|
456
|
-
company: string | null;
|
|
457
458
|
address2: string | null;
|
|
458
459
|
province: string | null;
|
|
459
460
|
postalCode: string | null;
|
|
460
461
|
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;
|
|
466
468
|
address1: string;
|
|
467
469
|
city: string;
|
|
468
470
|
countryCode: string;
|
|
469
|
-
company: string | null;
|
|
470
471
|
address2: string | null;
|
|
471
472
|
province: string | null;
|
|
472
473
|
postalCode: string | null;
|
|
473
474
|
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
|
-
id: string;
|
|
581
580
|
name: string;
|
|
582
|
-
|
|
581
|
+
id: string;
|
|
583
582
|
sellerId: string | null;
|
|
583
|
+
description: 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
|
-
id: string;
|
|
596
595
|
name: string;
|
|
597
|
-
|
|
596
|
+
id: string;
|
|
598
597
|
sellerId: string | null;
|
|
598
|
+
description: 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;
|
|
637
638
|
id: string;
|
|
638
639
|
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
|
+
}[];
|
|
639
663
|
cartNumber: string;
|
|
640
|
-
email: string | null;
|
|
641
664
|
firstName: string | null;
|
|
642
665
|
lastName: string | null;
|
|
643
666
|
currencyCode: string;
|
|
644
667
|
completedAt: string | null;
|
|
645
668
|
shippingAddress: {
|
|
646
669
|
name: string | null;
|
|
670
|
+
company: string | null;
|
|
671
|
+
phone: string | null;
|
|
647
672
|
address1: string;
|
|
648
673
|
city: string;
|
|
649
674
|
countryCode: string;
|
|
650
|
-
company: string | null;
|
|
651
675
|
address2: string | null;
|
|
652
676
|
province: string | null;
|
|
653
677
|
postalCode: string | null;
|
|
654
678
|
district: string | null;
|
|
655
|
-
phone: string | null;
|
|
656
679
|
latitude: number | null;
|
|
657
680
|
longitude: number | null;
|
|
658
681
|
} | null;
|
|
659
682
|
billingAddress: {
|
|
660
683
|
name: string | null;
|
|
684
|
+
company: string | null;
|
|
685
|
+
phone: string | null;
|
|
661
686
|
address1: string;
|
|
662
687
|
city: string;
|
|
663
688
|
countryCode: string;
|
|
664
|
-
company: string | null;
|
|
665
689
|
address2: string | null;
|
|
666
690
|
province: string | null;
|
|
667
691
|
postalCode: string | null;
|
|
668
692
|
district: string | null;
|
|
669
|
-
phone: string | null;
|
|
670
693
|
latitude: number | null;
|
|
671
694
|
longitude: number | null;
|
|
672
695
|
} | null;
|
|
673
696
|
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
|
-
id: string;
|
|
699
698
|
name: string;
|
|
700
|
-
|
|
699
|
+
id: string;
|
|
701
700
|
sellerId: string | null;
|
|
701
|
+
description: 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;
|
|
724
725
|
id: string;
|
|
725
726
|
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
|
+
}[];
|
|
726
750
|
cartNumber: string;
|
|
727
|
-
email: string | null;
|
|
728
751
|
firstName: string | null;
|
|
729
752
|
lastName: string | null;
|
|
730
753
|
currencyCode: string;
|
|
731
754
|
completedAt: string | null;
|
|
732
755
|
shippingAddress: {
|
|
733
756
|
name: string | null;
|
|
757
|
+
company: string | null;
|
|
758
|
+
phone: string | null;
|
|
734
759
|
address1: string;
|
|
735
760
|
city: string;
|
|
736
761
|
countryCode: string;
|
|
737
|
-
company: string | null;
|
|
738
762
|
address2: string | null;
|
|
739
763
|
province: string | null;
|
|
740
764
|
postalCode: string | null;
|
|
741
765
|
district: string | null;
|
|
742
|
-
phone: string | null;
|
|
743
766
|
latitude: number | null;
|
|
744
767
|
longitude: number | null;
|
|
745
768
|
} | null;
|
|
746
769
|
billingAddress: {
|
|
747
770
|
name: string | null;
|
|
771
|
+
company: string | null;
|
|
772
|
+
phone: string | null;
|
|
748
773
|
address1: string;
|
|
749
774
|
city: string;
|
|
750
775
|
countryCode: string;
|
|
751
|
-
company: string | null;
|
|
752
776
|
address2: string | null;
|
|
753
777
|
province: string | null;
|
|
754
778
|
postalCode: string | null;
|
|
755
779
|
district: string | null;
|
|
756
|
-
phone: string | null;
|
|
757
780
|
latitude: number | null;
|
|
758
781
|
longitude: number | null;
|
|
759
782
|
} | null;
|
|
760
783
|
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
|
-
id: string;
|
|
786
785
|
name: string;
|
|
787
|
-
|
|
786
|
+
id: string;
|
|
788
787
|
sellerId: string | null;
|
|
788
|
+
description: 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
|
-
kind: string;
|
|
828
827
|
isActive: boolean;
|
|
828
|
+
kind: string;
|
|
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
|
-
kind: string;
|
|
841
840
|
isActive: boolean;
|
|
841
|
+
kind: string;
|
|
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
|
-
kind: string;
|
|
856
855
|
isActive: boolean;
|
|
856
|
+
kind: string;
|
|
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
|
-
kind: string;
|
|
871
870
|
isActive: boolean;
|
|
871
|
+
kind: string;
|
|
872
872
|
isDefault: boolean;
|
|
873
873
|
isManual: boolean;
|
|
874
874
|
sortOrder: number;
|
|
@@ -920,73 +920,87 @@ 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
|
+
}[];
|
|
923
937
|
cart: {
|
|
924
938
|
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
939
|
+
email: string | null;
|
|
925
940
|
id: string;
|
|
926
941
|
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
|
+
}[];
|
|
927
965
|
cartNumber: string;
|
|
928
|
-
email: string | null;
|
|
929
966
|
firstName: string | null;
|
|
930
967
|
lastName: string | null;
|
|
931
968
|
currencyCode: string;
|
|
932
969
|
completedAt: string | null;
|
|
933
970
|
shippingAddress: {
|
|
934
971
|
name: string | null;
|
|
972
|
+
company: string | null;
|
|
973
|
+
phone: string | null;
|
|
935
974
|
address1: string;
|
|
936
975
|
city: string;
|
|
937
976
|
countryCode: string;
|
|
938
|
-
company: string | null;
|
|
939
977
|
address2: string | null;
|
|
940
978
|
province: string | null;
|
|
941
979
|
postalCode: string | null;
|
|
942
980
|
district: string | null;
|
|
943
|
-
phone: string | null;
|
|
944
981
|
latitude: number | null;
|
|
945
982
|
longitude: number | null;
|
|
946
983
|
} | null;
|
|
947
984
|
billingAddress: {
|
|
948
985
|
name: string | null;
|
|
986
|
+
company: string | null;
|
|
987
|
+
phone: string | null;
|
|
949
988
|
address1: string;
|
|
950
989
|
city: string;
|
|
951
990
|
countryCode: string;
|
|
952
|
-
company: string | null;
|
|
953
991
|
address2: string | null;
|
|
954
992
|
province: string | null;
|
|
955
993
|
postalCode: string | null;
|
|
956
994
|
district: string | null;
|
|
957
|
-
phone: string | null;
|
|
958
995
|
latitude: number | null;
|
|
959
996
|
longitude: number | null;
|
|
960
997
|
} | null;
|
|
961
998
|
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
|
-
}[];
|
|
985
999
|
shippingMethods: {
|
|
986
|
-
id: string;
|
|
987
1000
|
name: string;
|
|
988
|
-
|
|
1001
|
+
id: string;
|
|
989
1002
|
sellerId: string | null;
|
|
1003
|
+
description: string | null;
|
|
990
1004
|
locationId: string | null;
|
|
991
1005
|
shippingMethodId: string | null;
|
|
992
1006
|
rateId: string | null;
|
|
@@ -1012,8 +1026,8 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
1012
1026
|
methods: {
|
|
1013
1027
|
code: string;
|
|
1014
1028
|
name: string;
|
|
1015
|
-
kind: string;
|
|
1016
1029
|
isActive: boolean;
|
|
1030
|
+
kind: string;
|
|
1017
1031
|
isDefault: boolean;
|
|
1018
1032
|
isManual: boolean;
|
|
1019
1033
|
sortOrder: number;
|
|
@@ -1024,88 +1038,74 @@ declare const CartCheckoutReadResponseSchema: z.ZodObject<{
|
|
|
1024
1038
|
qrImageUrl?: string | null | undefined;
|
|
1025
1039
|
}[];
|
|
1026
1040
|
};
|
|
1027
|
-
orderBumps: {
|
|
1028
|
-
id: string;
|
|
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
1041
|
}, {
|
|
1042
1042
|
cart: {
|
|
1043
1043
|
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
1044
|
+
email: string | null;
|
|
1044
1045
|
id: string;
|
|
1045
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
|
+
}[];
|
|
1046
1070
|
cartNumber: string;
|
|
1047
|
-
email: string | null;
|
|
1048
1071
|
firstName: string | null;
|
|
1049
1072
|
lastName: string | null;
|
|
1050
1073
|
currencyCode: string;
|
|
1051
1074
|
completedAt: string | null;
|
|
1052
1075
|
shippingAddress: {
|
|
1053
1076
|
name: string | null;
|
|
1077
|
+
company: string | null;
|
|
1078
|
+
phone: string | null;
|
|
1054
1079
|
address1: string;
|
|
1055
1080
|
city: string;
|
|
1056
1081
|
countryCode: string;
|
|
1057
|
-
company: string | null;
|
|
1058
1082
|
address2: string | null;
|
|
1059
1083
|
province: string | null;
|
|
1060
1084
|
postalCode: string | null;
|
|
1061
1085
|
district: string | null;
|
|
1062
|
-
phone: string | null;
|
|
1063
1086
|
latitude: number | null;
|
|
1064
1087
|
longitude: number | null;
|
|
1065
1088
|
} | null;
|
|
1066
1089
|
billingAddress: {
|
|
1067
1090
|
name: string | null;
|
|
1091
|
+
company: string | null;
|
|
1092
|
+
phone: string | null;
|
|
1068
1093
|
address1: string;
|
|
1069
1094
|
city: string;
|
|
1070
1095
|
countryCode: string;
|
|
1071
|
-
company: string | null;
|
|
1072
1096
|
address2: string | null;
|
|
1073
1097
|
province: string | null;
|
|
1074
1098
|
postalCode: string | null;
|
|
1075
1099
|
district: string | null;
|
|
1076
|
-
phone: string | null;
|
|
1077
1100
|
latitude: number | null;
|
|
1078
1101
|
longitude: number | null;
|
|
1079
1102
|
} | null;
|
|
1080
1103
|
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
|
-
id: string;
|
|
1106
1105
|
name: string;
|
|
1107
|
-
|
|
1106
|
+
id: string;
|
|
1108
1107
|
sellerId: string | null;
|
|
1108
|
+
description: 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
|
-
kind: string;
|
|
1135
1134
|
isActive: boolean;
|
|
1135
|
+
kind: string;
|
|
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;
|
|
1785
1787
|
address1: string;
|
|
1786
1788
|
city: string;
|
|
1787
1789
|
countryCode: string;
|
|
1788
|
-
company: string | null;
|
|
1789
1790
|
address2: string | null;
|
|
1790
1791
|
province: string | null;
|
|
1791
1792
|
postalCode: string | null;
|
|
1792
1793
|
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;
|
|
1798
1800
|
address1: string;
|
|
1799
1801
|
city: string;
|
|
1800
1802
|
countryCode: string;
|
|
1801
|
-
company: string | null;
|
|
1802
1803
|
address2: string | null;
|
|
1803
1804
|
province: string | null;
|
|
1804
1805
|
postalCode: string | null;
|
|
1805
1806
|
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;
|
|
1825
1827
|
address1: string;
|
|
1826
1828
|
city: string;
|
|
1827
1829
|
countryCode: string;
|
|
1828
|
-
company: string | null;
|
|
1829
1830
|
address2: string | null;
|
|
1830
1831
|
province: string | null;
|
|
1831
1832
|
postalCode: string | null;
|
|
1832
1833
|
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;
|
|
1838
1840
|
address1: string;
|
|
1839
1841
|
city: string;
|
|
1840
1842
|
countryCode: string;
|
|
1841
|
-
company: string | null;
|
|
1842
1843
|
address2: string | null;
|
|
1843
1844
|
province: string | null;
|
|
1844
1845
|
postalCode: string | null;
|
|
1845
1846
|
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
|
-
id: string;
|
|
1953
1952
|
name: string;
|
|
1954
|
-
|
|
1953
|
+
id: string;
|
|
1955
1954
|
sellerId: string | null;
|
|
1955
|
+
description: 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
|
-
id: string;
|
|
1968
1967
|
name: string;
|
|
1969
|
-
|
|
1968
|
+
id: string;
|
|
1970
1969
|
sellerId: string | null;
|
|
1970
|
+
description: 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;
|
|
2009
2010
|
id: string;
|
|
2010
2011
|
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
|
+
}[];
|
|
2011
2035
|
cartNumber: string;
|
|
2012
|
-
email: string | null;
|
|
2013
2036
|
firstName: string | null;
|
|
2014
2037
|
lastName: string | null;
|
|
2015
2038
|
currencyCode: string;
|
|
2016
2039
|
completedAt: string | null;
|
|
2017
2040
|
shippingAddress: {
|
|
2018
2041
|
name: string | null;
|
|
2042
|
+
company: string | null;
|
|
2043
|
+
phone: string | null;
|
|
2019
2044
|
address1: string;
|
|
2020
2045
|
city: string;
|
|
2021
2046
|
countryCode: string;
|
|
2022
|
-
company: string | null;
|
|
2023
2047
|
address2: string | null;
|
|
2024
2048
|
province: string | null;
|
|
2025
2049
|
postalCode: string | null;
|
|
2026
2050
|
district: string | null;
|
|
2027
|
-
phone: string | null;
|
|
2028
2051
|
latitude: number | null;
|
|
2029
2052
|
longitude: number | null;
|
|
2030
2053
|
} | null;
|
|
2031
2054
|
billingAddress: {
|
|
2032
2055
|
name: string | null;
|
|
2056
|
+
company: string | null;
|
|
2057
|
+
phone: string | null;
|
|
2033
2058
|
address1: string;
|
|
2034
2059
|
city: string;
|
|
2035
2060
|
countryCode: string;
|
|
2036
|
-
company: string | null;
|
|
2037
2061
|
address2: string | null;
|
|
2038
2062
|
province: string | null;
|
|
2039
2063
|
postalCode: string | null;
|
|
2040
2064
|
district: string | null;
|
|
2041
|
-
phone: string | null;
|
|
2042
2065
|
latitude: number | null;
|
|
2043
2066
|
longitude: number | null;
|
|
2044
2067
|
} | null;
|
|
2045
2068
|
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
|
-
id: string;
|
|
2071
2070
|
name: string;
|
|
2072
|
-
|
|
2071
|
+
id: string;
|
|
2073
2072
|
sellerId: string | null;
|
|
2073
|
+
description: 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;
|
|
2096
2097
|
id: string;
|
|
2097
2098
|
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
|
+
}[];
|
|
2098
2122
|
cartNumber: string;
|
|
2099
|
-
email: string | null;
|
|
2100
2123
|
firstName: string | null;
|
|
2101
2124
|
lastName: string | null;
|
|
2102
2125
|
currencyCode: string;
|
|
2103
2126
|
completedAt: string | null;
|
|
2104
2127
|
shippingAddress: {
|
|
2105
2128
|
name: string | null;
|
|
2129
|
+
company: string | null;
|
|
2130
|
+
phone: string | null;
|
|
2106
2131
|
address1: string;
|
|
2107
2132
|
city: string;
|
|
2108
2133
|
countryCode: string;
|
|
2109
|
-
company: string | null;
|
|
2110
2134
|
address2: string | null;
|
|
2111
2135
|
province: string | null;
|
|
2112
2136
|
postalCode: string | null;
|
|
2113
2137
|
district: string | null;
|
|
2114
|
-
phone: string | null;
|
|
2115
2138
|
latitude: number | null;
|
|
2116
2139
|
longitude: number | null;
|
|
2117
2140
|
} | null;
|
|
2118
2141
|
billingAddress: {
|
|
2119
2142
|
name: string | null;
|
|
2143
|
+
company: string | null;
|
|
2144
|
+
phone: string | null;
|
|
2120
2145
|
address1: string;
|
|
2121
2146
|
city: string;
|
|
2122
2147
|
countryCode: string;
|
|
2123
|
-
company: string | null;
|
|
2124
2148
|
address2: string | null;
|
|
2125
2149
|
province: string | null;
|
|
2126
2150
|
postalCode: string | null;
|
|
2127
2151
|
district: string | null;
|
|
2128
|
-
phone: string | null;
|
|
2129
2152
|
latitude: number | null;
|
|
2130
2153
|
longitude: number | null;
|
|
2131
2154
|
} | null;
|
|
2132
2155
|
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
|
-
id: string;
|
|
2158
2157
|
name: string;
|
|
2159
|
-
|
|
2158
|
+
id: string;
|
|
2160
2159
|
sellerId: string | null;
|
|
2160
|
+
description: 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;
|
|
2472
2474
|
address1: string;
|
|
2473
2475
|
city: string;
|
|
2474
2476
|
countryCode: string;
|
|
2475
|
-
company: string | null;
|
|
2476
2477
|
address2: string | null;
|
|
2477
2478
|
province: string | null;
|
|
2478
2479
|
postalCode: string | null;
|
|
2479
2480
|
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;
|
|
2485
2487
|
address1: string;
|
|
2486
2488
|
city: string;
|
|
2487
2489
|
countryCode: string;
|
|
2488
|
-
company: string | null;
|
|
2489
2490
|
address2: string | null;
|
|
2490
2491
|
province: string | null;
|
|
2491
2492
|
postalCode: string | null;
|
|
2492
2493
|
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;
|
|
2512
2514
|
address1: string;
|
|
2513
2515
|
city: string;
|
|
2514
2516
|
countryCode: string;
|
|
2515
|
-
company: string | null;
|
|
2516
2517
|
address2: string | null;
|
|
2517
2518
|
province: string | null;
|
|
2518
2519
|
postalCode: string | null;
|
|
2519
2520
|
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;
|
|
2525
2527
|
address1: string;
|
|
2526
2528
|
city: string;
|
|
2527
2529
|
countryCode: string;
|
|
2528
|
-
company: string | null;
|
|
2529
2530
|
address2: string | null;
|
|
2530
2531
|
province: string | null;
|
|
2531
2532
|
postalCode: string | null;
|
|
2532
2533
|
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
|
-
id: string;
|
|
2640
2639
|
name: string;
|
|
2641
|
-
|
|
2640
|
+
id: string;
|
|
2642
2641
|
sellerId: string | null;
|
|
2642
|
+
description: 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
|
-
id: string;
|
|
2655
2654
|
name: string;
|
|
2656
|
-
|
|
2655
|
+
id: string;
|
|
2657
2656
|
sellerId: string | null;
|
|
2657
|
+
description: string | null;
|
|
2658
2658
|
locationId: string | null;
|
|
2659
2659
|
shippingMethodId: string | null;
|
|
2660
2660
|
rateId: string | null;
|
|
@@ -2693,71 +2693,71 @@ declare const CartCheckoutResponseSchema: z.ZodObject<{
|
|
|
2693
2693
|
}>;
|
|
2694
2694
|
}, "strip", z.ZodTypeAny, {
|
|
2695
2695
|
status: "inProgress" | "pending" | "completed" | "abandoned" | "cancelled" | "expired" | "failed";
|
|
2696
|
+
email: string | null;
|
|
2696
2697
|
id: string;
|
|
2697
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
|
+
}[];
|
|
2698
2722
|
cartNumber: string;
|
|
2699
|
-
email: string | null;
|
|
2700
2723
|
firstName: string | null;
|
|
2701
2724
|
lastName: string | null;
|
|
2702
2725
|
currencyCode: string;
|
|
2703
2726
|
completedAt: string | null;
|
|
2704
2727
|
shippingAddress: {
|
|
2705
2728
|
name: string | null;
|
|
2729
|
+
company: string | null;
|
|
2730
|
+
phone: string | null;
|
|
2706
2731
|
address1: string;
|
|
2707
2732
|
city: string;
|
|
2708
2733
|
countryCode: string;
|
|
2709
|
-
company: string | null;
|
|
2710
2734
|
address2: string | null;
|
|
2711
2735
|
province: string | null;
|
|
2712
2736
|
postalCode: string | null;
|
|
2713
2737
|
district: string | null;
|
|
2714
|
-
phone: string | null;
|
|
2715
2738
|
latitude: number | null;
|
|
2716
2739
|
longitude: number | null;
|
|
2717
2740
|
} | null;
|
|
2718
2741
|
billingAddress: {
|
|
2719
2742
|
name: string | null;
|
|
2743
|
+
company: string | null;
|
|
2744
|
+
phone: string | null;
|
|
2720
2745
|
address1: string;
|
|
2721
2746
|
city: string;
|
|
2722
2747
|
countryCode: string;
|
|
2723
|
-
company: string | null;
|
|
2724
2748
|
address2: string | null;
|
|
2725
2749
|
province: string | null;
|
|
2726
2750
|
postalCode: string | null;
|
|
2727
2751
|
district: string | null;
|
|
2728
|
-
phone: string | null;
|
|
2729
2752
|
latitude: number | null;
|
|
2730
2753
|
longitude: number | null;
|
|
2731
2754
|
} | null;
|
|
2732
2755
|
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
|
-
id: string;
|
|
2758
2757
|
name: string;
|
|
2759
|
-
|
|
2758
|
+
id: string;
|
|
2760
2759
|
sellerId: string | null;
|
|
2760
|
+
description: 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;
|
|
2783
2784
|
id: string;
|
|
2784
2785
|
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
|
+
}[];
|
|
2785
2809
|
cartNumber: string;
|
|
2786
|
-
email: string | null;
|
|
2787
2810
|
firstName: string | null;
|
|
2788
2811
|
lastName: string | null;
|
|
2789
2812
|
currencyCode: string;
|
|
2790
2813
|
completedAt: string | null;
|
|
2791
2814
|
shippingAddress: {
|
|
2792
2815
|
name: string | null;
|
|
2816
|
+
company: string | null;
|
|
2817
|
+
phone: string | null;
|
|
2793
2818
|
address1: string;
|
|
2794
2819
|
city: string;
|
|
2795
2820
|
countryCode: string;
|
|
2796
|
-
company: string | null;
|
|
2797
2821
|
address2: string | null;
|
|
2798
2822
|
province: string | null;
|
|
2799
2823
|
postalCode: string | null;
|
|
2800
2824
|
district: string | null;
|
|
2801
|
-
phone: string | null;
|
|
2802
2825
|
latitude: number | null;
|
|
2803
2826
|
longitude: number | null;
|
|
2804
2827
|
} | null;
|
|
2805
2828
|
billingAddress: {
|
|
2806
2829
|
name: string | null;
|
|
2830
|
+
company: string | null;
|
|
2831
|
+
phone: string | null;
|
|
2807
2832
|
address1: string;
|
|
2808
2833
|
city: string;
|
|
2809
2834
|
countryCode: string;
|
|
2810
|
-
company: string | null;
|
|
2811
2835
|
address2: string | null;
|
|
2812
2836
|
province: string | null;
|
|
2813
2837
|
postalCode: string | null;
|
|
2814
2838
|
district: string | null;
|
|
2815
|
-
phone: string | null;
|
|
2816
2839
|
latitude: number | null;
|
|
2817
2840
|
longitude: number | null;
|
|
2818
2841
|
} | null;
|
|
2819
2842
|
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
|
-
id: string;
|
|
2845
2844
|
name: string;
|
|
2846
|
-
|
|
2845
|
+
id: string;
|
|
2847
2846
|
sellerId: string | null;
|
|
2847
|
+
description: 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;
|
|
3159
3161
|
address1: string;
|
|
3160
3162
|
city: string;
|
|
3161
3163
|
countryCode: string;
|
|
3162
|
-
company: string | null;
|
|
3163
3164
|
address2: string | null;
|
|
3164
3165
|
province: string | null;
|
|
3165
3166
|
postalCode: string | null;
|
|
3166
3167
|
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;
|
|
3172
3174
|
address1: string;
|
|
3173
3175
|
city: string;
|
|
3174
3176
|
countryCode: string;
|
|
3175
|
-
company: string | null;
|
|
3176
3177
|
address2: string | null;
|
|
3177
3178
|
province: string | null;
|
|
3178
3179
|
postalCode: string | null;
|
|
3179
3180
|
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;
|
|
3199
3201
|
address1: string;
|
|
3200
3202
|
city: string;
|
|
3201
3203
|
countryCode: string;
|
|
3202
|
-
company: string | null;
|
|
3203
3204
|
address2: string | null;
|
|
3204
3205
|
province: string | null;
|
|
3205
3206
|
postalCode: string | null;
|
|
3206
3207
|
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;
|
|
3212
3214
|
address1: string;
|
|
3213
3215
|
city: string;
|
|
3214
3216
|
countryCode: string;
|
|
3215
|
-
company: string | null;
|
|
3216
3217
|
address2: string | null;
|
|
3217
3218
|
province: string | null;
|
|
3218
3219
|
postalCode: string | null;
|
|
3219
3220
|
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
|
-
id: string;
|
|
3327
3326
|
name: string;
|
|
3328
|
-
|
|
3327
|
+
id: string;
|
|
3329
3328
|
sellerId: string | null;
|
|
3329
|
+
description: 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
|
-
id: string;
|
|
3342
3341
|
name: string;
|
|
3343
|
-
|
|
3342
|
+
id: string;
|
|
3344
3343
|
sellerId: string | null;
|
|
3344
|
+
description: 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;
|
|
3383
3384
|
id: string;
|
|
3384
3385
|
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
|
+
}[];
|
|
3385
3409
|
cartNumber: string;
|
|
3386
|
-
email: string | null;
|
|
3387
3410
|
firstName: string | null;
|
|
3388
3411
|
lastName: string | null;
|
|
3389
3412
|
currencyCode: string;
|
|
3390
3413
|
completedAt: string | null;
|
|
3391
3414
|
shippingAddress: {
|
|
3392
3415
|
name: string | null;
|
|
3416
|
+
company: string | null;
|
|
3417
|
+
phone: string | null;
|
|
3393
3418
|
address1: string;
|
|
3394
3419
|
city: string;
|
|
3395
3420
|
countryCode: string;
|
|
3396
|
-
company: string | null;
|
|
3397
3421
|
address2: string | null;
|
|
3398
3422
|
province: string | null;
|
|
3399
3423
|
postalCode: string | null;
|
|
3400
3424
|
district: string | null;
|
|
3401
|
-
phone: string | null;
|
|
3402
3425
|
latitude: number | null;
|
|
3403
3426
|
longitude: number | null;
|
|
3404
3427
|
} | null;
|
|
3405
3428
|
billingAddress: {
|
|
3406
3429
|
name: string | null;
|
|
3430
|
+
company: string | null;
|
|
3431
|
+
phone: string | null;
|
|
3407
3432
|
address1: string;
|
|
3408
3433
|
city: string;
|
|
3409
3434
|
countryCode: string;
|
|
3410
|
-
company: string | null;
|
|
3411
3435
|
address2: string | null;
|
|
3412
3436
|
province: string | null;
|
|
3413
3437
|
postalCode: string | null;
|
|
3414
3438
|
district: string | null;
|
|
3415
|
-
phone: string | null;
|
|
3416
3439
|
latitude: number | null;
|
|
3417
3440
|
longitude: number | null;
|
|
3418
3441
|
} | null;
|
|
3419
3442
|
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
|
-
id: string;
|
|
3445
3444
|
name: string;
|
|
3446
|
-
|
|
3445
|
+
id: string;
|
|
3447
3446
|
sellerId: string | null;
|
|
3447
|
+
description: 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;
|
|
3470
3471
|
id: string;
|
|
3471
3472
|
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
|
+
}[];
|
|
3472
3496
|
cartNumber: string;
|
|
3473
|
-
email: string | null;
|
|
3474
3497
|
firstName: string | null;
|
|
3475
3498
|
lastName: string | null;
|
|
3476
3499
|
currencyCode: string;
|
|
3477
3500
|
completedAt: string | null;
|
|
3478
3501
|
shippingAddress: {
|
|
3479
3502
|
name: string | null;
|
|
3503
|
+
company: string | null;
|
|
3504
|
+
phone: string | null;
|
|
3480
3505
|
address1: string;
|
|
3481
3506
|
city: string;
|
|
3482
3507
|
countryCode: string;
|
|
3483
|
-
company: string | null;
|
|
3484
3508
|
address2: string | null;
|
|
3485
3509
|
province: string | null;
|
|
3486
3510
|
postalCode: string | null;
|
|
3487
3511
|
district: string | null;
|
|
3488
|
-
phone: string | null;
|
|
3489
3512
|
latitude: number | null;
|
|
3490
3513
|
longitude: number | null;
|
|
3491
3514
|
} | null;
|
|
3492
3515
|
billingAddress: {
|
|
3493
3516
|
name: string | null;
|
|
3517
|
+
company: string | null;
|
|
3518
|
+
phone: string | null;
|
|
3494
3519
|
address1: string;
|
|
3495
3520
|
city: string;
|
|
3496
3521
|
countryCode: string;
|
|
3497
|
-
company: string | null;
|
|
3498
3522
|
address2: string | null;
|
|
3499
3523
|
province: string | null;
|
|
3500
3524
|
postalCode: string | null;
|
|
3501
3525
|
district: string | null;
|
|
3502
|
-
phone: string | null;
|
|
3503
3526
|
latitude: number | null;
|
|
3504
3527
|
longitude: number | null;
|
|
3505
3528
|
} | null;
|
|
3506
3529
|
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
|
-
id: string;
|
|
3532
3531
|
name: string;
|
|
3533
|
-
|
|
3532
|
+
id: string;
|
|
3534
3533
|
sellerId: string | null;
|
|
3534
|
+
description: 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
|
-
id: string;
|
|
4099
4098
|
url: string;
|
|
4100
|
-
}, {
|
|
4101
4099
|
id: string;
|
|
4100
|
+
}, {
|
|
4102
4101
|
url: string;
|
|
4102
|
+
id: string;
|
|
4103
4103
|
}>;
|
|
4104
4104
|
type CartPaymentReceiptResponse = z.infer<typeof CartPaymentReceiptResponseSchema>;
|
|
4105
4105
|
type UploadPaymentReceiptParams = {
|