@postrun/js 2.24.0 → 3.0.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.
@@ -79,7 +79,6 @@ var zErrorCode = z__namespace.enum([
79
79
  "content_missing",
80
80
  "content_conflict",
81
81
  "content_incomplete",
82
- "content_kind_mismatch",
83
82
  "media_type_mismatch",
84
83
  "tag_limit_exceeded",
85
84
  "reel_field_on_non_reel",
@@ -151,6 +150,22 @@ var zErrorCode = z__namespace.enum([
151
150
  "connection_platform_mismatch",
152
151
  "connection_removed"
153
152
  ]);
153
+ var zErrorSource = z__namespace.object({
154
+ platform: z__namespace.enum([
155
+ "google",
156
+ "meta",
157
+ "x",
158
+ "linkedin",
159
+ "instagram",
160
+ "facebook",
161
+ "tiktok",
162
+ "youtube"
163
+ ]),
164
+ platform_code: z__namespace.string().optional(),
165
+ field: z__namespace.string().optional(),
166
+ value: z__namespace.string().optional(),
167
+ platform_request_id: z__namespace.string().optional()
168
+ });
154
169
  var zProfile = z__namespace.object({
155
170
  id: z__namespace.string(),
156
171
  name: z__namespace.string(),
@@ -423,12 +438,6 @@ var zTikTokPrivacyLevel = z__namespace.enum([
423
438
  var zPostVariant = z__namespace.union([
424
439
  z__namespace.object({
425
440
  platform: z__namespace.literal("x"),
426
- post_type: z__namespace.enum([
427
- "text",
428
- "single_image",
429
- "multi_image",
430
- "video"
431
- ]),
432
441
  settings: z__namespace.object({
433
442
  reply_settings: z__namespace.enum([
434
443
  "everyone",
@@ -463,6 +472,7 @@ var zPostVariant = z__namespace.union([
463
472
  }),
464
473
  id: z__namespace.string(),
465
474
  object: z__namespace.literal("post_variant"),
475
+ post_type: zPostType.nullable(),
466
476
  connection_id: z__namespace.string().nullable(),
467
477
  body: z__namespace.string().nullable(),
468
478
  status: zPostVariantStatus,
@@ -529,7 +539,6 @@ var zPostVariant = z__namespace.union([
529
539
  "content_missing",
530
540
  "content_conflict",
531
541
  "content_incomplete",
532
- "content_kind_mismatch",
533
542
  "media_type_mismatch",
534
543
  "tag_limit_exceeded",
535
544
  "reel_field_on_non_reel",
@@ -613,23 +622,8 @@ var zPostVariant = z__namespace.union([
613
622
  }),
614
623
  z__namespace.object({
615
624
  platform: z__namespace.literal("linkedin"),
616
- post_type: z__namespace.enum([
617
- "text",
618
- "single_image",
619
- "multi_image",
620
- "video"
621
- ]),
622
625
  settings: z__namespace.object({
623
626
  visibility: z__namespace.enum(["PUBLIC", "CONNECTIONS"]),
624
- content_kind: z__namespace.enum([
625
- "text",
626
- "single_image",
627
- "video",
628
- "multi_image",
629
- "document",
630
- "article",
631
- "poll"
632
- ]),
633
627
  article: z__namespace.object({
634
628
  source: z__namespace.url(),
635
629
  title: z__namespace.string().max(400).optional(),
@@ -658,6 +652,7 @@ var zPostVariant = z__namespace.union([
658
652
  }),
659
653
  id: z__namespace.string(),
660
654
  object: z__namespace.literal("post_variant"),
655
+ post_type: zPostType.nullable(),
661
656
  connection_id: z__namespace.string().nullable(),
662
657
  body: z__namespace.string().nullable(),
663
658
  status: zPostVariantStatus,
@@ -724,7 +719,6 @@ var zPostVariant = z__namespace.union([
724
719
  "content_missing",
725
720
  "content_conflict",
726
721
  "content_incomplete",
727
- "content_kind_mismatch",
728
722
  "media_type_mismatch",
729
723
  "tag_limit_exceeded",
730
724
  "reel_field_on_non_reel",
@@ -804,21 +798,25 @@ var zPostVariant = z__namespace.union([
804
798
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
805
799
  alt_text_override: z__namespace.string().nullable(),
806
800
  media: zMedia
807
- }))
808
- }),
809
- z__namespace.object({
810
- platform: z__namespace.literal("facebook_page"),
811
- post_type: z__namespace.enum([
801
+ })),
802
+ content_kind: z__namespace.enum([
812
803
  "text",
813
804
  "single_image",
805
+ "video",
814
806
  "multi_image",
815
- "reel"
816
- ]),
807
+ "document",
808
+ "article",
809
+ "poll"
810
+ ]).nullable()
811
+ }),
812
+ z__namespace.object({
813
+ platform: z__namespace.literal("facebook_page"),
817
814
  settings: z__namespace.object({
818
815
  link: z__namespace.url().optional()
819
816
  }),
820
817
  id: z__namespace.string(),
821
818
  object: z__namespace.literal("post_variant"),
819
+ post_type: zPostType.nullable(),
822
820
  connection_id: z__namespace.string().nullable(),
823
821
  body: z__namespace.string().nullable(),
824
822
  status: zPostVariantStatus,
@@ -885,7 +883,6 @@ var zPostVariant = z__namespace.union([
885
883
  "content_missing",
886
884
  "content_conflict",
887
885
  "content_incomplete",
888
- "content_kind_mismatch",
889
886
  "media_type_mismatch",
890
887
  "tag_limit_exceeded",
891
888
  "reel_field_on_non_reel",
@@ -969,17 +966,7 @@ var zPostVariant = z__namespace.union([
969
966
  }),
970
967
  z__namespace.object({
971
968
  platform: z__namespace.literal("instagram"),
972
- post_type: z__namespace.enum([
973
- "single_image",
974
- "carousel",
975
- "reel"
976
- ]),
977
969
  settings: z__namespace.object({
978
- media_type: z__namespace.enum([
979
- "IMAGE",
980
- "CAROUSEL",
981
- "REELS"
982
- ]).optional(),
983
970
  location_id: z__namespace.string().optional(),
984
971
  user_tags: z__namespace.array(z__namespace.object({
985
972
  username: z__namespace.string().min(1),
@@ -994,6 +981,7 @@ var zPostVariant = z__namespace.union([
994
981
  }),
995
982
  id: z__namespace.string(),
996
983
  object: z__namespace.literal("post_variant"),
984
+ post_type: zPostType.nullable(),
997
985
  connection_id: z__namespace.string().nullable(),
998
986
  body: z__namespace.string().nullable(),
999
987
  status: zPostVariantStatus,
@@ -1060,7 +1048,6 @@ var zPostVariant = z__namespace.union([
1060
1048
  "content_missing",
1061
1049
  "content_conflict",
1062
1050
  "content_incomplete",
1063
- "content_kind_mismatch",
1064
1051
  "media_type_mismatch",
1065
1052
  "tag_limit_exceeded",
1066
1053
  "reel_field_on_non_reel",
@@ -1140,15 +1127,15 @@ var zPostVariant = z__namespace.union([
1140
1127
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1141
1128
  alt_text_override: z__namespace.string().nullable(),
1142
1129
  media: zMedia
1143
- }))
1130
+ })),
1131
+ media_type: z__namespace.enum([
1132
+ "IMAGE",
1133
+ "CAROUSEL",
1134
+ "REELS"
1135
+ ]).nullable()
1144
1136
  }),
1145
1137
  z__namespace.object({
1146
1138
  platform: z__namespace.literal("tiktok"),
1147
- post_type: z__namespace.enum([
1148
- "video",
1149
- "single_image",
1150
- "carousel"
1151
- ]),
1152
1139
  settings: z__namespace.object({
1153
1140
  privacy_level: zTikTokPrivacyLevel.optional(),
1154
1141
  disable_comment: z__namespace.boolean().optional(),
@@ -1163,6 +1150,7 @@ var zPostVariant = z__namespace.union([
1163
1150
  }),
1164
1151
  id: z__namespace.string(),
1165
1152
  object: z__namespace.literal("post_variant"),
1153
+ post_type: zPostType.nullable(),
1166
1154
  connection_id: z__namespace.string().nullable(),
1167
1155
  body: z__namespace.string().nullable(),
1168
1156
  status: zPostVariantStatus,
@@ -1229,7 +1217,6 @@ var zPostVariant = z__namespace.union([
1229
1217
  "content_missing",
1230
1218
  "content_conflict",
1231
1219
  "content_incomplete",
1232
- "content_kind_mismatch",
1233
1220
  "media_type_mismatch",
1234
1221
  "tag_limit_exceeded",
1235
1222
  "reel_field_on_non_reel",
@@ -1354,12 +1341,6 @@ var zTikTokCreatorInfo = z__namespace.object({
1354
1341
  var zPostVariantInput = z__namespace.union([
1355
1342
  z__namespace.object({
1356
1343
  platform: z__namespace.literal("x"),
1357
- post_type: z__namespace.enum([
1358
- "text",
1359
- "single_image",
1360
- "multi_image",
1361
- "video"
1362
- ]),
1363
1344
  settings: z__namespace.object({
1364
1345
  reply_settings: z__namespace.enum([
1365
1346
  "everyone",
@@ -1401,23 +1382,8 @@ var zPostVariantInput = z__namespace.union([
1401
1382
  }),
1402
1383
  z__namespace.object({
1403
1384
  platform: z__namespace.literal("linkedin"),
1404
- post_type: z__namespace.enum([
1405
- "text",
1406
- "single_image",
1407
- "multi_image",
1408
- "video"
1409
- ]),
1410
1385
  settings: z__namespace.object({
1411
1386
  visibility: z__namespace.enum(["PUBLIC", "CONNECTIONS"]),
1412
- content_kind: z__namespace.enum([
1413
- "text",
1414
- "single_image",
1415
- "video",
1416
- "multi_image",
1417
- "document",
1418
- "article",
1419
- "poll"
1420
- ]),
1421
1387
  article: z__namespace.object({
1422
1388
  source: z__namespace.url(),
1423
1389
  title: z__namespace.string().max(400).optional(),
@@ -1453,17 +1419,7 @@ var zPostVariantInput = z__namespace.union([
1453
1419
  }),
1454
1420
  z__namespace.object({
1455
1421
  platform: z__namespace.literal("instagram"),
1456
- post_type: z__namespace.enum([
1457
- "single_image",
1458
- "carousel",
1459
- "reel"
1460
- ]),
1461
1422
  settings: z__namespace.object({
1462
- media_type: z__namespace.enum([
1463
- "IMAGE",
1464
- "CAROUSEL",
1465
- "REELS"
1466
- ]).optional(),
1467
1423
  location_id: z__namespace.string().optional(),
1468
1424
  user_tags: z__namespace.array(z__namespace.object({
1469
1425
  username: z__namespace.string().min(1),
@@ -1485,12 +1441,6 @@ var zPostVariantInput = z__namespace.union([
1485
1441
  }),
1486
1442
  z__namespace.object({
1487
1443
  platform: z__namespace.literal("facebook_page"),
1488
- post_type: z__namespace.enum([
1489
- "text",
1490
- "single_image",
1491
- "multi_image",
1492
- "reel"
1493
- ]),
1494
1444
  settings: z__namespace.object({
1495
1445
  link: z__namespace.url().optional()
1496
1446
  }).optional().default({}),
@@ -1503,11 +1453,6 @@ var zPostVariantInput = z__namespace.union([
1503
1453
  }),
1504
1454
  z__namespace.object({
1505
1455
  platform: z__namespace.literal("tiktok"),
1506
- post_type: z__namespace.enum([
1507
- "video",
1508
- "single_image",
1509
- "carousel"
1510
- ]),
1511
1456
  settings: z__namespace.object({
1512
1457
  privacy_level: zTikTokPrivacyLevel.optional(),
1513
1458
  disable_comment: z__namespace.boolean().optional(),
@@ -1535,7 +1480,7 @@ var zCreatePostBody = z__namespace.object({
1535
1480
  "schedule",
1536
1481
  "draft"
1537
1482
  ]).optional().default("draft"),
1538
- schedule_at: z__namespace.iso.datetime().optional(),
1483
+ schedule_at: z__namespace.iso.datetime({ offset: true }).optional(),
1539
1484
  external_id: z__namespace.string().min(1).max(255).optional(),
1540
1485
  metadata: z__namespace.record(z__namespace.string(), z__namespace.union([
1541
1486
  z__namespace.string().max(500),
@@ -2202,7 +2147,7 @@ var zGoogleAdsConversionUserIdentifier = z__namespace.object({
2202
2147
  }).optional()
2203
2148
  });
2204
2149
  var zGoogleAdsConversionEvent = z__namespace.object({
2205
- event_timestamp: z__namespace.iso.datetime(),
2150
+ event_timestamp: z__namespace.iso.datetime({ offset: true }),
2206
2151
  event_source: z__namespace.enum([
2207
2152
  "WEB",
2208
2153
  "APP",
@@ -2285,7 +2230,6 @@ var zGoogleAdsConversionStatusReason = z__namespace.object({
2285
2230
  "content_missing",
2286
2231
  "content_conflict",
2287
2232
  "content_incomplete",
2288
- "content_kind_mismatch",
2289
2233
  "media_type_mismatch",
2290
2234
  "tag_limit_exceeded",
2291
2235
  "reel_field_on_non_reel",
@@ -2378,6 +2322,13 @@ var zGoogleAdsConversionStatus = z__namespace.object({
2378
2322
  warnings: z__namespace.array(zGoogleAdsConversionWarning)
2379
2323
  }))
2380
2324
  });
2325
+ var zGoogleAdsConversionRequest = z__namespace.object({
2326
+ object: z__namespace.literal("conversion_request"),
2327
+ request_id: z__namespace.string(),
2328
+ conversion_action_id: z__namespace.string().nullable(),
2329
+ event_count: z__namespace.int().gte(-9007199254740991).lte(9007199254740991).nullable(),
2330
+ created_at: z__namespace.string()
2331
+ });
2381
2332
  var zIdempotencyKey = z__namespace.string().min(1).max(255);
2382
2333
  var zProfilesListQuery = z__namespace.object({
2383
2334
  limit: z__namespace.int().gte(1).lte(100).optional().default(20),
@@ -2785,9 +2736,9 @@ var zPostsListQuery = z__namespace.object({
2785
2736
  z__namespace.number(),
2786
2737
  z__namespace.boolean()
2787
2738
  ])).optional(),
2788
- scheduled_after: z__namespace.iso.datetime().optional(),
2789
- scheduled_before: z__namespace.iso.datetime().optional(),
2790
- updated_after: z__namespace.iso.datetime().optional(),
2739
+ scheduled_after: z__namespace.iso.datetime({ offset: true }).optional(),
2740
+ scheduled_before: z__namespace.iso.datetime({ offset: true }).optional(),
2741
+ updated_after: z__namespace.iso.datetime({ offset: true }).optional(),
2791
2742
  status: z__namespace.array(zPostStatus).optional()
2792
2743
  });
2793
2744
  var zPostsListResponse = z__namespace.object({
@@ -2847,7 +2798,7 @@ var zPostsUpdateBody = z__namespace.object({
2847
2798
  "schedule",
2848
2799
  "draft"
2849
2800
  ]).optional(),
2850
- schedule_at: z__namespace.iso.datetime().nullish(),
2801
+ schedule_at: z__namespace.iso.datetime({ offset: true }).nullish(),
2851
2802
  external_id: z__namespace.string().min(1).max(255).nullish(),
2852
2803
  metadata: z__namespace.record(z__namespace.string(), z__namespace.union([
2853
2804
  z__namespace.string().max(500),
@@ -2956,7 +2907,6 @@ var zPostsValidateResponse = z__namespace.object({
2956
2907
  "content_missing",
2957
2908
  "content_conflict",
2958
2909
  "content_incomplete",
2959
- "content_kind_mismatch",
2960
2910
  "media_type_mismatch",
2961
2911
  "tag_limit_exceeded",
2962
2912
  "reel_field_on_non_reel",
@@ -3032,22 +2982,7 @@ var zPostsValidateResponse = z__namespace.object({
3032
2982
  hint: z__namespace.string().optional(),
3033
2983
  allowed: z__namespace.array(z__namespace.string()).optional(),
3034
2984
  got: z__namespace.string().optional(),
3035
- source: z__namespace.object({
3036
- platform: z__namespace.enum([
3037
- "google",
3038
- "meta",
3039
- "x",
3040
- "linkedin",
3041
- "instagram",
3042
- "facebook",
3043
- "tiktok",
3044
- "youtube"
3045
- ]),
3046
- platform_code: z__namespace.string().optional(),
3047
- field: z__namespace.string().optional(),
3048
- value: z__namespace.string().optional(),
3049
- platform_request_id: z__namespace.string().optional()
3050
- }).optional(),
2985
+ source: zErrorSource.optional(),
3051
2986
  variant_index: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
3052
2987
  path: z__namespace.array(z__namespace.union([z__namespace.string(), z__namespace.number()])),
3053
2988
  platform: zPostPlatform.optional(),
@@ -3425,7 +3360,7 @@ var zGoogleListCampaignsResponse = z__namespace.object({
3425
3360
  var zGoogleCreateCampaignBody = z__namespace.object({
3426
3361
  name: z__namespace.string().min(1).max(255),
3427
3362
  channel: z__namespace.enum(["SEARCH", "DISPLAY"]),
3428
- campaign_budget: z__namespace.string().min(1),
3363
+ campaign_budget: z__namespace.string().regex(/^\d+$/),
3429
3364
  bidding: z__namespace.enum([
3430
3365
  "manual_cpc",
3431
3366
  "maximize_conversions",
@@ -3636,7 +3571,7 @@ var zGoogleListAdGroupsResponse = z__namespace.object({
3636
3571
  });
3637
3572
  var zGoogleCreateAdGroupBody = z__namespace.object({
3638
3573
  name: z__namespace.string().min(1).max(255),
3639
- campaign: z__namespace.string().min(1),
3574
+ campaign: z__namespace.string().regex(/^\d+$/),
3640
3575
  type: z__namespace.enum(["SEARCH_STANDARD", "DISPLAY_STANDARD"]),
3641
3576
  status: z__namespace.enum(["ENABLED", "PAUSED"]).optional().default("ENABLED"),
3642
3577
  dry_run: z__namespace.boolean().optional().default(false)
@@ -3844,7 +3779,7 @@ var zGoogleListAdsResponse = z__namespace.object({
3844
3779
  data: z__namespace.array(zGoogleAdsAd)
3845
3780
  });
3846
3781
  var zGoogleCreateAdBody = z__namespace.object({
3847
- ad_group: z__namespace.string().min(1),
3782
+ ad_group: z__namespace.string().regex(/^\d+$/),
3848
3783
  final_urls: z__namespace.array(z__namespace.url()).min(1),
3849
3784
  headlines: z__namespace.array(z__namespace.object({
3850
3785
  text: z__namespace.string().min(1).max(30),
@@ -3875,7 +3810,7 @@ var zGoogleGetAdPath = z__namespace.object({
3875
3810
  });
3876
3811
  var zGoogleGetAdResponse = zGoogleAdsAd;
3877
3812
  var zGoogleCreateDisplayAdBody = z__namespace.object({
3878
- ad_group: z__namespace.string().min(1),
3813
+ ad_group: z__namespace.string().regex(/^\d+$/),
3879
3814
  final_urls: z__namespace.array(z__namespace.url()).min(1),
3880
3815
  marketing_images: z__namespace.array(z__namespace.object({
3881
3816
  asset: z__namespace.string().min(1)
@@ -3967,7 +3902,7 @@ var zGoogleListKeywordsResponse = z__namespace.object({
3967
3902
  data: z__namespace.array(zGoogleAdsKeyword)
3968
3903
  });
3969
3904
  var zGoogleCreateKeywordBody = z__namespace.object({
3970
- ad_group: z__namespace.string().min(1),
3905
+ ad_group: z__namespace.string().regex(/^\d+$/),
3971
3906
  text: z__namespace.string().min(1).max(80),
3972
3907
  match_type: z__namespace.enum([
3973
3908
  "EXACT",
@@ -4380,6 +4315,21 @@ var zGoogleGetConversionStatusQuery = z__namespace.object({
4380
4315
  request_id: z__namespace.string().min(1)
4381
4316
  });
4382
4317
  var zGoogleGetConversionStatusResponse = zGoogleAdsConversionStatus;
4318
+ var zGoogleListConversionRequestsPath = z__namespace.object({
4319
+ connection_id: z__namespace.string()
4320
+ });
4321
+ var zGoogleListConversionRequestsQuery = z__namespace.object({
4322
+ limit: z__namespace.int().gte(1).lte(100).optional().default(20),
4323
+ offset: z__namespace.int().gte(0).lte(9007199254740991).optional().default(0)
4324
+ });
4325
+ var zGoogleListConversionRequestsResponse = z__namespace.object({
4326
+ object: z__namespace.literal("list"),
4327
+ data: z__namespace.array(zGoogleAdsConversionRequest),
4328
+ total: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
4329
+ limit: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
4330
+ offset: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
4331
+ has_more: z__namespace.boolean()
4332
+ });
4383
4333
  var zGoogleListConversionGoalsPath = z__namespace.object({
4384
4334
  connection_id: z__namespace.string()
4385
4335
  });
@@ -4550,8 +4500,8 @@ var zLogsListQuery = z__namespace.object({
4550
4500
  "scheduler"
4551
4501
  ]).optional(),
4552
4502
  action: z__namespace.string().min(1).optional(),
4553
- created_after: z__namespace.iso.datetime().optional(),
4554
- created_before: z__namespace.iso.datetime().optional()
4503
+ created_after: z__namespace.iso.datetime({ offset: true }).optional(),
4504
+ created_before: z__namespace.iso.datetime({ offset: true }).optional()
4555
4505
  });
4556
4506
  var zLogsListResponse = z__namespace.object({
4557
4507
  object: z__namespace.literal("list"),
@@ -4641,7 +4591,6 @@ var zLogsListResponse = z__namespace.object({
4641
4591
  "content_missing",
4642
4592
  "content_conflict",
4643
4593
  "content_incomplete",
4644
- "content_kind_mismatch",
4645
4594
  "media_type_mismatch",
4646
4595
  "tag_limit_exceeded",
4647
4596
  "reel_field_on_non_reel",
@@ -4801,7 +4750,6 @@ var zLogsListResponse = z__namespace.object({
4801
4750
  "content_missing",
4802
4751
  "content_conflict",
4803
4752
  "content_incomplete",
4804
- "content_kind_mismatch",
4805
4753
  "media_type_mismatch",
4806
4754
  "tag_limit_exceeded",
4807
4755
  "reel_field_on_non_reel",
@@ -4982,7 +4930,6 @@ var zLogsGetResponse = z__namespace.object({
4982
4930
  "content_missing",
4983
4931
  "content_conflict",
4984
4932
  "content_incomplete",
4985
- "content_kind_mismatch",
4986
4933
  "media_type_mismatch",
4987
4934
  "tag_limit_exceeded",
4988
4935
  "reel_field_on_non_reel",
@@ -5142,7 +5089,6 @@ var zLogsGetResponse = z__namespace.object({
5142
5089
  "content_missing",
5143
5090
  "content_conflict",
5144
5091
  "content_incomplete",
5145
- "content_kind_mismatch",
5146
5092
  "media_type_mismatch",
5147
5093
  "tag_limit_exceeded",
5148
5094
  "reel_field_on_non_reel",
@@ -5361,6 +5307,30 @@ var zTokensMintResponse = z__namespace.object({
5361
5307
  expires_at: z__namespace.string()
5362
5308
  });
5363
5309
 
5310
+ // src/schemas/conversions.ts
5311
+ var conversionEventSchema = zGoogleAdsConversionEvent.superRefine(
5312
+ (event, ctx) => {
5313
+ const hasMatchSignal = event.gclid != null || event.gbraid != null || event.wbraid != null || event.user_data != null && event.user_data.length > 0;
5314
+ if (!hasMatchSignal) {
5315
+ ctx.addIssue({
5316
+ code: "custom",
5317
+ message: "Each conversion needs at least one match signal: a gclid, gbraid, wbraid, or user_data."
5318
+ });
5319
+ }
5320
+ event.user_data?.forEach((identifier, index) => {
5321
+ const hasIdentifier = identifier.email_address != null || identifier.phone_number != null || identifier.address != null;
5322
+ if (!hasIdentifier) {
5323
+ ctx.addIssue({
5324
+ code: "custom",
5325
+ path: ["user_data", index],
5326
+ message: "Provide an email_address, phone_number, or address."
5327
+ });
5328
+ }
5329
+ });
5330
+ }
5331
+ );
5332
+
5333
+ exports.conversionEventSchema = conversionEventSchema;
5364
5334
  exports.zConnectSession = zConnectSession;
5365
5335
  exports.zConnection = zConnection;
5366
5336
  exports.zConnectionKind = zConnectionKind;
@@ -5386,6 +5356,7 @@ exports.zConnectionsSelectResponse = zConnectionsSelectResponse;
5386
5356
  exports.zCreatePostBody = zCreatePostBody;
5387
5357
  exports.zDiscoverableAccount = zDiscoverableAccount;
5388
5358
  exports.zErrorCode = zErrorCode;
5359
+ exports.zErrorSource = zErrorSource;
5389
5360
  exports.zGoogleAdTree = zGoogleAdTree;
5390
5361
  exports.zGoogleAdTreeNode = zGoogleAdTreeNode;
5391
5362
  exports.zGoogleAdsAd = zGoogleAdsAd;
@@ -5395,6 +5366,7 @@ exports.zGoogleAdsAudience = zGoogleAdsAudience;
5395
5366
  exports.zGoogleAdsCampaignCriterion = zGoogleAdsCampaignCriterion;
5396
5367
  exports.zGoogleAdsConversionConsent = zGoogleAdsConversionConsent;
5397
5368
  exports.zGoogleAdsConversionEvent = zGoogleAdsConversionEvent;
5369
+ exports.zGoogleAdsConversionRequest = zGoogleAdsConversionRequest;
5398
5370
  exports.zGoogleAdsConversionStatus = zGoogleAdsConversionStatus;
5399
5371
  exports.zGoogleAdsConversionStatusReason = zGoogleAdsConversionStatusReason;
5400
5372
  exports.zGoogleAdsConversionUserIdentifier = zGoogleAdsConversionUserIdentifier;
@@ -5524,6 +5496,9 @@ exports.zGoogleListConversionActionsPath = zGoogleListConversionActionsPath;
5524
5496
  exports.zGoogleListConversionActionsResponse = zGoogleListConversionActionsResponse;
5525
5497
  exports.zGoogleListConversionGoalsPath = zGoogleListConversionGoalsPath;
5526
5498
  exports.zGoogleListConversionGoalsResponse = zGoogleListConversionGoalsResponse;
5499
+ exports.zGoogleListConversionRequestsPath = zGoogleListConversionRequestsPath;
5500
+ exports.zGoogleListConversionRequestsQuery = zGoogleListConversionRequestsQuery;
5501
+ exports.zGoogleListConversionRequestsResponse = zGoogleListConversionRequestsResponse;
5527
5502
  exports.zGoogleListKeywordsPath = zGoogleListKeywordsPath;
5528
5503
  exports.zGoogleListKeywordsQuery = zGoogleListKeywordsQuery;
5529
5504
  exports.zGoogleListKeywordsResponse = zGoogleListKeywordsResponse;