@postrun/js 2.21.0 → 2.22.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/server.cjs CHANGED
@@ -814,6 +814,7 @@ var zErrorCode = z__namespace.enum([
814
814
  "not_implemented",
815
815
  "connection_discovery_failed",
816
816
  "tiktok_creator_info_unavailable",
817
+ "tiktok_cannot_post_now",
817
818
  "media_processing",
818
819
  "media_upload_init_failed",
819
820
  "media_upload_incomplete",
@@ -1240,14 +1241,134 @@ var zPostVariant = z__namespace.union([
1240
1241
  published_at: z__namespace.string()
1241
1242
  }).nullable(),
1242
1243
  error: z__namespace.object({
1243
- code: z__namespace.string(),
1244
+ code: z__namespace.enum([
1245
+ "unauthorized",
1246
+ "forbidden",
1247
+ "not_found",
1248
+ "conflict",
1249
+ "validation_failed",
1250
+ "rate_limited",
1251
+ "internal_error",
1252
+ "idempotency_key_invalid",
1253
+ "idempotency_key_reused",
1254
+ "idempotency_request_in_progress",
1255
+ "account_not_available",
1256
+ "connection_reauth_required",
1257
+ "connection_not_pending",
1258
+ "not_implemented",
1259
+ "connection_discovery_failed",
1260
+ "tiktok_creator_info_unavailable",
1261
+ "tiktok_cannot_post_now",
1262
+ "media_processing",
1263
+ "media_upload_init_failed",
1264
+ "media_upload_incomplete",
1265
+ "not_publishable",
1266
+ "invalid_connection",
1267
+ "invalid_media",
1268
+ "profile_scope_invalid",
1269
+ "media_unprobeable",
1270
+ "media_too_large",
1271
+ "media_aspect_ratio_unsupported",
1272
+ "media_resolution_too_low",
1273
+ "media_gif_unsupported",
1274
+ "media_format_recompressed",
1275
+ "media_resolution_downscaled",
1276
+ "video_container_unsupported",
1277
+ "video_codec_unsupported",
1278
+ "video_audio_codec_unsupported",
1279
+ "video_too_large",
1280
+ "video_too_small",
1281
+ "video_dimensions_unsupported",
1282
+ "video_dimensions_too_large",
1283
+ "video_fps_unsupported",
1284
+ "video_fps_too_low",
1285
+ "video_aspect_unsupported",
1286
+ "video_duration_too_short",
1287
+ "video_duration_exceeds_max",
1288
+ "video_transform_failed",
1289
+ "media_fetch_failed",
1290
+ "document_format_unsupported",
1291
+ "document_too_large",
1292
+ "document_too_many_pages",
1293
+ "media_format_indeterminate",
1294
+ "media_format_unsupported",
1295
+ "media_count_invalid",
1296
+ "body_too_long",
1297
+ "content_missing",
1298
+ "content_conflict",
1299
+ "content_incomplete",
1300
+ "content_kind_mismatch",
1301
+ "media_type_mismatch",
1302
+ "tag_limit_exceeded",
1303
+ "reel_field_on_non_reel",
1304
+ "field_placement_invalid",
1305
+ "media_not_ready",
1306
+ "media_failed",
1307
+ "media_unsupported",
1308
+ "media_kind_mismatch",
1309
+ "variant_unparseable",
1310
+ "publishing_unavailable",
1311
+ "x_duplicate_content",
1312
+ "x_not_authorized",
1313
+ "x_access_not_permitted",
1314
+ "x_rate_limited",
1315
+ "x_publish_failed",
1316
+ "x_media_upload_failed",
1317
+ "linkedin_duplicate_content",
1318
+ "linkedin_auth_expired",
1319
+ "linkedin_permission_denied",
1320
+ "linkedin_rate_limited",
1321
+ "linkedin_media_processing",
1322
+ "linkedin_media_failed",
1323
+ "linkedin_media_upload_failed",
1324
+ "linkedin_publish_failed",
1325
+ "instagram_media_processing",
1326
+ "instagram_container_expired",
1327
+ "instagram_container_failed",
1328
+ "instagram_rate_limited",
1329
+ "instagram_daily_limit_reached",
1330
+ "instagram_aspect_ratio_unsupported",
1331
+ "instagram_media_unsupported",
1332
+ "instagram_not_authorized",
1333
+ "instagram_publish_failed",
1334
+ "facebook_reel_processing",
1335
+ "facebook_reel_failed",
1336
+ "facebook_rate_limited",
1337
+ "facebook_duplicate_content",
1338
+ "facebook_temporarily_blocked",
1339
+ "facebook_not_authorized",
1340
+ "facebook_publish_failed",
1341
+ "tiktok_privacy_not_allowed",
1342
+ "tiktok_duration_exceeds_max",
1343
+ "tiktok_media_processing",
1344
+ "tiktok_not_authorized",
1345
+ "tiktok_rate_limited",
1346
+ "tiktok_url_ownership_unverified",
1347
+ "tiktok_unaudited_private_only",
1348
+ "tiktok_spam_risk",
1349
+ "tiktok_file_format_invalid",
1350
+ "tiktok_duration_invalid",
1351
+ "tiktok_frame_rate_invalid",
1352
+ "tiktok_resolution_invalid",
1353
+ "tiktok_media_pull_failed",
1354
+ "tiktok_server_error",
1355
+ "tiktok_publish_failed",
1356
+ "google_rate_limited",
1357
+ "google_server_error",
1358
+ "google_auth_expired",
1359
+ "google_permission_denied",
1360
+ "google_request_failed",
1361
+ "post_publish_failed",
1362
+ "post_partially_published",
1363
+ "connection_platform_mismatch",
1364
+ "connection_removed"
1365
+ ]),
1244
1366
  message: z__namespace.string(),
1245
1367
  display_error: z__namespace.string()
1246
1368
  }).nullable(),
1247
1369
  media: z__namespace.array(z__namespace.object({
1248
1370
  media_id: z__namespace.string(),
1249
1371
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1250
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
1251
1372
  alt_text_override: z__namespace.string().nullable(),
1252
1373
  media: zMedia
1253
1374
  }))
@@ -1309,14 +1430,134 @@ var zPostVariant = z__namespace.union([
1309
1430
  published_at: z__namespace.string()
1310
1431
  }).nullable(),
1311
1432
  error: z__namespace.object({
1312
- code: z__namespace.string(),
1433
+ code: z__namespace.enum([
1434
+ "unauthorized",
1435
+ "forbidden",
1436
+ "not_found",
1437
+ "conflict",
1438
+ "validation_failed",
1439
+ "rate_limited",
1440
+ "internal_error",
1441
+ "idempotency_key_invalid",
1442
+ "idempotency_key_reused",
1443
+ "idempotency_request_in_progress",
1444
+ "account_not_available",
1445
+ "connection_reauth_required",
1446
+ "connection_not_pending",
1447
+ "not_implemented",
1448
+ "connection_discovery_failed",
1449
+ "tiktok_creator_info_unavailable",
1450
+ "tiktok_cannot_post_now",
1451
+ "media_processing",
1452
+ "media_upload_init_failed",
1453
+ "media_upload_incomplete",
1454
+ "not_publishable",
1455
+ "invalid_connection",
1456
+ "invalid_media",
1457
+ "profile_scope_invalid",
1458
+ "media_unprobeable",
1459
+ "media_too_large",
1460
+ "media_aspect_ratio_unsupported",
1461
+ "media_resolution_too_low",
1462
+ "media_gif_unsupported",
1463
+ "media_format_recompressed",
1464
+ "media_resolution_downscaled",
1465
+ "video_container_unsupported",
1466
+ "video_codec_unsupported",
1467
+ "video_audio_codec_unsupported",
1468
+ "video_too_large",
1469
+ "video_too_small",
1470
+ "video_dimensions_unsupported",
1471
+ "video_dimensions_too_large",
1472
+ "video_fps_unsupported",
1473
+ "video_fps_too_low",
1474
+ "video_aspect_unsupported",
1475
+ "video_duration_too_short",
1476
+ "video_duration_exceeds_max",
1477
+ "video_transform_failed",
1478
+ "media_fetch_failed",
1479
+ "document_format_unsupported",
1480
+ "document_too_large",
1481
+ "document_too_many_pages",
1482
+ "media_format_indeterminate",
1483
+ "media_format_unsupported",
1484
+ "media_count_invalid",
1485
+ "body_too_long",
1486
+ "content_missing",
1487
+ "content_conflict",
1488
+ "content_incomplete",
1489
+ "content_kind_mismatch",
1490
+ "media_type_mismatch",
1491
+ "tag_limit_exceeded",
1492
+ "reel_field_on_non_reel",
1493
+ "field_placement_invalid",
1494
+ "media_not_ready",
1495
+ "media_failed",
1496
+ "media_unsupported",
1497
+ "media_kind_mismatch",
1498
+ "variant_unparseable",
1499
+ "publishing_unavailable",
1500
+ "x_duplicate_content",
1501
+ "x_not_authorized",
1502
+ "x_access_not_permitted",
1503
+ "x_rate_limited",
1504
+ "x_publish_failed",
1505
+ "x_media_upload_failed",
1506
+ "linkedin_duplicate_content",
1507
+ "linkedin_auth_expired",
1508
+ "linkedin_permission_denied",
1509
+ "linkedin_rate_limited",
1510
+ "linkedin_media_processing",
1511
+ "linkedin_media_failed",
1512
+ "linkedin_media_upload_failed",
1513
+ "linkedin_publish_failed",
1514
+ "instagram_media_processing",
1515
+ "instagram_container_expired",
1516
+ "instagram_container_failed",
1517
+ "instagram_rate_limited",
1518
+ "instagram_daily_limit_reached",
1519
+ "instagram_aspect_ratio_unsupported",
1520
+ "instagram_media_unsupported",
1521
+ "instagram_not_authorized",
1522
+ "instagram_publish_failed",
1523
+ "facebook_reel_processing",
1524
+ "facebook_reel_failed",
1525
+ "facebook_rate_limited",
1526
+ "facebook_duplicate_content",
1527
+ "facebook_temporarily_blocked",
1528
+ "facebook_not_authorized",
1529
+ "facebook_publish_failed",
1530
+ "tiktok_privacy_not_allowed",
1531
+ "tiktok_duration_exceeds_max",
1532
+ "tiktok_media_processing",
1533
+ "tiktok_not_authorized",
1534
+ "tiktok_rate_limited",
1535
+ "tiktok_url_ownership_unverified",
1536
+ "tiktok_unaudited_private_only",
1537
+ "tiktok_spam_risk",
1538
+ "tiktok_file_format_invalid",
1539
+ "tiktok_duration_invalid",
1540
+ "tiktok_frame_rate_invalid",
1541
+ "tiktok_resolution_invalid",
1542
+ "tiktok_media_pull_failed",
1543
+ "tiktok_server_error",
1544
+ "tiktok_publish_failed",
1545
+ "google_rate_limited",
1546
+ "google_server_error",
1547
+ "google_auth_expired",
1548
+ "google_permission_denied",
1549
+ "google_request_failed",
1550
+ "post_publish_failed",
1551
+ "post_partially_published",
1552
+ "connection_platform_mismatch",
1553
+ "connection_removed"
1554
+ ]),
1313
1555
  message: z__namespace.string(),
1314
1556
  display_error: z__namespace.string()
1315
1557
  }).nullable(),
1316
1558
  media: z__namespace.array(z__namespace.object({
1317
1559
  media_id: z__namespace.string(),
1318
1560
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1319
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
1320
1561
  alt_text_override: z__namespace.string().nullable(),
1321
1562
  media: zMedia
1322
1563
  }))
@@ -1344,14 +1585,134 @@ var zPostVariant = z__namespace.union([
1344
1585
  published_at: z__namespace.string()
1345
1586
  }).nullable(),
1346
1587
  error: z__namespace.object({
1347
- code: z__namespace.string(),
1588
+ code: z__namespace.enum([
1589
+ "unauthorized",
1590
+ "forbidden",
1591
+ "not_found",
1592
+ "conflict",
1593
+ "validation_failed",
1594
+ "rate_limited",
1595
+ "internal_error",
1596
+ "idempotency_key_invalid",
1597
+ "idempotency_key_reused",
1598
+ "idempotency_request_in_progress",
1599
+ "account_not_available",
1600
+ "connection_reauth_required",
1601
+ "connection_not_pending",
1602
+ "not_implemented",
1603
+ "connection_discovery_failed",
1604
+ "tiktok_creator_info_unavailable",
1605
+ "tiktok_cannot_post_now",
1606
+ "media_processing",
1607
+ "media_upload_init_failed",
1608
+ "media_upload_incomplete",
1609
+ "not_publishable",
1610
+ "invalid_connection",
1611
+ "invalid_media",
1612
+ "profile_scope_invalid",
1613
+ "media_unprobeable",
1614
+ "media_too_large",
1615
+ "media_aspect_ratio_unsupported",
1616
+ "media_resolution_too_low",
1617
+ "media_gif_unsupported",
1618
+ "media_format_recompressed",
1619
+ "media_resolution_downscaled",
1620
+ "video_container_unsupported",
1621
+ "video_codec_unsupported",
1622
+ "video_audio_codec_unsupported",
1623
+ "video_too_large",
1624
+ "video_too_small",
1625
+ "video_dimensions_unsupported",
1626
+ "video_dimensions_too_large",
1627
+ "video_fps_unsupported",
1628
+ "video_fps_too_low",
1629
+ "video_aspect_unsupported",
1630
+ "video_duration_too_short",
1631
+ "video_duration_exceeds_max",
1632
+ "video_transform_failed",
1633
+ "media_fetch_failed",
1634
+ "document_format_unsupported",
1635
+ "document_too_large",
1636
+ "document_too_many_pages",
1637
+ "media_format_indeterminate",
1638
+ "media_format_unsupported",
1639
+ "media_count_invalid",
1640
+ "body_too_long",
1641
+ "content_missing",
1642
+ "content_conflict",
1643
+ "content_incomplete",
1644
+ "content_kind_mismatch",
1645
+ "media_type_mismatch",
1646
+ "tag_limit_exceeded",
1647
+ "reel_field_on_non_reel",
1648
+ "field_placement_invalid",
1649
+ "media_not_ready",
1650
+ "media_failed",
1651
+ "media_unsupported",
1652
+ "media_kind_mismatch",
1653
+ "variant_unparseable",
1654
+ "publishing_unavailable",
1655
+ "x_duplicate_content",
1656
+ "x_not_authorized",
1657
+ "x_access_not_permitted",
1658
+ "x_rate_limited",
1659
+ "x_publish_failed",
1660
+ "x_media_upload_failed",
1661
+ "linkedin_duplicate_content",
1662
+ "linkedin_auth_expired",
1663
+ "linkedin_permission_denied",
1664
+ "linkedin_rate_limited",
1665
+ "linkedin_media_processing",
1666
+ "linkedin_media_failed",
1667
+ "linkedin_media_upload_failed",
1668
+ "linkedin_publish_failed",
1669
+ "instagram_media_processing",
1670
+ "instagram_container_expired",
1671
+ "instagram_container_failed",
1672
+ "instagram_rate_limited",
1673
+ "instagram_daily_limit_reached",
1674
+ "instagram_aspect_ratio_unsupported",
1675
+ "instagram_media_unsupported",
1676
+ "instagram_not_authorized",
1677
+ "instagram_publish_failed",
1678
+ "facebook_reel_processing",
1679
+ "facebook_reel_failed",
1680
+ "facebook_rate_limited",
1681
+ "facebook_duplicate_content",
1682
+ "facebook_temporarily_blocked",
1683
+ "facebook_not_authorized",
1684
+ "facebook_publish_failed",
1685
+ "tiktok_privacy_not_allowed",
1686
+ "tiktok_duration_exceeds_max",
1687
+ "tiktok_media_processing",
1688
+ "tiktok_not_authorized",
1689
+ "tiktok_rate_limited",
1690
+ "tiktok_url_ownership_unverified",
1691
+ "tiktok_unaudited_private_only",
1692
+ "tiktok_spam_risk",
1693
+ "tiktok_file_format_invalid",
1694
+ "tiktok_duration_invalid",
1695
+ "tiktok_frame_rate_invalid",
1696
+ "tiktok_resolution_invalid",
1697
+ "tiktok_media_pull_failed",
1698
+ "tiktok_server_error",
1699
+ "tiktok_publish_failed",
1700
+ "google_rate_limited",
1701
+ "google_server_error",
1702
+ "google_auth_expired",
1703
+ "google_permission_denied",
1704
+ "google_request_failed",
1705
+ "post_publish_failed",
1706
+ "post_partially_published",
1707
+ "connection_platform_mismatch",
1708
+ "connection_removed"
1709
+ ]),
1348
1710
  message: z__namespace.string(),
1349
1711
  display_error: z__namespace.string()
1350
1712
  }).nullable(),
1351
1713
  media: z__namespace.array(z__namespace.object({
1352
1714
  media_id: z__namespace.string(),
1353
1715
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1354
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
1355
1716
  alt_text_override: z__namespace.string().nullable(),
1356
1717
  media: zMedia
1357
1718
  }))
@@ -1393,14 +1754,134 @@ var zPostVariant = z__namespace.union([
1393
1754
  published_at: z__namespace.string()
1394
1755
  }).nullable(),
1395
1756
  error: z__namespace.object({
1396
- code: z__namespace.string(),
1757
+ code: z__namespace.enum([
1758
+ "unauthorized",
1759
+ "forbidden",
1760
+ "not_found",
1761
+ "conflict",
1762
+ "validation_failed",
1763
+ "rate_limited",
1764
+ "internal_error",
1765
+ "idempotency_key_invalid",
1766
+ "idempotency_key_reused",
1767
+ "idempotency_request_in_progress",
1768
+ "account_not_available",
1769
+ "connection_reauth_required",
1770
+ "connection_not_pending",
1771
+ "not_implemented",
1772
+ "connection_discovery_failed",
1773
+ "tiktok_creator_info_unavailable",
1774
+ "tiktok_cannot_post_now",
1775
+ "media_processing",
1776
+ "media_upload_init_failed",
1777
+ "media_upload_incomplete",
1778
+ "not_publishable",
1779
+ "invalid_connection",
1780
+ "invalid_media",
1781
+ "profile_scope_invalid",
1782
+ "media_unprobeable",
1783
+ "media_too_large",
1784
+ "media_aspect_ratio_unsupported",
1785
+ "media_resolution_too_low",
1786
+ "media_gif_unsupported",
1787
+ "media_format_recompressed",
1788
+ "media_resolution_downscaled",
1789
+ "video_container_unsupported",
1790
+ "video_codec_unsupported",
1791
+ "video_audio_codec_unsupported",
1792
+ "video_too_large",
1793
+ "video_too_small",
1794
+ "video_dimensions_unsupported",
1795
+ "video_dimensions_too_large",
1796
+ "video_fps_unsupported",
1797
+ "video_fps_too_low",
1798
+ "video_aspect_unsupported",
1799
+ "video_duration_too_short",
1800
+ "video_duration_exceeds_max",
1801
+ "video_transform_failed",
1802
+ "media_fetch_failed",
1803
+ "document_format_unsupported",
1804
+ "document_too_large",
1805
+ "document_too_many_pages",
1806
+ "media_format_indeterminate",
1807
+ "media_format_unsupported",
1808
+ "media_count_invalid",
1809
+ "body_too_long",
1810
+ "content_missing",
1811
+ "content_conflict",
1812
+ "content_incomplete",
1813
+ "content_kind_mismatch",
1814
+ "media_type_mismatch",
1815
+ "tag_limit_exceeded",
1816
+ "reel_field_on_non_reel",
1817
+ "field_placement_invalid",
1818
+ "media_not_ready",
1819
+ "media_failed",
1820
+ "media_unsupported",
1821
+ "media_kind_mismatch",
1822
+ "variant_unparseable",
1823
+ "publishing_unavailable",
1824
+ "x_duplicate_content",
1825
+ "x_not_authorized",
1826
+ "x_access_not_permitted",
1827
+ "x_rate_limited",
1828
+ "x_publish_failed",
1829
+ "x_media_upload_failed",
1830
+ "linkedin_duplicate_content",
1831
+ "linkedin_auth_expired",
1832
+ "linkedin_permission_denied",
1833
+ "linkedin_rate_limited",
1834
+ "linkedin_media_processing",
1835
+ "linkedin_media_failed",
1836
+ "linkedin_media_upload_failed",
1837
+ "linkedin_publish_failed",
1838
+ "instagram_media_processing",
1839
+ "instagram_container_expired",
1840
+ "instagram_container_failed",
1841
+ "instagram_rate_limited",
1842
+ "instagram_daily_limit_reached",
1843
+ "instagram_aspect_ratio_unsupported",
1844
+ "instagram_media_unsupported",
1845
+ "instagram_not_authorized",
1846
+ "instagram_publish_failed",
1847
+ "facebook_reel_processing",
1848
+ "facebook_reel_failed",
1849
+ "facebook_rate_limited",
1850
+ "facebook_duplicate_content",
1851
+ "facebook_temporarily_blocked",
1852
+ "facebook_not_authorized",
1853
+ "facebook_publish_failed",
1854
+ "tiktok_privacy_not_allowed",
1855
+ "tiktok_duration_exceeds_max",
1856
+ "tiktok_media_processing",
1857
+ "tiktok_not_authorized",
1858
+ "tiktok_rate_limited",
1859
+ "tiktok_url_ownership_unverified",
1860
+ "tiktok_unaudited_private_only",
1861
+ "tiktok_spam_risk",
1862
+ "tiktok_file_format_invalid",
1863
+ "tiktok_duration_invalid",
1864
+ "tiktok_frame_rate_invalid",
1865
+ "tiktok_resolution_invalid",
1866
+ "tiktok_media_pull_failed",
1867
+ "tiktok_server_error",
1868
+ "tiktok_publish_failed",
1869
+ "google_rate_limited",
1870
+ "google_server_error",
1871
+ "google_auth_expired",
1872
+ "google_permission_denied",
1873
+ "google_request_failed",
1874
+ "post_publish_failed",
1875
+ "post_partially_published",
1876
+ "connection_platform_mismatch",
1877
+ "connection_removed"
1878
+ ]),
1397
1879
  message: z__namespace.string(),
1398
1880
  display_error: z__namespace.string()
1399
1881
  }).nullable(),
1400
1882
  media: z__namespace.array(z__namespace.object({
1401
1883
  media_id: z__namespace.string(),
1402
1884
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1403
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
1404
1885
  alt_text_override: z__namespace.string().nullable(),
1405
1886
  media: zMedia
1406
1887
  }))
@@ -1436,14 +1917,134 @@ var zPostVariant = z__namespace.union([
1436
1917
  published_at: z__namespace.string()
1437
1918
  }).nullable(),
1438
1919
  error: z__namespace.object({
1439
- code: z__namespace.string(),
1920
+ code: z__namespace.enum([
1921
+ "unauthorized",
1922
+ "forbidden",
1923
+ "not_found",
1924
+ "conflict",
1925
+ "validation_failed",
1926
+ "rate_limited",
1927
+ "internal_error",
1928
+ "idempotency_key_invalid",
1929
+ "idempotency_key_reused",
1930
+ "idempotency_request_in_progress",
1931
+ "account_not_available",
1932
+ "connection_reauth_required",
1933
+ "connection_not_pending",
1934
+ "not_implemented",
1935
+ "connection_discovery_failed",
1936
+ "tiktok_creator_info_unavailable",
1937
+ "tiktok_cannot_post_now",
1938
+ "media_processing",
1939
+ "media_upload_init_failed",
1940
+ "media_upload_incomplete",
1941
+ "not_publishable",
1942
+ "invalid_connection",
1943
+ "invalid_media",
1944
+ "profile_scope_invalid",
1945
+ "media_unprobeable",
1946
+ "media_too_large",
1947
+ "media_aspect_ratio_unsupported",
1948
+ "media_resolution_too_low",
1949
+ "media_gif_unsupported",
1950
+ "media_format_recompressed",
1951
+ "media_resolution_downscaled",
1952
+ "video_container_unsupported",
1953
+ "video_codec_unsupported",
1954
+ "video_audio_codec_unsupported",
1955
+ "video_too_large",
1956
+ "video_too_small",
1957
+ "video_dimensions_unsupported",
1958
+ "video_dimensions_too_large",
1959
+ "video_fps_unsupported",
1960
+ "video_fps_too_low",
1961
+ "video_aspect_unsupported",
1962
+ "video_duration_too_short",
1963
+ "video_duration_exceeds_max",
1964
+ "video_transform_failed",
1965
+ "media_fetch_failed",
1966
+ "document_format_unsupported",
1967
+ "document_too_large",
1968
+ "document_too_many_pages",
1969
+ "media_format_indeterminate",
1970
+ "media_format_unsupported",
1971
+ "media_count_invalid",
1972
+ "body_too_long",
1973
+ "content_missing",
1974
+ "content_conflict",
1975
+ "content_incomplete",
1976
+ "content_kind_mismatch",
1977
+ "media_type_mismatch",
1978
+ "tag_limit_exceeded",
1979
+ "reel_field_on_non_reel",
1980
+ "field_placement_invalid",
1981
+ "media_not_ready",
1982
+ "media_failed",
1983
+ "media_unsupported",
1984
+ "media_kind_mismatch",
1985
+ "variant_unparseable",
1986
+ "publishing_unavailable",
1987
+ "x_duplicate_content",
1988
+ "x_not_authorized",
1989
+ "x_access_not_permitted",
1990
+ "x_rate_limited",
1991
+ "x_publish_failed",
1992
+ "x_media_upload_failed",
1993
+ "linkedin_duplicate_content",
1994
+ "linkedin_auth_expired",
1995
+ "linkedin_permission_denied",
1996
+ "linkedin_rate_limited",
1997
+ "linkedin_media_processing",
1998
+ "linkedin_media_failed",
1999
+ "linkedin_media_upload_failed",
2000
+ "linkedin_publish_failed",
2001
+ "instagram_media_processing",
2002
+ "instagram_container_expired",
2003
+ "instagram_container_failed",
2004
+ "instagram_rate_limited",
2005
+ "instagram_daily_limit_reached",
2006
+ "instagram_aspect_ratio_unsupported",
2007
+ "instagram_media_unsupported",
2008
+ "instagram_not_authorized",
2009
+ "instagram_publish_failed",
2010
+ "facebook_reel_processing",
2011
+ "facebook_reel_failed",
2012
+ "facebook_rate_limited",
2013
+ "facebook_duplicate_content",
2014
+ "facebook_temporarily_blocked",
2015
+ "facebook_not_authorized",
2016
+ "facebook_publish_failed",
2017
+ "tiktok_privacy_not_allowed",
2018
+ "tiktok_duration_exceeds_max",
2019
+ "tiktok_media_processing",
2020
+ "tiktok_not_authorized",
2021
+ "tiktok_rate_limited",
2022
+ "tiktok_url_ownership_unverified",
2023
+ "tiktok_unaudited_private_only",
2024
+ "tiktok_spam_risk",
2025
+ "tiktok_file_format_invalid",
2026
+ "tiktok_duration_invalid",
2027
+ "tiktok_frame_rate_invalid",
2028
+ "tiktok_resolution_invalid",
2029
+ "tiktok_media_pull_failed",
2030
+ "tiktok_server_error",
2031
+ "tiktok_publish_failed",
2032
+ "google_rate_limited",
2033
+ "google_server_error",
2034
+ "google_auth_expired",
2035
+ "google_permission_denied",
2036
+ "google_request_failed",
2037
+ "post_publish_failed",
2038
+ "post_partially_published",
2039
+ "connection_platform_mismatch",
2040
+ "connection_removed"
2041
+ ]),
1440
2042
  message: z__namespace.string(),
1441
2043
  display_error: z__namespace.string()
1442
2044
  }).nullable(),
1443
2045
  media: z__namespace.array(z__namespace.object({
1444
2046
  media_id: z__namespace.string(),
1445
2047
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1446
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
1447
2048
  alt_text_override: z__namespace.string().nullable(),
1448
2049
  media: zMedia
1449
2050
  }))
@@ -1533,7 +2134,6 @@ var zPostVariantInput = z__namespace.union([
1533
2134
  body: z__namespace.string().optional(),
1534
2135
  media: z__namespace.array(z__namespace.object({
1535
2136
  media_id: z__namespace.string(),
1536
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
1537
2137
  alt_text_override: z__namespace.string().nullish()
1538
2138
  })).optional().default([])
1539
2139
  }),
@@ -1586,7 +2186,6 @@ var zPostVariantInput = z__namespace.union([
1586
2186
  body: z__namespace.string().optional(),
1587
2187
  media: z__namespace.array(z__namespace.object({
1588
2188
  media_id: z__namespace.string(),
1589
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
1590
2189
  alt_text_override: z__namespace.string().nullish()
1591
2190
  })).optional().default([])
1592
2191
  }),
@@ -1619,7 +2218,6 @@ var zPostVariantInput = z__namespace.union([
1619
2218
  body: z__namespace.string().optional(),
1620
2219
  media: z__namespace.array(z__namespace.object({
1621
2220
  media_id: z__namespace.string(),
1622
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
1623
2221
  alt_text_override: z__namespace.string().nullish()
1624
2222
  })).optional().default([])
1625
2223
  }),
@@ -1638,7 +2236,6 @@ var zPostVariantInput = z__namespace.union([
1638
2236
  body: z__namespace.string().optional(),
1639
2237
  media: z__namespace.array(z__namespace.object({
1640
2238
  media_id: z__namespace.string(),
1641
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
1642
2239
  alt_text_override: z__namespace.string().nullish()
1643
2240
  })).optional().default([])
1644
2241
  }),
@@ -1665,7 +2262,6 @@ var zPostVariantInput = z__namespace.union([
1665
2262
  body: z__namespace.string().optional(),
1666
2263
  media: z__namespace.array(z__namespace.object({
1667
2264
  media_id: z__namespace.string(),
1668
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
1669
2265
  alt_text_override: z__namespace.string().nullish()
1670
2266
  })).optional().default([])
1671
2267
  })
@@ -1925,7 +2521,9 @@ var zGoogleAdsCampaignCriterion = z__namespace.union([
1925
2521
  "VIDEO_LINEUP",
1926
2522
  "PLACEMENT_LIST",
1927
2523
  "VERTICAL_ADS_ITEM_GROUP_RULE_LIST",
1928
- "VERTICAL_ADS_ITEM_GROUP_RULE"
2524
+ "VERTICAL_ADS_ITEM_GROUP_RULE",
2525
+ "RETAIL_FILTER_BUNDLE",
2526
+ "RETAIL_FILTER"
1929
2527
  ]),
1930
2528
  criterion_id: z__namespace.string()
1931
2529
  })
@@ -2095,7 +2693,9 @@ var zGoogleAdsAdGroupCriterion = z__namespace.union([
2095
2693
  "VIDEO_LINEUP",
2096
2694
  "PLACEMENT_LIST",
2097
2695
  "VERTICAL_ADS_ITEM_GROUP_RULE_LIST",
2098
- "VERTICAL_ADS_ITEM_GROUP_RULE"
2696
+ "VERTICAL_ADS_ITEM_GROUP_RULE",
2697
+ "RETAIL_FILTER_BUNDLE",
2698
+ "RETAIL_FILTER"
2099
2699
  ]),
2100
2700
  criterion_id: z__namespace.string()
2101
2701
  })
@@ -2114,6 +2714,10 @@ var zGoogleAdsGeoTargetConstant = z__namespace.object({
2114
2714
  "REMOVAL_PLANNED"
2115
2715
  ])
2116
2716
  });
2717
+ var zGoogleAdsUrlCustomParameter = z__namespace.object({
2718
+ key: z__namespace.string().min(1).regex(/^[A-Za-z0-9]+$/),
2719
+ value: z__namespace.string()
2720
+ });
2117
2721
  z__namespace.object({
2118
2722
  id: z__namespace.string().nullable(),
2119
2723
  resource_name: z__namespace.string().nullable(),
@@ -2848,6 +3452,7 @@ z__namespace.object({
2848
3452
  "not_implemented",
2849
3453
  "connection_discovery_failed",
2850
3454
  "tiktok_creator_info_unavailable",
3455
+ "tiktok_cannot_post_now",
2851
3456
  "media_processing",
2852
3457
  "media_upload_init_failed",
2853
3458
  "media_upload_incomplete",
@@ -3188,7 +3793,20 @@ z__namespace.object({
3188
3793
  "CLOSED"
3189
3794
  ]),
3190
3795
  manager: z__namespace.boolean(),
3191
- test_account: z__namespace.boolean()
3796
+ test_account: z__namespace.boolean(),
3797
+ tracking_url_template: z__namespace.string().nullable(),
3798
+ final_url_suffix: z__namespace.string().nullable()
3799
+ });
3800
+ z__namespace.object({
3801
+ tracking_url_template: z__namespace.string().min(1).optional(),
3802
+ final_url_suffix: z__namespace.string().min(1).optional(),
3803
+ dry_run: z__namespace.boolean().optional().default(false)
3804
+ });
3805
+ z__namespace.object({
3806
+ "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
3807
+ });
3808
+ z__namespace.object({
3809
+ connection_id: z__namespace.string()
3192
3810
  });
3193
3811
  z__namespace.object({
3194
3812
  level: zGoogleAdsInsightLevel.optional().default("campaign"),
@@ -3321,7 +3939,10 @@ z__namespace.object({
3321
3939
  "TARGET_SPEND"
3322
3940
  ]),
3323
3941
  start_date_time: z__namespace.string().nullable(),
3324
- end_date_time: z__namespace.string().nullable()
3942
+ end_date_time: z__namespace.string().nullable(),
3943
+ tracking_url_template: z__namespace.string().nullable(),
3944
+ final_url_suffix: z__namespace.string().nullable(),
3945
+ url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).max(8).optional().default([])
3325
3946
  }))
3326
3947
  });
3327
3948
  z__namespace.object({
@@ -3399,10 +4020,16 @@ z__namespace.object({
3399
4020
  "TARGET_SPEND"
3400
4021
  ]),
3401
4022
  start_date_time: z__namespace.string().nullable(),
3402
- end_date_time: z__namespace.string().nullable()
4023
+ end_date_time: z__namespace.string().nullable(),
4024
+ tracking_url_template: z__namespace.string().nullable(),
4025
+ final_url_suffix: z__namespace.string().nullable(),
4026
+ url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).max(8).optional().default([])
3403
4027
  });
3404
4028
  z__namespace.object({
3405
- name: z__namespace.string().min(1).max(255),
4029
+ name: z__namespace.string().min(1).max(255).optional(),
4030
+ tracking_url_template: z__namespace.string().min(1).optional(),
4031
+ final_url_suffix: z__namespace.string().min(1).optional(),
4032
+ url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).min(1).max(8).optional(),
3406
4033
  dry_run: z__namespace.boolean().optional().default(false)
3407
4034
  });
3408
4035
  z__namespace.object({
@@ -3976,7 +4603,16 @@ z__namespace.object({
3976
4603
  "UNIVERSAL_ANALYTICS_GOAL",
3977
4604
  "UNIVERSAL_ANALYTICS_TRANSACTION",
3978
4605
  "GOOGLE_ANALYTICS_4_CUSTOM",
3979
- "GOOGLE_ANALYTICS_4_PURCHASE"
4606
+ "GOOGLE_ANALYTICS_4_PURCHASE",
4607
+ "GOOGLE_ANALYTICS_4_GENERATE_LEAD",
4608
+ "GOOGLE_ANALYTICS_4_QUALIFY_LEAD",
4609
+ "GOOGLE_ANALYTICS_4_CLOSE_CONVERT_LEAD",
4610
+ "FIREBASE_ANDROID_GENERATE_LEAD",
4611
+ "FIREBASE_ANDROID_QUALIFY_LEAD",
4612
+ "FIREBASE_ANDROID_CLOSE_CONVERT_LEAD",
4613
+ "FIREBASE_IOS_GENERATE_LEAD",
4614
+ "FIREBASE_IOS_QUALIFY_LEAD",
4615
+ "FIREBASE_IOS_CLOSE_CONVERT_LEAD"
3980
4616
  ]),
3981
4617
  category: z__namespace.enum([
3982
4618
  "UNSPECIFIED",
@@ -4001,7 +4637,8 @@ z__namespace.object({
4001
4637
  "STORE_VISIT",
4002
4638
  "STORE_SALE",
4003
4639
  "QUALIFIED_LEAD",
4004
- "CONVERTED_LEAD"
4640
+ "CONVERTED_LEAD",
4641
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4005
4642
  ]),
4006
4643
  origin: z__namespace.enum([
4007
4644
  "UNSPECIFIED",
@@ -4069,7 +4706,8 @@ z__namespace.object({
4069
4706
  "STORE_VISIT",
4070
4707
  "STORE_SALE",
4071
4708
  "QUALIFIED_LEAD",
4072
- "CONVERTED_LEAD"
4709
+ "CONVERTED_LEAD",
4710
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4073
4711
  ]),
4074
4712
  status: z__namespace.enum(["ENABLED"]).optional().default("ENABLED"),
4075
4713
  value_settings: z__namespace.object({
@@ -4144,7 +4782,16 @@ z__namespace.object({
4144
4782
  "UNIVERSAL_ANALYTICS_GOAL",
4145
4783
  "UNIVERSAL_ANALYTICS_TRANSACTION",
4146
4784
  "GOOGLE_ANALYTICS_4_CUSTOM",
4147
- "GOOGLE_ANALYTICS_4_PURCHASE"
4785
+ "GOOGLE_ANALYTICS_4_PURCHASE",
4786
+ "GOOGLE_ANALYTICS_4_GENERATE_LEAD",
4787
+ "GOOGLE_ANALYTICS_4_QUALIFY_LEAD",
4788
+ "GOOGLE_ANALYTICS_4_CLOSE_CONVERT_LEAD",
4789
+ "FIREBASE_ANDROID_GENERATE_LEAD",
4790
+ "FIREBASE_ANDROID_QUALIFY_LEAD",
4791
+ "FIREBASE_ANDROID_CLOSE_CONVERT_LEAD",
4792
+ "FIREBASE_IOS_GENERATE_LEAD",
4793
+ "FIREBASE_IOS_QUALIFY_LEAD",
4794
+ "FIREBASE_IOS_CLOSE_CONVERT_LEAD"
4148
4795
  ]),
4149
4796
  category: z__namespace.enum([
4150
4797
  "UNSPECIFIED",
@@ -4169,7 +4816,8 @@ z__namespace.object({
4169
4816
  "STORE_VISIT",
4170
4817
  "STORE_SALE",
4171
4818
  "QUALIFIED_LEAD",
4172
- "CONVERTED_LEAD"
4819
+ "CONVERTED_LEAD",
4820
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4173
4821
  ]),
4174
4822
  origin: z__namespace.enum([
4175
4823
  "UNSPECIFIED",
@@ -4241,7 +4889,8 @@ z__namespace.object({
4241
4889
  "STORE_VISIT",
4242
4890
  "STORE_SALE",
4243
4891
  "QUALIFIED_LEAD",
4244
- "CONVERTED_LEAD"
4892
+ "CONVERTED_LEAD",
4893
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4245
4894
  ]),
4246
4895
  origin: z__namespace.enum([
4247
4896
  "UNSPECIFIED",
@@ -4278,7 +4927,8 @@ z__namespace.object({
4278
4927
  "STORE_VISIT",
4279
4928
  "STORE_SALE",
4280
4929
  "QUALIFIED_LEAD",
4281
- "CONVERTED_LEAD"
4930
+ "CONVERTED_LEAD",
4931
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4282
4932
  ]),
4283
4933
  origin: z__namespace.enum([
4284
4934
  "WEBSITE",
@@ -4321,7 +4971,8 @@ z__namespace.object({
4321
4971
  "STORE_VISIT",
4322
4972
  "STORE_SALE",
4323
4973
  "QUALIFIED_LEAD",
4324
- "CONVERTED_LEAD"
4974
+ "CONVERTED_LEAD",
4975
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4325
4976
  ]),
4326
4977
  origin: z__namespace.enum([
4327
4978
  "UNSPECIFIED",
@@ -4337,45 +4988,6 @@ z__namespace.object({
4337
4988
  dry_run: z__namespace.boolean(),
4338
4989
  executed: z__namespace.boolean()
4339
4990
  });
4340
- z__namespace.object({
4341
- conversions: z__namespace.array(z__namespace.object({
4342
- conversion_action: z__namespace.string().min(1),
4343
- conversion_date_time: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}[+-]\d{2}:\d{2}$/),
4344
- conversion_value: z__namespace.number().gte(0).optional(),
4345
- currency_code: z__namespace.string().length(3).optional(),
4346
- order_id: z__namespace.string().optional(),
4347
- gclid: z__namespace.string().optional(),
4348
- gbraid: z__namespace.string().optional(),
4349
- wbraid: z__namespace.string().optional(),
4350
- user_identifiers: z__namespace.array(z__namespace.object({
4351
- hashed_email: z__namespace.string().regex(/^[a-f0-9]{64}$/).optional(),
4352
- hashed_phone_number: z__namespace.string().regex(/^[a-f0-9]{64}$/).optional(),
4353
- user_identifier_source: z__namespace.enum(["FIRST_PARTY", "THIRD_PARTY"]).optional()
4354
- })).min(1).max(5).optional(),
4355
- consent: z__namespace.object({
4356
- ad_user_data: z__namespace.enum(["GRANTED", "DENIED"]).optional(),
4357
- ad_personalization: z__namespace.enum(["GRANTED", "DENIED"]).optional()
4358
- }).optional()
4359
- })).min(1).max(2e3),
4360
- dry_run: z__namespace.boolean().optional().default(false)
4361
- });
4362
- z__namespace.object({
4363
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
4364
- });
4365
- z__namespace.object({
4366
- connection_id: z__namespace.string()
4367
- });
4368
- z__namespace.object({
4369
- received: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
4370
- succeeded: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
4371
- failed: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
4372
- errors: z__namespace.array(z__namespace.object({
4373
- index: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
4374
- error_code: z__namespace.string(),
4375
- message: z__namespace.string()
4376
- })),
4377
- dry_run: z__namespace.boolean()
4378
- });
4379
4991
  z__namespace.object({
4380
4992
  media_id: z__namespace.string(),
4381
4993
  dry_run: z__namespace.boolean().optional().default(false)
@@ -4450,7 +5062,131 @@ z__namespace.object({
4450
5062
  request_path: z__namespace.string().nullable(),
4451
5063
  request_body: z__namespace.unknown().nullish(),
4452
5064
  response_body: z__namespace.unknown().nullish(),
4453
- error: z__namespace.unknown().nullish(),
5065
+ error: z__namespace.object({
5066
+ code: z__namespace.enum([
5067
+ "unauthorized",
5068
+ "forbidden",
5069
+ "not_found",
5070
+ "conflict",
5071
+ "validation_failed",
5072
+ "rate_limited",
5073
+ "internal_error",
5074
+ "idempotency_key_invalid",
5075
+ "idempotency_key_reused",
5076
+ "idempotency_request_in_progress",
5077
+ "account_not_available",
5078
+ "connection_reauth_required",
5079
+ "connection_not_pending",
5080
+ "not_implemented",
5081
+ "connection_discovery_failed",
5082
+ "tiktok_creator_info_unavailable",
5083
+ "tiktok_cannot_post_now",
5084
+ "media_processing",
5085
+ "media_upload_init_failed",
5086
+ "media_upload_incomplete",
5087
+ "not_publishable",
5088
+ "invalid_connection",
5089
+ "invalid_media",
5090
+ "profile_scope_invalid",
5091
+ "media_unprobeable",
5092
+ "media_too_large",
5093
+ "media_aspect_ratio_unsupported",
5094
+ "media_resolution_too_low",
5095
+ "media_gif_unsupported",
5096
+ "media_format_recompressed",
5097
+ "media_resolution_downscaled",
5098
+ "video_container_unsupported",
5099
+ "video_codec_unsupported",
5100
+ "video_audio_codec_unsupported",
5101
+ "video_too_large",
5102
+ "video_too_small",
5103
+ "video_dimensions_unsupported",
5104
+ "video_dimensions_too_large",
5105
+ "video_fps_unsupported",
5106
+ "video_fps_too_low",
5107
+ "video_aspect_unsupported",
5108
+ "video_duration_too_short",
5109
+ "video_duration_exceeds_max",
5110
+ "video_transform_failed",
5111
+ "media_fetch_failed",
5112
+ "document_format_unsupported",
5113
+ "document_too_large",
5114
+ "document_too_many_pages",
5115
+ "media_format_indeterminate",
5116
+ "media_format_unsupported",
5117
+ "media_count_invalid",
5118
+ "body_too_long",
5119
+ "content_missing",
5120
+ "content_conflict",
5121
+ "content_incomplete",
5122
+ "content_kind_mismatch",
5123
+ "media_type_mismatch",
5124
+ "tag_limit_exceeded",
5125
+ "reel_field_on_non_reel",
5126
+ "field_placement_invalid",
5127
+ "media_not_ready",
5128
+ "media_failed",
5129
+ "media_unsupported",
5130
+ "media_kind_mismatch",
5131
+ "variant_unparseable",
5132
+ "publishing_unavailable",
5133
+ "x_duplicate_content",
5134
+ "x_not_authorized",
5135
+ "x_access_not_permitted",
5136
+ "x_rate_limited",
5137
+ "x_publish_failed",
5138
+ "x_media_upload_failed",
5139
+ "linkedin_duplicate_content",
5140
+ "linkedin_auth_expired",
5141
+ "linkedin_permission_denied",
5142
+ "linkedin_rate_limited",
5143
+ "linkedin_media_processing",
5144
+ "linkedin_media_failed",
5145
+ "linkedin_media_upload_failed",
5146
+ "linkedin_publish_failed",
5147
+ "instagram_media_processing",
5148
+ "instagram_container_expired",
5149
+ "instagram_container_failed",
5150
+ "instagram_rate_limited",
5151
+ "instagram_daily_limit_reached",
5152
+ "instagram_aspect_ratio_unsupported",
5153
+ "instagram_media_unsupported",
5154
+ "instagram_not_authorized",
5155
+ "instagram_publish_failed",
5156
+ "facebook_reel_processing",
5157
+ "facebook_reel_failed",
5158
+ "facebook_rate_limited",
5159
+ "facebook_duplicate_content",
5160
+ "facebook_temporarily_blocked",
5161
+ "facebook_not_authorized",
5162
+ "facebook_publish_failed",
5163
+ "tiktok_privacy_not_allowed",
5164
+ "tiktok_duration_exceeds_max",
5165
+ "tiktok_media_processing",
5166
+ "tiktok_not_authorized",
5167
+ "tiktok_rate_limited",
5168
+ "tiktok_url_ownership_unverified",
5169
+ "tiktok_unaudited_private_only",
5170
+ "tiktok_spam_risk",
5171
+ "tiktok_file_format_invalid",
5172
+ "tiktok_duration_invalid",
5173
+ "tiktok_frame_rate_invalid",
5174
+ "tiktok_resolution_invalid",
5175
+ "tiktok_media_pull_failed",
5176
+ "tiktok_server_error",
5177
+ "tiktok_publish_failed",
5178
+ "google_rate_limited",
5179
+ "google_server_error",
5180
+ "google_auth_expired",
5181
+ "google_permission_denied",
5182
+ "google_request_failed",
5183
+ "post_publish_failed",
5184
+ "post_partially_published",
5185
+ "connection_platform_mismatch",
5186
+ "connection_removed"
5187
+ ]),
5188
+ message: z__namespace.string()
5189
+ }).nullable(),
4454
5190
  outcome: z__namespace.object({
4455
5191
  status: z__namespace.enum([
4456
5192
  "draft",
@@ -4481,7 +5217,128 @@ z__namespace.object({
4481
5217
  permalink: z__namespace.string().nullable(),
4482
5218
  published_at: z__namespace.string().nullable(),
4483
5219
  error: z__namespace.object({
4484
- code: z__namespace.string(),
5220
+ code: z__namespace.enum([
5221
+ "unauthorized",
5222
+ "forbidden",
5223
+ "not_found",
5224
+ "conflict",
5225
+ "validation_failed",
5226
+ "rate_limited",
5227
+ "internal_error",
5228
+ "idempotency_key_invalid",
5229
+ "idempotency_key_reused",
5230
+ "idempotency_request_in_progress",
5231
+ "account_not_available",
5232
+ "connection_reauth_required",
5233
+ "connection_not_pending",
5234
+ "not_implemented",
5235
+ "connection_discovery_failed",
5236
+ "tiktok_creator_info_unavailable",
5237
+ "tiktok_cannot_post_now",
5238
+ "media_processing",
5239
+ "media_upload_init_failed",
5240
+ "media_upload_incomplete",
5241
+ "not_publishable",
5242
+ "invalid_connection",
5243
+ "invalid_media",
5244
+ "profile_scope_invalid",
5245
+ "media_unprobeable",
5246
+ "media_too_large",
5247
+ "media_aspect_ratio_unsupported",
5248
+ "media_resolution_too_low",
5249
+ "media_gif_unsupported",
5250
+ "media_format_recompressed",
5251
+ "media_resolution_downscaled",
5252
+ "video_container_unsupported",
5253
+ "video_codec_unsupported",
5254
+ "video_audio_codec_unsupported",
5255
+ "video_too_large",
5256
+ "video_too_small",
5257
+ "video_dimensions_unsupported",
5258
+ "video_dimensions_too_large",
5259
+ "video_fps_unsupported",
5260
+ "video_fps_too_low",
5261
+ "video_aspect_unsupported",
5262
+ "video_duration_too_short",
5263
+ "video_duration_exceeds_max",
5264
+ "video_transform_failed",
5265
+ "media_fetch_failed",
5266
+ "document_format_unsupported",
5267
+ "document_too_large",
5268
+ "document_too_many_pages",
5269
+ "media_format_indeterminate",
5270
+ "media_format_unsupported",
5271
+ "media_count_invalid",
5272
+ "body_too_long",
5273
+ "content_missing",
5274
+ "content_conflict",
5275
+ "content_incomplete",
5276
+ "content_kind_mismatch",
5277
+ "media_type_mismatch",
5278
+ "tag_limit_exceeded",
5279
+ "reel_field_on_non_reel",
5280
+ "field_placement_invalid",
5281
+ "media_not_ready",
5282
+ "media_failed",
5283
+ "media_unsupported",
5284
+ "media_kind_mismatch",
5285
+ "variant_unparseable",
5286
+ "publishing_unavailable",
5287
+ "x_duplicate_content",
5288
+ "x_not_authorized",
5289
+ "x_access_not_permitted",
5290
+ "x_rate_limited",
5291
+ "x_publish_failed",
5292
+ "x_media_upload_failed",
5293
+ "linkedin_duplicate_content",
5294
+ "linkedin_auth_expired",
5295
+ "linkedin_permission_denied",
5296
+ "linkedin_rate_limited",
5297
+ "linkedin_media_processing",
5298
+ "linkedin_media_failed",
5299
+ "linkedin_media_upload_failed",
5300
+ "linkedin_publish_failed",
5301
+ "instagram_media_processing",
5302
+ "instagram_container_expired",
5303
+ "instagram_container_failed",
5304
+ "instagram_rate_limited",
5305
+ "instagram_daily_limit_reached",
5306
+ "instagram_aspect_ratio_unsupported",
5307
+ "instagram_media_unsupported",
5308
+ "instagram_not_authorized",
5309
+ "instagram_publish_failed",
5310
+ "facebook_reel_processing",
5311
+ "facebook_reel_failed",
5312
+ "facebook_rate_limited",
5313
+ "facebook_duplicate_content",
5314
+ "facebook_temporarily_blocked",
5315
+ "facebook_not_authorized",
5316
+ "facebook_publish_failed",
5317
+ "tiktok_privacy_not_allowed",
5318
+ "tiktok_duration_exceeds_max",
5319
+ "tiktok_media_processing",
5320
+ "tiktok_not_authorized",
5321
+ "tiktok_rate_limited",
5322
+ "tiktok_url_ownership_unverified",
5323
+ "tiktok_unaudited_private_only",
5324
+ "tiktok_spam_risk",
5325
+ "tiktok_file_format_invalid",
5326
+ "tiktok_duration_invalid",
5327
+ "tiktok_frame_rate_invalid",
5328
+ "tiktok_resolution_invalid",
5329
+ "tiktok_media_pull_failed",
5330
+ "tiktok_server_error",
5331
+ "tiktok_publish_failed",
5332
+ "google_rate_limited",
5333
+ "google_server_error",
5334
+ "google_auth_expired",
5335
+ "google_permission_denied",
5336
+ "google_request_failed",
5337
+ "post_publish_failed",
5338
+ "post_partially_published",
5339
+ "connection_platform_mismatch",
5340
+ "connection_removed"
5341
+ ]),
4485
5342
  message: z__namespace.string(),
4486
5343
  display_error: z__namespace.string()
4487
5344
  }).nullable()
@@ -4534,7 +5391,131 @@ z__namespace.object({
4534
5391
  request_path: z__namespace.string().nullable(),
4535
5392
  request_body: z__namespace.unknown().nullish(),
4536
5393
  response_body: z__namespace.unknown().nullish(),
4537
- error: z__namespace.unknown().nullish(),
5394
+ error: z__namespace.object({
5395
+ code: z__namespace.enum([
5396
+ "unauthorized",
5397
+ "forbidden",
5398
+ "not_found",
5399
+ "conflict",
5400
+ "validation_failed",
5401
+ "rate_limited",
5402
+ "internal_error",
5403
+ "idempotency_key_invalid",
5404
+ "idempotency_key_reused",
5405
+ "idempotency_request_in_progress",
5406
+ "account_not_available",
5407
+ "connection_reauth_required",
5408
+ "connection_not_pending",
5409
+ "not_implemented",
5410
+ "connection_discovery_failed",
5411
+ "tiktok_creator_info_unavailable",
5412
+ "tiktok_cannot_post_now",
5413
+ "media_processing",
5414
+ "media_upload_init_failed",
5415
+ "media_upload_incomplete",
5416
+ "not_publishable",
5417
+ "invalid_connection",
5418
+ "invalid_media",
5419
+ "profile_scope_invalid",
5420
+ "media_unprobeable",
5421
+ "media_too_large",
5422
+ "media_aspect_ratio_unsupported",
5423
+ "media_resolution_too_low",
5424
+ "media_gif_unsupported",
5425
+ "media_format_recompressed",
5426
+ "media_resolution_downscaled",
5427
+ "video_container_unsupported",
5428
+ "video_codec_unsupported",
5429
+ "video_audio_codec_unsupported",
5430
+ "video_too_large",
5431
+ "video_too_small",
5432
+ "video_dimensions_unsupported",
5433
+ "video_dimensions_too_large",
5434
+ "video_fps_unsupported",
5435
+ "video_fps_too_low",
5436
+ "video_aspect_unsupported",
5437
+ "video_duration_too_short",
5438
+ "video_duration_exceeds_max",
5439
+ "video_transform_failed",
5440
+ "media_fetch_failed",
5441
+ "document_format_unsupported",
5442
+ "document_too_large",
5443
+ "document_too_many_pages",
5444
+ "media_format_indeterminate",
5445
+ "media_format_unsupported",
5446
+ "media_count_invalid",
5447
+ "body_too_long",
5448
+ "content_missing",
5449
+ "content_conflict",
5450
+ "content_incomplete",
5451
+ "content_kind_mismatch",
5452
+ "media_type_mismatch",
5453
+ "tag_limit_exceeded",
5454
+ "reel_field_on_non_reel",
5455
+ "field_placement_invalid",
5456
+ "media_not_ready",
5457
+ "media_failed",
5458
+ "media_unsupported",
5459
+ "media_kind_mismatch",
5460
+ "variant_unparseable",
5461
+ "publishing_unavailable",
5462
+ "x_duplicate_content",
5463
+ "x_not_authorized",
5464
+ "x_access_not_permitted",
5465
+ "x_rate_limited",
5466
+ "x_publish_failed",
5467
+ "x_media_upload_failed",
5468
+ "linkedin_duplicate_content",
5469
+ "linkedin_auth_expired",
5470
+ "linkedin_permission_denied",
5471
+ "linkedin_rate_limited",
5472
+ "linkedin_media_processing",
5473
+ "linkedin_media_failed",
5474
+ "linkedin_media_upload_failed",
5475
+ "linkedin_publish_failed",
5476
+ "instagram_media_processing",
5477
+ "instagram_container_expired",
5478
+ "instagram_container_failed",
5479
+ "instagram_rate_limited",
5480
+ "instagram_daily_limit_reached",
5481
+ "instagram_aspect_ratio_unsupported",
5482
+ "instagram_media_unsupported",
5483
+ "instagram_not_authorized",
5484
+ "instagram_publish_failed",
5485
+ "facebook_reel_processing",
5486
+ "facebook_reel_failed",
5487
+ "facebook_rate_limited",
5488
+ "facebook_duplicate_content",
5489
+ "facebook_temporarily_blocked",
5490
+ "facebook_not_authorized",
5491
+ "facebook_publish_failed",
5492
+ "tiktok_privacy_not_allowed",
5493
+ "tiktok_duration_exceeds_max",
5494
+ "tiktok_media_processing",
5495
+ "tiktok_not_authorized",
5496
+ "tiktok_rate_limited",
5497
+ "tiktok_url_ownership_unverified",
5498
+ "tiktok_unaudited_private_only",
5499
+ "tiktok_spam_risk",
5500
+ "tiktok_file_format_invalid",
5501
+ "tiktok_duration_invalid",
5502
+ "tiktok_frame_rate_invalid",
5503
+ "tiktok_resolution_invalid",
5504
+ "tiktok_media_pull_failed",
5505
+ "tiktok_server_error",
5506
+ "tiktok_publish_failed",
5507
+ "google_rate_limited",
5508
+ "google_server_error",
5509
+ "google_auth_expired",
5510
+ "google_permission_denied",
5511
+ "google_request_failed",
5512
+ "post_publish_failed",
5513
+ "post_partially_published",
5514
+ "connection_platform_mismatch",
5515
+ "connection_removed"
5516
+ ]),
5517
+ message: z__namespace.string()
5518
+ }).nullable(),
4538
5519
  outcome: z__namespace.object({
4539
5520
  status: z__namespace.enum([
4540
5521
  "draft",
@@ -4565,7 +5546,128 @@ z__namespace.object({
4565
5546
  permalink: z__namespace.string().nullable(),
4566
5547
  published_at: z__namespace.string().nullable(),
4567
5548
  error: z__namespace.object({
4568
- code: z__namespace.string(),
5549
+ code: z__namespace.enum([
5550
+ "unauthorized",
5551
+ "forbidden",
5552
+ "not_found",
5553
+ "conflict",
5554
+ "validation_failed",
5555
+ "rate_limited",
5556
+ "internal_error",
5557
+ "idempotency_key_invalid",
5558
+ "idempotency_key_reused",
5559
+ "idempotency_request_in_progress",
5560
+ "account_not_available",
5561
+ "connection_reauth_required",
5562
+ "connection_not_pending",
5563
+ "not_implemented",
5564
+ "connection_discovery_failed",
5565
+ "tiktok_creator_info_unavailable",
5566
+ "tiktok_cannot_post_now",
5567
+ "media_processing",
5568
+ "media_upload_init_failed",
5569
+ "media_upload_incomplete",
5570
+ "not_publishable",
5571
+ "invalid_connection",
5572
+ "invalid_media",
5573
+ "profile_scope_invalid",
5574
+ "media_unprobeable",
5575
+ "media_too_large",
5576
+ "media_aspect_ratio_unsupported",
5577
+ "media_resolution_too_low",
5578
+ "media_gif_unsupported",
5579
+ "media_format_recompressed",
5580
+ "media_resolution_downscaled",
5581
+ "video_container_unsupported",
5582
+ "video_codec_unsupported",
5583
+ "video_audio_codec_unsupported",
5584
+ "video_too_large",
5585
+ "video_too_small",
5586
+ "video_dimensions_unsupported",
5587
+ "video_dimensions_too_large",
5588
+ "video_fps_unsupported",
5589
+ "video_fps_too_low",
5590
+ "video_aspect_unsupported",
5591
+ "video_duration_too_short",
5592
+ "video_duration_exceeds_max",
5593
+ "video_transform_failed",
5594
+ "media_fetch_failed",
5595
+ "document_format_unsupported",
5596
+ "document_too_large",
5597
+ "document_too_many_pages",
5598
+ "media_format_indeterminate",
5599
+ "media_format_unsupported",
5600
+ "media_count_invalid",
5601
+ "body_too_long",
5602
+ "content_missing",
5603
+ "content_conflict",
5604
+ "content_incomplete",
5605
+ "content_kind_mismatch",
5606
+ "media_type_mismatch",
5607
+ "tag_limit_exceeded",
5608
+ "reel_field_on_non_reel",
5609
+ "field_placement_invalid",
5610
+ "media_not_ready",
5611
+ "media_failed",
5612
+ "media_unsupported",
5613
+ "media_kind_mismatch",
5614
+ "variant_unparseable",
5615
+ "publishing_unavailable",
5616
+ "x_duplicate_content",
5617
+ "x_not_authorized",
5618
+ "x_access_not_permitted",
5619
+ "x_rate_limited",
5620
+ "x_publish_failed",
5621
+ "x_media_upload_failed",
5622
+ "linkedin_duplicate_content",
5623
+ "linkedin_auth_expired",
5624
+ "linkedin_permission_denied",
5625
+ "linkedin_rate_limited",
5626
+ "linkedin_media_processing",
5627
+ "linkedin_media_failed",
5628
+ "linkedin_media_upload_failed",
5629
+ "linkedin_publish_failed",
5630
+ "instagram_media_processing",
5631
+ "instagram_container_expired",
5632
+ "instagram_container_failed",
5633
+ "instagram_rate_limited",
5634
+ "instagram_daily_limit_reached",
5635
+ "instagram_aspect_ratio_unsupported",
5636
+ "instagram_media_unsupported",
5637
+ "instagram_not_authorized",
5638
+ "instagram_publish_failed",
5639
+ "facebook_reel_processing",
5640
+ "facebook_reel_failed",
5641
+ "facebook_rate_limited",
5642
+ "facebook_duplicate_content",
5643
+ "facebook_temporarily_blocked",
5644
+ "facebook_not_authorized",
5645
+ "facebook_publish_failed",
5646
+ "tiktok_privacy_not_allowed",
5647
+ "tiktok_duration_exceeds_max",
5648
+ "tiktok_media_processing",
5649
+ "tiktok_not_authorized",
5650
+ "tiktok_rate_limited",
5651
+ "tiktok_url_ownership_unverified",
5652
+ "tiktok_unaudited_private_only",
5653
+ "tiktok_spam_risk",
5654
+ "tiktok_file_format_invalid",
5655
+ "tiktok_duration_invalid",
5656
+ "tiktok_frame_rate_invalid",
5657
+ "tiktok_resolution_invalid",
5658
+ "tiktok_media_pull_failed",
5659
+ "tiktok_server_error",
5660
+ "tiktok_publish_failed",
5661
+ "google_rate_limited",
5662
+ "google_server_error",
5663
+ "google_auth_expired",
5664
+ "google_permission_denied",
5665
+ "google_request_failed",
5666
+ "post_publish_failed",
5667
+ "post_partially_published",
5668
+ "connection_platform_mismatch",
5669
+ "connection_removed"
5670
+ ]),
4569
5671
  message: z__namespace.string(),
4570
5672
  display_error: z__namespace.string()
4571
5673
  }).nullable()
@@ -4683,7 +5785,7 @@ z__namespace.object({
4683
5785
  z__namespace.object({
4684
5786
  profile_scope: z__namespace.union([
4685
5787
  z__namespace.object({
4686
- type: z__namespace.literal("ids"),
5788
+ type: z__namespace.literal("profile_ids"),
4687
5789
  values: z__namespace.array(z__namespace.string()).min(1).max(100)
4688
5790
  }),
4689
5791
  z__namespace.object({