@postrun/js 3.2.0 → 4.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.
@@ -18,12 +18,12 @@ var zErrorCode = z.enum([
18
18
  "not_implemented",
19
19
  "connection_discovery_failed",
20
20
  "tiktok_creator_info_unavailable",
21
- "tiktok_cannot_post_now",
22
21
  "media_processing",
23
22
  "media_upload_init_failed",
24
23
  "media_upload_incomplete",
25
24
  "media_upload_invalid_parts",
26
25
  "not_publishable",
26
+ "post_not_retryable",
27
27
  "invalid_connection",
28
28
  "invalid_media",
29
29
  "profile_scope_invalid",
@@ -74,6 +74,7 @@ var zErrorCode = z.enum([
74
74
  "x_rate_limited",
75
75
  "x_publish_failed",
76
76
  "x_media_upload_failed",
77
+ "x_thread_incomplete",
77
78
  "linkedin_duplicate_content",
78
79
  "linkedin_auth_expired",
79
80
  "linkedin_permission_denied",
@@ -91,6 +92,7 @@ var zErrorCode = z.enum([
91
92
  "instagram_media_unsupported",
92
93
  "instagram_not_authorized",
93
94
  "instagram_publish_failed",
95
+ "instagram_comment_failed",
94
96
  "facebook_reel_processing",
95
97
  "facebook_reel_failed",
96
98
  "facebook_rate_limited",
@@ -98,13 +100,14 @@ var zErrorCode = z.enum([
98
100
  "facebook_temporarily_blocked",
99
101
  "facebook_not_authorized",
100
102
  "facebook_publish_failed",
103
+ "facebook_comment_failed",
101
104
  "tiktok_privacy_not_allowed",
105
+ "tiktok_interaction_not_allowed",
106
+ "tiktok_thumbnail_offset_invalid",
102
107
  "tiktok_duration_exceeds_max",
103
108
  "tiktok_media_processing",
104
109
  "tiktok_not_authorized",
105
110
  "tiktok_rate_limited",
106
- "tiktok_url_ownership_unverified",
107
- "tiktok_unaudited_private_only",
108
111
  "tiktok_spam_risk",
109
112
  "tiktok_file_format_invalid",
110
113
  "tiktok_duration_invalid",
@@ -113,26 +116,18 @@ var zErrorCode = z.enum([
113
116
  "tiktok_media_pull_failed",
114
117
  "tiktok_server_error",
115
118
  "tiktok_publish_failed",
116
- "google_rate_limited",
117
- "google_server_error",
118
- "google_auth_expired",
119
- "google_permission_denied",
120
- "google_request_failed",
121
- "google_conversion_duplicate",
122
- "google_conversion_invalid_click_id",
123
- "google_conversion_event_too_old",
124
- "google_conversion_consent_required",
125
- "google_conversion_terms_not_signed",
126
- "google_conversion_rejected",
127
119
  "post_publish_failed",
128
120
  "post_partially_published",
129
121
  "connection_platform_mismatch",
130
- "connection_removed"
122
+ "connection_removed",
123
+ "publish_interrupted",
124
+ "publish_outcome_unknown",
125
+ "plan_limit_reached",
126
+ "billing_required",
127
+ "x_link_requires_paid_plan"
131
128
  ]);
132
129
  var zErrorSource = z.object({
133
130
  platform: z.enum([
134
- "google",
135
- "meta",
136
131
  "x",
137
132
  "linkedin",
138
133
  "instagram",
@@ -238,8 +233,7 @@ var zMedia = z.object({
238
233
  "media_fetch_failed",
239
234
  "document_format_unsupported",
240
235
  "document_too_large",
241
- "document_too_many_pages",
242
- "media_unsupported"
236
+ "document_too_many_pages"
243
237
  ]),
244
238
  message: z.string(),
245
239
  hint: z.string().optional(),
@@ -292,8 +286,7 @@ var zMedia = z.object({
292
286
  "media_fetch_failed",
293
287
  "document_format_unsupported",
294
288
  "document_too_large",
295
- "document_too_many_pages",
296
- "media_unsupported"
289
+ "document_too_many_pages"
297
290
  ]),
298
291
  message: z.string(),
299
292
  hint: z.string().optional(),
@@ -328,8 +321,7 @@ var zMedia = z.object({
328
321
  "media_fetch_failed",
329
322
  "document_format_unsupported",
330
323
  "document_too_large",
331
- "document_too_many_pages",
332
- "media_unsupported"
324
+ "document_too_many_pages"
333
325
  ]),
334
326
  message: z.string(),
335
327
  hint: z.string().optional(),
@@ -447,7 +439,14 @@ var zPostVariant = z.union([
447
439
  place_id: z.string()
448
440
  }).optional(),
449
441
  card_uri: z.string().optional(),
450
- media_tagged_user_ids: z.array(z.string().regex(/^[0-9]{1,19}$/)).max(10).optional()
442
+ media_tagged_user_ids: z.array(z.string().regex(/^[0-9]{1,19}$/)).max(10).optional(),
443
+ thread_items: z.array(z.object({
444
+ body: z.string().optional(),
445
+ media: z.array(z.object({
446
+ media_id: z.string(),
447
+ alt_text_override: z.string().nullish()
448
+ })).max(4).optional()
449
+ })).optional()
451
450
  }),
452
451
  id: z.string(),
453
452
  object: z.literal("post_variant"),
@@ -479,12 +478,12 @@ var zPostVariant = z.union([
479
478
  "not_implemented",
480
479
  "connection_discovery_failed",
481
480
  "tiktok_creator_info_unavailable",
482
- "tiktok_cannot_post_now",
483
481
  "media_processing",
484
482
  "media_upload_init_failed",
485
483
  "media_upload_incomplete",
486
484
  "media_upload_invalid_parts",
487
485
  "not_publishable",
486
+ "post_not_retryable",
488
487
  "invalid_connection",
489
488
  "invalid_media",
490
489
  "profile_scope_invalid",
@@ -535,6 +534,7 @@ var zPostVariant = z.union([
535
534
  "x_rate_limited",
536
535
  "x_publish_failed",
537
536
  "x_media_upload_failed",
537
+ "x_thread_incomplete",
538
538
  "linkedin_duplicate_content",
539
539
  "linkedin_auth_expired",
540
540
  "linkedin_permission_denied",
@@ -552,6 +552,7 @@ var zPostVariant = z.union([
552
552
  "instagram_media_unsupported",
553
553
  "instagram_not_authorized",
554
554
  "instagram_publish_failed",
555
+ "instagram_comment_failed",
555
556
  "facebook_reel_processing",
556
557
  "facebook_reel_failed",
557
558
  "facebook_rate_limited",
@@ -559,13 +560,14 @@ var zPostVariant = z.union([
559
560
  "facebook_temporarily_blocked",
560
561
  "facebook_not_authorized",
561
562
  "facebook_publish_failed",
563
+ "facebook_comment_failed",
562
564
  "tiktok_privacy_not_allowed",
565
+ "tiktok_interaction_not_allowed",
566
+ "tiktok_thumbnail_offset_invalid",
563
567
  "tiktok_duration_exceeds_max",
564
568
  "tiktok_media_processing",
565
569
  "tiktok_not_authorized",
566
570
  "tiktok_rate_limited",
567
- "tiktok_url_ownership_unverified",
568
- "tiktok_unaudited_private_only",
569
571
  "tiktok_spam_risk",
570
572
  "tiktok_file_format_invalid",
571
573
  "tiktok_duration_invalid",
@@ -574,23 +576,18 @@ var zPostVariant = z.union([
574
576
  "tiktok_media_pull_failed",
575
577
  "tiktok_server_error",
576
578
  "tiktok_publish_failed",
577
- "google_rate_limited",
578
- "google_server_error",
579
- "google_auth_expired",
580
- "google_permission_denied",
581
- "google_request_failed",
582
- "google_conversion_duplicate",
583
- "google_conversion_invalid_click_id",
584
- "google_conversion_event_too_old",
585
- "google_conversion_consent_required",
586
- "google_conversion_terms_not_signed",
587
- "google_conversion_rejected",
588
579
  "post_publish_failed",
589
580
  "post_partially_published",
590
581
  "connection_platform_mismatch",
591
- "connection_removed"
582
+ "connection_removed",
583
+ "publish_interrupted",
584
+ "publish_outcome_unknown",
585
+ "plan_limit_reached",
586
+ "billing_required",
587
+ "x_link_requires_paid_plan"
592
588
  ]),
593
589
  message: z.string(),
590
+ source: zErrorSource.optional(),
594
591
  display_error: z.string()
595
592
  }).nullable(),
596
593
  media: z.array(z.object({
@@ -660,12 +657,12 @@ var zPostVariant = z.union([
660
657
  "not_implemented",
661
658
  "connection_discovery_failed",
662
659
  "tiktok_creator_info_unavailable",
663
- "tiktok_cannot_post_now",
664
660
  "media_processing",
665
661
  "media_upload_init_failed",
666
662
  "media_upload_incomplete",
667
663
  "media_upload_invalid_parts",
668
664
  "not_publishable",
665
+ "post_not_retryable",
669
666
  "invalid_connection",
670
667
  "invalid_media",
671
668
  "profile_scope_invalid",
@@ -716,6 +713,7 @@ var zPostVariant = z.union([
716
713
  "x_rate_limited",
717
714
  "x_publish_failed",
718
715
  "x_media_upload_failed",
716
+ "x_thread_incomplete",
719
717
  "linkedin_duplicate_content",
720
718
  "linkedin_auth_expired",
721
719
  "linkedin_permission_denied",
@@ -733,6 +731,7 @@ var zPostVariant = z.union([
733
731
  "instagram_media_unsupported",
734
732
  "instagram_not_authorized",
735
733
  "instagram_publish_failed",
734
+ "instagram_comment_failed",
736
735
  "facebook_reel_processing",
737
736
  "facebook_reel_failed",
738
737
  "facebook_rate_limited",
@@ -740,13 +739,14 @@ var zPostVariant = z.union([
740
739
  "facebook_temporarily_blocked",
741
740
  "facebook_not_authorized",
742
741
  "facebook_publish_failed",
742
+ "facebook_comment_failed",
743
743
  "tiktok_privacy_not_allowed",
744
+ "tiktok_interaction_not_allowed",
745
+ "tiktok_thumbnail_offset_invalid",
744
746
  "tiktok_duration_exceeds_max",
745
747
  "tiktok_media_processing",
746
748
  "tiktok_not_authorized",
747
749
  "tiktok_rate_limited",
748
- "tiktok_url_ownership_unverified",
749
- "tiktok_unaudited_private_only",
750
750
  "tiktok_spam_risk",
751
751
  "tiktok_file_format_invalid",
752
752
  "tiktok_duration_invalid",
@@ -755,23 +755,18 @@ var zPostVariant = z.union([
755
755
  "tiktok_media_pull_failed",
756
756
  "tiktok_server_error",
757
757
  "tiktok_publish_failed",
758
- "google_rate_limited",
759
- "google_server_error",
760
- "google_auth_expired",
761
- "google_permission_denied",
762
- "google_request_failed",
763
- "google_conversion_duplicate",
764
- "google_conversion_invalid_click_id",
765
- "google_conversion_event_too_old",
766
- "google_conversion_consent_required",
767
- "google_conversion_terms_not_signed",
768
- "google_conversion_rejected",
769
758
  "post_publish_failed",
770
759
  "post_partially_published",
771
760
  "connection_platform_mismatch",
772
- "connection_removed"
761
+ "connection_removed",
762
+ "publish_interrupted",
763
+ "publish_outcome_unknown",
764
+ "plan_limit_reached",
765
+ "billing_required",
766
+ "x_link_requires_paid_plan"
773
767
  ]),
774
768
  message: z.string(),
769
+ source: zErrorSource.optional(),
775
770
  display_error: z.string()
776
771
  }).nullable(),
777
772
  media: z.array(z.object({
@@ -793,7 +788,8 @@ var zPostVariant = z.union([
793
788
  z.object({
794
789
  platform: z.literal("facebook_page"),
795
790
  settings: z.object({
796
- link: z.url().optional()
791
+ link: z.url().optional(),
792
+ first_comment: z.string().min(1).optional()
797
793
  }),
798
794
  id: z.string(),
799
795
  object: z.literal("post_variant"),
@@ -825,12 +821,12 @@ var zPostVariant = z.union([
825
821
  "not_implemented",
826
822
  "connection_discovery_failed",
827
823
  "tiktok_creator_info_unavailable",
828
- "tiktok_cannot_post_now",
829
824
  "media_processing",
830
825
  "media_upload_init_failed",
831
826
  "media_upload_incomplete",
832
827
  "media_upload_invalid_parts",
833
828
  "not_publishable",
829
+ "post_not_retryable",
834
830
  "invalid_connection",
835
831
  "invalid_media",
836
832
  "profile_scope_invalid",
@@ -881,6 +877,7 @@ var zPostVariant = z.union([
881
877
  "x_rate_limited",
882
878
  "x_publish_failed",
883
879
  "x_media_upload_failed",
880
+ "x_thread_incomplete",
884
881
  "linkedin_duplicate_content",
885
882
  "linkedin_auth_expired",
886
883
  "linkedin_permission_denied",
@@ -898,6 +895,7 @@ var zPostVariant = z.union([
898
895
  "instagram_media_unsupported",
899
896
  "instagram_not_authorized",
900
897
  "instagram_publish_failed",
898
+ "instagram_comment_failed",
901
899
  "facebook_reel_processing",
902
900
  "facebook_reel_failed",
903
901
  "facebook_rate_limited",
@@ -905,13 +903,14 @@ var zPostVariant = z.union([
905
903
  "facebook_temporarily_blocked",
906
904
  "facebook_not_authorized",
907
905
  "facebook_publish_failed",
906
+ "facebook_comment_failed",
908
907
  "tiktok_privacy_not_allowed",
908
+ "tiktok_interaction_not_allowed",
909
+ "tiktok_thumbnail_offset_invalid",
909
910
  "tiktok_duration_exceeds_max",
910
911
  "tiktok_media_processing",
911
912
  "tiktok_not_authorized",
912
913
  "tiktok_rate_limited",
913
- "tiktok_url_ownership_unverified",
914
- "tiktok_unaudited_private_only",
915
914
  "tiktok_spam_risk",
916
915
  "tiktok_file_format_invalid",
917
916
  "tiktok_duration_invalid",
@@ -920,23 +919,18 @@ var zPostVariant = z.union([
920
919
  "tiktok_media_pull_failed",
921
920
  "tiktok_server_error",
922
921
  "tiktok_publish_failed",
923
- "google_rate_limited",
924
- "google_server_error",
925
- "google_auth_expired",
926
- "google_permission_denied",
927
- "google_request_failed",
928
- "google_conversion_duplicate",
929
- "google_conversion_invalid_click_id",
930
- "google_conversion_event_too_old",
931
- "google_conversion_consent_required",
932
- "google_conversion_terms_not_signed",
933
- "google_conversion_rejected",
934
922
  "post_publish_failed",
935
923
  "post_partially_published",
936
924
  "connection_platform_mismatch",
937
- "connection_removed"
925
+ "connection_removed",
926
+ "publish_interrupted",
927
+ "publish_outcome_unknown",
928
+ "plan_limit_reached",
929
+ "billing_required",
930
+ "x_link_requires_paid_plan"
938
931
  ]),
939
932
  message: z.string(),
933
+ source: zErrorSource.optional(),
940
934
  display_error: z.string()
941
935
  }).nullable(),
942
936
  media: z.array(z.object({
@@ -959,7 +953,8 @@ var zPostVariant = z.union([
959
953
  share_to_feed: z.boolean().optional(),
960
954
  thumb_offset: z.int().gte(0).lte(9007199254740991).optional(),
961
955
  cover_url: z.url().optional(),
962
- audio_name: z.string().optional()
956
+ audio_name: z.string().optional(),
957
+ first_comment: z.string().min(1).optional()
963
958
  }),
964
959
  id: z.string(),
965
960
  object: z.literal("post_variant"),
@@ -991,12 +986,12 @@ var zPostVariant = z.union([
991
986
  "not_implemented",
992
987
  "connection_discovery_failed",
993
988
  "tiktok_creator_info_unavailable",
994
- "tiktok_cannot_post_now",
995
989
  "media_processing",
996
990
  "media_upload_init_failed",
997
991
  "media_upload_incomplete",
998
992
  "media_upload_invalid_parts",
999
993
  "not_publishable",
994
+ "post_not_retryable",
1000
995
  "invalid_connection",
1001
996
  "invalid_media",
1002
997
  "profile_scope_invalid",
@@ -1047,6 +1042,7 @@ var zPostVariant = z.union([
1047
1042
  "x_rate_limited",
1048
1043
  "x_publish_failed",
1049
1044
  "x_media_upload_failed",
1045
+ "x_thread_incomplete",
1050
1046
  "linkedin_duplicate_content",
1051
1047
  "linkedin_auth_expired",
1052
1048
  "linkedin_permission_denied",
@@ -1064,6 +1060,7 @@ var zPostVariant = z.union([
1064
1060
  "instagram_media_unsupported",
1065
1061
  "instagram_not_authorized",
1066
1062
  "instagram_publish_failed",
1063
+ "instagram_comment_failed",
1067
1064
  "facebook_reel_processing",
1068
1065
  "facebook_reel_failed",
1069
1066
  "facebook_rate_limited",
@@ -1071,13 +1068,14 @@ var zPostVariant = z.union([
1071
1068
  "facebook_temporarily_blocked",
1072
1069
  "facebook_not_authorized",
1073
1070
  "facebook_publish_failed",
1071
+ "facebook_comment_failed",
1074
1072
  "tiktok_privacy_not_allowed",
1073
+ "tiktok_interaction_not_allowed",
1074
+ "tiktok_thumbnail_offset_invalid",
1075
1075
  "tiktok_duration_exceeds_max",
1076
1076
  "tiktok_media_processing",
1077
1077
  "tiktok_not_authorized",
1078
1078
  "tiktok_rate_limited",
1079
- "tiktok_url_ownership_unverified",
1080
- "tiktok_unaudited_private_only",
1081
1079
  "tiktok_spam_risk",
1082
1080
  "tiktok_file_format_invalid",
1083
1081
  "tiktok_duration_invalid",
@@ -1086,23 +1084,18 @@ var zPostVariant = z.union([
1086
1084
  "tiktok_media_pull_failed",
1087
1085
  "tiktok_server_error",
1088
1086
  "tiktok_publish_failed",
1089
- "google_rate_limited",
1090
- "google_server_error",
1091
- "google_auth_expired",
1092
- "google_permission_denied",
1093
- "google_request_failed",
1094
- "google_conversion_duplicate",
1095
- "google_conversion_invalid_click_id",
1096
- "google_conversion_event_too_old",
1097
- "google_conversion_consent_required",
1098
- "google_conversion_terms_not_signed",
1099
- "google_conversion_rejected",
1100
1087
  "post_publish_failed",
1101
1088
  "post_partially_published",
1102
1089
  "connection_platform_mismatch",
1103
- "connection_removed"
1090
+ "connection_removed",
1091
+ "publish_interrupted",
1092
+ "publish_outcome_unknown",
1093
+ "plan_limit_reached",
1094
+ "billing_required",
1095
+ "x_link_requires_paid_plan"
1104
1096
  ]),
1105
1097
  message: z.string(),
1098
+ source: zErrorSource.optional(),
1106
1099
  display_error: z.string()
1107
1100
  }).nullable(),
1108
1101
  media: z.array(z.object({
@@ -1124,12 +1117,13 @@ var zPostVariant = z.union([
1124
1117
  disable_comment: z.boolean().optional(),
1125
1118
  disable_duet: z.boolean().optional(),
1126
1119
  disable_stitch: z.boolean().optional(),
1127
- video_cover_timestamp_ms: z.int().gte(0).lte(9007199254740991).optional(),
1120
+ thumbnail_offset: z.int().gte(0).lte(9007199254740991).optional(),
1128
1121
  photo_cover_index: z.int().gte(0).lte(9007199254740991).optional(),
1129
1122
  auto_add_music: z.boolean().optional(),
1130
- brand_content_toggle: z.boolean().optional(),
1131
- brand_organic_toggle: z.boolean().optional(),
1132
- is_aigc: z.boolean().optional()
1123
+ is_branded_content: z.boolean().optional(),
1124
+ is_brand_organic: z.boolean().optional(),
1125
+ is_ai_generated: z.boolean().optional(),
1126
+ is_ads_only: z.boolean().optional()
1133
1127
  }),
1134
1128
  id: z.string(),
1135
1129
  object: z.literal("post_variant"),
@@ -1161,12 +1155,12 @@ var zPostVariant = z.union([
1161
1155
  "not_implemented",
1162
1156
  "connection_discovery_failed",
1163
1157
  "tiktok_creator_info_unavailable",
1164
- "tiktok_cannot_post_now",
1165
1158
  "media_processing",
1166
1159
  "media_upload_init_failed",
1167
1160
  "media_upload_incomplete",
1168
1161
  "media_upload_invalid_parts",
1169
1162
  "not_publishable",
1163
+ "post_not_retryable",
1170
1164
  "invalid_connection",
1171
1165
  "invalid_media",
1172
1166
  "profile_scope_invalid",
@@ -1217,6 +1211,7 @@ var zPostVariant = z.union([
1217
1211
  "x_rate_limited",
1218
1212
  "x_publish_failed",
1219
1213
  "x_media_upload_failed",
1214
+ "x_thread_incomplete",
1220
1215
  "linkedin_duplicate_content",
1221
1216
  "linkedin_auth_expired",
1222
1217
  "linkedin_permission_denied",
@@ -1234,6 +1229,7 @@ var zPostVariant = z.union([
1234
1229
  "instagram_media_unsupported",
1235
1230
  "instagram_not_authorized",
1236
1231
  "instagram_publish_failed",
1232
+ "instagram_comment_failed",
1237
1233
  "facebook_reel_processing",
1238
1234
  "facebook_reel_failed",
1239
1235
  "facebook_rate_limited",
@@ -1241,13 +1237,14 @@ var zPostVariant = z.union([
1241
1237
  "facebook_temporarily_blocked",
1242
1238
  "facebook_not_authorized",
1243
1239
  "facebook_publish_failed",
1240
+ "facebook_comment_failed",
1244
1241
  "tiktok_privacy_not_allowed",
1242
+ "tiktok_interaction_not_allowed",
1243
+ "tiktok_thumbnail_offset_invalid",
1245
1244
  "tiktok_duration_exceeds_max",
1246
1245
  "tiktok_media_processing",
1247
1246
  "tiktok_not_authorized",
1248
1247
  "tiktok_rate_limited",
1249
- "tiktok_url_ownership_unverified",
1250
- "tiktok_unaudited_private_only",
1251
1248
  "tiktok_spam_risk",
1252
1249
  "tiktok_file_format_invalid",
1253
1250
  "tiktok_duration_invalid",
@@ -1256,23 +1253,18 @@ var zPostVariant = z.union([
1256
1253
  "tiktok_media_pull_failed",
1257
1254
  "tiktok_server_error",
1258
1255
  "tiktok_publish_failed",
1259
- "google_rate_limited",
1260
- "google_server_error",
1261
- "google_auth_expired",
1262
- "google_permission_denied",
1263
- "google_request_failed",
1264
- "google_conversion_duplicate",
1265
- "google_conversion_invalid_click_id",
1266
- "google_conversion_event_too_old",
1267
- "google_conversion_consent_required",
1268
- "google_conversion_terms_not_signed",
1269
- "google_conversion_rejected",
1270
1256
  "post_publish_failed",
1271
1257
  "post_partially_published",
1272
1258
  "connection_platform_mismatch",
1273
- "connection_removed"
1259
+ "connection_removed",
1260
+ "publish_interrupted",
1261
+ "publish_outcome_unknown",
1262
+ "plan_limit_reached",
1263
+ "billing_required",
1264
+ "x_link_requires_paid_plan"
1274
1265
  ]),
1275
1266
  message: z.string(),
1267
+ source: zErrorSource.optional(),
1276
1268
  display_error: z.string()
1277
1269
  }).nullable(),
1278
1270
  media: z.array(z.object({
@@ -1308,6 +1300,33 @@ var zPost = z.object({
1308
1300
  created_at: z.string(),
1309
1301
  updated_at: z.string()
1310
1302
  });
1303
+ var zPostWriteResult = z.object({
1304
+ id: z.string(),
1305
+ object: z.literal("post"),
1306
+ profile_id: z.string(),
1307
+ external_id: z.string().nullable(),
1308
+ status: z.enum([
1309
+ "draft",
1310
+ "scheduled",
1311
+ "publishing",
1312
+ "partially_published",
1313
+ "published",
1314
+ "failed"
1315
+ ]),
1316
+ schedule_at: z.string().nullable(),
1317
+ tags: z.array(z.string()),
1318
+ notes: z.string().nullable(),
1319
+ metadata: z.record(z.string(), z.union([
1320
+ z.string().max(500),
1321
+ z.number(),
1322
+ z.boolean()
1323
+ ])),
1324
+ variants: z.array(zPostVariant),
1325
+ created_at: z.string(),
1326
+ updated_at: z.string(),
1327
+ dry_run: z.boolean(),
1328
+ executed: z.boolean()
1329
+ });
1311
1330
  var zTikTokCreatorInfo = z.object({
1312
1331
  creator: z.object({
1313
1332
  nickname: z.string(),
@@ -1355,7 +1374,14 @@ var zPostVariantInput = z.union([
1355
1374
  place_id: z.string()
1356
1375
  }).optional(),
1357
1376
  card_uri: z.string().optional(),
1358
- media_tagged_user_ids: z.array(z.string().regex(/^[0-9]{1,19}$/)).max(10).optional()
1377
+ media_tagged_user_ids: z.array(z.string().regex(/^[0-9]{1,19}$/)).max(10).optional(),
1378
+ thread_items: z.array(z.object({
1379
+ body: z.string().optional(),
1380
+ media: z.array(z.object({
1381
+ media_id: z.string(),
1382
+ alt_text_override: z.string().nullish()
1383
+ })).max(4).optional()
1384
+ })).optional()
1359
1385
  }).optional().default({}),
1360
1386
  connection_id: z.string(),
1361
1387
  body: z.string().optional(),
@@ -1414,7 +1440,8 @@ var zPostVariantInput = z.union([
1414
1440
  share_to_feed: z.boolean().optional(),
1415
1441
  thumb_offset: z.int().gte(0).lte(9007199254740991).optional(),
1416
1442
  cover_url: z.url().optional(),
1417
- audio_name: z.string().optional()
1443
+ audio_name: z.string().optional(),
1444
+ first_comment: z.string().min(1).optional()
1418
1445
  }),
1419
1446
  connection_id: z.string(),
1420
1447
  body: z.string().optional(),
@@ -1426,7 +1453,8 @@ var zPostVariantInput = z.union([
1426
1453
  z.object({
1427
1454
  platform: z.literal("facebook_page"),
1428
1455
  settings: z.object({
1429
- link: z.url().optional()
1456
+ link: z.url().optional(),
1457
+ first_comment: z.string().min(1).optional()
1430
1458
  }).optional().default({}),
1431
1459
  connection_id: z.string(),
1432
1460
  body: z.string().optional(),
@@ -1442,12 +1470,13 @@ var zPostVariantInput = z.union([
1442
1470
  disable_comment: z.boolean().optional(),
1443
1471
  disable_duet: z.boolean().optional(),
1444
1472
  disable_stitch: z.boolean().optional(),
1445
- video_cover_timestamp_ms: z.int().gte(0).lte(9007199254740991).optional(),
1473
+ thumbnail_offset: z.int().gte(0).lte(9007199254740991).optional(),
1446
1474
  photo_cover_index: z.int().gte(0).lte(9007199254740991).optional(),
1447
1475
  auto_add_music: z.boolean().optional(),
1448
- brand_content_toggle: z.boolean().optional(),
1449
- brand_organic_toggle: z.boolean().optional(),
1450
- is_aigc: z.boolean().optional()
1476
+ is_branded_content: z.boolean().optional(),
1477
+ is_brand_organic: z.boolean().optional(),
1478
+ is_ai_generated: z.boolean().optional(),
1479
+ is_ads_only: z.boolean().optional()
1451
1480
  }).optional().default({}),
1452
1481
  connection_id: z.string(),
1453
1482
  body: z.string().optional(),
@@ -1476,844 +1505,6 @@ var zCreatePostBody = z.object({
1476
1505
  dry_run: z.boolean().optional().default(false),
1477
1506
  variants: z.array(zPostVariantInput).min(1)
1478
1507
  });
1479
- var zGoogleAdsAdGroup = z.object({
1480
- id: z.string(),
1481
- name: z.string().nullable(),
1482
- status: z.enum([
1483
- "UNSPECIFIED",
1484
- "UNKNOWN",
1485
- "ENABLED",
1486
- "PAUSED",
1487
- "REMOVED"
1488
- ]),
1489
- type: z.enum([
1490
- "UNSPECIFIED",
1491
- "UNKNOWN",
1492
- "SEARCH_STANDARD",
1493
- "DISPLAY_STANDARD",
1494
- "SHOPPING_PRODUCT_ADS",
1495
- "HOTEL_ADS",
1496
- "SHOPPING_SMART_ADS",
1497
- "VIDEO_BUMPER",
1498
- "VIDEO_TRUE_VIEW_IN_STREAM",
1499
- "VIDEO_TRUE_VIEW_IN_DISPLAY",
1500
- "VIDEO_NON_SKIPPABLE_IN_STREAM",
1501
- "SEARCH_DYNAMIC_ADS",
1502
- "SHOPPING_COMPARISON_LISTING_ADS",
1503
- "PROMOTED_HOTEL_ADS",
1504
- "VIDEO_RESPONSIVE",
1505
- "VIDEO_EFFICIENT_REACH",
1506
- "SMART_CAMPAIGN_ADS",
1507
- "TRAVEL_ADS",
1508
- "YOUTUBE_AUDIO"
1509
- ]),
1510
- campaign: z.string().nullable()
1511
- });
1512
- var zGoogleAdsAd = z.object({
1513
- id: z.string().regex(/^\d+~\d+$/),
1514
- name: z.string().nullable(),
1515
- type: z.enum([
1516
- "UNSPECIFIED",
1517
- "UNKNOWN",
1518
- "TEXT_AD",
1519
- "EXPANDED_TEXT_AD",
1520
- "EXPANDED_DYNAMIC_SEARCH_AD",
1521
- "HOTEL_AD",
1522
- "SHOPPING_SMART_AD",
1523
- "SHOPPING_PRODUCT_AD",
1524
- "VIDEO_AD",
1525
- "IMAGE_AD",
1526
- "RESPONSIVE_SEARCH_AD",
1527
- "LEGACY_RESPONSIVE_DISPLAY_AD",
1528
- "APP_AD",
1529
- "LEGACY_APP_INSTALL_AD",
1530
- "RESPONSIVE_DISPLAY_AD",
1531
- "LOCAL_AD",
1532
- "HTML5_UPLOAD_AD",
1533
- "DYNAMIC_HTML5_AD",
1534
- "APP_ENGAGEMENT_AD",
1535
- "SHOPPING_COMPARISON_LISTING_AD",
1536
- "VIDEO_BUMPER_AD",
1537
- "VIDEO_NON_SKIPPABLE_IN_STREAM_AD",
1538
- "VIDEO_TRUEVIEW_IN_STREAM_AD",
1539
- "VIDEO_RESPONSIVE_AD",
1540
- "SMART_CAMPAIGN_AD",
1541
- "CALL_AD",
1542
- "APP_PRE_REGISTRATION_AD",
1543
- "IN_FEED_VIDEO_AD",
1544
- "DEMAND_GEN_MULTI_ASSET_AD",
1545
- "DEMAND_GEN_CAROUSEL_AD",
1546
- "TRAVEL_AD",
1547
- "DEMAND_GEN_VIDEO_RESPONSIVE_AD",
1548
- "DEMAND_GEN_PRODUCT_AD",
1549
- "YOUTUBE_AUDIO_AD"
1550
- ]),
1551
- status: z.enum([
1552
- "UNSPECIFIED",
1553
- "UNKNOWN",
1554
- "ENABLED",
1555
- "PAUSED",
1556
- "REMOVED"
1557
- ]),
1558
- ad_group: z.string().nullable()
1559
- });
1560
- var zGoogleAdsKeyword = z.object({
1561
- id: z.string().regex(/^\d+~\d+$/),
1562
- text: z.string().nullable(),
1563
- match_type: z.enum([
1564
- "UNSPECIFIED",
1565
- "UNKNOWN",
1566
- "EXACT",
1567
- "PHRASE",
1568
- "BROAD"
1569
- ]),
1570
- status: z.enum([
1571
- "UNSPECIFIED",
1572
- "UNKNOWN",
1573
- "ENABLED",
1574
- "PAUSED",
1575
- "REMOVED"
1576
- ]),
1577
- negative: z.boolean(),
1578
- ad_group: z.string().nullable()
1579
- });
1580
- var zGoogleAdsAudience = z.union([
1581
- z.object({
1582
- kind: z.literal("user_list"),
1583
- id: z.string(),
1584
- resource_name: z.string(),
1585
- name: z.string().nullable(),
1586
- type: z.enum([
1587
- "UNSPECIFIED",
1588
- "UNKNOWN",
1589
- "REMARKETING",
1590
- "LOGICAL",
1591
- "EXTERNAL_REMARKETING",
1592
- "RULE_BASED",
1593
- "SIMILAR",
1594
- "CRM_BASED",
1595
- "LOOKALIKE"
1596
- ]),
1597
- membership_status: z.enum([
1598
- "UNSPECIFIED",
1599
- "UNKNOWN",
1600
- "OPEN",
1601
- "CLOSED"
1602
- ])
1603
- }),
1604
- z.object({
1605
- kind: z.literal("audience"),
1606
- id: z.string(),
1607
- resource_name: z.string(),
1608
- name: z.string().nullable(),
1609
- status: z.enum([
1610
- "UNSPECIFIED",
1611
- "UNKNOWN",
1612
- "ENABLED",
1613
- "REMOVED"
1614
- ])
1615
- }),
1616
- z.object({
1617
- kind: z.literal("custom_audience"),
1618
- id: z.string(),
1619
- resource_name: z.string(),
1620
- name: z.string().nullable(),
1621
- status: z.enum([
1622
- "UNSPECIFIED",
1623
- "UNKNOWN",
1624
- "ENABLED",
1625
- "REMOVED"
1626
- ]),
1627
- type: z.enum([
1628
- "UNSPECIFIED",
1629
- "UNKNOWN",
1630
- "AUTO",
1631
- "INTEREST",
1632
- "PURCHASE_INTENT",
1633
- "SEARCH"
1634
- ])
1635
- })
1636
- ]);
1637
- var zGoogleAdsReadStatusFilter = z.array(z.enum([
1638
- "ENABLED",
1639
- "PAUSED",
1640
- "REMOVED"
1641
- ])).min(1);
1642
- var zGoogleAdsCampaignCriterion = z.union([
1643
- z.object({
1644
- type: z.literal("LOCATION"),
1645
- criterion_id: z.string(),
1646
- status: z.enum([
1647
- "UNSPECIFIED",
1648
- "UNKNOWN",
1649
- "ENABLED",
1650
- "PAUSED",
1651
- "REMOVED"
1652
- ]),
1653
- negative: z.boolean(),
1654
- geo_target_constant: z.string().nullable()
1655
- }),
1656
- z.object({
1657
- type: z.literal("LANGUAGE"),
1658
- criterion_id: z.string(),
1659
- status: z.enum([
1660
- "UNSPECIFIED",
1661
- "UNKNOWN",
1662
- "ENABLED",
1663
- "PAUSED",
1664
- "REMOVED"
1665
- ]),
1666
- negative: z.boolean(),
1667
- language_constant: z.string().nullable()
1668
- }),
1669
- z.object({
1670
- type: z.enum([
1671
- "UNSPECIFIED",
1672
- "UNKNOWN",
1673
- "KEYWORD",
1674
- "PLACEMENT",
1675
- "MOBILE_APP_CATEGORY",
1676
- "MOBILE_APPLICATION",
1677
- "DEVICE",
1678
- "LISTING_GROUP",
1679
- "AD_SCHEDULE",
1680
- "AGE_RANGE",
1681
- "GENDER",
1682
- "INCOME_RANGE",
1683
- "PARENTAL_STATUS",
1684
- "YOUTUBE_VIDEO",
1685
- "YOUTUBE_CHANNEL",
1686
- "USER_LIST",
1687
- "PROXIMITY",
1688
- "TOPIC",
1689
- "LISTING_SCOPE",
1690
- "IP_BLOCK",
1691
- "CONTENT_LABEL",
1692
- "CARRIER",
1693
- "USER_INTEREST",
1694
- "WEBPAGE",
1695
- "OPERATING_SYSTEM_VERSION",
1696
- "APP_PAYMENT_MODEL",
1697
- "MOBILE_DEVICE",
1698
- "CUSTOM_AFFINITY",
1699
- "CUSTOM_INTENT",
1700
- "LOCATION_GROUP",
1701
- "CUSTOM_AUDIENCE",
1702
- "COMBINED_AUDIENCE",
1703
- "KEYWORD_THEME",
1704
- "AUDIENCE",
1705
- "NEGATIVE_KEYWORD_LIST",
1706
- "LOCAL_SERVICE_ID",
1707
- "SEARCH_THEME",
1708
- "BRAND",
1709
- "BRAND_LIST",
1710
- "LIFE_EVENT",
1711
- "WEBPAGE_LIST",
1712
- "VIDEO_LINEUP",
1713
- "PLACEMENT_LIST",
1714
- "VERTICAL_ADS_ITEM_GROUP_RULE_LIST",
1715
- "VERTICAL_ADS_ITEM_GROUP_RULE",
1716
- "RETAIL_FILTER_BUNDLE",
1717
- "RETAIL_FILTER"
1718
- ]),
1719
- criterion_id: z.string()
1720
- })
1721
- ]);
1722
- var zGoogleAdsAdGroupCriterion = z.union([
1723
- z.object({
1724
- type: z.literal("AGE_RANGE"),
1725
- criterion_id: z.string(),
1726
- status: z.enum([
1727
- "UNSPECIFIED",
1728
- "UNKNOWN",
1729
- "ENABLED",
1730
- "PAUSED",
1731
- "REMOVED"
1732
- ]),
1733
- negative: z.boolean(),
1734
- age_range: z.enum([
1735
- "UNSPECIFIED",
1736
- "UNKNOWN",
1737
- "AGE_RANGE_18_24",
1738
- "AGE_RANGE_25_34",
1739
- "AGE_RANGE_35_44",
1740
- "AGE_RANGE_45_54",
1741
- "AGE_RANGE_55_64",
1742
- "AGE_RANGE_65_UP",
1743
- "AGE_RANGE_UNDETERMINED"
1744
- ])
1745
- }),
1746
- z.object({
1747
- type: z.literal("GENDER"),
1748
- criterion_id: z.string(),
1749
- status: z.enum([
1750
- "UNSPECIFIED",
1751
- "UNKNOWN",
1752
- "ENABLED",
1753
- "PAUSED",
1754
- "REMOVED"
1755
- ]),
1756
- negative: z.boolean(),
1757
- gender: z.enum([
1758
- "UNSPECIFIED",
1759
- "UNKNOWN",
1760
- "MALE",
1761
- "FEMALE",
1762
- "UNDETERMINED"
1763
- ])
1764
- }),
1765
- z.object({
1766
- type: z.literal("INCOME_RANGE"),
1767
- criterion_id: z.string(),
1768
- status: z.enum([
1769
- "UNSPECIFIED",
1770
- "UNKNOWN",
1771
- "ENABLED",
1772
- "PAUSED",
1773
- "REMOVED"
1774
- ]),
1775
- negative: z.boolean(),
1776
- income_range: z.enum([
1777
- "UNSPECIFIED",
1778
- "UNKNOWN",
1779
- "INCOME_RANGE_0_50",
1780
- "INCOME_RANGE_50_60",
1781
- "INCOME_RANGE_60_70",
1782
- "INCOME_RANGE_70_80",
1783
- "INCOME_RANGE_80_90",
1784
- "INCOME_RANGE_90_UP",
1785
- "INCOME_RANGE_UNDETERMINED"
1786
- ])
1787
- }),
1788
- z.object({
1789
- type: z.literal("PARENTAL_STATUS"),
1790
- criterion_id: z.string(),
1791
- status: z.enum([
1792
- "UNSPECIFIED",
1793
- "UNKNOWN",
1794
- "ENABLED",
1795
- "PAUSED",
1796
- "REMOVED"
1797
- ]),
1798
- negative: z.boolean(),
1799
- parental_status: z.enum([
1800
- "UNSPECIFIED",
1801
- "UNKNOWN",
1802
- "PARENT",
1803
- "NOT_A_PARENT",
1804
- "UNDETERMINED"
1805
- ])
1806
- }),
1807
- z.object({
1808
- type: z.literal("USER_LIST"),
1809
- criterion_id: z.string(),
1810
- status: z.enum([
1811
- "UNSPECIFIED",
1812
- "UNKNOWN",
1813
- "ENABLED",
1814
- "PAUSED",
1815
- "REMOVED"
1816
- ]),
1817
- negative: z.boolean(),
1818
- user_list: z.string().nullable()
1819
- }),
1820
- z.object({
1821
- type: z.literal("AUDIENCE"),
1822
- criterion_id: z.string(),
1823
- status: z.enum([
1824
- "UNSPECIFIED",
1825
- "UNKNOWN",
1826
- "ENABLED",
1827
- "PAUSED",
1828
- "REMOVED"
1829
- ]),
1830
- negative: z.boolean(),
1831
- audience: z.string().nullable()
1832
- }),
1833
- z.object({
1834
- type: z.literal("CUSTOM_AUDIENCE"),
1835
- criterion_id: z.string(),
1836
- status: z.enum([
1837
- "UNSPECIFIED",
1838
- "UNKNOWN",
1839
- "ENABLED",
1840
- "PAUSED",
1841
- "REMOVED"
1842
- ]),
1843
- negative: z.boolean(),
1844
- custom_audience: z.string().nullable()
1845
- }),
1846
- z.object({
1847
- type: z.enum([
1848
- "UNSPECIFIED",
1849
- "UNKNOWN",
1850
- "KEYWORD",
1851
- "PLACEMENT",
1852
- "MOBILE_APP_CATEGORY",
1853
- "MOBILE_APPLICATION",
1854
- "DEVICE",
1855
- "LOCATION",
1856
- "LISTING_GROUP",
1857
- "AD_SCHEDULE",
1858
- "YOUTUBE_VIDEO",
1859
- "YOUTUBE_CHANNEL",
1860
- "PROXIMITY",
1861
- "TOPIC",
1862
- "LISTING_SCOPE",
1863
- "LANGUAGE",
1864
- "IP_BLOCK",
1865
- "CONTENT_LABEL",
1866
- "CARRIER",
1867
- "USER_INTEREST",
1868
- "WEBPAGE",
1869
- "OPERATING_SYSTEM_VERSION",
1870
- "APP_PAYMENT_MODEL",
1871
- "MOBILE_DEVICE",
1872
- "CUSTOM_AFFINITY",
1873
- "CUSTOM_INTENT",
1874
- "LOCATION_GROUP",
1875
- "COMBINED_AUDIENCE",
1876
- "KEYWORD_THEME",
1877
- "NEGATIVE_KEYWORD_LIST",
1878
- "LOCAL_SERVICE_ID",
1879
- "SEARCH_THEME",
1880
- "BRAND",
1881
- "BRAND_LIST",
1882
- "LIFE_EVENT",
1883
- "WEBPAGE_LIST",
1884
- "VIDEO_LINEUP",
1885
- "PLACEMENT_LIST",
1886
- "VERTICAL_ADS_ITEM_GROUP_RULE_LIST",
1887
- "VERTICAL_ADS_ITEM_GROUP_RULE",
1888
- "RETAIL_FILTER_BUNDLE",
1889
- "RETAIL_FILTER"
1890
- ]),
1891
- criterion_id: z.string()
1892
- })
1893
- ]);
1894
- var zGoogleAdsGeoTargetConstant = z.object({
1895
- id: z.string(),
1896
- resource_name: z.string().nullable(),
1897
- name: z.string().nullable(),
1898
- canonical_name: z.string().nullable(),
1899
- country_code: z.string().nullable(),
1900
- target_type: z.string().nullable(),
1901
- status: z.enum([
1902
- "UNSPECIFIED",
1903
- "UNKNOWN",
1904
- "ENABLED",
1905
- "REMOVAL_PLANNED"
1906
- ])
1907
- });
1908
- var zGoogleAdsUrlCustomParameter = z.object({
1909
- key: z.string().min(1).regex(/^[A-Za-z0-9]+$/),
1910
- value: z.string()
1911
- });
1912
- var zGoogleAdsCreateResult = z.object({
1913
- id: z.string().nullable(),
1914
- resource_name: z.string().nullable(),
1915
- dry_run: z.boolean(),
1916
- executed: z.boolean()
1917
- });
1918
- var zGoogleAdsEditResult = z.object({
1919
- id: z.string(),
1920
- resource_name: z.string(),
1921
- dry_run: z.boolean(),
1922
- executed: z.boolean()
1923
- });
1924
- var zGoogleAdsDeleteResult = z.object({
1925
- id: z.string(),
1926
- removed: z.boolean(),
1927
- dry_run: z.boolean(),
1928
- executed: z.boolean()
1929
- });
1930
- var zGoogleAdsCreateCampaignCriterionRequest = z.union([
1931
- z.object({
1932
- type: z.literal("location"),
1933
- geo_target_constant: z.string().regex(/^geoTargetConstants\/\d+$/),
1934
- negative: z.boolean().optional().default(false)
1935
- }),
1936
- z.object({
1937
- type: z.literal("language"),
1938
- language_constant: z.string().min(1)
1939
- })
1940
- ]);
1941
- var zGoogleAdsCreateAdGroupCriterionRequest = z.union([
1942
- z.object({
1943
- type: z.literal("age_range"),
1944
- age_range: z.enum([
1945
- "AGE_RANGE_18_24",
1946
- "AGE_RANGE_25_34",
1947
- "AGE_RANGE_35_44",
1948
- "AGE_RANGE_45_54",
1949
- "AGE_RANGE_55_64",
1950
- "AGE_RANGE_65_UP",
1951
- "AGE_RANGE_UNDETERMINED"
1952
- ]),
1953
- negative: z.boolean().optional().default(false)
1954
- }),
1955
- z.object({
1956
- type: z.literal("gender"),
1957
- gender: z.enum([
1958
- "MALE",
1959
- "FEMALE",
1960
- "UNDETERMINED"
1961
- ]),
1962
- negative: z.boolean().optional().default(false)
1963
- }),
1964
- z.object({
1965
- type: z.literal("income_range"),
1966
- income_range: z.enum([
1967
- "INCOME_RANGE_0_50",
1968
- "INCOME_RANGE_50_60",
1969
- "INCOME_RANGE_60_70",
1970
- "INCOME_RANGE_70_80",
1971
- "INCOME_RANGE_80_90",
1972
- "INCOME_RANGE_90_UP",
1973
- "INCOME_RANGE_UNDETERMINED"
1974
- ]),
1975
- negative: z.boolean().optional().default(false)
1976
- }),
1977
- z.object({
1978
- type: z.literal("parental_status"),
1979
- parental_status: z.enum([
1980
- "PARENT",
1981
- "NOT_A_PARENT",
1982
- "UNDETERMINED"
1983
- ]),
1984
- negative: z.boolean().optional().default(false)
1985
- }),
1986
- z.object({
1987
- type: z.literal("user_list"),
1988
- user_list: z.string().regex(/^customers\/\d+\/userLists\/\d+$/),
1989
- negative: z.boolean().optional().default(false)
1990
- }),
1991
- z.object({
1992
- type: z.literal("audience"),
1993
- audience: z.string().regex(/^customers\/\d+\/audiences\/\d+$/),
1994
- negative: z.boolean().optional().default(false)
1995
- }),
1996
- z.object({
1997
- type: z.literal("custom_audience"),
1998
- custom_audience: z.string().regex(/^customers\/\d+\/customAudiences\/\d+$/),
1999
- negative: z.boolean().optional().default(false)
2000
- })
2001
- ]);
2002
- var zGoogleAdsGeoSettingsRequest = z.object({
2003
- positive_geo_target_type: z.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional(),
2004
- negative_geo_target_type: z.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional()
2005
- });
2006
- var zGoogleAdsInsightLevel = z.enum([
2007
- "account",
2008
- "campaign",
2009
- "ad_group",
2010
- "ad",
2011
- "keyword"
2012
- ]);
2013
- var zGoogleAdsInsightsRow = z.object({
2014
- level: zGoogleAdsInsightLevel,
2015
- id: z.string().min(1),
2016
- name: z.string().nullable(),
2017
- parent_id: z.string().min(1).nullable(),
2018
- metrics: z.object({
2019
- impressions: z.number().nullish(),
2020
- clicks: z.number().nullish(),
2021
- ctr: z.number().nullish(),
2022
- average_cpc: z.number().nullish(),
2023
- cost_micros: z.number().nullish(),
2024
- conversions: z.number().nullish(),
2025
- conversions_value: z.number().nullish(),
2026
- cost_per_conversion: z.number().nullish()
2027
- }),
2028
- segments: z.object({
2029
- date: z.string().optional(),
2030
- device: z.string().optional()
2031
- }).optional()
2032
- });
2033
- var zGoogleAdsInsights = z.object({
2034
- object: z.literal("list"),
2035
- data: z.array(zGoogleAdsInsightsRow)
2036
- });
2037
- var zGoogleAdsInsightMetric = z.enum([
2038
- "impressions",
2039
- "clicks",
2040
- "ctr",
2041
- "average_cpc",
2042
- "cost_micros",
2043
- "conversions",
2044
- "conversions_value",
2045
- "cost_per_conversion"
2046
- ]);
2047
- var zGoogleAdsInsightSegment = z.enum(["date", "device"]);
2048
- var zGoogleAdsInsightsQuery = z.object({
2049
- level: zGoogleAdsInsightLevel.optional().default("campaign"),
2050
- metrics: z.array(zGoogleAdsInsightMetric).min(1).optional().default([
2051
- "impressions",
2052
- "clicks",
2053
- "cost_micros",
2054
- "conversions"
2055
- ]),
2056
- segments: z.array(zGoogleAdsInsightSegment).optional(),
2057
- campaign_id: z.string().regex(/^\d+$/).optional(),
2058
- ad_group_id: z.string().regex(/^\d+$/).optional(),
2059
- since: z.iso.date(),
2060
- until: z.iso.date()
2061
- });
2062
- var zGoogleAdTreeNode = z.object({
2063
- level: z.enum([
2064
- "campaign",
2065
- "ad_group",
2066
- "ad",
2067
- "keyword"
2068
- ]),
2069
- id: z.string().min(1),
2070
- name: z.string().nullable(),
2071
- parent_id: z.string().min(1).nullable(),
2072
- status: z.enum([
2073
- "UNSPECIFIED",
2074
- "UNKNOWN",
2075
- "ENABLED",
2076
- "PAUSED",
2077
- "REMOVED"
2078
- ]),
2079
- type: z.enum([
2080
- "UNSPECIFIED",
2081
- "UNKNOWN",
2082
- "SEARCH",
2083
- "DISPLAY",
2084
- "SHOPPING",
2085
- "HOTEL",
2086
- "VIDEO",
2087
- "MULTI_CHANNEL",
2088
- "LOCAL",
2089
- "SMART",
2090
- "PERFORMANCE_MAX",
2091
- "LOCAL_SERVICES",
2092
- "TRAVEL",
2093
- "DEMAND_GEN"
2094
- ]).nullable(),
2095
- child_kind: z.enum([
2096
- "ad_group",
2097
- "asset_group",
2098
- "none"
2099
- ]),
2100
- expandable: z.boolean(),
2101
- budget_micros: z.number().nullable(),
2102
- metrics: z.object({
2103
- impressions: z.number().nullish(),
2104
- clicks: z.number().nullish(),
2105
- ctr: z.number().nullish(),
2106
- average_cpc: z.number().nullish(),
2107
- cost_micros: z.number().nullish(),
2108
- conversions: z.number().nullish(),
2109
- conversions_value: z.number().nullish(),
2110
- cost_per_conversion: z.number().nullish()
2111
- }),
2112
- cost_micros: z.number(),
2113
- cost: z.number()
2114
- });
2115
- var zGoogleAdTree = z.object({
2116
- object: z.literal("list"),
2117
- data: z.array(zGoogleAdTreeNode)
2118
- });
2119
- var zGoogleAdsConversionConsent = z.object({
2120
- ad_user_data: z.enum(["CONSENT_GRANTED", "CONSENT_DENIED"]).optional(),
2121
- ad_personalization: z.enum(["CONSENT_GRANTED", "CONSENT_DENIED"]).optional()
2122
- });
2123
- var zGoogleAdsConversionUserIdentifier = z.object({
2124
- email_address: z.email().optional(),
2125
- phone_number: z.string().min(1).regex(/\d/).optional(),
2126
- address: z.object({
2127
- given_name: z.string().min(1),
2128
- family_name: z.string().min(1),
2129
- region_code: z.string().regex(/^[A-Za-z]{2}$/),
2130
- postal_code: z.string().min(1)
2131
- }).optional()
2132
- });
2133
- var zGoogleAdsConversionEvent = z.object({
2134
- event_timestamp: z.iso.datetime({ offset: true }),
2135
- event_source: z.enum([
2136
- "WEB",
2137
- "APP",
2138
- "IN_STORE",
2139
- "PHONE",
2140
- "MESSAGE",
2141
- "OTHER"
2142
- ]),
2143
- order_id: z.string().optional(),
2144
- gclid: z.string().optional(),
2145
- gbraid: z.string().optional(),
2146
- wbraid: z.string().optional(),
2147
- user_data: z.array(zGoogleAdsConversionUserIdentifier).min(1).max(10).optional(),
2148
- currency: z.string().length(3).optional(),
2149
- conversion_value: z.number().gte(0).optional(),
2150
- consent: zGoogleAdsConversionConsent.optional()
2151
- });
2152
- var zGoogleAdsSendConversionsResult = z.object({
2153
- request_id: z.string().nullable(),
2154
- status: z.enum(["accepted", "validated"]),
2155
- dry_run: z.boolean(),
2156
- executed: z.boolean()
2157
- });
2158
- var zGoogleAdsConversionStatusReason = z.object({
2159
- reason: z.string(),
2160
- count: z.int().gte(-9007199254740991).lte(9007199254740991),
2161
- code: z.enum([
2162
- "unauthorized",
2163
- "forbidden",
2164
- "not_found",
2165
- "conflict",
2166
- "validation_failed",
2167
- "rate_limited",
2168
- "internal_error",
2169
- "idempotency_key_invalid",
2170
- "idempotency_key_reused",
2171
- "idempotency_request_in_progress",
2172
- "account_not_available",
2173
- "connection_reauth_required",
2174
- "connection_not_pending",
2175
- "not_implemented",
2176
- "connection_discovery_failed",
2177
- "tiktok_creator_info_unavailable",
2178
- "tiktok_cannot_post_now",
2179
- "media_processing",
2180
- "media_upload_init_failed",
2181
- "media_upload_incomplete",
2182
- "media_upload_invalid_parts",
2183
- "not_publishable",
2184
- "invalid_connection",
2185
- "invalid_media",
2186
- "profile_scope_invalid",
2187
- "media_unprobeable",
2188
- "media_too_large",
2189
- "media_aspect_ratio_unsupported",
2190
- "media_resolution_too_low",
2191
- "media_gif_unsupported",
2192
- "media_format_recompressed",
2193
- "media_resolution_downscaled",
2194
- "video_container_unsupported",
2195
- "video_codec_unsupported",
2196
- "video_audio_codec_unsupported",
2197
- "video_too_large",
2198
- "video_too_small",
2199
- "video_dimensions_unsupported",
2200
- "video_dimensions_too_large",
2201
- "video_fps_unsupported",
2202
- "video_fps_too_low",
2203
- "video_aspect_unsupported",
2204
- "video_duration_too_short",
2205
- "video_duration_exceeds_max",
2206
- "video_transform_failed",
2207
- "media_fetch_failed",
2208
- "document_format_unsupported",
2209
- "document_too_large",
2210
- "document_too_many_pages",
2211
- "media_format_indeterminate",
2212
- "media_format_unsupported",
2213
- "media_count_invalid",
2214
- "body_too_long",
2215
- "content_missing",
2216
- "content_conflict",
2217
- "content_incomplete",
2218
- "media_type_mismatch",
2219
- "tag_limit_exceeded",
2220
- "reel_field_on_non_reel",
2221
- "field_placement_invalid",
2222
- "media_not_ready",
2223
- "media_failed",
2224
- "media_unsupported",
2225
- "media_kind_mismatch",
2226
- "variant_unparseable",
2227
- "publishing_unavailable",
2228
- "x_duplicate_content",
2229
- "x_not_authorized",
2230
- "x_access_not_permitted",
2231
- "x_rate_limited",
2232
- "x_publish_failed",
2233
- "x_media_upload_failed",
2234
- "linkedin_duplicate_content",
2235
- "linkedin_auth_expired",
2236
- "linkedin_permission_denied",
2237
- "linkedin_rate_limited",
2238
- "linkedin_media_processing",
2239
- "linkedin_media_failed",
2240
- "linkedin_media_upload_failed",
2241
- "linkedin_publish_failed",
2242
- "instagram_media_processing",
2243
- "instagram_container_expired",
2244
- "instagram_container_failed",
2245
- "instagram_rate_limited",
2246
- "instagram_daily_limit_reached",
2247
- "instagram_aspect_ratio_unsupported",
2248
- "instagram_media_unsupported",
2249
- "instagram_not_authorized",
2250
- "instagram_publish_failed",
2251
- "facebook_reel_processing",
2252
- "facebook_reel_failed",
2253
- "facebook_rate_limited",
2254
- "facebook_duplicate_content",
2255
- "facebook_temporarily_blocked",
2256
- "facebook_not_authorized",
2257
- "facebook_publish_failed",
2258
- "tiktok_privacy_not_allowed",
2259
- "tiktok_duration_exceeds_max",
2260
- "tiktok_media_processing",
2261
- "tiktok_not_authorized",
2262
- "tiktok_rate_limited",
2263
- "tiktok_url_ownership_unverified",
2264
- "tiktok_unaudited_private_only",
2265
- "tiktok_spam_risk",
2266
- "tiktok_file_format_invalid",
2267
- "tiktok_duration_invalid",
2268
- "tiktok_frame_rate_invalid",
2269
- "tiktok_resolution_invalid",
2270
- "tiktok_media_pull_failed",
2271
- "tiktok_server_error",
2272
- "tiktok_publish_failed",
2273
- "google_rate_limited",
2274
- "google_server_error",
2275
- "google_auth_expired",
2276
- "google_permission_denied",
2277
- "google_request_failed",
2278
- "google_conversion_duplicate",
2279
- "google_conversion_invalid_click_id",
2280
- "google_conversion_event_too_old",
2281
- "google_conversion_consent_required",
2282
- "google_conversion_terms_not_signed",
2283
- "google_conversion_rejected",
2284
- "post_publish_failed",
2285
- "post_partially_published",
2286
- "connection_platform_mismatch",
2287
- "connection_removed"
2288
- ]),
2289
- display_error: z.string()
2290
- });
2291
- var zGoogleAdsConversionWarning = z.object({
2292
- reason: z.string(),
2293
- count: z.int().gte(-9007199254740991).lte(9007199254740991)
2294
- });
2295
- var zGoogleAdsConversionStatus = z.object({
2296
- request_id: z.string(),
2297
- destinations: z.array(z.object({
2298
- request_status: z.enum([
2299
- "REQUEST_STATUS_UNKNOWN",
2300
- "SUCCESS",
2301
- "PROCESSING",
2302
- "FAILED",
2303
- "PARTIAL_SUCCESS"
2304
- ]),
2305
- events_submitted: z.int().gte(-9007199254740991).lte(9007199254740991).nullable(),
2306
- errors: z.array(zGoogleAdsConversionStatusReason),
2307
- warnings: z.array(zGoogleAdsConversionWarning)
2308
- }))
2309
- });
2310
- var zGoogleAdsConversionRequest = z.object({
2311
- object: z.literal("conversion_request"),
2312
- request_id: z.string(),
2313
- conversion_action_id: z.string().nullable(),
2314
- event_count: z.int().gte(-9007199254740991).lte(9007199254740991).nullable(),
2315
- created_at: z.string()
2316
- });
2317
1508
  var zIdempotencyKey = z.string().min(1).max(255);
2318
1509
  var zProfilesListQuery = z.object({
2319
1510
  limit: z.int().gte(1).lte(100).optional().default(20),
@@ -2425,8 +1616,6 @@ var zConnectionsListAccountsResponse = z.object({
2425
1616
  });
2426
1617
  var zConnectionsConnectBody = z.object({
2427
1618
  platform: z.enum([
2428
- "meta_ads",
2429
- "google_ads",
2430
1619
  "x",
2431
1620
  "linkedin",
2432
1621
  "facebook_page",
@@ -2465,14 +1654,7 @@ var zMediaListResponse = z.object({
2465
1654
  var zMediaCreateBody = z.object({
2466
1655
  profile_id: z.string(),
2467
1656
  source_url: z.url().optional(),
2468
- targets: z.array(z.enum([
2469
- "x",
2470
- "linkedin",
2471
- "facebook_page",
2472
- "instagram",
2473
- "tiktok",
2474
- "google_ads"
2475
- ])).min(1).optional(),
1657
+ targets: z.array(zPostPlatform).min(1).optional(),
2476
1658
  raw: z.boolean().optional().default(false),
2477
1659
  alt_text: z.string().max(1e3).optional(),
2478
1660
  external_id: z.string().min(1).max(255).optional(),
@@ -2524,8 +1706,7 @@ var zMediaCreateResponse = z.object({
2524
1706
  "media_fetch_failed",
2525
1707
  "document_format_unsupported",
2526
1708
  "document_too_large",
2527
- "document_too_many_pages",
2528
- "media_unsupported"
1709
+ "document_too_many_pages"
2529
1710
  ]),
2530
1711
  message: z.string(),
2531
1712
  hint: z.string().optional(),
@@ -2578,8 +1759,7 @@ var zMediaCreateResponse = z.object({
2578
1759
  "media_fetch_failed",
2579
1760
  "document_format_unsupported",
2580
1761
  "document_too_large",
2581
- "document_too_many_pages",
2582
- "media_unsupported"
1762
+ "document_too_many_pages"
2583
1763
  ]),
2584
1764
  message: z.string(),
2585
1765
  hint: z.string().optional(),
@@ -2614,8 +1794,7 @@ var zMediaCreateResponse = z.object({
2614
1794
  "media_fetch_failed",
2615
1795
  "document_format_unsupported",
2616
1796
  "document_too_large",
2617
- "document_too_many_pages",
2618
- "media_unsupported"
1797
+ "document_too_many_pages"
2619
1798
  ]),
2620
1799
  message: z.string(),
2621
1800
  hint: z.string().optional(),
@@ -2662,14 +1841,7 @@ var zMediaUpdateBody = z.object({
2662
1841
  z.number(),
2663
1842
  z.boolean()
2664
1843
  ])).optional(),
2665
- targets: z.array(z.enum([
2666
- "x",
2667
- "linkedin",
2668
- "facebook_page",
2669
- "instagram",
2670
- "tiktok",
2671
- "google_ads"
2672
- ])).min(1).optional()
1844
+ targets: z.array(zPostPlatform).min(1).optional()
2673
1845
  });
2674
1846
  var zMediaUpdateHeaders = z.object({
2675
1847
  "Idempotency-Key": z.string().min(1).max(255).optional()
@@ -2738,33 +1910,7 @@ var zPostsCreateBody = zCreatePostBody;
2738
1910
  var zPostsCreateHeaders = z.object({
2739
1911
  "Idempotency-Key": z.string().min(1).max(255).optional()
2740
1912
  });
2741
- var zPostsCreateResponse = z.object({
2742
- id: z.string(),
2743
- object: z.literal("post"),
2744
- profile_id: z.string(),
2745
- external_id: z.string().nullable(),
2746
- status: z.enum([
2747
- "draft",
2748
- "scheduled",
2749
- "publishing",
2750
- "partially_published",
2751
- "published",
2752
- "failed"
2753
- ]),
2754
- schedule_at: z.string().nullable(),
2755
- tags: z.array(z.string()),
2756
- notes: z.string().nullable(),
2757
- metadata: z.record(z.string(), z.union([
2758
- z.string().max(500),
2759
- z.number(),
2760
- z.boolean()
2761
- ])),
2762
- variants: z.array(zPostVariant),
2763
- created_at: z.string(),
2764
- updated_at: z.string(),
2765
- dry_run: z.boolean(),
2766
- executed: z.boolean()
2767
- });
1913
+ var zPostsCreateResponse = zPostWriteResult;
2768
1914
  var zPostsDeletePath = z.object({
2769
1915
  id: z.string()
2770
1916
  });
@@ -2801,33 +1947,17 @@ var zPostsUpdateHeaders = z.object({
2801
1947
  var zPostsUpdatePath = z.object({
2802
1948
  id: z.string()
2803
1949
  });
2804
- var zPostsUpdateResponse = z.object({
2805
- id: z.string(),
2806
- object: z.literal("post"),
2807
- profile_id: z.string(),
2808
- external_id: z.string().nullable(),
2809
- status: z.enum([
2810
- "draft",
2811
- "scheduled",
2812
- "publishing",
2813
- "partially_published",
2814
- "published",
2815
- "failed"
2816
- ]),
2817
- schedule_at: z.string().nullable(),
2818
- tags: z.array(z.string()),
2819
- notes: z.string().nullable(),
2820
- metadata: z.record(z.string(), z.union([
2821
- z.string().max(500),
2822
- z.number(),
2823
- z.boolean()
2824
- ])),
2825
- variants: z.array(zPostVariant),
2826
- created_at: z.string(),
2827
- updated_at: z.string(),
2828
- dry_run: z.boolean(),
2829
- executed: z.boolean()
1950
+ var zPostsUpdateResponse = zPostWriteResult;
1951
+ var zPostsRetryBody = z.object({
1952
+ dry_run: z.boolean().optional().default(false)
1953
+ });
1954
+ var zPostsRetryHeaders = z.object({
1955
+ "Idempotency-Key": z.string().min(1).max(255).optional()
2830
1956
  });
1957
+ var zPostsRetryPath = z.object({
1958
+ id: z.string()
1959
+ });
1960
+ var zPostsRetryResponse = zPostWriteResult;
2831
1961
  var zPostsValidateBody = z.object({
2832
1962
  profile_id: z.string(),
2833
1963
  variants: z.array(zPostVariantInput).min(1)
@@ -2853,12 +1983,12 @@ var zPostsValidateResponse = z.object({
2853
1983
  "not_implemented",
2854
1984
  "connection_discovery_failed",
2855
1985
  "tiktok_creator_info_unavailable",
2856
- "tiktok_cannot_post_now",
2857
1986
  "media_processing",
2858
1987
  "media_upload_init_failed",
2859
1988
  "media_upload_incomplete",
2860
1989
  "media_upload_invalid_parts",
2861
1990
  "not_publishable",
1991
+ "post_not_retryable",
2862
1992
  "invalid_connection",
2863
1993
  "invalid_media",
2864
1994
  "profile_scope_invalid",
@@ -2909,6 +2039,7 @@ var zPostsValidateResponse = z.object({
2909
2039
  "x_rate_limited",
2910
2040
  "x_publish_failed",
2911
2041
  "x_media_upload_failed",
2042
+ "x_thread_incomplete",
2912
2043
  "linkedin_duplicate_content",
2913
2044
  "linkedin_auth_expired",
2914
2045
  "linkedin_permission_denied",
@@ -2926,6 +2057,7 @@ var zPostsValidateResponse = z.object({
2926
2057
  "instagram_media_unsupported",
2927
2058
  "instagram_not_authorized",
2928
2059
  "instagram_publish_failed",
2060
+ "instagram_comment_failed",
2929
2061
  "facebook_reel_processing",
2930
2062
  "facebook_reel_failed",
2931
2063
  "facebook_rate_limited",
@@ -2933,13 +2065,14 @@ var zPostsValidateResponse = z.object({
2933
2065
  "facebook_temporarily_blocked",
2934
2066
  "facebook_not_authorized",
2935
2067
  "facebook_publish_failed",
2068
+ "facebook_comment_failed",
2936
2069
  "tiktok_privacy_not_allowed",
2070
+ "tiktok_interaction_not_allowed",
2071
+ "tiktok_thumbnail_offset_invalid",
2937
2072
  "tiktok_duration_exceeds_max",
2938
2073
  "tiktok_media_processing",
2939
2074
  "tiktok_not_authorized",
2940
2075
  "tiktok_rate_limited",
2941
- "tiktok_url_ownership_unverified",
2942
- "tiktok_unaudited_private_only",
2943
2076
  "tiktok_spam_risk",
2944
2077
  "tiktok_file_format_invalid",
2945
2078
  "tiktok_duration_invalid",
@@ -2948,21 +2081,15 @@ var zPostsValidateResponse = z.object({
2948
2081
  "tiktok_media_pull_failed",
2949
2082
  "tiktok_server_error",
2950
2083
  "tiktok_publish_failed",
2951
- "google_rate_limited",
2952
- "google_server_error",
2953
- "google_auth_expired",
2954
- "google_permission_denied",
2955
- "google_request_failed",
2956
- "google_conversion_duplicate",
2957
- "google_conversion_invalid_click_id",
2958
- "google_conversion_event_too_old",
2959
- "google_conversion_consent_required",
2960
- "google_conversion_terms_not_signed",
2961
- "google_conversion_rejected",
2962
2084
  "post_publish_failed",
2963
2085
  "post_partially_published",
2964
2086
  "connection_platform_mismatch",
2965
- "connection_removed"
2087
+ "connection_removed",
2088
+ "publish_interrupted",
2089
+ "publish_outcome_unknown",
2090
+ "plan_limit_reached",
2091
+ "billing_required",
2092
+ "x_link_requires_paid_plan"
2966
2093
  ]),
2967
2094
  message: z.string(),
2968
2095
  hint: z.string().optional(),
@@ -2975,1549 +2102,8 @@ var zPostsValidateResponse = z.object({
2975
2102
  display_error: z.string()
2976
2103
  }))
2977
2104
  });
2978
- var zMetaAccountPath = z.object({
2979
- connection_id: z.string()
2980
- });
2981
- var zMetaAccountResponse = z.object({
2982
- id: z.string(),
2983
- account_id: z.string(),
2984
- name: z.string().nullable(),
2985
- account_status: z.int().gte(-9007199254740991).lte(9007199254740991),
2986
- currency: z.string(),
2987
- timezone_name: z.string().nullable(),
2988
- amount_spent: z.string(),
2989
- balance: z.string(),
2990
- spend_cap: z.string().nullable()
2991
- });
2992
- var zMetaInsightsPath = z.object({
2993
- connection_id: z.string()
2994
- });
2995
- var zMetaInsightsQuery = z.object({
2996
- level: z.enum([
2997
- "account",
2998
- "campaign",
2999
- "adset",
3000
- "ad"
3001
- ]).optional().default("account"),
3002
- date_preset: z.enum([
3003
- "today",
3004
- "yesterday",
3005
- "this_month",
3006
- "last_month",
3007
- "this_quarter",
3008
- "maximum",
3009
- "data_maximum",
3010
- "last_3d",
3011
- "last_7d",
3012
- "last_14d",
3013
- "last_28d",
3014
- "last_30d",
3015
- "last_90d",
3016
- "last_week_mon_sun",
3017
- "last_week_sun_sat",
3018
- "last_quarter",
3019
- "last_year",
3020
- "this_week_mon_today",
3021
- "this_week_sun_today",
3022
- "this_year"
3023
- ]).optional().default("last_30d"),
3024
- time_range: z.object({
3025
- since: z.string().regex(/^\d{4}-\d{2}-\d{2}$/),
3026
- until: z.string().regex(/^\d{4}-\d{2}-\d{2}$/)
3027
- }).optional(),
3028
- time_increment: z.union([
3029
- z.int().gte(1).lte(90),
3030
- z.literal("monthly"),
3031
- z.literal("all_days")
3032
- ]).optional()
3033
- });
3034
- var zMetaInsightsResponse = z.object({
3035
- object: z.literal("list"),
3036
- data: z.array(z.object({
3037
- date_start: z.string(),
3038
- date_stop: z.string(),
3039
- account_id: z.string().optional(),
3040
- campaign_id: z.string().optional(),
3041
- campaign_name: z.string().optional(),
3042
- adset_id: z.string().optional(),
3043
- adset_name: z.string().optional(),
3044
- ad_id: z.string().optional(),
3045
- ad_name: z.string().optional(),
3046
- spend: z.string().optional(),
3047
- impressions: z.string().optional(),
3048
- clicks: z.string().optional(),
3049
- ctr: z.string().optional(),
3050
- cpc: z.string().optional(),
3051
- cpm: z.string().optional(),
3052
- cpp: z.string().optional(),
3053
- reach: z.string().optional(),
3054
- frequency: z.string().optional()
3055
- }))
3056
- });
3057
- var zMetaCampaignsPath = z.object({
3058
- connection_id: z.string()
3059
- });
3060
- var zMetaCampaignsResponse = z.object({
3061
- object: z.literal("list"),
3062
- data: z.array(z.object({
3063
- id: z.string(),
3064
- account_id: z.string().optional(),
3065
- name: z.string().nullable(),
3066
- status: z.string().optional(),
3067
- effective_status: z.string().optional(),
3068
- objective: z.string().optional(),
3069
- daily_budget: z.string().optional(),
3070
- lifetime_budget: z.string().optional(),
3071
- budget_remaining: z.string().optional(),
3072
- bid_strategy: z.string().optional(),
3073
- created_time: z.string().optional(),
3074
- start_time: z.string().optional(),
3075
- stop_time: z.string().optional()
3076
- }))
3077
- });
3078
- var zMetaCampaignPath = z.object({
3079
- connection_id: z.string(),
3080
- campaign_id: z.string().min(1)
3081
- });
3082
- var zMetaCampaignResponse = z.object({
3083
- id: z.string(),
3084
- account_id: z.string().optional(),
3085
- name: z.string().nullable(),
3086
- status: z.string().optional(),
3087
- effective_status: z.string().optional(),
3088
- objective: z.string().optional(),
3089
- daily_budget: z.string().optional(),
3090
- lifetime_budget: z.string().optional(),
3091
- budget_remaining: z.string().optional(),
3092
- bid_strategy: z.string().optional(),
3093
- created_time: z.string().optional(),
3094
- start_time: z.string().optional(),
3095
- stop_time: z.string().optional()
3096
- });
3097
- var zMetaAdsetsPath = z.object({
3098
- connection_id: z.string()
3099
- });
3100
- var zMetaAdsetsResponse = z.object({
3101
- object: z.literal("list"),
3102
- data: z.array(z.object({
3103
- id: z.string(),
3104
- account_id: z.string().optional(),
3105
- name: z.string().nullable(),
3106
- status: z.string().optional(),
3107
- effective_status: z.string().optional(),
3108
- campaign_id: z.string().optional(),
3109
- daily_budget: z.string().optional(),
3110
- lifetime_budget: z.string().optional(),
3111
- budget_remaining: z.string().optional(),
3112
- bid_amount: z.string().optional(),
3113
- billing_event: z.string().optional(),
3114
- optimization_goal: z.string().optional(),
3115
- start_time: z.string().optional(),
3116
- end_time: z.string().optional()
3117
- }))
3118
- });
3119
- var zMetaAdsetPath = z.object({
3120
- connection_id: z.string(),
3121
- adset_id: z.string().min(1)
3122
- });
3123
- var zMetaAdsetResponse = z.object({
3124
- id: z.string(),
3125
- account_id: z.string().optional(),
3126
- name: z.string().nullable(),
3127
- status: z.string().optional(),
3128
- effective_status: z.string().optional(),
3129
- campaign_id: z.string().optional(),
3130
- daily_budget: z.string().optional(),
3131
- lifetime_budget: z.string().optional(),
3132
- budget_remaining: z.string().optional(),
3133
- bid_amount: z.string().optional(),
3134
- billing_event: z.string().optional(),
3135
- optimization_goal: z.string().optional(),
3136
- start_time: z.string().optional(),
3137
- end_time: z.string().optional()
3138
- });
3139
- var zMetaAdsPath = z.object({
3140
- connection_id: z.string()
3141
- });
3142
- var zMetaAdsResponse = z.object({
3143
- object: z.literal("list"),
3144
- data: z.array(z.object({
3145
- id: z.string(),
3146
- name: z.string().nullable(),
3147
- status: z.string().optional(),
3148
- effective_status: z.string().optional(),
3149
- adset_id: z.string().optional(),
3150
- campaign_id: z.string().optional(),
3151
- account_id: z.string().optional(),
3152
- created_time: z.string().optional(),
3153
- updated_time: z.string().optional()
3154
- }))
3155
- });
3156
- var zMetaAdPath = z.object({
3157
- connection_id: z.string(),
3158
- ad_id: z.string().min(1)
3159
- });
3160
- var zMetaAdResponse = z.object({
3161
- id: z.string(),
3162
- name: z.string().nullable(),
3163
- status: z.string().optional(),
3164
- effective_status: z.string().optional(),
3165
- adset_id: z.string().optional(),
3166
- campaign_id: z.string().optional(),
3167
- account_id: z.string().optional(),
3168
- created_time: z.string().optional(),
3169
- updated_time: z.string().optional()
3170
- });
3171
- var zGoogleGetAccountPath = z.object({
3172
- connection_id: z.string()
3173
- });
3174
- var zGoogleGetAccountResponse = z.object({
3175
- id: z.string(),
3176
- descriptive_name: z.string().nullable(),
3177
- currency_code: z.string().nullable(),
3178
- time_zone: z.string().nullable(),
3179
- status: z.enum([
3180
- "UNSPECIFIED",
3181
- "UNKNOWN",
3182
- "ENABLED",
3183
- "CANCELED",
3184
- "SUSPENDED",
3185
- "CLOSED"
3186
- ]),
3187
- manager: z.boolean(),
3188
- test_account: z.boolean(),
3189
- tracking_url_template: z.string().nullable(),
3190
- final_url_suffix: z.string().nullable()
3191
- });
3192
- var zGoogleEditAccountBody = z.object({
3193
- tracking_url_template: z.string().min(1).optional(),
3194
- final_url_suffix: z.string().min(1).optional(),
3195
- dry_run: z.boolean().optional().default(false)
3196
- });
3197
- var zGoogleEditAccountHeaders = z.object({
3198
- "Idempotency-Key": z.string().min(1).max(255).optional()
3199
- });
3200
- var zGoogleEditAccountPath = z.object({
3201
- connection_id: z.string()
3202
- });
3203
- var zGoogleEditAccountResponse = zGoogleAdsEditResult;
3204
- var zGoogleGetInsightsBody = z.object({
3205
- level: zGoogleAdsInsightLevel.optional().default("campaign"),
3206
- metrics: z.array(zGoogleAdsInsightMetric).min(1).optional().default([
3207
- "impressions",
3208
- "clicks",
3209
- "cost_micros",
3210
- "conversions"
3211
- ]),
3212
- segments: z.array(zGoogleAdsInsightSegment).optional(),
3213
- campaign_id: z.string().regex(/^\d+$/).optional(),
3214
- ad_group_id: z.string().regex(/^\d+$/).optional(),
3215
- since: z.iso.date(),
3216
- until: z.iso.date()
3217
- });
3218
- var zGoogleGetInsightsPath = z.object({
3219
- connection_id: z.string()
3220
- });
3221
- var zGoogleGetInsightsResponse = zGoogleAdsInsights;
3222
- var zGoogleGetAdTreePath = z.object({
3223
- connection_id: z.string()
3224
- });
3225
- var zGoogleGetAdTreeQuery = z.object({
3226
- campaign_id: z.string().regex(/^\d+$/).optional(),
3227
- status: zGoogleAdsReadStatusFilter.optional(),
3228
- metrics: z.array(zGoogleAdsInsightMetric).min(1).optional().default([
3229
- "impressions",
3230
- "clicks",
3231
- "cost_micros",
3232
- "conversions"
3233
- ]),
3234
- since: z.iso.date(),
3235
- until: z.iso.date()
3236
- });
3237
- var zGoogleGetAdTreeResponse = zGoogleAdTree;
3238
- var zGoogleRunGaqlBody = z.object({
3239
- query: z.string().min(1).max(1e4)
3240
- });
3241
- var zGoogleRunGaqlPath = z.object({
3242
- connection_id: z.string()
3243
- });
3244
- var zGoogleRunGaqlResponse = z.object({
3245
- object: z.literal("list"),
3246
- data: z.array(z.union([z.unknown(), z.null()]))
3247
- });
3248
- var zGoogleCreateBudgetBody = z.object({
3249
- name: z.string().min(1).max(255),
3250
- amount_micros: z.int().gt(0).lte(9007199254740991),
3251
- dry_run: z.boolean().optional().default(false)
3252
- });
3253
- var zGoogleCreateBudgetHeaders = z.object({
3254
- "Idempotency-Key": z.string().min(1).max(255).optional()
3255
- });
3256
- var zGoogleCreateBudgetPath = z.object({
3257
- connection_id: z.string()
3258
- });
3259
- var zGoogleCreateBudgetResponse = zGoogleAdsCreateResult;
3260
- var zGoogleEditBudgetBody = z.object({
3261
- amount_micros: z.int().gt(0).lte(9007199254740991),
3262
- dry_run: z.boolean().optional().default(false)
3263
- });
3264
- var zGoogleEditBudgetHeaders = z.object({
3265
- "Idempotency-Key": z.string().min(1).max(255).optional()
3266
- });
3267
- var zGoogleEditBudgetPath = z.object({
3268
- connection_id: z.string(),
3269
- id: z.string().regex(/^\d+$/)
3270
- });
3271
- var zGoogleEditBudgetResponse = zGoogleAdsEditResult;
3272
- var zGoogleRemoveBudgetBody = z.object({
3273
- dry_run: z.boolean().optional().default(false)
3274
- });
3275
- var zGoogleRemoveBudgetHeaders = z.object({
3276
- "Idempotency-Key": z.string().min(1).max(255).optional()
3277
- });
3278
- var zGoogleRemoveBudgetPath = z.object({
3279
- connection_id: z.string(),
3280
- id: z.string().regex(/^\d+$/)
3281
- });
3282
- var zGoogleRemoveBudgetResponse = zGoogleAdsDeleteResult;
3283
- var zGoogleListCampaignsPath = z.object({
3284
- connection_id: z.string()
3285
- });
3286
- var zGoogleListCampaignsResponse = z.object({
3287
- object: z.literal("list"),
3288
- data: z.array(z.object({
3289
- id: z.string(),
3290
- name: z.string().nullable(),
3291
- status: z.enum([
3292
- "UNSPECIFIED",
3293
- "UNKNOWN",
3294
- "ENABLED",
3295
- "PAUSED",
3296
- "REMOVED"
3297
- ]),
3298
- advertising_channel_type: z.enum([
3299
- "UNSPECIFIED",
3300
- "UNKNOWN",
3301
- "SEARCH",
3302
- "DISPLAY",
3303
- "SHOPPING",
3304
- "HOTEL",
3305
- "VIDEO",
3306
- "MULTI_CHANNEL",
3307
- "LOCAL",
3308
- "SMART",
3309
- "PERFORMANCE_MAX",
3310
- "LOCAL_SERVICES",
3311
- "TRAVEL",
3312
- "DEMAND_GEN"
3313
- ]),
3314
- bidding_strategy_type: z.enum([
3315
- "UNSPECIFIED",
3316
- "UNKNOWN",
3317
- "COMMISSION",
3318
- "ENHANCED_CPC",
3319
- "FIXED_CPM",
3320
- "FIXED_SHARE_OF_VOICE",
3321
- "INVALID",
3322
- "MANUAL_CPA",
3323
- "MANUAL_CPC",
3324
- "MANUAL_CPM",
3325
- "MANUAL_CPV",
3326
- "MAXIMIZE_CONVERSIONS",
3327
- "MAXIMIZE_CONVERSION_VALUE",
3328
- "PAGE_ONE_PROMOTED",
3329
- "PERCENT_CPC",
3330
- "TARGET_CPA",
3331
- "TARGET_CPC",
3332
- "TARGET_CPM",
3333
- "TARGET_CPV",
3334
- "TARGET_IMPRESSION_SHARE",
3335
- "TARGET_OUTRANK_SHARE",
3336
- "TARGET_ROAS",
3337
- "TARGET_SPEND"
3338
- ]),
3339
- start_date_time: z.string().nullable(),
3340
- end_date_time: z.string().nullable(),
3341
- tracking_url_template: z.string().nullable(),
3342
- final_url_suffix: z.string().nullable(),
3343
- url_custom_parameters: z.array(zGoogleAdsUrlCustomParameter).max(8).optional().default([])
3344
- }))
3345
- });
3346
- var zGoogleCreateCampaignBody = z.object({
3347
- name: z.string().min(1).max(255),
3348
- channel: z.enum(["SEARCH", "DISPLAY"]),
3349
- campaign_budget: z.string().regex(/^\d+$/),
3350
- bidding: z.enum([
3351
- "manual_cpc",
3352
- "maximize_conversions",
3353
- "target_spend"
3354
- ]),
3355
- status: z.enum(["ENABLED", "PAUSED"]).optional().default("PAUSED"),
3356
- contains_eu_political_advertising: z.enum(["DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", "CONTAINS_EU_POLITICAL_ADVERTISING"]).optional().default("DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"),
3357
- dry_run: z.boolean().optional().default(false)
3358
- });
3359
- var zGoogleCreateCampaignHeaders = z.object({
3360
- "Idempotency-Key": z.string().min(1).max(255).optional()
3361
- });
3362
- var zGoogleCreateCampaignPath = z.object({
3363
- connection_id: z.string()
3364
- });
3365
- var zGoogleCreateCampaignResponse = zGoogleAdsCreateResult;
3366
- var zGoogleGetCampaignPath = z.object({
3367
- connection_id: z.string(),
3368
- id: z.string().regex(/^\d+$/)
3369
- });
3370
- var zGoogleGetCampaignResponse = z.object({
3371
- id: z.string(),
3372
- name: z.string().nullable(),
3373
- status: z.enum([
3374
- "UNSPECIFIED",
3375
- "UNKNOWN",
3376
- "ENABLED",
3377
- "PAUSED",
3378
- "REMOVED"
3379
- ]),
3380
- advertising_channel_type: z.enum([
3381
- "UNSPECIFIED",
3382
- "UNKNOWN",
3383
- "SEARCH",
3384
- "DISPLAY",
3385
- "SHOPPING",
3386
- "HOTEL",
3387
- "VIDEO",
3388
- "MULTI_CHANNEL",
3389
- "LOCAL",
3390
- "SMART",
3391
- "PERFORMANCE_MAX",
3392
- "LOCAL_SERVICES",
3393
- "TRAVEL",
3394
- "DEMAND_GEN"
3395
- ]),
3396
- bidding_strategy_type: z.enum([
3397
- "UNSPECIFIED",
3398
- "UNKNOWN",
3399
- "COMMISSION",
3400
- "ENHANCED_CPC",
3401
- "FIXED_CPM",
3402
- "FIXED_SHARE_OF_VOICE",
3403
- "INVALID",
3404
- "MANUAL_CPA",
3405
- "MANUAL_CPC",
3406
- "MANUAL_CPM",
3407
- "MANUAL_CPV",
3408
- "MAXIMIZE_CONVERSIONS",
3409
- "MAXIMIZE_CONVERSION_VALUE",
3410
- "PAGE_ONE_PROMOTED",
3411
- "PERCENT_CPC",
3412
- "TARGET_CPA",
3413
- "TARGET_CPC",
3414
- "TARGET_CPM",
3415
- "TARGET_CPV",
3416
- "TARGET_IMPRESSION_SHARE",
3417
- "TARGET_OUTRANK_SHARE",
3418
- "TARGET_ROAS",
3419
- "TARGET_SPEND"
3420
- ]),
3421
- start_date_time: z.string().nullable(),
3422
- end_date_time: z.string().nullable(),
3423
- tracking_url_template: z.string().nullable(),
3424
- final_url_suffix: z.string().nullable(),
3425
- url_custom_parameters: z.array(zGoogleAdsUrlCustomParameter).max(8).optional().default([])
3426
- });
3427
- var zGoogleEditCampaignBody = z.object({
3428
- name: z.string().min(1).max(255).optional(),
3429
- tracking_url_template: z.string().min(1).optional(),
3430
- final_url_suffix: z.string().min(1).optional(),
3431
- url_custom_parameters: z.array(zGoogleAdsUrlCustomParameter).min(1).max(8).optional(),
3432
- dry_run: z.boolean().optional().default(false)
3433
- });
3434
- var zGoogleEditCampaignHeaders = z.object({
3435
- "Idempotency-Key": z.string().min(1).max(255).optional()
3436
- });
3437
- var zGoogleEditCampaignPath = z.object({
3438
- connection_id: z.string(),
3439
- id: z.string().regex(/^\d+$/)
3440
- });
3441
- var zGoogleEditCampaignResponse = zGoogleAdsEditResult;
3442
- var zGoogleRemoveCampaignBody = z.object({
3443
- dry_run: z.boolean().optional().default(false)
3444
- });
3445
- var zGoogleRemoveCampaignHeaders = z.object({
3446
- "Idempotency-Key": z.string().min(1).max(255).optional()
3447
- });
3448
- var zGoogleRemoveCampaignPath = z.object({
3449
- connection_id: z.string(),
3450
- id: z.string().regex(/^\d+$/)
3451
- });
3452
- var zGoogleRemoveCampaignResponse = zGoogleAdsDeleteResult;
3453
- var zGooglePauseCampaignBody = z.object({
3454
- dry_run: z.boolean().optional().default(false)
3455
- });
3456
- var zGooglePauseCampaignHeaders = z.object({
3457
- "Idempotency-Key": z.string().min(1).max(255).optional()
3458
- });
3459
- var zGooglePauseCampaignPath = z.object({
3460
- connection_id: z.string(),
3461
- id: z.string().regex(/^\d+$/)
3462
- });
3463
- var zGooglePauseCampaignResponse = z.object({
3464
- id: z.string(),
3465
- status: z.enum(["ENABLED", "PAUSED"]),
3466
- dry_run: z.boolean(),
3467
- executed: z.boolean()
3468
- });
3469
- var zGoogleEnableCampaignBody = z.object({
3470
- dry_run: z.boolean().optional().default(false)
3471
- });
3472
- var zGoogleEnableCampaignHeaders = z.object({
3473
- "Idempotency-Key": z.string().min(1).max(255).optional()
3474
- });
3475
- var zGoogleEnableCampaignPath = z.object({
3476
- connection_id: z.string(),
3477
- id: z.string().regex(/^\d+$/)
3478
- });
3479
- var zGoogleEnableCampaignResponse = z.object({
3480
- id: z.string(),
3481
- status: z.enum(["ENABLED", "PAUSED"]),
3482
- dry_run: z.boolean(),
3483
- executed: z.boolean()
3484
- });
3485
- var zGoogleSearchGeoTargetsPath = z.object({
3486
- connection_id: z.string()
3487
- });
3488
- var zGoogleSearchGeoTargetsQuery = z.object({
3489
- q: z.string().min(1),
3490
- country_code: z.string().length(2).optional()
3491
- });
3492
- var zGoogleSearchGeoTargetsResponse = z.object({
3493
- object: z.literal("list"),
3494
- data: z.array(zGoogleAdsGeoTargetConstant)
3495
- });
3496
- var zGoogleListCampaignCriteriaPath = z.object({
3497
- connection_id: z.string(),
3498
- campaign_id: z.string().regex(/^\d+$/)
3499
- });
3500
- var zGoogleListCampaignCriteriaResponse = z.object({
3501
- object: z.literal("list"),
3502
- data: z.array(zGoogleAdsCampaignCriterion)
3503
- });
3504
- var zGoogleCreateCampaignCriterionBody = z.object({
3505
- dry_run: z.boolean().optional().default(false),
3506
- type: z.union([
3507
- z.literal("location"),
3508
- z.literal("language")
3509
- ]),
3510
- geo_target_constant: z.string().regex(/^geoTargetConstants\/\d+$/).optional(),
3511
- negative: z.boolean().optional().default(false),
3512
- language_constant: z.string().min(1).optional()
3513
- });
3514
- var zGoogleCreateCampaignCriterionHeaders = z.object({
3515
- "Idempotency-Key": z.string().min(1).max(255).optional()
3516
- });
3517
- var zGoogleCreateCampaignCriterionPath = z.object({
3518
- connection_id: z.string(),
3519
- campaign_id: z.string().regex(/^\d+$/)
3520
- });
3521
- var zGoogleCreateCampaignCriterionResponse = zGoogleAdsCreateResult;
3522
- var zGoogleRemoveCampaignCriterionBody = z.object({
3523
- dry_run: z.boolean().optional().default(false)
3524
- });
3525
- var zGoogleRemoveCampaignCriterionHeaders = z.object({
3526
- "Idempotency-Key": z.string().min(1).max(255).optional()
3527
- });
3528
- var zGoogleRemoveCampaignCriterionPath = z.object({
3529
- connection_id: z.string(),
3530
- campaign_id: z.string().regex(/^\d+$/),
3531
- criterion_id: z.string().regex(/^\d+$/)
3532
- });
3533
- var zGoogleRemoveCampaignCriterionResponse = zGoogleAdsDeleteResult;
3534
- var zGoogleSetCampaignGeoSettingsBody = z.object({
3535
- dry_run: z.boolean().optional().default(false),
3536
- positive_geo_target_type: z.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional(),
3537
- negative_geo_target_type: z.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional()
3538
- });
3539
- var zGoogleSetCampaignGeoSettingsHeaders = z.object({
3540
- "Idempotency-Key": z.string().min(1).max(255).optional()
3541
- });
3542
- var zGoogleSetCampaignGeoSettingsPath = z.object({
3543
- connection_id: z.string(),
3544
- campaign_id: z.string().regex(/^\d+$/)
3545
- });
3546
- var zGoogleSetCampaignGeoSettingsResponse = zGoogleAdsEditResult;
3547
- var zGoogleListAdGroupsPath = z.object({
3548
- connection_id: z.string()
3549
- });
3550
- var zGoogleListAdGroupsQuery = z.object({
3551
- campaign_id: z.string().regex(/^\d+$/).optional(),
3552
- status: zGoogleAdsReadStatusFilter.optional()
3553
- });
3554
- var zGoogleListAdGroupsResponse = z.object({
3555
- object: z.literal("list"),
3556
- data: z.array(zGoogleAdsAdGroup)
3557
- });
3558
- var zGoogleCreateAdGroupBody = z.object({
3559
- name: z.string().min(1).max(255),
3560
- campaign: z.string().regex(/^\d+$/),
3561
- type: z.enum(["SEARCH_STANDARD", "DISPLAY_STANDARD"]),
3562
- status: z.enum(["ENABLED", "PAUSED"]).optional().default("ENABLED"),
3563
- dry_run: z.boolean().optional().default(false)
3564
- });
3565
- var zGoogleCreateAdGroupHeaders = z.object({
3566
- "Idempotency-Key": z.string().min(1).max(255).optional()
3567
- });
3568
- var zGoogleCreateAdGroupPath = z.object({
3569
- connection_id: z.string()
3570
- });
3571
- var zGoogleCreateAdGroupResponse = zGoogleAdsCreateResult;
3572
- var zGoogleGetAdGroupPath = z.object({
3573
- connection_id: z.string(),
3574
- id: z.string().regex(/^\d+$/)
3575
- });
3576
- var zGoogleGetAdGroupResponse = zGoogleAdsAdGroup;
3577
- var zGoogleEditAdGroupBody = z.object({
3578
- name: z.string().min(1).max(255),
3579
- dry_run: z.boolean().optional().default(false)
3580
- });
3581
- var zGoogleEditAdGroupHeaders = z.object({
3582
- "Idempotency-Key": z.string().min(1).max(255).optional()
3583
- });
3584
- var zGoogleEditAdGroupPath = z.object({
3585
- connection_id: z.string(),
3586
- id: z.string().regex(/^\d+$/)
3587
- });
3588
- var zGoogleEditAdGroupResponse = zGoogleAdsEditResult;
3589
- var zGoogleSetAdGroupBidsBody = z.object({
3590
- cpc_bid_micros: z.int().gt(0).lte(9007199254740991).optional(),
3591
- cpm_bid_micros: z.int().gt(0).lte(9007199254740991).optional(),
3592
- target_cpa_micros: z.int().gt(0).lte(9007199254740991).optional(),
3593
- target_roas: z.number().gt(0).optional(),
3594
- dry_run: z.boolean().optional().default(false)
3595
- });
3596
- var zGoogleSetAdGroupBidsHeaders = z.object({
3597
- "Idempotency-Key": z.string().min(1).max(255).optional()
3598
- });
3599
- var zGoogleSetAdGroupBidsPath = z.object({
3600
- connection_id: z.string(),
3601
- id: z.string().regex(/^\d+$/)
3602
- });
3603
- var zGoogleSetAdGroupBidsResponse = zGoogleAdsEditResult;
3604
- var zGoogleRemoveAdGroupBody = z.object({
3605
- dry_run: z.boolean().optional().default(false)
3606
- });
3607
- var zGoogleRemoveAdGroupHeaders = z.object({
3608
- "Idempotency-Key": z.string().min(1).max(255).optional()
3609
- });
3610
- var zGoogleRemoveAdGroupPath = z.object({
3611
- connection_id: z.string(),
3612
- id: z.string().regex(/^\d+$/)
3613
- });
3614
- var zGoogleRemoveAdGroupResponse = zGoogleAdsDeleteResult;
3615
- var zGooglePauseAdGroupBody = z.object({
3616
- dry_run: z.boolean().optional().default(false)
3617
- });
3618
- var zGooglePauseAdGroupHeaders = z.object({
3619
- "Idempotency-Key": z.string().min(1).max(255).optional()
3620
- });
3621
- var zGooglePauseAdGroupPath = z.object({
3622
- connection_id: z.string(),
3623
- id: z.string().regex(/^\d+$/)
3624
- });
3625
- var zGooglePauseAdGroupResponse = z.object({
3626
- id: z.string(),
3627
- status: z.enum(["ENABLED", "PAUSED"]),
3628
- dry_run: z.boolean(),
3629
- executed: z.boolean()
3630
- });
3631
- var zGoogleEnableAdGroupBody = z.object({
3632
- dry_run: z.boolean().optional().default(false)
3633
- });
3634
- var zGoogleEnableAdGroupHeaders = z.object({
3635
- "Idempotency-Key": z.string().min(1).max(255).optional()
3636
- });
3637
- var zGoogleEnableAdGroupPath = z.object({
3638
- connection_id: z.string(),
3639
- id: z.string().regex(/^\d+$/)
3640
- });
3641
- var zGoogleEnableAdGroupResponse = z.object({
3642
- id: z.string(),
3643
- status: z.enum(["ENABLED", "PAUSED"]),
3644
- dry_run: z.boolean(),
3645
- executed: z.boolean()
3646
- });
3647
- var zGoogleListAdGroupCriteriaPath = z.object({
3648
- connection_id: z.string(),
3649
- ad_group_id: z.string().regex(/^\d+$/)
3650
- });
3651
- var zGoogleListAdGroupCriteriaResponse = z.object({
3652
- object: z.literal("list"),
3653
- data: z.array(zGoogleAdsAdGroupCriterion)
3654
- });
3655
- var zGoogleCreateAdGroupCriterionBody = z.object({
3656
- dry_run: z.boolean().optional().default(false),
3657
- type: z.union([
3658
- z.literal("age_range"),
3659
- z.literal("gender"),
3660
- z.literal("income_range"),
3661
- z.literal("parental_status"),
3662
- z.literal("user_list"),
3663
- z.literal("audience"),
3664
- z.literal("custom_audience")
3665
- ]),
3666
- age_range: z.enum([
3667
- "AGE_RANGE_18_24",
3668
- "AGE_RANGE_25_34",
3669
- "AGE_RANGE_35_44",
3670
- "AGE_RANGE_45_54",
3671
- "AGE_RANGE_55_64",
3672
- "AGE_RANGE_65_UP",
3673
- "AGE_RANGE_UNDETERMINED"
3674
- ]).optional(),
3675
- negative: z.boolean().optional().default(false),
3676
- gender: z.enum([
3677
- "MALE",
3678
- "FEMALE",
3679
- "UNDETERMINED"
3680
- ]).optional(),
3681
- income_range: z.enum([
3682
- "INCOME_RANGE_0_50",
3683
- "INCOME_RANGE_50_60",
3684
- "INCOME_RANGE_60_70",
3685
- "INCOME_RANGE_70_80",
3686
- "INCOME_RANGE_80_90",
3687
- "INCOME_RANGE_90_UP",
3688
- "INCOME_RANGE_UNDETERMINED"
3689
- ]).optional(),
3690
- parental_status: z.enum([
3691
- "PARENT",
3692
- "NOT_A_PARENT",
3693
- "UNDETERMINED"
3694
- ]).optional(),
3695
- user_list: z.string().regex(/^customers\/\d+\/userLists\/\d+$/).optional(),
3696
- audience: z.string().regex(/^customers\/\d+\/audiences\/\d+$/).optional(),
3697
- custom_audience: z.string().regex(/^customers\/\d+\/customAudiences\/\d+$/).optional()
3698
- });
3699
- var zGoogleCreateAdGroupCriterionHeaders = z.object({
3700
- "Idempotency-Key": z.string().min(1).max(255).optional()
3701
- });
3702
- var zGoogleCreateAdGroupCriterionPath = z.object({
3703
- connection_id: z.string(),
3704
- ad_group_id: z.string().regex(/^\d+$/)
3705
- });
3706
- var zGoogleCreateAdGroupCriterionResponse = zGoogleAdsCreateResult;
3707
- var zGoogleRemoveAdGroupCriterionBody = z.object({
3708
- dry_run: z.boolean().optional().default(false)
3709
- });
3710
- var zGoogleRemoveAdGroupCriterionHeaders = z.object({
3711
- "Idempotency-Key": z.string().min(1).max(255).optional()
3712
- });
3713
- var zGoogleRemoveAdGroupCriterionPath = z.object({
3714
- connection_id: z.string(),
3715
- ad_group_id: z.string().regex(/^\d+$/),
3716
- criterion_id: z.string().regex(/^\d+$/)
3717
- });
3718
- var zGoogleRemoveAdGroupCriterionResponse = zGoogleAdsDeleteResult;
3719
- var zGoogleListAudiencesPath = z.object({
3720
- connection_id: z.string()
3721
- });
3722
- var zGoogleListAudiencesQuery = z.object({
3723
- q: z.string().min(1).optional(),
3724
- kind: z.enum([
3725
- "user_list",
3726
- "audience",
3727
- "custom_audience"
3728
- ]).optional()
3729
- });
3730
- var zGoogleListAudiencesResponse = z.object({
3731
- object: z.literal("list"),
3732
- data: z.array(zGoogleAdsAudience)
3733
- });
3734
- var zGoogleSetCampaignTargetingSettingBody = z.object({
3735
- dry_run: z.boolean().optional().default(false),
3736
- targeting_dimension: z.enum([
3737
- "KEYWORD",
3738
- "AUDIENCE",
3739
- "TOPIC",
3740
- "GENDER",
3741
- "AGE_RANGE",
3742
- "PLACEMENT",
3743
- "PARENTAL_STATUS",
3744
- "INCOME_RANGE"
3745
- ]),
3746
- bid_only: z.boolean()
3747
- });
3748
- var zGoogleSetCampaignTargetingSettingHeaders = z.object({
3749
- "Idempotency-Key": z.string().min(1).max(255).optional()
3750
- });
3751
- var zGoogleSetCampaignTargetingSettingPath = z.object({
3752
- connection_id: z.string(),
3753
- campaign_id: z.string().regex(/^\d+$/)
3754
- });
3755
- var zGoogleSetCampaignTargetingSettingResponse = zGoogleAdsEditResult;
3756
- var zGoogleListAdsPath = z.object({
3757
- connection_id: z.string()
3758
- });
3759
- var zGoogleListAdsQuery = z.object({
3760
- ad_group_id: z.string().regex(/^\d+$/).optional(),
3761
- status: zGoogleAdsReadStatusFilter.optional()
3762
- });
3763
- var zGoogleListAdsResponse = z.object({
3764
- object: z.literal("list"),
3765
- data: z.array(zGoogleAdsAd)
3766
- });
3767
- var zGoogleCreateAdBody = z.object({
3768
- ad_group: z.string().regex(/^\d+$/),
3769
- final_urls: z.array(z.url()).min(1),
3770
- headlines: z.array(z.object({
3771
- text: z.string().min(1).max(30),
3772
- pinned_field: z.enum([
3773
- "HEADLINE_1",
3774
- "HEADLINE_2",
3775
- "HEADLINE_3"
3776
- ]).optional()
3777
- })).min(3).max(15),
3778
- descriptions: z.array(z.object({
3779
- text: z.string().min(1).max(90)
3780
- })).min(2).max(4),
3781
- path1: z.string().max(15).optional(),
3782
- path2: z.string().max(15).optional(),
3783
- status: z.enum(["ENABLED", "PAUSED"]).optional().default("PAUSED"),
3784
- dry_run: z.boolean().optional().default(false)
3785
- });
3786
- var zGoogleCreateAdHeaders = z.object({
3787
- "Idempotency-Key": z.string().min(1).max(255).optional()
3788
- });
3789
- var zGoogleCreateAdPath = z.object({
3790
- connection_id: z.string()
3791
- });
3792
- var zGoogleCreateAdResponse = zGoogleAdsCreateResult;
3793
- var zGoogleGetAdPath = z.object({
3794
- connection_id: z.string(),
3795
- id: z.string().regex(/^\d+~\d+$/)
3796
- });
3797
- var zGoogleGetAdResponse = zGoogleAdsAd;
3798
- var zGoogleCreateDisplayAdBody = z.object({
3799
- ad_group: z.string().regex(/^\d+$/),
3800
- final_urls: z.array(z.url()).min(1),
3801
- marketing_images: z.array(z.object({
3802
- asset: z.string().min(1)
3803
- })).max(15).optional().default([]),
3804
- square_marketing_images: z.array(z.object({
3805
- asset: z.string().min(1)
3806
- })).max(15).optional().default([]),
3807
- logo_images: z.array(z.object({
3808
- asset: z.string().min(1)
3809
- })).max(5).optional().default([]),
3810
- square_logo_images: z.array(z.object({
3811
- asset: z.string().min(1)
3812
- })).max(5).optional().default([]),
3813
- headlines: z.array(z.object({
3814
- text: z.string().min(1).max(30)
3815
- })).min(1).max(5),
3816
- long_headline: z.object({
3817
- text: z.string().min(1).max(90)
3818
- }),
3819
- descriptions: z.array(z.object({
3820
- text: z.string().min(1).max(90)
3821
- })).min(1).max(5),
3822
- business_name: z.string().min(1).max(25).optional(),
3823
- call_to_action_text: z.string().min(1).optional(),
3824
- main_color: z.string().min(1).optional(),
3825
- accent_color: z.string().min(1).optional(),
3826
- status: z.enum(["ENABLED", "PAUSED"]).optional().default("PAUSED"),
3827
- dry_run: z.boolean().optional().default(false)
3828
- });
3829
- var zGoogleCreateDisplayAdHeaders = z.object({
3830
- "Idempotency-Key": z.string().min(1).max(255).optional()
3831
- });
3832
- var zGoogleCreateDisplayAdPath = z.object({
3833
- connection_id: z.string()
3834
- });
3835
- var zGoogleCreateDisplayAdResponse = zGoogleAdsCreateResult;
3836
- var zGoogleRemoveAdBody = z.object({
3837
- dry_run: z.boolean().optional().default(false)
3838
- });
3839
- var zGoogleRemoveAdHeaders = z.object({
3840
- "Idempotency-Key": z.string().min(1).max(255).optional()
3841
- });
3842
- var zGoogleRemoveAdPath = z.object({
3843
- connection_id: z.string(),
3844
- id: z.string().regex(/^\d+~\d+$/)
3845
- });
3846
- var zGoogleRemoveAdResponse = zGoogleAdsDeleteResult;
3847
- var zGooglePauseAdBody = z.object({
3848
- dry_run: z.boolean().optional().default(false)
3849
- });
3850
- var zGooglePauseAdHeaders = z.object({
3851
- "Idempotency-Key": z.string().min(1).max(255).optional()
3852
- });
3853
- var zGooglePauseAdPath = z.object({
3854
- connection_id: z.string(),
3855
- id: z.string().regex(/^\d+~\d+$/)
3856
- });
3857
- var zGooglePauseAdResponse = z.object({
3858
- id: z.string(),
3859
- status: z.enum(["ENABLED", "PAUSED"]),
3860
- dry_run: z.boolean(),
3861
- executed: z.boolean()
3862
- });
3863
- var zGoogleEnableAdBody = z.object({
3864
- dry_run: z.boolean().optional().default(false)
3865
- });
3866
- var zGoogleEnableAdHeaders = z.object({
3867
- "Idempotency-Key": z.string().min(1).max(255).optional()
3868
- });
3869
- var zGoogleEnableAdPath = z.object({
3870
- connection_id: z.string(),
3871
- id: z.string().regex(/^\d+~\d+$/)
3872
- });
3873
- var zGoogleEnableAdResponse = z.object({
3874
- id: z.string(),
3875
- status: z.enum(["ENABLED", "PAUSED"]),
3876
- dry_run: z.boolean(),
3877
- executed: z.boolean()
3878
- });
3879
- var zGoogleListKeywordsPath = z.object({
3880
- connection_id: z.string()
3881
- });
3882
- var zGoogleListKeywordsQuery = z.object({
3883
- ad_group_id: z.string().regex(/^\d+$/).optional(),
3884
- status: zGoogleAdsReadStatusFilter.optional()
3885
- });
3886
- var zGoogleListKeywordsResponse = z.object({
3887
- object: z.literal("list"),
3888
- data: z.array(zGoogleAdsKeyword)
3889
- });
3890
- var zGoogleCreateKeywordBody = z.object({
3891
- ad_group: z.string().regex(/^\d+$/),
3892
- text: z.string().min(1).max(80),
3893
- match_type: z.enum([
3894
- "EXACT",
3895
- "PHRASE",
3896
- "BROAD"
3897
- ]),
3898
- negative: z.boolean().optional().default(false),
3899
- status: z.enum(["ENABLED", "PAUSED"]).optional().default("ENABLED"),
3900
- dry_run: z.boolean().optional().default(false)
3901
- });
3902
- var zGoogleCreateKeywordHeaders = z.object({
3903
- "Idempotency-Key": z.string().min(1).max(255).optional()
3904
- });
3905
- var zGoogleCreateKeywordPath = z.object({
3906
- connection_id: z.string()
3907
- });
3908
- var zGoogleCreateKeywordResponse = zGoogleAdsCreateResult;
3909
- var zGoogleGetKeywordPath = z.object({
3910
- connection_id: z.string(),
3911
- id: z.string().regex(/^\d+~\d+$/)
3912
- });
3913
- var zGoogleGetKeywordResponse = zGoogleAdsKeyword;
3914
- var zGoogleSetKeywordBidBody = z.object({
3915
- cpc_bid_micros: z.int().gt(0).lte(9007199254740991),
3916
- dry_run: z.boolean().optional().default(false)
3917
- });
3918
- var zGoogleSetKeywordBidHeaders = z.object({
3919
- "Idempotency-Key": z.string().min(1).max(255).optional()
3920
- });
3921
- var zGoogleSetKeywordBidPath = z.object({
3922
- connection_id: z.string(),
3923
- id: z.string().regex(/^\d+~\d+$/)
3924
- });
3925
- var zGoogleSetKeywordBidResponse = zGoogleAdsEditResult;
3926
- var zGoogleRemoveKeywordBody = z.object({
3927
- dry_run: z.boolean().optional().default(false)
3928
- });
3929
- var zGoogleRemoveKeywordHeaders = z.object({
3930
- "Idempotency-Key": z.string().min(1).max(255).optional()
3931
- });
3932
- var zGoogleRemoveKeywordPath = z.object({
3933
- connection_id: z.string(),
3934
- id: z.string().regex(/^\d+~\d+$/)
3935
- });
3936
- var zGoogleRemoveKeywordResponse = zGoogleAdsDeleteResult;
3937
- var zGooglePauseKeywordBody = z.object({
3938
- dry_run: z.boolean().optional().default(false)
3939
- });
3940
- var zGooglePauseKeywordHeaders = z.object({
3941
- "Idempotency-Key": z.string().min(1).max(255).optional()
3942
- });
3943
- var zGooglePauseKeywordPath = z.object({
3944
- connection_id: z.string(),
3945
- id: z.string().regex(/^\d+~\d+$/)
3946
- });
3947
- var zGooglePauseKeywordResponse = z.object({
3948
- id: z.string(),
3949
- status: z.enum(["ENABLED", "PAUSED"]),
3950
- dry_run: z.boolean(),
3951
- executed: z.boolean()
3952
- });
3953
- var zGoogleEnableKeywordBody = z.object({
3954
- dry_run: z.boolean().optional().default(false)
3955
- });
3956
- var zGoogleEnableKeywordHeaders = z.object({
3957
- "Idempotency-Key": z.string().min(1).max(255).optional()
3958
- });
3959
- var zGoogleEnableKeywordPath = z.object({
3960
- connection_id: z.string(),
3961
- id: z.string().regex(/^\d+~\d+$/)
3962
- });
3963
- var zGoogleEnableKeywordResponse = z.object({
3964
- id: z.string(),
3965
- status: z.enum(["ENABLED", "PAUSED"]),
3966
- dry_run: z.boolean(),
3967
- executed: z.boolean()
3968
- });
3969
- var zGoogleListConversionActionsPath = z.object({
3970
- connection_id: z.string()
3971
- });
3972
- var zGoogleListConversionActionsResponse = z.object({
3973
- object: z.literal("list"),
3974
- data: z.array(z.object({
3975
- id: z.string(),
3976
- name: z.string().nullable(),
3977
- status: z.enum([
3978
- "UNSPECIFIED",
3979
- "UNKNOWN",
3980
- "ENABLED",
3981
- "REMOVED",
3982
- "HIDDEN"
3983
- ]),
3984
- type: z.enum([
3985
- "UNSPECIFIED",
3986
- "UNKNOWN",
3987
- "AD_CALL",
3988
- "CLICK_TO_CALL",
3989
- "GOOGLE_PLAY_DOWNLOAD",
3990
- "GOOGLE_PLAY_IN_APP_PURCHASE",
3991
- "UPLOAD_CALLS",
3992
- "UPLOAD_CLICKS",
3993
- "WEBPAGE",
3994
- "WEBSITE_CALL",
3995
- "STORE_SALES_DIRECT_UPLOAD",
3996
- "STORE_SALES",
3997
- "FIREBASE_ANDROID_FIRST_OPEN",
3998
- "FIREBASE_ANDROID_IN_APP_PURCHASE",
3999
- "FIREBASE_ANDROID_CUSTOM",
4000
- "FIREBASE_IOS_FIRST_OPEN",
4001
- "FIREBASE_IOS_IN_APP_PURCHASE",
4002
- "FIREBASE_IOS_CUSTOM",
4003
- "THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN",
4004
- "THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE",
4005
- "THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM",
4006
- "THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN",
4007
- "THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE",
4008
- "THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM",
4009
- "ANDROID_APP_PRE_REGISTRATION",
4010
- "ANDROID_INSTALLS_ALL_OTHER_APPS",
4011
- "FLOODLIGHT_ACTION",
4012
- "FLOODLIGHT_TRANSACTION",
4013
- "GOOGLE_HOSTED",
4014
- "LEAD_FORM_SUBMIT",
4015
- "SALESFORCE",
4016
- "SEARCH_ADS_360",
4017
- "SMART_CAMPAIGN_AD_CLICKS_TO_CALL",
4018
- "SMART_CAMPAIGN_MAP_CLICKS_TO_CALL",
4019
- "SMART_CAMPAIGN_MAP_DIRECTIONS",
4020
- "SMART_CAMPAIGN_TRACKED_CALLS",
4021
- "STORE_VISITS",
4022
- "WEBPAGE_CODELESS",
4023
- "UNIVERSAL_ANALYTICS_GOAL",
4024
- "UNIVERSAL_ANALYTICS_TRANSACTION",
4025
- "GOOGLE_ANALYTICS_4_CUSTOM",
4026
- "GOOGLE_ANALYTICS_4_PURCHASE",
4027
- "GOOGLE_ANALYTICS_4_GENERATE_LEAD",
4028
- "GOOGLE_ANALYTICS_4_QUALIFY_LEAD",
4029
- "GOOGLE_ANALYTICS_4_CLOSE_CONVERT_LEAD",
4030
- "FIREBASE_ANDROID_GENERATE_LEAD",
4031
- "FIREBASE_ANDROID_QUALIFY_LEAD",
4032
- "FIREBASE_ANDROID_CLOSE_CONVERT_LEAD",
4033
- "FIREBASE_IOS_GENERATE_LEAD",
4034
- "FIREBASE_IOS_QUALIFY_LEAD",
4035
- "FIREBASE_IOS_CLOSE_CONVERT_LEAD"
4036
- ]),
4037
- category: z.enum([
4038
- "UNSPECIFIED",
4039
- "UNKNOWN",
4040
- "DEFAULT",
4041
- "PAGE_VIEW",
4042
- "PURCHASE",
4043
- "SIGNUP",
4044
- "DOWNLOAD",
4045
- "ADD_TO_CART",
4046
- "BEGIN_CHECKOUT",
4047
- "SUBSCRIBE_PAID",
4048
- "PHONE_CALL_LEAD",
4049
- "IMPORTED_LEAD",
4050
- "SUBMIT_LEAD_FORM",
4051
- "BOOK_APPOINTMENT",
4052
- "REQUEST_QUOTE",
4053
- "GET_DIRECTIONS",
4054
- "OUTBOUND_CLICK",
4055
- "CONTACT",
4056
- "ENGAGEMENT",
4057
- "STORE_VISIT",
4058
- "STORE_SALE",
4059
- "QUALIFIED_LEAD",
4060
- "CONVERTED_LEAD",
4061
- "YOUTUBE_FOLLOW_ON_VIEWS"
4062
- ]),
4063
- origin: z.enum([
4064
- "UNSPECIFIED",
4065
- "UNKNOWN",
4066
- "WEBSITE",
4067
- "GOOGLE_HOSTED",
4068
- "APP",
4069
- "CALL_FROM_ADS",
4070
- "STORE",
4071
- "YOUTUBE_HOSTED"
4072
- ]),
4073
- primary_for_goal: z.boolean(),
4074
- counting_type: z.enum([
4075
- "UNSPECIFIED",
4076
- "UNKNOWN",
4077
- "ONE_PER_CLICK",
4078
- "MANY_PER_CLICK"
4079
- ]),
4080
- click_through_lookback_window_days: z.number().nullable(),
4081
- view_through_lookback_window_days: z.number().nullable(),
4082
- value_settings: z.object({
4083
- default_value: z.number().nullable(),
4084
- default_currency_code: z.string().nullable(),
4085
- always_use_default_value: z.boolean().nullable()
4086
- }).nullable(),
4087
- tag_snippets: z.array(z.object({
4088
- type: z.enum([
4089
- "UNSPECIFIED",
4090
- "UNKNOWN",
4091
- "WEBPAGE",
4092
- "WEBPAGE_ONCLICK",
4093
- "CLICK_TO_CALL",
4094
- "WEBSITE_CALL"
4095
- ]),
4096
- page_format: z.enum([
4097
- "UNSPECIFIED",
4098
- "UNKNOWN",
4099
- "HTML",
4100
- "AMP"
4101
- ]),
4102
- global_site_tag: z.string().nullable(),
4103
- event_snippet: z.string().nullable()
4104
- }))
4105
- }))
4106
- });
4107
- var zGoogleCreateConversionActionBody = z.object({
4108
- name: z.string().min(1).max(255),
4109
- type: z.enum(["WEBPAGE", "UPLOAD_CLICKS"]),
4110
- category: z.enum([
4111
- "DEFAULT",
4112
- "PAGE_VIEW",
4113
- "PURCHASE",
4114
- "SIGNUP",
4115
- "DOWNLOAD",
4116
- "ADD_TO_CART",
4117
- "BEGIN_CHECKOUT",
4118
- "SUBSCRIBE_PAID",
4119
- "PHONE_CALL_LEAD",
4120
- "IMPORTED_LEAD",
4121
- "SUBMIT_LEAD_FORM",
4122
- "BOOK_APPOINTMENT",
4123
- "REQUEST_QUOTE",
4124
- "GET_DIRECTIONS",
4125
- "OUTBOUND_CLICK",
4126
- "CONTACT",
4127
- "ENGAGEMENT",
4128
- "STORE_VISIT",
4129
- "STORE_SALE",
4130
- "QUALIFIED_LEAD",
4131
- "CONVERTED_LEAD",
4132
- "YOUTUBE_FOLLOW_ON_VIEWS"
4133
- ]),
4134
- status: z.enum(["ENABLED"]).optional().default("ENABLED"),
4135
- value_settings: z.object({
4136
- default_value: z.number().gte(0).optional(),
4137
- default_currency_code: z.string().length(3).optional(),
4138
- always_use_default_value: z.boolean().optional()
4139
- }).optional(),
4140
- counting_type: z.enum(["ONE_PER_CLICK", "MANY_PER_CLICK"]).optional(),
4141
- click_through_lookback_window_days: z.int().gt(0).lte(9007199254740991).optional(),
4142
- view_through_lookback_window_days: z.int().gt(0).lte(9007199254740991).optional(),
4143
- dry_run: z.boolean().optional().default(false)
4144
- });
4145
- var zGoogleCreateConversionActionHeaders = z.object({
4146
- "Idempotency-Key": z.string().min(1).max(255).optional()
4147
- });
4148
- var zGoogleCreateConversionActionPath = z.object({
4149
- connection_id: z.string()
4150
- });
4151
- var zGoogleCreateConversionActionResponse = zGoogleAdsCreateResult;
4152
- var zGoogleGetConversionActionPath = z.object({
4153
- connection_id: z.string(),
4154
- id: z.string().regex(/^\d+$/)
4155
- });
4156
- var zGoogleGetConversionActionResponse = z.object({
4157
- id: z.string(),
4158
- name: z.string().nullable(),
4159
- status: z.enum([
4160
- "UNSPECIFIED",
4161
- "UNKNOWN",
4162
- "ENABLED",
4163
- "REMOVED",
4164
- "HIDDEN"
4165
- ]),
4166
- type: z.enum([
4167
- "UNSPECIFIED",
4168
- "UNKNOWN",
4169
- "AD_CALL",
4170
- "CLICK_TO_CALL",
4171
- "GOOGLE_PLAY_DOWNLOAD",
4172
- "GOOGLE_PLAY_IN_APP_PURCHASE",
4173
- "UPLOAD_CALLS",
4174
- "UPLOAD_CLICKS",
4175
- "WEBPAGE",
4176
- "WEBSITE_CALL",
4177
- "STORE_SALES_DIRECT_UPLOAD",
4178
- "STORE_SALES",
4179
- "FIREBASE_ANDROID_FIRST_OPEN",
4180
- "FIREBASE_ANDROID_IN_APP_PURCHASE",
4181
- "FIREBASE_ANDROID_CUSTOM",
4182
- "FIREBASE_IOS_FIRST_OPEN",
4183
- "FIREBASE_IOS_IN_APP_PURCHASE",
4184
- "FIREBASE_IOS_CUSTOM",
4185
- "THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN",
4186
- "THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE",
4187
- "THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM",
4188
- "THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN",
4189
- "THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE",
4190
- "THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM",
4191
- "ANDROID_APP_PRE_REGISTRATION",
4192
- "ANDROID_INSTALLS_ALL_OTHER_APPS",
4193
- "FLOODLIGHT_ACTION",
4194
- "FLOODLIGHT_TRANSACTION",
4195
- "GOOGLE_HOSTED",
4196
- "LEAD_FORM_SUBMIT",
4197
- "SALESFORCE",
4198
- "SEARCH_ADS_360",
4199
- "SMART_CAMPAIGN_AD_CLICKS_TO_CALL",
4200
- "SMART_CAMPAIGN_MAP_CLICKS_TO_CALL",
4201
- "SMART_CAMPAIGN_MAP_DIRECTIONS",
4202
- "SMART_CAMPAIGN_TRACKED_CALLS",
4203
- "STORE_VISITS",
4204
- "WEBPAGE_CODELESS",
4205
- "UNIVERSAL_ANALYTICS_GOAL",
4206
- "UNIVERSAL_ANALYTICS_TRANSACTION",
4207
- "GOOGLE_ANALYTICS_4_CUSTOM",
4208
- "GOOGLE_ANALYTICS_4_PURCHASE",
4209
- "GOOGLE_ANALYTICS_4_GENERATE_LEAD",
4210
- "GOOGLE_ANALYTICS_4_QUALIFY_LEAD",
4211
- "GOOGLE_ANALYTICS_4_CLOSE_CONVERT_LEAD",
4212
- "FIREBASE_ANDROID_GENERATE_LEAD",
4213
- "FIREBASE_ANDROID_QUALIFY_LEAD",
4214
- "FIREBASE_ANDROID_CLOSE_CONVERT_LEAD",
4215
- "FIREBASE_IOS_GENERATE_LEAD",
4216
- "FIREBASE_IOS_QUALIFY_LEAD",
4217
- "FIREBASE_IOS_CLOSE_CONVERT_LEAD"
4218
- ]),
4219
- category: z.enum([
4220
- "UNSPECIFIED",
4221
- "UNKNOWN",
4222
- "DEFAULT",
4223
- "PAGE_VIEW",
4224
- "PURCHASE",
4225
- "SIGNUP",
4226
- "DOWNLOAD",
4227
- "ADD_TO_CART",
4228
- "BEGIN_CHECKOUT",
4229
- "SUBSCRIBE_PAID",
4230
- "PHONE_CALL_LEAD",
4231
- "IMPORTED_LEAD",
4232
- "SUBMIT_LEAD_FORM",
4233
- "BOOK_APPOINTMENT",
4234
- "REQUEST_QUOTE",
4235
- "GET_DIRECTIONS",
4236
- "OUTBOUND_CLICK",
4237
- "CONTACT",
4238
- "ENGAGEMENT",
4239
- "STORE_VISIT",
4240
- "STORE_SALE",
4241
- "QUALIFIED_LEAD",
4242
- "CONVERTED_LEAD",
4243
- "YOUTUBE_FOLLOW_ON_VIEWS"
4244
- ]),
4245
- origin: z.enum([
4246
- "UNSPECIFIED",
4247
- "UNKNOWN",
4248
- "WEBSITE",
4249
- "GOOGLE_HOSTED",
4250
- "APP",
4251
- "CALL_FROM_ADS",
4252
- "STORE",
4253
- "YOUTUBE_HOSTED"
4254
- ]),
4255
- primary_for_goal: z.boolean(),
4256
- counting_type: z.enum([
4257
- "UNSPECIFIED",
4258
- "UNKNOWN",
4259
- "ONE_PER_CLICK",
4260
- "MANY_PER_CLICK"
4261
- ]),
4262
- click_through_lookback_window_days: z.number().nullable(),
4263
- view_through_lookback_window_days: z.number().nullable(),
4264
- value_settings: z.object({
4265
- default_value: z.number().nullable(),
4266
- default_currency_code: z.string().nullable(),
4267
- always_use_default_value: z.boolean().nullable()
4268
- }).nullable(),
4269
- tag_snippets: z.array(z.object({
4270
- type: z.enum([
4271
- "UNSPECIFIED",
4272
- "UNKNOWN",
4273
- "WEBPAGE",
4274
- "WEBPAGE_ONCLICK",
4275
- "CLICK_TO_CALL",
4276
- "WEBSITE_CALL"
4277
- ]),
4278
- page_format: z.enum([
4279
- "UNSPECIFIED",
4280
- "UNKNOWN",
4281
- "HTML",
4282
- "AMP"
4283
- ]),
4284
- global_site_tag: z.string().nullable(),
4285
- event_snippet: z.string().nullable()
4286
- }))
4287
- });
4288
- var zGoogleUpdateConversionActionBody = z.object({
4289
- name: z.string().min(1).max(255).optional(),
4290
- category: z.enum([
4291
- "DEFAULT",
4292
- "PAGE_VIEW",
4293
- "PURCHASE",
4294
- "SIGNUP",
4295
- "DOWNLOAD",
4296
- "ADD_TO_CART",
4297
- "BEGIN_CHECKOUT",
4298
- "SUBSCRIBE_PAID",
4299
- "PHONE_CALL_LEAD",
4300
- "IMPORTED_LEAD",
4301
- "SUBMIT_LEAD_FORM",
4302
- "BOOK_APPOINTMENT",
4303
- "REQUEST_QUOTE",
4304
- "GET_DIRECTIONS",
4305
- "OUTBOUND_CLICK",
4306
- "CONTACT",
4307
- "ENGAGEMENT",
4308
- "STORE_VISIT",
4309
- "STORE_SALE",
4310
- "QUALIFIED_LEAD",
4311
- "CONVERTED_LEAD",
4312
- "YOUTUBE_FOLLOW_ON_VIEWS"
4313
- ]).optional(),
4314
- status: z.enum(["ENABLED"]).optional(),
4315
- value_settings: z.object({
4316
- default_value: z.number().gte(0).optional(),
4317
- default_currency_code: z.string().length(3).optional(),
4318
- always_use_default_value: z.boolean().optional()
4319
- }).optional(),
4320
- counting_type: z.enum(["ONE_PER_CLICK", "MANY_PER_CLICK"]).optional(),
4321
- click_through_lookback_window_days: z.int().gt(0).lte(9007199254740991).optional(),
4322
- view_through_lookback_window_days: z.int().gt(0).lte(9007199254740991).optional(),
4323
- primary_for_goal: z.boolean().optional(),
4324
- dry_run: z.boolean().optional().default(false)
4325
- });
4326
- var zGoogleUpdateConversionActionHeaders = z.object({
4327
- "Idempotency-Key": z.string().min(1).max(255).optional()
4328
- });
4329
- var zGoogleUpdateConversionActionPath = z.object({
4330
- connection_id: z.string(),
4331
- id: z.string().regex(/^\d+$/)
4332
- });
4333
- var zGoogleUpdateConversionActionResponse = zGoogleAdsEditResult;
4334
- var zGoogleRemoveConversionActionBody = z.object({
4335
- dry_run: z.boolean().optional().default(false)
4336
- });
4337
- var zGoogleRemoveConversionActionHeaders = z.object({
4338
- "Idempotency-Key": z.string().min(1).max(255).optional()
4339
- });
4340
- var zGoogleRemoveConversionActionPath = z.object({
4341
- connection_id: z.string(),
4342
- id: z.string().regex(/^\d+$/)
4343
- });
4344
- var zGoogleRemoveConversionActionResponse = zGoogleAdsDeleteResult;
4345
- var zGoogleSendConversionsBody = z.object({
4346
- conversion_action_id: z.string().regex(/^\d+$/),
4347
- conversions: z.array(zGoogleAdsConversionEvent).min(1).max(2e3),
4348
- consent: zGoogleAdsConversionConsent.optional(),
4349
- dry_run: z.boolean().optional().default(false)
4350
- });
4351
- var zGoogleSendConversionsHeaders = z.object({
4352
- "Idempotency-Key": z.string().min(1).max(255).optional()
4353
- });
4354
- var zGoogleSendConversionsPath = z.object({
4355
- connection_id: z.string()
4356
- });
4357
- var zGoogleSendConversionsResponse = zGoogleAdsSendConversionsResult;
4358
- var zGoogleGetConversionStatusPath = z.object({
4359
- connection_id: z.string()
4360
- });
4361
- var zGoogleGetConversionStatusQuery = z.object({
4362
- request_id: z.string().min(1)
4363
- });
4364
- var zGoogleGetConversionStatusResponse = zGoogleAdsConversionStatus;
4365
- var zGoogleListConversionRequestsPath = z.object({
4366
- connection_id: z.string()
4367
- });
4368
- var zGoogleListConversionRequestsQuery = z.object({
4369
- limit: z.int().gte(1).lte(100).optional().default(20),
4370
- offset: z.int().gte(0).lte(9007199254740991).optional().default(0)
4371
- });
4372
- var zGoogleListConversionRequestsResponse = z.object({
4373
- object: z.literal("list"),
4374
- data: z.array(zGoogleAdsConversionRequest),
4375
- total: z.int().gte(-9007199254740991).lte(9007199254740991),
4376
- limit: z.int().gte(-9007199254740991).lte(9007199254740991),
4377
- offset: z.int().gte(-9007199254740991).lte(9007199254740991),
4378
- has_more: z.boolean()
4379
- });
4380
- var zGoogleListConversionGoalsPath = z.object({
4381
- connection_id: z.string()
4382
- });
4383
- var zGoogleListConversionGoalsResponse = z.object({
4384
- object: z.literal("list"),
4385
- data: z.array(z.object({
4386
- category: z.enum([
4387
- "UNSPECIFIED",
4388
- "UNKNOWN",
4389
- "DEFAULT",
4390
- "PAGE_VIEW",
4391
- "PURCHASE",
4392
- "SIGNUP",
4393
- "DOWNLOAD",
4394
- "ADD_TO_CART",
4395
- "BEGIN_CHECKOUT",
4396
- "SUBSCRIBE_PAID",
4397
- "PHONE_CALL_LEAD",
4398
- "IMPORTED_LEAD",
4399
- "SUBMIT_LEAD_FORM",
4400
- "BOOK_APPOINTMENT",
4401
- "REQUEST_QUOTE",
4402
- "GET_DIRECTIONS",
4403
- "OUTBOUND_CLICK",
4404
- "CONTACT",
4405
- "ENGAGEMENT",
4406
- "STORE_VISIT",
4407
- "STORE_SALE",
4408
- "QUALIFIED_LEAD",
4409
- "CONVERTED_LEAD",
4410
- "YOUTUBE_FOLLOW_ON_VIEWS"
4411
- ]),
4412
- origin: z.enum([
4413
- "UNSPECIFIED",
4414
- "UNKNOWN",
4415
- "WEBSITE",
4416
- "GOOGLE_HOSTED",
4417
- "APP",
4418
- "CALL_FROM_ADS",
4419
- "STORE",
4420
- "YOUTUBE_HOSTED"
4421
- ]),
4422
- biddable: z.boolean()
4423
- }))
4424
- });
4425
- var zGoogleSetConversionGoalBody = z.object({
4426
- category: z.enum([
4427
- "DEFAULT",
4428
- "PAGE_VIEW",
4429
- "PURCHASE",
4430
- "SIGNUP",
4431
- "DOWNLOAD",
4432
- "ADD_TO_CART",
4433
- "BEGIN_CHECKOUT",
4434
- "SUBSCRIBE_PAID",
4435
- "PHONE_CALL_LEAD",
4436
- "IMPORTED_LEAD",
4437
- "SUBMIT_LEAD_FORM",
4438
- "BOOK_APPOINTMENT",
4439
- "REQUEST_QUOTE",
4440
- "GET_DIRECTIONS",
4441
- "OUTBOUND_CLICK",
4442
- "CONTACT",
4443
- "ENGAGEMENT",
4444
- "STORE_VISIT",
4445
- "STORE_SALE",
4446
- "QUALIFIED_LEAD",
4447
- "CONVERTED_LEAD",
4448
- "YOUTUBE_FOLLOW_ON_VIEWS"
4449
- ]),
4450
- origin: z.enum([
4451
- "WEBSITE",
4452
- "GOOGLE_HOSTED",
4453
- "APP",
4454
- "CALL_FROM_ADS",
4455
- "STORE",
4456
- "YOUTUBE_HOSTED"
4457
- ]),
4458
- biddable: z.boolean(),
4459
- dry_run: z.boolean().optional().default(false)
4460
- });
4461
- var zGoogleSetConversionGoalHeaders = z.object({
4462
- "Idempotency-Key": z.string().min(1).max(255).optional()
4463
- });
4464
- var zGoogleSetConversionGoalPath = z.object({
4465
- connection_id: z.string()
4466
- });
4467
- var zGoogleSetConversionGoalResponse = z.object({
4468
- category: z.enum([
4469
- "UNSPECIFIED",
4470
- "UNKNOWN",
4471
- "DEFAULT",
4472
- "PAGE_VIEW",
4473
- "PURCHASE",
4474
- "SIGNUP",
4475
- "DOWNLOAD",
4476
- "ADD_TO_CART",
4477
- "BEGIN_CHECKOUT",
4478
- "SUBSCRIBE_PAID",
4479
- "PHONE_CALL_LEAD",
4480
- "IMPORTED_LEAD",
4481
- "SUBMIT_LEAD_FORM",
4482
- "BOOK_APPOINTMENT",
4483
- "REQUEST_QUOTE",
4484
- "GET_DIRECTIONS",
4485
- "OUTBOUND_CLICK",
4486
- "CONTACT",
4487
- "ENGAGEMENT",
4488
- "STORE_VISIT",
4489
- "STORE_SALE",
4490
- "QUALIFIED_LEAD",
4491
- "CONVERTED_LEAD",
4492
- "YOUTUBE_FOLLOW_ON_VIEWS"
4493
- ]),
4494
- origin: z.enum([
4495
- "UNSPECIFIED",
4496
- "UNKNOWN",
4497
- "WEBSITE",
4498
- "GOOGLE_HOSTED",
4499
- "APP",
4500
- "CALL_FROM_ADS",
4501
- "STORE",
4502
- "YOUTUBE_HOSTED"
4503
- ]),
4504
- biddable: z.boolean(),
4505
- dry_run: z.boolean(),
4506
- executed: z.boolean()
4507
- });
4508
- var zGoogleUploadImageAssetBody = z.object({
4509
- media_id: z.string(),
4510
- dry_run: z.boolean().optional().default(false)
4511
- });
4512
- var zGoogleUploadImageAssetHeaders = z.object({
4513
- "Idempotency-Key": z.string().min(1).max(255).optional()
4514
- });
4515
- var zGoogleUploadImageAssetPath = z.object({
4516
- connection_id: z.string()
4517
- });
4518
- var zGoogleUploadImageAssetResponse = zGoogleAdsCreateResult;
4519
- var zTiktokCreatorInfoPath = z.object({
4520
- id: z.string()
2105
+ var zTiktokCreatorInfoPath = z.object({
2106
+ id: z.string()
4521
2107
  });
4522
2108
  var zTiktokCreatorInfoResponse = zTikTokCreatorInfo;
4523
2109
  var zLogsListQuery = z.object({
@@ -4599,12 +2185,12 @@ var zLogsListResponse = z.object({
4599
2185
  "not_implemented",
4600
2186
  "connection_discovery_failed",
4601
2187
  "tiktok_creator_info_unavailable",
4602
- "tiktok_cannot_post_now",
4603
2188
  "media_processing",
4604
2189
  "media_upload_init_failed",
4605
2190
  "media_upload_incomplete",
4606
2191
  "media_upload_invalid_parts",
4607
2192
  "not_publishable",
2193
+ "post_not_retryable",
4608
2194
  "invalid_connection",
4609
2195
  "invalid_media",
4610
2196
  "profile_scope_invalid",
@@ -4655,6 +2241,7 @@ var zLogsListResponse = z.object({
4655
2241
  "x_rate_limited",
4656
2242
  "x_publish_failed",
4657
2243
  "x_media_upload_failed",
2244
+ "x_thread_incomplete",
4658
2245
  "linkedin_duplicate_content",
4659
2246
  "linkedin_auth_expired",
4660
2247
  "linkedin_permission_denied",
@@ -4672,6 +2259,7 @@ var zLogsListResponse = z.object({
4672
2259
  "instagram_media_unsupported",
4673
2260
  "instagram_not_authorized",
4674
2261
  "instagram_publish_failed",
2262
+ "instagram_comment_failed",
4675
2263
  "facebook_reel_processing",
4676
2264
  "facebook_reel_failed",
4677
2265
  "facebook_rate_limited",
@@ -4679,13 +2267,14 @@ var zLogsListResponse = z.object({
4679
2267
  "facebook_temporarily_blocked",
4680
2268
  "facebook_not_authorized",
4681
2269
  "facebook_publish_failed",
2270
+ "facebook_comment_failed",
4682
2271
  "tiktok_privacy_not_allowed",
2272
+ "tiktok_interaction_not_allowed",
2273
+ "tiktok_thumbnail_offset_invalid",
4683
2274
  "tiktok_duration_exceeds_max",
4684
2275
  "tiktok_media_processing",
4685
2276
  "tiktok_not_authorized",
4686
2277
  "tiktok_rate_limited",
4687
- "tiktok_url_ownership_unverified",
4688
- "tiktok_unaudited_private_only",
4689
2278
  "tiktok_spam_risk",
4690
2279
  "tiktok_file_format_invalid",
4691
2280
  "tiktok_duration_invalid",
@@ -4694,21 +2283,15 @@ var zLogsListResponse = z.object({
4694
2283
  "tiktok_media_pull_failed",
4695
2284
  "tiktok_server_error",
4696
2285
  "tiktok_publish_failed",
4697
- "google_rate_limited",
4698
- "google_server_error",
4699
- "google_auth_expired",
4700
- "google_permission_denied",
4701
- "google_request_failed",
4702
- "google_conversion_duplicate",
4703
- "google_conversion_invalid_click_id",
4704
- "google_conversion_event_too_old",
4705
- "google_conversion_consent_required",
4706
- "google_conversion_terms_not_signed",
4707
- "google_conversion_rejected",
4708
2286
  "post_publish_failed",
4709
2287
  "post_partially_published",
4710
2288
  "connection_platform_mismatch",
4711
- "connection_removed"
2289
+ "connection_removed",
2290
+ "publish_interrupted",
2291
+ "publish_outcome_unknown",
2292
+ "plan_limit_reached",
2293
+ "billing_required",
2294
+ "x_link_requires_paid_plan"
4712
2295
  ]),
4713
2296
  message: z.string()
4714
2297
  }).nullable(),
@@ -4759,12 +2342,142 @@ var zLogsListResponse = z.object({
4759
2342
  "not_implemented",
4760
2343
  "connection_discovery_failed",
4761
2344
  "tiktok_creator_info_unavailable",
4762
- "tiktok_cannot_post_now",
4763
2345
  "media_processing",
4764
2346
  "media_upload_init_failed",
4765
2347
  "media_upload_incomplete",
4766
2348
  "media_upload_invalid_parts",
4767
2349
  "not_publishable",
2350
+ "post_not_retryable",
2351
+ "invalid_connection",
2352
+ "invalid_media",
2353
+ "profile_scope_invalid",
2354
+ "media_unprobeable",
2355
+ "media_too_large",
2356
+ "media_aspect_ratio_unsupported",
2357
+ "media_resolution_too_low",
2358
+ "media_gif_unsupported",
2359
+ "media_format_recompressed",
2360
+ "media_resolution_downscaled",
2361
+ "video_container_unsupported",
2362
+ "video_codec_unsupported",
2363
+ "video_audio_codec_unsupported",
2364
+ "video_too_large",
2365
+ "video_too_small",
2366
+ "video_dimensions_unsupported",
2367
+ "video_dimensions_too_large",
2368
+ "video_fps_unsupported",
2369
+ "video_fps_too_low",
2370
+ "video_aspect_unsupported",
2371
+ "video_duration_too_short",
2372
+ "video_duration_exceeds_max",
2373
+ "video_transform_failed",
2374
+ "media_fetch_failed",
2375
+ "document_format_unsupported",
2376
+ "document_too_large",
2377
+ "document_too_many_pages",
2378
+ "media_format_indeterminate",
2379
+ "media_format_unsupported",
2380
+ "media_count_invalid",
2381
+ "body_too_long",
2382
+ "content_missing",
2383
+ "content_conflict",
2384
+ "content_incomplete",
2385
+ "media_type_mismatch",
2386
+ "tag_limit_exceeded",
2387
+ "reel_field_on_non_reel",
2388
+ "field_placement_invalid",
2389
+ "media_not_ready",
2390
+ "media_failed",
2391
+ "media_unsupported",
2392
+ "media_kind_mismatch",
2393
+ "variant_unparseable",
2394
+ "publishing_unavailable",
2395
+ "x_duplicate_content",
2396
+ "x_not_authorized",
2397
+ "x_access_not_permitted",
2398
+ "x_rate_limited",
2399
+ "x_publish_failed",
2400
+ "x_media_upload_failed",
2401
+ "x_thread_incomplete",
2402
+ "linkedin_duplicate_content",
2403
+ "linkedin_auth_expired",
2404
+ "linkedin_permission_denied",
2405
+ "linkedin_rate_limited",
2406
+ "linkedin_media_processing",
2407
+ "linkedin_media_failed",
2408
+ "linkedin_media_upload_failed",
2409
+ "linkedin_publish_failed",
2410
+ "instagram_media_processing",
2411
+ "instagram_container_expired",
2412
+ "instagram_container_failed",
2413
+ "instagram_rate_limited",
2414
+ "instagram_daily_limit_reached",
2415
+ "instagram_aspect_ratio_unsupported",
2416
+ "instagram_media_unsupported",
2417
+ "instagram_not_authorized",
2418
+ "instagram_publish_failed",
2419
+ "instagram_comment_failed",
2420
+ "facebook_reel_processing",
2421
+ "facebook_reel_failed",
2422
+ "facebook_rate_limited",
2423
+ "facebook_duplicate_content",
2424
+ "facebook_temporarily_blocked",
2425
+ "facebook_not_authorized",
2426
+ "facebook_publish_failed",
2427
+ "facebook_comment_failed",
2428
+ "tiktok_privacy_not_allowed",
2429
+ "tiktok_interaction_not_allowed",
2430
+ "tiktok_thumbnail_offset_invalid",
2431
+ "tiktok_duration_exceeds_max",
2432
+ "tiktok_media_processing",
2433
+ "tiktok_not_authorized",
2434
+ "tiktok_rate_limited",
2435
+ "tiktok_spam_risk",
2436
+ "tiktok_file_format_invalid",
2437
+ "tiktok_duration_invalid",
2438
+ "tiktok_frame_rate_invalid",
2439
+ "tiktok_resolution_invalid",
2440
+ "tiktok_media_pull_failed",
2441
+ "tiktok_server_error",
2442
+ "tiktok_publish_failed",
2443
+ "post_publish_failed",
2444
+ "post_partially_published",
2445
+ "connection_platform_mismatch",
2446
+ "connection_removed",
2447
+ "publish_interrupted",
2448
+ "publish_outcome_unknown",
2449
+ "plan_limit_reached",
2450
+ "billing_required",
2451
+ "x_link_requires_paid_plan"
2452
+ ]),
2453
+ message: z.string(),
2454
+ source: zErrorSource.optional(),
2455
+ display_error: z.string()
2456
+ }).nullable(),
2457
+ warning: z.object({
2458
+ code: z.enum([
2459
+ "unauthorized",
2460
+ "forbidden",
2461
+ "not_found",
2462
+ "conflict",
2463
+ "validation_failed",
2464
+ "rate_limited",
2465
+ "internal_error",
2466
+ "idempotency_key_invalid",
2467
+ "idempotency_key_reused",
2468
+ "idempotency_request_in_progress",
2469
+ "account_not_available",
2470
+ "connection_reauth_required",
2471
+ "connection_not_pending",
2472
+ "not_implemented",
2473
+ "connection_discovery_failed",
2474
+ "tiktok_creator_info_unavailable",
2475
+ "media_processing",
2476
+ "media_upload_init_failed",
2477
+ "media_upload_incomplete",
2478
+ "media_upload_invalid_parts",
2479
+ "not_publishable",
2480
+ "post_not_retryable",
4768
2481
  "invalid_connection",
4769
2482
  "invalid_media",
4770
2483
  "profile_scope_invalid",
@@ -4815,6 +2528,7 @@ var zLogsListResponse = z.object({
4815
2528
  "x_rate_limited",
4816
2529
  "x_publish_failed",
4817
2530
  "x_media_upload_failed",
2531
+ "x_thread_incomplete",
4818
2532
  "linkedin_duplicate_content",
4819
2533
  "linkedin_auth_expired",
4820
2534
  "linkedin_permission_denied",
@@ -4832,6 +2546,7 @@ var zLogsListResponse = z.object({
4832
2546
  "instagram_media_unsupported",
4833
2547
  "instagram_not_authorized",
4834
2548
  "instagram_publish_failed",
2549
+ "instagram_comment_failed",
4835
2550
  "facebook_reel_processing",
4836
2551
  "facebook_reel_failed",
4837
2552
  "facebook_rate_limited",
@@ -4839,13 +2554,14 @@ var zLogsListResponse = z.object({
4839
2554
  "facebook_temporarily_blocked",
4840
2555
  "facebook_not_authorized",
4841
2556
  "facebook_publish_failed",
2557
+ "facebook_comment_failed",
4842
2558
  "tiktok_privacy_not_allowed",
2559
+ "tiktok_interaction_not_allowed",
2560
+ "tiktok_thumbnail_offset_invalid",
4843
2561
  "tiktok_duration_exceeds_max",
4844
2562
  "tiktok_media_processing",
4845
2563
  "tiktok_not_authorized",
4846
2564
  "tiktok_rate_limited",
4847
- "tiktok_url_ownership_unverified",
4848
- "tiktok_unaudited_private_only",
4849
2565
  "tiktok_spam_risk",
4850
2566
  "tiktok_file_format_invalid",
4851
2567
  "tiktok_duration_invalid",
@@ -4854,25 +2570,20 @@ var zLogsListResponse = z.object({
4854
2570
  "tiktok_media_pull_failed",
4855
2571
  "tiktok_server_error",
4856
2572
  "tiktok_publish_failed",
4857
- "google_rate_limited",
4858
- "google_server_error",
4859
- "google_auth_expired",
4860
- "google_permission_denied",
4861
- "google_request_failed",
4862
- "google_conversion_duplicate",
4863
- "google_conversion_invalid_click_id",
4864
- "google_conversion_event_too_old",
4865
- "google_conversion_consent_required",
4866
- "google_conversion_terms_not_signed",
4867
- "google_conversion_rejected",
4868
2573
  "post_publish_failed",
4869
2574
  "post_partially_published",
4870
2575
  "connection_platform_mismatch",
4871
- "connection_removed"
2576
+ "connection_removed",
2577
+ "publish_interrupted",
2578
+ "publish_outcome_unknown",
2579
+ "plan_limit_reached",
2580
+ "billing_required",
2581
+ "x_link_requires_paid_plan"
4872
2582
  ]),
4873
2583
  message: z.string(),
2584
+ source: zErrorSource.optional(),
4874
2585
  display_error: z.string()
4875
- }).nullable()
2586
+ }).optional()
4876
2587
  }))
4877
2588
  }).nullable(),
4878
2589
  external_id: z.string().nullable(),
@@ -4940,12 +2651,12 @@ var zLogsGetResponse = z.object({
4940
2651
  "not_implemented",
4941
2652
  "connection_discovery_failed",
4942
2653
  "tiktok_creator_info_unavailable",
4943
- "tiktok_cannot_post_now",
4944
2654
  "media_processing",
4945
2655
  "media_upload_init_failed",
4946
2656
  "media_upload_incomplete",
4947
2657
  "media_upload_invalid_parts",
4948
2658
  "not_publishable",
2659
+ "post_not_retryable",
4949
2660
  "invalid_connection",
4950
2661
  "invalid_media",
4951
2662
  "profile_scope_invalid",
@@ -4996,6 +2707,7 @@ var zLogsGetResponse = z.object({
4996
2707
  "x_rate_limited",
4997
2708
  "x_publish_failed",
4998
2709
  "x_media_upload_failed",
2710
+ "x_thread_incomplete",
4999
2711
  "linkedin_duplicate_content",
5000
2712
  "linkedin_auth_expired",
5001
2713
  "linkedin_permission_denied",
@@ -5013,6 +2725,7 @@ var zLogsGetResponse = z.object({
5013
2725
  "instagram_media_unsupported",
5014
2726
  "instagram_not_authorized",
5015
2727
  "instagram_publish_failed",
2728
+ "instagram_comment_failed",
5016
2729
  "facebook_reel_processing",
5017
2730
  "facebook_reel_failed",
5018
2731
  "facebook_rate_limited",
@@ -5020,13 +2733,14 @@ var zLogsGetResponse = z.object({
5020
2733
  "facebook_temporarily_blocked",
5021
2734
  "facebook_not_authorized",
5022
2735
  "facebook_publish_failed",
2736
+ "facebook_comment_failed",
5023
2737
  "tiktok_privacy_not_allowed",
2738
+ "tiktok_interaction_not_allowed",
2739
+ "tiktok_thumbnail_offset_invalid",
5024
2740
  "tiktok_duration_exceeds_max",
5025
2741
  "tiktok_media_processing",
5026
2742
  "tiktok_not_authorized",
5027
2743
  "tiktok_rate_limited",
5028
- "tiktok_url_ownership_unverified",
5029
- "tiktok_unaudited_private_only",
5030
2744
  "tiktok_spam_risk",
5031
2745
  "tiktok_file_format_invalid",
5032
2746
  "tiktok_duration_invalid",
@@ -5035,21 +2749,15 @@ var zLogsGetResponse = z.object({
5035
2749
  "tiktok_media_pull_failed",
5036
2750
  "tiktok_server_error",
5037
2751
  "tiktok_publish_failed",
5038
- "google_rate_limited",
5039
- "google_server_error",
5040
- "google_auth_expired",
5041
- "google_permission_denied",
5042
- "google_request_failed",
5043
- "google_conversion_duplicate",
5044
- "google_conversion_invalid_click_id",
5045
- "google_conversion_event_too_old",
5046
- "google_conversion_consent_required",
5047
- "google_conversion_terms_not_signed",
5048
- "google_conversion_rejected",
5049
2752
  "post_publish_failed",
5050
2753
  "post_partially_published",
5051
2754
  "connection_platform_mismatch",
5052
- "connection_removed"
2755
+ "connection_removed",
2756
+ "publish_interrupted",
2757
+ "publish_outcome_unknown",
2758
+ "plan_limit_reached",
2759
+ "billing_required",
2760
+ "x_link_requires_paid_plan"
5053
2761
  ]),
5054
2762
  message: z.string()
5055
2763
  }).nullable(),
@@ -5100,12 +2808,142 @@ var zLogsGetResponse = z.object({
5100
2808
  "not_implemented",
5101
2809
  "connection_discovery_failed",
5102
2810
  "tiktok_creator_info_unavailable",
5103
- "tiktok_cannot_post_now",
5104
2811
  "media_processing",
5105
2812
  "media_upload_init_failed",
5106
2813
  "media_upload_incomplete",
5107
2814
  "media_upload_invalid_parts",
5108
2815
  "not_publishable",
2816
+ "post_not_retryable",
2817
+ "invalid_connection",
2818
+ "invalid_media",
2819
+ "profile_scope_invalid",
2820
+ "media_unprobeable",
2821
+ "media_too_large",
2822
+ "media_aspect_ratio_unsupported",
2823
+ "media_resolution_too_low",
2824
+ "media_gif_unsupported",
2825
+ "media_format_recompressed",
2826
+ "media_resolution_downscaled",
2827
+ "video_container_unsupported",
2828
+ "video_codec_unsupported",
2829
+ "video_audio_codec_unsupported",
2830
+ "video_too_large",
2831
+ "video_too_small",
2832
+ "video_dimensions_unsupported",
2833
+ "video_dimensions_too_large",
2834
+ "video_fps_unsupported",
2835
+ "video_fps_too_low",
2836
+ "video_aspect_unsupported",
2837
+ "video_duration_too_short",
2838
+ "video_duration_exceeds_max",
2839
+ "video_transform_failed",
2840
+ "media_fetch_failed",
2841
+ "document_format_unsupported",
2842
+ "document_too_large",
2843
+ "document_too_many_pages",
2844
+ "media_format_indeterminate",
2845
+ "media_format_unsupported",
2846
+ "media_count_invalid",
2847
+ "body_too_long",
2848
+ "content_missing",
2849
+ "content_conflict",
2850
+ "content_incomplete",
2851
+ "media_type_mismatch",
2852
+ "tag_limit_exceeded",
2853
+ "reel_field_on_non_reel",
2854
+ "field_placement_invalid",
2855
+ "media_not_ready",
2856
+ "media_failed",
2857
+ "media_unsupported",
2858
+ "media_kind_mismatch",
2859
+ "variant_unparseable",
2860
+ "publishing_unavailable",
2861
+ "x_duplicate_content",
2862
+ "x_not_authorized",
2863
+ "x_access_not_permitted",
2864
+ "x_rate_limited",
2865
+ "x_publish_failed",
2866
+ "x_media_upload_failed",
2867
+ "x_thread_incomplete",
2868
+ "linkedin_duplicate_content",
2869
+ "linkedin_auth_expired",
2870
+ "linkedin_permission_denied",
2871
+ "linkedin_rate_limited",
2872
+ "linkedin_media_processing",
2873
+ "linkedin_media_failed",
2874
+ "linkedin_media_upload_failed",
2875
+ "linkedin_publish_failed",
2876
+ "instagram_media_processing",
2877
+ "instagram_container_expired",
2878
+ "instagram_container_failed",
2879
+ "instagram_rate_limited",
2880
+ "instagram_daily_limit_reached",
2881
+ "instagram_aspect_ratio_unsupported",
2882
+ "instagram_media_unsupported",
2883
+ "instagram_not_authorized",
2884
+ "instagram_publish_failed",
2885
+ "instagram_comment_failed",
2886
+ "facebook_reel_processing",
2887
+ "facebook_reel_failed",
2888
+ "facebook_rate_limited",
2889
+ "facebook_duplicate_content",
2890
+ "facebook_temporarily_blocked",
2891
+ "facebook_not_authorized",
2892
+ "facebook_publish_failed",
2893
+ "facebook_comment_failed",
2894
+ "tiktok_privacy_not_allowed",
2895
+ "tiktok_interaction_not_allowed",
2896
+ "tiktok_thumbnail_offset_invalid",
2897
+ "tiktok_duration_exceeds_max",
2898
+ "tiktok_media_processing",
2899
+ "tiktok_not_authorized",
2900
+ "tiktok_rate_limited",
2901
+ "tiktok_spam_risk",
2902
+ "tiktok_file_format_invalid",
2903
+ "tiktok_duration_invalid",
2904
+ "tiktok_frame_rate_invalid",
2905
+ "tiktok_resolution_invalid",
2906
+ "tiktok_media_pull_failed",
2907
+ "tiktok_server_error",
2908
+ "tiktok_publish_failed",
2909
+ "post_publish_failed",
2910
+ "post_partially_published",
2911
+ "connection_platform_mismatch",
2912
+ "connection_removed",
2913
+ "publish_interrupted",
2914
+ "publish_outcome_unknown",
2915
+ "plan_limit_reached",
2916
+ "billing_required",
2917
+ "x_link_requires_paid_plan"
2918
+ ]),
2919
+ message: z.string(),
2920
+ source: zErrorSource.optional(),
2921
+ display_error: z.string()
2922
+ }).nullable(),
2923
+ warning: z.object({
2924
+ code: z.enum([
2925
+ "unauthorized",
2926
+ "forbidden",
2927
+ "not_found",
2928
+ "conflict",
2929
+ "validation_failed",
2930
+ "rate_limited",
2931
+ "internal_error",
2932
+ "idempotency_key_invalid",
2933
+ "idempotency_key_reused",
2934
+ "idempotency_request_in_progress",
2935
+ "account_not_available",
2936
+ "connection_reauth_required",
2937
+ "connection_not_pending",
2938
+ "not_implemented",
2939
+ "connection_discovery_failed",
2940
+ "tiktok_creator_info_unavailable",
2941
+ "media_processing",
2942
+ "media_upload_init_failed",
2943
+ "media_upload_incomplete",
2944
+ "media_upload_invalid_parts",
2945
+ "not_publishable",
2946
+ "post_not_retryable",
5109
2947
  "invalid_connection",
5110
2948
  "invalid_media",
5111
2949
  "profile_scope_invalid",
@@ -5156,6 +2994,7 @@ var zLogsGetResponse = z.object({
5156
2994
  "x_rate_limited",
5157
2995
  "x_publish_failed",
5158
2996
  "x_media_upload_failed",
2997
+ "x_thread_incomplete",
5159
2998
  "linkedin_duplicate_content",
5160
2999
  "linkedin_auth_expired",
5161
3000
  "linkedin_permission_denied",
@@ -5173,6 +3012,7 @@ var zLogsGetResponse = z.object({
5173
3012
  "instagram_media_unsupported",
5174
3013
  "instagram_not_authorized",
5175
3014
  "instagram_publish_failed",
3015
+ "instagram_comment_failed",
5176
3016
  "facebook_reel_processing",
5177
3017
  "facebook_reel_failed",
5178
3018
  "facebook_rate_limited",
@@ -5180,13 +3020,14 @@ var zLogsGetResponse = z.object({
5180
3020
  "facebook_temporarily_blocked",
5181
3021
  "facebook_not_authorized",
5182
3022
  "facebook_publish_failed",
3023
+ "facebook_comment_failed",
5183
3024
  "tiktok_privacy_not_allowed",
3025
+ "tiktok_interaction_not_allowed",
3026
+ "tiktok_thumbnail_offset_invalid",
5184
3027
  "tiktok_duration_exceeds_max",
5185
3028
  "tiktok_media_processing",
5186
3029
  "tiktok_not_authorized",
5187
3030
  "tiktok_rate_limited",
5188
- "tiktok_url_ownership_unverified",
5189
- "tiktok_unaudited_private_only",
5190
3031
  "tiktok_spam_risk",
5191
3032
  "tiktok_file_format_invalid",
5192
3033
  "tiktok_duration_invalid",
@@ -5195,25 +3036,20 @@ var zLogsGetResponse = z.object({
5195
3036
  "tiktok_media_pull_failed",
5196
3037
  "tiktok_server_error",
5197
3038
  "tiktok_publish_failed",
5198
- "google_rate_limited",
5199
- "google_server_error",
5200
- "google_auth_expired",
5201
- "google_permission_denied",
5202
- "google_request_failed",
5203
- "google_conversion_duplicate",
5204
- "google_conversion_invalid_click_id",
5205
- "google_conversion_event_too_old",
5206
- "google_conversion_consent_required",
5207
- "google_conversion_terms_not_signed",
5208
- "google_conversion_rejected",
5209
3039
  "post_publish_failed",
5210
3040
  "post_partially_published",
5211
3041
  "connection_platform_mismatch",
5212
- "connection_removed"
3042
+ "connection_removed",
3043
+ "publish_interrupted",
3044
+ "publish_outcome_unknown",
3045
+ "plan_limit_reached",
3046
+ "billing_required",
3047
+ "x_link_requires_paid_plan"
5213
3048
  ]),
5214
3049
  message: z.string(),
3050
+ source: zErrorSource.optional(),
5215
3051
  display_error: z.string()
5216
- }).nullable()
3052
+ }).optional()
5217
3053
  }))
5218
3054
  }).nullable(),
5219
3055
  external_id: z.string().nullable(),
@@ -5253,7 +3089,9 @@ var zWebhooksCreateEndpointBody = z.object({
5253
3089
  "webhook.ping",
5254
3090
  "post.published",
5255
3091
  "post.failed",
5256
- "post.completed"
3092
+ "post.completed",
3093
+ "connection.needs_reauth",
3094
+ "connection.restored"
5257
3095
  ]))
5258
3096
  });
5259
3097
  var zWebhooksCreateEndpointHeaders = z.object({
@@ -5296,7 +3134,9 @@ var zWebhooksUpdateEndpointBody = z.object({
5296
3134
  "webhook.ping",
5297
3135
  "post.published",
5298
3136
  "post.failed",
5299
- "post.completed"
3137
+ "post.completed",
3138
+ "connection.needs_reauth",
3139
+ "connection.restored"
5300
3140
  ])).optional()
5301
3141
  });
5302
3142
  var zWebhooksUpdateEndpointPath = z.object({
@@ -5342,14 +3182,16 @@ var zTokensMintBody = z.object({
5342
3182
  scopes: z.array(z.enum([
5343
3183
  "profiles:read",
5344
3184
  "profiles:write",
3185
+ "profiles:delete",
5345
3186
  "connections:read",
5346
3187
  "connections:write",
5347
- "ads:read",
5348
- "ads:write",
3188
+ "connections:delete",
5349
3189
  "posts:read",
5350
3190
  "posts:write",
3191
+ "posts:delete",
5351
3192
  "media:read",
5352
- "media:write"
3193
+ "media:write",
3194
+ "media:delete"
5353
3195
  ])).min(1),
5354
3196
  ttl_seconds: z.int().gte(60).lte(1800).optional().default(900)
5355
3197
  });
@@ -5358,6 +3200,6 @@ var zTokensMintResponse = z.object({
5358
3200
  expires_at: z.string()
5359
3201
  });
5360
3202
 
5361
- export { zConnectSession, zConnection, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectHeaders, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeleteHeaders, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectHeaders, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, zErrorCode, zErrorSource, zGoogleAdTree, zGoogleAdTreeNode, zGoogleAdsAd, zGoogleAdsAdGroup, zGoogleAdsAdGroupCriterion, zGoogleAdsAudience, zGoogleAdsCampaignCriterion, zGoogleAdsConversionConsent, zGoogleAdsConversionEvent, zGoogleAdsConversionRequest, zGoogleAdsConversionStatus, zGoogleAdsConversionStatusReason, zGoogleAdsConversionUserIdentifier, zGoogleAdsConversionWarning, zGoogleAdsCreateAdGroupCriterionRequest, zGoogleAdsCreateCampaignCriterionRequest, zGoogleAdsCreateResult, zGoogleAdsDeleteResult, zGoogleAdsEditResult, zGoogleAdsGeoSettingsRequest, zGoogleAdsGeoTargetConstant, zGoogleAdsInsightLevel, zGoogleAdsInsightMetric, zGoogleAdsInsightSegment, zGoogleAdsInsights, zGoogleAdsInsightsQuery, zGoogleAdsInsightsRow, zGoogleAdsKeyword, zGoogleAdsReadStatusFilter, zGoogleAdsSendConversionsResult, zGoogleAdsUrlCustomParameter, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupCriterionBody, zGoogleCreateAdGroupCriterionHeaders, zGoogleCreateAdGroupCriterionPath, zGoogleCreateAdGroupCriterionResponse, zGoogleCreateAdGroupHeaders, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdHeaders, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetHeaders, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignCriterionBody, zGoogleCreateCampaignCriterionHeaders, zGoogleCreateCampaignCriterionPath, zGoogleCreateCampaignCriterionResponse, zGoogleCreateCampaignHeaders, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionHeaders, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdHeaders, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordHeaders, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleEditAccountBody, zGoogleEditAccountHeaders, zGoogleEditAccountPath, zGoogleEditAccountResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupHeaders, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetHeaders, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignHeaders, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupHeaders, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdHeaders, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignHeaders, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordHeaders, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetAdTreePath, zGoogleGetAdTreeQuery, zGoogleGetAdTreeResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetConversionStatusPath, zGoogleGetConversionStatusQuery, zGoogleGetConversionStatusResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupCriteriaPath, zGoogleListAdGroupCriteriaResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsQuery, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsQuery, zGoogleListAdsResponse, zGoogleListAudiencesPath, zGoogleListAudiencesQuery, zGoogleListAudiencesResponse, zGoogleListCampaignCriteriaPath, zGoogleListCampaignCriteriaResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListConversionRequestsPath, zGoogleListConversionRequestsQuery, zGoogleListConversionRequestsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsQuery, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupHeaders, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdHeaders, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignHeaders, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordHeaders, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRemoveAdBody, zGoogleRemoveAdGroupBody, zGoogleRemoveAdGroupCriterionBody, zGoogleRemoveAdGroupCriterionHeaders, zGoogleRemoveAdGroupCriterionPath, zGoogleRemoveAdGroupCriterionResponse, zGoogleRemoveAdGroupHeaders, zGoogleRemoveAdGroupPath, zGoogleRemoveAdGroupResponse, zGoogleRemoveAdHeaders, zGoogleRemoveAdPath, zGoogleRemoveAdResponse, zGoogleRemoveBudgetBody, zGoogleRemoveBudgetHeaders, zGoogleRemoveBudgetPath, zGoogleRemoveBudgetResponse, zGoogleRemoveCampaignBody, zGoogleRemoveCampaignCriterionBody, zGoogleRemoveCampaignCriterionHeaders, zGoogleRemoveCampaignCriterionPath, zGoogleRemoveCampaignCriterionResponse, zGoogleRemoveCampaignHeaders, zGoogleRemoveCampaignPath, zGoogleRemoveCampaignResponse, zGoogleRemoveConversionActionBody, zGoogleRemoveConversionActionHeaders, zGoogleRemoveConversionActionPath, zGoogleRemoveConversionActionResponse, zGoogleRemoveKeywordBody, zGoogleRemoveKeywordHeaders, zGoogleRemoveKeywordPath, zGoogleRemoveKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSearchGeoTargetsPath, zGoogleSearchGeoTargetsQuery, zGoogleSearchGeoTargetsResponse, zGoogleSendConversionsBody, zGoogleSendConversionsHeaders, zGoogleSendConversionsPath, zGoogleSendConversionsResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsHeaders, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetCampaignGeoSettingsBody, zGoogleSetCampaignGeoSettingsHeaders, zGoogleSetCampaignGeoSettingsPath, zGoogleSetCampaignGeoSettingsResponse, zGoogleSetCampaignTargetingSettingBody, zGoogleSetCampaignTargetingSettingHeaders, zGoogleSetCampaignTargetingSettingPath, zGoogleSetCampaignTargetingSettingResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalHeaders, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidHeaders, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUpdateConversionActionBody, zGoogleUpdateConversionActionHeaders, zGoogleUpdateConversionActionPath, zGoogleUpdateConversionActionResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetHeaders, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zIdempotencyKey, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMedia, zMediaAbortPath, zMediaAbortResponse, zMediaCompleteBody, zMediaCompletePath, zMediaCompleteResponse, zMediaCreateBody, zMediaCreateHeaders, zMediaCreateResponse, zMediaDeleteHeaders, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListPartsPath, zMediaListPartsResponse, zMediaListQuery, zMediaListResponse, zMediaSignPartBody, zMediaSignPartPath, zMediaSignPartResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdateHeaders, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPost, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantInput, zPostVariantStatus, zPostsCreateBody, zPostsCreateHeaders, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdateHeaders, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateHeaders, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokCreatorInfo, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointHeaders, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse };
5362
- //# sourceMappingURL=chunk-A6DM6I6G.js.map
5363
- //# sourceMappingURL=chunk-A6DM6I6G.js.map
3203
+ export { zConnectSession, zConnection, zConnectionKind, zConnectionStatus, zConnectionsConnectBody, zConnectionsConnectHeaders, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeleteHeaders, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectHeaders, zConnectionsSelectPath, zConnectionsSelectResponse, zCreatePostBody, zDiscoverableAccount, zErrorCode, zErrorSource, zIdempotencyKey, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMedia, zMediaAbortPath, zMediaAbortResponse, zMediaCompleteBody, zMediaCompletePath, zMediaCompleteResponse, zMediaCreateBody, zMediaCreateHeaders, zMediaCreateResponse, zMediaDeleteHeaders, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaKind, zMediaListPartsPath, zMediaListPartsResponse, zMediaListQuery, zMediaListResponse, zMediaSignPartBody, zMediaSignPartPath, zMediaSignPartResponse, zMediaStage, zMediaStatus, zMediaUpdateBody, zMediaUpdateHeaders, zMediaUpdatePath, zMediaUpdateResponse, zPost, zPostPlatform, zPostStatus, zPostType, zPostVariant, zPostVariantInput, zPostVariantStatus, zPostWriteResult, zPostsCreateBody, zPostsCreateHeaders, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsRetryBody, zPostsRetryHeaders, zPostsRetryPath, zPostsRetryResponse, zPostsUpdateBody, zPostsUpdateHeaders, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfile, zProfilesCreateBody, zProfilesCreateHeaders, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTikTokCreatorInfo, zTikTokPrivacyLevel, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointHeaders, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse };
3204
+ //# sourceMappingURL=chunk-VCOKMHAJ.js.map
3205
+ //# sourceMappingURL=chunk-VCOKMHAJ.js.map