@chordcommerce/analytics 1.6.0 → 1.8.0
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/README.md +30 -0
- package/dist/client/index.d.ts +19 -12
- package/dist/client/index.js +171 -50
- package/dist/types/client.d.ts +9 -31
- package/dist/types/formatters.d.ts +114 -0
- package/dist/types/formatters.js +1 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.js +1 -0
- package/dist/types/input.d.ts +201 -28
- package/dist/validators/objects.d.ts +30 -27
- package/dist/validators/objects.js +12 -9
- package/dist/validators/tracking-plan-map.d.ts +226 -9
- package/dist/validators/tracking-plan.d.ts +361 -28
- package/dist/validators/tracking-plan.js +61 -12
- package/package.json +1 -1
|
@@ -973,18 +973,15 @@ export declare const productAddedToWishlistSchema: z.ZodIntersection<z.ZodRecord
|
|
|
973
973
|
wishlist_id?: string;
|
|
974
974
|
wishlist_name?: string;
|
|
975
975
|
}>>;
|
|
976
|
-
export declare const
|
|
976
|
+
export declare const productClickedProductSchema: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
977
977
|
affiliation: z.ZodOptional<z.ZodString>;
|
|
978
978
|
brand: z.ZodOptional<z.ZodString>;
|
|
979
979
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
980
|
-
cart_id: z.ZodOptional<z.ZodString>;
|
|
981
980
|
category: z.ZodOptional<z.ZodString>;
|
|
982
981
|
coupon: z.ZodOptional<z.ZodString>;
|
|
983
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
984
982
|
description: z.ZodOptional<z.ZodString>;
|
|
985
983
|
image_url: z.ZodOptional<z.ZodString>;
|
|
986
984
|
line_item_id: z.ZodOptional<z.ZodString>;
|
|
987
|
-
list: z.ZodOptional<z.ZodString>;
|
|
988
985
|
name: z.ZodString;
|
|
989
986
|
option_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
990
987
|
position: z.ZodOptional<z.ZodNumber>;
|
|
@@ -999,14 +996,11 @@ export declare const productClickedSchema: z.ZodIntersection<z.ZodRecord<z.ZodSt
|
|
|
999
996
|
affiliation?: string;
|
|
1000
997
|
brand?: string;
|
|
1001
998
|
bundle?: boolean;
|
|
1002
|
-
cart_id?: string;
|
|
1003
999
|
category?: string;
|
|
1004
1000
|
coupon?: string;
|
|
1005
|
-
currency?: string;
|
|
1006
1001
|
description?: string;
|
|
1007
1002
|
image_url?: string;
|
|
1008
1003
|
line_item_id?: string;
|
|
1009
|
-
list?: string;
|
|
1010
1004
|
name?: string;
|
|
1011
1005
|
option_values?: string[];
|
|
1012
1006
|
position?: number;
|
|
@@ -1021,14 +1015,11 @@ export declare const productClickedSchema: z.ZodIntersection<z.ZodRecord<z.ZodSt
|
|
|
1021
1015
|
affiliation?: string;
|
|
1022
1016
|
brand?: string;
|
|
1023
1017
|
bundle?: boolean;
|
|
1024
|
-
cart_id?: string;
|
|
1025
1018
|
category?: string;
|
|
1026
1019
|
coupon?: string;
|
|
1027
|
-
currency?: string;
|
|
1028
1020
|
description?: string;
|
|
1029
1021
|
image_url?: string;
|
|
1030
1022
|
line_item_id?: string;
|
|
1031
|
-
list?: string;
|
|
1032
1023
|
name?: string;
|
|
1033
1024
|
option_values?: string[];
|
|
1034
1025
|
position?: number;
|
|
@@ -1433,41 +1424,34 @@ export declare const productSharedSchema: z.ZodIntersection<z.ZodRecord<z.ZodStr
|
|
|
1433
1424
|
url?: string;
|
|
1434
1425
|
variant?: string;
|
|
1435
1426
|
}>>;
|
|
1436
|
-
export declare const
|
|
1427
|
+
export declare const productViewedProductSchema: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
1437
1428
|
affiliation: z.ZodOptional<z.ZodString>;
|
|
1438
1429
|
brand: z.ZodOptional<z.ZodString>;
|
|
1439
1430
|
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
1440
|
-
cart_id: z.ZodOptional<z.ZodString>;
|
|
1441
1431
|
category: z.ZodOptional<z.ZodString>;
|
|
1442
1432
|
coupon: z.ZodOptional<z.ZodString>;
|
|
1443
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
1444
1433
|
description: z.ZodOptional<z.ZodString>;
|
|
1445
1434
|
image_url: z.ZodOptional<z.ZodString>;
|
|
1446
1435
|
line_item_id: z.ZodOptional<z.ZodString>;
|
|
1447
|
-
list: z.ZodOptional<z.ZodString>;
|
|
1448
1436
|
name: z.ZodString;
|
|
1449
1437
|
option_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1450
1438
|
position: z.ZodOptional<z.ZodNumber>;
|
|
1451
|
-
price: z.ZodNumber
|
|
1439
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
1452
1440
|
product_id: z.ZodString;
|
|
1453
1441
|
quantity: z.ZodOptional<z.ZodNumber>;
|
|
1454
|
-
sku: z.ZodString
|
|
1442
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
1455
1443
|
slug: z.ZodOptional<z.ZodString>;
|
|
1456
1444
|
url: z.ZodOptional<z.ZodString>;
|
|
1457
|
-
value: z.ZodOptional<z.ZodNumber>;
|
|
1458
1445
|
variant: z.ZodOptional<z.ZodString>;
|
|
1459
1446
|
}, "strip", z.ZodTypeAny, {
|
|
1460
1447
|
affiliation?: string;
|
|
1461
1448
|
brand?: string;
|
|
1462
1449
|
bundle?: boolean;
|
|
1463
|
-
cart_id?: string;
|
|
1464
1450
|
category?: string;
|
|
1465
1451
|
coupon?: string;
|
|
1466
|
-
currency?: string;
|
|
1467
1452
|
description?: string;
|
|
1468
1453
|
image_url?: string;
|
|
1469
1454
|
line_item_id?: string;
|
|
1470
|
-
list?: string;
|
|
1471
1455
|
name?: string;
|
|
1472
1456
|
option_values?: string[];
|
|
1473
1457
|
position?: number;
|
|
@@ -1477,20 +1461,16 @@ export declare const productViewedSchema: z.ZodIntersection<z.ZodRecord<z.ZodStr
|
|
|
1477
1461
|
sku?: string;
|
|
1478
1462
|
slug?: string;
|
|
1479
1463
|
url?: string;
|
|
1480
|
-
value?: number;
|
|
1481
1464
|
variant?: string;
|
|
1482
1465
|
}, {
|
|
1483
1466
|
affiliation?: string;
|
|
1484
1467
|
brand?: string;
|
|
1485
1468
|
bundle?: boolean;
|
|
1486
|
-
cart_id?: string;
|
|
1487
1469
|
category?: string;
|
|
1488
1470
|
coupon?: string;
|
|
1489
|
-
currency?: string;
|
|
1490
1471
|
description?: string;
|
|
1491
1472
|
image_url?: string;
|
|
1492
1473
|
line_item_id?: string;
|
|
1493
|
-
list?: string;
|
|
1494
1474
|
name?: string;
|
|
1495
1475
|
option_values?: string[];
|
|
1496
1476
|
position?: number;
|
|
@@ -1500,7 +1480,6 @@ export declare const productViewedSchema: z.ZodIntersection<z.ZodRecord<z.ZodStr
|
|
|
1500
1480
|
sku?: string;
|
|
1501
1481
|
slug?: string;
|
|
1502
1482
|
url?: string;
|
|
1503
|
-
value?: number;
|
|
1504
1483
|
variant?: string;
|
|
1505
1484
|
}>>;
|
|
1506
1485
|
export declare const productsSearchedSchema: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
@@ -1818,10 +1797,13 @@ export declare const fluffyProductSchema: z.ZodIntersection<z.ZodRecord<z.ZodStr
|
|
|
1818
1797
|
}>>;
|
|
1819
1798
|
export declare const signedInSchema: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
1820
1799
|
email: z.ZodOptional<z.ZodString>;
|
|
1800
|
+
method: z.ZodOptional<z.ZodString>;
|
|
1821
1801
|
}, "strip", z.ZodTypeAny, {
|
|
1822
1802
|
email?: string;
|
|
1803
|
+
method?: string;
|
|
1823
1804
|
}, {
|
|
1824
1805
|
email?: string;
|
|
1806
|
+
method?: string;
|
|
1825
1807
|
}>>;
|
|
1826
1808
|
export declare const signedOutSchema: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
1827
1809
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -1832,10 +1814,13 @@ export declare const signedOutSchema: z.ZodIntersection<z.ZodRecord<z.ZodString,
|
|
|
1832
1814
|
}>>;
|
|
1833
1815
|
export declare const signedUpSchema: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
1834
1816
|
email: z.ZodOptional<z.ZodString>;
|
|
1817
|
+
method: z.ZodOptional<z.ZodString>;
|
|
1835
1818
|
}, "strip", z.ZodTypeAny, {
|
|
1836
1819
|
email?: string;
|
|
1820
|
+
method?: string;
|
|
1837
1821
|
}, {
|
|
1838
1822
|
email?: string;
|
|
1823
|
+
method?: string;
|
|
1839
1824
|
}>>;
|
|
1840
1825
|
export declare const stockRequestCreatedSchema: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
1841
1826
|
affiliation: z.ZodOptional<z.ZodString>;
|
|
@@ -4341,6 +4326,174 @@ export declare const productAddedSchema: z.ZodIntersection<z.ZodRecord<z.ZodStri
|
|
|
4341
4326
|
value?: number;
|
|
4342
4327
|
variant?: string;
|
|
4343
4328
|
}>>;
|
|
4329
|
+
export declare const productClickedSchema: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
4330
|
+
affiliation: z.ZodOptional<z.ZodString>;
|
|
4331
|
+
brand: z.ZodOptional<z.ZodString>;
|
|
4332
|
+
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
4333
|
+
cart_id: z.ZodOptional<z.ZodString>;
|
|
4334
|
+
category: z.ZodOptional<z.ZodString>;
|
|
4335
|
+
coupon: z.ZodOptional<z.ZodString>;
|
|
4336
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
4337
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4338
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
4339
|
+
item_list_id: z.ZodOptional<z.ZodString>;
|
|
4340
|
+
item_list_name: z.ZodOptional<z.ZodString>;
|
|
4341
|
+
line_item_id: z.ZodOptional<z.ZodString>;
|
|
4342
|
+
name: z.ZodString;
|
|
4343
|
+
option_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4344
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
4345
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
4346
|
+
product_id: z.ZodString;
|
|
4347
|
+
products: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
4348
|
+
affiliation: z.ZodOptional<z.ZodString>;
|
|
4349
|
+
brand: z.ZodOptional<z.ZodString>;
|
|
4350
|
+
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
4351
|
+
category: z.ZodOptional<z.ZodString>;
|
|
4352
|
+
coupon: z.ZodOptional<z.ZodString>;
|
|
4353
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4354
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
4355
|
+
line_item_id: z.ZodOptional<z.ZodString>;
|
|
4356
|
+
name: z.ZodString;
|
|
4357
|
+
option_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4358
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
4359
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
4360
|
+
product_id: z.ZodString;
|
|
4361
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
4362
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
4363
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
4364
|
+
url: z.ZodOptional<z.ZodString>;
|
|
4365
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
4366
|
+
}, "strip", z.ZodTypeAny, {
|
|
4367
|
+
affiliation?: string;
|
|
4368
|
+
brand?: string;
|
|
4369
|
+
bundle?: boolean;
|
|
4370
|
+
category?: string;
|
|
4371
|
+
coupon?: string;
|
|
4372
|
+
description?: string;
|
|
4373
|
+
image_url?: string;
|
|
4374
|
+
line_item_id?: string;
|
|
4375
|
+
name?: string;
|
|
4376
|
+
option_values?: string[];
|
|
4377
|
+
position?: number;
|
|
4378
|
+
price?: number;
|
|
4379
|
+
product_id?: string;
|
|
4380
|
+
quantity?: number;
|
|
4381
|
+
sku?: string;
|
|
4382
|
+
slug?: string;
|
|
4383
|
+
url?: string;
|
|
4384
|
+
variant?: string;
|
|
4385
|
+
}, {
|
|
4386
|
+
affiliation?: string;
|
|
4387
|
+
brand?: string;
|
|
4388
|
+
bundle?: boolean;
|
|
4389
|
+
category?: string;
|
|
4390
|
+
coupon?: string;
|
|
4391
|
+
description?: string;
|
|
4392
|
+
image_url?: string;
|
|
4393
|
+
line_item_id?: string;
|
|
4394
|
+
name?: string;
|
|
4395
|
+
option_values?: string[];
|
|
4396
|
+
position?: number;
|
|
4397
|
+
price?: number;
|
|
4398
|
+
product_id?: string;
|
|
4399
|
+
quantity?: number;
|
|
4400
|
+
sku?: string;
|
|
4401
|
+
slug?: string;
|
|
4402
|
+
url?: string;
|
|
4403
|
+
variant?: string;
|
|
4404
|
+
}>>, "many">>;
|
|
4405
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
4406
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
4407
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
4408
|
+
url: z.ZodOptional<z.ZodString>;
|
|
4409
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
4410
|
+
}, "strip", z.ZodTypeAny, {
|
|
4411
|
+
affiliation?: string;
|
|
4412
|
+
brand?: string;
|
|
4413
|
+
bundle?: boolean;
|
|
4414
|
+
cart_id?: string;
|
|
4415
|
+
category?: string;
|
|
4416
|
+
coupon?: string;
|
|
4417
|
+
currency?: string;
|
|
4418
|
+
description?: string;
|
|
4419
|
+
image_url?: string;
|
|
4420
|
+
item_list_id?: string;
|
|
4421
|
+
item_list_name?: string;
|
|
4422
|
+
line_item_id?: string;
|
|
4423
|
+
name?: string;
|
|
4424
|
+
option_values?: string[];
|
|
4425
|
+
position?: number;
|
|
4426
|
+
price?: number;
|
|
4427
|
+
product_id?: string;
|
|
4428
|
+
products?: (Record<string, any> & {
|
|
4429
|
+
affiliation?: string;
|
|
4430
|
+
brand?: string;
|
|
4431
|
+
bundle?: boolean;
|
|
4432
|
+
category?: string;
|
|
4433
|
+
coupon?: string;
|
|
4434
|
+
description?: string;
|
|
4435
|
+
image_url?: string;
|
|
4436
|
+
line_item_id?: string;
|
|
4437
|
+
name?: string;
|
|
4438
|
+
option_values?: string[];
|
|
4439
|
+
position?: number;
|
|
4440
|
+
price?: number;
|
|
4441
|
+
product_id?: string;
|
|
4442
|
+
quantity?: number;
|
|
4443
|
+
sku?: string;
|
|
4444
|
+
slug?: string;
|
|
4445
|
+
url?: string;
|
|
4446
|
+
variant?: string;
|
|
4447
|
+
})[];
|
|
4448
|
+
quantity?: number;
|
|
4449
|
+
sku?: string;
|
|
4450
|
+
slug?: string;
|
|
4451
|
+
url?: string;
|
|
4452
|
+
variant?: string;
|
|
4453
|
+
}, {
|
|
4454
|
+
affiliation?: string;
|
|
4455
|
+
brand?: string;
|
|
4456
|
+
bundle?: boolean;
|
|
4457
|
+
cart_id?: string;
|
|
4458
|
+
category?: string;
|
|
4459
|
+
coupon?: string;
|
|
4460
|
+
currency?: string;
|
|
4461
|
+
description?: string;
|
|
4462
|
+
image_url?: string;
|
|
4463
|
+
item_list_id?: string;
|
|
4464
|
+
item_list_name?: string;
|
|
4465
|
+
line_item_id?: string;
|
|
4466
|
+
name?: string;
|
|
4467
|
+
option_values?: string[];
|
|
4468
|
+
position?: number;
|
|
4469
|
+
price?: number;
|
|
4470
|
+
product_id?: string;
|
|
4471
|
+
products?: (Record<string, any> & {
|
|
4472
|
+
affiliation?: string;
|
|
4473
|
+
brand?: string;
|
|
4474
|
+
bundle?: boolean;
|
|
4475
|
+
category?: string;
|
|
4476
|
+
coupon?: string;
|
|
4477
|
+
description?: string;
|
|
4478
|
+
image_url?: string;
|
|
4479
|
+
line_item_id?: string;
|
|
4480
|
+
name?: string;
|
|
4481
|
+
option_values?: string[];
|
|
4482
|
+
position?: number;
|
|
4483
|
+
price?: number;
|
|
4484
|
+
product_id?: string;
|
|
4485
|
+
quantity?: number;
|
|
4486
|
+
sku?: string;
|
|
4487
|
+
slug?: string;
|
|
4488
|
+
url?: string;
|
|
4489
|
+
variant?: string;
|
|
4490
|
+
})[];
|
|
4491
|
+
quantity?: number;
|
|
4492
|
+
sku?: string;
|
|
4493
|
+
slug?: string;
|
|
4494
|
+
url?: string;
|
|
4495
|
+
variant?: string;
|
|
4496
|
+
}>>;
|
|
4344
4497
|
export declare const productListFilteredSchema: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
4345
4498
|
category: z.ZodOptional<z.ZodString>;
|
|
4346
4499
|
filters: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
@@ -4353,6 +4506,8 @@ export declare const productListFilteredSchema: z.ZodIntersection<z.ZodRecord<z.
|
|
|
4353
4506
|
type?: string;
|
|
4354
4507
|
value?: string;
|
|
4355
4508
|
}>>, "many">>;
|
|
4509
|
+
item_list_id: z.ZodOptional<z.ZodString>;
|
|
4510
|
+
item_list_name: z.ZodOptional<z.ZodString>;
|
|
4356
4511
|
list_id: z.ZodOptional<z.ZodString>;
|
|
4357
4512
|
products: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
4358
4513
|
affiliation: z.ZodOptional<z.ZodString>;
|
|
@@ -4428,6 +4583,8 @@ export declare const productListFilteredSchema: z.ZodIntersection<z.ZodRecord<z.
|
|
|
4428
4583
|
type?: string;
|
|
4429
4584
|
value?: string;
|
|
4430
4585
|
})[];
|
|
4586
|
+
item_list_id?: string;
|
|
4587
|
+
item_list_name?: string;
|
|
4431
4588
|
list_id?: string;
|
|
4432
4589
|
products?: (Record<string, any> & {
|
|
4433
4590
|
affiliation?: string;
|
|
@@ -4459,6 +4616,8 @@ export declare const productListFilteredSchema: z.ZodIntersection<z.ZodRecord<z.
|
|
|
4459
4616
|
type?: string;
|
|
4460
4617
|
value?: string;
|
|
4461
4618
|
})[];
|
|
4619
|
+
item_list_id?: string;
|
|
4620
|
+
item_list_name?: string;
|
|
4462
4621
|
list_id?: string;
|
|
4463
4622
|
products?: (Record<string, any> & {
|
|
4464
4623
|
affiliation?: string;
|
|
@@ -4487,6 +4646,8 @@ export declare const productListFilteredSchema: z.ZodIntersection<z.ZodRecord<z.
|
|
|
4487
4646
|
}>>;
|
|
4488
4647
|
export declare const productListViewedSchema: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
4489
4648
|
category: z.ZodOptional<z.ZodString>;
|
|
4649
|
+
item_list_id: z.ZodOptional<z.ZodString>;
|
|
4650
|
+
item_list_name: z.ZodOptional<z.ZodString>;
|
|
4490
4651
|
list_id: z.ZodOptional<z.ZodString>;
|
|
4491
4652
|
products: z.ZodArray<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
4492
4653
|
affiliation: z.ZodOptional<z.ZodString>;
|
|
@@ -4546,9 +4707,10 @@ export declare const productListViewedSchema: z.ZodIntersection<z.ZodRecord<z.Zo
|
|
|
4546
4707
|
url?: string;
|
|
4547
4708
|
variant?: string;
|
|
4548
4709
|
}>>, "many">;
|
|
4549
|
-
value: z.ZodNumber;
|
|
4550
4710
|
}, "strip", z.ZodTypeAny, {
|
|
4551
4711
|
category?: string;
|
|
4712
|
+
item_list_id?: string;
|
|
4713
|
+
item_list_name?: string;
|
|
4552
4714
|
list_id?: string;
|
|
4553
4715
|
products?: (Record<string, any> & {
|
|
4554
4716
|
affiliation?: string;
|
|
@@ -4570,9 +4732,10 @@ export declare const productListViewedSchema: z.ZodIntersection<z.ZodRecord<z.Zo
|
|
|
4570
4732
|
url?: string;
|
|
4571
4733
|
variant?: string;
|
|
4572
4734
|
})[];
|
|
4573
|
-
value?: number;
|
|
4574
4735
|
}, {
|
|
4575
4736
|
category?: string;
|
|
4737
|
+
item_list_id?: string;
|
|
4738
|
+
item_list_name?: string;
|
|
4576
4739
|
list_id?: string;
|
|
4577
4740
|
products?: (Record<string, any> & {
|
|
4578
4741
|
affiliation?: string;
|
|
@@ -4594,7 +4757,6 @@ export declare const productListViewedSchema: z.ZodIntersection<z.ZodRecord<z.Zo
|
|
|
4594
4757
|
url?: string;
|
|
4595
4758
|
variant?: string;
|
|
4596
4759
|
})[];
|
|
4597
|
-
value?: number;
|
|
4598
4760
|
}>>;
|
|
4599
4761
|
export declare const productRemovedSchema: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
4600
4762
|
actionable_date: z.ZodOptional<z.ZodString>;
|
|
@@ -4782,6 +4944,177 @@ export declare const productRemovedSchema: z.ZodIntersection<z.ZodRecord<z.ZodSt
|
|
|
4782
4944
|
value?: number;
|
|
4783
4945
|
variant?: string;
|
|
4784
4946
|
}>>;
|
|
4947
|
+
export declare const productViewedSchema: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
4948
|
+
affiliation: z.ZodOptional<z.ZodString>;
|
|
4949
|
+
brand: z.ZodOptional<z.ZodString>;
|
|
4950
|
+
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
4951
|
+
cart_id: z.ZodOptional<z.ZodString>;
|
|
4952
|
+
category: z.ZodOptional<z.ZodString>;
|
|
4953
|
+
coupon: z.ZodOptional<z.ZodString>;
|
|
4954
|
+
currency: z.ZodOptional<z.ZodString>;
|
|
4955
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4956
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
4957
|
+
item_list_id: z.ZodOptional<z.ZodString>;
|
|
4958
|
+
item_list_name: z.ZodOptional<z.ZodString>;
|
|
4959
|
+
line_item_id: z.ZodOptional<z.ZodString>;
|
|
4960
|
+
name: z.ZodString;
|
|
4961
|
+
option_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4962
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
4963
|
+
price: z.ZodNumber;
|
|
4964
|
+
product_id: z.ZodString;
|
|
4965
|
+
products: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
4966
|
+
affiliation: z.ZodOptional<z.ZodString>;
|
|
4967
|
+
brand: z.ZodOptional<z.ZodString>;
|
|
4968
|
+
bundle: z.ZodOptional<z.ZodBoolean>;
|
|
4969
|
+
category: z.ZodOptional<z.ZodString>;
|
|
4970
|
+
coupon: z.ZodOptional<z.ZodString>;
|
|
4971
|
+
description: z.ZodOptional<z.ZodString>;
|
|
4972
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
4973
|
+
line_item_id: z.ZodOptional<z.ZodString>;
|
|
4974
|
+
name: z.ZodString;
|
|
4975
|
+
option_values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
4976
|
+
position: z.ZodOptional<z.ZodNumber>;
|
|
4977
|
+
price: z.ZodOptional<z.ZodNumber>;
|
|
4978
|
+
product_id: z.ZodString;
|
|
4979
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
4980
|
+
sku: z.ZodOptional<z.ZodString>;
|
|
4981
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
4982
|
+
url: z.ZodOptional<z.ZodString>;
|
|
4983
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
4984
|
+
}, "strip", z.ZodTypeAny, {
|
|
4985
|
+
affiliation?: string;
|
|
4986
|
+
brand?: string;
|
|
4987
|
+
bundle?: boolean;
|
|
4988
|
+
category?: string;
|
|
4989
|
+
coupon?: string;
|
|
4990
|
+
description?: string;
|
|
4991
|
+
image_url?: string;
|
|
4992
|
+
line_item_id?: string;
|
|
4993
|
+
name?: string;
|
|
4994
|
+
option_values?: string[];
|
|
4995
|
+
position?: number;
|
|
4996
|
+
price?: number;
|
|
4997
|
+
product_id?: string;
|
|
4998
|
+
quantity?: number;
|
|
4999
|
+
sku?: string;
|
|
5000
|
+
slug?: string;
|
|
5001
|
+
url?: string;
|
|
5002
|
+
variant?: string;
|
|
5003
|
+
}, {
|
|
5004
|
+
affiliation?: string;
|
|
5005
|
+
brand?: string;
|
|
5006
|
+
bundle?: boolean;
|
|
5007
|
+
category?: string;
|
|
5008
|
+
coupon?: string;
|
|
5009
|
+
description?: string;
|
|
5010
|
+
image_url?: string;
|
|
5011
|
+
line_item_id?: string;
|
|
5012
|
+
name?: string;
|
|
5013
|
+
option_values?: string[];
|
|
5014
|
+
position?: number;
|
|
5015
|
+
price?: number;
|
|
5016
|
+
product_id?: string;
|
|
5017
|
+
quantity?: number;
|
|
5018
|
+
sku?: string;
|
|
5019
|
+
slug?: string;
|
|
5020
|
+
url?: string;
|
|
5021
|
+
variant?: string;
|
|
5022
|
+
}>>, "many">>;
|
|
5023
|
+
quantity: z.ZodOptional<z.ZodNumber>;
|
|
5024
|
+
sku: z.ZodString;
|
|
5025
|
+
slug: z.ZodOptional<z.ZodString>;
|
|
5026
|
+
url: z.ZodOptional<z.ZodString>;
|
|
5027
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
5028
|
+
variant: z.ZodOptional<z.ZodString>;
|
|
5029
|
+
}, "strip", z.ZodTypeAny, {
|
|
5030
|
+
affiliation?: string;
|
|
5031
|
+
brand?: string;
|
|
5032
|
+
bundle?: boolean;
|
|
5033
|
+
cart_id?: string;
|
|
5034
|
+
category?: string;
|
|
5035
|
+
coupon?: string;
|
|
5036
|
+
currency?: string;
|
|
5037
|
+
description?: string;
|
|
5038
|
+
image_url?: string;
|
|
5039
|
+
item_list_id?: string;
|
|
5040
|
+
item_list_name?: string;
|
|
5041
|
+
line_item_id?: string;
|
|
5042
|
+
name?: string;
|
|
5043
|
+
option_values?: string[];
|
|
5044
|
+
position?: number;
|
|
5045
|
+
price?: number;
|
|
5046
|
+
product_id?: string;
|
|
5047
|
+
products?: (Record<string, any> & {
|
|
5048
|
+
affiliation?: string;
|
|
5049
|
+
brand?: string;
|
|
5050
|
+
bundle?: boolean;
|
|
5051
|
+
category?: string;
|
|
5052
|
+
coupon?: string;
|
|
5053
|
+
description?: string;
|
|
5054
|
+
image_url?: string;
|
|
5055
|
+
line_item_id?: string;
|
|
5056
|
+
name?: string;
|
|
5057
|
+
option_values?: string[];
|
|
5058
|
+
position?: number;
|
|
5059
|
+
price?: number;
|
|
5060
|
+
product_id?: string;
|
|
5061
|
+
quantity?: number;
|
|
5062
|
+
sku?: string;
|
|
5063
|
+
slug?: string;
|
|
5064
|
+
url?: string;
|
|
5065
|
+
variant?: string;
|
|
5066
|
+
})[];
|
|
5067
|
+
quantity?: number;
|
|
5068
|
+
sku?: string;
|
|
5069
|
+
slug?: string;
|
|
5070
|
+
url?: string;
|
|
5071
|
+
value?: number;
|
|
5072
|
+
variant?: string;
|
|
5073
|
+
}, {
|
|
5074
|
+
affiliation?: string;
|
|
5075
|
+
brand?: string;
|
|
5076
|
+
bundle?: boolean;
|
|
5077
|
+
cart_id?: string;
|
|
5078
|
+
category?: string;
|
|
5079
|
+
coupon?: string;
|
|
5080
|
+
currency?: string;
|
|
5081
|
+
description?: string;
|
|
5082
|
+
image_url?: string;
|
|
5083
|
+
item_list_id?: string;
|
|
5084
|
+
item_list_name?: string;
|
|
5085
|
+
line_item_id?: string;
|
|
5086
|
+
name?: string;
|
|
5087
|
+
option_values?: string[];
|
|
5088
|
+
position?: number;
|
|
5089
|
+
price?: number;
|
|
5090
|
+
product_id?: string;
|
|
5091
|
+
products?: (Record<string, any> & {
|
|
5092
|
+
affiliation?: string;
|
|
5093
|
+
brand?: string;
|
|
5094
|
+
bundle?: boolean;
|
|
5095
|
+
category?: string;
|
|
5096
|
+
coupon?: string;
|
|
5097
|
+
description?: string;
|
|
5098
|
+
image_url?: string;
|
|
5099
|
+
line_item_id?: string;
|
|
5100
|
+
name?: string;
|
|
5101
|
+
option_values?: string[];
|
|
5102
|
+
position?: number;
|
|
5103
|
+
price?: number;
|
|
5104
|
+
product_id?: string;
|
|
5105
|
+
quantity?: number;
|
|
5106
|
+
sku?: string;
|
|
5107
|
+
slug?: string;
|
|
5108
|
+
url?: string;
|
|
5109
|
+
variant?: string;
|
|
5110
|
+
})[];
|
|
5111
|
+
quantity?: number;
|
|
5112
|
+
sku?: string;
|
|
5113
|
+
slug?: string;
|
|
5114
|
+
url?: string;
|
|
5115
|
+
value?: number;
|
|
5116
|
+
variant?: string;
|
|
5117
|
+
}>>;
|
|
4785
5118
|
export declare const shipmentDeliveredShipmentSchema: z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|
|
4786
5119
|
additional_tax_total: z.ZodOptional<z.ZodNumber>;
|
|
4787
5120
|
address: z.ZodOptional<z.ZodIntersection<z.ZodRecord<z.ZodString, z.ZodAny>, z.ZodObject<{
|