@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.
@@ -40,12 +40,12 @@ var zErrorCode = z__namespace.enum([
40
40
  "not_implemented",
41
41
  "connection_discovery_failed",
42
42
  "tiktok_creator_info_unavailable",
43
- "tiktok_cannot_post_now",
44
43
  "media_processing",
45
44
  "media_upload_init_failed",
46
45
  "media_upload_incomplete",
47
46
  "media_upload_invalid_parts",
48
47
  "not_publishable",
48
+ "post_not_retryable",
49
49
  "invalid_connection",
50
50
  "invalid_media",
51
51
  "profile_scope_invalid",
@@ -96,6 +96,7 @@ var zErrorCode = z__namespace.enum([
96
96
  "x_rate_limited",
97
97
  "x_publish_failed",
98
98
  "x_media_upload_failed",
99
+ "x_thread_incomplete",
99
100
  "linkedin_duplicate_content",
100
101
  "linkedin_auth_expired",
101
102
  "linkedin_permission_denied",
@@ -113,6 +114,7 @@ var zErrorCode = z__namespace.enum([
113
114
  "instagram_media_unsupported",
114
115
  "instagram_not_authorized",
115
116
  "instagram_publish_failed",
117
+ "instagram_comment_failed",
116
118
  "facebook_reel_processing",
117
119
  "facebook_reel_failed",
118
120
  "facebook_rate_limited",
@@ -120,13 +122,14 @@ var zErrorCode = z__namespace.enum([
120
122
  "facebook_temporarily_blocked",
121
123
  "facebook_not_authorized",
122
124
  "facebook_publish_failed",
125
+ "facebook_comment_failed",
123
126
  "tiktok_privacy_not_allowed",
127
+ "tiktok_interaction_not_allowed",
128
+ "tiktok_thumbnail_offset_invalid",
124
129
  "tiktok_duration_exceeds_max",
125
130
  "tiktok_media_processing",
126
131
  "tiktok_not_authorized",
127
132
  "tiktok_rate_limited",
128
- "tiktok_url_ownership_unverified",
129
- "tiktok_unaudited_private_only",
130
133
  "tiktok_spam_risk",
131
134
  "tiktok_file_format_invalid",
132
135
  "tiktok_duration_invalid",
@@ -135,26 +138,18 @@ var zErrorCode = z__namespace.enum([
135
138
  "tiktok_media_pull_failed",
136
139
  "tiktok_server_error",
137
140
  "tiktok_publish_failed",
138
- "google_rate_limited",
139
- "google_server_error",
140
- "google_auth_expired",
141
- "google_permission_denied",
142
- "google_request_failed",
143
- "google_conversion_duplicate",
144
- "google_conversion_invalid_click_id",
145
- "google_conversion_event_too_old",
146
- "google_conversion_consent_required",
147
- "google_conversion_terms_not_signed",
148
- "google_conversion_rejected",
149
141
  "post_publish_failed",
150
142
  "post_partially_published",
151
143
  "connection_platform_mismatch",
152
- "connection_removed"
144
+ "connection_removed",
145
+ "publish_interrupted",
146
+ "publish_outcome_unknown",
147
+ "plan_limit_reached",
148
+ "billing_required",
149
+ "x_link_requires_paid_plan"
153
150
  ]);
154
151
  var zErrorSource = z__namespace.object({
155
152
  platform: z__namespace.enum([
156
- "google",
157
- "meta",
158
153
  "x",
159
154
  "linkedin",
160
155
  "instagram",
@@ -260,8 +255,7 @@ var zMedia = z__namespace.object({
260
255
  "media_fetch_failed",
261
256
  "document_format_unsupported",
262
257
  "document_too_large",
263
- "document_too_many_pages",
264
- "media_unsupported"
258
+ "document_too_many_pages"
265
259
  ]),
266
260
  message: z__namespace.string(),
267
261
  hint: z__namespace.string().optional(),
@@ -314,8 +308,7 @@ var zMedia = z__namespace.object({
314
308
  "media_fetch_failed",
315
309
  "document_format_unsupported",
316
310
  "document_too_large",
317
- "document_too_many_pages",
318
- "media_unsupported"
311
+ "document_too_many_pages"
319
312
  ]),
320
313
  message: z__namespace.string(),
321
314
  hint: z__namespace.string().optional(),
@@ -350,8 +343,7 @@ var zMedia = z__namespace.object({
350
343
  "media_fetch_failed",
351
344
  "document_format_unsupported",
352
345
  "document_too_large",
353
- "document_too_many_pages",
354
- "media_unsupported"
346
+ "document_too_many_pages"
355
347
  ]),
356
348
  message: z__namespace.string(),
357
349
  hint: z__namespace.string().optional(),
@@ -469,7 +461,14 @@ var zPostVariant = z__namespace.union([
469
461
  place_id: z__namespace.string()
470
462
  }).optional(),
471
463
  card_uri: z__namespace.string().optional(),
472
- media_tagged_user_ids: z__namespace.array(z__namespace.string().regex(/^[0-9]{1,19}$/)).max(10).optional()
464
+ media_tagged_user_ids: z__namespace.array(z__namespace.string().regex(/^[0-9]{1,19}$/)).max(10).optional(),
465
+ thread_items: z__namespace.array(z__namespace.object({
466
+ body: z__namespace.string().optional(),
467
+ media: z__namespace.array(z__namespace.object({
468
+ media_id: z__namespace.string(),
469
+ alt_text_override: z__namespace.string().nullish()
470
+ })).max(4).optional()
471
+ })).optional()
473
472
  }),
474
473
  id: z__namespace.string(),
475
474
  object: z__namespace.literal("post_variant"),
@@ -501,12 +500,12 @@ var zPostVariant = z__namespace.union([
501
500
  "not_implemented",
502
501
  "connection_discovery_failed",
503
502
  "tiktok_creator_info_unavailable",
504
- "tiktok_cannot_post_now",
505
503
  "media_processing",
506
504
  "media_upload_init_failed",
507
505
  "media_upload_incomplete",
508
506
  "media_upload_invalid_parts",
509
507
  "not_publishable",
508
+ "post_not_retryable",
510
509
  "invalid_connection",
511
510
  "invalid_media",
512
511
  "profile_scope_invalid",
@@ -557,6 +556,7 @@ var zPostVariant = z__namespace.union([
557
556
  "x_rate_limited",
558
557
  "x_publish_failed",
559
558
  "x_media_upload_failed",
559
+ "x_thread_incomplete",
560
560
  "linkedin_duplicate_content",
561
561
  "linkedin_auth_expired",
562
562
  "linkedin_permission_denied",
@@ -574,6 +574,7 @@ var zPostVariant = z__namespace.union([
574
574
  "instagram_media_unsupported",
575
575
  "instagram_not_authorized",
576
576
  "instagram_publish_failed",
577
+ "instagram_comment_failed",
577
578
  "facebook_reel_processing",
578
579
  "facebook_reel_failed",
579
580
  "facebook_rate_limited",
@@ -581,13 +582,14 @@ var zPostVariant = z__namespace.union([
581
582
  "facebook_temporarily_blocked",
582
583
  "facebook_not_authorized",
583
584
  "facebook_publish_failed",
585
+ "facebook_comment_failed",
584
586
  "tiktok_privacy_not_allowed",
587
+ "tiktok_interaction_not_allowed",
588
+ "tiktok_thumbnail_offset_invalid",
585
589
  "tiktok_duration_exceeds_max",
586
590
  "tiktok_media_processing",
587
591
  "tiktok_not_authorized",
588
592
  "tiktok_rate_limited",
589
- "tiktok_url_ownership_unverified",
590
- "tiktok_unaudited_private_only",
591
593
  "tiktok_spam_risk",
592
594
  "tiktok_file_format_invalid",
593
595
  "tiktok_duration_invalid",
@@ -596,23 +598,18 @@ var zPostVariant = z__namespace.union([
596
598
  "tiktok_media_pull_failed",
597
599
  "tiktok_server_error",
598
600
  "tiktok_publish_failed",
599
- "google_rate_limited",
600
- "google_server_error",
601
- "google_auth_expired",
602
- "google_permission_denied",
603
- "google_request_failed",
604
- "google_conversion_duplicate",
605
- "google_conversion_invalid_click_id",
606
- "google_conversion_event_too_old",
607
- "google_conversion_consent_required",
608
- "google_conversion_terms_not_signed",
609
- "google_conversion_rejected",
610
601
  "post_publish_failed",
611
602
  "post_partially_published",
612
603
  "connection_platform_mismatch",
613
- "connection_removed"
604
+ "connection_removed",
605
+ "publish_interrupted",
606
+ "publish_outcome_unknown",
607
+ "plan_limit_reached",
608
+ "billing_required",
609
+ "x_link_requires_paid_plan"
614
610
  ]),
615
611
  message: z__namespace.string(),
612
+ source: zErrorSource.optional(),
616
613
  display_error: z__namespace.string()
617
614
  }).nullable(),
618
615
  media: z__namespace.array(z__namespace.object({
@@ -682,12 +679,12 @@ var zPostVariant = z__namespace.union([
682
679
  "not_implemented",
683
680
  "connection_discovery_failed",
684
681
  "tiktok_creator_info_unavailable",
685
- "tiktok_cannot_post_now",
686
682
  "media_processing",
687
683
  "media_upload_init_failed",
688
684
  "media_upload_incomplete",
689
685
  "media_upload_invalid_parts",
690
686
  "not_publishable",
687
+ "post_not_retryable",
691
688
  "invalid_connection",
692
689
  "invalid_media",
693
690
  "profile_scope_invalid",
@@ -738,6 +735,7 @@ var zPostVariant = z__namespace.union([
738
735
  "x_rate_limited",
739
736
  "x_publish_failed",
740
737
  "x_media_upload_failed",
738
+ "x_thread_incomplete",
741
739
  "linkedin_duplicate_content",
742
740
  "linkedin_auth_expired",
743
741
  "linkedin_permission_denied",
@@ -755,6 +753,7 @@ var zPostVariant = z__namespace.union([
755
753
  "instagram_media_unsupported",
756
754
  "instagram_not_authorized",
757
755
  "instagram_publish_failed",
756
+ "instagram_comment_failed",
758
757
  "facebook_reel_processing",
759
758
  "facebook_reel_failed",
760
759
  "facebook_rate_limited",
@@ -762,13 +761,14 @@ var zPostVariant = z__namespace.union([
762
761
  "facebook_temporarily_blocked",
763
762
  "facebook_not_authorized",
764
763
  "facebook_publish_failed",
764
+ "facebook_comment_failed",
765
765
  "tiktok_privacy_not_allowed",
766
+ "tiktok_interaction_not_allowed",
767
+ "tiktok_thumbnail_offset_invalid",
766
768
  "tiktok_duration_exceeds_max",
767
769
  "tiktok_media_processing",
768
770
  "tiktok_not_authorized",
769
771
  "tiktok_rate_limited",
770
- "tiktok_url_ownership_unverified",
771
- "tiktok_unaudited_private_only",
772
772
  "tiktok_spam_risk",
773
773
  "tiktok_file_format_invalid",
774
774
  "tiktok_duration_invalid",
@@ -777,23 +777,18 @@ var zPostVariant = z__namespace.union([
777
777
  "tiktok_media_pull_failed",
778
778
  "tiktok_server_error",
779
779
  "tiktok_publish_failed",
780
- "google_rate_limited",
781
- "google_server_error",
782
- "google_auth_expired",
783
- "google_permission_denied",
784
- "google_request_failed",
785
- "google_conversion_duplicate",
786
- "google_conversion_invalid_click_id",
787
- "google_conversion_event_too_old",
788
- "google_conversion_consent_required",
789
- "google_conversion_terms_not_signed",
790
- "google_conversion_rejected",
791
780
  "post_publish_failed",
792
781
  "post_partially_published",
793
782
  "connection_platform_mismatch",
794
- "connection_removed"
783
+ "connection_removed",
784
+ "publish_interrupted",
785
+ "publish_outcome_unknown",
786
+ "plan_limit_reached",
787
+ "billing_required",
788
+ "x_link_requires_paid_plan"
795
789
  ]),
796
790
  message: z__namespace.string(),
791
+ source: zErrorSource.optional(),
797
792
  display_error: z__namespace.string()
798
793
  }).nullable(),
799
794
  media: z__namespace.array(z__namespace.object({
@@ -815,7 +810,8 @@ var zPostVariant = z__namespace.union([
815
810
  z__namespace.object({
816
811
  platform: z__namespace.literal("facebook_page"),
817
812
  settings: z__namespace.object({
818
- link: z__namespace.url().optional()
813
+ link: z__namespace.url().optional(),
814
+ first_comment: z__namespace.string().min(1).optional()
819
815
  }),
820
816
  id: z__namespace.string(),
821
817
  object: z__namespace.literal("post_variant"),
@@ -847,12 +843,12 @@ var zPostVariant = z__namespace.union([
847
843
  "not_implemented",
848
844
  "connection_discovery_failed",
849
845
  "tiktok_creator_info_unavailable",
850
- "tiktok_cannot_post_now",
851
846
  "media_processing",
852
847
  "media_upload_init_failed",
853
848
  "media_upload_incomplete",
854
849
  "media_upload_invalid_parts",
855
850
  "not_publishable",
851
+ "post_not_retryable",
856
852
  "invalid_connection",
857
853
  "invalid_media",
858
854
  "profile_scope_invalid",
@@ -903,6 +899,7 @@ var zPostVariant = z__namespace.union([
903
899
  "x_rate_limited",
904
900
  "x_publish_failed",
905
901
  "x_media_upload_failed",
902
+ "x_thread_incomplete",
906
903
  "linkedin_duplicate_content",
907
904
  "linkedin_auth_expired",
908
905
  "linkedin_permission_denied",
@@ -920,6 +917,7 @@ var zPostVariant = z__namespace.union([
920
917
  "instagram_media_unsupported",
921
918
  "instagram_not_authorized",
922
919
  "instagram_publish_failed",
920
+ "instagram_comment_failed",
923
921
  "facebook_reel_processing",
924
922
  "facebook_reel_failed",
925
923
  "facebook_rate_limited",
@@ -927,13 +925,14 @@ var zPostVariant = z__namespace.union([
927
925
  "facebook_temporarily_blocked",
928
926
  "facebook_not_authorized",
929
927
  "facebook_publish_failed",
928
+ "facebook_comment_failed",
930
929
  "tiktok_privacy_not_allowed",
930
+ "tiktok_interaction_not_allowed",
931
+ "tiktok_thumbnail_offset_invalid",
931
932
  "tiktok_duration_exceeds_max",
932
933
  "tiktok_media_processing",
933
934
  "tiktok_not_authorized",
934
935
  "tiktok_rate_limited",
935
- "tiktok_url_ownership_unverified",
936
- "tiktok_unaudited_private_only",
937
936
  "tiktok_spam_risk",
938
937
  "tiktok_file_format_invalid",
939
938
  "tiktok_duration_invalid",
@@ -942,23 +941,18 @@ var zPostVariant = z__namespace.union([
942
941
  "tiktok_media_pull_failed",
943
942
  "tiktok_server_error",
944
943
  "tiktok_publish_failed",
945
- "google_rate_limited",
946
- "google_server_error",
947
- "google_auth_expired",
948
- "google_permission_denied",
949
- "google_request_failed",
950
- "google_conversion_duplicate",
951
- "google_conversion_invalid_click_id",
952
- "google_conversion_event_too_old",
953
- "google_conversion_consent_required",
954
- "google_conversion_terms_not_signed",
955
- "google_conversion_rejected",
956
944
  "post_publish_failed",
957
945
  "post_partially_published",
958
946
  "connection_platform_mismatch",
959
- "connection_removed"
947
+ "connection_removed",
948
+ "publish_interrupted",
949
+ "publish_outcome_unknown",
950
+ "plan_limit_reached",
951
+ "billing_required",
952
+ "x_link_requires_paid_plan"
960
953
  ]),
961
954
  message: z__namespace.string(),
955
+ source: zErrorSource.optional(),
962
956
  display_error: z__namespace.string()
963
957
  }).nullable(),
964
958
  media: z__namespace.array(z__namespace.object({
@@ -981,7 +975,8 @@ var zPostVariant = z__namespace.union([
981
975
  share_to_feed: z__namespace.boolean().optional(),
982
976
  thumb_offset: z__namespace.int().gte(0).lte(9007199254740991).optional(),
983
977
  cover_url: z__namespace.url().optional(),
984
- audio_name: z__namespace.string().optional()
978
+ audio_name: z__namespace.string().optional(),
979
+ first_comment: z__namespace.string().min(1).optional()
985
980
  }),
986
981
  id: z__namespace.string(),
987
982
  object: z__namespace.literal("post_variant"),
@@ -1013,12 +1008,12 @@ var zPostVariant = z__namespace.union([
1013
1008
  "not_implemented",
1014
1009
  "connection_discovery_failed",
1015
1010
  "tiktok_creator_info_unavailable",
1016
- "tiktok_cannot_post_now",
1017
1011
  "media_processing",
1018
1012
  "media_upload_init_failed",
1019
1013
  "media_upload_incomplete",
1020
1014
  "media_upload_invalid_parts",
1021
1015
  "not_publishable",
1016
+ "post_not_retryable",
1022
1017
  "invalid_connection",
1023
1018
  "invalid_media",
1024
1019
  "profile_scope_invalid",
@@ -1069,6 +1064,7 @@ var zPostVariant = z__namespace.union([
1069
1064
  "x_rate_limited",
1070
1065
  "x_publish_failed",
1071
1066
  "x_media_upload_failed",
1067
+ "x_thread_incomplete",
1072
1068
  "linkedin_duplicate_content",
1073
1069
  "linkedin_auth_expired",
1074
1070
  "linkedin_permission_denied",
@@ -1086,6 +1082,7 @@ var zPostVariant = z__namespace.union([
1086
1082
  "instagram_media_unsupported",
1087
1083
  "instagram_not_authorized",
1088
1084
  "instagram_publish_failed",
1085
+ "instagram_comment_failed",
1089
1086
  "facebook_reel_processing",
1090
1087
  "facebook_reel_failed",
1091
1088
  "facebook_rate_limited",
@@ -1093,13 +1090,14 @@ var zPostVariant = z__namespace.union([
1093
1090
  "facebook_temporarily_blocked",
1094
1091
  "facebook_not_authorized",
1095
1092
  "facebook_publish_failed",
1093
+ "facebook_comment_failed",
1096
1094
  "tiktok_privacy_not_allowed",
1095
+ "tiktok_interaction_not_allowed",
1096
+ "tiktok_thumbnail_offset_invalid",
1097
1097
  "tiktok_duration_exceeds_max",
1098
1098
  "tiktok_media_processing",
1099
1099
  "tiktok_not_authorized",
1100
1100
  "tiktok_rate_limited",
1101
- "tiktok_url_ownership_unverified",
1102
- "tiktok_unaudited_private_only",
1103
1101
  "tiktok_spam_risk",
1104
1102
  "tiktok_file_format_invalid",
1105
1103
  "tiktok_duration_invalid",
@@ -1108,23 +1106,18 @@ var zPostVariant = z__namespace.union([
1108
1106
  "tiktok_media_pull_failed",
1109
1107
  "tiktok_server_error",
1110
1108
  "tiktok_publish_failed",
1111
- "google_rate_limited",
1112
- "google_server_error",
1113
- "google_auth_expired",
1114
- "google_permission_denied",
1115
- "google_request_failed",
1116
- "google_conversion_duplicate",
1117
- "google_conversion_invalid_click_id",
1118
- "google_conversion_event_too_old",
1119
- "google_conversion_consent_required",
1120
- "google_conversion_terms_not_signed",
1121
- "google_conversion_rejected",
1122
1109
  "post_publish_failed",
1123
1110
  "post_partially_published",
1124
1111
  "connection_platform_mismatch",
1125
- "connection_removed"
1112
+ "connection_removed",
1113
+ "publish_interrupted",
1114
+ "publish_outcome_unknown",
1115
+ "plan_limit_reached",
1116
+ "billing_required",
1117
+ "x_link_requires_paid_plan"
1126
1118
  ]),
1127
1119
  message: z__namespace.string(),
1120
+ source: zErrorSource.optional(),
1128
1121
  display_error: z__namespace.string()
1129
1122
  }).nullable(),
1130
1123
  media: z__namespace.array(z__namespace.object({
@@ -1146,12 +1139,13 @@ var zPostVariant = z__namespace.union([
1146
1139
  disable_comment: z__namespace.boolean().optional(),
1147
1140
  disable_duet: z__namespace.boolean().optional(),
1148
1141
  disable_stitch: z__namespace.boolean().optional(),
1149
- video_cover_timestamp_ms: z__namespace.int().gte(0).lte(9007199254740991).optional(),
1142
+ thumbnail_offset: z__namespace.int().gte(0).lte(9007199254740991).optional(),
1150
1143
  photo_cover_index: z__namespace.int().gte(0).lte(9007199254740991).optional(),
1151
1144
  auto_add_music: z__namespace.boolean().optional(),
1152
- brand_content_toggle: z__namespace.boolean().optional(),
1153
- brand_organic_toggle: z__namespace.boolean().optional(),
1154
- is_aigc: z__namespace.boolean().optional()
1145
+ is_branded_content: z__namespace.boolean().optional(),
1146
+ is_brand_organic: z__namespace.boolean().optional(),
1147
+ is_ai_generated: z__namespace.boolean().optional(),
1148
+ is_ads_only: z__namespace.boolean().optional()
1155
1149
  }),
1156
1150
  id: z__namespace.string(),
1157
1151
  object: z__namespace.literal("post_variant"),
@@ -1183,12 +1177,12 @@ var zPostVariant = z__namespace.union([
1183
1177
  "not_implemented",
1184
1178
  "connection_discovery_failed",
1185
1179
  "tiktok_creator_info_unavailable",
1186
- "tiktok_cannot_post_now",
1187
1180
  "media_processing",
1188
1181
  "media_upload_init_failed",
1189
1182
  "media_upload_incomplete",
1190
1183
  "media_upload_invalid_parts",
1191
1184
  "not_publishable",
1185
+ "post_not_retryable",
1192
1186
  "invalid_connection",
1193
1187
  "invalid_media",
1194
1188
  "profile_scope_invalid",
@@ -1239,6 +1233,7 @@ var zPostVariant = z__namespace.union([
1239
1233
  "x_rate_limited",
1240
1234
  "x_publish_failed",
1241
1235
  "x_media_upload_failed",
1236
+ "x_thread_incomplete",
1242
1237
  "linkedin_duplicate_content",
1243
1238
  "linkedin_auth_expired",
1244
1239
  "linkedin_permission_denied",
@@ -1256,6 +1251,7 @@ var zPostVariant = z__namespace.union([
1256
1251
  "instagram_media_unsupported",
1257
1252
  "instagram_not_authorized",
1258
1253
  "instagram_publish_failed",
1254
+ "instagram_comment_failed",
1259
1255
  "facebook_reel_processing",
1260
1256
  "facebook_reel_failed",
1261
1257
  "facebook_rate_limited",
@@ -1263,13 +1259,14 @@ var zPostVariant = z__namespace.union([
1263
1259
  "facebook_temporarily_blocked",
1264
1260
  "facebook_not_authorized",
1265
1261
  "facebook_publish_failed",
1262
+ "facebook_comment_failed",
1266
1263
  "tiktok_privacy_not_allowed",
1264
+ "tiktok_interaction_not_allowed",
1265
+ "tiktok_thumbnail_offset_invalid",
1267
1266
  "tiktok_duration_exceeds_max",
1268
1267
  "tiktok_media_processing",
1269
1268
  "tiktok_not_authorized",
1270
1269
  "tiktok_rate_limited",
1271
- "tiktok_url_ownership_unverified",
1272
- "tiktok_unaudited_private_only",
1273
1270
  "tiktok_spam_risk",
1274
1271
  "tiktok_file_format_invalid",
1275
1272
  "tiktok_duration_invalid",
@@ -1278,23 +1275,18 @@ var zPostVariant = z__namespace.union([
1278
1275
  "tiktok_media_pull_failed",
1279
1276
  "tiktok_server_error",
1280
1277
  "tiktok_publish_failed",
1281
- "google_rate_limited",
1282
- "google_server_error",
1283
- "google_auth_expired",
1284
- "google_permission_denied",
1285
- "google_request_failed",
1286
- "google_conversion_duplicate",
1287
- "google_conversion_invalid_click_id",
1288
- "google_conversion_event_too_old",
1289
- "google_conversion_consent_required",
1290
- "google_conversion_terms_not_signed",
1291
- "google_conversion_rejected",
1292
1278
  "post_publish_failed",
1293
1279
  "post_partially_published",
1294
1280
  "connection_platform_mismatch",
1295
- "connection_removed"
1281
+ "connection_removed",
1282
+ "publish_interrupted",
1283
+ "publish_outcome_unknown",
1284
+ "plan_limit_reached",
1285
+ "billing_required",
1286
+ "x_link_requires_paid_plan"
1296
1287
  ]),
1297
1288
  message: z__namespace.string(),
1289
+ source: zErrorSource.optional(),
1298
1290
  display_error: z__namespace.string()
1299
1291
  }).nullable(),
1300
1292
  media: z__namespace.array(z__namespace.object({
@@ -1330,6 +1322,33 @@ var zPost = z__namespace.object({
1330
1322
  created_at: z__namespace.string(),
1331
1323
  updated_at: z__namespace.string()
1332
1324
  });
1325
+ var zPostWriteResult = z__namespace.object({
1326
+ id: z__namespace.string(),
1327
+ object: z__namespace.literal("post"),
1328
+ profile_id: z__namespace.string(),
1329
+ external_id: z__namespace.string().nullable(),
1330
+ status: z__namespace.enum([
1331
+ "draft",
1332
+ "scheduled",
1333
+ "publishing",
1334
+ "partially_published",
1335
+ "published",
1336
+ "failed"
1337
+ ]),
1338
+ schedule_at: z__namespace.string().nullable(),
1339
+ tags: z__namespace.array(z__namespace.string()),
1340
+ notes: z__namespace.string().nullable(),
1341
+ metadata: z__namespace.record(z__namespace.string(), z__namespace.union([
1342
+ z__namespace.string().max(500),
1343
+ z__namespace.number(),
1344
+ z__namespace.boolean()
1345
+ ])),
1346
+ variants: z__namespace.array(zPostVariant),
1347
+ created_at: z__namespace.string(),
1348
+ updated_at: z__namespace.string(),
1349
+ dry_run: z__namespace.boolean(),
1350
+ executed: z__namespace.boolean()
1351
+ });
1333
1352
  var zTikTokCreatorInfo = z__namespace.object({
1334
1353
  creator: z__namespace.object({
1335
1354
  nickname: z__namespace.string(),
@@ -1377,7 +1396,14 @@ var zPostVariantInput = z__namespace.union([
1377
1396
  place_id: z__namespace.string()
1378
1397
  }).optional(),
1379
1398
  card_uri: z__namespace.string().optional(),
1380
- media_tagged_user_ids: z__namespace.array(z__namespace.string().regex(/^[0-9]{1,19}$/)).max(10).optional()
1399
+ media_tagged_user_ids: z__namespace.array(z__namespace.string().regex(/^[0-9]{1,19}$/)).max(10).optional(),
1400
+ thread_items: z__namespace.array(z__namespace.object({
1401
+ body: z__namespace.string().optional(),
1402
+ media: z__namespace.array(z__namespace.object({
1403
+ media_id: z__namespace.string(),
1404
+ alt_text_override: z__namespace.string().nullish()
1405
+ })).max(4).optional()
1406
+ })).optional()
1381
1407
  }).optional().default({}),
1382
1408
  connection_id: z__namespace.string(),
1383
1409
  body: z__namespace.string().optional(),
@@ -1436,7 +1462,8 @@ var zPostVariantInput = z__namespace.union([
1436
1462
  share_to_feed: z__namespace.boolean().optional(),
1437
1463
  thumb_offset: z__namespace.int().gte(0).lte(9007199254740991).optional(),
1438
1464
  cover_url: z__namespace.url().optional(),
1439
- audio_name: z__namespace.string().optional()
1465
+ audio_name: z__namespace.string().optional(),
1466
+ first_comment: z__namespace.string().min(1).optional()
1440
1467
  }),
1441
1468
  connection_id: z__namespace.string(),
1442
1469
  body: z__namespace.string().optional(),
@@ -1448,7 +1475,8 @@ var zPostVariantInput = z__namespace.union([
1448
1475
  z__namespace.object({
1449
1476
  platform: z__namespace.literal("facebook_page"),
1450
1477
  settings: z__namespace.object({
1451
- link: z__namespace.url().optional()
1478
+ link: z__namespace.url().optional(),
1479
+ first_comment: z__namespace.string().min(1).optional()
1452
1480
  }).optional().default({}),
1453
1481
  connection_id: z__namespace.string(),
1454
1482
  body: z__namespace.string().optional(),
@@ -1464,12 +1492,13 @@ var zPostVariantInput = z__namespace.union([
1464
1492
  disable_comment: z__namespace.boolean().optional(),
1465
1493
  disable_duet: z__namespace.boolean().optional(),
1466
1494
  disable_stitch: z__namespace.boolean().optional(),
1467
- video_cover_timestamp_ms: z__namespace.int().gte(0).lte(9007199254740991).optional(),
1495
+ thumbnail_offset: z__namespace.int().gte(0).lte(9007199254740991).optional(),
1468
1496
  photo_cover_index: z__namespace.int().gte(0).lte(9007199254740991).optional(),
1469
1497
  auto_add_music: z__namespace.boolean().optional(),
1470
- brand_content_toggle: z__namespace.boolean().optional(),
1471
- brand_organic_toggle: z__namespace.boolean().optional(),
1472
- is_aigc: z__namespace.boolean().optional()
1498
+ is_branded_content: z__namespace.boolean().optional(),
1499
+ is_brand_organic: z__namespace.boolean().optional(),
1500
+ is_ai_generated: z__namespace.boolean().optional(),
1501
+ is_ads_only: z__namespace.boolean().optional()
1473
1502
  }).optional().default({}),
1474
1503
  connection_id: z__namespace.string(),
1475
1504
  body: z__namespace.string().optional(),
@@ -1498,844 +1527,6 @@ var zCreatePostBody = z__namespace.object({
1498
1527
  dry_run: z__namespace.boolean().optional().default(false),
1499
1528
  variants: z__namespace.array(zPostVariantInput).min(1)
1500
1529
  });
1501
- var zGoogleAdsAdGroup = z__namespace.object({
1502
- id: z__namespace.string(),
1503
- name: z__namespace.string().nullable(),
1504
- status: z__namespace.enum([
1505
- "UNSPECIFIED",
1506
- "UNKNOWN",
1507
- "ENABLED",
1508
- "PAUSED",
1509
- "REMOVED"
1510
- ]),
1511
- type: z__namespace.enum([
1512
- "UNSPECIFIED",
1513
- "UNKNOWN",
1514
- "SEARCH_STANDARD",
1515
- "DISPLAY_STANDARD",
1516
- "SHOPPING_PRODUCT_ADS",
1517
- "HOTEL_ADS",
1518
- "SHOPPING_SMART_ADS",
1519
- "VIDEO_BUMPER",
1520
- "VIDEO_TRUE_VIEW_IN_STREAM",
1521
- "VIDEO_TRUE_VIEW_IN_DISPLAY",
1522
- "VIDEO_NON_SKIPPABLE_IN_STREAM",
1523
- "SEARCH_DYNAMIC_ADS",
1524
- "SHOPPING_COMPARISON_LISTING_ADS",
1525
- "PROMOTED_HOTEL_ADS",
1526
- "VIDEO_RESPONSIVE",
1527
- "VIDEO_EFFICIENT_REACH",
1528
- "SMART_CAMPAIGN_ADS",
1529
- "TRAVEL_ADS",
1530
- "YOUTUBE_AUDIO"
1531
- ]),
1532
- campaign: z__namespace.string().nullable()
1533
- });
1534
- var zGoogleAdsAd = z__namespace.object({
1535
- id: z__namespace.string().regex(/^\d+~\d+$/),
1536
- name: z__namespace.string().nullable(),
1537
- type: z__namespace.enum([
1538
- "UNSPECIFIED",
1539
- "UNKNOWN",
1540
- "TEXT_AD",
1541
- "EXPANDED_TEXT_AD",
1542
- "EXPANDED_DYNAMIC_SEARCH_AD",
1543
- "HOTEL_AD",
1544
- "SHOPPING_SMART_AD",
1545
- "SHOPPING_PRODUCT_AD",
1546
- "VIDEO_AD",
1547
- "IMAGE_AD",
1548
- "RESPONSIVE_SEARCH_AD",
1549
- "LEGACY_RESPONSIVE_DISPLAY_AD",
1550
- "APP_AD",
1551
- "LEGACY_APP_INSTALL_AD",
1552
- "RESPONSIVE_DISPLAY_AD",
1553
- "LOCAL_AD",
1554
- "HTML5_UPLOAD_AD",
1555
- "DYNAMIC_HTML5_AD",
1556
- "APP_ENGAGEMENT_AD",
1557
- "SHOPPING_COMPARISON_LISTING_AD",
1558
- "VIDEO_BUMPER_AD",
1559
- "VIDEO_NON_SKIPPABLE_IN_STREAM_AD",
1560
- "VIDEO_TRUEVIEW_IN_STREAM_AD",
1561
- "VIDEO_RESPONSIVE_AD",
1562
- "SMART_CAMPAIGN_AD",
1563
- "CALL_AD",
1564
- "APP_PRE_REGISTRATION_AD",
1565
- "IN_FEED_VIDEO_AD",
1566
- "DEMAND_GEN_MULTI_ASSET_AD",
1567
- "DEMAND_GEN_CAROUSEL_AD",
1568
- "TRAVEL_AD",
1569
- "DEMAND_GEN_VIDEO_RESPONSIVE_AD",
1570
- "DEMAND_GEN_PRODUCT_AD",
1571
- "YOUTUBE_AUDIO_AD"
1572
- ]),
1573
- status: z__namespace.enum([
1574
- "UNSPECIFIED",
1575
- "UNKNOWN",
1576
- "ENABLED",
1577
- "PAUSED",
1578
- "REMOVED"
1579
- ]),
1580
- ad_group: z__namespace.string().nullable()
1581
- });
1582
- var zGoogleAdsKeyword = z__namespace.object({
1583
- id: z__namespace.string().regex(/^\d+~\d+$/),
1584
- text: z__namespace.string().nullable(),
1585
- match_type: z__namespace.enum([
1586
- "UNSPECIFIED",
1587
- "UNKNOWN",
1588
- "EXACT",
1589
- "PHRASE",
1590
- "BROAD"
1591
- ]),
1592
- status: z__namespace.enum([
1593
- "UNSPECIFIED",
1594
- "UNKNOWN",
1595
- "ENABLED",
1596
- "PAUSED",
1597
- "REMOVED"
1598
- ]),
1599
- negative: z__namespace.boolean(),
1600
- ad_group: z__namespace.string().nullable()
1601
- });
1602
- var zGoogleAdsAudience = z__namespace.union([
1603
- z__namespace.object({
1604
- kind: z__namespace.literal("user_list"),
1605
- id: z__namespace.string(),
1606
- resource_name: z__namespace.string(),
1607
- name: z__namespace.string().nullable(),
1608
- type: z__namespace.enum([
1609
- "UNSPECIFIED",
1610
- "UNKNOWN",
1611
- "REMARKETING",
1612
- "LOGICAL",
1613
- "EXTERNAL_REMARKETING",
1614
- "RULE_BASED",
1615
- "SIMILAR",
1616
- "CRM_BASED",
1617
- "LOOKALIKE"
1618
- ]),
1619
- membership_status: z__namespace.enum([
1620
- "UNSPECIFIED",
1621
- "UNKNOWN",
1622
- "OPEN",
1623
- "CLOSED"
1624
- ])
1625
- }),
1626
- z__namespace.object({
1627
- kind: z__namespace.literal("audience"),
1628
- id: z__namespace.string(),
1629
- resource_name: z__namespace.string(),
1630
- name: z__namespace.string().nullable(),
1631
- status: z__namespace.enum([
1632
- "UNSPECIFIED",
1633
- "UNKNOWN",
1634
- "ENABLED",
1635
- "REMOVED"
1636
- ])
1637
- }),
1638
- z__namespace.object({
1639
- kind: z__namespace.literal("custom_audience"),
1640
- id: z__namespace.string(),
1641
- resource_name: z__namespace.string(),
1642
- name: z__namespace.string().nullable(),
1643
- status: z__namespace.enum([
1644
- "UNSPECIFIED",
1645
- "UNKNOWN",
1646
- "ENABLED",
1647
- "REMOVED"
1648
- ]),
1649
- type: z__namespace.enum([
1650
- "UNSPECIFIED",
1651
- "UNKNOWN",
1652
- "AUTO",
1653
- "INTEREST",
1654
- "PURCHASE_INTENT",
1655
- "SEARCH"
1656
- ])
1657
- })
1658
- ]);
1659
- var zGoogleAdsReadStatusFilter = z__namespace.array(z__namespace.enum([
1660
- "ENABLED",
1661
- "PAUSED",
1662
- "REMOVED"
1663
- ])).min(1);
1664
- var zGoogleAdsCampaignCriterion = z__namespace.union([
1665
- z__namespace.object({
1666
- type: z__namespace.literal("LOCATION"),
1667
- criterion_id: z__namespace.string(),
1668
- status: z__namespace.enum([
1669
- "UNSPECIFIED",
1670
- "UNKNOWN",
1671
- "ENABLED",
1672
- "PAUSED",
1673
- "REMOVED"
1674
- ]),
1675
- negative: z__namespace.boolean(),
1676
- geo_target_constant: z__namespace.string().nullable()
1677
- }),
1678
- z__namespace.object({
1679
- type: z__namespace.literal("LANGUAGE"),
1680
- criterion_id: z__namespace.string(),
1681
- status: z__namespace.enum([
1682
- "UNSPECIFIED",
1683
- "UNKNOWN",
1684
- "ENABLED",
1685
- "PAUSED",
1686
- "REMOVED"
1687
- ]),
1688
- negative: z__namespace.boolean(),
1689
- language_constant: z__namespace.string().nullable()
1690
- }),
1691
- z__namespace.object({
1692
- type: z__namespace.enum([
1693
- "UNSPECIFIED",
1694
- "UNKNOWN",
1695
- "KEYWORD",
1696
- "PLACEMENT",
1697
- "MOBILE_APP_CATEGORY",
1698
- "MOBILE_APPLICATION",
1699
- "DEVICE",
1700
- "LISTING_GROUP",
1701
- "AD_SCHEDULE",
1702
- "AGE_RANGE",
1703
- "GENDER",
1704
- "INCOME_RANGE",
1705
- "PARENTAL_STATUS",
1706
- "YOUTUBE_VIDEO",
1707
- "YOUTUBE_CHANNEL",
1708
- "USER_LIST",
1709
- "PROXIMITY",
1710
- "TOPIC",
1711
- "LISTING_SCOPE",
1712
- "IP_BLOCK",
1713
- "CONTENT_LABEL",
1714
- "CARRIER",
1715
- "USER_INTEREST",
1716
- "WEBPAGE",
1717
- "OPERATING_SYSTEM_VERSION",
1718
- "APP_PAYMENT_MODEL",
1719
- "MOBILE_DEVICE",
1720
- "CUSTOM_AFFINITY",
1721
- "CUSTOM_INTENT",
1722
- "LOCATION_GROUP",
1723
- "CUSTOM_AUDIENCE",
1724
- "COMBINED_AUDIENCE",
1725
- "KEYWORD_THEME",
1726
- "AUDIENCE",
1727
- "NEGATIVE_KEYWORD_LIST",
1728
- "LOCAL_SERVICE_ID",
1729
- "SEARCH_THEME",
1730
- "BRAND",
1731
- "BRAND_LIST",
1732
- "LIFE_EVENT",
1733
- "WEBPAGE_LIST",
1734
- "VIDEO_LINEUP",
1735
- "PLACEMENT_LIST",
1736
- "VERTICAL_ADS_ITEM_GROUP_RULE_LIST",
1737
- "VERTICAL_ADS_ITEM_GROUP_RULE",
1738
- "RETAIL_FILTER_BUNDLE",
1739
- "RETAIL_FILTER"
1740
- ]),
1741
- criterion_id: z__namespace.string()
1742
- })
1743
- ]);
1744
- var zGoogleAdsAdGroupCriterion = z__namespace.union([
1745
- z__namespace.object({
1746
- type: z__namespace.literal("AGE_RANGE"),
1747
- criterion_id: z__namespace.string(),
1748
- status: z__namespace.enum([
1749
- "UNSPECIFIED",
1750
- "UNKNOWN",
1751
- "ENABLED",
1752
- "PAUSED",
1753
- "REMOVED"
1754
- ]),
1755
- negative: z__namespace.boolean(),
1756
- age_range: z__namespace.enum([
1757
- "UNSPECIFIED",
1758
- "UNKNOWN",
1759
- "AGE_RANGE_18_24",
1760
- "AGE_RANGE_25_34",
1761
- "AGE_RANGE_35_44",
1762
- "AGE_RANGE_45_54",
1763
- "AGE_RANGE_55_64",
1764
- "AGE_RANGE_65_UP",
1765
- "AGE_RANGE_UNDETERMINED"
1766
- ])
1767
- }),
1768
- z__namespace.object({
1769
- type: z__namespace.literal("GENDER"),
1770
- criterion_id: z__namespace.string(),
1771
- status: z__namespace.enum([
1772
- "UNSPECIFIED",
1773
- "UNKNOWN",
1774
- "ENABLED",
1775
- "PAUSED",
1776
- "REMOVED"
1777
- ]),
1778
- negative: z__namespace.boolean(),
1779
- gender: z__namespace.enum([
1780
- "UNSPECIFIED",
1781
- "UNKNOWN",
1782
- "MALE",
1783
- "FEMALE",
1784
- "UNDETERMINED"
1785
- ])
1786
- }),
1787
- z__namespace.object({
1788
- type: z__namespace.literal("INCOME_RANGE"),
1789
- criterion_id: z__namespace.string(),
1790
- status: z__namespace.enum([
1791
- "UNSPECIFIED",
1792
- "UNKNOWN",
1793
- "ENABLED",
1794
- "PAUSED",
1795
- "REMOVED"
1796
- ]),
1797
- negative: z__namespace.boolean(),
1798
- income_range: z__namespace.enum([
1799
- "UNSPECIFIED",
1800
- "UNKNOWN",
1801
- "INCOME_RANGE_0_50",
1802
- "INCOME_RANGE_50_60",
1803
- "INCOME_RANGE_60_70",
1804
- "INCOME_RANGE_70_80",
1805
- "INCOME_RANGE_80_90",
1806
- "INCOME_RANGE_90_UP",
1807
- "INCOME_RANGE_UNDETERMINED"
1808
- ])
1809
- }),
1810
- z__namespace.object({
1811
- type: z__namespace.literal("PARENTAL_STATUS"),
1812
- criterion_id: z__namespace.string(),
1813
- status: z__namespace.enum([
1814
- "UNSPECIFIED",
1815
- "UNKNOWN",
1816
- "ENABLED",
1817
- "PAUSED",
1818
- "REMOVED"
1819
- ]),
1820
- negative: z__namespace.boolean(),
1821
- parental_status: z__namespace.enum([
1822
- "UNSPECIFIED",
1823
- "UNKNOWN",
1824
- "PARENT",
1825
- "NOT_A_PARENT",
1826
- "UNDETERMINED"
1827
- ])
1828
- }),
1829
- z__namespace.object({
1830
- type: z__namespace.literal("USER_LIST"),
1831
- criterion_id: z__namespace.string(),
1832
- status: z__namespace.enum([
1833
- "UNSPECIFIED",
1834
- "UNKNOWN",
1835
- "ENABLED",
1836
- "PAUSED",
1837
- "REMOVED"
1838
- ]),
1839
- negative: z__namespace.boolean(),
1840
- user_list: z__namespace.string().nullable()
1841
- }),
1842
- z__namespace.object({
1843
- type: z__namespace.literal("AUDIENCE"),
1844
- criterion_id: z__namespace.string(),
1845
- status: z__namespace.enum([
1846
- "UNSPECIFIED",
1847
- "UNKNOWN",
1848
- "ENABLED",
1849
- "PAUSED",
1850
- "REMOVED"
1851
- ]),
1852
- negative: z__namespace.boolean(),
1853
- audience: z__namespace.string().nullable()
1854
- }),
1855
- z__namespace.object({
1856
- type: z__namespace.literal("CUSTOM_AUDIENCE"),
1857
- criterion_id: z__namespace.string(),
1858
- status: z__namespace.enum([
1859
- "UNSPECIFIED",
1860
- "UNKNOWN",
1861
- "ENABLED",
1862
- "PAUSED",
1863
- "REMOVED"
1864
- ]),
1865
- negative: z__namespace.boolean(),
1866
- custom_audience: z__namespace.string().nullable()
1867
- }),
1868
- z__namespace.object({
1869
- type: z__namespace.enum([
1870
- "UNSPECIFIED",
1871
- "UNKNOWN",
1872
- "KEYWORD",
1873
- "PLACEMENT",
1874
- "MOBILE_APP_CATEGORY",
1875
- "MOBILE_APPLICATION",
1876
- "DEVICE",
1877
- "LOCATION",
1878
- "LISTING_GROUP",
1879
- "AD_SCHEDULE",
1880
- "YOUTUBE_VIDEO",
1881
- "YOUTUBE_CHANNEL",
1882
- "PROXIMITY",
1883
- "TOPIC",
1884
- "LISTING_SCOPE",
1885
- "LANGUAGE",
1886
- "IP_BLOCK",
1887
- "CONTENT_LABEL",
1888
- "CARRIER",
1889
- "USER_INTEREST",
1890
- "WEBPAGE",
1891
- "OPERATING_SYSTEM_VERSION",
1892
- "APP_PAYMENT_MODEL",
1893
- "MOBILE_DEVICE",
1894
- "CUSTOM_AFFINITY",
1895
- "CUSTOM_INTENT",
1896
- "LOCATION_GROUP",
1897
- "COMBINED_AUDIENCE",
1898
- "KEYWORD_THEME",
1899
- "NEGATIVE_KEYWORD_LIST",
1900
- "LOCAL_SERVICE_ID",
1901
- "SEARCH_THEME",
1902
- "BRAND",
1903
- "BRAND_LIST",
1904
- "LIFE_EVENT",
1905
- "WEBPAGE_LIST",
1906
- "VIDEO_LINEUP",
1907
- "PLACEMENT_LIST",
1908
- "VERTICAL_ADS_ITEM_GROUP_RULE_LIST",
1909
- "VERTICAL_ADS_ITEM_GROUP_RULE",
1910
- "RETAIL_FILTER_BUNDLE",
1911
- "RETAIL_FILTER"
1912
- ]),
1913
- criterion_id: z__namespace.string()
1914
- })
1915
- ]);
1916
- var zGoogleAdsGeoTargetConstant = z__namespace.object({
1917
- id: z__namespace.string(),
1918
- resource_name: z__namespace.string().nullable(),
1919
- name: z__namespace.string().nullable(),
1920
- canonical_name: z__namespace.string().nullable(),
1921
- country_code: z__namespace.string().nullable(),
1922
- target_type: z__namespace.string().nullable(),
1923
- status: z__namespace.enum([
1924
- "UNSPECIFIED",
1925
- "UNKNOWN",
1926
- "ENABLED",
1927
- "REMOVAL_PLANNED"
1928
- ])
1929
- });
1930
- var zGoogleAdsUrlCustomParameter = z__namespace.object({
1931
- key: z__namespace.string().min(1).regex(/^[A-Za-z0-9]+$/),
1932
- value: z__namespace.string()
1933
- });
1934
- var zGoogleAdsCreateResult = z__namespace.object({
1935
- id: z__namespace.string().nullable(),
1936
- resource_name: z__namespace.string().nullable(),
1937
- dry_run: z__namespace.boolean(),
1938
- executed: z__namespace.boolean()
1939
- });
1940
- var zGoogleAdsEditResult = z__namespace.object({
1941
- id: z__namespace.string(),
1942
- resource_name: z__namespace.string(),
1943
- dry_run: z__namespace.boolean(),
1944
- executed: z__namespace.boolean()
1945
- });
1946
- var zGoogleAdsDeleteResult = z__namespace.object({
1947
- id: z__namespace.string(),
1948
- removed: z__namespace.boolean(),
1949
- dry_run: z__namespace.boolean(),
1950
- executed: z__namespace.boolean()
1951
- });
1952
- var zGoogleAdsCreateCampaignCriterionRequest = z__namespace.union([
1953
- z__namespace.object({
1954
- type: z__namespace.literal("location"),
1955
- geo_target_constant: z__namespace.string().regex(/^geoTargetConstants\/\d+$/),
1956
- negative: z__namespace.boolean().optional().default(false)
1957
- }),
1958
- z__namespace.object({
1959
- type: z__namespace.literal("language"),
1960
- language_constant: z__namespace.string().min(1)
1961
- })
1962
- ]);
1963
- var zGoogleAdsCreateAdGroupCriterionRequest = z__namespace.union([
1964
- z__namespace.object({
1965
- type: z__namespace.literal("age_range"),
1966
- age_range: z__namespace.enum([
1967
- "AGE_RANGE_18_24",
1968
- "AGE_RANGE_25_34",
1969
- "AGE_RANGE_35_44",
1970
- "AGE_RANGE_45_54",
1971
- "AGE_RANGE_55_64",
1972
- "AGE_RANGE_65_UP",
1973
- "AGE_RANGE_UNDETERMINED"
1974
- ]),
1975
- negative: z__namespace.boolean().optional().default(false)
1976
- }),
1977
- z__namespace.object({
1978
- type: z__namespace.literal("gender"),
1979
- gender: z__namespace.enum([
1980
- "MALE",
1981
- "FEMALE",
1982
- "UNDETERMINED"
1983
- ]),
1984
- negative: z__namespace.boolean().optional().default(false)
1985
- }),
1986
- z__namespace.object({
1987
- type: z__namespace.literal("income_range"),
1988
- income_range: z__namespace.enum([
1989
- "INCOME_RANGE_0_50",
1990
- "INCOME_RANGE_50_60",
1991
- "INCOME_RANGE_60_70",
1992
- "INCOME_RANGE_70_80",
1993
- "INCOME_RANGE_80_90",
1994
- "INCOME_RANGE_90_UP",
1995
- "INCOME_RANGE_UNDETERMINED"
1996
- ]),
1997
- negative: z__namespace.boolean().optional().default(false)
1998
- }),
1999
- z__namespace.object({
2000
- type: z__namespace.literal("parental_status"),
2001
- parental_status: z__namespace.enum([
2002
- "PARENT",
2003
- "NOT_A_PARENT",
2004
- "UNDETERMINED"
2005
- ]),
2006
- negative: z__namespace.boolean().optional().default(false)
2007
- }),
2008
- z__namespace.object({
2009
- type: z__namespace.literal("user_list"),
2010
- user_list: z__namespace.string().regex(/^customers\/\d+\/userLists\/\d+$/),
2011
- negative: z__namespace.boolean().optional().default(false)
2012
- }),
2013
- z__namespace.object({
2014
- type: z__namespace.literal("audience"),
2015
- audience: z__namespace.string().regex(/^customers\/\d+\/audiences\/\d+$/),
2016
- negative: z__namespace.boolean().optional().default(false)
2017
- }),
2018
- z__namespace.object({
2019
- type: z__namespace.literal("custom_audience"),
2020
- custom_audience: z__namespace.string().regex(/^customers\/\d+\/customAudiences\/\d+$/),
2021
- negative: z__namespace.boolean().optional().default(false)
2022
- })
2023
- ]);
2024
- var zGoogleAdsGeoSettingsRequest = z__namespace.object({
2025
- positive_geo_target_type: z__namespace.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional(),
2026
- negative_geo_target_type: z__namespace.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional()
2027
- });
2028
- var zGoogleAdsInsightLevel = z__namespace.enum([
2029
- "account",
2030
- "campaign",
2031
- "ad_group",
2032
- "ad",
2033
- "keyword"
2034
- ]);
2035
- var zGoogleAdsInsightsRow = z__namespace.object({
2036
- level: zGoogleAdsInsightLevel,
2037
- id: z__namespace.string().min(1),
2038
- name: z__namespace.string().nullable(),
2039
- parent_id: z__namespace.string().min(1).nullable(),
2040
- metrics: z__namespace.object({
2041
- impressions: z__namespace.number().nullish(),
2042
- clicks: z__namespace.number().nullish(),
2043
- ctr: z__namespace.number().nullish(),
2044
- average_cpc: z__namespace.number().nullish(),
2045
- cost_micros: z__namespace.number().nullish(),
2046
- conversions: z__namespace.number().nullish(),
2047
- conversions_value: z__namespace.number().nullish(),
2048
- cost_per_conversion: z__namespace.number().nullish()
2049
- }),
2050
- segments: z__namespace.object({
2051
- date: z__namespace.string().optional(),
2052
- device: z__namespace.string().optional()
2053
- }).optional()
2054
- });
2055
- var zGoogleAdsInsights = z__namespace.object({
2056
- object: z__namespace.literal("list"),
2057
- data: z__namespace.array(zGoogleAdsInsightsRow)
2058
- });
2059
- var zGoogleAdsInsightMetric = z__namespace.enum([
2060
- "impressions",
2061
- "clicks",
2062
- "ctr",
2063
- "average_cpc",
2064
- "cost_micros",
2065
- "conversions",
2066
- "conversions_value",
2067
- "cost_per_conversion"
2068
- ]);
2069
- var zGoogleAdsInsightSegment = z__namespace.enum(["date", "device"]);
2070
- var zGoogleAdsInsightsQuery = z__namespace.object({
2071
- level: zGoogleAdsInsightLevel.optional().default("campaign"),
2072
- metrics: z__namespace.array(zGoogleAdsInsightMetric).min(1).optional().default([
2073
- "impressions",
2074
- "clicks",
2075
- "cost_micros",
2076
- "conversions"
2077
- ]),
2078
- segments: z__namespace.array(zGoogleAdsInsightSegment).optional(),
2079
- campaign_id: z__namespace.string().regex(/^\d+$/).optional(),
2080
- ad_group_id: z__namespace.string().regex(/^\d+$/).optional(),
2081
- since: z__namespace.iso.date(),
2082
- until: z__namespace.iso.date()
2083
- });
2084
- var zGoogleAdTreeNode = z__namespace.object({
2085
- level: z__namespace.enum([
2086
- "campaign",
2087
- "ad_group",
2088
- "ad",
2089
- "keyword"
2090
- ]),
2091
- id: z__namespace.string().min(1),
2092
- name: z__namespace.string().nullable(),
2093
- parent_id: z__namespace.string().min(1).nullable(),
2094
- status: z__namespace.enum([
2095
- "UNSPECIFIED",
2096
- "UNKNOWN",
2097
- "ENABLED",
2098
- "PAUSED",
2099
- "REMOVED"
2100
- ]),
2101
- type: z__namespace.enum([
2102
- "UNSPECIFIED",
2103
- "UNKNOWN",
2104
- "SEARCH",
2105
- "DISPLAY",
2106
- "SHOPPING",
2107
- "HOTEL",
2108
- "VIDEO",
2109
- "MULTI_CHANNEL",
2110
- "LOCAL",
2111
- "SMART",
2112
- "PERFORMANCE_MAX",
2113
- "LOCAL_SERVICES",
2114
- "TRAVEL",
2115
- "DEMAND_GEN"
2116
- ]).nullable(),
2117
- child_kind: z__namespace.enum([
2118
- "ad_group",
2119
- "asset_group",
2120
- "none"
2121
- ]),
2122
- expandable: z__namespace.boolean(),
2123
- budget_micros: z__namespace.number().nullable(),
2124
- metrics: z__namespace.object({
2125
- impressions: z__namespace.number().nullish(),
2126
- clicks: z__namespace.number().nullish(),
2127
- ctr: z__namespace.number().nullish(),
2128
- average_cpc: z__namespace.number().nullish(),
2129
- cost_micros: z__namespace.number().nullish(),
2130
- conversions: z__namespace.number().nullish(),
2131
- conversions_value: z__namespace.number().nullish(),
2132
- cost_per_conversion: z__namespace.number().nullish()
2133
- }),
2134
- cost_micros: z__namespace.number(),
2135
- cost: z__namespace.number()
2136
- });
2137
- var zGoogleAdTree = z__namespace.object({
2138
- object: z__namespace.literal("list"),
2139
- data: z__namespace.array(zGoogleAdTreeNode)
2140
- });
2141
- var zGoogleAdsConversionConsent = z__namespace.object({
2142
- ad_user_data: z__namespace.enum(["CONSENT_GRANTED", "CONSENT_DENIED"]).optional(),
2143
- ad_personalization: z__namespace.enum(["CONSENT_GRANTED", "CONSENT_DENIED"]).optional()
2144
- });
2145
- var zGoogleAdsConversionUserIdentifier = z__namespace.object({
2146
- email_address: z__namespace.email().optional(),
2147
- phone_number: z__namespace.string().min(1).regex(/\d/).optional(),
2148
- address: z__namespace.object({
2149
- given_name: z__namespace.string().min(1),
2150
- family_name: z__namespace.string().min(1),
2151
- region_code: z__namespace.string().regex(/^[A-Za-z]{2}$/),
2152
- postal_code: z__namespace.string().min(1)
2153
- }).optional()
2154
- });
2155
- var zGoogleAdsConversionEvent = z__namespace.object({
2156
- event_timestamp: z__namespace.iso.datetime({ offset: true }),
2157
- event_source: z__namespace.enum([
2158
- "WEB",
2159
- "APP",
2160
- "IN_STORE",
2161
- "PHONE",
2162
- "MESSAGE",
2163
- "OTHER"
2164
- ]),
2165
- order_id: z__namespace.string().optional(),
2166
- gclid: z__namespace.string().optional(),
2167
- gbraid: z__namespace.string().optional(),
2168
- wbraid: z__namespace.string().optional(),
2169
- user_data: z__namespace.array(zGoogleAdsConversionUserIdentifier).min(1).max(10).optional(),
2170
- currency: z__namespace.string().length(3).optional(),
2171
- conversion_value: z__namespace.number().gte(0).optional(),
2172
- consent: zGoogleAdsConversionConsent.optional()
2173
- });
2174
- var zGoogleAdsSendConversionsResult = z__namespace.object({
2175
- request_id: z__namespace.string().nullable(),
2176
- status: z__namespace.enum(["accepted", "validated"]),
2177
- dry_run: z__namespace.boolean(),
2178
- executed: z__namespace.boolean()
2179
- });
2180
- var zGoogleAdsConversionStatusReason = z__namespace.object({
2181
- reason: z__namespace.string(),
2182
- count: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
2183
- code: z__namespace.enum([
2184
- "unauthorized",
2185
- "forbidden",
2186
- "not_found",
2187
- "conflict",
2188
- "validation_failed",
2189
- "rate_limited",
2190
- "internal_error",
2191
- "idempotency_key_invalid",
2192
- "idempotency_key_reused",
2193
- "idempotency_request_in_progress",
2194
- "account_not_available",
2195
- "connection_reauth_required",
2196
- "connection_not_pending",
2197
- "not_implemented",
2198
- "connection_discovery_failed",
2199
- "tiktok_creator_info_unavailable",
2200
- "tiktok_cannot_post_now",
2201
- "media_processing",
2202
- "media_upload_init_failed",
2203
- "media_upload_incomplete",
2204
- "media_upload_invalid_parts",
2205
- "not_publishable",
2206
- "invalid_connection",
2207
- "invalid_media",
2208
- "profile_scope_invalid",
2209
- "media_unprobeable",
2210
- "media_too_large",
2211
- "media_aspect_ratio_unsupported",
2212
- "media_resolution_too_low",
2213
- "media_gif_unsupported",
2214
- "media_format_recompressed",
2215
- "media_resolution_downscaled",
2216
- "video_container_unsupported",
2217
- "video_codec_unsupported",
2218
- "video_audio_codec_unsupported",
2219
- "video_too_large",
2220
- "video_too_small",
2221
- "video_dimensions_unsupported",
2222
- "video_dimensions_too_large",
2223
- "video_fps_unsupported",
2224
- "video_fps_too_low",
2225
- "video_aspect_unsupported",
2226
- "video_duration_too_short",
2227
- "video_duration_exceeds_max",
2228
- "video_transform_failed",
2229
- "media_fetch_failed",
2230
- "document_format_unsupported",
2231
- "document_too_large",
2232
- "document_too_many_pages",
2233
- "media_format_indeterminate",
2234
- "media_format_unsupported",
2235
- "media_count_invalid",
2236
- "body_too_long",
2237
- "content_missing",
2238
- "content_conflict",
2239
- "content_incomplete",
2240
- "media_type_mismatch",
2241
- "tag_limit_exceeded",
2242
- "reel_field_on_non_reel",
2243
- "field_placement_invalid",
2244
- "media_not_ready",
2245
- "media_failed",
2246
- "media_unsupported",
2247
- "media_kind_mismatch",
2248
- "variant_unparseable",
2249
- "publishing_unavailable",
2250
- "x_duplicate_content",
2251
- "x_not_authorized",
2252
- "x_access_not_permitted",
2253
- "x_rate_limited",
2254
- "x_publish_failed",
2255
- "x_media_upload_failed",
2256
- "linkedin_duplicate_content",
2257
- "linkedin_auth_expired",
2258
- "linkedin_permission_denied",
2259
- "linkedin_rate_limited",
2260
- "linkedin_media_processing",
2261
- "linkedin_media_failed",
2262
- "linkedin_media_upload_failed",
2263
- "linkedin_publish_failed",
2264
- "instagram_media_processing",
2265
- "instagram_container_expired",
2266
- "instagram_container_failed",
2267
- "instagram_rate_limited",
2268
- "instagram_daily_limit_reached",
2269
- "instagram_aspect_ratio_unsupported",
2270
- "instagram_media_unsupported",
2271
- "instagram_not_authorized",
2272
- "instagram_publish_failed",
2273
- "facebook_reel_processing",
2274
- "facebook_reel_failed",
2275
- "facebook_rate_limited",
2276
- "facebook_duplicate_content",
2277
- "facebook_temporarily_blocked",
2278
- "facebook_not_authorized",
2279
- "facebook_publish_failed",
2280
- "tiktok_privacy_not_allowed",
2281
- "tiktok_duration_exceeds_max",
2282
- "tiktok_media_processing",
2283
- "tiktok_not_authorized",
2284
- "tiktok_rate_limited",
2285
- "tiktok_url_ownership_unverified",
2286
- "tiktok_unaudited_private_only",
2287
- "tiktok_spam_risk",
2288
- "tiktok_file_format_invalid",
2289
- "tiktok_duration_invalid",
2290
- "tiktok_frame_rate_invalid",
2291
- "tiktok_resolution_invalid",
2292
- "tiktok_media_pull_failed",
2293
- "tiktok_server_error",
2294
- "tiktok_publish_failed",
2295
- "google_rate_limited",
2296
- "google_server_error",
2297
- "google_auth_expired",
2298
- "google_permission_denied",
2299
- "google_request_failed",
2300
- "google_conversion_duplicate",
2301
- "google_conversion_invalid_click_id",
2302
- "google_conversion_event_too_old",
2303
- "google_conversion_consent_required",
2304
- "google_conversion_terms_not_signed",
2305
- "google_conversion_rejected",
2306
- "post_publish_failed",
2307
- "post_partially_published",
2308
- "connection_platform_mismatch",
2309
- "connection_removed"
2310
- ]),
2311
- display_error: z__namespace.string()
2312
- });
2313
- var zGoogleAdsConversionWarning = z__namespace.object({
2314
- reason: z__namespace.string(),
2315
- count: z__namespace.int().gte(-9007199254740991).lte(9007199254740991)
2316
- });
2317
- var zGoogleAdsConversionStatus = z__namespace.object({
2318
- request_id: z__namespace.string(),
2319
- destinations: z__namespace.array(z__namespace.object({
2320
- request_status: z__namespace.enum([
2321
- "REQUEST_STATUS_UNKNOWN",
2322
- "SUCCESS",
2323
- "PROCESSING",
2324
- "FAILED",
2325
- "PARTIAL_SUCCESS"
2326
- ]),
2327
- events_submitted: z__namespace.int().gte(-9007199254740991).lte(9007199254740991).nullable(),
2328
- errors: z__namespace.array(zGoogleAdsConversionStatusReason),
2329
- warnings: z__namespace.array(zGoogleAdsConversionWarning)
2330
- }))
2331
- });
2332
- var zGoogleAdsConversionRequest = z__namespace.object({
2333
- object: z__namespace.literal("conversion_request"),
2334
- request_id: z__namespace.string(),
2335
- conversion_action_id: z__namespace.string().nullable(),
2336
- event_count: z__namespace.int().gte(-9007199254740991).lte(9007199254740991).nullable(),
2337
- created_at: z__namespace.string()
2338
- });
2339
1530
  var zIdempotencyKey = z__namespace.string().min(1).max(255);
2340
1531
  var zProfilesListQuery = z__namespace.object({
2341
1532
  limit: z__namespace.int().gte(1).lte(100).optional().default(20),
@@ -2447,8 +1638,6 @@ var zConnectionsListAccountsResponse = z__namespace.object({
2447
1638
  });
2448
1639
  var zConnectionsConnectBody = z__namespace.object({
2449
1640
  platform: z__namespace.enum([
2450
- "meta_ads",
2451
- "google_ads",
2452
1641
  "x",
2453
1642
  "linkedin",
2454
1643
  "facebook_page",
@@ -2487,14 +1676,7 @@ var zMediaListResponse = z__namespace.object({
2487
1676
  var zMediaCreateBody = z__namespace.object({
2488
1677
  profile_id: z__namespace.string(),
2489
1678
  source_url: z__namespace.url().optional(),
2490
- targets: z__namespace.array(z__namespace.enum([
2491
- "x",
2492
- "linkedin",
2493
- "facebook_page",
2494
- "instagram",
2495
- "tiktok",
2496
- "google_ads"
2497
- ])).min(1).optional(),
1679
+ targets: z__namespace.array(zPostPlatform).min(1).optional(),
2498
1680
  raw: z__namespace.boolean().optional().default(false),
2499
1681
  alt_text: z__namespace.string().max(1e3).optional(),
2500
1682
  external_id: z__namespace.string().min(1).max(255).optional(),
@@ -2546,8 +1728,7 @@ var zMediaCreateResponse = z__namespace.object({
2546
1728
  "media_fetch_failed",
2547
1729
  "document_format_unsupported",
2548
1730
  "document_too_large",
2549
- "document_too_many_pages",
2550
- "media_unsupported"
1731
+ "document_too_many_pages"
2551
1732
  ]),
2552
1733
  message: z__namespace.string(),
2553
1734
  hint: z__namespace.string().optional(),
@@ -2600,8 +1781,7 @@ var zMediaCreateResponse = z__namespace.object({
2600
1781
  "media_fetch_failed",
2601
1782
  "document_format_unsupported",
2602
1783
  "document_too_large",
2603
- "document_too_many_pages",
2604
- "media_unsupported"
1784
+ "document_too_many_pages"
2605
1785
  ]),
2606
1786
  message: z__namespace.string(),
2607
1787
  hint: z__namespace.string().optional(),
@@ -2636,8 +1816,7 @@ var zMediaCreateResponse = z__namespace.object({
2636
1816
  "media_fetch_failed",
2637
1817
  "document_format_unsupported",
2638
1818
  "document_too_large",
2639
- "document_too_many_pages",
2640
- "media_unsupported"
1819
+ "document_too_many_pages"
2641
1820
  ]),
2642
1821
  message: z__namespace.string(),
2643
1822
  hint: z__namespace.string().optional(),
@@ -2684,14 +1863,7 @@ var zMediaUpdateBody = z__namespace.object({
2684
1863
  z__namespace.number(),
2685
1864
  z__namespace.boolean()
2686
1865
  ])).optional(),
2687
- targets: z__namespace.array(z__namespace.enum([
2688
- "x",
2689
- "linkedin",
2690
- "facebook_page",
2691
- "instagram",
2692
- "tiktok",
2693
- "google_ads"
2694
- ])).min(1).optional()
1866
+ targets: z__namespace.array(zPostPlatform).min(1).optional()
2695
1867
  });
2696
1868
  var zMediaUpdateHeaders = z__namespace.object({
2697
1869
  "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
@@ -2760,33 +1932,7 @@ var zPostsCreateBody = zCreatePostBody;
2760
1932
  var zPostsCreateHeaders = z__namespace.object({
2761
1933
  "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
2762
1934
  });
2763
- var zPostsCreateResponse = z__namespace.object({
2764
- id: z__namespace.string(),
2765
- object: z__namespace.literal("post"),
2766
- profile_id: z__namespace.string(),
2767
- external_id: z__namespace.string().nullable(),
2768
- status: z__namespace.enum([
2769
- "draft",
2770
- "scheduled",
2771
- "publishing",
2772
- "partially_published",
2773
- "published",
2774
- "failed"
2775
- ]),
2776
- schedule_at: z__namespace.string().nullable(),
2777
- tags: z__namespace.array(z__namespace.string()),
2778
- notes: z__namespace.string().nullable(),
2779
- metadata: z__namespace.record(z__namespace.string(), z__namespace.union([
2780
- z__namespace.string().max(500),
2781
- z__namespace.number(),
2782
- z__namespace.boolean()
2783
- ])),
2784
- variants: z__namespace.array(zPostVariant),
2785
- created_at: z__namespace.string(),
2786
- updated_at: z__namespace.string(),
2787
- dry_run: z__namespace.boolean(),
2788
- executed: z__namespace.boolean()
2789
- });
1935
+ var zPostsCreateResponse = zPostWriteResult;
2790
1936
  var zPostsDeletePath = z__namespace.object({
2791
1937
  id: z__namespace.string()
2792
1938
  });
@@ -2823,33 +1969,17 @@ var zPostsUpdateHeaders = z__namespace.object({
2823
1969
  var zPostsUpdatePath = z__namespace.object({
2824
1970
  id: z__namespace.string()
2825
1971
  });
2826
- var zPostsUpdateResponse = z__namespace.object({
2827
- id: z__namespace.string(),
2828
- object: z__namespace.literal("post"),
2829
- profile_id: z__namespace.string(),
2830
- external_id: z__namespace.string().nullable(),
2831
- status: z__namespace.enum([
2832
- "draft",
2833
- "scheduled",
2834
- "publishing",
2835
- "partially_published",
2836
- "published",
2837
- "failed"
2838
- ]),
2839
- schedule_at: z__namespace.string().nullable(),
2840
- tags: z__namespace.array(z__namespace.string()),
2841
- notes: z__namespace.string().nullable(),
2842
- metadata: z__namespace.record(z__namespace.string(), z__namespace.union([
2843
- z__namespace.string().max(500),
2844
- z__namespace.number(),
2845
- z__namespace.boolean()
2846
- ])),
2847
- variants: z__namespace.array(zPostVariant),
2848
- created_at: z__namespace.string(),
2849
- updated_at: z__namespace.string(),
2850
- dry_run: z__namespace.boolean(),
2851
- executed: z__namespace.boolean()
1972
+ var zPostsUpdateResponse = zPostWriteResult;
1973
+ var zPostsRetryBody = z__namespace.object({
1974
+ dry_run: z__namespace.boolean().optional().default(false)
1975
+ });
1976
+ var zPostsRetryHeaders = z__namespace.object({
1977
+ "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
2852
1978
  });
1979
+ var zPostsRetryPath = z__namespace.object({
1980
+ id: z__namespace.string()
1981
+ });
1982
+ var zPostsRetryResponse = zPostWriteResult;
2853
1983
  var zPostsValidateBody = z__namespace.object({
2854
1984
  profile_id: z__namespace.string(),
2855
1985
  variants: z__namespace.array(zPostVariantInput).min(1)
@@ -2875,12 +2005,12 @@ var zPostsValidateResponse = z__namespace.object({
2875
2005
  "not_implemented",
2876
2006
  "connection_discovery_failed",
2877
2007
  "tiktok_creator_info_unavailable",
2878
- "tiktok_cannot_post_now",
2879
2008
  "media_processing",
2880
2009
  "media_upload_init_failed",
2881
2010
  "media_upload_incomplete",
2882
2011
  "media_upload_invalid_parts",
2883
2012
  "not_publishable",
2013
+ "post_not_retryable",
2884
2014
  "invalid_connection",
2885
2015
  "invalid_media",
2886
2016
  "profile_scope_invalid",
@@ -2931,6 +2061,7 @@ var zPostsValidateResponse = z__namespace.object({
2931
2061
  "x_rate_limited",
2932
2062
  "x_publish_failed",
2933
2063
  "x_media_upload_failed",
2064
+ "x_thread_incomplete",
2934
2065
  "linkedin_duplicate_content",
2935
2066
  "linkedin_auth_expired",
2936
2067
  "linkedin_permission_denied",
@@ -2948,6 +2079,7 @@ var zPostsValidateResponse = z__namespace.object({
2948
2079
  "instagram_media_unsupported",
2949
2080
  "instagram_not_authorized",
2950
2081
  "instagram_publish_failed",
2082
+ "instagram_comment_failed",
2951
2083
  "facebook_reel_processing",
2952
2084
  "facebook_reel_failed",
2953
2085
  "facebook_rate_limited",
@@ -2955,13 +2087,14 @@ var zPostsValidateResponse = z__namespace.object({
2955
2087
  "facebook_temporarily_blocked",
2956
2088
  "facebook_not_authorized",
2957
2089
  "facebook_publish_failed",
2090
+ "facebook_comment_failed",
2958
2091
  "tiktok_privacy_not_allowed",
2092
+ "tiktok_interaction_not_allowed",
2093
+ "tiktok_thumbnail_offset_invalid",
2959
2094
  "tiktok_duration_exceeds_max",
2960
2095
  "tiktok_media_processing",
2961
2096
  "tiktok_not_authorized",
2962
2097
  "tiktok_rate_limited",
2963
- "tiktok_url_ownership_unverified",
2964
- "tiktok_unaudited_private_only",
2965
2098
  "tiktok_spam_risk",
2966
2099
  "tiktok_file_format_invalid",
2967
2100
  "tiktok_duration_invalid",
@@ -2970,21 +2103,15 @@ var zPostsValidateResponse = z__namespace.object({
2970
2103
  "tiktok_media_pull_failed",
2971
2104
  "tiktok_server_error",
2972
2105
  "tiktok_publish_failed",
2973
- "google_rate_limited",
2974
- "google_server_error",
2975
- "google_auth_expired",
2976
- "google_permission_denied",
2977
- "google_request_failed",
2978
- "google_conversion_duplicate",
2979
- "google_conversion_invalid_click_id",
2980
- "google_conversion_event_too_old",
2981
- "google_conversion_consent_required",
2982
- "google_conversion_terms_not_signed",
2983
- "google_conversion_rejected",
2984
2106
  "post_publish_failed",
2985
2107
  "post_partially_published",
2986
2108
  "connection_platform_mismatch",
2987
- "connection_removed"
2109
+ "connection_removed",
2110
+ "publish_interrupted",
2111
+ "publish_outcome_unknown",
2112
+ "plan_limit_reached",
2113
+ "billing_required",
2114
+ "x_link_requires_paid_plan"
2988
2115
  ]),
2989
2116
  message: z__namespace.string(),
2990
2117
  hint: z__namespace.string().optional(),
@@ -2997,1549 +2124,8 @@ var zPostsValidateResponse = z__namespace.object({
2997
2124
  display_error: z__namespace.string()
2998
2125
  }))
2999
2126
  });
3000
- var zMetaAccountPath = z__namespace.object({
3001
- connection_id: z__namespace.string()
3002
- });
3003
- var zMetaAccountResponse = z__namespace.object({
3004
- id: z__namespace.string(),
3005
- account_id: z__namespace.string(),
3006
- name: z__namespace.string().nullable(),
3007
- account_status: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
3008
- currency: z__namespace.string(),
3009
- timezone_name: z__namespace.string().nullable(),
3010
- amount_spent: z__namespace.string(),
3011
- balance: z__namespace.string(),
3012
- spend_cap: z__namespace.string().nullable()
3013
- });
3014
- var zMetaInsightsPath = z__namespace.object({
3015
- connection_id: z__namespace.string()
3016
- });
3017
- var zMetaInsightsQuery = z__namespace.object({
3018
- level: z__namespace.enum([
3019
- "account",
3020
- "campaign",
3021
- "adset",
3022
- "ad"
3023
- ]).optional().default("account"),
3024
- date_preset: z__namespace.enum([
3025
- "today",
3026
- "yesterday",
3027
- "this_month",
3028
- "last_month",
3029
- "this_quarter",
3030
- "maximum",
3031
- "data_maximum",
3032
- "last_3d",
3033
- "last_7d",
3034
- "last_14d",
3035
- "last_28d",
3036
- "last_30d",
3037
- "last_90d",
3038
- "last_week_mon_sun",
3039
- "last_week_sun_sat",
3040
- "last_quarter",
3041
- "last_year",
3042
- "this_week_mon_today",
3043
- "this_week_sun_today",
3044
- "this_year"
3045
- ]).optional().default("last_30d"),
3046
- time_range: z__namespace.object({
3047
- since: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2}$/),
3048
- until: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2}$/)
3049
- }).optional(),
3050
- time_increment: z__namespace.union([
3051
- z__namespace.int().gte(1).lte(90),
3052
- z__namespace.literal("monthly"),
3053
- z__namespace.literal("all_days")
3054
- ]).optional()
3055
- });
3056
- var zMetaInsightsResponse = z__namespace.object({
3057
- object: z__namespace.literal("list"),
3058
- data: z__namespace.array(z__namespace.object({
3059
- date_start: z__namespace.string(),
3060
- date_stop: z__namespace.string(),
3061
- account_id: z__namespace.string().optional(),
3062
- campaign_id: z__namespace.string().optional(),
3063
- campaign_name: z__namespace.string().optional(),
3064
- adset_id: z__namespace.string().optional(),
3065
- adset_name: z__namespace.string().optional(),
3066
- ad_id: z__namespace.string().optional(),
3067
- ad_name: z__namespace.string().optional(),
3068
- spend: z__namespace.string().optional(),
3069
- impressions: z__namespace.string().optional(),
3070
- clicks: z__namespace.string().optional(),
3071
- ctr: z__namespace.string().optional(),
3072
- cpc: z__namespace.string().optional(),
3073
- cpm: z__namespace.string().optional(),
3074
- cpp: z__namespace.string().optional(),
3075
- reach: z__namespace.string().optional(),
3076
- frequency: z__namespace.string().optional()
3077
- }))
3078
- });
3079
- var zMetaCampaignsPath = z__namespace.object({
3080
- connection_id: z__namespace.string()
3081
- });
3082
- var zMetaCampaignsResponse = z__namespace.object({
3083
- object: z__namespace.literal("list"),
3084
- data: z__namespace.array(z__namespace.object({
3085
- id: z__namespace.string(),
3086
- account_id: z__namespace.string().optional(),
3087
- name: z__namespace.string().nullable(),
3088
- status: z__namespace.string().optional(),
3089
- effective_status: z__namespace.string().optional(),
3090
- objective: z__namespace.string().optional(),
3091
- daily_budget: z__namespace.string().optional(),
3092
- lifetime_budget: z__namespace.string().optional(),
3093
- budget_remaining: z__namespace.string().optional(),
3094
- bid_strategy: z__namespace.string().optional(),
3095
- created_time: z__namespace.string().optional(),
3096
- start_time: z__namespace.string().optional(),
3097
- stop_time: z__namespace.string().optional()
3098
- }))
3099
- });
3100
- var zMetaCampaignPath = z__namespace.object({
3101
- connection_id: z__namespace.string(),
3102
- campaign_id: z__namespace.string().min(1)
3103
- });
3104
- var zMetaCampaignResponse = z__namespace.object({
3105
- id: z__namespace.string(),
3106
- account_id: z__namespace.string().optional(),
3107
- name: z__namespace.string().nullable(),
3108
- status: z__namespace.string().optional(),
3109
- effective_status: z__namespace.string().optional(),
3110
- objective: z__namespace.string().optional(),
3111
- daily_budget: z__namespace.string().optional(),
3112
- lifetime_budget: z__namespace.string().optional(),
3113
- budget_remaining: z__namespace.string().optional(),
3114
- bid_strategy: z__namespace.string().optional(),
3115
- created_time: z__namespace.string().optional(),
3116
- start_time: z__namespace.string().optional(),
3117
- stop_time: z__namespace.string().optional()
3118
- });
3119
- var zMetaAdsetsPath = z__namespace.object({
3120
- connection_id: z__namespace.string()
3121
- });
3122
- var zMetaAdsetsResponse = z__namespace.object({
3123
- object: z__namespace.literal("list"),
3124
- data: z__namespace.array(z__namespace.object({
3125
- id: z__namespace.string(),
3126
- account_id: z__namespace.string().optional(),
3127
- name: z__namespace.string().nullable(),
3128
- status: z__namespace.string().optional(),
3129
- effective_status: z__namespace.string().optional(),
3130
- campaign_id: z__namespace.string().optional(),
3131
- daily_budget: z__namespace.string().optional(),
3132
- lifetime_budget: z__namespace.string().optional(),
3133
- budget_remaining: z__namespace.string().optional(),
3134
- bid_amount: z__namespace.string().optional(),
3135
- billing_event: z__namespace.string().optional(),
3136
- optimization_goal: z__namespace.string().optional(),
3137
- start_time: z__namespace.string().optional(),
3138
- end_time: z__namespace.string().optional()
3139
- }))
3140
- });
3141
- var zMetaAdsetPath = z__namespace.object({
3142
- connection_id: z__namespace.string(),
3143
- adset_id: z__namespace.string().min(1)
3144
- });
3145
- var zMetaAdsetResponse = z__namespace.object({
3146
- id: z__namespace.string(),
3147
- account_id: z__namespace.string().optional(),
3148
- name: z__namespace.string().nullable(),
3149
- status: z__namespace.string().optional(),
3150
- effective_status: z__namespace.string().optional(),
3151
- campaign_id: z__namespace.string().optional(),
3152
- daily_budget: z__namespace.string().optional(),
3153
- lifetime_budget: z__namespace.string().optional(),
3154
- budget_remaining: z__namespace.string().optional(),
3155
- bid_amount: z__namespace.string().optional(),
3156
- billing_event: z__namespace.string().optional(),
3157
- optimization_goal: z__namespace.string().optional(),
3158
- start_time: z__namespace.string().optional(),
3159
- end_time: z__namespace.string().optional()
3160
- });
3161
- var zMetaAdsPath = z__namespace.object({
3162
- connection_id: z__namespace.string()
3163
- });
3164
- var zMetaAdsResponse = z__namespace.object({
3165
- object: z__namespace.literal("list"),
3166
- data: z__namespace.array(z__namespace.object({
3167
- id: z__namespace.string(),
3168
- name: z__namespace.string().nullable(),
3169
- status: z__namespace.string().optional(),
3170
- effective_status: z__namespace.string().optional(),
3171
- adset_id: z__namespace.string().optional(),
3172
- campaign_id: z__namespace.string().optional(),
3173
- account_id: z__namespace.string().optional(),
3174
- created_time: z__namespace.string().optional(),
3175
- updated_time: z__namespace.string().optional()
3176
- }))
3177
- });
3178
- var zMetaAdPath = z__namespace.object({
3179
- connection_id: z__namespace.string(),
3180
- ad_id: z__namespace.string().min(1)
3181
- });
3182
- var zMetaAdResponse = z__namespace.object({
3183
- id: z__namespace.string(),
3184
- name: z__namespace.string().nullable(),
3185
- status: z__namespace.string().optional(),
3186
- effective_status: z__namespace.string().optional(),
3187
- adset_id: z__namespace.string().optional(),
3188
- campaign_id: z__namespace.string().optional(),
3189
- account_id: z__namespace.string().optional(),
3190
- created_time: z__namespace.string().optional(),
3191
- updated_time: z__namespace.string().optional()
3192
- });
3193
- var zGoogleGetAccountPath = z__namespace.object({
3194
- connection_id: z__namespace.string()
3195
- });
3196
- var zGoogleGetAccountResponse = z__namespace.object({
3197
- id: z__namespace.string(),
3198
- descriptive_name: z__namespace.string().nullable(),
3199
- currency_code: z__namespace.string().nullable(),
3200
- time_zone: z__namespace.string().nullable(),
3201
- status: z__namespace.enum([
3202
- "UNSPECIFIED",
3203
- "UNKNOWN",
3204
- "ENABLED",
3205
- "CANCELED",
3206
- "SUSPENDED",
3207
- "CLOSED"
3208
- ]),
3209
- manager: z__namespace.boolean(),
3210
- test_account: z__namespace.boolean(),
3211
- tracking_url_template: z__namespace.string().nullable(),
3212
- final_url_suffix: z__namespace.string().nullable()
3213
- });
3214
- var zGoogleEditAccountBody = z__namespace.object({
3215
- tracking_url_template: z__namespace.string().min(1).optional(),
3216
- final_url_suffix: z__namespace.string().min(1).optional(),
3217
- dry_run: z__namespace.boolean().optional().default(false)
3218
- });
3219
- var zGoogleEditAccountHeaders = z__namespace.object({
3220
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3221
- });
3222
- var zGoogleEditAccountPath = z__namespace.object({
3223
- connection_id: z__namespace.string()
3224
- });
3225
- var zGoogleEditAccountResponse = zGoogleAdsEditResult;
3226
- var zGoogleGetInsightsBody = z__namespace.object({
3227
- level: zGoogleAdsInsightLevel.optional().default("campaign"),
3228
- metrics: z__namespace.array(zGoogleAdsInsightMetric).min(1).optional().default([
3229
- "impressions",
3230
- "clicks",
3231
- "cost_micros",
3232
- "conversions"
3233
- ]),
3234
- segments: z__namespace.array(zGoogleAdsInsightSegment).optional(),
3235
- campaign_id: z__namespace.string().regex(/^\d+$/).optional(),
3236
- ad_group_id: z__namespace.string().regex(/^\d+$/).optional(),
3237
- since: z__namespace.iso.date(),
3238
- until: z__namespace.iso.date()
3239
- });
3240
- var zGoogleGetInsightsPath = z__namespace.object({
3241
- connection_id: z__namespace.string()
3242
- });
3243
- var zGoogleGetInsightsResponse = zGoogleAdsInsights;
3244
- var zGoogleGetAdTreePath = z__namespace.object({
3245
- connection_id: z__namespace.string()
3246
- });
3247
- var zGoogleGetAdTreeQuery = z__namespace.object({
3248
- campaign_id: z__namespace.string().regex(/^\d+$/).optional(),
3249
- status: zGoogleAdsReadStatusFilter.optional(),
3250
- metrics: z__namespace.array(zGoogleAdsInsightMetric).min(1).optional().default([
3251
- "impressions",
3252
- "clicks",
3253
- "cost_micros",
3254
- "conversions"
3255
- ]),
3256
- since: z__namespace.iso.date(),
3257
- until: z__namespace.iso.date()
3258
- });
3259
- var zGoogleGetAdTreeResponse = zGoogleAdTree;
3260
- var zGoogleRunGaqlBody = z__namespace.object({
3261
- query: z__namespace.string().min(1).max(1e4)
3262
- });
3263
- var zGoogleRunGaqlPath = z__namespace.object({
3264
- connection_id: z__namespace.string()
3265
- });
3266
- var zGoogleRunGaqlResponse = z__namespace.object({
3267
- object: z__namespace.literal("list"),
3268
- data: z__namespace.array(z__namespace.union([z__namespace.unknown(), z__namespace.null()]))
3269
- });
3270
- var zGoogleCreateBudgetBody = z__namespace.object({
3271
- name: z__namespace.string().min(1).max(255),
3272
- amount_micros: z__namespace.int().gt(0).lte(9007199254740991),
3273
- dry_run: z__namespace.boolean().optional().default(false)
3274
- });
3275
- var zGoogleCreateBudgetHeaders = z__namespace.object({
3276
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3277
- });
3278
- var zGoogleCreateBudgetPath = z__namespace.object({
3279
- connection_id: z__namespace.string()
3280
- });
3281
- var zGoogleCreateBudgetResponse = zGoogleAdsCreateResult;
3282
- var zGoogleEditBudgetBody = z__namespace.object({
3283
- amount_micros: z__namespace.int().gt(0).lte(9007199254740991),
3284
- dry_run: z__namespace.boolean().optional().default(false)
3285
- });
3286
- var zGoogleEditBudgetHeaders = z__namespace.object({
3287
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3288
- });
3289
- var zGoogleEditBudgetPath = z__namespace.object({
3290
- connection_id: z__namespace.string(),
3291
- id: z__namespace.string().regex(/^\d+$/)
3292
- });
3293
- var zGoogleEditBudgetResponse = zGoogleAdsEditResult;
3294
- var zGoogleRemoveBudgetBody = z__namespace.object({
3295
- dry_run: z__namespace.boolean().optional().default(false)
3296
- });
3297
- var zGoogleRemoveBudgetHeaders = z__namespace.object({
3298
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3299
- });
3300
- var zGoogleRemoveBudgetPath = z__namespace.object({
3301
- connection_id: z__namespace.string(),
3302
- id: z__namespace.string().regex(/^\d+$/)
3303
- });
3304
- var zGoogleRemoveBudgetResponse = zGoogleAdsDeleteResult;
3305
- var zGoogleListCampaignsPath = z__namespace.object({
3306
- connection_id: z__namespace.string()
3307
- });
3308
- var zGoogleListCampaignsResponse = z__namespace.object({
3309
- object: z__namespace.literal("list"),
3310
- data: z__namespace.array(z__namespace.object({
3311
- id: z__namespace.string(),
3312
- name: z__namespace.string().nullable(),
3313
- status: z__namespace.enum([
3314
- "UNSPECIFIED",
3315
- "UNKNOWN",
3316
- "ENABLED",
3317
- "PAUSED",
3318
- "REMOVED"
3319
- ]),
3320
- advertising_channel_type: z__namespace.enum([
3321
- "UNSPECIFIED",
3322
- "UNKNOWN",
3323
- "SEARCH",
3324
- "DISPLAY",
3325
- "SHOPPING",
3326
- "HOTEL",
3327
- "VIDEO",
3328
- "MULTI_CHANNEL",
3329
- "LOCAL",
3330
- "SMART",
3331
- "PERFORMANCE_MAX",
3332
- "LOCAL_SERVICES",
3333
- "TRAVEL",
3334
- "DEMAND_GEN"
3335
- ]),
3336
- bidding_strategy_type: z__namespace.enum([
3337
- "UNSPECIFIED",
3338
- "UNKNOWN",
3339
- "COMMISSION",
3340
- "ENHANCED_CPC",
3341
- "FIXED_CPM",
3342
- "FIXED_SHARE_OF_VOICE",
3343
- "INVALID",
3344
- "MANUAL_CPA",
3345
- "MANUAL_CPC",
3346
- "MANUAL_CPM",
3347
- "MANUAL_CPV",
3348
- "MAXIMIZE_CONVERSIONS",
3349
- "MAXIMIZE_CONVERSION_VALUE",
3350
- "PAGE_ONE_PROMOTED",
3351
- "PERCENT_CPC",
3352
- "TARGET_CPA",
3353
- "TARGET_CPC",
3354
- "TARGET_CPM",
3355
- "TARGET_CPV",
3356
- "TARGET_IMPRESSION_SHARE",
3357
- "TARGET_OUTRANK_SHARE",
3358
- "TARGET_ROAS",
3359
- "TARGET_SPEND"
3360
- ]),
3361
- start_date_time: z__namespace.string().nullable(),
3362
- end_date_time: z__namespace.string().nullable(),
3363
- tracking_url_template: z__namespace.string().nullable(),
3364
- final_url_suffix: z__namespace.string().nullable(),
3365
- url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).max(8).optional().default([])
3366
- }))
3367
- });
3368
- var zGoogleCreateCampaignBody = z__namespace.object({
3369
- name: z__namespace.string().min(1).max(255),
3370
- channel: z__namespace.enum(["SEARCH", "DISPLAY"]),
3371
- campaign_budget: z__namespace.string().regex(/^\d+$/),
3372
- bidding: z__namespace.enum([
3373
- "manual_cpc",
3374
- "maximize_conversions",
3375
- "target_spend"
3376
- ]),
3377
- status: z__namespace.enum(["ENABLED", "PAUSED"]).optional().default("PAUSED"),
3378
- contains_eu_political_advertising: z__namespace.enum(["DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING", "CONTAINS_EU_POLITICAL_ADVERTISING"]).optional().default("DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING"),
3379
- dry_run: z__namespace.boolean().optional().default(false)
3380
- });
3381
- var zGoogleCreateCampaignHeaders = z__namespace.object({
3382
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3383
- });
3384
- var zGoogleCreateCampaignPath = z__namespace.object({
3385
- connection_id: z__namespace.string()
3386
- });
3387
- var zGoogleCreateCampaignResponse = zGoogleAdsCreateResult;
3388
- var zGoogleGetCampaignPath = z__namespace.object({
3389
- connection_id: z__namespace.string(),
3390
- id: z__namespace.string().regex(/^\d+$/)
3391
- });
3392
- var zGoogleGetCampaignResponse = z__namespace.object({
3393
- id: z__namespace.string(),
3394
- name: z__namespace.string().nullable(),
3395
- status: z__namespace.enum([
3396
- "UNSPECIFIED",
3397
- "UNKNOWN",
3398
- "ENABLED",
3399
- "PAUSED",
3400
- "REMOVED"
3401
- ]),
3402
- advertising_channel_type: z__namespace.enum([
3403
- "UNSPECIFIED",
3404
- "UNKNOWN",
3405
- "SEARCH",
3406
- "DISPLAY",
3407
- "SHOPPING",
3408
- "HOTEL",
3409
- "VIDEO",
3410
- "MULTI_CHANNEL",
3411
- "LOCAL",
3412
- "SMART",
3413
- "PERFORMANCE_MAX",
3414
- "LOCAL_SERVICES",
3415
- "TRAVEL",
3416
- "DEMAND_GEN"
3417
- ]),
3418
- bidding_strategy_type: z__namespace.enum([
3419
- "UNSPECIFIED",
3420
- "UNKNOWN",
3421
- "COMMISSION",
3422
- "ENHANCED_CPC",
3423
- "FIXED_CPM",
3424
- "FIXED_SHARE_OF_VOICE",
3425
- "INVALID",
3426
- "MANUAL_CPA",
3427
- "MANUAL_CPC",
3428
- "MANUAL_CPM",
3429
- "MANUAL_CPV",
3430
- "MAXIMIZE_CONVERSIONS",
3431
- "MAXIMIZE_CONVERSION_VALUE",
3432
- "PAGE_ONE_PROMOTED",
3433
- "PERCENT_CPC",
3434
- "TARGET_CPA",
3435
- "TARGET_CPC",
3436
- "TARGET_CPM",
3437
- "TARGET_CPV",
3438
- "TARGET_IMPRESSION_SHARE",
3439
- "TARGET_OUTRANK_SHARE",
3440
- "TARGET_ROAS",
3441
- "TARGET_SPEND"
3442
- ]),
3443
- start_date_time: z__namespace.string().nullable(),
3444
- end_date_time: z__namespace.string().nullable(),
3445
- tracking_url_template: z__namespace.string().nullable(),
3446
- final_url_suffix: z__namespace.string().nullable(),
3447
- url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).max(8).optional().default([])
3448
- });
3449
- var zGoogleEditCampaignBody = z__namespace.object({
3450
- name: z__namespace.string().min(1).max(255).optional(),
3451
- tracking_url_template: z__namespace.string().min(1).optional(),
3452
- final_url_suffix: z__namespace.string().min(1).optional(),
3453
- url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).min(1).max(8).optional(),
3454
- dry_run: z__namespace.boolean().optional().default(false)
3455
- });
3456
- var zGoogleEditCampaignHeaders = z__namespace.object({
3457
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3458
- });
3459
- var zGoogleEditCampaignPath = z__namespace.object({
3460
- connection_id: z__namespace.string(),
3461
- id: z__namespace.string().regex(/^\d+$/)
3462
- });
3463
- var zGoogleEditCampaignResponse = zGoogleAdsEditResult;
3464
- var zGoogleRemoveCampaignBody = z__namespace.object({
3465
- dry_run: z__namespace.boolean().optional().default(false)
3466
- });
3467
- var zGoogleRemoveCampaignHeaders = z__namespace.object({
3468
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3469
- });
3470
- var zGoogleRemoveCampaignPath = z__namespace.object({
3471
- connection_id: z__namespace.string(),
3472
- id: z__namespace.string().regex(/^\d+$/)
3473
- });
3474
- var zGoogleRemoveCampaignResponse = zGoogleAdsDeleteResult;
3475
- var zGooglePauseCampaignBody = z__namespace.object({
3476
- dry_run: z__namespace.boolean().optional().default(false)
3477
- });
3478
- var zGooglePauseCampaignHeaders = z__namespace.object({
3479
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3480
- });
3481
- var zGooglePauseCampaignPath = z__namespace.object({
3482
- connection_id: z__namespace.string(),
3483
- id: z__namespace.string().regex(/^\d+$/)
3484
- });
3485
- var zGooglePauseCampaignResponse = z__namespace.object({
3486
- id: z__namespace.string(),
3487
- status: z__namespace.enum(["ENABLED", "PAUSED"]),
3488
- dry_run: z__namespace.boolean(),
3489
- executed: z__namespace.boolean()
3490
- });
3491
- var zGoogleEnableCampaignBody = z__namespace.object({
3492
- dry_run: z__namespace.boolean().optional().default(false)
3493
- });
3494
- var zGoogleEnableCampaignHeaders = z__namespace.object({
3495
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3496
- });
3497
- var zGoogleEnableCampaignPath = z__namespace.object({
3498
- connection_id: z__namespace.string(),
3499
- id: z__namespace.string().regex(/^\d+$/)
3500
- });
3501
- var zGoogleEnableCampaignResponse = z__namespace.object({
3502
- id: z__namespace.string(),
3503
- status: z__namespace.enum(["ENABLED", "PAUSED"]),
3504
- dry_run: z__namespace.boolean(),
3505
- executed: z__namespace.boolean()
3506
- });
3507
- var zGoogleSearchGeoTargetsPath = z__namespace.object({
3508
- connection_id: z__namespace.string()
3509
- });
3510
- var zGoogleSearchGeoTargetsQuery = z__namespace.object({
3511
- q: z__namespace.string().min(1),
3512
- country_code: z__namespace.string().length(2).optional()
3513
- });
3514
- var zGoogleSearchGeoTargetsResponse = z__namespace.object({
3515
- object: z__namespace.literal("list"),
3516
- data: z__namespace.array(zGoogleAdsGeoTargetConstant)
3517
- });
3518
- var zGoogleListCampaignCriteriaPath = z__namespace.object({
3519
- connection_id: z__namespace.string(),
3520
- campaign_id: z__namespace.string().regex(/^\d+$/)
3521
- });
3522
- var zGoogleListCampaignCriteriaResponse = z__namespace.object({
3523
- object: z__namespace.literal("list"),
3524
- data: z__namespace.array(zGoogleAdsCampaignCriterion)
3525
- });
3526
- var zGoogleCreateCampaignCriterionBody = z__namespace.object({
3527
- dry_run: z__namespace.boolean().optional().default(false),
3528
- type: z__namespace.union([
3529
- z__namespace.literal("location"),
3530
- z__namespace.literal("language")
3531
- ]),
3532
- geo_target_constant: z__namespace.string().regex(/^geoTargetConstants\/\d+$/).optional(),
3533
- negative: z__namespace.boolean().optional().default(false),
3534
- language_constant: z__namespace.string().min(1).optional()
3535
- });
3536
- var zGoogleCreateCampaignCriterionHeaders = z__namespace.object({
3537
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3538
- });
3539
- var zGoogleCreateCampaignCriterionPath = z__namespace.object({
3540
- connection_id: z__namespace.string(),
3541
- campaign_id: z__namespace.string().regex(/^\d+$/)
3542
- });
3543
- var zGoogleCreateCampaignCriterionResponse = zGoogleAdsCreateResult;
3544
- var zGoogleRemoveCampaignCriterionBody = z__namespace.object({
3545
- dry_run: z__namespace.boolean().optional().default(false)
3546
- });
3547
- var zGoogleRemoveCampaignCriterionHeaders = z__namespace.object({
3548
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3549
- });
3550
- var zGoogleRemoveCampaignCriterionPath = z__namespace.object({
3551
- connection_id: z__namespace.string(),
3552
- campaign_id: z__namespace.string().regex(/^\d+$/),
3553
- criterion_id: z__namespace.string().regex(/^\d+$/)
3554
- });
3555
- var zGoogleRemoveCampaignCriterionResponse = zGoogleAdsDeleteResult;
3556
- var zGoogleSetCampaignGeoSettingsBody = z__namespace.object({
3557
- dry_run: z__namespace.boolean().optional().default(false),
3558
- positive_geo_target_type: z__namespace.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional(),
3559
- negative_geo_target_type: z__namespace.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional()
3560
- });
3561
- var zGoogleSetCampaignGeoSettingsHeaders = z__namespace.object({
3562
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3563
- });
3564
- var zGoogleSetCampaignGeoSettingsPath = z__namespace.object({
3565
- connection_id: z__namespace.string(),
3566
- campaign_id: z__namespace.string().regex(/^\d+$/)
3567
- });
3568
- var zGoogleSetCampaignGeoSettingsResponse = zGoogleAdsEditResult;
3569
- var zGoogleListAdGroupsPath = z__namespace.object({
3570
- connection_id: z__namespace.string()
3571
- });
3572
- var zGoogleListAdGroupsQuery = z__namespace.object({
3573
- campaign_id: z__namespace.string().regex(/^\d+$/).optional(),
3574
- status: zGoogleAdsReadStatusFilter.optional()
3575
- });
3576
- var zGoogleListAdGroupsResponse = z__namespace.object({
3577
- object: z__namespace.literal("list"),
3578
- data: z__namespace.array(zGoogleAdsAdGroup)
3579
- });
3580
- var zGoogleCreateAdGroupBody = z__namespace.object({
3581
- name: z__namespace.string().min(1).max(255),
3582
- campaign: z__namespace.string().regex(/^\d+$/),
3583
- type: z__namespace.enum(["SEARCH_STANDARD", "DISPLAY_STANDARD"]),
3584
- status: z__namespace.enum(["ENABLED", "PAUSED"]).optional().default("ENABLED"),
3585
- dry_run: z__namespace.boolean().optional().default(false)
3586
- });
3587
- var zGoogleCreateAdGroupHeaders = z__namespace.object({
3588
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3589
- });
3590
- var zGoogleCreateAdGroupPath = z__namespace.object({
3591
- connection_id: z__namespace.string()
3592
- });
3593
- var zGoogleCreateAdGroupResponse = zGoogleAdsCreateResult;
3594
- var zGoogleGetAdGroupPath = z__namespace.object({
3595
- connection_id: z__namespace.string(),
3596
- id: z__namespace.string().regex(/^\d+$/)
3597
- });
3598
- var zGoogleGetAdGroupResponse = zGoogleAdsAdGroup;
3599
- var zGoogleEditAdGroupBody = z__namespace.object({
3600
- name: z__namespace.string().min(1).max(255),
3601
- dry_run: z__namespace.boolean().optional().default(false)
3602
- });
3603
- var zGoogleEditAdGroupHeaders = z__namespace.object({
3604
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3605
- });
3606
- var zGoogleEditAdGroupPath = z__namespace.object({
3607
- connection_id: z__namespace.string(),
3608
- id: z__namespace.string().regex(/^\d+$/)
3609
- });
3610
- var zGoogleEditAdGroupResponse = zGoogleAdsEditResult;
3611
- var zGoogleSetAdGroupBidsBody = z__namespace.object({
3612
- cpc_bid_micros: z__namespace.int().gt(0).lte(9007199254740991).optional(),
3613
- cpm_bid_micros: z__namespace.int().gt(0).lte(9007199254740991).optional(),
3614
- target_cpa_micros: z__namespace.int().gt(0).lte(9007199254740991).optional(),
3615
- target_roas: z__namespace.number().gt(0).optional(),
3616
- dry_run: z__namespace.boolean().optional().default(false)
3617
- });
3618
- var zGoogleSetAdGroupBidsHeaders = z__namespace.object({
3619
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3620
- });
3621
- var zGoogleSetAdGroupBidsPath = z__namespace.object({
3622
- connection_id: z__namespace.string(),
3623
- id: z__namespace.string().regex(/^\d+$/)
3624
- });
3625
- var zGoogleSetAdGroupBidsResponse = zGoogleAdsEditResult;
3626
- var zGoogleRemoveAdGroupBody = z__namespace.object({
3627
- dry_run: z__namespace.boolean().optional().default(false)
3628
- });
3629
- var zGoogleRemoveAdGroupHeaders = z__namespace.object({
3630
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3631
- });
3632
- var zGoogleRemoveAdGroupPath = z__namespace.object({
3633
- connection_id: z__namespace.string(),
3634
- id: z__namespace.string().regex(/^\d+$/)
3635
- });
3636
- var zGoogleRemoveAdGroupResponse = zGoogleAdsDeleteResult;
3637
- var zGooglePauseAdGroupBody = z__namespace.object({
3638
- dry_run: z__namespace.boolean().optional().default(false)
3639
- });
3640
- var zGooglePauseAdGroupHeaders = z__namespace.object({
3641
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3642
- });
3643
- var zGooglePauseAdGroupPath = z__namespace.object({
3644
- connection_id: z__namespace.string(),
3645
- id: z__namespace.string().regex(/^\d+$/)
3646
- });
3647
- var zGooglePauseAdGroupResponse = z__namespace.object({
3648
- id: z__namespace.string(),
3649
- status: z__namespace.enum(["ENABLED", "PAUSED"]),
3650
- dry_run: z__namespace.boolean(),
3651
- executed: z__namespace.boolean()
3652
- });
3653
- var zGoogleEnableAdGroupBody = z__namespace.object({
3654
- dry_run: z__namespace.boolean().optional().default(false)
3655
- });
3656
- var zGoogleEnableAdGroupHeaders = z__namespace.object({
3657
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3658
- });
3659
- var zGoogleEnableAdGroupPath = z__namespace.object({
3660
- connection_id: z__namespace.string(),
3661
- id: z__namespace.string().regex(/^\d+$/)
3662
- });
3663
- var zGoogleEnableAdGroupResponse = z__namespace.object({
3664
- id: z__namespace.string(),
3665
- status: z__namespace.enum(["ENABLED", "PAUSED"]),
3666
- dry_run: z__namespace.boolean(),
3667
- executed: z__namespace.boolean()
3668
- });
3669
- var zGoogleListAdGroupCriteriaPath = z__namespace.object({
3670
- connection_id: z__namespace.string(),
3671
- ad_group_id: z__namespace.string().regex(/^\d+$/)
3672
- });
3673
- var zGoogleListAdGroupCriteriaResponse = z__namespace.object({
3674
- object: z__namespace.literal("list"),
3675
- data: z__namespace.array(zGoogleAdsAdGroupCriterion)
3676
- });
3677
- var zGoogleCreateAdGroupCriterionBody = z__namespace.object({
3678
- dry_run: z__namespace.boolean().optional().default(false),
3679
- type: z__namespace.union([
3680
- z__namespace.literal("age_range"),
3681
- z__namespace.literal("gender"),
3682
- z__namespace.literal("income_range"),
3683
- z__namespace.literal("parental_status"),
3684
- z__namespace.literal("user_list"),
3685
- z__namespace.literal("audience"),
3686
- z__namespace.literal("custom_audience")
3687
- ]),
3688
- age_range: z__namespace.enum([
3689
- "AGE_RANGE_18_24",
3690
- "AGE_RANGE_25_34",
3691
- "AGE_RANGE_35_44",
3692
- "AGE_RANGE_45_54",
3693
- "AGE_RANGE_55_64",
3694
- "AGE_RANGE_65_UP",
3695
- "AGE_RANGE_UNDETERMINED"
3696
- ]).optional(),
3697
- negative: z__namespace.boolean().optional().default(false),
3698
- gender: z__namespace.enum([
3699
- "MALE",
3700
- "FEMALE",
3701
- "UNDETERMINED"
3702
- ]).optional(),
3703
- income_range: z__namespace.enum([
3704
- "INCOME_RANGE_0_50",
3705
- "INCOME_RANGE_50_60",
3706
- "INCOME_RANGE_60_70",
3707
- "INCOME_RANGE_70_80",
3708
- "INCOME_RANGE_80_90",
3709
- "INCOME_RANGE_90_UP",
3710
- "INCOME_RANGE_UNDETERMINED"
3711
- ]).optional(),
3712
- parental_status: z__namespace.enum([
3713
- "PARENT",
3714
- "NOT_A_PARENT",
3715
- "UNDETERMINED"
3716
- ]).optional(),
3717
- user_list: z__namespace.string().regex(/^customers\/\d+\/userLists\/\d+$/).optional(),
3718
- audience: z__namespace.string().regex(/^customers\/\d+\/audiences\/\d+$/).optional(),
3719
- custom_audience: z__namespace.string().regex(/^customers\/\d+\/customAudiences\/\d+$/).optional()
3720
- });
3721
- var zGoogleCreateAdGroupCriterionHeaders = z__namespace.object({
3722
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3723
- });
3724
- var zGoogleCreateAdGroupCriterionPath = z__namespace.object({
3725
- connection_id: z__namespace.string(),
3726
- ad_group_id: z__namespace.string().regex(/^\d+$/)
3727
- });
3728
- var zGoogleCreateAdGroupCriterionResponse = zGoogleAdsCreateResult;
3729
- var zGoogleRemoveAdGroupCriterionBody = z__namespace.object({
3730
- dry_run: z__namespace.boolean().optional().default(false)
3731
- });
3732
- var zGoogleRemoveAdGroupCriterionHeaders = z__namespace.object({
3733
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3734
- });
3735
- var zGoogleRemoveAdGroupCriterionPath = z__namespace.object({
3736
- connection_id: z__namespace.string(),
3737
- ad_group_id: z__namespace.string().regex(/^\d+$/),
3738
- criterion_id: z__namespace.string().regex(/^\d+$/)
3739
- });
3740
- var zGoogleRemoveAdGroupCriterionResponse = zGoogleAdsDeleteResult;
3741
- var zGoogleListAudiencesPath = z__namespace.object({
3742
- connection_id: z__namespace.string()
3743
- });
3744
- var zGoogleListAudiencesQuery = z__namespace.object({
3745
- q: z__namespace.string().min(1).optional(),
3746
- kind: z__namespace.enum([
3747
- "user_list",
3748
- "audience",
3749
- "custom_audience"
3750
- ]).optional()
3751
- });
3752
- var zGoogleListAudiencesResponse = z__namespace.object({
3753
- object: z__namespace.literal("list"),
3754
- data: z__namespace.array(zGoogleAdsAudience)
3755
- });
3756
- var zGoogleSetCampaignTargetingSettingBody = z__namespace.object({
3757
- dry_run: z__namespace.boolean().optional().default(false),
3758
- targeting_dimension: z__namespace.enum([
3759
- "KEYWORD",
3760
- "AUDIENCE",
3761
- "TOPIC",
3762
- "GENDER",
3763
- "AGE_RANGE",
3764
- "PLACEMENT",
3765
- "PARENTAL_STATUS",
3766
- "INCOME_RANGE"
3767
- ]),
3768
- bid_only: z__namespace.boolean()
3769
- });
3770
- var zGoogleSetCampaignTargetingSettingHeaders = z__namespace.object({
3771
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3772
- });
3773
- var zGoogleSetCampaignTargetingSettingPath = z__namespace.object({
3774
- connection_id: z__namespace.string(),
3775
- campaign_id: z__namespace.string().regex(/^\d+$/)
3776
- });
3777
- var zGoogleSetCampaignTargetingSettingResponse = zGoogleAdsEditResult;
3778
- var zGoogleListAdsPath = z__namespace.object({
3779
- connection_id: z__namespace.string()
3780
- });
3781
- var zGoogleListAdsQuery = z__namespace.object({
3782
- ad_group_id: z__namespace.string().regex(/^\d+$/).optional(),
3783
- status: zGoogleAdsReadStatusFilter.optional()
3784
- });
3785
- var zGoogleListAdsResponse = z__namespace.object({
3786
- object: z__namespace.literal("list"),
3787
- data: z__namespace.array(zGoogleAdsAd)
3788
- });
3789
- var zGoogleCreateAdBody = z__namespace.object({
3790
- ad_group: z__namespace.string().regex(/^\d+$/),
3791
- final_urls: z__namespace.array(z__namespace.url()).min(1),
3792
- headlines: z__namespace.array(z__namespace.object({
3793
- text: z__namespace.string().min(1).max(30),
3794
- pinned_field: z__namespace.enum([
3795
- "HEADLINE_1",
3796
- "HEADLINE_2",
3797
- "HEADLINE_3"
3798
- ]).optional()
3799
- })).min(3).max(15),
3800
- descriptions: z__namespace.array(z__namespace.object({
3801
- text: z__namespace.string().min(1).max(90)
3802
- })).min(2).max(4),
3803
- path1: z__namespace.string().max(15).optional(),
3804
- path2: z__namespace.string().max(15).optional(),
3805
- status: z__namespace.enum(["ENABLED", "PAUSED"]).optional().default("PAUSED"),
3806
- dry_run: z__namespace.boolean().optional().default(false)
3807
- });
3808
- var zGoogleCreateAdHeaders = z__namespace.object({
3809
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3810
- });
3811
- var zGoogleCreateAdPath = z__namespace.object({
3812
- connection_id: z__namespace.string()
3813
- });
3814
- var zGoogleCreateAdResponse = zGoogleAdsCreateResult;
3815
- var zGoogleGetAdPath = z__namespace.object({
3816
- connection_id: z__namespace.string(),
3817
- id: z__namespace.string().regex(/^\d+~\d+$/)
3818
- });
3819
- var zGoogleGetAdResponse = zGoogleAdsAd;
3820
- var zGoogleCreateDisplayAdBody = z__namespace.object({
3821
- ad_group: z__namespace.string().regex(/^\d+$/),
3822
- final_urls: z__namespace.array(z__namespace.url()).min(1),
3823
- marketing_images: z__namespace.array(z__namespace.object({
3824
- asset: z__namespace.string().min(1)
3825
- })).max(15).optional().default([]),
3826
- square_marketing_images: z__namespace.array(z__namespace.object({
3827
- asset: z__namespace.string().min(1)
3828
- })).max(15).optional().default([]),
3829
- logo_images: z__namespace.array(z__namespace.object({
3830
- asset: z__namespace.string().min(1)
3831
- })).max(5).optional().default([]),
3832
- square_logo_images: z__namespace.array(z__namespace.object({
3833
- asset: z__namespace.string().min(1)
3834
- })).max(5).optional().default([]),
3835
- headlines: z__namespace.array(z__namespace.object({
3836
- text: z__namespace.string().min(1).max(30)
3837
- })).min(1).max(5),
3838
- long_headline: z__namespace.object({
3839
- text: z__namespace.string().min(1).max(90)
3840
- }),
3841
- descriptions: z__namespace.array(z__namespace.object({
3842
- text: z__namespace.string().min(1).max(90)
3843
- })).min(1).max(5),
3844
- business_name: z__namespace.string().min(1).max(25).optional(),
3845
- call_to_action_text: z__namespace.string().min(1).optional(),
3846
- main_color: z__namespace.string().min(1).optional(),
3847
- accent_color: z__namespace.string().min(1).optional(),
3848
- status: z__namespace.enum(["ENABLED", "PAUSED"]).optional().default("PAUSED"),
3849
- dry_run: z__namespace.boolean().optional().default(false)
3850
- });
3851
- var zGoogleCreateDisplayAdHeaders = z__namespace.object({
3852
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3853
- });
3854
- var zGoogleCreateDisplayAdPath = z__namespace.object({
3855
- connection_id: z__namespace.string()
3856
- });
3857
- var zGoogleCreateDisplayAdResponse = zGoogleAdsCreateResult;
3858
- var zGoogleRemoveAdBody = z__namespace.object({
3859
- dry_run: z__namespace.boolean().optional().default(false)
3860
- });
3861
- var zGoogleRemoveAdHeaders = z__namespace.object({
3862
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3863
- });
3864
- var zGoogleRemoveAdPath = z__namespace.object({
3865
- connection_id: z__namespace.string(),
3866
- id: z__namespace.string().regex(/^\d+~\d+$/)
3867
- });
3868
- var zGoogleRemoveAdResponse = zGoogleAdsDeleteResult;
3869
- var zGooglePauseAdBody = z__namespace.object({
3870
- dry_run: z__namespace.boolean().optional().default(false)
3871
- });
3872
- var zGooglePauseAdHeaders = z__namespace.object({
3873
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3874
- });
3875
- var zGooglePauseAdPath = z__namespace.object({
3876
- connection_id: z__namespace.string(),
3877
- id: z__namespace.string().regex(/^\d+~\d+$/)
3878
- });
3879
- var zGooglePauseAdResponse = z__namespace.object({
3880
- id: z__namespace.string(),
3881
- status: z__namespace.enum(["ENABLED", "PAUSED"]),
3882
- dry_run: z__namespace.boolean(),
3883
- executed: z__namespace.boolean()
3884
- });
3885
- var zGoogleEnableAdBody = z__namespace.object({
3886
- dry_run: z__namespace.boolean().optional().default(false)
3887
- });
3888
- var zGoogleEnableAdHeaders = z__namespace.object({
3889
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3890
- });
3891
- var zGoogleEnableAdPath = z__namespace.object({
3892
- connection_id: z__namespace.string(),
3893
- id: z__namespace.string().regex(/^\d+~\d+$/)
3894
- });
3895
- var zGoogleEnableAdResponse = z__namespace.object({
3896
- id: z__namespace.string(),
3897
- status: z__namespace.enum(["ENABLED", "PAUSED"]),
3898
- dry_run: z__namespace.boolean(),
3899
- executed: z__namespace.boolean()
3900
- });
3901
- var zGoogleListKeywordsPath = z__namespace.object({
3902
- connection_id: z__namespace.string()
3903
- });
3904
- var zGoogleListKeywordsQuery = z__namespace.object({
3905
- ad_group_id: z__namespace.string().regex(/^\d+$/).optional(),
3906
- status: zGoogleAdsReadStatusFilter.optional()
3907
- });
3908
- var zGoogleListKeywordsResponse = z__namespace.object({
3909
- object: z__namespace.literal("list"),
3910
- data: z__namespace.array(zGoogleAdsKeyword)
3911
- });
3912
- var zGoogleCreateKeywordBody = z__namespace.object({
3913
- ad_group: z__namespace.string().regex(/^\d+$/),
3914
- text: z__namespace.string().min(1).max(80),
3915
- match_type: z__namespace.enum([
3916
- "EXACT",
3917
- "PHRASE",
3918
- "BROAD"
3919
- ]),
3920
- negative: z__namespace.boolean().optional().default(false),
3921
- status: z__namespace.enum(["ENABLED", "PAUSED"]).optional().default("ENABLED"),
3922
- dry_run: z__namespace.boolean().optional().default(false)
3923
- });
3924
- var zGoogleCreateKeywordHeaders = z__namespace.object({
3925
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3926
- });
3927
- var zGoogleCreateKeywordPath = z__namespace.object({
3928
- connection_id: z__namespace.string()
3929
- });
3930
- var zGoogleCreateKeywordResponse = zGoogleAdsCreateResult;
3931
- var zGoogleGetKeywordPath = z__namespace.object({
3932
- connection_id: z__namespace.string(),
3933
- id: z__namespace.string().regex(/^\d+~\d+$/)
3934
- });
3935
- var zGoogleGetKeywordResponse = zGoogleAdsKeyword;
3936
- var zGoogleSetKeywordBidBody = z__namespace.object({
3937
- cpc_bid_micros: z__namespace.int().gt(0).lte(9007199254740991),
3938
- dry_run: z__namespace.boolean().optional().default(false)
3939
- });
3940
- var zGoogleSetKeywordBidHeaders = z__namespace.object({
3941
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3942
- });
3943
- var zGoogleSetKeywordBidPath = z__namespace.object({
3944
- connection_id: z__namespace.string(),
3945
- id: z__namespace.string().regex(/^\d+~\d+$/)
3946
- });
3947
- var zGoogleSetKeywordBidResponse = zGoogleAdsEditResult;
3948
- var zGoogleRemoveKeywordBody = z__namespace.object({
3949
- dry_run: z__namespace.boolean().optional().default(false)
3950
- });
3951
- var zGoogleRemoveKeywordHeaders = z__namespace.object({
3952
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3953
- });
3954
- var zGoogleRemoveKeywordPath = z__namespace.object({
3955
- connection_id: z__namespace.string(),
3956
- id: z__namespace.string().regex(/^\d+~\d+$/)
3957
- });
3958
- var zGoogleRemoveKeywordResponse = zGoogleAdsDeleteResult;
3959
- var zGooglePauseKeywordBody = z__namespace.object({
3960
- dry_run: z__namespace.boolean().optional().default(false)
3961
- });
3962
- var zGooglePauseKeywordHeaders = z__namespace.object({
3963
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3964
- });
3965
- var zGooglePauseKeywordPath = z__namespace.object({
3966
- connection_id: z__namespace.string(),
3967
- id: z__namespace.string().regex(/^\d+~\d+$/)
3968
- });
3969
- var zGooglePauseKeywordResponse = z__namespace.object({
3970
- id: z__namespace.string(),
3971
- status: z__namespace.enum(["ENABLED", "PAUSED"]),
3972
- dry_run: z__namespace.boolean(),
3973
- executed: z__namespace.boolean()
3974
- });
3975
- var zGoogleEnableKeywordBody = z__namespace.object({
3976
- dry_run: z__namespace.boolean().optional().default(false)
3977
- });
3978
- var zGoogleEnableKeywordHeaders = z__namespace.object({
3979
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3980
- });
3981
- var zGoogleEnableKeywordPath = z__namespace.object({
3982
- connection_id: z__namespace.string(),
3983
- id: z__namespace.string().regex(/^\d+~\d+$/)
3984
- });
3985
- var zGoogleEnableKeywordResponse = z__namespace.object({
3986
- id: z__namespace.string(),
3987
- status: z__namespace.enum(["ENABLED", "PAUSED"]),
3988
- dry_run: z__namespace.boolean(),
3989
- executed: z__namespace.boolean()
3990
- });
3991
- var zGoogleListConversionActionsPath = z__namespace.object({
3992
- connection_id: z__namespace.string()
3993
- });
3994
- var zGoogleListConversionActionsResponse = z__namespace.object({
3995
- object: z__namespace.literal("list"),
3996
- data: z__namespace.array(z__namespace.object({
3997
- id: z__namespace.string(),
3998
- name: z__namespace.string().nullable(),
3999
- status: z__namespace.enum([
4000
- "UNSPECIFIED",
4001
- "UNKNOWN",
4002
- "ENABLED",
4003
- "REMOVED",
4004
- "HIDDEN"
4005
- ]),
4006
- type: z__namespace.enum([
4007
- "UNSPECIFIED",
4008
- "UNKNOWN",
4009
- "AD_CALL",
4010
- "CLICK_TO_CALL",
4011
- "GOOGLE_PLAY_DOWNLOAD",
4012
- "GOOGLE_PLAY_IN_APP_PURCHASE",
4013
- "UPLOAD_CALLS",
4014
- "UPLOAD_CLICKS",
4015
- "WEBPAGE",
4016
- "WEBSITE_CALL",
4017
- "STORE_SALES_DIRECT_UPLOAD",
4018
- "STORE_SALES",
4019
- "FIREBASE_ANDROID_FIRST_OPEN",
4020
- "FIREBASE_ANDROID_IN_APP_PURCHASE",
4021
- "FIREBASE_ANDROID_CUSTOM",
4022
- "FIREBASE_IOS_FIRST_OPEN",
4023
- "FIREBASE_IOS_IN_APP_PURCHASE",
4024
- "FIREBASE_IOS_CUSTOM",
4025
- "THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN",
4026
- "THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE",
4027
- "THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM",
4028
- "THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN",
4029
- "THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE",
4030
- "THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM",
4031
- "ANDROID_APP_PRE_REGISTRATION",
4032
- "ANDROID_INSTALLS_ALL_OTHER_APPS",
4033
- "FLOODLIGHT_ACTION",
4034
- "FLOODLIGHT_TRANSACTION",
4035
- "GOOGLE_HOSTED",
4036
- "LEAD_FORM_SUBMIT",
4037
- "SALESFORCE",
4038
- "SEARCH_ADS_360",
4039
- "SMART_CAMPAIGN_AD_CLICKS_TO_CALL",
4040
- "SMART_CAMPAIGN_MAP_CLICKS_TO_CALL",
4041
- "SMART_CAMPAIGN_MAP_DIRECTIONS",
4042
- "SMART_CAMPAIGN_TRACKED_CALLS",
4043
- "STORE_VISITS",
4044
- "WEBPAGE_CODELESS",
4045
- "UNIVERSAL_ANALYTICS_GOAL",
4046
- "UNIVERSAL_ANALYTICS_TRANSACTION",
4047
- "GOOGLE_ANALYTICS_4_CUSTOM",
4048
- "GOOGLE_ANALYTICS_4_PURCHASE",
4049
- "GOOGLE_ANALYTICS_4_GENERATE_LEAD",
4050
- "GOOGLE_ANALYTICS_4_QUALIFY_LEAD",
4051
- "GOOGLE_ANALYTICS_4_CLOSE_CONVERT_LEAD",
4052
- "FIREBASE_ANDROID_GENERATE_LEAD",
4053
- "FIREBASE_ANDROID_QUALIFY_LEAD",
4054
- "FIREBASE_ANDROID_CLOSE_CONVERT_LEAD",
4055
- "FIREBASE_IOS_GENERATE_LEAD",
4056
- "FIREBASE_IOS_QUALIFY_LEAD",
4057
- "FIREBASE_IOS_CLOSE_CONVERT_LEAD"
4058
- ]),
4059
- category: z__namespace.enum([
4060
- "UNSPECIFIED",
4061
- "UNKNOWN",
4062
- "DEFAULT",
4063
- "PAGE_VIEW",
4064
- "PURCHASE",
4065
- "SIGNUP",
4066
- "DOWNLOAD",
4067
- "ADD_TO_CART",
4068
- "BEGIN_CHECKOUT",
4069
- "SUBSCRIBE_PAID",
4070
- "PHONE_CALL_LEAD",
4071
- "IMPORTED_LEAD",
4072
- "SUBMIT_LEAD_FORM",
4073
- "BOOK_APPOINTMENT",
4074
- "REQUEST_QUOTE",
4075
- "GET_DIRECTIONS",
4076
- "OUTBOUND_CLICK",
4077
- "CONTACT",
4078
- "ENGAGEMENT",
4079
- "STORE_VISIT",
4080
- "STORE_SALE",
4081
- "QUALIFIED_LEAD",
4082
- "CONVERTED_LEAD",
4083
- "YOUTUBE_FOLLOW_ON_VIEWS"
4084
- ]),
4085
- origin: z__namespace.enum([
4086
- "UNSPECIFIED",
4087
- "UNKNOWN",
4088
- "WEBSITE",
4089
- "GOOGLE_HOSTED",
4090
- "APP",
4091
- "CALL_FROM_ADS",
4092
- "STORE",
4093
- "YOUTUBE_HOSTED"
4094
- ]),
4095
- primary_for_goal: z__namespace.boolean(),
4096
- counting_type: z__namespace.enum([
4097
- "UNSPECIFIED",
4098
- "UNKNOWN",
4099
- "ONE_PER_CLICK",
4100
- "MANY_PER_CLICK"
4101
- ]),
4102
- click_through_lookback_window_days: z__namespace.number().nullable(),
4103
- view_through_lookback_window_days: z__namespace.number().nullable(),
4104
- value_settings: z__namespace.object({
4105
- default_value: z__namespace.number().nullable(),
4106
- default_currency_code: z__namespace.string().nullable(),
4107
- always_use_default_value: z__namespace.boolean().nullable()
4108
- }).nullable(),
4109
- tag_snippets: z__namespace.array(z__namespace.object({
4110
- type: z__namespace.enum([
4111
- "UNSPECIFIED",
4112
- "UNKNOWN",
4113
- "WEBPAGE",
4114
- "WEBPAGE_ONCLICK",
4115
- "CLICK_TO_CALL",
4116
- "WEBSITE_CALL"
4117
- ]),
4118
- page_format: z__namespace.enum([
4119
- "UNSPECIFIED",
4120
- "UNKNOWN",
4121
- "HTML",
4122
- "AMP"
4123
- ]),
4124
- global_site_tag: z__namespace.string().nullable(),
4125
- event_snippet: z__namespace.string().nullable()
4126
- }))
4127
- }))
4128
- });
4129
- var zGoogleCreateConversionActionBody = z__namespace.object({
4130
- name: z__namespace.string().min(1).max(255),
4131
- type: z__namespace.enum(["WEBPAGE", "UPLOAD_CLICKS"]),
4132
- category: z__namespace.enum([
4133
- "DEFAULT",
4134
- "PAGE_VIEW",
4135
- "PURCHASE",
4136
- "SIGNUP",
4137
- "DOWNLOAD",
4138
- "ADD_TO_CART",
4139
- "BEGIN_CHECKOUT",
4140
- "SUBSCRIBE_PAID",
4141
- "PHONE_CALL_LEAD",
4142
- "IMPORTED_LEAD",
4143
- "SUBMIT_LEAD_FORM",
4144
- "BOOK_APPOINTMENT",
4145
- "REQUEST_QUOTE",
4146
- "GET_DIRECTIONS",
4147
- "OUTBOUND_CLICK",
4148
- "CONTACT",
4149
- "ENGAGEMENT",
4150
- "STORE_VISIT",
4151
- "STORE_SALE",
4152
- "QUALIFIED_LEAD",
4153
- "CONVERTED_LEAD",
4154
- "YOUTUBE_FOLLOW_ON_VIEWS"
4155
- ]),
4156
- status: z__namespace.enum(["ENABLED"]).optional().default("ENABLED"),
4157
- value_settings: z__namespace.object({
4158
- default_value: z__namespace.number().gte(0).optional(),
4159
- default_currency_code: z__namespace.string().length(3).optional(),
4160
- always_use_default_value: z__namespace.boolean().optional()
4161
- }).optional(),
4162
- counting_type: z__namespace.enum(["ONE_PER_CLICK", "MANY_PER_CLICK"]).optional(),
4163
- click_through_lookback_window_days: z__namespace.int().gt(0).lte(9007199254740991).optional(),
4164
- view_through_lookback_window_days: z__namespace.int().gt(0).lte(9007199254740991).optional(),
4165
- dry_run: z__namespace.boolean().optional().default(false)
4166
- });
4167
- var zGoogleCreateConversionActionHeaders = z__namespace.object({
4168
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
4169
- });
4170
- var zGoogleCreateConversionActionPath = z__namespace.object({
4171
- connection_id: z__namespace.string()
4172
- });
4173
- var zGoogleCreateConversionActionResponse = zGoogleAdsCreateResult;
4174
- var zGoogleGetConversionActionPath = z__namespace.object({
4175
- connection_id: z__namespace.string(),
4176
- id: z__namespace.string().regex(/^\d+$/)
4177
- });
4178
- var zGoogleGetConversionActionResponse = z__namespace.object({
4179
- id: z__namespace.string(),
4180
- name: z__namespace.string().nullable(),
4181
- status: z__namespace.enum([
4182
- "UNSPECIFIED",
4183
- "UNKNOWN",
4184
- "ENABLED",
4185
- "REMOVED",
4186
- "HIDDEN"
4187
- ]),
4188
- type: z__namespace.enum([
4189
- "UNSPECIFIED",
4190
- "UNKNOWN",
4191
- "AD_CALL",
4192
- "CLICK_TO_CALL",
4193
- "GOOGLE_PLAY_DOWNLOAD",
4194
- "GOOGLE_PLAY_IN_APP_PURCHASE",
4195
- "UPLOAD_CALLS",
4196
- "UPLOAD_CLICKS",
4197
- "WEBPAGE",
4198
- "WEBSITE_CALL",
4199
- "STORE_SALES_DIRECT_UPLOAD",
4200
- "STORE_SALES",
4201
- "FIREBASE_ANDROID_FIRST_OPEN",
4202
- "FIREBASE_ANDROID_IN_APP_PURCHASE",
4203
- "FIREBASE_ANDROID_CUSTOM",
4204
- "FIREBASE_IOS_FIRST_OPEN",
4205
- "FIREBASE_IOS_IN_APP_PURCHASE",
4206
- "FIREBASE_IOS_CUSTOM",
4207
- "THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN",
4208
- "THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE",
4209
- "THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM",
4210
- "THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN",
4211
- "THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE",
4212
- "THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM",
4213
- "ANDROID_APP_PRE_REGISTRATION",
4214
- "ANDROID_INSTALLS_ALL_OTHER_APPS",
4215
- "FLOODLIGHT_ACTION",
4216
- "FLOODLIGHT_TRANSACTION",
4217
- "GOOGLE_HOSTED",
4218
- "LEAD_FORM_SUBMIT",
4219
- "SALESFORCE",
4220
- "SEARCH_ADS_360",
4221
- "SMART_CAMPAIGN_AD_CLICKS_TO_CALL",
4222
- "SMART_CAMPAIGN_MAP_CLICKS_TO_CALL",
4223
- "SMART_CAMPAIGN_MAP_DIRECTIONS",
4224
- "SMART_CAMPAIGN_TRACKED_CALLS",
4225
- "STORE_VISITS",
4226
- "WEBPAGE_CODELESS",
4227
- "UNIVERSAL_ANALYTICS_GOAL",
4228
- "UNIVERSAL_ANALYTICS_TRANSACTION",
4229
- "GOOGLE_ANALYTICS_4_CUSTOM",
4230
- "GOOGLE_ANALYTICS_4_PURCHASE",
4231
- "GOOGLE_ANALYTICS_4_GENERATE_LEAD",
4232
- "GOOGLE_ANALYTICS_4_QUALIFY_LEAD",
4233
- "GOOGLE_ANALYTICS_4_CLOSE_CONVERT_LEAD",
4234
- "FIREBASE_ANDROID_GENERATE_LEAD",
4235
- "FIREBASE_ANDROID_QUALIFY_LEAD",
4236
- "FIREBASE_ANDROID_CLOSE_CONVERT_LEAD",
4237
- "FIREBASE_IOS_GENERATE_LEAD",
4238
- "FIREBASE_IOS_QUALIFY_LEAD",
4239
- "FIREBASE_IOS_CLOSE_CONVERT_LEAD"
4240
- ]),
4241
- category: z__namespace.enum([
4242
- "UNSPECIFIED",
4243
- "UNKNOWN",
4244
- "DEFAULT",
4245
- "PAGE_VIEW",
4246
- "PURCHASE",
4247
- "SIGNUP",
4248
- "DOWNLOAD",
4249
- "ADD_TO_CART",
4250
- "BEGIN_CHECKOUT",
4251
- "SUBSCRIBE_PAID",
4252
- "PHONE_CALL_LEAD",
4253
- "IMPORTED_LEAD",
4254
- "SUBMIT_LEAD_FORM",
4255
- "BOOK_APPOINTMENT",
4256
- "REQUEST_QUOTE",
4257
- "GET_DIRECTIONS",
4258
- "OUTBOUND_CLICK",
4259
- "CONTACT",
4260
- "ENGAGEMENT",
4261
- "STORE_VISIT",
4262
- "STORE_SALE",
4263
- "QUALIFIED_LEAD",
4264
- "CONVERTED_LEAD",
4265
- "YOUTUBE_FOLLOW_ON_VIEWS"
4266
- ]),
4267
- origin: z__namespace.enum([
4268
- "UNSPECIFIED",
4269
- "UNKNOWN",
4270
- "WEBSITE",
4271
- "GOOGLE_HOSTED",
4272
- "APP",
4273
- "CALL_FROM_ADS",
4274
- "STORE",
4275
- "YOUTUBE_HOSTED"
4276
- ]),
4277
- primary_for_goal: z__namespace.boolean(),
4278
- counting_type: z__namespace.enum([
4279
- "UNSPECIFIED",
4280
- "UNKNOWN",
4281
- "ONE_PER_CLICK",
4282
- "MANY_PER_CLICK"
4283
- ]),
4284
- click_through_lookback_window_days: z__namespace.number().nullable(),
4285
- view_through_lookback_window_days: z__namespace.number().nullable(),
4286
- value_settings: z__namespace.object({
4287
- default_value: z__namespace.number().nullable(),
4288
- default_currency_code: z__namespace.string().nullable(),
4289
- always_use_default_value: z__namespace.boolean().nullable()
4290
- }).nullable(),
4291
- tag_snippets: z__namespace.array(z__namespace.object({
4292
- type: z__namespace.enum([
4293
- "UNSPECIFIED",
4294
- "UNKNOWN",
4295
- "WEBPAGE",
4296
- "WEBPAGE_ONCLICK",
4297
- "CLICK_TO_CALL",
4298
- "WEBSITE_CALL"
4299
- ]),
4300
- page_format: z__namespace.enum([
4301
- "UNSPECIFIED",
4302
- "UNKNOWN",
4303
- "HTML",
4304
- "AMP"
4305
- ]),
4306
- global_site_tag: z__namespace.string().nullable(),
4307
- event_snippet: z__namespace.string().nullable()
4308
- }))
4309
- });
4310
- var zGoogleUpdateConversionActionBody = z__namespace.object({
4311
- name: z__namespace.string().min(1).max(255).optional(),
4312
- category: z__namespace.enum([
4313
- "DEFAULT",
4314
- "PAGE_VIEW",
4315
- "PURCHASE",
4316
- "SIGNUP",
4317
- "DOWNLOAD",
4318
- "ADD_TO_CART",
4319
- "BEGIN_CHECKOUT",
4320
- "SUBSCRIBE_PAID",
4321
- "PHONE_CALL_LEAD",
4322
- "IMPORTED_LEAD",
4323
- "SUBMIT_LEAD_FORM",
4324
- "BOOK_APPOINTMENT",
4325
- "REQUEST_QUOTE",
4326
- "GET_DIRECTIONS",
4327
- "OUTBOUND_CLICK",
4328
- "CONTACT",
4329
- "ENGAGEMENT",
4330
- "STORE_VISIT",
4331
- "STORE_SALE",
4332
- "QUALIFIED_LEAD",
4333
- "CONVERTED_LEAD",
4334
- "YOUTUBE_FOLLOW_ON_VIEWS"
4335
- ]).optional(),
4336
- status: z__namespace.enum(["ENABLED"]).optional(),
4337
- value_settings: z__namespace.object({
4338
- default_value: z__namespace.number().gte(0).optional(),
4339
- default_currency_code: z__namespace.string().length(3).optional(),
4340
- always_use_default_value: z__namespace.boolean().optional()
4341
- }).optional(),
4342
- counting_type: z__namespace.enum(["ONE_PER_CLICK", "MANY_PER_CLICK"]).optional(),
4343
- click_through_lookback_window_days: z__namespace.int().gt(0).lte(9007199254740991).optional(),
4344
- view_through_lookback_window_days: z__namespace.int().gt(0).lte(9007199254740991).optional(),
4345
- primary_for_goal: z__namespace.boolean().optional(),
4346
- dry_run: z__namespace.boolean().optional().default(false)
4347
- });
4348
- var zGoogleUpdateConversionActionHeaders = z__namespace.object({
4349
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
4350
- });
4351
- var zGoogleUpdateConversionActionPath = z__namespace.object({
4352
- connection_id: z__namespace.string(),
4353
- id: z__namespace.string().regex(/^\d+$/)
4354
- });
4355
- var zGoogleUpdateConversionActionResponse = zGoogleAdsEditResult;
4356
- var zGoogleRemoveConversionActionBody = z__namespace.object({
4357
- dry_run: z__namespace.boolean().optional().default(false)
4358
- });
4359
- var zGoogleRemoveConversionActionHeaders = z__namespace.object({
4360
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
4361
- });
4362
- var zGoogleRemoveConversionActionPath = z__namespace.object({
4363
- connection_id: z__namespace.string(),
4364
- id: z__namespace.string().regex(/^\d+$/)
4365
- });
4366
- var zGoogleRemoveConversionActionResponse = zGoogleAdsDeleteResult;
4367
- var zGoogleSendConversionsBody = z__namespace.object({
4368
- conversion_action_id: z__namespace.string().regex(/^\d+$/),
4369
- conversions: z__namespace.array(zGoogleAdsConversionEvent).min(1).max(2e3),
4370
- consent: zGoogleAdsConversionConsent.optional(),
4371
- dry_run: z__namespace.boolean().optional().default(false)
4372
- });
4373
- var zGoogleSendConversionsHeaders = z__namespace.object({
4374
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
4375
- });
4376
- var zGoogleSendConversionsPath = z__namespace.object({
4377
- connection_id: z__namespace.string()
4378
- });
4379
- var zGoogleSendConversionsResponse = zGoogleAdsSendConversionsResult;
4380
- var zGoogleGetConversionStatusPath = z__namespace.object({
4381
- connection_id: z__namespace.string()
4382
- });
4383
- var zGoogleGetConversionStatusQuery = z__namespace.object({
4384
- request_id: z__namespace.string().min(1)
4385
- });
4386
- var zGoogleGetConversionStatusResponse = zGoogleAdsConversionStatus;
4387
- var zGoogleListConversionRequestsPath = z__namespace.object({
4388
- connection_id: z__namespace.string()
4389
- });
4390
- var zGoogleListConversionRequestsQuery = z__namespace.object({
4391
- limit: z__namespace.int().gte(1).lte(100).optional().default(20),
4392
- offset: z__namespace.int().gte(0).lte(9007199254740991).optional().default(0)
4393
- });
4394
- var zGoogleListConversionRequestsResponse = z__namespace.object({
4395
- object: z__namespace.literal("list"),
4396
- data: z__namespace.array(zGoogleAdsConversionRequest),
4397
- total: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
4398
- limit: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
4399
- offset: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
4400
- has_more: z__namespace.boolean()
4401
- });
4402
- var zGoogleListConversionGoalsPath = z__namespace.object({
4403
- connection_id: z__namespace.string()
4404
- });
4405
- var zGoogleListConversionGoalsResponse = z__namespace.object({
4406
- object: z__namespace.literal("list"),
4407
- data: z__namespace.array(z__namespace.object({
4408
- category: z__namespace.enum([
4409
- "UNSPECIFIED",
4410
- "UNKNOWN",
4411
- "DEFAULT",
4412
- "PAGE_VIEW",
4413
- "PURCHASE",
4414
- "SIGNUP",
4415
- "DOWNLOAD",
4416
- "ADD_TO_CART",
4417
- "BEGIN_CHECKOUT",
4418
- "SUBSCRIBE_PAID",
4419
- "PHONE_CALL_LEAD",
4420
- "IMPORTED_LEAD",
4421
- "SUBMIT_LEAD_FORM",
4422
- "BOOK_APPOINTMENT",
4423
- "REQUEST_QUOTE",
4424
- "GET_DIRECTIONS",
4425
- "OUTBOUND_CLICK",
4426
- "CONTACT",
4427
- "ENGAGEMENT",
4428
- "STORE_VISIT",
4429
- "STORE_SALE",
4430
- "QUALIFIED_LEAD",
4431
- "CONVERTED_LEAD",
4432
- "YOUTUBE_FOLLOW_ON_VIEWS"
4433
- ]),
4434
- origin: z__namespace.enum([
4435
- "UNSPECIFIED",
4436
- "UNKNOWN",
4437
- "WEBSITE",
4438
- "GOOGLE_HOSTED",
4439
- "APP",
4440
- "CALL_FROM_ADS",
4441
- "STORE",
4442
- "YOUTUBE_HOSTED"
4443
- ]),
4444
- biddable: z__namespace.boolean()
4445
- }))
4446
- });
4447
- var zGoogleSetConversionGoalBody = z__namespace.object({
4448
- category: z__namespace.enum([
4449
- "DEFAULT",
4450
- "PAGE_VIEW",
4451
- "PURCHASE",
4452
- "SIGNUP",
4453
- "DOWNLOAD",
4454
- "ADD_TO_CART",
4455
- "BEGIN_CHECKOUT",
4456
- "SUBSCRIBE_PAID",
4457
- "PHONE_CALL_LEAD",
4458
- "IMPORTED_LEAD",
4459
- "SUBMIT_LEAD_FORM",
4460
- "BOOK_APPOINTMENT",
4461
- "REQUEST_QUOTE",
4462
- "GET_DIRECTIONS",
4463
- "OUTBOUND_CLICK",
4464
- "CONTACT",
4465
- "ENGAGEMENT",
4466
- "STORE_VISIT",
4467
- "STORE_SALE",
4468
- "QUALIFIED_LEAD",
4469
- "CONVERTED_LEAD",
4470
- "YOUTUBE_FOLLOW_ON_VIEWS"
4471
- ]),
4472
- origin: z__namespace.enum([
4473
- "WEBSITE",
4474
- "GOOGLE_HOSTED",
4475
- "APP",
4476
- "CALL_FROM_ADS",
4477
- "STORE",
4478
- "YOUTUBE_HOSTED"
4479
- ]),
4480
- biddable: z__namespace.boolean(),
4481
- dry_run: z__namespace.boolean().optional().default(false)
4482
- });
4483
- var zGoogleSetConversionGoalHeaders = z__namespace.object({
4484
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
4485
- });
4486
- var zGoogleSetConversionGoalPath = z__namespace.object({
4487
- connection_id: z__namespace.string()
4488
- });
4489
- var zGoogleSetConversionGoalResponse = z__namespace.object({
4490
- category: z__namespace.enum([
4491
- "UNSPECIFIED",
4492
- "UNKNOWN",
4493
- "DEFAULT",
4494
- "PAGE_VIEW",
4495
- "PURCHASE",
4496
- "SIGNUP",
4497
- "DOWNLOAD",
4498
- "ADD_TO_CART",
4499
- "BEGIN_CHECKOUT",
4500
- "SUBSCRIBE_PAID",
4501
- "PHONE_CALL_LEAD",
4502
- "IMPORTED_LEAD",
4503
- "SUBMIT_LEAD_FORM",
4504
- "BOOK_APPOINTMENT",
4505
- "REQUEST_QUOTE",
4506
- "GET_DIRECTIONS",
4507
- "OUTBOUND_CLICK",
4508
- "CONTACT",
4509
- "ENGAGEMENT",
4510
- "STORE_VISIT",
4511
- "STORE_SALE",
4512
- "QUALIFIED_LEAD",
4513
- "CONVERTED_LEAD",
4514
- "YOUTUBE_FOLLOW_ON_VIEWS"
4515
- ]),
4516
- origin: z__namespace.enum([
4517
- "UNSPECIFIED",
4518
- "UNKNOWN",
4519
- "WEBSITE",
4520
- "GOOGLE_HOSTED",
4521
- "APP",
4522
- "CALL_FROM_ADS",
4523
- "STORE",
4524
- "YOUTUBE_HOSTED"
4525
- ]),
4526
- biddable: z__namespace.boolean(),
4527
- dry_run: z__namespace.boolean(),
4528
- executed: z__namespace.boolean()
4529
- });
4530
- var zGoogleUploadImageAssetBody = z__namespace.object({
4531
- media_id: z__namespace.string(),
4532
- dry_run: z__namespace.boolean().optional().default(false)
4533
- });
4534
- var zGoogleUploadImageAssetHeaders = z__namespace.object({
4535
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
4536
- });
4537
- var zGoogleUploadImageAssetPath = z__namespace.object({
4538
- connection_id: z__namespace.string()
4539
- });
4540
- var zGoogleUploadImageAssetResponse = zGoogleAdsCreateResult;
4541
- var zTiktokCreatorInfoPath = z__namespace.object({
4542
- id: z__namespace.string()
2127
+ var zTiktokCreatorInfoPath = z__namespace.object({
2128
+ id: z__namespace.string()
4543
2129
  });
4544
2130
  var zTiktokCreatorInfoResponse = zTikTokCreatorInfo;
4545
2131
  var zLogsListQuery = z__namespace.object({
@@ -4621,12 +2207,12 @@ var zLogsListResponse = z__namespace.object({
4621
2207
  "not_implemented",
4622
2208
  "connection_discovery_failed",
4623
2209
  "tiktok_creator_info_unavailable",
4624
- "tiktok_cannot_post_now",
4625
2210
  "media_processing",
4626
2211
  "media_upload_init_failed",
4627
2212
  "media_upload_incomplete",
4628
2213
  "media_upload_invalid_parts",
4629
2214
  "not_publishable",
2215
+ "post_not_retryable",
4630
2216
  "invalid_connection",
4631
2217
  "invalid_media",
4632
2218
  "profile_scope_invalid",
@@ -4677,6 +2263,7 @@ var zLogsListResponse = z__namespace.object({
4677
2263
  "x_rate_limited",
4678
2264
  "x_publish_failed",
4679
2265
  "x_media_upload_failed",
2266
+ "x_thread_incomplete",
4680
2267
  "linkedin_duplicate_content",
4681
2268
  "linkedin_auth_expired",
4682
2269
  "linkedin_permission_denied",
@@ -4694,6 +2281,7 @@ var zLogsListResponse = z__namespace.object({
4694
2281
  "instagram_media_unsupported",
4695
2282
  "instagram_not_authorized",
4696
2283
  "instagram_publish_failed",
2284
+ "instagram_comment_failed",
4697
2285
  "facebook_reel_processing",
4698
2286
  "facebook_reel_failed",
4699
2287
  "facebook_rate_limited",
@@ -4701,13 +2289,14 @@ var zLogsListResponse = z__namespace.object({
4701
2289
  "facebook_temporarily_blocked",
4702
2290
  "facebook_not_authorized",
4703
2291
  "facebook_publish_failed",
2292
+ "facebook_comment_failed",
4704
2293
  "tiktok_privacy_not_allowed",
2294
+ "tiktok_interaction_not_allowed",
2295
+ "tiktok_thumbnail_offset_invalid",
4705
2296
  "tiktok_duration_exceeds_max",
4706
2297
  "tiktok_media_processing",
4707
2298
  "tiktok_not_authorized",
4708
2299
  "tiktok_rate_limited",
4709
- "tiktok_url_ownership_unverified",
4710
- "tiktok_unaudited_private_only",
4711
2300
  "tiktok_spam_risk",
4712
2301
  "tiktok_file_format_invalid",
4713
2302
  "tiktok_duration_invalid",
@@ -4716,21 +2305,15 @@ var zLogsListResponse = z__namespace.object({
4716
2305
  "tiktok_media_pull_failed",
4717
2306
  "tiktok_server_error",
4718
2307
  "tiktok_publish_failed",
4719
- "google_rate_limited",
4720
- "google_server_error",
4721
- "google_auth_expired",
4722
- "google_permission_denied",
4723
- "google_request_failed",
4724
- "google_conversion_duplicate",
4725
- "google_conversion_invalid_click_id",
4726
- "google_conversion_event_too_old",
4727
- "google_conversion_consent_required",
4728
- "google_conversion_terms_not_signed",
4729
- "google_conversion_rejected",
4730
2308
  "post_publish_failed",
4731
2309
  "post_partially_published",
4732
2310
  "connection_platform_mismatch",
4733
- "connection_removed"
2311
+ "connection_removed",
2312
+ "publish_interrupted",
2313
+ "publish_outcome_unknown",
2314
+ "plan_limit_reached",
2315
+ "billing_required",
2316
+ "x_link_requires_paid_plan"
4734
2317
  ]),
4735
2318
  message: z__namespace.string()
4736
2319
  }).nullable(),
@@ -4781,12 +2364,142 @@ var zLogsListResponse = z__namespace.object({
4781
2364
  "not_implemented",
4782
2365
  "connection_discovery_failed",
4783
2366
  "tiktok_creator_info_unavailable",
4784
- "tiktok_cannot_post_now",
4785
2367
  "media_processing",
4786
2368
  "media_upload_init_failed",
4787
2369
  "media_upload_incomplete",
4788
2370
  "media_upload_invalid_parts",
4789
2371
  "not_publishable",
2372
+ "post_not_retryable",
2373
+ "invalid_connection",
2374
+ "invalid_media",
2375
+ "profile_scope_invalid",
2376
+ "media_unprobeable",
2377
+ "media_too_large",
2378
+ "media_aspect_ratio_unsupported",
2379
+ "media_resolution_too_low",
2380
+ "media_gif_unsupported",
2381
+ "media_format_recompressed",
2382
+ "media_resolution_downscaled",
2383
+ "video_container_unsupported",
2384
+ "video_codec_unsupported",
2385
+ "video_audio_codec_unsupported",
2386
+ "video_too_large",
2387
+ "video_too_small",
2388
+ "video_dimensions_unsupported",
2389
+ "video_dimensions_too_large",
2390
+ "video_fps_unsupported",
2391
+ "video_fps_too_low",
2392
+ "video_aspect_unsupported",
2393
+ "video_duration_too_short",
2394
+ "video_duration_exceeds_max",
2395
+ "video_transform_failed",
2396
+ "media_fetch_failed",
2397
+ "document_format_unsupported",
2398
+ "document_too_large",
2399
+ "document_too_many_pages",
2400
+ "media_format_indeterminate",
2401
+ "media_format_unsupported",
2402
+ "media_count_invalid",
2403
+ "body_too_long",
2404
+ "content_missing",
2405
+ "content_conflict",
2406
+ "content_incomplete",
2407
+ "media_type_mismatch",
2408
+ "tag_limit_exceeded",
2409
+ "reel_field_on_non_reel",
2410
+ "field_placement_invalid",
2411
+ "media_not_ready",
2412
+ "media_failed",
2413
+ "media_unsupported",
2414
+ "media_kind_mismatch",
2415
+ "variant_unparseable",
2416
+ "publishing_unavailable",
2417
+ "x_duplicate_content",
2418
+ "x_not_authorized",
2419
+ "x_access_not_permitted",
2420
+ "x_rate_limited",
2421
+ "x_publish_failed",
2422
+ "x_media_upload_failed",
2423
+ "x_thread_incomplete",
2424
+ "linkedin_duplicate_content",
2425
+ "linkedin_auth_expired",
2426
+ "linkedin_permission_denied",
2427
+ "linkedin_rate_limited",
2428
+ "linkedin_media_processing",
2429
+ "linkedin_media_failed",
2430
+ "linkedin_media_upload_failed",
2431
+ "linkedin_publish_failed",
2432
+ "instagram_media_processing",
2433
+ "instagram_container_expired",
2434
+ "instagram_container_failed",
2435
+ "instagram_rate_limited",
2436
+ "instagram_daily_limit_reached",
2437
+ "instagram_aspect_ratio_unsupported",
2438
+ "instagram_media_unsupported",
2439
+ "instagram_not_authorized",
2440
+ "instagram_publish_failed",
2441
+ "instagram_comment_failed",
2442
+ "facebook_reel_processing",
2443
+ "facebook_reel_failed",
2444
+ "facebook_rate_limited",
2445
+ "facebook_duplicate_content",
2446
+ "facebook_temporarily_blocked",
2447
+ "facebook_not_authorized",
2448
+ "facebook_publish_failed",
2449
+ "facebook_comment_failed",
2450
+ "tiktok_privacy_not_allowed",
2451
+ "tiktok_interaction_not_allowed",
2452
+ "tiktok_thumbnail_offset_invalid",
2453
+ "tiktok_duration_exceeds_max",
2454
+ "tiktok_media_processing",
2455
+ "tiktok_not_authorized",
2456
+ "tiktok_rate_limited",
2457
+ "tiktok_spam_risk",
2458
+ "tiktok_file_format_invalid",
2459
+ "tiktok_duration_invalid",
2460
+ "tiktok_frame_rate_invalid",
2461
+ "tiktok_resolution_invalid",
2462
+ "tiktok_media_pull_failed",
2463
+ "tiktok_server_error",
2464
+ "tiktok_publish_failed",
2465
+ "post_publish_failed",
2466
+ "post_partially_published",
2467
+ "connection_platform_mismatch",
2468
+ "connection_removed",
2469
+ "publish_interrupted",
2470
+ "publish_outcome_unknown",
2471
+ "plan_limit_reached",
2472
+ "billing_required",
2473
+ "x_link_requires_paid_plan"
2474
+ ]),
2475
+ message: z__namespace.string(),
2476
+ source: zErrorSource.optional(),
2477
+ display_error: z__namespace.string()
2478
+ }).nullable(),
2479
+ warning: z__namespace.object({
2480
+ code: z__namespace.enum([
2481
+ "unauthorized",
2482
+ "forbidden",
2483
+ "not_found",
2484
+ "conflict",
2485
+ "validation_failed",
2486
+ "rate_limited",
2487
+ "internal_error",
2488
+ "idempotency_key_invalid",
2489
+ "idempotency_key_reused",
2490
+ "idempotency_request_in_progress",
2491
+ "account_not_available",
2492
+ "connection_reauth_required",
2493
+ "connection_not_pending",
2494
+ "not_implemented",
2495
+ "connection_discovery_failed",
2496
+ "tiktok_creator_info_unavailable",
2497
+ "media_processing",
2498
+ "media_upload_init_failed",
2499
+ "media_upload_incomplete",
2500
+ "media_upload_invalid_parts",
2501
+ "not_publishable",
2502
+ "post_not_retryable",
4790
2503
  "invalid_connection",
4791
2504
  "invalid_media",
4792
2505
  "profile_scope_invalid",
@@ -4837,6 +2550,7 @@ var zLogsListResponse = z__namespace.object({
4837
2550
  "x_rate_limited",
4838
2551
  "x_publish_failed",
4839
2552
  "x_media_upload_failed",
2553
+ "x_thread_incomplete",
4840
2554
  "linkedin_duplicate_content",
4841
2555
  "linkedin_auth_expired",
4842
2556
  "linkedin_permission_denied",
@@ -4854,6 +2568,7 @@ var zLogsListResponse = z__namespace.object({
4854
2568
  "instagram_media_unsupported",
4855
2569
  "instagram_not_authorized",
4856
2570
  "instagram_publish_failed",
2571
+ "instagram_comment_failed",
4857
2572
  "facebook_reel_processing",
4858
2573
  "facebook_reel_failed",
4859
2574
  "facebook_rate_limited",
@@ -4861,13 +2576,14 @@ var zLogsListResponse = z__namespace.object({
4861
2576
  "facebook_temporarily_blocked",
4862
2577
  "facebook_not_authorized",
4863
2578
  "facebook_publish_failed",
2579
+ "facebook_comment_failed",
4864
2580
  "tiktok_privacy_not_allowed",
2581
+ "tiktok_interaction_not_allowed",
2582
+ "tiktok_thumbnail_offset_invalid",
4865
2583
  "tiktok_duration_exceeds_max",
4866
2584
  "tiktok_media_processing",
4867
2585
  "tiktok_not_authorized",
4868
2586
  "tiktok_rate_limited",
4869
- "tiktok_url_ownership_unverified",
4870
- "tiktok_unaudited_private_only",
4871
2587
  "tiktok_spam_risk",
4872
2588
  "tiktok_file_format_invalid",
4873
2589
  "tiktok_duration_invalid",
@@ -4876,25 +2592,20 @@ var zLogsListResponse = z__namespace.object({
4876
2592
  "tiktok_media_pull_failed",
4877
2593
  "tiktok_server_error",
4878
2594
  "tiktok_publish_failed",
4879
- "google_rate_limited",
4880
- "google_server_error",
4881
- "google_auth_expired",
4882
- "google_permission_denied",
4883
- "google_request_failed",
4884
- "google_conversion_duplicate",
4885
- "google_conversion_invalid_click_id",
4886
- "google_conversion_event_too_old",
4887
- "google_conversion_consent_required",
4888
- "google_conversion_terms_not_signed",
4889
- "google_conversion_rejected",
4890
2595
  "post_publish_failed",
4891
2596
  "post_partially_published",
4892
2597
  "connection_platform_mismatch",
4893
- "connection_removed"
2598
+ "connection_removed",
2599
+ "publish_interrupted",
2600
+ "publish_outcome_unknown",
2601
+ "plan_limit_reached",
2602
+ "billing_required",
2603
+ "x_link_requires_paid_plan"
4894
2604
  ]),
4895
2605
  message: z__namespace.string(),
2606
+ source: zErrorSource.optional(),
4896
2607
  display_error: z__namespace.string()
4897
- }).nullable()
2608
+ }).optional()
4898
2609
  }))
4899
2610
  }).nullable(),
4900
2611
  external_id: z__namespace.string().nullable(),
@@ -4962,12 +2673,12 @@ var zLogsGetResponse = z__namespace.object({
4962
2673
  "not_implemented",
4963
2674
  "connection_discovery_failed",
4964
2675
  "tiktok_creator_info_unavailable",
4965
- "tiktok_cannot_post_now",
4966
2676
  "media_processing",
4967
2677
  "media_upload_init_failed",
4968
2678
  "media_upload_incomplete",
4969
2679
  "media_upload_invalid_parts",
4970
2680
  "not_publishable",
2681
+ "post_not_retryable",
4971
2682
  "invalid_connection",
4972
2683
  "invalid_media",
4973
2684
  "profile_scope_invalid",
@@ -5018,6 +2729,7 @@ var zLogsGetResponse = z__namespace.object({
5018
2729
  "x_rate_limited",
5019
2730
  "x_publish_failed",
5020
2731
  "x_media_upload_failed",
2732
+ "x_thread_incomplete",
5021
2733
  "linkedin_duplicate_content",
5022
2734
  "linkedin_auth_expired",
5023
2735
  "linkedin_permission_denied",
@@ -5035,6 +2747,7 @@ var zLogsGetResponse = z__namespace.object({
5035
2747
  "instagram_media_unsupported",
5036
2748
  "instagram_not_authorized",
5037
2749
  "instagram_publish_failed",
2750
+ "instagram_comment_failed",
5038
2751
  "facebook_reel_processing",
5039
2752
  "facebook_reel_failed",
5040
2753
  "facebook_rate_limited",
@@ -5042,13 +2755,14 @@ var zLogsGetResponse = z__namespace.object({
5042
2755
  "facebook_temporarily_blocked",
5043
2756
  "facebook_not_authorized",
5044
2757
  "facebook_publish_failed",
2758
+ "facebook_comment_failed",
5045
2759
  "tiktok_privacy_not_allowed",
2760
+ "tiktok_interaction_not_allowed",
2761
+ "tiktok_thumbnail_offset_invalid",
5046
2762
  "tiktok_duration_exceeds_max",
5047
2763
  "tiktok_media_processing",
5048
2764
  "tiktok_not_authorized",
5049
2765
  "tiktok_rate_limited",
5050
- "tiktok_url_ownership_unverified",
5051
- "tiktok_unaudited_private_only",
5052
2766
  "tiktok_spam_risk",
5053
2767
  "tiktok_file_format_invalid",
5054
2768
  "tiktok_duration_invalid",
@@ -5057,21 +2771,15 @@ var zLogsGetResponse = z__namespace.object({
5057
2771
  "tiktok_media_pull_failed",
5058
2772
  "tiktok_server_error",
5059
2773
  "tiktok_publish_failed",
5060
- "google_rate_limited",
5061
- "google_server_error",
5062
- "google_auth_expired",
5063
- "google_permission_denied",
5064
- "google_request_failed",
5065
- "google_conversion_duplicate",
5066
- "google_conversion_invalid_click_id",
5067
- "google_conversion_event_too_old",
5068
- "google_conversion_consent_required",
5069
- "google_conversion_terms_not_signed",
5070
- "google_conversion_rejected",
5071
2774
  "post_publish_failed",
5072
2775
  "post_partially_published",
5073
2776
  "connection_platform_mismatch",
5074
- "connection_removed"
2777
+ "connection_removed",
2778
+ "publish_interrupted",
2779
+ "publish_outcome_unknown",
2780
+ "plan_limit_reached",
2781
+ "billing_required",
2782
+ "x_link_requires_paid_plan"
5075
2783
  ]),
5076
2784
  message: z__namespace.string()
5077
2785
  }).nullable(),
@@ -5122,12 +2830,142 @@ var zLogsGetResponse = z__namespace.object({
5122
2830
  "not_implemented",
5123
2831
  "connection_discovery_failed",
5124
2832
  "tiktok_creator_info_unavailable",
5125
- "tiktok_cannot_post_now",
5126
2833
  "media_processing",
5127
2834
  "media_upload_init_failed",
5128
2835
  "media_upload_incomplete",
5129
2836
  "media_upload_invalid_parts",
5130
2837
  "not_publishable",
2838
+ "post_not_retryable",
2839
+ "invalid_connection",
2840
+ "invalid_media",
2841
+ "profile_scope_invalid",
2842
+ "media_unprobeable",
2843
+ "media_too_large",
2844
+ "media_aspect_ratio_unsupported",
2845
+ "media_resolution_too_low",
2846
+ "media_gif_unsupported",
2847
+ "media_format_recompressed",
2848
+ "media_resolution_downscaled",
2849
+ "video_container_unsupported",
2850
+ "video_codec_unsupported",
2851
+ "video_audio_codec_unsupported",
2852
+ "video_too_large",
2853
+ "video_too_small",
2854
+ "video_dimensions_unsupported",
2855
+ "video_dimensions_too_large",
2856
+ "video_fps_unsupported",
2857
+ "video_fps_too_low",
2858
+ "video_aspect_unsupported",
2859
+ "video_duration_too_short",
2860
+ "video_duration_exceeds_max",
2861
+ "video_transform_failed",
2862
+ "media_fetch_failed",
2863
+ "document_format_unsupported",
2864
+ "document_too_large",
2865
+ "document_too_many_pages",
2866
+ "media_format_indeterminate",
2867
+ "media_format_unsupported",
2868
+ "media_count_invalid",
2869
+ "body_too_long",
2870
+ "content_missing",
2871
+ "content_conflict",
2872
+ "content_incomplete",
2873
+ "media_type_mismatch",
2874
+ "tag_limit_exceeded",
2875
+ "reel_field_on_non_reel",
2876
+ "field_placement_invalid",
2877
+ "media_not_ready",
2878
+ "media_failed",
2879
+ "media_unsupported",
2880
+ "media_kind_mismatch",
2881
+ "variant_unparseable",
2882
+ "publishing_unavailable",
2883
+ "x_duplicate_content",
2884
+ "x_not_authorized",
2885
+ "x_access_not_permitted",
2886
+ "x_rate_limited",
2887
+ "x_publish_failed",
2888
+ "x_media_upload_failed",
2889
+ "x_thread_incomplete",
2890
+ "linkedin_duplicate_content",
2891
+ "linkedin_auth_expired",
2892
+ "linkedin_permission_denied",
2893
+ "linkedin_rate_limited",
2894
+ "linkedin_media_processing",
2895
+ "linkedin_media_failed",
2896
+ "linkedin_media_upload_failed",
2897
+ "linkedin_publish_failed",
2898
+ "instagram_media_processing",
2899
+ "instagram_container_expired",
2900
+ "instagram_container_failed",
2901
+ "instagram_rate_limited",
2902
+ "instagram_daily_limit_reached",
2903
+ "instagram_aspect_ratio_unsupported",
2904
+ "instagram_media_unsupported",
2905
+ "instagram_not_authorized",
2906
+ "instagram_publish_failed",
2907
+ "instagram_comment_failed",
2908
+ "facebook_reel_processing",
2909
+ "facebook_reel_failed",
2910
+ "facebook_rate_limited",
2911
+ "facebook_duplicate_content",
2912
+ "facebook_temporarily_blocked",
2913
+ "facebook_not_authorized",
2914
+ "facebook_publish_failed",
2915
+ "facebook_comment_failed",
2916
+ "tiktok_privacy_not_allowed",
2917
+ "tiktok_interaction_not_allowed",
2918
+ "tiktok_thumbnail_offset_invalid",
2919
+ "tiktok_duration_exceeds_max",
2920
+ "tiktok_media_processing",
2921
+ "tiktok_not_authorized",
2922
+ "tiktok_rate_limited",
2923
+ "tiktok_spam_risk",
2924
+ "tiktok_file_format_invalid",
2925
+ "tiktok_duration_invalid",
2926
+ "tiktok_frame_rate_invalid",
2927
+ "tiktok_resolution_invalid",
2928
+ "tiktok_media_pull_failed",
2929
+ "tiktok_server_error",
2930
+ "tiktok_publish_failed",
2931
+ "post_publish_failed",
2932
+ "post_partially_published",
2933
+ "connection_platform_mismatch",
2934
+ "connection_removed",
2935
+ "publish_interrupted",
2936
+ "publish_outcome_unknown",
2937
+ "plan_limit_reached",
2938
+ "billing_required",
2939
+ "x_link_requires_paid_plan"
2940
+ ]),
2941
+ message: z__namespace.string(),
2942
+ source: zErrorSource.optional(),
2943
+ display_error: z__namespace.string()
2944
+ }).nullable(),
2945
+ warning: z__namespace.object({
2946
+ code: z__namespace.enum([
2947
+ "unauthorized",
2948
+ "forbidden",
2949
+ "not_found",
2950
+ "conflict",
2951
+ "validation_failed",
2952
+ "rate_limited",
2953
+ "internal_error",
2954
+ "idempotency_key_invalid",
2955
+ "idempotency_key_reused",
2956
+ "idempotency_request_in_progress",
2957
+ "account_not_available",
2958
+ "connection_reauth_required",
2959
+ "connection_not_pending",
2960
+ "not_implemented",
2961
+ "connection_discovery_failed",
2962
+ "tiktok_creator_info_unavailable",
2963
+ "media_processing",
2964
+ "media_upload_init_failed",
2965
+ "media_upload_incomplete",
2966
+ "media_upload_invalid_parts",
2967
+ "not_publishable",
2968
+ "post_not_retryable",
5131
2969
  "invalid_connection",
5132
2970
  "invalid_media",
5133
2971
  "profile_scope_invalid",
@@ -5178,6 +3016,7 @@ var zLogsGetResponse = z__namespace.object({
5178
3016
  "x_rate_limited",
5179
3017
  "x_publish_failed",
5180
3018
  "x_media_upload_failed",
3019
+ "x_thread_incomplete",
5181
3020
  "linkedin_duplicate_content",
5182
3021
  "linkedin_auth_expired",
5183
3022
  "linkedin_permission_denied",
@@ -5195,6 +3034,7 @@ var zLogsGetResponse = z__namespace.object({
5195
3034
  "instagram_media_unsupported",
5196
3035
  "instagram_not_authorized",
5197
3036
  "instagram_publish_failed",
3037
+ "instagram_comment_failed",
5198
3038
  "facebook_reel_processing",
5199
3039
  "facebook_reel_failed",
5200
3040
  "facebook_rate_limited",
@@ -5202,13 +3042,14 @@ var zLogsGetResponse = z__namespace.object({
5202
3042
  "facebook_temporarily_blocked",
5203
3043
  "facebook_not_authorized",
5204
3044
  "facebook_publish_failed",
3045
+ "facebook_comment_failed",
5205
3046
  "tiktok_privacy_not_allowed",
3047
+ "tiktok_interaction_not_allowed",
3048
+ "tiktok_thumbnail_offset_invalid",
5206
3049
  "tiktok_duration_exceeds_max",
5207
3050
  "tiktok_media_processing",
5208
3051
  "tiktok_not_authorized",
5209
3052
  "tiktok_rate_limited",
5210
- "tiktok_url_ownership_unverified",
5211
- "tiktok_unaudited_private_only",
5212
3053
  "tiktok_spam_risk",
5213
3054
  "tiktok_file_format_invalid",
5214
3055
  "tiktok_duration_invalid",
@@ -5217,25 +3058,20 @@ var zLogsGetResponse = z__namespace.object({
5217
3058
  "tiktok_media_pull_failed",
5218
3059
  "tiktok_server_error",
5219
3060
  "tiktok_publish_failed",
5220
- "google_rate_limited",
5221
- "google_server_error",
5222
- "google_auth_expired",
5223
- "google_permission_denied",
5224
- "google_request_failed",
5225
- "google_conversion_duplicate",
5226
- "google_conversion_invalid_click_id",
5227
- "google_conversion_event_too_old",
5228
- "google_conversion_consent_required",
5229
- "google_conversion_terms_not_signed",
5230
- "google_conversion_rejected",
5231
3061
  "post_publish_failed",
5232
3062
  "post_partially_published",
5233
3063
  "connection_platform_mismatch",
5234
- "connection_removed"
3064
+ "connection_removed",
3065
+ "publish_interrupted",
3066
+ "publish_outcome_unknown",
3067
+ "plan_limit_reached",
3068
+ "billing_required",
3069
+ "x_link_requires_paid_plan"
5235
3070
  ]),
5236
3071
  message: z__namespace.string(),
3072
+ source: zErrorSource.optional(),
5237
3073
  display_error: z__namespace.string()
5238
- }).nullable()
3074
+ }).optional()
5239
3075
  }))
5240
3076
  }).nullable(),
5241
3077
  external_id: z__namespace.string().nullable(),
@@ -5275,7 +3111,9 @@ var zWebhooksCreateEndpointBody = z__namespace.object({
5275
3111
  "webhook.ping",
5276
3112
  "post.published",
5277
3113
  "post.failed",
5278
- "post.completed"
3114
+ "post.completed",
3115
+ "connection.needs_reauth",
3116
+ "connection.restored"
5279
3117
  ]))
5280
3118
  });
5281
3119
  var zWebhooksCreateEndpointHeaders = z__namespace.object({
@@ -5318,7 +3156,9 @@ var zWebhooksUpdateEndpointBody = z__namespace.object({
5318
3156
  "webhook.ping",
5319
3157
  "post.published",
5320
3158
  "post.failed",
5321
- "post.completed"
3159
+ "post.completed",
3160
+ "connection.needs_reauth",
3161
+ "connection.restored"
5322
3162
  ])).optional()
5323
3163
  });
5324
3164
  var zWebhooksUpdateEndpointPath = z__namespace.object({
@@ -5364,14 +3204,16 @@ var zTokensMintBody = z__namespace.object({
5364
3204
  scopes: z__namespace.array(z__namespace.enum([
5365
3205
  "profiles:read",
5366
3206
  "profiles:write",
3207
+ "profiles:delete",
5367
3208
  "connections:read",
5368
3209
  "connections:write",
5369
- "ads:read",
5370
- "ads:write",
3210
+ "connections:delete",
5371
3211
  "posts:read",
5372
3212
  "posts:write",
3213
+ "posts:delete",
5373
3214
  "media:read",
5374
- "media:write"
3215
+ "media:write",
3216
+ "media:delete"
5375
3217
  ])).min(1),
5376
3218
  ttl_seconds: z__namespace.int().gte(60).lte(1800).optional().default(900)
5377
3219
  });
@@ -5380,30 +3222,6 @@ var zTokensMintResponse = z__namespace.object({
5380
3222
  expires_at: z__namespace.string()
5381
3223
  });
5382
3224
 
5383
- // src/schemas/conversions.ts
5384
- var conversionEventSchema = zGoogleAdsConversionEvent.superRefine(
5385
- (event, ctx) => {
5386
- const hasMatchSignal = event.gclid != null || event.gbraid != null || event.wbraid != null || event.user_data != null && event.user_data.length > 0;
5387
- if (!hasMatchSignal) {
5388
- ctx.addIssue({
5389
- code: "custom",
5390
- message: "Each conversion needs at least one match signal: a gclid, gbraid, wbraid, or user_data."
5391
- });
5392
- }
5393
- event.user_data?.forEach((identifier, index) => {
5394
- const hasIdentifier = identifier.email_address != null || identifier.phone_number != null || identifier.address != null;
5395
- if (!hasIdentifier) {
5396
- ctx.addIssue({
5397
- code: "custom",
5398
- path: ["user_data", index],
5399
- message: "Provide an email_address, phone_number, or address."
5400
- });
5401
- }
5402
- });
5403
- }
5404
- );
5405
-
5406
- exports.conversionEventSchema = conversionEventSchema;
5407
3225
  exports.zConnectSession = zConnectSession;
5408
3226
  exports.zConnection = zConnection;
5409
3227
  exports.zConnectionKind = zConnectionKind;
@@ -5430,237 +3248,6 @@ exports.zCreatePostBody = zCreatePostBody;
5430
3248
  exports.zDiscoverableAccount = zDiscoverableAccount;
5431
3249
  exports.zErrorCode = zErrorCode;
5432
3250
  exports.zErrorSource = zErrorSource;
5433
- exports.zGoogleAdTree = zGoogleAdTree;
5434
- exports.zGoogleAdTreeNode = zGoogleAdTreeNode;
5435
- exports.zGoogleAdsAd = zGoogleAdsAd;
5436
- exports.zGoogleAdsAdGroup = zGoogleAdsAdGroup;
5437
- exports.zGoogleAdsAdGroupCriterion = zGoogleAdsAdGroupCriterion;
5438
- exports.zGoogleAdsAudience = zGoogleAdsAudience;
5439
- exports.zGoogleAdsCampaignCriterion = zGoogleAdsCampaignCriterion;
5440
- exports.zGoogleAdsConversionConsent = zGoogleAdsConversionConsent;
5441
- exports.zGoogleAdsConversionEvent = zGoogleAdsConversionEvent;
5442
- exports.zGoogleAdsConversionRequest = zGoogleAdsConversionRequest;
5443
- exports.zGoogleAdsConversionStatus = zGoogleAdsConversionStatus;
5444
- exports.zGoogleAdsConversionStatusReason = zGoogleAdsConversionStatusReason;
5445
- exports.zGoogleAdsConversionUserIdentifier = zGoogleAdsConversionUserIdentifier;
5446
- exports.zGoogleAdsConversionWarning = zGoogleAdsConversionWarning;
5447
- exports.zGoogleAdsCreateAdGroupCriterionRequest = zGoogleAdsCreateAdGroupCriterionRequest;
5448
- exports.zGoogleAdsCreateCampaignCriterionRequest = zGoogleAdsCreateCampaignCriterionRequest;
5449
- exports.zGoogleAdsCreateResult = zGoogleAdsCreateResult;
5450
- exports.zGoogleAdsDeleteResult = zGoogleAdsDeleteResult;
5451
- exports.zGoogleAdsEditResult = zGoogleAdsEditResult;
5452
- exports.zGoogleAdsGeoSettingsRequest = zGoogleAdsGeoSettingsRequest;
5453
- exports.zGoogleAdsGeoTargetConstant = zGoogleAdsGeoTargetConstant;
5454
- exports.zGoogleAdsInsightLevel = zGoogleAdsInsightLevel;
5455
- exports.zGoogleAdsInsightMetric = zGoogleAdsInsightMetric;
5456
- exports.zGoogleAdsInsightSegment = zGoogleAdsInsightSegment;
5457
- exports.zGoogleAdsInsights = zGoogleAdsInsights;
5458
- exports.zGoogleAdsInsightsQuery = zGoogleAdsInsightsQuery;
5459
- exports.zGoogleAdsInsightsRow = zGoogleAdsInsightsRow;
5460
- exports.zGoogleAdsKeyword = zGoogleAdsKeyword;
5461
- exports.zGoogleAdsReadStatusFilter = zGoogleAdsReadStatusFilter;
5462
- exports.zGoogleAdsSendConversionsResult = zGoogleAdsSendConversionsResult;
5463
- exports.zGoogleAdsUrlCustomParameter = zGoogleAdsUrlCustomParameter;
5464
- exports.zGoogleCreateAdBody = zGoogleCreateAdBody;
5465
- exports.zGoogleCreateAdGroupBody = zGoogleCreateAdGroupBody;
5466
- exports.zGoogleCreateAdGroupCriterionBody = zGoogleCreateAdGroupCriterionBody;
5467
- exports.zGoogleCreateAdGroupCriterionHeaders = zGoogleCreateAdGroupCriterionHeaders;
5468
- exports.zGoogleCreateAdGroupCriterionPath = zGoogleCreateAdGroupCriterionPath;
5469
- exports.zGoogleCreateAdGroupCriterionResponse = zGoogleCreateAdGroupCriterionResponse;
5470
- exports.zGoogleCreateAdGroupHeaders = zGoogleCreateAdGroupHeaders;
5471
- exports.zGoogleCreateAdGroupPath = zGoogleCreateAdGroupPath;
5472
- exports.zGoogleCreateAdGroupResponse = zGoogleCreateAdGroupResponse;
5473
- exports.zGoogleCreateAdHeaders = zGoogleCreateAdHeaders;
5474
- exports.zGoogleCreateAdPath = zGoogleCreateAdPath;
5475
- exports.zGoogleCreateAdResponse = zGoogleCreateAdResponse;
5476
- exports.zGoogleCreateBudgetBody = zGoogleCreateBudgetBody;
5477
- exports.zGoogleCreateBudgetHeaders = zGoogleCreateBudgetHeaders;
5478
- exports.zGoogleCreateBudgetPath = zGoogleCreateBudgetPath;
5479
- exports.zGoogleCreateBudgetResponse = zGoogleCreateBudgetResponse;
5480
- exports.zGoogleCreateCampaignBody = zGoogleCreateCampaignBody;
5481
- exports.zGoogleCreateCampaignCriterionBody = zGoogleCreateCampaignCriterionBody;
5482
- exports.zGoogleCreateCampaignCriterionHeaders = zGoogleCreateCampaignCriterionHeaders;
5483
- exports.zGoogleCreateCampaignCriterionPath = zGoogleCreateCampaignCriterionPath;
5484
- exports.zGoogleCreateCampaignCriterionResponse = zGoogleCreateCampaignCriterionResponse;
5485
- exports.zGoogleCreateCampaignHeaders = zGoogleCreateCampaignHeaders;
5486
- exports.zGoogleCreateCampaignPath = zGoogleCreateCampaignPath;
5487
- exports.zGoogleCreateCampaignResponse = zGoogleCreateCampaignResponse;
5488
- exports.zGoogleCreateConversionActionBody = zGoogleCreateConversionActionBody;
5489
- exports.zGoogleCreateConversionActionHeaders = zGoogleCreateConversionActionHeaders;
5490
- exports.zGoogleCreateConversionActionPath = zGoogleCreateConversionActionPath;
5491
- exports.zGoogleCreateConversionActionResponse = zGoogleCreateConversionActionResponse;
5492
- exports.zGoogleCreateDisplayAdBody = zGoogleCreateDisplayAdBody;
5493
- exports.zGoogleCreateDisplayAdHeaders = zGoogleCreateDisplayAdHeaders;
5494
- exports.zGoogleCreateDisplayAdPath = zGoogleCreateDisplayAdPath;
5495
- exports.zGoogleCreateDisplayAdResponse = zGoogleCreateDisplayAdResponse;
5496
- exports.zGoogleCreateKeywordBody = zGoogleCreateKeywordBody;
5497
- exports.zGoogleCreateKeywordHeaders = zGoogleCreateKeywordHeaders;
5498
- exports.zGoogleCreateKeywordPath = zGoogleCreateKeywordPath;
5499
- exports.zGoogleCreateKeywordResponse = zGoogleCreateKeywordResponse;
5500
- exports.zGoogleEditAccountBody = zGoogleEditAccountBody;
5501
- exports.zGoogleEditAccountHeaders = zGoogleEditAccountHeaders;
5502
- exports.zGoogleEditAccountPath = zGoogleEditAccountPath;
5503
- exports.zGoogleEditAccountResponse = zGoogleEditAccountResponse;
5504
- exports.zGoogleEditAdGroupBody = zGoogleEditAdGroupBody;
5505
- exports.zGoogleEditAdGroupHeaders = zGoogleEditAdGroupHeaders;
5506
- exports.zGoogleEditAdGroupPath = zGoogleEditAdGroupPath;
5507
- exports.zGoogleEditAdGroupResponse = zGoogleEditAdGroupResponse;
5508
- exports.zGoogleEditBudgetBody = zGoogleEditBudgetBody;
5509
- exports.zGoogleEditBudgetHeaders = zGoogleEditBudgetHeaders;
5510
- exports.zGoogleEditBudgetPath = zGoogleEditBudgetPath;
5511
- exports.zGoogleEditBudgetResponse = zGoogleEditBudgetResponse;
5512
- exports.zGoogleEditCampaignBody = zGoogleEditCampaignBody;
5513
- exports.zGoogleEditCampaignHeaders = zGoogleEditCampaignHeaders;
5514
- exports.zGoogleEditCampaignPath = zGoogleEditCampaignPath;
5515
- exports.zGoogleEditCampaignResponse = zGoogleEditCampaignResponse;
5516
- exports.zGoogleEnableAdBody = zGoogleEnableAdBody;
5517
- exports.zGoogleEnableAdGroupBody = zGoogleEnableAdGroupBody;
5518
- exports.zGoogleEnableAdGroupHeaders = zGoogleEnableAdGroupHeaders;
5519
- exports.zGoogleEnableAdGroupPath = zGoogleEnableAdGroupPath;
5520
- exports.zGoogleEnableAdGroupResponse = zGoogleEnableAdGroupResponse;
5521
- exports.zGoogleEnableAdHeaders = zGoogleEnableAdHeaders;
5522
- exports.zGoogleEnableAdPath = zGoogleEnableAdPath;
5523
- exports.zGoogleEnableAdResponse = zGoogleEnableAdResponse;
5524
- exports.zGoogleEnableCampaignBody = zGoogleEnableCampaignBody;
5525
- exports.zGoogleEnableCampaignHeaders = zGoogleEnableCampaignHeaders;
5526
- exports.zGoogleEnableCampaignPath = zGoogleEnableCampaignPath;
5527
- exports.zGoogleEnableCampaignResponse = zGoogleEnableCampaignResponse;
5528
- exports.zGoogleEnableKeywordBody = zGoogleEnableKeywordBody;
5529
- exports.zGoogleEnableKeywordHeaders = zGoogleEnableKeywordHeaders;
5530
- exports.zGoogleEnableKeywordPath = zGoogleEnableKeywordPath;
5531
- exports.zGoogleEnableKeywordResponse = zGoogleEnableKeywordResponse;
5532
- exports.zGoogleGetAccountPath = zGoogleGetAccountPath;
5533
- exports.zGoogleGetAccountResponse = zGoogleGetAccountResponse;
5534
- exports.zGoogleGetAdGroupPath = zGoogleGetAdGroupPath;
5535
- exports.zGoogleGetAdGroupResponse = zGoogleGetAdGroupResponse;
5536
- exports.zGoogleGetAdPath = zGoogleGetAdPath;
5537
- exports.zGoogleGetAdResponse = zGoogleGetAdResponse;
5538
- exports.zGoogleGetAdTreePath = zGoogleGetAdTreePath;
5539
- exports.zGoogleGetAdTreeQuery = zGoogleGetAdTreeQuery;
5540
- exports.zGoogleGetAdTreeResponse = zGoogleGetAdTreeResponse;
5541
- exports.zGoogleGetCampaignPath = zGoogleGetCampaignPath;
5542
- exports.zGoogleGetCampaignResponse = zGoogleGetCampaignResponse;
5543
- exports.zGoogleGetConversionActionPath = zGoogleGetConversionActionPath;
5544
- exports.zGoogleGetConversionActionResponse = zGoogleGetConversionActionResponse;
5545
- exports.zGoogleGetConversionStatusPath = zGoogleGetConversionStatusPath;
5546
- exports.zGoogleGetConversionStatusQuery = zGoogleGetConversionStatusQuery;
5547
- exports.zGoogleGetConversionStatusResponse = zGoogleGetConversionStatusResponse;
5548
- exports.zGoogleGetInsightsBody = zGoogleGetInsightsBody;
5549
- exports.zGoogleGetInsightsPath = zGoogleGetInsightsPath;
5550
- exports.zGoogleGetInsightsResponse = zGoogleGetInsightsResponse;
5551
- exports.zGoogleGetKeywordPath = zGoogleGetKeywordPath;
5552
- exports.zGoogleGetKeywordResponse = zGoogleGetKeywordResponse;
5553
- exports.zGoogleListAdGroupCriteriaPath = zGoogleListAdGroupCriteriaPath;
5554
- exports.zGoogleListAdGroupCriteriaResponse = zGoogleListAdGroupCriteriaResponse;
5555
- exports.zGoogleListAdGroupsPath = zGoogleListAdGroupsPath;
5556
- exports.zGoogleListAdGroupsQuery = zGoogleListAdGroupsQuery;
5557
- exports.zGoogleListAdGroupsResponse = zGoogleListAdGroupsResponse;
5558
- exports.zGoogleListAdsPath = zGoogleListAdsPath;
5559
- exports.zGoogleListAdsQuery = zGoogleListAdsQuery;
5560
- exports.zGoogleListAdsResponse = zGoogleListAdsResponse;
5561
- exports.zGoogleListAudiencesPath = zGoogleListAudiencesPath;
5562
- exports.zGoogleListAudiencesQuery = zGoogleListAudiencesQuery;
5563
- exports.zGoogleListAudiencesResponse = zGoogleListAudiencesResponse;
5564
- exports.zGoogleListCampaignCriteriaPath = zGoogleListCampaignCriteriaPath;
5565
- exports.zGoogleListCampaignCriteriaResponse = zGoogleListCampaignCriteriaResponse;
5566
- exports.zGoogleListCampaignsPath = zGoogleListCampaignsPath;
5567
- exports.zGoogleListCampaignsResponse = zGoogleListCampaignsResponse;
5568
- exports.zGoogleListConversionActionsPath = zGoogleListConversionActionsPath;
5569
- exports.zGoogleListConversionActionsResponse = zGoogleListConversionActionsResponse;
5570
- exports.zGoogleListConversionGoalsPath = zGoogleListConversionGoalsPath;
5571
- exports.zGoogleListConversionGoalsResponse = zGoogleListConversionGoalsResponse;
5572
- exports.zGoogleListConversionRequestsPath = zGoogleListConversionRequestsPath;
5573
- exports.zGoogleListConversionRequestsQuery = zGoogleListConversionRequestsQuery;
5574
- exports.zGoogleListConversionRequestsResponse = zGoogleListConversionRequestsResponse;
5575
- exports.zGoogleListKeywordsPath = zGoogleListKeywordsPath;
5576
- exports.zGoogleListKeywordsQuery = zGoogleListKeywordsQuery;
5577
- exports.zGoogleListKeywordsResponse = zGoogleListKeywordsResponse;
5578
- exports.zGooglePauseAdBody = zGooglePauseAdBody;
5579
- exports.zGooglePauseAdGroupBody = zGooglePauseAdGroupBody;
5580
- exports.zGooglePauseAdGroupHeaders = zGooglePauseAdGroupHeaders;
5581
- exports.zGooglePauseAdGroupPath = zGooglePauseAdGroupPath;
5582
- exports.zGooglePauseAdGroupResponse = zGooglePauseAdGroupResponse;
5583
- exports.zGooglePauseAdHeaders = zGooglePauseAdHeaders;
5584
- exports.zGooglePauseAdPath = zGooglePauseAdPath;
5585
- exports.zGooglePauseAdResponse = zGooglePauseAdResponse;
5586
- exports.zGooglePauseCampaignBody = zGooglePauseCampaignBody;
5587
- exports.zGooglePauseCampaignHeaders = zGooglePauseCampaignHeaders;
5588
- exports.zGooglePauseCampaignPath = zGooglePauseCampaignPath;
5589
- exports.zGooglePauseCampaignResponse = zGooglePauseCampaignResponse;
5590
- exports.zGooglePauseKeywordBody = zGooglePauseKeywordBody;
5591
- exports.zGooglePauseKeywordHeaders = zGooglePauseKeywordHeaders;
5592
- exports.zGooglePauseKeywordPath = zGooglePauseKeywordPath;
5593
- exports.zGooglePauseKeywordResponse = zGooglePauseKeywordResponse;
5594
- exports.zGoogleRemoveAdBody = zGoogleRemoveAdBody;
5595
- exports.zGoogleRemoveAdGroupBody = zGoogleRemoveAdGroupBody;
5596
- exports.zGoogleRemoveAdGroupCriterionBody = zGoogleRemoveAdGroupCriterionBody;
5597
- exports.zGoogleRemoveAdGroupCriterionHeaders = zGoogleRemoveAdGroupCriterionHeaders;
5598
- exports.zGoogleRemoveAdGroupCriterionPath = zGoogleRemoveAdGroupCriterionPath;
5599
- exports.zGoogleRemoveAdGroupCriterionResponse = zGoogleRemoveAdGroupCriterionResponse;
5600
- exports.zGoogleRemoveAdGroupHeaders = zGoogleRemoveAdGroupHeaders;
5601
- exports.zGoogleRemoveAdGroupPath = zGoogleRemoveAdGroupPath;
5602
- exports.zGoogleRemoveAdGroupResponse = zGoogleRemoveAdGroupResponse;
5603
- exports.zGoogleRemoveAdHeaders = zGoogleRemoveAdHeaders;
5604
- exports.zGoogleRemoveAdPath = zGoogleRemoveAdPath;
5605
- exports.zGoogleRemoveAdResponse = zGoogleRemoveAdResponse;
5606
- exports.zGoogleRemoveBudgetBody = zGoogleRemoveBudgetBody;
5607
- exports.zGoogleRemoveBudgetHeaders = zGoogleRemoveBudgetHeaders;
5608
- exports.zGoogleRemoveBudgetPath = zGoogleRemoveBudgetPath;
5609
- exports.zGoogleRemoveBudgetResponse = zGoogleRemoveBudgetResponse;
5610
- exports.zGoogleRemoveCampaignBody = zGoogleRemoveCampaignBody;
5611
- exports.zGoogleRemoveCampaignCriterionBody = zGoogleRemoveCampaignCriterionBody;
5612
- exports.zGoogleRemoveCampaignCriterionHeaders = zGoogleRemoveCampaignCriterionHeaders;
5613
- exports.zGoogleRemoveCampaignCriterionPath = zGoogleRemoveCampaignCriterionPath;
5614
- exports.zGoogleRemoveCampaignCriterionResponse = zGoogleRemoveCampaignCriterionResponse;
5615
- exports.zGoogleRemoveCampaignHeaders = zGoogleRemoveCampaignHeaders;
5616
- exports.zGoogleRemoveCampaignPath = zGoogleRemoveCampaignPath;
5617
- exports.zGoogleRemoveCampaignResponse = zGoogleRemoveCampaignResponse;
5618
- exports.zGoogleRemoveConversionActionBody = zGoogleRemoveConversionActionBody;
5619
- exports.zGoogleRemoveConversionActionHeaders = zGoogleRemoveConversionActionHeaders;
5620
- exports.zGoogleRemoveConversionActionPath = zGoogleRemoveConversionActionPath;
5621
- exports.zGoogleRemoveConversionActionResponse = zGoogleRemoveConversionActionResponse;
5622
- exports.zGoogleRemoveKeywordBody = zGoogleRemoveKeywordBody;
5623
- exports.zGoogleRemoveKeywordHeaders = zGoogleRemoveKeywordHeaders;
5624
- exports.zGoogleRemoveKeywordPath = zGoogleRemoveKeywordPath;
5625
- exports.zGoogleRemoveKeywordResponse = zGoogleRemoveKeywordResponse;
5626
- exports.zGoogleRunGaqlBody = zGoogleRunGaqlBody;
5627
- exports.zGoogleRunGaqlPath = zGoogleRunGaqlPath;
5628
- exports.zGoogleRunGaqlResponse = zGoogleRunGaqlResponse;
5629
- exports.zGoogleSearchGeoTargetsPath = zGoogleSearchGeoTargetsPath;
5630
- exports.zGoogleSearchGeoTargetsQuery = zGoogleSearchGeoTargetsQuery;
5631
- exports.zGoogleSearchGeoTargetsResponse = zGoogleSearchGeoTargetsResponse;
5632
- exports.zGoogleSendConversionsBody = zGoogleSendConversionsBody;
5633
- exports.zGoogleSendConversionsHeaders = zGoogleSendConversionsHeaders;
5634
- exports.zGoogleSendConversionsPath = zGoogleSendConversionsPath;
5635
- exports.zGoogleSendConversionsResponse = zGoogleSendConversionsResponse;
5636
- exports.zGoogleSetAdGroupBidsBody = zGoogleSetAdGroupBidsBody;
5637
- exports.zGoogleSetAdGroupBidsHeaders = zGoogleSetAdGroupBidsHeaders;
5638
- exports.zGoogleSetAdGroupBidsPath = zGoogleSetAdGroupBidsPath;
5639
- exports.zGoogleSetAdGroupBidsResponse = zGoogleSetAdGroupBidsResponse;
5640
- exports.zGoogleSetCampaignGeoSettingsBody = zGoogleSetCampaignGeoSettingsBody;
5641
- exports.zGoogleSetCampaignGeoSettingsHeaders = zGoogleSetCampaignGeoSettingsHeaders;
5642
- exports.zGoogleSetCampaignGeoSettingsPath = zGoogleSetCampaignGeoSettingsPath;
5643
- exports.zGoogleSetCampaignGeoSettingsResponse = zGoogleSetCampaignGeoSettingsResponse;
5644
- exports.zGoogleSetCampaignTargetingSettingBody = zGoogleSetCampaignTargetingSettingBody;
5645
- exports.zGoogleSetCampaignTargetingSettingHeaders = zGoogleSetCampaignTargetingSettingHeaders;
5646
- exports.zGoogleSetCampaignTargetingSettingPath = zGoogleSetCampaignTargetingSettingPath;
5647
- exports.zGoogleSetCampaignTargetingSettingResponse = zGoogleSetCampaignTargetingSettingResponse;
5648
- exports.zGoogleSetConversionGoalBody = zGoogleSetConversionGoalBody;
5649
- exports.zGoogleSetConversionGoalHeaders = zGoogleSetConversionGoalHeaders;
5650
- exports.zGoogleSetConversionGoalPath = zGoogleSetConversionGoalPath;
5651
- exports.zGoogleSetConversionGoalResponse = zGoogleSetConversionGoalResponse;
5652
- exports.zGoogleSetKeywordBidBody = zGoogleSetKeywordBidBody;
5653
- exports.zGoogleSetKeywordBidHeaders = zGoogleSetKeywordBidHeaders;
5654
- exports.zGoogleSetKeywordBidPath = zGoogleSetKeywordBidPath;
5655
- exports.zGoogleSetKeywordBidResponse = zGoogleSetKeywordBidResponse;
5656
- exports.zGoogleUpdateConversionActionBody = zGoogleUpdateConversionActionBody;
5657
- exports.zGoogleUpdateConversionActionHeaders = zGoogleUpdateConversionActionHeaders;
5658
- exports.zGoogleUpdateConversionActionPath = zGoogleUpdateConversionActionPath;
5659
- exports.zGoogleUpdateConversionActionResponse = zGoogleUpdateConversionActionResponse;
5660
- exports.zGoogleUploadImageAssetBody = zGoogleUploadImageAssetBody;
5661
- exports.zGoogleUploadImageAssetHeaders = zGoogleUploadImageAssetHeaders;
5662
- exports.zGoogleUploadImageAssetPath = zGoogleUploadImageAssetPath;
5663
- exports.zGoogleUploadImageAssetResponse = zGoogleUploadImageAssetResponse;
5664
3251
  exports.zIdempotencyKey = zIdempotencyKey;
5665
3252
  exports.zLogsGetPath = zLogsGetPath;
5666
3253
  exports.zLogsGetResponse = zLogsGetResponse;
@@ -5694,23 +3281,6 @@ exports.zMediaUpdateBody = zMediaUpdateBody;
5694
3281
  exports.zMediaUpdateHeaders = zMediaUpdateHeaders;
5695
3282
  exports.zMediaUpdatePath = zMediaUpdatePath;
5696
3283
  exports.zMediaUpdateResponse = zMediaUpdateResponse;
5697
- exports.zMetaAccountPath = zMetaAccountPath;
5698
- exports.zMetaAccountResponse = zMetaAccountResponse;
5699
- exports.zMetaAdPath = zMetaAdPath;
5700
- exports.zMetaAdResponse = zMetaAdResponse;
5701
- exports.zMetaAdsPath = zMetaAdsPath;
5702
- exports.zMetaAdsResponse = zMetaAdsResponse;
5703
- exports.zMetaAdsetPath = zMetaAdsetPath;
5704
- exports.zMetaAdsetResponse = zMetaAdsetResponse;
5705
- exports.zMetaAdsetsPath = zMetaAdsetsPath;
5706
- exports.zMetaAdsetsResponse = zMetaAdsetsResponse;
5707
- exports.zMetaCampaignPath = zMetaCampaignPath;
5708
- exports.zMetaCampaignResponse = zMetaCampaignResponse;
5709
- exports.zMetaCampaignsPath = zMetaCampaignsPath;
5710
- exports.zMetaCampaignsResponse = zMetaCampaignsResponse;
5711
- exports.zMetaInsightsPath = zMetaInsightsPath;
5712
- exports.zMetaInsightsQuery = zMetaInsightsQuery;
5713
- exports.zMetaInsightsResponse = zMetaInsightsResponse;
5714
3284
  exports.zPost = zPost;
5715
3285
  exports.zPostPlatform = zPostPlatform;
5716
3286
  exports.zPostStatus = zPostStatus;
@@ -5718,6 +3288,7 @@ exports.zPostType = zPostType;
5718
3288
  exports.zPostVariant = zPostVariant;
5719
3289
  exports.zPostVariantInput = zPostVariantInput;
5720
3290
  exports.zPostVariantStatus = zPostVariantStatus;
3291
+ exports.zPostWriteResult = zPostWriteResult;
5721
3292
  exports.zPostsCreateBody = zPostsCreateBody;
5722
3293
  exports.zPostsCreateHeaders = zPostsCreateHeaders;
5723
3294
  exports.zPostsCreateResponse = zPostsCreateResponse;
@@ -5727,6 +3298,10 @@ exports.zPostsGetPath = zPostsGetPath;
5727
3298
  exports.zPostsGetResponse = zPostsGetResponse;
5728
3299
  exports.zPostsListQuery = zPostsListQuery;
5729
3300
  exports.zPostsListResponse = zPostsListResponse;
3301
+ exports.zPostsRetryBody = zPostsRetryBody;
3302
+ exports.zPostsRetryHeaders = zPostsRetryHeaders;
3303
+ exports.zPostsRetryPath = zPostsRetryPath;
3304
+ exports.zPostsRetryResponse = zPostsRetryResponse;
5730
3305
  exports.zPostsUpdateBody = zPostsUpdateBody;
5731
3306
  exports.zPostsUpdateHeaders = zPostsUpdateHeaders;
5732
3307
  exports.zPostsUpdatePath = zPostsUpdatePath;