@postrun/js 2.2.0 → 2.3.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.
@@ -52,6 +52,7 @@ declare const zErrorCode: z.ZodEnum<{
52
52
  document_too_large: "document_too_large";
53
53
  document_too_many_pages: "document_too_many_pages";
54
54
  media_format_indeterminate: "media_format_indeterminate";
55
+ media_format_unsupported: "media_format_unsupported";
55
56
  media_count_invalid: "media_count_invalid";
56
57
  body_too_long: "body_too_long";
57
58
  content_missing: "content_missing";
@@ -98,6 +99,9 @@ declare const zErrorCode: z.ZodEnum<{
98
99
  tiktok_media_processing: "tiktok_media_processing";
99
100
  tiktok_not_authorized: "tiktok_not_authorized";
100
101
  tiktok_rate_limited: "tiktok_rate_limited";
102
+ tiktok_url_ownership_unverified: "tiktok_url_ownership_unverified";
103
+ tiktok_unaudited_private_only: "tiktok_unaudited_private_only";
104
+ tiktok_spam_risk: "tiktok_spam_risk";
101
105
  tiktok_publish_failed: "tiktok_publish_failed";
102
106
  post_publish_failed: "post_publish_failed";
103
107
  post_partially_published: "post_partially_published";
@@ -469,12 +473,14 @@ declare const zMediaListResponse: z.ZodObject<{
469
473
  document_too_large: "document_too_large";
470
474
  document_too_many_pages: "document_too_many_pages";
471
475
  media_format_indeterminate: "media_format_indeterminate";
476
+ media_format_unsupported: "media_format_unsupported";
472
477
  media_unsupported: "media_unsupported";
473
478
  }>;
474
479
  message: z.ZodString;
475
480
  hint: z.ZodOptional<z.ZodString>;
476
481
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
477
482
  got: z.ZodOptional<z.ZodString>;
483
+ display_error: z.ZodString;
478
484
  }, z.core.$strip>>;
479
485
  source: z.ZodNullable<z.ZodObject<{
480
486
  format: z.ZodString;
@@ -521,12 +527,14 @@ declare const zMediaListResponse: z.ZodObject<{
521
527
  document_too_large: "document_too_large";
522
528
  document_too_many_pages: "document_too_many_pages";
523
529
  media_format_indeterminate: "media_format_indeterminate";
530
+ media_format_unsupported: "media_format_unsupported";
524
531
  media_unsupported: "media_unsupported";
525
532
  }>;
526
533
  message: z.ZodString;
527
534
  hint: z.ZodOptional<z.ZodString>;
528
535
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
529
536
  got: z.ZodOptional<z.ZodString>;
537
+ display_error: z.ZodString;
530
538
  }, z.core.$strip>>;
531
539
  errors: z.ZodArray<z.ZodObject<{
532
540
  code: z.ZodEnum<{
@@ -555,12 +563,14 @@ declare const zMediaListResponse: z.ZodObject<{
555
563
  document_too_large: "document_too_large";
556
564
  document_too_many_pages: "document_too_many_pages";
557
565
  media_format_indeterminate: "media_format_indeterminate";
566
+ media_format_unsupported: "media_format_unsupported";
558
567
  media_unsupported: "media_unsupported";
559
568
  }>;
560
569
  message: z.ZodString;
561
570
  hint: z.ZodOptional<z.ZodString>;
562
571
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
563
572
  got: z.ZodOptional<z.ZodString>;
573
+ display_error: z.ZodString;
564
574
  }, z.core.$strip>>;
565
575
  }, z.core.$strip>>;
566
576
  external_id: z.ZodNullable<z.ZodString>;
@@ -574,17 +584,10 @@ declare const zMediaListResponse: z.ZodObject<{
574
584
  has_more: z.ZodBoolean;
575
585
  }, z.core.$strip>;
576
586
  /**
577
- * Create a media asset — either via the signed direct upload target (omit source_url) or by importing from a public https source_url (we fetch + validate + transform + store). Size limits: a direct-upload video may be up to 5 GB; all other direct uploads and any source_url import must be 1 GB or smaller. A file over its limit is rejected with `media_too_large`.
587
+ * Create a media asset — either via the signed direct upload target (omit source_url) or by importing from a public https source_url (we fetch + validate + transform + store). Size limits (same for direct upload and source_url): a video may be up to 4 GB; every other kind must be 1 GB or smaller. A file over its limit is rejected with `media_too_large`.
578
588
  */
579
589
  declare const zMediaCreateBody: z.ZodObject<{
580
590
  profile_id: z.ZodString;
581
- kind: z.ZodOptional<z.ZodEnum<{
582
- image: "image";
583
- video: "video";
584
- gif: "gif";
585
- document: "document";
586
- }>>;
587
- content_type: z.ZodOptional<z.ZodString>;
588
591
  source_url: z.ZodOptional<z.ZodURL>;
589
592
  targets: z.ZodOptional<z.ZodArray<z.ZodEnum<{
590
593
  google_ads: "google_ads";
@@ -656,12 +659,14 @@ declare const zMediaCreateResponse: z.ZodObject<{
656
659
  document_too_large: "document_too_large";
657
660
  document_too_many_pages: "document_too_many_pages";
658
661
  media_format_indeterminate: "media_format_indeterminate";
662
+ media_format_unsupported: "media_format_unsupported";
659
663
  media_unsupported: "media_unsupported";
660
664
  }>;
661
665
  message: z.ZodString;
662
666
  hint: z.ZodOptional<z.ZodString>;
663
667
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
664
668
  got: z.ZodOptional<z.ZodString>;
669
+ display_error: z.ZodString;
665
670
  }, z.core.$strip>>;
666
671
  source: z.ZodNullable<z.ZodObject<{
667
672
  format: z.ZodString;
@@ -708,12 +713,14 @@ declare const zMediaCreateResponse: z.ZodObject<{
708
713
  document_too_large: "document_too_large";
709
714
  document_too_many_pages: "document_too_many_pages";
710
715
  media_format_indeterminate: "media_format_indeterminate";
716
+ media_format_unsupported: "media_format_unsupported";
711
717
  media_unsupported: "media_unsupported";
712
718
  }>;
713
719
  message: z.ZodString;
714
720
  hint: z.ZodOptional<z.ZodString>;
715
721
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
716
722
  got: z.ZodOptional<z.ZodString>;
723
+ display_error: z.ZodString;
717
724
  }, z.core.$strip>>;
718
725
  errors: z.ZodArray<z.ZodObject<{
719
726
  code: z.ZodEnum<{
@@ -742,12 +749,14 @@ declare const zMediaCreateResponse: z.ZodObject<{
742
749
  document_too_large: "document_too_large";
743
750
  document_too_many_pages: "document_too_many_pages";
744
751
  media_format_indeterminate: "media_format_indeterminate";
752
+ media_format_unsupported: "media_format_unsupported";
745
753
  media_unsupported: "media_unsupported";
746
754
  }>;
747
755
  message: z.ZodString;
748
756
  hint: z.ZodOptional<z.ZodString>;
749
757
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
750
758
  got: z.ZodOptional<z.ZodString>;
759
+ display_error: z.ZodString;
751
760
  }, z.core.$strip>>;
752
761
  }, z.core.$strip>>;
753
762
  external_id: z.ZodNullable<z.ZodString>;
@@ -832,12 +841,14 @@ declare const zMediaGetResponse: z.ZodObject<{
832
841
  document_too_large: "document_too_large";
833
842
  document_too_many_pages: "document_too_many_pages";
834
843
  media_format_indeterminate: "media_format_indeterminate";
844
+ media_format_unsupported: "media_format_unsupported";
835
845
  media_unsupported: "media_unsupported";
836
846
  }>;
837
847
  message: z.ZodString;
838
848
  hint: z.ZodOptional<z.ZodString>;
839
849
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
840
850
  got: z.ZodOptional<z.ZodString>;
851
+ display_error: z.ZodString;
841
852
  }, z.core.$strip>>;
842
853
  source: z.ZodNullable<z.ZodObject<{
843
854
  format: z.ZodString;
@@ -884,12 +895,14 @@ declare const zMediaGetResponse: z.ZodObject<{
884
895
  document_too_large: "document_too_large";
885
896
  document_too_many_pages: "document_too_many_pages";
886
897
  media_format_indeterminate: "media_format_indeterminate";
898
+ media_format_unsupported: "media_format_unsupported";
887
899
  media_unsupported: "media_unsupported";
888
900
  }>;
889
901
  message: z.ZodString;
890
902
  hint: z.ZodOptional<z.ZodString>;
891
903
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
892
904
  got: z.ZodOptional<z.ZodString>;
905
+ display_error: z.ZodString;
893
906
  }, z.core.$strip>>;
894
907
  errors: z.ZodArray<z.ZodObject<{
895
908
  code: z.ZodEnum<{
@@ -918,12 +931,14 @@ declare const zMediaGetResponse: z.ZodObject<{
918
931
  document_too_large: "document_too_large";
919
932
  document_too_many_pages: "document_too_many_pages";
920
933
  media_format_indeterminate: "media_format_indeterminate";
934
+ media_format_unsupported: "media_format_unsupported";
921
935
  media_unsupported: "media_unsupported";
922
936
  }>;
923
937
  message: z.ZodString;
924
938
  hint: z.ZodOptional<z.ZodString>;
925
939
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
926
940
  got: z.ZodOptional<z.ZodString>;
941
+ display_error: z.ZodString;
927
942
  }, z.core.$strip>>;
928
943
  }, z.core.$strip>>;
929
944
  external_id: z.ZodNullable<z.ZodString>;
@@ -1004,12 +1019,14 @@ declare const zMediaUpdateResponse: z.ZodObject<{
1004
1019
  document_too_large: "document_too_large";
1005
1020
  document_too_many_pages: "document_too_many_pages";
1006
1021
  media_format_indeterminate: "media_format_indeterminate";
1022
+ media_format_unsupported: "media_format_unsupported";
1007
1023
  media_unsupported: "media_unsupported";
1008
1024
  }>;
1009
1025
  message: z.ZodString;
1010
1026
  hint: z.ZodOptional<z.ZodString>;
1011
1027
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
1012
1028
  got: z.ZodOptional<z.ZodString>;
1029
+ display_error: z.ZodString;
1013
1030
  }, z.core.$strip>>;
1014
1031
  source: z.ZodNullable<z.ZodObject<{
1015
1032
  format: z.ZodString;
@@ -1056,12 +1073,14 @@ declare const zMediaUpdateResponse: z.ZodObject<{
1056
1073
  document_too_large: "document_too_large";
1057
1074
  document_too_many_pages: "document_too_many_pages";
1058
1075
  media_format_indeterminate: "media_format_indeterminate";
1076
+ media_format_unsupported: "media_format_unsupported";
1059
1077
  media_unsupported: "media_unsupported";
1060
1078
  }>;
1061
1079
  message: z.ZodString;
1062
1080
  hint: z.ZodOptional<z.ZodString>;
1063
1081
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
1064
1082
  got: z.ZodOptional<z.ZodString>;
1083
+ display_error: z.ZodString;
1065
1084
  }, z.core.$strip>>;
1066
1085
  errors: z.ZodArray<z.ZodObject<{
1067
1086
  code: z.ZodEnum<{
@@ -1090,12 +1109,14 @@ declare const zMediaUpdateResponse: z.ZodObject<{
1090
1109
  document_too_large: "document_too_large";
1091
1110
  document_too_many_pages: "document_too_many_pages";
1092
1111
  media_format_indeterminate: "media_format_indeterminate";
1112
+ media_format_unsupported: "media_format_unsupported";
1093
1113
  media_unsupported: "media_unsupported";
1094
1114
  }>;
1095
1115
  message: z.ZodString;
1096
1116
  hint: z.ZodOptional<z.ZodString>;
1097
1117
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
1098
1118
  got: z.ZodOptional<z.ZodString>;
1119
+ display_error: z.ZodString;
1099
1120
  }, z.core.$strip>>;
1100
1121
  }, z.core.$strip>>;
1101
1122
  external_id: z.ZodNullable<z.ZodString>;
@@ -1180,6 +1201,7 @@ declare const zPostsListResponse: z.ZodObject<{
1180
1201
  error: z.ZodNullable<z.ZodObject<{
1181
1202
  code: z.ZodString;
1182
1203
  message: z.ZodString;
1204
+ display_error: z.ZodString;
1183
1205
  }, z.core.$strip>>;
1184
1206
  media: z.ZodArray<z.ZodObject<{
1185
1207
  media_id: z.ZodString;
@@ -1454,6 +1476,7 @@ declare const zPostsCreateResponse: z.ZodObject<{
1454
1476
  error: z.ZodNullable<z.ZodObject<{
1455
1477
  code: z.ZodString;
1456
1478
  message: z.ZodString;
1479
+ display_error: z.ZodString;
1457
1480
  }, z.core.$strip>>;
1458
1481
  media: z.ZodArray<z.ZodObject<{
1459
1482
  media_id: z.ZodString;
@@ -1538,6 +1561,7 @@ declare const zPostsGetResponse: z.ZodObject<{
1538
1561
  error: z.ZodNullable<z.ZodObject<{
1539
1562
  code: z.ZodString;
1540
1563
  message: z.ZodString;
1564
+ display_error: z.ZodString;
1541
1565
  }, z.core.$strip>>;
1542
1566
  media: z.ZodArray<z.ZodObject<{
1543
1567
  media_id: z.ZodString;
@@ -1809,6 +1833,7 @@ declare const zPostsUpdateResponse: z.ZodObject<{
1809
1833
  error: z.ZodNullable<z.ZodObject<{
1810
1834
  code: z.ZodString;
1811
1835
  message: z.ZodString;
1836
+ display_error: z.ZodString;
1812
1837
  }, z.core.$strip>>;
1813
1838
  media: z.ZodArray<z.ZodObject<{
1814
1839
  media_id: z.ZodString;
@@ -2066,6 +2091,7 @@ declare const zPostsValidateResponse: z.ZodObject<{
2066
2091
  document_too_large: "document_too_large";
2067
2092
  document_too_many_pages: "document_too_many_pages";
2068
2093
  media_format_indeterminate: "media_format_indeterminate";
2094
+ media_format_unsupported: "media_format_unsupported";
2069
2095
  media_count_invalid: "media_count_invalid";
2070
2096
  body_too_long: "body_too_long";
2071
2097
  content_missing: "content_missing";
@@ -2112,6 +2138,9 @@ declare const zPostsValidateResponse: z.ZodObject<{
2112
2138
  tiktok_media_processing: "tiktok_media_processing";
2113
2139
  tiktok_not_authorized: "tiktok_not_authorized";
2114
2140
  tiktok_rate_limited: "tiktok_rate_limited";
2141
+ tiktok_url_ownership_unverified: "tiktok_url_ownership_unverified";
2142
+ tiktok_unaudited_private_only: "tiktok_unaudited_private_only";
2143
+ tiktok_spam_risk: "tiktok_spam_risk";
2115
2144
  tiktok_publish_failed: "tiktok_publish_failed";
2116
2145
  post_publish_failed: "post_publish_failed";
2117
2146
  post_partially_published: "post_partially_published";
@@ -2124,6 +2153,7 @@ declare const zPostsValidateResponse: z.ZodObject<{
2124
2153
  got: z.ZodOptional<z.ZodString>;
2125
2154
  variant_index: z.ZodInt;
2126
2155
  path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
2156
+ display_error: z.ZodString;
2127
2157
  }, z.core.$strip>>;
2128
2158
  }, z.core.$strip>;
2129
2159
  declare const zMetaAccountPath: z.ZodObject<{
@@ -3913,6 +3943,7 @@ declare const zLogsListResponse: z.ZodObject<{
3913
3943
  error: z.ZodNullable<z.ZodObject<{
3914
3944
  code: z.ZodString;
3915
3945
  message: z.ZodString;
3946
+ display_error: z.ZodString;
3916
3947
  }, z.core.$strip>>;
3917
3948
  }, z.core.$strip>>;
3918
3949
  }, z.core.$strip>>;
@@ -3999,6 +4030,7 @@ declare const zLogsGetResponse: z.ZodObject<{
3999
4030
  error: z.ZodNullable<z.ZodObject<{
4000
4031
  code: z.ZodString;
4001
4032
  message: z.ZodString;
4033
+ display_error: z.ZodString;
4002
4034
  }, z.core.$strip>>;
4003
4035
  }, z.core.$strip>>;
4004
4036
  }, z.core.$strip>>;
@@ -52,6 +52,7 @@ declare const zErrorCode: z.ZodEnum<{
52
52
  document_too_large: "document_too_large";
53
53
  document_too_many_pages: "document_too_many_pages";
54
54
  media_format_indeterminate: "media_format_indeterminate";
55
+ media_format_unsupported: "media_format_unsupported";
55
56
  media_count_invalid: "media_count_invalid";
56
57
  body_too_long: "body_too_long";
57
58
  content_missing: "content_missing";
@@ -98,6 +99,9 @@ declare const zErrorCode: z.ZodEnum<{
98
99
  tiktok_media_processing: "tiktok_media_processing";
99
100
  tiktok_not_authorized: "tiktok_not_authorized";
100
101
  tiktok_rate_limited: "tiktok_rate_limited";
102
+ tiktok_url_ownership_unverified: "tiktok_url_ownership_unverified";
103
+ tiktok_unaudited_private_only: "tiktok_unaudited_private_only";
104
+ tiktok_spam_risk: "tiktok_spam_risk";
101
105
  tiktok_publish_failed: "tiktok_publish_failed";
102
106
  post_publish_failed: "post_publish_failed";
103
107
  post_partially_published: "post_partially_published";
@@ -469,12 +473,14 @@ declare const zMediaListResponse: z.ZodObject<{
469
473
  document_too_large: "document_too_large";
470
474
  document_too_many_pages: "document_too_many_pages";
471
475
  media_format_indeterminate: "media_format_indeterminate";
476
+ media_format_unsupported: "media_format_unsupported";
472
477
  media_unsupported: "media_unsupported";
473
478
  }>;
474
479
  message: z.ZodString;
475
480
  hint: z.ZodOptional<z.ZodString>;
476
481
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
477
482
  got: z.ZodOptional<z.ZodString>;
483
+ display_error: z.ZodString;
478
484
  }, z.core.$strip>>;
479
485
  source: z.ZodNullable<z.ZodObject<{
480
486
  format: z.ZodString;
@@ -521,12 +527,14 @@ declare const zMediaListResponse: z.ZodObject<{
521
527
  document_too_large: "document_too_large";
522
528
  document_too_many_pages: "document_too_many_pages";
523
529
  media_format_indeterminate: "media_format_indeterminate";
530
+ media_format_unsupported: "media_format_unsupported";
524
531
  media_unsupported: "media_unsupported";
525
532
  }>;
526
533
  message: z.ZodString;
527
534
  hint: z.ZodOptional<z.ZodString>;
528
535
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
529
536
  got: z.ZodOptional<z.ZodString>;
537
+ display_error: z.ZodString;
530
538
  }, z.core.$strip>>;
531
539
  errors: z.ZodArray<z.ZodObject<{
532
540
  code: z.ZodEnum<{
@@ -555,12 +563,14 @@ declare const zMediaListResponse: z.ZodObject<{
555
563
  document_too_large: "document_too_large";
556
564
  document_too_many_pages: "document_too_many_pages";
557
565
  media_format_indeterminate: "media_format_indeterminate";
566
+ media_format_unsupported: "media_format_unsupported";
558
567
  media_unsupported: "media_unsupported";
559
568
  }>;
560
569
  message: z.ZodString;
561
570
  hint: z.ZodOptional<z.ZodString>;
562
571
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
563
572
  got: z.ZodOptional<z.ZodString>;
573
+ display_error: z.ZodString;
564
574
  }, z.core.$strip>>;
565
575
  }, z.core.$strip>>;
566
576
  external_id: z.ZodNullable<z.ZodString>;
@@ -574,17 +584,10 @@ declare const zMediaListResponse: z.ZodObject<{
574
584
  has_more: z.ZodBoolean;
575
585
  }, z.core.$strip>;
576
586
  /**
577
- * Create a media asset — either via the signed direct upload target (omit source_url) or by importing from a public https source_url (we fetch + validate + transform + store). Size limits: a direct-upload video may be up to 5 GB; all other direct uploads and any source_url import must be 1 GB or smaller. A file over its limit is rejected with `media_too_large`.
587
+ * Create a media asset — either via the signed direct upload target (omit source_url) or by importing from a public https source_url (we fetch + validate + transform + store). Size limits (same for direct upload and source_url): a video may be up to 4 GB; every other kind must be 1 GB or smaller. A file over its limit is rejected with `media_too_large`.
578
588
  */
579
589
  declare const zMediaCreateBody: z.ZodObject<{
580
590
  profile_id: z.ZodString;
581
- kind: z.ZodOptional<z.ZodEnum<{
582
- image: "image";
583
- video: "video";
584
- gif: "gif";
585
- document: "document";
586
- }>>;
587
- content_type: z.ZodOptional<z.ZodString>;
588
591
  source_url: z.ZodOptional<z.ZodURL>;
589
592
  targets: z.ZodOptional<z.ZodArray<z.ZodEnum<{
590
593
  google_ads: "google_ads";
@@ -656,12 +659,14 @@ declare const zMediaCreateResponse: z.ZodObject<{
656
659
  document_too_large: "document_too_large";
657
660
  document_too_many_pages: "document_too_many_pages";
658
661
  media_format_indeterminate: "media_format_indeterminate";
662
+ media_format_unsupported: "media_format_unsupported";
659
663
  media_unsupported: "media_unsupported";
660
664
  }>;
661
665
  message: z.ZodString;
662
666
  hint: z.ZodOptional<z.ZodString>;
663
667
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
664
668
  got: z.ZodOptional<z.ZodString>;
669
+ display_error: z.ZodString;
665
670
  }, z.core.$strip>>;
666
671
  source: z.ZodNullable<z.ZodObject<{
667
672
  format: z.ZodString;
@@ -708,12 +713,14 @@ declare const zMediaCreateResponse: z.ZodObject<{
708
713
  document_too_large: "document_too_large";
709
714
  document_too_many_pages: "document_too_many_pages";
710
715
  media_format_indeterminate: "media_format_indeterminate";
716
+ media_format_unsupported: "media_format_unsupported";
711
717
  media_unsupported: "media_unsupported";
712
718
  }>;
713
719
  message: z.ZodString;
714
720
  hint: z.ZodOptional<z.ZodString>;
715
721
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
716
722
  got: z.ZodOptional<z.ZodString>;
723
+ display_error: z.ZodString;
717
724
  }, z.core.$strip>>;
718
725
  errors: z.ZodArray<z.ZodObject<{
719
726
  code: z.ZodEnum<{
@@ -742,12 +749,14 @@ declare const zMediaCreateResponse: z.ZodObject<{
742
749
  document_too_large: "document_too_large";
743
750
  document_too_many_pages: "document_too_many_pages";
744
751
  media_format_indeterminate: "media_format_indeterminate";
752
+ media_format_unsupported: "media_format_unsupported";
745
753
  media_unsupported: "media_unsupported";
746
754
  }>;
747
755
  message: z.ZodString;
748
756
  hint: z.ZodOptional<z.ZodString>;
749
757
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
750
758
  got: z.ZodOptional<z.ZodString>;
759
+ display_error: z.ZodString;
751
760
  }, z.core.$strip>>;
752
761
  }, z.core.$strip>>;
753
762
  external_id: z.ZodNullable<z.ZodString>;
@@ -832,12 +841,14 @@ declare const zMediaGetResponse: z.ZodObject<{
832
841
  document_too_large: "document_too_large";
833
842
  document_too_many_pages: "document_too_many_pages";
834
843
  media_format_indeterminate: "media_format_indeterminate";
844
+ media_format_unsupported: "media_format_unsupported";
835
845
  media_unsupported: "media_unsupported";
836
846
  }>;
837
847
  message: z.ZodString;
838
848
  hint: z.ZodOptional<z.ZodString>;
839
849
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
840
850
  got: z.ZodOptional<z.ZodString>;
851
+ display_error: z.ZodString;
841
852
  }, z.core.$strip>>;
842
853
  source: z.ZodNullable<z.ZodObject<{
843
854
  format: z.ZodString;
@@ -884,12 +895,14 @@ declare const zMediaGetResponse: z.ZodObject<{
884
895
  document_too_large: "document_too_large";
885
896
  document_too_many_pages: "document_too_many_pages";
886
897
  media_format_indeterminate: "media_format_indeterminate";
898
+ media_format_unsupported: "media_format_unsupported";
887
899
  media_unsupported: "media_unsupported";
888
900
  }>;
889
901
  message: z.ZodString;
890
902
  hint: z.ZodOptional<z.ZodString>;
891
903
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
892
904
  got: z.ZodOptional<z.ZodString>;
905
+ display_error: z.ZodString;
893
906
  }, z.core.$strip>>;
894
907
  errors: z.ZodArray<z.ZodObject<{
895
908
  code: z.ZodEnum<{
@@ -918,12 +931,14 @@ declare const zMediaGetResponse: z.ZodObject<{
918
931
  document_too_large: "document_too_large";
919
932
  document_too_many_pages: "document_too_many_pages";
920
933
  media_format_indeterminate: "media_format_indeterminate";
934
+ media_format_unsupported: "media_format_unsupported";
921
935
  media_unsupported: "media_unsupported";
922
936
  }>;
923
937
  message: z.ZodString;
924
938
  hint: z.ZodOptional<z.ZodString>;
925
939
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
926
940
  got: z.ZodOptional<z.ZodString>;
941
+ display_error: z.ZodString;
927
942
  }, z.core.$strip>>;
928
943
  }, z.core.$strip>>;
929
944
  external_id: z.ZodNullable<z.ZodString>;
@@ -1004,12 +1019,14 @@ declare const zMediaUpdateResponse: z.ZodObject<{
1004
1019
  document_too_large: "document_too_large";
1005
1020
  document_too_many_pages: "document_too_many_pages";
1006
1021
  media_format_indeterminate: "media_format_indeterminate";
1022
+ media_format_unsupported: "media_format_unsupported";
1007
1023
  media_unsupported: "media_unsupported";
1008
1024
  }>;
1009
1025
  message: z.ZodString;
1010
1026
  hint: z.ZodOptional<z.ZodString>;
1011
1027
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
1012
1028
  got: z.ZodOptional<z.ZodString>;
1029
+ display_error: z.ZodString;
1013
1030
  }, z.core.$strip>>;
1014
1031
  source: z.ZodNullable<z.ZodObject<{
1015
1032
  format: z.ZodString;
@@ -1056,12 +1073,14 @@ declare const zMediaUpdateResponse: z.ZodObject<{
1056
1073
  document_too_large: "document_too_large";
1057
1074
  document_too_many_pages: "document_too_many_pages";
1058
1075
  media_format_indeterminate: "media_format_indeterminate";
1076
+ media_format_unsupported: "media_format_unsupported";
1059
1077
  media_unsupported: "media_unsupported";
1060
1078
  }>;
1061
1079
  message: z.ZodString;
1062
1080
  hint: z.ZodOptional<z.ZodString>;
1063
1081
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
1064
1082
  got: z.ZodOptional<z.ZodString>;
1083
+ display_error: z.ZodString;
1065
1084
  }, z.core.$strip>>;
1066
1085
  errors: z.ZodArray<z.ZodObject<{
1067
1086
  code: z.ZodEnum<{
@@ -1090,12 +1109,14 @@ declare const zMediaUpdateResponse: z.ZodObject<{
1090
1109
  document_too_large: "document_too_large";
1091
1110
  document_too_many_pages: "document_too_many_pages";
1092
1111
  media_format_indeterminate: "media_format_indeterminate";
1112
+ media_format_unsupported: "media_format_unsupported";
1093
1113
  media_unsupported: "media_unsupported";
1094
1114
  }>;
1095
1115
  message: z.ZodString;
1096
1116
  hint: z.ZodOptional<z.ZodString>;
1097
1117
  allowed: z.ZodOptional<z.ZodArray<z.ZodString>>;
1098
1118
  got: z.ZodOptional<z.ZodString>;
1119
+ display_error: z.ZodString;
1099
1120
  }, z.core.$strip>>;
1100
1121
  }, z.core.$strip>>;
1101
1122
  external_id: z.ZodNullable<z.ZodString>;
@@ -1180,6 +1201,7 @@ declare const zPostsListResponse: z.ZodObject<{
1180
1201
  error: z.ZodNullable<z.ZodObject<{
1181
1202
  code: z.ZodString;
1182
1203
  message: z.ZodString;
1204
+ display_error: z.ZodString;
1183
1205
  }, z.core.$strip>>;
1184
1206
  media: z.ZodArray<z.ZodObject<{
1185
1207
  media_id: z.ZodString;
@@ -1454,6 +1476,7 @@ declare const zPostsCreateResponse: z.ZodObject<{
1454
1476
  error: z.ZodNullable<z.ZodObject<{
1455
1477
  code: z.ZodString;
1456
1478
  message: z.ZodString;
1479
+ display_error: z.ZodString;
1457
1480
  }, z.core.$strip>>;
1458
1481
  media: z.ZodArray<z.ZodObject<{
1459
1482
  media_id: z.ZodString;
@@ -1538,6 +1561,7 @@ declare const zPostsGetResponse: z.ZodObject<{
1538
1561
  error: z.ZodNullable<z.ZodObject<{
1539
1562
  code: z.ZodString;
1540
1563
  message: z.ZodString;
1564
+ display_error: z.ZodString;
1541
1565
  }, z.core.$strip>>;
1542
1566
  media: z.ZodArray<z.ZodObject<{
1543
1567
  media_id: z.ZodString;
@@ -1809,6 +1833,7 @@ declare const zPostsUpdateResponse: z.ZodObject<{
1809
1833
  error: z.ZodNullable<z.ZodObject<{
1810
1834
  code: z.ZodString;
1811
1835
  message: z.ZodString;
1836
+ display_error: z.ZodString;
1812
1837
  }, z.core.$strip>>;
1813
1838
  media: z.ZodArray<z.ZodObject<{
1814
1839
  media_id: z.ZodString;
@@ -2066,6 +2091,7 @@ declare const zPostsValidateResponse: z.ZodObject<{
2066
2091
  document_too_large: "document_too_large";
2067
2092
  document_too_many_pages: "document_too_many_pages";
2068
2093
  media_format_indeterminate: "media_format_indeterminate";
2094
+ media_format_unsupported: "media_format_unsupported";
2069
2095
  media_count_invalid: "media_count_invalid";
2070
2096
  body_too_long: "body_too_long";
2071
2097
  content_missing: "content_missing";
@@ -2112,6 +2138,9 @@ declare const zPostsValidateResponse: z.ZodObject<{
2112
2138
  tiktok_media_processing: "tiktok_media_processing";
2113
2139
  tiktok_not_authorized: "tiktok_not_authorized";
2114
2140
  tiktok_rate_limited: "tiktok_rate_limited";
2141
+ tiktok_url_ownership_unverified: "tiktok_url_ownership_unverified";
2142
+ tiktok_unaudited_private_only: "tiktok_unaudited_private_only";
2143
+ tiktok_spam_risk: "tiktok_spam_risk";
2115
2144
  tiktok_publish_failed: "tiktok_publish_failed";
2116
2145
  post_publish_failed: "post_publish_failed";
2117
2146
  post_partially_published: "post_partially_published";
@@ -2124,6 +2153,7 @@ declare const zPostsValidateResponse: z.ZodObject<{
2124
2153
  got: z.ZodOptional<z.ZodString>;
2125
2154
  variant_index: z.ZodInt;
2126
2155
  path: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
2156
+ display_error: z.ZodString;
2127
2157
  }, z.core.$strip>>;
2128
2158
  }, z.core.$strip>;
2129
2159
  declare const zMetaAccountPath: z.ZodObject<{
@@ -3913,6 +3943,7 @@ declare const zLogsListResponse: z.ZodObject<{
3913
3943
  error: z.ZodNullable<z.ZodObject<{
3914
3944
  code: z.ZodString;
3915
3945
  message: z.ZodString;
3946
+ display_error: z.ZodString;
3916
3947
  }, z.core.$strip>>;
3917
3948
  }, z.core.$strip>>;
3918
3949
  }, z.core.$strip>>;
@@ -3999,6 +4030,7 @@ declare const zLogsGetResponse: z.ZodObject<{
3999
4030
  error: z.ZodNullable<z.ZodObject<{
4000
4031
  code: z.ZodString;
4001
4032
  message: z.ZodString;
4033
+ display_error: z.ZodString;
4002
4034
  }, z.core.$strip>>;
4003
4035
  }, z.core.$strip>>;
4004
4036
  }, z.core.$strip>>;
@@ -1,3 +1,3 @@
1
- export { zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zErrorCode, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleDeleteAdBody, zGoogleDeleteAdGroupBody, zGoogleDeleteAdGroupPath, zGoogleDeleteAdGroupResponse, zGoogleDeleteAdPath, zGoogleDeleteAdResponse, zGoogleDeleteBudgetBody, zGoogleDeleteBudgetPath, zGoogleDeleteBudgetResponse, zGoogleDeleteCampaignBody, zGoogleDeleteCampaignPath, zGoogleDeleteCampaignResponse, zGoogleDeleteKeywordBody, zGoogleDeleteKeywordPath, zGoogleDeleteKeywordResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadConversionsBody, zGoogleUploadConversionsPath, zGoogleUploadConversionsResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaListQuery, zMediaListResponse, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse } from '../chunk-GOQVIAPL.js';
1
+ export { zConnectionsConnectBody, zConnectionsConnectPath, zConnectionsConnectResponse, zConnectionsDeletePath, zConnectionsDeleteResponse, zConnectionsGetPath, zConnectionsGetResponse, zConnectionsListAccountsPath, zConnectionsListAccountsResponse, zConnectionsListByProfilePath, zConnectionsListByProfileQuery, zConnectionsListByProfileResponse, zConnectionsSelectBody, zConnectionsSelectPath, zConnectionsSelectResponse, zErrorCode, zGoogleCreateAdBody, zGoogleCreateAdGroupBody, zGoogleCreateAdGroupPath, zGoogleCreateAdGroupResponse, zGoogleCreateAdPath, zGoogleCreateAdResponse, zGoogleCreateBudgetBody, zGoogleCreateBudgetPath, zGoogleCreateBudgetResponse, zGoogleCreateCampaignBody, zGoogleCreateCampaignPath, zGoogleCreateCampaignResponse, zGoogleCreateConversionActionBody, zGoogleCreateConversionActionPath, zGoogleCreateConversionActionResponse, zGoogleCreateDisplayAdBody, zGoogleCreateDisplayAdPath, zGoogleCreateDisplayAdResponse, zGoogleCreateKeywordBody, zGoogleCreateKeywordPath, zGoogleCreateKeywordResponse, zGoogleDeleteAdBody, zGoogleDeleteAdGroupBody, zGoogleDeleteAdGroupPath, zGoogleDeleteAdGroupResponse, zGoogleDeleteAdPath, zGoogleDeleteAdResponse, zGoogleDeleteBudgetBody, zGoogleDeleteBudgetPath, zGoogleDeleteBudgetResponse, zGoogleDeleteCampaignBody, zGoogleDeleteCampaignPath, zGoogleDeleteCampaignResponse, zGoogleDeleteKeywordBody, zGoogleDeleteKeywordPath, zGoogleDeleteKeywordResponse, zGoogleEditAdGroupBody, zGoogleEditAdGroupPath, zGoogleEditAdGroupResponse, zGoogleEditBudgetBody, zGoogleEditBudgetPath, zGoogleEditBudgetResponse, zGoogleEditCampaignBody, zGoogleEditCampaignPath, zGoogleEditCampaignResponse, zGoogleEnableAdBody, zGoogleEnableAdGroupBody, zGoogleEnableAdGroupPath, zGoogleEnableAdGroupResponse, zGoogleEnableAdPath, zGoogleEnableAdResponse, zGoogleEnableCampaignBody, zGoogleEnableCampaignPath, zGoogleEnableCampaignResponse, zGoogleEnableKeywordBody, zGoogleEnableKeywordPath, zGoogleEnableKeywordResponse, zGoogleGetAccountPath, zGoogleGetAccountResponse, zGoogleGetAdGroupPath, zGoogleGetAdGroupResponse, zGoogleGetAdPath, zGoogleGetAdResponse, zGoogleGetCampaignPath, zGoogleGetCampaignResponse, zGoogleGetConversionActionPath, zGoogleGetConversionActionResponse, zGoogleGetInsightsBody, zGoogleGetInsightsPath, zGoogleGetInsightsResponse, zGoogleGetKeywordPath, zGoogleGetKeywordResponse, zGoogleListAdGroupsPath, zGoogleListAdGroupsResponse, zGoogleListAdsPath, zGoogleListAdsResponse, zGoogleListCampaignsPath, zGoogleListCampaignsResponse, zGoogleListConversionActionsPath, zGoogleListConversionActionsResponse, zGoogleListConversionGoalsPath, zGoogleListConversionGoalsResponse, zGoogleListKeywordsPath, zGoogleListKeywordsResponse, zGooglePauseAdBody, zGooglePauseAdGroupBody, zGooglePauseAdGroupPath, zGooglePauseAdGroupResponse, zGooglePauseAdPath, zGooglePauseAdResponse, zGooglePauseCampaignBody, zGooglePauseCampaignPath, zGooglePauseCampaignResponse, zGooglePauseKeywordBody, zGooglePauseKeywordPath, zGooglePauseKeywordResponse, zGoogleRunGaqlBody, zGoogleRunGaqlPath, zGoogleRunGaqlResponse, zGoogleSetAdGroupBidsBody, zGoogleSetAdGroupBidsPath, zGoogleSetAdGroupBidsResponse, zGoogleSetConversionGoalBody, zGoogleSetConversionGoalPath, zGoogleSetConversionGoalResponse, zGoogleSetKeywordBidBody, zGoogleSetKeywordBidPath, zGoogleSetKeywordBidResponse, zGoogleUploadConversionsBody, zGoogleUploadConversionsPath, zGoogleUploadConversionsResponse, zGoogleUploadImageAssetBody, zGoogleUploadImageAssetPath, zGoogleUploadImageAssetResponse, zLogsGetPath, zLogsGetResponse, zLogsListQuery, zLogsListResponse, zMediaCreateBody, zMediaCreateResponse, zMediaDeletePath, zMediaDeleteResponse, zMediaGetPath, zMediaGetResponse, zMediaListQuery, zMediaListResponse, zMediaUpdateBody, zMediaUpdatePath, zMediaUpdateResponse, zMetaAccountPath, zMetaAccountResponse, zMetaAdPath, zMetaAdResponse, zMetaAdsPath, zMetaAdsResponse, zMetaAdsetPath, zMetaAdsetResponse, zMetaAdsetsPath, zMetaAdsetsResponse, zMetaCampaignPath, zMetaCampaignResponse, zMetaCampaignsPath, zMetaCampaignsResponse, zMetaInsightsPath, zMetaInsightsQuery, zMetaInsightsResponse, zPostsCreateBody, zPostsCreateResponse, zPostsDeletePath, zPostsDeleteResponse, zPostsGetPath, zPostsGetResponse, zPostsListQuery, zPostsListResponse, zPostsUpdateBody, zPostsUpdatePath, zPostsUpdateResponse, zPostsValidateBody, zPostsValidateResponse, zProfilesCreateBody, zProfilesCreateResponse, zProfilesDeletePath, zProfilesDeleteResponse, zProfilesGetPath, zProfilesGetResponse, zProfilesListQuery, zProfilesListResponse, zProfilesUpdateBody, zProfilesUpdatePath, zProfilesUpdateResponse, zTiktokCreatorInfoPath, zTiktokCreatorInfoResponse, zTokensMintBody, zTokensMintResponse, zWebhooksCreateEndpointBody, zWebhooksCreateEndpointResponse, zWebhooksCreatePortalResponse, zWebhooksDeleteEndpointPath, zWebhooksDeleteEndpointResponse, zWebhooksGetEndpointPath, zWebhooksGetEndpointResponse, zWebhooksListEndpointsQuery, zWebhooksListEndpointsResponse, zWebhooksListEventTypesResponse, zWebhooksPingBody, zWebhooksPingResponse, zWebhooksUpdateEndpointBody, zWebhooksUpdateEndpointPath, zWebhooksUpdateEndpointResponse } from '../chunk-ASEHCVE5.js';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map