@chordcommerce/analytics 1.24.4 → 1.24.5

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.
@@ -1,4 +1,4 @@
1
- import { z } from 'zod';
1
+ import * as z from 'zod';
2
2
  export declare const identifyTraitsSchema: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
3
3
  address: z.ZodOptional<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
4
4
  city: z.ZodOptional<z.ZodString>;
@@ -6,41 +6,17 @@ export declare const identifyTraitsSchema: z.ZodIntersection<z.ZodRecord<z.ZodSt
6
6
  postalCode: z.ZodOptional<z.ZodString>;
7
7
  state: z.ZodOptional<z.ZodString>;
8
8
  street: z.ZodOptional<z.ZodString>;
9
- }, "strip", z.ZodTypeAny, {
10
- city?: string;
11
- country?: string;
12
- postalCode?: string;
13
- state?: string;
14
- street?: string;
15
- }, {
16
- city?: string;
17
- country?: string;
18
- postalCode?: string;
19
- state?: string;
20
- street?: string;
21
- }>>>;
9
+ }, z.core.$strip>>>;
22
10
  age: z.ZodOptional<z.ZodNumber>;
23
11
  avatar: z.ZodOptional<z.ZodString>;
24
12
  birthday: z.ZodOptional<z.ZodString>;
25
13
  company: z.ZodOptional<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
26
14
  name: z.ZodOptional<z.ZodString>;
27
- id: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
15
+ id: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
28
16
  industry: z.ZodOptional<z.ZodString>;
29
17
  employeeCount: z.ZodOptional<z.ZodNumber>;
30
18
  plan: z.ZodOptional<z.ZodString>;
31
- }, "strip", z.ZodTypeAny, {
32
- name?: string;
33
- id?: string | number;
34
- industry?: string;
35
- employeeCount?: number;
36
- plan?: string;
37
- }, {
38
- name?: string;
39
- id?: string | number;
40
- industry?: string;
41
- employeeCount?: number;
42
- plan?: string;
43
- }>>>;
19
+ }, z.core.$strip>>>;
44
20
  createdAt: z.ZodOptional<z.ZodString>;
45
21
  description: z.ZodOptional<z.ZodString>;
46
22
  email: z.ZodOptional<z.ZodString>;
@@ -53,67 +29,7 @@ export declare const identifyTraitsSchema: z.ZodIntersection<z.ZodRecord<z.ZodSt
53
29
  title: z.ZodOptional<z.ZodString>;
54
30
  username: z.ZodOptional<z.ZodString>;
55
31
  website: z.ZodOptional<z.ZodString>;
56
- }, "strip", z.ZodTypeAny, {
57
- address?: Record<string, any> & {
58
- city?: string;
59
- country?: string;
60
- postalCode?: string;
61
- state?: string;
62
- street?: string;
63
- };
64
- age?: number;
65
- avatar?: string;
66
- birthday?: string;
67
- company?: Record<string, any> & {
68
- name?: string;
69
- id?: string | number;
70
- industry?: string;
71
- employeeCount?: number;
72
- plan?: string;
73
- };
74
- createdAt?: string;
75
- description?: string;
76
- email?: string;
77
- firstName?: string;
78
- gender?: string;
79
- id?: string;
80
- lastName?: string;
81
- name?: string;
82
- phone?: string;
83
- title?: string;
84
- username?: string;
85
- website?: string;
86
- }, {
87
- address?: Record<string, any> & {
88
- city?: string;
89
- country?: string;
90
- postalCode?: string;
91
- state?: string;
92
- street?: string;
93
- };
94
- age?: number;
95
- avatar?: string;
96
- birthday?: string;
97
- company?: Record<string, any> & {
98
- name?: string;
99
- id?: string | number;
100
- industry?: string;
101
- employeeCount?: number;
102
- plan?: string;
103
- };
104
- createdAt?: string;
105
- description?: string;
106
- email?: string;
107
- firstName?: string;
108
- gender?: string;
109
- id?: string;
110
- lastName?: string;
111
- name?: string;
112
- phone?: string;
113
- title?: string;
114
- username?: string;
115
- website?: string;
116
- }>>;
32
+ }, z.core.$strip>>;
117
33
  export declare const productSchema: z.ZodObject<{
118
34
  affiliation: z.ZodOptional<z.ZodString>;
119
35
  brand: z.ZodOptional<z.ZodString>;
@@ -122,7 +38,7 @@ export declare const productSchema: z.ZodObject<{
122
38
  description: z.ZodOptional<z.ZodString>;
123
39
  image_url: z.ZodOptional<z.ZodString>;
124
40
  name: z.ZodString;
125
- option_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
41
+ option_values: z.ZodOptional<z.ZodArray<z.ZodString>>;
126
42
  position: z.ZodOptional<z.ZodNumber>;
127
43
  price: z.ZodNumber;
128
44
  product_id: z.ZodString;
@@ -130,51 +46,19 @@ export declare const productSchema: z.ZodObject<{
130
46
  slug: z.ZodOptional<z.ZodString>;
131
47
  url: z.ZodOptional<z.ZodString>;
132
48
  variant: z.ZodOptional<z.ZodString>;
133
- }, "strip", z.ZodTypeAny, {
134
- affiliation?: string;
135
- brand?: string;
136
- bundle?: boolean;
137
- category?: string;
138
- description?: string;
139
- image_url?: string;
140
- name?: string;
141
- option_values?: string[];
142
- position?: number;
143
- price?: number;
144
- product_id?: string;
145
- sku?: string;
146
- slug?: string;
147
- url?: string;
148
- variant?: string;
149
- }, {
150
- affiliation?: string;
151
- brand?: string;
152
- bundle?: boolean;
153
- category?: string;
154
- description?: string;
155
- image_url?: string;
156
- name?: string;
157
- option_values?: string[];
158
- position?: number;
159
- price?: number;
160
- product_id?: string;
161
- sku?: string;
162
- slug?: string;
163
- url?: string;
164
- variant?: string;
165
- }>;
49
+ }, z.core.$strip>;
166
50
  export declare const lineItemSchema: z.ZodObject<{
167
- description: z.ZodOptional<z.ZodString>;
168
- name: z.ZodString;
169
- product_id: z.ZodString;
170
51
  affiliation: z.ZodOptional<z.ZodString>;
171
52
  brand: z.ZodOptional<z.ZodString>;
172
53
  bundle: z.ZodOptional<z.ZodBoolean>;
173
54
  category: z.ZodOptional<z.ZodString>;
55
+ description: z.ZodOptional<z.ZodString>;
174
56
  image_url: z.ZodOptional<z.ZodString>;
175
- option_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
57
+ name: z.ZodString;
58
+ option_values: z.ZodOptional<z.ZodArray<z.ZodString>>;
176
59
  position: z.ZodOptional<z.ZodNumber>;
177
60
  price: z.ZodNumber;
61
+ product_id: z.ZodString;
178
62
  sku: z.ZodString;
179
63
  slug: z.ZodOptional<z.ZodString>;
180
64
  url: z.ZodOptional<z.ZodString>;
@@ -182,74 +66,27 @@ export declare const lineItemSchema: z.ZodObject<{
182
66
  coupon: z.ZodOptional<z.ZodString>;
183
67
  line_item_id: z.ZodOptional<z.ZodString>;
184
68
  quantity: z.ZodNumber;
185
- }, "strip", z.ZodTypeAny, {
186
- description?: string;
187
- name?: string;
188
- product_id?: string;
189
- affiliation?: string;
190
- brand?: string;
191
- bundle?: boolean;
192
- category?: string;
193
- image_url?: string;
194
- option_values?: string[];
195
- position?: number;
196
- price?: number;
197
- sku?: string;
198
- slug?: string;
199
- url?: string;
200
- variant?: string;
201
- coupon?: string;
202
- line_item_id?: string;
203
- quantity?: number;
204
- }, {
205
- description?: string;
206
- name?: string;
207
- product_id?: string;
208
- affiliation?: string;
209
- brand?: string;
210
- bundle?: boolean;
211
- category?: string;
212
- image_url?: string;
213
- option_values?: string[];
214
- position?: number;
215
- price?: number;
216
- sku?: string;
217
- slug?: string;
218
- url?: string;
219
- variant?: string;
220
- coupon?: string;
221
- line_item_id?: string;
222
- quantity?: number;
223
- }>;
224
- export declare const orderSchema: z.ZodObject<{
69
+ }, z.core.$strip>;
70
+ export declare const checkoutSchema: z.ZodObject<{
225
71
  affiliation: z.ZodOptional<z.ZodString>;
226
- campaign_id: z.ZodOptional<z.ZodNumber>;
227
- channel: z.ZodOptional<z.ZodString>;
228
72
  checkout_type: z.ZodOptional<z.ZodString>;
229
73
  coupon: z.ZodOptional<z.ZodString>;
230
74
  currency: z.ZodOptional<z.ZodString>;
231
75
  discount: z.ZodOptional<z.ZodNumber>;
232
- email: z.ZodOptional<z.ZodString>;
233
- first_name: z.ZodOptional<z.ZodString>;
234
- has_subscription: z.ZodOptional<z.ZodBoolean>;
235
- is_recurring: z.ZodOptional<z.ZodBoolean>;
236
- last_name: z.ZodOptional<z.ZodString>;
237
- metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
238
- order_date: z.ZodOptional<z.ZodString>;
239
76
  order_id: z.ZodOptional<z.ZodString>;
240
- phone: z.ZodOptional<z.ZodString>;
241
- products: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
242
- description: z.ZodOptional<z.ZodString>;
243
- name: z.ZodString;
244
- product_id: z.ZodString;
77
+ order_name: z.ZodOptional<z.ZodString>;
78
+ products: z.ZodArray<z.ZodObject<{
245
79
  affiliation: z.ZodOptional<z.ZodString>;
246
80
  brand: z.ZodOptional<z.ZodString>;
247
81
  bundle: z.ZodOptional<z.ZodBoolean>;
248
82
  category: z.ZodOptional<z.ZodString>;
83
+ description: z.ZodOptional<z.ZodString>;
249
84
  image_url: z.ZodOptional<z.ZodString>;
250
- option_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
85
+ name: z.ZodString;
86
+ option_values: z.ZodOptional<z.ZodArray<z.ZodString>>;
251
87
  position: z.ZodOptional<z.ZodNumber>;
252
88
  price: z.ZodNumber;
89
+ product_id: z.ZodString;
253
90
  sku: z.ZodString;
254
91
  slug: z.ZodOptional<z.ZodString>;
255
92
  url: z.ZodOptional<z.ZodString>;
@@ -257,214 +94,27 @@ export declare const orderSchema: z.ZodObject<{
257
94
  coupon: z.ZodOptional<z.ZodString>;
258
95
  line_item_id: z.ZodOptional<z.ZodString>;
259
96
  quantity: z.ZodNumber;
260
- }, "strip", z.ZodTypeAny, {
261
- description?: string;
262
- name?: string;
263
- product_id?: string;
264
- affiliation?: string;
265
- brand?: string;
266
- bundle?: boolean;
267
- category?: string;
268
- image_url?: string;
269
- option_values?: string[];
270
- position?: number;
271
- price?: number;
272
- sku?: string;
273
- slug?: string;
274
- url?: string;
275
- variant?: string;
276
- coupon?: string;
277
- line_item_id?: string;
278
- quantity?: number;
279
- }, {
280
- description?: string;
281
- name?: string;
282
- product_id?: string;
283
- affiliation?: string;
284
- brand?: string;
285
- bundle?: boolean;
286
- category?: string;
287
- image_url?: string;
288
- option_values?: string[];
289
- position?: number;
290
- price?: number;
291
- sku?: string;
292
- slug?: string;
293
- url?: string;
294
- variant?: string;
295
- coupon?: string;
296
- line_item_id?: string;
297
- quantity?: number;
298
- }>, z.ZodObject<{
299
- bundle_size: z.ZodOptional<z.ZodNumber>;
300
- cross_sold_quantity: z.ZodOptional<z.ZodNumber>;
301
- variant_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
302
- }, "strip", z.ZodTypeAny, {
303
- bundle_size?: number;
304
- cross_sold_quantity?: number;
305
- variant_metadata?: Record<string, unknown>;
306
- }, {
307
- bundle_size?: number;
308
- cross_sold_quantity?: number;
309
- variant_metadata?: Record<string, unknown>;
310
- }>>, "many">>;
311
- purl_link: z.ZodOptional<z.ZodString>;
312
- referral_identifier_id: z.ZodOptional<z.ZodString>;
97
+ }, z.core.$strip>>;
313
98
  revenue: z.ZodOptional<z.ZodNumber>;
314
99
  shipping: z.ZodOptional<z.ZodNumber>;
315
- shipping_city: z.ZodOptional<z.ZodString>;
316
- shipping_country: z.ZodOptional<z.ZodString>;
317
- shipping_method_details: z.ZodOptional<z.ZodObject<{
318
- shipping_code: z.ZodOptional<z.ZodString>;
319
- shipping_method: z.ZodOptional<z.ZodString>;
320
- }, "strip", z.ZodTypeAny, {
321
- shipping_code?: string;
322
- shipping_method?: string;
323
- }, {
324
- shipping_code?: string;
325
- shipping_method?: string;
326
- }>>;
327
- shipping_state: z.ZodOptional<z.ZodString>;
328
- shipping_zipcode: z.ZodOptional<z.ZodString>;
329
100
  tax: z.ZodOptional<z.ZodNumber>;
330
- template_id: z.ZodOptional<z.ZodNumber>;
331
- total: z.ZodOptional<z.ZodNumber>;
332
- tracking_ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
333
- }, "strip", z.ZodTypeAny, {
334
- affiliation?: string;
335
- campaign_id?: number;
336
- channel?: string;
337
- checkout_type?: string;
338
- coupon?: string;
339
- currency?: string;
340
- discount?: number;
341
- email?: string;
342
- first_name?: string;
343
- has_subscription?: boolean;
344
- is_recurring?: boolean;
345
- last_name?: string;
346
- metadata?: Record<string, unknown>;
347
- order_date?: string;
348
- order_id?: string;
349
- phone?: string;
350
- products?: ({
351
- description?: string;
352
- name?: string;
353
- product_id?: string;
354
- affiliation?: string;
355
- brand?: string;
356
- bundle?: boolean;
357
- category?: string;
358
- image_url?: string;
359
- option_values?: string[];
360
- position?: number;
361
- price?: number;
362
- sku?: string;
363
- slug?: string;
364
- url?: string;
365
- variant?: string;
366
- coupon?: string;
367
- line_item_id?: string;
368
- quantity?: number;
369
- } & {
370
- bundle_size?: number;
371
- cross_sold_quantity?: number;
372
- variant_metadata?: Record<string, unknown>;
373
- })[];
374
- purl_link?: string;
375
- referral_identifier_id?: string;
376
- revenue?: number;
377
- shipping?: number;
378
- shipping_city?: string;
379
- shipping_country?: string;
380
- shipping_method_details?: {
381
- shipping_code?: string;
382
- shipping_method?: string;
383
- };
384
- shipping_state?: string;
385
- shipping_zipcode?: string;
386
- tax?: number;
387
- template_id?: number;
388
- total?: number;
389
- tracking_ids?: Record<string, unknown>;
390
- }, {
391
- affiliation?: string;
392
- campaign_id?: number;
393
- channel?: string;
394
- checkout_type?: string;
395
- coupon?: string;
396
- currency?: string;
397
- discount?: number;
398
- email?: string;
399
- first_name?: string;
400
- has_subscription?: boolean;
401
- is_recurring?: boolean;
402
- last_name?: string;
403
- metadata?: Record<string, unknown>;
404
- order_date?: string;
405
- order_id?: string;
406
- phone?: string;
407
- products?: ({
408
- description?: string;
409
- name?: string;
410
- product_id?: string;
411
- affiliation?: string;
412
- brand?: string;
413
- bundle?: boolean;
414
- category?: string;
415
- image_url?: string;
416
- option_values?: string[];
417
- position?: number;
418
- price?: number;
419
- sku?: string;
420
- slug?: string;
421
- url?: string;
422
- variant?: string;
423
- coupon?: string;
424
- line_item_id?: string;
425
- quantity?: number;
426
- } & {
427
- bundle_size?: number;
428
- cross_sold_quantity?: number;
429
- variant_metadata?: Record<string, unknown>;
430
- })[];
431
- purl_link?: string;
432
- referral_identifier_id?: string;
433
- revenue?: number;
434
- shipping?: number;
435
- shipping_city?: string;
436
- shipping_country?: string;
437
- shipping_method_details?: {
438
- shipping_code?: string;
439
- shipping_method?: string;
440
- };
441
- shipping_state?: string;
442
- shipping_zipcode?: string;
443
- tax?: number;
444
- template_id?: number;
445
- total?: number;
446
- tracking_ids?: Record<string, unknown>;
447
- }>;
448
- export declare const checkoutSchema: z.ZodObject<{
449
- affiliation: z.ZodOptional<z.ZodString>;
450
- checkout_type: z.ZodOptional<z.ZodString>;
451
- coupon: z.ZodOptional<z.ZodString>;
101
+ value: z.ZodOptional<z.ZodNumber>;
102
+ }, z.core.$strip>;
103
+ export declare const cartSchema: z.ZodObject<{
104
+ cart_id: z.ZodOptional<z.ZodString>;
452
105
  currency: z.ZodOptional<z.ZodString>;
453
- discount: z.ZodOptional<z.ZodNumber>;
454
- order_id: z.ZodOptional<z.ZodString>;
455
- order_name: z.ZodOptional<z.ZodString>;
456
106
  products: z.ZodArray<z.ZodObject<{
457
- description: z.ZodOptional<z.ZodString>;
458
- name: z.ZodString;
459
- product_id: z.ZodString;
460
107
  affiliation: z.ZodOptional<z.ZodString>;
461
108
  brand: z.ZodOptional<z.ZodString>;
462
109
  bundle: z.ZodOptional<z.ZodBoolean>;
463
110
  category: z.ZodOptional<z.ZodString>;
111
+ description: z.ZodOptional<z.ZodString>;
464
112
  image_url: z.ZodOptional<z.ZodString>;
465
- option_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
113
+ name: z.ZodString;
114
+ option_values: z.ZodOptional<z.ZodArray<z.ZodString>>;
466
115
  position: z.ZodOptional<z.ZodNumber>;
467
116
  price: z.ZodNumber;
117
+ product_id: z.ZodString;
468
118
  sku: z.ZodString;
469
119
  slug: z.ZodOptional<z.ZodString>;
470
120
  url: z.ZodOptional<z.ZodString>;
@@ -472,132 +122,38 @@ export declare const checkoutSchema: z.ZodObject<{
472
122
  coupon: z.ZodOptional<z.ZodString>;
473
123
  line_item_id: z.ZodOptional<z.ZodString>;
474
124
  quantity: z.ZodNumber;
475
- }, "strip", z.ZodTypeAny, {
476
- description?: string;
477
- name?: string;
478
- product_id?: string;
479
- affiliation?: string;
480
- brand?: string;
481
- bundle?: boolean;
482
- category?: string;
483
- image_url?: string;
484
- option_values?: string[];
485
- position?: number;
486
- price?: number;
487
- sku?: string;
488
- slug?: string;
489
- url?: string;
490
- variant?: string;
491
- coupon?: string;
492
- line_item_id?: string;
493
- quantity?: number;
494
- }, {
495
- description?: string;
496
- name?: string;
497
- product_id?: string;
498
- affiliation?: string;
499
- brand?: string;
500
- bundle?: boolean;
501
- category?: string;
502
- image_url?: string;
503
- option_values?: string[];
504
- position?: number;
505
- price?: number;
506
- sku?: string;
507
- slug?: string;
508
- url?: string;
509
- variant?: string;
510
- coupon?: string;
511
- line_item_id?: string;
512
- quantity?: number;
513
- }>, "many">;
514
- revenue: z.ZodOptional<z.ZodNumber>;
515
- shipping: z.ZodOptional<z.ZodNumber>;
516
- tax: z.ZodOptional<z.ZodNumber>;
125
+ }, z.core.$strip>>;
517
126
  value: z.ZodOptional<z.ZodNumber>;
518
- step: z.ZodOptional<z.ZodNumber>;
519
- }, "strip", z.ZodTypeAny, {
520
- affiliation?: string;
521
- checkout_type?: string;
522
- coupon?: string;
523
- currency?: string;
524
- discount?: number;
525
- order_id?: string;
526
- order_name?: string;
527
- products?: {
528
- description?: string;
529
- name?: string;
530
- product_id?: string;
531
- affiliation?: string;
532
- brand?: string;
533
- bundle?: boolean;
534
- category?: string;
535
- image_url?: string;
536
- option_values?: string[];
537
- position?: number;
538
- price?: number;
539
- sku?: string;
540
- slug?: string;
541
- url?: string;
542
- variant?: string;
543
- coupon?: string;
544
- line_item_id?: string;
545
- quantity?: number;
546
- }[];
547
- revenue?: number;
548
- shipping?: number;
549
- tax?: number;
550
- value?: number;
551
- step?: number;
552
- }, {
553
- affiliation?: string;
554
- checkout_type?: string;
555
- coupon?: string;
556
- currency?: string;
557
- discount?: number;
558
- order_id?: string;
559
- order_name?: string;
560
- products?: {
561
- description?: string;
562
- name?: string;
563
- product_id?: string;
564
- affiliation?: string;
565
- brand?: string;
566
- bundle?: boolean;
567
- category?: string;
568
- image_url?: string;
569
- option_values?: string[];
570
- position?: number;
571
- price?: number;
572
- sku?: string;
573
- slug?: string;
574
- url?: string;
575
- variant?: string;
576
- coupon?: string;
577
- line_item_id?: string;
578
- quantity?: number;
579
- }[];
580
- revenue?: number;
581
- shipping?: number;
582
- tax?: number;
583
- value?: number;
584
- step?: number;
585
- }>;
586
- export declare const cartSchema: z.ZodObject<{
587
- cart_id: z.ZodOptional<z.ZodString>;
127
+ }, z.core.$strip>;
128
+ export declare const orderSchema: z.ZodObject<{
129
+ affiliation: z.ZodOptional<z.ZodString>;
130
+ campaign_id: z.ZodOptional<z.ZodNumber>;
131
+ channel: z.ZodOptional<z.ZodString>;
132
+ checkout_type: z.ZodOptional<z.ZodString>;
133
+ coupon: z.ZodOptional<z.ZodString>;
588
134
  currency: z.ZodOptional<z.ZodString>;
589
- products: z.ZodArray<z.ZodObject<{
590
- description: z.ZodOptional<z.ZodString>;
591
- name: z.ZodString;
592
- product_id: z.ZodString;
135
+ discount: z.ZodOptional<z.ZodNumber>;
136
+ email: z.ZodOptional<z.ZodString>;
137
+ first_name: z.ZodOptional<z.ZodString>;
138
+ has_subscription: z.ZodOptional<z.ZodBoolean>;
139
+ is_recurring: z.ZodOptional<z.ZodBoolean>;
140
+ last_name: z.ZodOptional<z.ZodString>;
141
+ metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
142
+ order_date: z.ZodOptional<z.ZodString>;
143
+ order_id: z.ZodOptional<z.ZodString>;
144
+ phone: z.ZodOptional<z.ZodString>;
145
+ products: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodObject<{
593
146
  affiliation: z.ZodOptional<z.ZodString>;
594
147
  brand: z.ZodOptional<z.ZodString>;
595
148
  bundle: z.ZodOptional<z.ZodBoolean>;
596
149
  category: z.ZodOptional<z.ZodString>;
150
+ description: z.ZodOptional<z.ZodString>;
597
151
  image_url: z.ZodOptional<z.ZodString>;
598
- option_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
152
+ name: z.ZodString;
153
+ option_values: z.ZodOptional<z.ZodArray<z.ZodString>>;
599
154
  position: z.ZodOptional<z.ZodNumber>;
600
155
  price: z.ZodNumber;
156
+ product_id: z.ZodString;
601
157
  sku: z.ZodString;
602
158
  slug: z.ZodOptional<z.ZodString>;
603
159
  url: z.ZodOptional<z.ZodString>;
@@ -605,92 +161,25 @@ export declare const cartSchema: z.ZodObject<{
605
161
  coupon: z.ZodOptional<z.ZodString>;
606
162
  line_item_id: z.ZodOptional<z.ZodString>;
607
163
  quantity: z.ZodNumber;
608
- }, "strip", z.ZodTypeAny, {
609
- description?: string;
610
- name?: string;
611
- product_id?: string;
612
- affiliation?: string;
613
- brand?: string;
614
- bundle?: boolean;
615
- category?: string;
616
- image_url?: string;
617
- option_values?: string[];
618
- position?: number;
619
- price?: number;
620
- sku?: string;
621
- slug?: string;
622
- url?: string;
623
- variant?: string;
624
- coupon?: string;
625
- line_item_id?: string;
626
- quantity?: number;
627
- }, {
628
- description?: string;
629
- name?: string;
630
- product_id?: string;
631
- affiliation?: string;
632
- brand?: string;
633
- bundle?: boolean;
634
- category?: string;
635
- image_url?: string;
636
- option_values?: string[];
637
- position?: number;
638
- price?: number;
639
- sku?: string;
640
- slug?: string;
641
- url?: string;
642
- variant?: string;
643
- coupon?: string;
644
- line_item_id?: string;
645
- quantity?: number;
646
- }>, "many">;
647
- value: z.ZodOptional<z.ZodNumber>;
648
- }, "strip", z.ZodTypeAny, {
649
- cart_id?: string;
650
- currency?: string;
651
- products?: {
652
- description?: string;
653
- name?: string;
654
- product_id?: string;
655
- affiliation?: string;
656
- brand?: string;
657
- bundle?: boolean;
658
- category?: string;
659
- image_url?: string;
660
- option_values?: string[];
661
- position?: number;
662
- price?: number;
663
- sku?: string;
664
- slug?: string;
665
- url?: string;
666
- variant?: string;
667
- coupon?: string;
668
- line_item_id?: string;
669
- quantity?: number;
670
- }[];
671
- value?: number;
672
- }, {
673
- cart_id?: string;
674
- currency?: string;
675
- products?: {
676
- description?: string;
677
- name?: string;
678
- product_id?: string;
679
- affiliation?: string;
680
- brand?: string;
681
- bundle?: boolean;
682
- category?: string;
683
- image_url?: string;
684
- option_values?: string[];
685
- position?: number;
686
- price?: number;
687
- sku?: string;
688
- slug?: string;
689
- url?: string;
690
- variant?: string;
691
- coupon?: string;
692
- line_item_id?: string;
693
- quantity?: number;
694
- }[];
695
- value?: number;
696
- }>;
164
+ }, z.core.$strip>, z.ZodObject<{
165
+ bundle_size: z.ZodOptional<z.ZodNumber>;
166
+ cross_sold_quantity: z.ZodOptional<z.ZodNumber>;
167
+ variant_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
168
+ }, z.core.$strip>>>>;
169
+ purl_link: z.ZodOptional<z.ZodString>;
170
+ referral_identifier_id: z.ZodOptional<z.ZodString>;
171
+ revenue: z.ZodOptional<z.ZodNumber>;
172
+ shipping: z.ZodOptional<z.ZodNumber>;
173
+ shipping_city: z.ZodOptional<z.ZodString>;
174
+ shipping_country: z.ZodOptional<z.ZodString>;
175
+ shipping_method_details: z.ZodOptional<z.ZodObject<{
176
+ shipping_code: z.ZodOptional<z.ZodString>;
177
+ shipping_method: z.ZodOptional<z.ZodString>;
178
+ }, z.core.$strip>>;
179
+ shipping_state: z.ZodOptional<z.ZodString>;
180
+ shipping_zipcode: z.ZodOptional<z.ZodString>;
181
+ tax: z.ZodOptional<z.ZodNumber>;
182
+ template_id: z.ZodOptional<z.ZodNumber>;
183
+ total: z.ZodOptional<z.ZodNumber>;
184
+ tracking_ids: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
185
+ }, z.core.$strip>;