@postrun/js 2.21.0 → 2.23.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",
@@ -913,6 +914,12 @@ var zErrorCode = z__namespace.enum([
913
914
  "google_auth_expired",
914
915
  "google_permission_denied",
915
916
  "google_request_failed",
917
+ "google_conversion_duplicate",
918
+ "google_conversion_invalid_click_id",
919
+ "google_conversion_event_too_old",
920
+ "google_conversion_consent_required",
921
+ "google_conversion_terms_not_signed",
922
+ "google_conversion_rejected",
916
923
  "post_publish_failed",
917
924
  "post_partially_published",
918
925
  "connection_platform_mismatch",
@@ -1240,14 +1247,140 @@ var zPostVariant = z__namespace.union([
1240
1247
  published_at: z__namespace.string()
1241
1248
  }).nullable(),
1242
1249
  error: z__namespace.object({
1243
- code: z__namespace.string(),
1250
+ code: z__namespace.enum([
1251
+ "unauthorized",
1252
+ "forbidden",
1253
+ "not_found",
1254
+ "conflict",
1255
+ "validation_failed",
1256
+ "rate_limited",
1257
+ "internal_error",
1258
+ "idempotency_key_invalid",
1259
+ "idempotency_key_reused",
1260
+ "idempotency_request_in_progress",
1261
+ "account_not_available",
1262
+ "connection_reauth_required",
1263
+ "connection_not_pending",
1264
+ "not_implemented",
1265
+ "connection_discovery_failed",
1266
+ "tiktok_creator_info_unavailable",
1267
+ "tiktok_cannot_post_now",
1268
+ "media_processing",
1269
+ "media_upload_init_failed",
1270
+ "media_upload_incomplete",
1271
+ "not_publishable",
1272
+ "invalid_connection",
1273
+ "invalid_media",
1274
+ "profile_scope_invalid",
1275
+ "media_unprobeable",
1276
+ "media_too_large",
1277
+ "media_aspect_ratio_unsupported",
1278
+ "media_resolution_too_low",
1279
+ "media_gif_unsupported",
1280
+ "media_format_recompressed",
1281
+ "media_resolution_downscaled",
1282
+ "video_container_unsupported",
1283
+ "video_codec_unsupported",
1284
+ "video_audio_codec_unsupported",
1285
+ "video_too_large",
1286
+ "video_too_small",
1287
+ "video_dimensions_unsupported",
1288
+ "video_dimensions_too_large",
1289
+ "video_fps_unsupported",
1290
+ "video_fps_too_low",
1291
+ "video_aspect_unsupported",
1292
+ "video_duration_too_short",
1293
+ "video_duration_exceeds_max",
1294
+ "video_transform_failed",
1295
+ "media_fetch_failed",
1296
+ "document_format_unsupported",
1297
+ "document_too_large",
1298
+ "document_too_many_pages",
1299
+ "media_format_indeterminate",
1300
+ "media_format_unsupported",
1301
+ "media_count_invalid",
1302
+ "body_too_long",
1303
+ "content_missing",
1304
+ "content_conflict",
1305
+ "content_incomplete",
1306
+ "content_kind_mismatch",
1307
+ "media_type_mismatch",
1308
+ "tag_limit_exceeded",
1309
+ "reel_field_on_non_reel",
1310
+ "field_placement_invalid",
1311
+ "media_not_ready",
1312
+ "media_failed",
1313
+ "media_unsupported",
1314
+ "media_kind_mismatch",
1315
+ "variant_unparseable",
1316
+ "publishing_unavailable",
1317
+ "x_duplicate_content",
1318
+ "x_not_authorized",
1319
+ "x_access_not_permitted",
1320
+ "x_rate_limited",
1321
+ "x_publish_failed",
1322
+ "x_media_upload_failed",
1323
+ "linkedin_duplicate_content",
1324
+ "linkedin_auth_expired",
1325
+ "linkedin_permission_denied",
1326
+ "linkedin_rate_limited",
1327
+ "linkedin_media_processing",
1328
+ "linkedin_media_failed",
1329
+ "linkedin_media_upload_failed",
1330
+ "linkedin_publish_failed",
1331
+ "instagram_media_processing",
1332
+ "instagram_container_expired",
1333
+ "instagram_container_failed",
1334
+ "instagram_rate_limited",
1335
+ "instagram_daily_limit_reached",
1336
+ "instagram_aspect_ratio_unsupported",
1337
+ "instagram_media_unsupported",
1338
+ "instagram_not_authorized",
1339
+ "instagram_publish_failed",
1340
+ "facebook_reel_processing",
1341
+ "facebook_reel_failed",
1342
+ "facebook_rate_limited",
1343
+ "facebook_duplicate_content",
1344
+ "facebook_temporarily_blocked",
1345
+ "facebook_not_authorized",
1346
+ "facebook_publish_failed",
1347
+ "tiktok_privacy_not_allowed",
1348
+ "tiktok_duration_exceeds_max",
1349
+ "tiktok_media_processing",
1350
+ "tiktok_not_authorized",
1351
+ "tiktok_rate_limited",
1352
+ "tiktok_url_ownership_unverified",
1353
+ "tiktok_unaudited_private_only",
1354
+ "tiktok_spam_risk",
1355
+ "tiktok_file_format_invalid",
1356
+ "tiktok_duration_invalid",
1357
+ "tiktok_frame_rate_invalid",
1358
+ "tiktok_resolution_invalid",
1359
+ "tiktok_media_pull_failed",
1360
+ "tiktok_server_error",
1361
+ "tiktok_publish_failed",
1362
+ "google_rate_limited",
1363
+ "google_server_error",
1364
+ "google_auth_expired",
1365
+ "google_permission_denied",
1366
+ "google_request_failed",
1367
+ "google_conversion_duplicate",
1368
+ "google_conversion_invalid_click_id",
1369
+ "google_conversion_event_too_old",
1370
+ "google_conversion_consent_required",
1371
+ "google_conversion_terms_not_signed",
1372
+ "google_conversion_rejected",
1373
+ "post_publish_failed",
1374
+ "post_partially_published",
1375
+ "connection_platform_mismatch",
1376
+ "connection_removed"
1377
+ ]),
1244
1378
  message: z__namespace.string(),
1245
1379
  display_error: z__namespace.string()
1246
1380
  }).nullable(),
1247
1381
  media: z__namespace.array(z__namespace.object({
1248
1382
  media_id: z__namespace.string(),
1249
1383
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1250
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
1251
1384
  alt_text_override: z__namespace.string().nullable(),
1252
1385
  media: zMedia
1253
1386
  }))
@@ -1309,14 +1442,140 @@ var zPostVariant = z__namespace.union([
1309
1442
  published_at: z__namespace.string()
1310
1443
  }).nullable(),
1311
1444
  error: z__namespace.object({
1312
- code: z__namespace.string(),
1445
+ code: z__namespace.enum([
1446
+ "unauthorized",
1447
+ "forbidden",
1448
+ "not_found",
1449
+ "conflict",
1450
+ "validation_failed",
1451
+ "rate_limited",
1452
+ "internal_error",
1453
+ "idempotency_key_invalid",
1454
+ "idempotency_key_reused",
1455
+ "idempotency_request_in_progress",
1456
+ "account_not_available",
1457
+ "connection_reauth_required",
1458
+ "connection_not_pending",
1459
+ "not_implemented",
1460
+ "connection_discovery_failed",
1461
+ "tiktok_creator_info_unavailable",
1462
+ "tiktok_cannot_post_now",
1463
+ "media_processing",
1464
+ "media_upload_init_failed",
1465
+ "media_upload_incomplete",
1466
+ "not_publishable",
1467
+ "invalid_connection",
1468
+ "invalid_media",
1469
+ "profile_scope_invalid",
1470
+ "media_unprobeable",
1471
+ "media_too_large",
1472
+ "media_aspect_ratio_unsupported",
1473
+ "media_resolution_too_low",
1474
+ "media_gif_unsupported",
1475
+ "media_format_recompressed",
1476
+ "media_resolution_downscaled",
1477
+ "video_container_unsupported",
1478
+ "video_codec_unsupported",
1479
+ "video_audio_codec_unsupported",
1480
+ "video_too_large",
1481
+ "video_too_small",
1482
+ "video_dimensions_unsupported",
1483
+ "video_dimensions_too_large",
1484
+ "video_fps_unsupported",
1485
+ "video_fps_too_low",
1486
+ "video_aspect_unsupported",
1487
+ "video_duration_too_short",
1488
+ "video_duration_exceeds_max",
1489
+ "video_transform_failed",
1490
+ "media_fetch_failed",
1491
+ "document_format_unsupported",
1492
+ "document_too_large",
1493
+ "document_too_many_pages",
1494
+ "media_format_indeterminate",
1495
+ "media_format_unsupported",
1496
+ "media_count_invalid",
1497
+ "body_too_long",
1498
+ "content_missing",
1499
+ "content_conflict",
1500
+ "content_incomplete",
1501
+ "content_kind_mismatch",
1502
+ "media_type_mismatch",
1503
+ "tag_limit_exceeded",
1504
+ "reel_field_on_non_reel",
1505
+ "field_placement_invalid",
1506
+ "media_not_ready",
1507
+ "media_failed",
1508
+ "media_unsupported",
1509
+ "media_kind_mismatch",
1510
+ "variant_unparseable",
1511
+ "publishing_unavailable",
1512
+ "x_duplicate_content",
1513
+ "x_not_authorized",
1514
+ "x_access_not_permitted",
1515
+ "x_rate_limited",
1516
+ "x_publish_failed",
1517
+ "x_media_upload_failed",
1518
+ "linkedin_duplicate_content",
1519
+ "linkedin_auth_expired",
1520
+ "linkedin_permission_denied",
1521
+ "linkedin_rate_limited",
1522
+ "linkedin_media_processing",
1523
+ "linkedin_media_failed",
1524
+ "linkedin_media_upload_failed",
1525
+ "linkedin_publish_failed",
1526
+ "instagram_media_processing",
1527
+ "instagram_container_expired",
1528
+ "instagram_container_failed",
1529
+ "instagram_rate_limited",
1530
+ "instagram_daily_limit_reached",
1531
+ "instagram_aspect_ratio_unsupported",
1532
+ "instagram_media_unsupported",
1533
+ "instagram_not_authorized",
1534
+ "instagram_publish_failed",
1535
+ "facebook_reel_processing",
1536
+ "facebook_reel_failed",
1537
+ "facebook_rate_limited",
1538
+ "facebook_duplicate_content",
1539
+ "facebook_temporarily_blocked",
1540
+ "facebook_not_authorized",
1541
+ "facebook_publish_failed",
1542
+ "tiktok_privacy_not_allowed",
1543
+ "tiktok_duration_exceeds_max",
1544
+ "tiktok_media_processing",
1545
+ "tiktok_not_authorized",
1546
+ "tiktok_rate_limited",
1547
+ "tiktok_url_ownership_unverified",
1548
+ "tiktok_unaudited_private_only",
1549
+ "tiktok_spam_risk",
1550
+ "tiktok_file_format_invalid",
1551
+ "tiktok_duration_invalid",
1552
+ "tiktok_frame_rate_invalid",
1553
+ "tiktok_resolution_invalid",
1554
+ "tiktok_media_pull_failed",
1555
+ "tiktok_server_error",
1556
+ "tiktok_publish_failed",
1557
+ "google_rate_limited",
1558
+ "google_server_error",
1559
+ "google_auth_expired",
1560
+ "google_permission_denied",
1561
+ "google_request_failed",
1562
+ "google_conversion_duplicate",
1563
+ "google_conversion_invalid_click_id",
1564
+ "google_conversion_event_too_old",
1565
+ "google_conversion_consent_required",
1566
+ "google_conversion_terms_not_signed",
1567
+ "google_conversion_rejected",
1568
+ "post_publish_failed",
1569
+ "post_partially_published",
1570
+ "connection_platform_mismatch",
1571
+ "connection_removed"
1572
+ ]),
1313
1573
  message: z__namespace.string(),
1314
1574
  display_error: z__namespace.string()
1315
1575
  }).nullable(),
1316
1576
  media: z__namespace.array(z__namespace.object({
1317
1577
  media_id: z__namespace.string(),
1318
1578
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1319
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
1320
1579
  alt_text_override: z__namespace.string().nullable(),
1321
1580
  media: zMedia
1322
1581
  }))
@@ -1344,14 +1603,140 @@ var zPostVariant = z__namespace.union([
1344
1603
  published_at: z__namespace.string()
1345
1604
  }).nullable(),
1346
1605
  error: z__namespace.object({
1347
- code: z__namespace.string(),
1606
+ code: z__namespace.enum([
1607
+ "unauthorized",
1608
+ "forbidden",
1609
+ "not_found",
1610
+ "conflict",
1611
+ "validation_failed",
1612
+ "rate_limited",
1613
+ "internal_error",
1614
+ "idempotency_key_invalid",
1615
+ "idempotency_key_reused",
1616
+ "idempotency_request_in_progress",
1617
+ "account_not_available",
1618
+ "connection_reauth_required",
1619
+ "connection_not_pending",
1620
+ "not_implemented",
1621
+ "connection_discovery_failed",
1622
+ "tiktok_creator_info_unavailable",
1623
+ "tiktok_cannot_post_now",
1624
+ "media_processing",
1625
+ "media_upload_init_failed",
1626
+ "media_upload_incomplete",
1627
+ "not_publishable",
1628
+ "invalid_connection",
1629
+ "invalid_media",
1630
+ "profile_scope_invalid",
1631
+ "media_unprobeable",
1632
+ "media_too_large",
1633
+ "media_aspect_ratio_unsupported",
1634
+ "media_resolution_too_low",
1635
+ "media_gif_unsupported",
1636
+ "media_format_recompressed",
1637
+ "media_resolution_downscaled",
1638
+ "video_container_unsupported",
1639
+ "video_codec_unsupported",
1640
+ "video_audio_codec_unsupported",
1641
+ "video_too_large",
1642
+ "video_too_small",
1643
+ "video_dimensions_unsupported",
1644
+ "video_dimensions_too_large",
1645
+ "video_fps_unsupported",
1646
+ "video_fps_too_low",
1647
+ "video_aspect_unsupported",
1648
+ "video_duration_too_short",
1649
+ "video_duration_exceeds_max",
1650
+ "video_transform_failed",
1651
+ "media_fetch_failed",
1652
+ "document_format_unsupported",
1653
+ "document_too_large",
1654
+ "document_too_many_pages",
1655
+ "media_format_indeterminate",
1656
+ "media_format_unsupported",
1657
+ "media_count_invalid",
1658
+ "body_too_long",
1659
+ "content_missing",
1660
+ "content_conflict",
1661
+ "content_incomplete",
1662
+ "content_kind_mismatch",
1663
+ "media_type_mismatch",
1664
+ "tag_limit_exceeded",
1665
+ "reel_field_on_non_reel",
1666
+ "field_placement_invalid",
1667
+ "media_not_ready",
1668
+ "media_failed",
1669
+ "media_unsupported",
1670
+ "media_kind_mismatch",
1671
+ "variant_unparseable",
1672
+ "publishing_unavailable",
1673
+ "x_duplicate_content",
1674
+ "x_not_authorized",
1675
+ "x_access_not_permitted",
1676
+ "x_rate_limited",
1677
+ "x_publish_failed",
1678
+ "x_media_upload_failed",
1679
+ "linkedin_duplicate_content",
1680
+ "linkedin_auth_expired",
1681
+ "linkedin_permission_denied",
1682
+ "linkedin_rate_limited",
1683
+ "linkedin_media_processing",
1684
+ "linkedin_media_failed",
1685
+ "linkedin_media_upload_failed",
1686
+ "linkedin_publish_failed",
1687
+ "instagram_media_processing",
1688
+ "instagram_container_expired",
1689
+ "instagram_container_failed",
1690
+ "instagram_rate_limited",
1691
+ "instagram_daily_limit_reached",
1692
+ "instagram_aspect_ratio_unsupported",
1693
+ "instagram_media_unsupported",
1694
+ "instagram_not_authorized",
1695
+ "instagram_publish_failed",
1696
+ "facebook_reel_processing",
1697
+ "facebook_reel_failed",
1698
+ "facebook_rate_limited",
1699
+ "facebook_duplicate_content",
1700
+ "facebook_temporarily_blocked",
1701
+ "facebook_not_authorized",
1702
+ "facebook_publish_failed",
1703
+ "tiktok_privacy_not_allowed",
1704
+ "tiktok_duration_exceeds_max",
1705
+ "tiktok_media_processing",
1706
+ "tiktok_not_authorized",
1707
+ "tiktok_rate_limited",
1708
+ "tiktok_url_ownership_unverified",
1709
+ "tiktok_unaudited_private_only",
1710
+ "tiktok_spam_risk",
1711
+ "tiktok_file_format_invalid",
1712
+ "tiktok_duration_invalid",
1713
+ "tiktok_frame_rate_invalid",
1714
+ "tiktok_resolution_invalid",
1715
+ "tiktok_media_pull_failed",
1716
+ "tiktok_server_error",
1717
+ "tiktok_publish_failed",
1718
+ "google_rate_limited",
1719
+ "google_server_error",
1720
+ "google_auth_expired",
1721
+ "google_permission_denied",
1722
+ "google_request_failed",
1723
+ "google_conversion_duplicate",
1724
+ "google_conversion_invalid_click_id",
1725
+ "google_conversion_event_too_old",
1726
+ "google_conversion_consent_required",
1727
+ "google_conversion_terms_not_signed",
1728
+ "google_conversion_rejected",
1729
+ "post_publish_failed",
1730
+ "post_partially_published",
1731
+ "connection_platform_mismatch",
1732
+ "connection_removed"
1733
+ ]),
1348
1734
  message: z__namespace.string(),
1349
1735
  display_error: z__namespace.string()
1350
1736
  }).nullable(),
1351
1737
  media: z__namespace.array(z__namespace.object({
1352
1738
  media_id: z__namespace.string(),
1353
1739
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1354
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
1355
1740
  alt_text_override: z__namespace.string().nullable(),
1356
1741
  media: zMedia
1357
1742
  }))
@@ -1393,14 +1778,140 @@ var zPostVariant = z__namespace.union([
1393
1778
  published_at: z__namespace.string()
1394
1779
  }).nullable(),
1395
1780
  error: z__namespace.object({
1396
- code: z__namespace.string(),
1781
+ code: z__namespace.enum([
1782
+ "unauthorized",
1783
+ "forbidden",
1784
+ "not_found",
1785
+ "conflict",
1786
+ "validation_failed",
1787
+ "rate_limited",
1788
+ "internal_error",
1789
+ "idempotency_key_invalid",
1790
+ "idempotency_key_reused",
1791
+ "idempotency_request_in_progress",
1792
+ "account_not_available",
1793
+ "connection_reauth_required",
1794
+ "connection_not_pending",
1795
+ "not_implemented",
1796
+ "connection_discovery_failed",
1797
+ "tiktok_creator_info_unavailable",
1798
+ "tiktok_cannot_post_now",
1799
+ "media_processing",
1800
+ "media_upload_init_failed",
1801
+ "media_upload_incomplete",
1802
+ "not_publishable",
1803
+ "invalid_connection",
1804
+ "invalid_media",
1805
+ "profile_scope_invalid",
1806
+ "media_unprobeable",
1807
+ "media_too_large",
1808
+ "media_aspect_ratio_unsupported",
1809
+ "media_resolution_too_low",
1810
+ "media_gif_unsupported",
1811
+ "media_format_recompressed",
1812
+ "media_resolution_downscaled",
1813
+ "video_container_unsupported",
1814
+ "video_codec_unsupported",
1815
+ "video_audio_codec_unsupported",
1816
+ "video_too_large",
1817
+ "video_too_small",
1818
+ "video_dimensions_unsupported",
1819
+ "video_dimensions_too_large",
1820
+ "video_fps_unsupported",
1821
+ "video_fps_too_low",
1822
+ "video_aspect_unsupported",
1823
+ "video_duration_too_short",
1824
+ "video_duration_exceeds_max",
1825
+ "video_transform_failed",
1826
+ "media_fetch_failed",
1827
+ "document_format_unsupported",
1828
+ "document_too_large",
1829
+ "document_too_many_pages",
1830
+ "media_format_indeterminate",
1831
+ "media_format_unsupported",
1832
+ "media_count_invalid",
1833
+ "body_too_long",
1834
+ "content_missing",
1835
+ "content_conflict",
1836
+ "content_incomplete",
1837
+ "content_kind_mismatch",
1838
+ "media_type_mismatch",
1839
+ "tag_limit_exceeded",
1840
+ "reel_field_on_non_reel",
1841
+ "field_placement_invalid",
1842
+ "media_not_ready",
1843
+ "media_failed",
1844
+ "media_unsupported",
1845
+ "media_kind_mismatch",
1846
+ "variant_unparseable",
1847
+ "publishing_unavailable",
1848
+ "x_duplicate_content",
1849
+ "x_not_authorized",
1850
+ "x_access_not_permitted",
1851
+ "x_rate_limited",
1852
+ "x_publish_failed",
1853
+ "x_media_upload_failed",
1854
+ "linkedin_duplicate_content",
1855
+ "linkedin_auth_expired",
1856
+ "linkedin_permission_denied",
1857
+ "linkedin_rate_limited",
1858
+ "linkedin_media_processing",
1859
+ "linkedin_media_failed",
1860
+ "linkedin_media_upload_failed",
1861
+ "linkedin_publish_failed",
1862
+ "instagram_media_processing",
1863
+ "instagram_container_expired",
1864
+ "instagram_container_failed",
1865
+ "instagram_rate_limited",
1866
+ "instagram_daily_limit_reached",
1867
+ "instagram_aspect_ratio_unsupported",
1868
+ "instagram_media_unsupported",
1869
+ "instagram_not_authorized",
1870
+ "instagram_publish_failed",
1871
+ "facebook_reel_processing",
1872
+ "facebook_reel_failed",
1873
+ "facebook_rate_limited",
1874
+ "facebook_duplicate_content",
1875
+ "facebook_temporarily_blocked",
1876
+ "facebook_not_authorized",
1877
+ "facebook_publish_failed",
1878
+ "tiktok_privacy_not_allowed",
1879
+ "tiktok_duration_exceeds_max",
1880
+ "tiktok_media_processing",
1881
+ "tiktok_not_authorized",
1882
+ "tiktok_rate_limited",
1883
+ "tiktok_url_ownership_unverified",
1884
+ "tiktok_unaudited_private_only",
1885
+ "tiktok_spam_risk",
1886
+ "tiktok_file_format_invalid",
1887
+ "tiktok_duration_invalid",
1888
+ "tiktok_frame_rate_invalid",
1889
+ "tiktok_resolution_invalid",
1890
+ "tiktok_media_pull_failed",
1891
+ "tiktok_server_error",
1892
+ "tiktok_publish_failed",
1893
+ "google_rate_limited",
1894
+ "google_server_error",
1895
+ "google_auth_expired",
1896
+ "google_permission_denied",
1897
+ "google_request_failed",
1898
+ "google_conversion_duplicate",
1899
+ "google_conversion_invalid_click_id",
1900
+ "google_conversion_event_too_old",
1901
+ "google_conversion_consent_required",
1902
+ "google_conversion_terms_not_signed",
1903
+ "google_conversion_rejected",
1904
+ "post_publish_failed",
1905
+ "post_partially_published",
1906
+ "connection_platform_mismatch",
1907
+ "connection_removed"
1908
+ ]),
1397
1909
  message: z__namespace.string(),
1398
1910
  display_error: z__namespace.string()
1399
1911
  }).nullable(),
1400
1912
  media: z__namespace.array(z__namespace.object({
1401
1913
  media_id: z__namespace.string(),
1402
1914
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1403
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
1404
1915
  alt_text_override: z__namespace.string().nullable(),
1405
1916
  media: zMedia
1406
1917
  }))
@@ -1436,14 +1947,140 @@ var zPostVariant = z__namespace.union([
1436
1947
  published_at: z__namespace.string()
1437
1948
  }).nullable(),
1438
1949
  error: z__namespace.object({
1439
- code: z__namespace.string(),
1950
+ code: z__namespace.enum([
1951
+ "unauthorized",
1952
+ "forbidden",
1953
+ "not_found",
1954
+ "conflict",
1955
+ "validation_failed",
1956
+ "rate_limited",
1957
+ "internal_error",
1958
+ "idempotency_key_invalid",
1959
+ "idempotency_key_reused",
1960
+ "idempotency_request_in_progress",
1961
+ "account_not_available",
1962
+ "connection_reauth_required",
1963
+ "connection_not_pending",
1964
+ "not_implemented",
1965
+ "connection_discovery_failed",
1966
+ "tiktok_creator_info_unavailable",
1967
+ "tiktok_cannot_post_now",
1968
+ "media_processing",
1969
+ "media_upload_init_failed",
1970
+ "media_upload_incomplete",
1971
+ "not_publishable",
1972
+ "invalid_connection",
1973
+ "invalid_media",
1974
+ "profile_scope_invalid",
1975
+ "media_unprobeable",
1976
+ "media_too_large",
1977
+ "media_aspect_ratio_unsupported",
1978
+ "media_resolution_too_low",
1979
+ "media_gif_unsupported",
1980
+ "media_format_recompressed",
1981
+ "media_resolution_downscaled",
1982
+ "video_container_unsupported",
1983
+ "video_codec_unsupported",
1984
+ "video_audio_codec_unsupported",
1985
+ "video_too_large",
1986
+ "video_too_small",
1987
+ "video_dimensions_unsupported",
1988
+ "video_dimensions_too_large",
1989
+ "video_fps_unsupported",
1990
+ "video_fps_too_low",
1991
+ "video_aspect_unsupported",
1992
+ "video_duration_too_short",
1993
+ "video_duration_exceeds_max",
1994
+ "video_transform_failed",
1995
+ "media_fetch_failed",
1996
+ "document_format_unsupported",
1997
+ "document_too_large",
1998
+ "document_too_many_pages",
1999
+ "media_format_indeterminate",
2000
+ "media_format_unsupported",
2001
+ "media_count_invalid",
2002
+ "body_too_long",
2003
+ "content_missing",
2004
+ "content_conflict",
2005
+ "content_incomplete",
2006
+ "content_kind_mismatch",
2007
+ "media_type_mismatch",
2008
+ "tag_limit_exceeded",
2009
+ "reel_field_on_non_reel",
2010
+ "field_placement_invalid",
2011
+ "media_not_ready",
2012
+ "media_failed",
2013
+ "media_unsupported",
2014
+ "media_kind_mismatch",
2015
+ "variant_unparseable",
2016
+ "publishing_unavailable",
2017
+ "x_duplicate_content",
2018
+ "x_not_authorized",
2019
+ "x_access_not_permitted",
2020
+ "x_rate_limited",
2021
+ "x_publish_failed",
2022
+ "x_media_upload_failed",
2023
+ "linkedin_duplicate_content",
2024
+ "linkedin_auth_expired",
2025
+ "linkedin_permission_denied",
2026
+ "linkedin_rate_limited",
2027
+ "linkedin_media_processing",
2028
+ "linkedin_media_failed",
2029
+ "linkedin_media_upload_failed",
2030
+ "linkedin_publish_failed",
2031
+ "instagram_media_processing",
2032
+ "instagram_container_expired",
2033
+ "instagram_container_failed",
2034
+ "instagram_rate_limited",
2035
+ "instagram_daily_limit_reached",
2036
+ "instagram_aspect_ratio_unsupported",
2037
+ "instagram_media_unsupported",
2038
+ "instagram_not_authorized",
2039
+ "instagram_publish_failed",
2040
+ "facebook_reel_processing",
2041
+ "facebook_reel_failed",
2042
+ "facebook_rate_limited",
2043
+ "facebook_duplicate_content",
2044
+ "facebook_temporarily_blocked",
2045
+ "facebook_not_authorized",
2046
+ "facebook_publish_failed",
2047
+ "tiktok_privacy_not_allowed",
2048
+ "tiktok_duration_exceeds_max",
2049
+ "tiktok_media_processing",
2050
+ "tiktok_not_authorized",
2051
+ "tiktok_rate_limited",
2052
+ "tiktok_url_ownership_unverified",
2053
+ "tiktok_unaudited_private_only",
2054
+ "tiktok_spam_risk",
2055
+ "tiktok_file_format_invalid",
2056
+ "tiktok_duration_invalid",
2057
+ "tiktok_frame_rate_invalid",
2058
+ "tiktok_resolution_invalid",
2059
+ "tiktok_media_pull_failed",
2060
+ "tiktok_server_error",
2061
+ "tiktok_publish_failed",
2062
+ "google_rate_limited",
2063
+ "google_server_error",
2064
+ "google_auth_expired",
2065
+ "google_permission_denied",
2066
+ "google_request_failed",
2067
+ "google_conversion_duplicate",
2068
+ "google_conversion_invalid_click_id",
2069
+ "google_conversion_event_too_old",
2070
+ "google_conversion_consent_required",
2071
+ "google_conversion_terms_not_signed",
2072
+ "google_conversion_rejected",
2073
+ "post_publish_failed",
2074
+ "post_partially_published",
2075
+ "connection_platform_mismatch",
2076
+ "connection_removed"
2077
+ ]),
1440
2078
  message: z__namespace.string(),
1441
2079
  display_error: z__namespace.string()
1442
2080
  }).nullable(),
1443
2081
  media: z__namespace.array(z__namespace.object({
1444
2082
  media_id: z__namespace.string(),
1445
2083
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1446
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
1447
2084
  alt_text_override: z__namespace.string().nullable(),
1448
2085
  media: zMedia
1449
2086
  }))
@@ -1533,7 +2170,6 @@ var zPostVariantInput = z__namespace.union([
1533
2170
  body: z__namespace.string().optional(),
1534
2171
  media: z__namespace.array(z__namespace.object({
1535
2172
  media_id: z__namespace.string(),
1536
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
1537
2173
  alt_text_override: z__namespace.string().nullish()
1538
2174
  })).optional().default([])
1539
2175
  }),
@@ -1586,7 +2222,6 @@ var zPostVariantInput = z__namespace.union([
1586
2222
  body: z__namespace.string().optional(),
1587
2223
  media: z__namespace.array(z__namespace.object({
1588
2224
  media_id: z__namespace.string(),
1589
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
1590
2225
  alt_text_override: z__namespace.string().nullish()
1591
2226
  })).optional().default([])
1592
2227
  }),
@@ -1619,7 +2254,6 @@ var zPostVariantInput = z__namespace.union([
1619
2254
  body: z__namespace.string().optional(),
1620
2255
  media: z__namespace.array(z__namespace.object({
1621
2256
  media_id: z__namespace.string(),
1622
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
1623
2257
  alt_text_override: z__namespace.string().nullish()
1624
2258
  })).optional().default([])
1625
2259
  }),
@@ -1638,7 +2272,6 @@ var zPostVariantInput = z__namespace.union([
1638
2272
  body: z__namespace.string().optional(),
1639
2273
  media: z__namespace.array(z__namespace.object({
1640
2274
  media_id: z__namespace.string(),
1641
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
1642
2275
  alt_text_override: z__namespace.string().nullish()
1643
2276
  })).optional().default([])
1644
2277
  }),
@@ -1665,7 +2298,6 @@ var zPostVariantInput = z__namespace.union([
1665
2298
  body: z__namespace.string().optional(),
1666
2299
  media: z__namespace.array(z__namespace.object({
1667
2300
  media_id: z__namespace.string(),
1668
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
1669
2301
  alt_text_override: z__namespace.string().nullish()
1670
2302
  })).optional().default([])
1671
2303
  })
@@ -1925,7 +2557,9 @@ var zGoogleAdsCampaignCriterion = z__namespace.union([
1925
2557
  "VIDEO_LINEUP",
1926
2558
  "PLACEMENT_LIST",
1927
2559
  "VERTICAL_ADS_ITEM_GROUP_RULE_LIST",
1928
- "VERTICAL_ADS_ITEM_GROUP_RULE"
2560
+ "VERTICAL_ADS_ITEM_GROUP_RULE",
2561
+ "RETAIL_FILTER_BUNDLE",
2562
+ "RETAIL_FILTER"
1929
2563
  ]),
1930
2564
  criterion_id: z__namespace.string()
1931
2565
  })
@@ -2095,7 +2729,9 @@ var zGoogleAdsAdGroupCriterion = z__namespace.union([
2095
2729
  "VIDEO_LINEUP",
2096
2730
  "PLACEMENT_LIST",
2097
2731
  "VERTICAL_ADS_ITEM_GROUP_RULE_LIST",
2098
- "VERTICAL_ADS_ITEM_GROUP_RULE"
2732
+ "VERTICAL_ADS_ITEM_GROUP_RULE",
2733
+ "RETAIL_FILTER_BUNDLE",
2734
+ "RETAIL_FILTER"
2099
2735
  ]),
2100
2736
  criterion_id: z__namespace.string()
2101
2737
  })
@@ -2114,6 +2750,10 @@ var zGoogleAdsGeoTargetConstant = z__namespace.object({
2114
2750
  "REMOVAL_PLANNED"
2115
2751
  ])
2116
2752
  });
2753
+ var zGoogleAdsUrlCustomParameter = z__namespace.object({
2754
+ key: z__namespace.string().min(1).regex(/^[A-Za-z0-9]+$/),
2755
+ value: z__namespace.string()
2756
+ });
2117
2757
  z__namespace.object({
2118
2758
  id: z__namespace.string().nullable(),
2119
2759
  resource_name: z__namespace.string().nullable(),
@@ -2321,6 +2961,189 @@ z__namespace.object({
2321
2961
  object: z__namespace.literal("list"),
2322
2962
  data: z__namespace.array(zGoogleAdTreeNode)
2323
2963
  });
2964
+ var zGoogleAdsConversionConsent = z__namespace.object({
2965
+ ad_user_data: z__namespace.enum(["CONSENT_GRANTED", "CONSENT_DENIED"]).optional(),
2966
+ ad_personalization: z__namespace.enum(["CONSENT_GRANTED", "CONSENT_DENIED"]).optional()
2967
+ });
2968
+ var zGoogleAdsConversionUserIdentifier = z__namespace.object({
2969
+ email_address: z__namespace.string().min(1).optional(),
2970
+ phone_number: z__namespace.string().min(1).optional(),
2971
+ address: z__namespace.object({
2972
+ given_name: z__namespace.string().min(1).optional(),
2973
+ family_name: z__namespace.string().min(1).optional(),
2974
+ region_code: z__namespace.string().min(1).optional(),
2975
+ postal_code: z__namespace.string().min(1).optional()
2976
+ }).optional()
2977
+ });
2978
+ var zGoogleAdsConversionEvent = z__namespace.object({
2979
+ event_timestamp: z__namespace.iso.datetime(),
2980
+ order_id: z__namespace.string().optional(),
2981
+ gclid: z__namespace.string().optional(),
2982
+ gbraid: z__namespace.string().optional(),
2983
+ wbraid: z__namespace.string().optional(),
2984
+ user_data: z__namespace.array(zGoogleAdsConversionUserIdentifier).min(1).max(10).optional(),
2985
+ currency: z__namespace.string().length(3).optional(),
2986
+ conversion_value: z__namespace.number().gte(0).optional(),
2987
+ consent: zGoogleAdsConversionConsent.optional()
2988
+ });
2989
+ z__namespace.object({
2990
+ request_id: z__namespace.string().nullable(),
2991
+ status: z__namespace.enum(["accepted", "validated"]),
2992
+ dry_run: z__namespace.boolean(),
2993
+ executed: z__namespace.boolean()
2994
+ });
2995
+ var zGoogleAdsConversionStatusReason = z__namespace.object({
2996
+ reason: z__namespace.string(),
2997
+ count: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
2998
+ code: z__namespace.enum([
2999
+ "unauthorized",
3000
+ "forbidden",
3001
+ "not_found",
3002
+ "conflict",
3003
+ "validation_failed",
3004
+ "rate_limited",
3005
+ "internal_error",
3006
+ "idempotency_key_invalid",
3007
+ "idempotency_key_reused",
3008
+ "idempotency_request_in_progress",
3009
+ "account_not_available",
3010
+ "connection_reauth_required",
3011
+ "connection_not_pending",
3012
+ "not_implemented",
3013
+ "connection_discovery_failed",
3014
+ "tiktok_creator_info_unavailable",
3015
+ "tiktok_cannot_post_now",
3016
+ "media_processing",
3017
+ "media_upload_init_failed",
3018
+ "media_upload_incomplete",
3019
+ "not_publishable",
3020
+ "invalid_connection",
3021
+ "invalid_media",
3022
+ "profile_scope_invalid",
3023
+ "media_unprobeable",
3024
+ "media_too_large",
3025
+ "media_aspect_ratio_unsupported",
3026
+ "media_resolution_too_low",
3027
+ "media_gif_unsupported",
3028
+ "media_format_recompressed",
3029
+ "media_resolution_downscaled",
3030
+ "video_container_unsupported",
3031
+ "video_codec_unsupported",
3032
+ "video_audio_codec_unsupported",
3033
+ "video_too_large",
3034
+ "video_too_small",
3035
+ "video_dimensions_unsupported",
3036
+ "video_dimensions_too_large",
3037
+ "video_fps_unsupported",
3038
+ "video_fps_too_low",
3039
+ "video_aspect_unsupported",
3040
+ "video_duration_too_short",
3041
+ "video_duration_exceeds_max",
3042
+ "video_transform_failed",
3043
+ "media_fetch_failed",
3044
+ "document_format_unsupported",
3045
+ "document_too_large",
3046
+ "document_too_many_pages",
3047
+ "media_format_indeterminate",
3048
+ "media_format_unsupported",
3049
+ "media_count_invalid",
3050
+ "body_too_long",
3051
+ "content_missing",
3052
+ "content_conflict",
3053
+ "content_incomplete",
3054
+ "content_kind_mismatch",
3055
+ "media_type_mismatch",
3056
+ "tag_limit_exceeded",
3057
+ "reel_field_on_non_reel",
3058
+ "field_placement_invalid",
3059
+ "media_not_ready",
3060
+ "media_failed",
3061
+ "media_unsupported",
3062
+ "media_kind_mismatch",
3063
+ "variant_unparseable",
3064
+ "publishing_unavailable",
3065
+ "x_duplicate_content",
3066
+ "x_not_authorized",
3067
+ "x_access_not_permitted",
3068
+ "x_rate_limited",
3069
+ "x_publish_failed",
3070
+ "x_media_upload_failed",
3071
+ "linkedin_duplicate_content",
3072
+ "linkedin_auth_expired",
3073
+ "linkedin_permission_denied",
3074
+ "linkedin_rate_limited",
3075
+ "linkedin_media_processing",
3076
+ "linkedin_media_failed",
3077
+ "linkedin_media_upload_failed",
3078
+ "linkedin_publish_failed",
3079
+ "instagram_media_processing",
3080
+ "instagram_container_expired",
3081
+ "instagram_container_failed",
3082
+ "instagram_rate_limited",
3083
+ "instagram_daily_limit_reached",
3084
+ "instagram_aspect_ratio_unsupported",
3085
+ "instagram_media_unsupported",
3086
+ "instagram_not_authorized",
3087
+ "instagram_publish_failed",
3088
+ "facebook_reel_processing",
3089
+ "facebook_reel_failed",
3090
+ "facebook_rate_limited",
3091
+ "facebook_duplicate_content",
3092
+ "facebook_temporarily_blocked",
3093
+ "facebook_not_authorized",
3094
+ "facebook_publish_failed",
3095
+ "tiktok_privacy_not_allowed",
3096
+ "tiktok_duration_exceeds_max",
3097
+ "tiktok_media_processing",
3098
+ "tiktok_not_authorized",
3099
+ "tiktok_rate_limited",
3100
+ "tiktok_url_ownership_unverified",
3101
+ "tiktok_unaudited_private_only",
3102
+ "tiktok_spam_risk",
3103
+ "tiktok_file_format_invalid",
3104
+ "tiktok_duration_invalid",
3105
+ "tiktok_frame_rate_invalid",
3106
+ "tiktok_resolution_invalid",
3107
+ "tiktok_media_pull_failed",
3108
+ "tiktok_server_error",
3109
+ "tiktok_publish_failed",
3110
+ "google_rate_limited",
3111
+ "google_server_error",
3112
+ "google_auth_expired",
3113
+ "google_permission_denied",
3114
+ "google_request_failed",
3115
+ "google_conversion_duplicate",
3116
+ "google_conversion_invalid_click_id",
3117
+ "google_conversion_event_too_old",
3118
+ "google_conversion_consent_required",
3119
+ "google_conversion_terms_not_signed",
3120
+ "google_conversion_rejected",
3121
+ "post_publish_failed",
3122
+ "post_partially_published",
3123
+ "connection_platform_mismatch",
3124
+ "connection_removed"
3125
+ ]),
3126
+ display_error: z__namespace.string()
3127
+ });
3128
+ var zGoogleAdsConversionWarning = z__namespace.object({
3129
+ reason: z__namespace.string(),
3130
+ count: z__namespace.int().gte(-9007199254740991).lte(9007199254740991)
3131
+ });
3132
+ z__namespace.object({
3133
+ request_id: z__namespace.string(),
3134
+ destinations: z__namespace.array(z__namespace.object({
3135
+ request_status: z__namespace.enum([
3136
+ "REQUEST_STATUS_UNKNOWN",
3137
+ "SUCCESS",
3138
+ "PROCESSING",
3139
+ "FAILED",
3140
+ "PARTIAL_SUCCESS"
3141
+ ]),
3142
+ events_submitted: z__namespace.int().gte(-9007199254740991).lte(9007199254740991).nullable(),
3143
+ errors: z__namespace.array(zGoogleAdsConversionStatusReason),
3144
+ warnings: z__namespace.array(zGoogleAdsConversionWarning)
3145
+ }))
3146
+ });
2324
3147
  z__namespace.string().min(1).max(255);
2325
3148
  z__namespace.object({
2326
3149
  limit: z__namespace.int().gte(1).lte(100).optional().default(20),
@@ -2848,6 +3671,7 @@ z__namespace.object({
2848
3671
  "not_implemented",
2849
3672
  "connection_discovery_failed",
2850
3673
  "tiktok_creator_info_unavailable",
3674
+ "tiktok_cannot_post_now",
2851
3675
  "media_processing",
2852
3676
  "media_upload_init_failed",
2853
3677
  "media_upload_incomplete",
@@ -2947,6 +3771,12 @@ z__namespace.object({
2947
3771
  "google_auth_expired",
2948
3772
  "google_permission_denied",
2949
3773
  "google_request_failed",
3774
+ "google_conversion_duplicate",
3775
+ "google_conversion_invalid_click_id",
3776
+ "google_conversion_event_too_old",
3777
+ "google_conversion_consent_required",
3778
+ "google_conversion_terms_not_signed",
3779
+ "google_conversion_rejected",
2950
3780
  "post_publish_failed",
2951
3781
  "post_partially_published",
2952
3782
  "connection_platform_mismatch",
@@ -3188,7 +4018,20 @@ z__namespace.object({
3188
4018
  "CLOSED"
3189
4019
  ]),
3190
4020
  manager: z__namespace.boolean(),
3191
- test_account: z__namespace.boolean()
4021
+ test_account: z__namespace.boolean(),
4022
+ tracking_url_template: z__namespace.string().nullable(),
4023
+ final_url_suffix: z__namespace.string().nullable()
4024
+ });
4025
+ z__namespace.object({
4026
+ tracking_url_template: z__namespace.string().min(1).optional(),
4027
+ final_url_suffix: z__namespace.string().min(1).optional(),
4028
+ dry_run: z__namespace.boolean().optional().default(false)
4029
+ });
4030
+ z__namespace.object({
4031
+ "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
4032
+ });
4033
+ z__namespace.object({
4034
+ connection_id: z__namespace.string()
3192
4035
  });
3193
4036
  z__namespace.object({
3194
4037
  level: zGoogleAdsInsightLevel.optional().default("campaign"),
@@ -3321,7 +4164,10 @@ z__namespace.object({
3321
4164
  "TARGET_SPEND"
3322
4165
  ]),
3323
4166
  start_date_time: z__namespace.string().nullable(),
3324
- end_date_time: z__namespace.string().nullable()
4167
+ end_date_time: z__namespace.string().nullable(),
4168
+ tracking_url_template: z__namespace.string().nullable(),
4169
+ final_url_suffix: z__namespace.string().nullable(),
4170
+ url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).max(8).optional().default([])
3325
4171
  }))
3326
4172
  });
3327
4173
  z__namespace.object({
@@ -3399,10 +4245,16 @@ z__namespace.object({
3399
4245
  "TARGET_SPEND"
3400
4246
  ]),
3401
4247
  start_date_time: z__namespace.string().nullable(),
3402
- end_date_time: z__namespace.string().nullable()
4248
+ end_date_time: z__namespace.string().nullable(),
4249
+ tracking_url_template: z__namespace.string().nullable(),
4250
+ final_url_suffix: z__namespace.string().nullable(),
4251
+ url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).max(8).optional().default([])
3403
4252
  });
3404
4253
  z__namespace.object({
3405
- name: z__namespace.string().min(1).max(255),
4254
+ name: z__namespace.string().min(1).max(255).optional(),
4255
+ tracking_url_template: z__namespace.string().min(1).optional(),
4256
+ final_url_suffix: z__namespace.string().min(1).optional(),
4257
+ url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).min(1).max(8).optional(),
3406
4258
  dry_run: z__namespace.boolean().optional().default(false)
3407
4259
  });
3408
4260
  z__namespace.object({
@@ -3976,7 +4828,16 @@ z__namespace.object({
3976
4828
  "UNIVERSAL_ANALYTICS_GOAL",
3977
4829
  "UNIVERSAL_ANALYTICS_TRANSACTION",
3978
4830
  "GOOGLE_ANALYTICS_4_CUSTOM",
3979
- "GOOGLE_ANALYTICS_4_PURCHASE"
4831
+ "GOOGLE_ANALYTICS_4_PURCHASE",
4832
+ "GOOGLE_ANALYTICS_4_GENERATE_LEAD",
4833
+ "GOOGLE_ANALYTICS_4_QUALIFY_LEAD",
4834
+ "GOOGLE_ANALYTICS_4_CLOSE_CONVERT_LEAD",
4835
+ "FIREBASE_ANDROID_GENERATE_LEAD",
4836
+ "FIREBASE_ANDROID_QUALIFY_LEAD",
4837
+ "FIREBASE_ANDROID_CLOSE_CONVERT_LEAD",
4838
+ "FIREBASE_IOS_GENERATE_LEAD",
4839
+ "FIREBASE_IOS_QUALIFY_LEAD",
4840
+ "FIREBASE_IOS_CLOSE_CONVERT_LEAD"
3980
4841
  ]),
3981
4842
  category: z__namespace.enum([
3982
4843
  "UNSPECIFIED",
@@ -4001,7 +4862,8 @@ z__namespace.object({
4001
4862
  "STORE_VISIT",
4002
4863
  "STORE_SALE",
4003
4864
  "QUALIFIED_LEAD",
4004
- "CONVERTED_LEAD"
4865
+ "CONVERTED_LEAD",
4866
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4005
4867
  ]),
4006
4868
  origin: z__namespace.enum([
4007
4869
  "UNSPECIFIED",
@@ -4069,7 +4931,8 @@ z__namespace.object({
4069
4931
  "STORE_VISIT",
4070
4932
  "STORE_SALE",
4071
4933
  "QUALIFIED_LEAD",
4072
- "CONVERTED_LEAD"
4934
+ "CONVERTED_LEAD",
4935
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4073
4936
  ]),
4074
4937
  status: z__namespace.enum(["ENABLED"]).optional().default("ENABLED"),
4075
4938
  value_settings: z__namespace.object({
@@ -4144,7 +5007,16 @@ z__namespace.object({
4144
5007
  "UNIVERSAL_ANALYTICS_GOAL",
4145
5008
  "UNIVERSAL_ANALYTICS_TRANSACTION",
4146
5009
  "GOOGLE_ANALYTICS_4_CUSTOM",
4147
- "GOOGLE_ANALYTICS_4_PURCHASE"
5010
+ "GOOGLE_ANALYTICS_4_PURCHASE",
5011
+ "GOOGLE_ANALYTICS_4_GENERATE_LEAD",
5012
+ "GOOGLE_ANALYTICS_4_QUALIFY_LEAD",
5013
+ "GOOGLE_ANALYTICS_4_CLOSE_CONVERT_LEAD",
5014
+ "FIREBASE_ANDROID_GENERATE_LEAD",
5015
+ "FIREBASE_ANDROID_QUALIFY_LEAD",
5016
+ "FIREBASE_ANDROID_CLOSE_CONVERT_LEAD",
5017
+ "FIREBASE_IOS_GENERATE_LEAD",
5018
+ "FIREBASE_IOS_QUALIFY_LEAD",
5019
+ "FIREBASE_IOS_CLOSE_CONVERT_LEAD"
4148
5020
  ]),
4149
5021
  category: z__namespace.enum([
4150
5022
  "UNSPECIFIED",
@@ -4169,7 +5041,8 @@ z__namespace.object({
4169
5041
  "STORE_VISIT",
4170
5042
  "STORE_SALE",
4171
5043
  "QUALIFIED_LEAD",
4172
- "CONVERTED_LEAD"
5044
+ "CONVERTED_LEAD",
5045
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4173
5046
  ]),
4174
5047
  origin: z__namespace.enum([
4175
5048
  "UNSPECIFIED",
@@ -4212,6 +5085,24 @@ z__namespace.object({
4212
5085
  event_snippet: z__namespace.string().nullable()
4213
5086
  }))
4214
5087
  });
5088
+ z__namespace.object({
5089
+ conversion_action_id: z__namespace.string().regex(/^\d+$/),
5090
+ conversions: z__namespace.array(zGoogleAdsConversionEvent).min(1).max(2e3),
5091
+ consent: zGoogleAdsConversionConsent.optional(),
5092
+ dry_run: z__namespace.boolean().optional().default(false)
5093
+ });
5094
+ z__namespace.object({
5095
+ "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
5096
+ });
5097
+ z__namespace.object({
5098
+ connection_id: z__namespace.string()
5099
+ });
5100
+ z__namespace.object({
5101
+ connection_id: z__namespace.string()
5102
+ });
5103
+ z__namespace.object({
5104
+ request_id: z__namespace.string().min(1)
5105
+ });
4215
5106
  z__namespace.object({
4216
5107
  connection_id: z__namespace.string()
4217
5108
  });
@@ -4241,7 +5132,8 @@ z__namespace.object({
4241
5132
  "STORE_VISIT",
4242
5133
  "STORE_SALE",
4243
5134
  "QUALIFIED_LEAD",
4244
- "CONVERTED_LEAD"
5135
+ "CONVERTED_LEAD",
5136
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4245
5137
  ]),
4246
5138
  origin: z__namespace.enum([
4247
5139
  "UNSPECIFIED",
@@ -4278,7 +5170,8 @@ z__namespace.object({
4278
5170
  "STORE_VISIT",
4279
5171
  "STORE_SALE",
4280
5172
  "QUALIFIED_LEAD",
4281
- "CONVERTED_LEAD"
5173
+ "CONVERTED_LEAD",
5174
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4282
5175
  ]),
4283
5176
  origin: z__namespace.enum([
4284
5177
  "WEBSITE",
@@ -4321,7 +5214,8 @@ z__namespace.object({
4321
5214
  "STORE_VISIT",
4322
5215
  "STORE_SALE",
4323
5216
  "QUALIFIED_LEAD",
4324
- "CONVERTED_LEAD"
5217
+ "CONVERTED_LEAD",
5218
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4325
5219
  ]),
4326
5220
  origin: z__namespace.enum([
4327
5221
  "UNSPECIFIED",
@@ -4337,45 +5231,6 @@ z__namespace.object({
4337
5231
  dry_run: z__namespace.boolean(),
4338
5232
  executed: z__namespace.boolean()
4339
5233
  });
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
5234
  z__namespace.object({
4380
5235
  media_id: z__namespace.string(),
4381
5236
  dry_run: z__namespace.boolean().optional().default(false)
@@ -4450,7 +5305,137 @@ z__namespace.object({
4450
5305
  request_path: z__namespace.string().nullable(),
4451
5306
  request_body: z__namespace.unknown().nullish(),
4452
5307
  response_body: z__namespace.unknown().nullish(),
4453
- error: z__namespace.unknown().nullish(),
5308
+ error: z__namespace.object({
5309
+ code: z__namespace.enum([
5310
+ "unauthorized",
5311
+ "forbidden",
5312
+ "not_found",
5313
+ "conflict",
5314
+ "validation_failed",
5315
+ "rate_limited",
5316
+ "internal_error",
5317
+ "idempotency_key_invalid",
5318
+ "idempotency_key_reused",
5319
+ "idempotency_request_in_progress",
5320
+ "account_not_available",
5321
+ "connection_reauth_required",
5322
+ "connection_not_pending",
5323
+ "not_implemented",
5324
+ "connection_discovery_failed",
5325
+ "tiktok_creator_info_unavailable",
5326
+ "tiktok_cannot_post_now",
5327
+ "media_processing",
5328
+ "media_upload_init_failed",
5329
+ "media_upload_incomplete",
5330
+ "not_publishable",
5331
+ "invalid_connection",
5332
+ "invalid_media",
5333
+ "profile_scope_invalid",
5334
+ "media_unprobeable",
5335
+ "media_too_large",
5336
+ "media_aspect_ratio_unsupported",
5337
+ "media_resolution_too_low",
5338
+ "media_gif_unsupported",
5339
+ "media_format_recompressed",
5340
+ "media_resolution_downscaled",
5341
+ "video_container_unsupported",
5342
+ "video_codec_unsupported",
5343
+ "video_audio_codec_unsupported",
5344
+ "video_too_large",
5345
+ "video_too_small",
5346
+ "video_dimensions_unsupported",
5347
+ "video_dimensions_too_large",
5348
+ "video_fps_unsupported",
5349
+ "video_fps_too_low",
5350
+ "video_aspect_unsupported",
5351
+ "video_duration_too_short",
5352
+ "video_duration_exceeds_max",
5353
+ "video_transform_failed",
5354
+ "media_fetch_failed",
5355
+ "document_format_unsupported",
5356
+ "document_too_large",
5357
+ "document_too_many_pages",
5358
+ "media_format_indeterminate",
5359
+ "media_format_unsupported",
5360
+ "media_count_invalid",
5361
+ "body_too_long",
5362
+ "content_missing",
5363
+ "content_conflict",
5364
+ "content_incomplete",
5365
+ "content_kind_mismatch",
5366
+ "media_type_mismatch",
5367
+ "tag_limit_exceeded",
5368
+ "reel_field_on_non_reel",
5369
+ "field_placement_invalid",
5370
+ "media_not_ready",
5371
+ "media_failed",
5372
+ "media_unsupported",
5373
+ "media_kind_mismatch",
5374
+ "variant_unparseable",
5375
+ "publishing_unavailable",
5376
+ "x_duplicate_content",
5377
+ "x_not_authorized",
5378
+ "x_access_not_permitted",
5379
+ "x_rate_limited",
5380
+ "x_publish_failed",
5381
+ "x_media_upload_failed",
5382
+ "linkedin_duplicate_content",
5383
+ "linkedin_auth_expired",
5384
+ "linkedin_permission_denied",
5385
+ "linkedin_rate_limited",
5386
+ "linkedin_media_processing",
5387
+ "linkedin_media_failed",
5388
+ "linkedin_media_upload_failed",
5389
+ "linkedin_publish_failed",
5390
+ "instagram_media_processing",
5391
+ "instagram_container_expired",
5392
+ "instagram_container_failed",
5393
+ "instagram_rate_limited",
5394
+ "instagram_daily_limit_reached",
5395
+ "instagram_aspect_ratio_unsupported",
5396
+ "instagram_media_unsupported",
5397
+ "instagram_not_authorized",
5398
+ "instagram_publish_failed",
5399
+ "facebook_reel_processing",
5400
+ "facebook_reel_failed",
5401
+ "facebook_rate_limited",
5402
+ "facebook_duplicate_content",
5403
+ "facebook_temporarily_blocked",
5404
+ "facebook_not_authorized",
5405
+ "facebook_publish_failed",
5406
+ "tiktok_privacy_not_allowed",
5407
+ "tiktok_duration_exceeds_max",
5408
+ "tiktok_media_processing",
5409
+ "tiktok_not_authorized",
5410
+ "tiktok_rate_limited",
5411
+ "tiktok_url_ownership_unverified",
5412
+ "tiktok_unaudited_private_only",
5413
+ "tiktok_spam_risk",
5414
+ "tiktok_file_format_invalid",
5415
+ "tiktok_duration_invalid",
5416
+ "tiktok_frame_rate_invalid",
5417
+ "tiktok_resolution_invalid",
5418
+ "tiktok_media_pull_failed",
5419
+ "tiktok_server_error",
5420
+ "tiktok_publish_failed",
5421
+ "google_rate_limited",
5422
+ "google_server_error",
5423
+ "google_auth_expired",
5424
+ "google_permission_denied",
5425
+ "google_request_failed",
5426
+ "google_conversion_duplicate",
5427
+ "google_conversion_invalid_click_id",
5428
+ "google_conversion_event_too_old",
5429
+ "google_conversion_consent_required",
5430
+ "google_conversion_terms_not_signed",
5431
+ "google_conversion_rejected",
5432
+ "post_publish_failed",
5433
+ "post_partially_published",
5434
+ "connection_platform_mismatch",
5435
+ "connection_removed"
5436
+ ]),
5437
+ message: z__namespace.string()
5438
+ }).nullable(),
4454
5439
  outcome: z__namespace.object({
4455
5440
  status: z__namespace.enum([
4456
5441
  "draft",
@@ -4481,7 +5466,134 @@ z__namespace.object({
4481
5466
  permalink: z__namespace.string().nullable(),
4482
5467
  published_at: z__namespace.string().nullable(),
4483
5468
  error: z__namespace.object({
4484
- code: z__namespace.string(),
5469
+ code: z__namespace.enum([
5470
+ "unauthorized",
5471
+ "forbidden",
5472
+ "not_found",
5473
+ "conflict",
5474
+ "validation_failed",
5475
+ "rate_limited",
5476
+ "internal_error",
5477
+ "idempotency_key_invalid",
5478
+ "idempotency_key_reused",
5479
+ "idempotency_request_in_progress",
5480
+ "account_not_available",
5481
+ "connection_reauth_required",
5482
+ "connection_not_pending",
5483
+ "not_implemented",
5484
+ "connection_discovery_failed",
5485
+ "tiktok_creator_info_unavailable",
5486
+ "tiktok_cannot_post_now",
5487
+ "media_processing",
5488
+ "media_upload_init_failed",
5489
+ "media_upload_incomplete",
5490
+ "not_publishable",
5491
+ "invalid_connection",
5492
+ "invalid_media",
5493
+ "profile_scope_invalid",
5494
+ "media_unprobeable",
5495
+ "media_too_large",
5496
+ "media_aspect_ratio_unsupported",
5497
+ "media_resolution_too_low",
5498
+ "media_gif_unsupported",
5499
+ "media_format_recompressed",
5500
+ "media_resolution_downscaled",
5501
+ "video_container_unsupported",
5502
+ "video_codec_unsupported",
5503
+ "video_audio_codec_unsupported",
5504
+ "video_too_large",
5505
+ "video_too_small",
5506
+ "video_dimensions_unsupported",
5507
+ "video_dimensions_too_large",
5508
+ "video_fps_unsupported",
5509
+ "video_fps_too_low",
5510
+ "video_aspect_unsupported",
5511
+ "video_duration_too_short",
5512
+ "video_duration_exceeds_max",
5513
+ "video_transform_failed",
5514
+ "media_fetch_failed",
5515
+ "document_format_unsupported",
5516
+ "document_too_large",
5517
+ "document_too_many_pages",
5518
+ "media_format_indeterminate",
5519
+ "media_format_unsupported",
5520
+ "media_count_invalid",
5521
+ "body_too_long",
5522
+ "content_missing",
5523
+ "content_conflict",
5524
+ "content_incomplete",
5525
+ "content_kind_mismatch",
5526
+ "media_type_mismatch",
5527
+ "tag_limit_exceeded",
5528
+ "reel_field_on_non_reel",
5529
+ "field_placement_invalid",
5530
+ "media_not_ready",
5531
+ "media_failed",
5532
+ "media_unsupported",
5533
+ "media_kind_mismatch",
5534
+ "variant_unparseable",
5535
+ "publishing_unavailable",
5536
+ "x_duplicate_content",
5537
+ "x_not_authorized",
5538
+ "x_access_not_permitted",
5539
+ "x_rate_limited",
5540
+ "x_publish_failed",
5541
+ "x_media_upload_failed",
5542
+ "linkedin_duplicate_content",
5543
+ "linkedin_auth_expired",
5544
+ "linkedin_permission_denied",
5545
+ "linkedin_rate_limited",
5546
+ "linkedin_media_processing",
5547
+ "linkedin_media_failed",
5548
+ "linkedin_media_upload_failed",
5549
+ "linkedin_publish_failed",
5550
+ "instagram_media_processing",
5551
+ "instagram_container_expired",
5552
+ "instagram_container_failed",
5553
+ "instagram_rate_limited",
5554
+ "instagram_daily_limit_reached",
5555
+ "instagram_aspect_ratio_unsupported",
5556
+ "instagram_media_unsupported",
5557
+ "instagram_not_authorized",
5558
+ "instagram_publish_failed",
5559
+ "facebook_reel_processing",
5560
+ "facebook_reel_failed",
5561
+ "facebook_rate_limited",
5562
+ "facebook_duplicate_content",
5563
+ "facebook_temporarily_blocked",
5564
+ "facebook_not_authorized",
5565
+ "facebook_publish_failed",
5566
+ "tiktok_privacy_not_allowed",
5567
+ "tiktok_duration_exceeds_max",
5568
+ "tiktok_media_processing",
5569
+ "tiktok_not_authorized",
5570
+ "tiktok_rate_limited",
5571
+ "tiktok_url_ownership_unverified",
5572
+ "tiktok_unaudited_private_only",
5573
+ "tiktok_spam_risk",
5574
+ "tiktok_file_format_invalid",
5575
+ "tiktok_duration_invalid",
5576
+ "tiktok_frame_rate_invalid",
5577
+ "tiktok_resolution_invalid",
5578
+ "tiktok_media_pull_failed",
5579
+ "tiktok_server_error",
5580
+ "tiktok_publish_failed",
5581
+ "google_rate_limited",
5582
+ "google_server_error",
5583
+ "google_auth_expired",
5584
+ "google_permission_denied",
5585
+ "google_request_failed",
5586
+ "google_conversion_duplicate",
5587
+ "google_conversion_invalid_click_id",
5588
+ "google_conversion_event_too_old",
5589
+ "google_conversion_consent_required",
5590
+ "google_conversion_terms_not_signed",
5591
+ "google_conversion_rejected",
5592
+ "post_publish_failed",
5593
+ "post_partially_published",
5594
+ "connection_platform_mismatch",
5595
+ "connection_removed"
5596
+ ]),
4485
5597
  message: z__namespace.string(),
4486
5598
  display_error: z__namespace.string()
4487
5599
  }).nullable()
@@ -4534,7 +5646,137 @@ z__namespace.object({
4534
5646
  request_path: z__namespace.string().nullable(),
4535
5647
  request_body: z__namespace.unknown().nullish(),
4536
5648
  response_body: z__namespace.unknown().nullish(),
4537
- error: z__namespace.unknown().nullish(),
5649
+ error: z__namespace.object({
5650
+ code: z__namespace.enum([
5651
+ "unauthorized",
5652
+ "forbidden",
5653
+ "not_found",
5654
+ "conflict",
5655
+ "validation_failed",
5656
+ "rate_limited",
5657
+ "internal_error",
5658
+ "idempotency_key_invalid",
5659
+ "idempotency_key_reused",
5660
+ "idempotency_request_in_progress",
5661
+ "account_not_available",
5662
+ "connection_reauth_required",
5663
+ "connection_not_pending",
5664
+ "not_implemented",
5665
+ "connection_discovery_failed",
5666
+ "tiktok_creator_info_unavailable",
5667
+ "tiktok_cannot_post_now",
5668
+ "media_processing",
5669
+ "media_upload_init_failed",
5670
+ "media_upload_incomplete",
5671
+ "not_publishable",
5672
+ "invalid_connection",
5673
+ "invalid_media",
5674
+ "profile_scope_invalid",
5675
+ "media_unprobeable",
5676
+ "media_too_large",
5677
+ "media_aspect_ratio_unsupported",
5678
+ "media_resolution_too_low",
5679
+ "media_gif_unsupported",
5680
+ "media_format_recompressed",
5681
+ "media_resolution_downscaled",
5682
+ "video_container_unsupported",
5683
+ "video_codec_unsupported",
5684
+ "video_audio_codec_unsupported",
5685
+ "video_too_large",
5686
+ "video_too_small",
5687
+ "video_dimensions_unsupported",
5688
+ "video_dimensions_too_large",
5689
+ "video_fps_unsupported",
5690
+ "video_fps_too_low",
5691
+ "video_aspect_unsupported",
5692
+ "video_duration_too_short",
5693
+ "video_duration_exceeds_max",
5694
+ "video_transform_failed",
5695
+ "media_fetch_failed",
5696
+ "document_format_unsupported",
5697
+ "document_too_large",
5698
+ "document_too_many_pages",
5699
+ "media_format_indeterminate",
5700
+ "media_format_unsupported",
5701
+ "media_count_invalid",
5702
+ "body_too_long",
5703
+ "content_missing",
5704
+ "content_conflict",
5705
+ "content_incomplete",
5706
+ "content_kind_mismatch",
5707
+ "media_type_mismatch",
5708
+ "tag_limit_exceeded",
5709
+ "reel_field_on_non_reel",
5710
+ "field_placement_invalid",
5711
+ "media_not_ready",
5712
+ "media_failed",
5713
+ "media_unsupported",
5714
+ "media_kind_mismatch",
5715
+ "variant_unparseable",
5716
+ "publishing_unavailable",
5717
+ "x_duplicate_content",
5718
+ "x_not_authorized",
5719
+ "x_access_not_permitted",
5720
+ "x_rate_limited",
5721
+ "x_publish_failed",
5722
+ "x_media_upload_failed",
5723
+ "linkedin_duplicate_content",
5724
+ "linkedin_auth_expired",
5725
+ "linkedin_permission_denied",
5726
+ "linkedin_rate_limited",
5727
+ "linkedin_media_processing",
5728
+ "linkedin_media_failed",
5729
+ "linkedin_media_upload_failed",
5730
+ "linkedin_publish_failed",
5731
+ "instagram_media_processing",
5732
+ "instagram_container_expired",
5733
+ "instagram_container_failed",
5734
+ "instagram_rate_limited",
5735
+ "instagram_daily_limit_reached",
5736
+ "instagram_aspect_ratio_unsupported",
5737
+ "instagram_media_unsupported",
5738
+ "instagram_not_authorized",
5739
+ "instagram_publish_failed",
5740
+ "facebook_reel_processing",
5741
+ "facebook_reel_failed",
5742
+ "facebook_rate_limited",
5743
+ "facebook_duplicate_content",
5744
+ "facebook_temporarily_blocked",
5745
+ "facebook_not_authorized",
5746
+ "facebook_publish_failed",
5747
+ "tiktok_privacy_not_allowed",
5748
+ "tiktok_duration_exceeds_max",
5749
+ "tiktok_media_processing",
5750
+ "tiktok_not_authorized",
5751
+ "tiktok_rate_limited",
5752
+ "tiktok_url_ownership_unverified",
5753
+ "tiktok_unaudited_private_only",
5754
+ "tiktok_spam_risk",
5755
+ "tiktok_file_format_invalid",
5756
+ "tiktok_duration_invalid",
5757
+ "tiktok_frame_rate_invalid",
5758
+ "tiktok_resolution_invalid",
5759
+ "tiktok_media_pull_failed",
5760
+ "tiktok_server_error",
5761
+ "tiktok_publish_failed",
5762
+ "google_rate_limited",
5763
+ "google_server_error",
5764
+ "google_auth_expired",
5765
+ "google_permission_denied",
5766
+ "google_request_failed",
5767
+ "google_conversion_duplicate",
5768
+ "google_conversion_invalid_click_id",
5769
+ "google_conversion_event_too_old",
5770
+ "google_conversion_consent_required",
5771
+ "google_conversion_terms_not_signed",
5772
+ "google_conversion_rejected",
5773
+ "post_publish_failed",
5774
+ "post_partially_published",
5775
+ "connection_platform_mismatch",
5776
+ "connection_removed"
5777
+ ]),
5778
+ message: z__namespace.string()
5779
+ }).nullable(),
4538
5780
  outcome: z__namespace.object({
4539
5781
  status: z__namespace.enum([
4540
5782
  "draft",
@@ -4565,7 +5807,134 @@ z__namespace.object({
4565
5807
  permalink: z__namespace.string().nullable(),
4566
5808
  published_at: z__namespace.string().nullable(),
4567
5809
  error: z__namespace.object({
4568
- code: z__namespace.string(),
5810
+ code: z__namespace.enum([
5811
+ "unauthorized",
5812
+ "forbidden",
5813
+ "not_found",
5814
+ "conflict",
5815
+ "validation_failed",
5816
+ "rate_limited",
5817
+ "internal_error",
5818
+ "idempotency_key_invalid",
5819
+ "idempotency_key_reused",
5820
+ "idempotency_request_in_progress",
5821
+ "account_not_available",
5822
+ "connection_reauth_required",
5823
+ "connection_not_pending",
5824
+ "not_implemented",
5825
+ "connection_discovery_failed",
5826
+ "tiktok_creator_info_unavailable",
5827
+ "tiktok_cannot_post_now",
5828
+ "media_processing",
5829
+ "media_upload_init_failed",
5830
+ "media_upload_incomplete",
5831
+ "not_publishable",
5832
+ "invalid_connection",
5833
+ "invalid_media",
5834
+ "profile_scope_invalid",
5835
+ "media_unprobeable",
5836
+ "media_too_large",
5837
+ "media_aspect_ratio_unsupported",
5838
+ "media_resolution_too_low",
5839
+ "media_gif_unsupported",
5840
+ "media_format_recompressed",
5841
+ "media_resolution_downscaled",
5842
+ "video_container_unsupported",
5843
+ "video_codec_unsupported",
5844
+ "video_audio_codec_unsupported",
5845
+ "video_too_large",
5846
+ "video_too_small",
5847
+ "video_dimensions_unsupported",
5848
+ "video_dimensions_too_large",
5849
+ "video_fps_unsupported",
5850
+ "video_fps_too_low",
5851
+ "video_aspect_unsupported",
5852
+ "video_duration_too_short",
5853
+ "video_duration_exceeds_max",
5854
+ "video_transform_failed",
5855
+ "media_fetch_failed",
5856
+ "document_format_unsupported",
5857
+ "document_too_large",
5858
+ "document_too_many_pages",
5859
+ "media_format_indeterminate",
5860
+ "media_format_unsupported",
5861
+ "media_count_invalid",
5862
+ "body_too_long",
5863
+ "content_missing",
5864
+ "content_conflict",
5865
+ "content_incomplete",
5866
+ "content_kind_mismatch",
5867
+ "media_type_mismatch",
5868
+ "tag_limit_exceeded",
5869
+ "reel_field_on_non_reel",
5870
+ "field_placement_invalid",
5871
+ "media_not_ready",
5872
+ "media_failed",
5873
+ "media_unsupported",
5874
+ "media_kind_mismatch",
5875
+ "variant_unparseable",
5876
+ "publishing_unavailable",
5877
+ "x_duplicate_content",
5878
+ "x_not_authorized",
5879
+ "x_access_not_permitted",
5880
+ "x_rate_limited",
5881
+ "x_publish_failed",
5882
+ "x_media_upload_failed",
5883
+ "linkedin_duplicate_content",
5884
+ "linkedin_auth_expired",
5885
+ "linkedin_permission_denied",
5886
+ "linkedin_rate_limited",
5887
+ "linkedin_media_processing",
5888
+ "linkedin_media_failed",
5889
+ "linkedin_media_upload_failed",
5890
+ "linkedin_publish_failed",
5891
+ "instagram_media_processing",
5892
+ "instagram_container_expired",
5893
+ "instagram_container_failed",
5894
+ "instagram_rate_limited",
5895
+ "instagram_daily_limit_reached",
5896
+ "instagram_aspect_ratio_unsupported",
5897
+ "instagram_media_unsupported",
5898
+ "instagram_not_authorized",
5899
+ "instagram_publish_failed",
5900
+ "facebook_reel_processing",
5901
+ "facebook_reel_failed",
5902
+ "facebook_rate_limited",
5903
+ "facebook_duplicate_content",
5904
+ "facebook_temporarily_blocked",
5905
+ "facebook_not_authorized",
5906
+ "facebook_publish_failed",
5907
+ "tiktok_privacy_not_allowed",
5908
+ "tiktok_duration_exceeds_max",
5909
+ "tiktok_media_processing",
5910
+ "tiktok_not_authorized",
5911
+ "tiktok_rate_limited",
5912
+ "tiktok_url_ownership_unverified",
5913
+ "tiktok_unaudited_private_only",
5914
+ "tiktok_spam_risk",
5915
+ "tiktok_file_format_invalid",
5916
+ "tiktok_duration_invalid",
5917
+ "tiktok_frame_rate_invalid",
5918
+ "tiktok_resolution_invalid",
5919
+ "tiktok_media_pull_failed",
5920
+ "tiktok_server_error",
5921
+ "tiktok_publish_failed",
5922
+ "google_rate_limited",
5923
+ "google_server_error",
5924
+ "google_auth_expired",
5925
+ "google_permission_denied",
5926
+ "google_request_failed",
5927
+ "google_conversion_duplicate",
5928
+ "google_conversion_invalid_click_id",
5929
+ "google_conversion_event_too_old",
5930
+ "google_conversion_consent_required",
5931
+ "google_conversion_terms_not_signed",
5932
+ "google_conversion_rejected",
5933
+ "post_publish_failed",
5934
+ "post_partially_published",
5935
+ "connection_platform_mismatch",
5936
+ "connection_removed"
5937
+ ]),
4569
5938
  message: z__namespace.string(),
4570
5939
  display_error: z__namespace.string()
4571
5940
  }).nullable()
@@ -4683,7 +6052,7 @@ z__namespace.object({
4683
6052
  z__namespace.object({
4684
6053
  profile_scope: z__namespace.union([
4685
6054
  z__namespace.object({
4686
- type: z__namespace.literal("ids"),
6055
+ type: z__namespace.literal("profile_ids"),
4687
6056
  values: z__namespace.array(z__namespace.string()).min(1).max(100)
4688
6057
  }),
4689
6058
  z__namespace.object({