@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/index.cjs CHANGED
@@ -820,6 +820,7 @@ var zErrorCode = z__namespace.enum([
820
820
  "not_implemented",
821
821
  "connection_discovery_failed",
822
822
  "tiktok_creator_info_unavailable",
823
+ "tiktok_cannot_post_now",
823
824
  "media_processing",
824
825
  "media_upload_init_failed",
825
826
  "media_upload_incomplete",
@@ -919,6 +920,12 @@ var zErrorCode = z__namespace.enum([
919
920
  "google_auth_expired",
920
921
  "google_permission_denied",
921
922
  "google_request_failed",
923
+ "google_conversion_duplicate",
924
+ "google_conversion_invalid_click_id",
925
+ "google_conversion_event_too_old",
926
+ "google_conversion_consent_required",
927
+ "google_conversion_terms_not_signed",
928
+ "google_conversion_rejected",
922
929
  "post_publish_failed",
923
930
  "post_partially_published",
924
931
  "connection_platform_mismatch",
@@ -1246,14 +1253,140 @@ var zPostVariant = z__namespace.union([
1246
1253
  published_at: z__namespace.string()
1247
1254
  }).nullable(),
1248
1255
  error: z__namespace.object({
1249
- code: z__namespace.string(),
1256
+ code: z__namespace.enum([
1257
+ "unauthorized",
1258
+ "forbidden",
1259
+ "not_found",
1260
+ "conflict",
1261
+ "validation_failed",
1262
+ "rate_limited",
1263
+ "internal_error",
1264
+ "idempotency_key_invalid",
1265
+ "idempotency_key_reused",
1266
+ "idempotency_request_in_progress",
1267
+ "account_not_available",
1268
+ "connection_reauth_required",
1269
+ "connection_not_pending",
1270
+ "not_implemented",
1271
+ "connection_discovery_failed",
1272
+ "tiktok_creator_info_unavailable",
1273
+ "tiktok_cannot_post_now",
1274
+ "media_processing",
1275
+ "media_upload_init_failed",
1276
+ "media_upload_incomplete",
1277
+ "not_publishable",
1278
+ "invalid_connection",
1279
+ "invalid_media",
1280
+ "profile_scope_invalid",
1281
+ "media_unprobeable",
1282
+ "media_too_large",
1283
+ "media_aspect_ratio_unsupported",
1284
+ "media_resolution_too_low",
1285
+ "media_gif_unsupported",
1286
+ "media_format_recompressed",
1287
+ "media_resolution_downscaled",
1288
+ "video_container_unsupported",
1289
+ "video_codec_unsupported",
1290
+ "video_audio_codec_unsupported",
1291
+ "video_too_large",
1292
+ "video_too_small",
1293
+ "video_dimensions_unsupported",
1294
+ "video_dimensions_too_large",
1295
+ "video_fps_unsupported",
1296
+ "video_fps_too_low",
1297
+ "video_aspect_unsupported",
1298
+ "video_duration_too_short",
1299
+ "video_duration_exceeds_max",
1300
+ "video_transform_failed",
1301
+ "media_fetch_failed",
1302
+ "document_format_unsupported",
1303
+ "document_too_large",
1304
+ "document_too_many_pages",
1305
+ "media_format_indeterminate",
1306
+ "media_format_unsupported",
1307
+ "media_count_invalid",
1308
+ "body_too_long",
1309
+ "content_missing",
1310
+ "content_conflict",
1311
+ "content_incomplete",
1312
+ "content_kind_mismatch",
1313
+ "media_type_mismatch",
1314
+ "tag_limit_exceeded",
1315
+ "reel_field_on_non_reel",
1316
+ "field_placement_invalid",
1317
+ "media_not_ready",
1318
+ "media_failed",
1319
+ "media_unsupported",
1320
+ "media_kind_mismatch",
1321
+ "variant_unparseable",
1322
+ "publishing_unavailable",
1323
+ "x_duplicate_content",
1324
+ "x_not_authorized",
1325
+ "x_access_not_permitted",
1326
+ "x_rate_limited",
1327
+ "x_publish_failed",
1328
+ "x_media_upload_failed",
1329
+ "linkedin_duplicate_content",
1330
+ "linkedin_auth_expired",
1331
+ "linkedin_permission_denied",
1332
+ "linkedin_rate_limited",
1333
+ "linkedin_media_processing",
1334
+ "linkedin_media_failed",
1335
+ "linkedin_media_upload_failed",
1336
+ "linkedin_publish_failed",
1337
+ "instagram_media_processing",
1338
+ "instagram_container_expired",
1339
+ "instagram_container_failed",
1340
+ "instagram_rate_limited",
1341
+ "instagram_daily_limit_reached",
1342
+ "instagram_aspect_ratio_unsupported",
1343
+ "instagram_media_unsupported",
1344
+ "instagram_not_authorized",
1345
+ "instagram_publish_failed",
1346
+ "facebook_reel_processing",
1347
+ "facebook_reel_failed",
1348
+ "facebook_rate_limited",
1349
+ "facebook_duplicate_content",
1350
+ "facebook_temporarily_blocked",
1351
+ "facebook_not_authorized",
1352
+ "facebook_publish_failed",
1353
+ "tiktok_privacy_not_allowed",
1354
+ "tiktok_duration_exceeds_max",
1355
+ "tiktok_media_processing",
1356
+ "tiktok_not_authorized",
1357
+ "tiktok_rate_limited",
1358
+ "tiktok_url_ownership_unverified",
1359
+ "tiktok_unaudited_private_only",
1360
+ "tiktok_spam_risk",
1361
+ "tiktok_file_format_invalid",
1362
+ "tiktok_duration_invalid",
1363
+ "tiktok_frame_rate_invalid",
1364
+ "tiktok_resolution_invalid",
1365
+ "tiktok_media_pull_failed",
1366
+ "tiktok_server_error",
1367
+ "tiktok_publish_failed",
1368
+ "google_rate_limited",
1369
+ "google_server_error",
1370
+ "google_auth_expired",
1371
+ "google_permission_denied",
1372
+ "google_request_failed",
1373
+ "google_conversion_duplicate",
1374
+ "google_conversion_invalid_click_id",
1375
+ "google_conversion_event_too_old",
1376
+ "google_conversion_consent_required",
1377
+ "google_conversion_terms_not_signed",
1378
+ "google_conversion_rejected",
1379
+ "post_publish_failed",
1380
+ "post_partially_published",
1381
+ "connection_platform_mismatch",
1382
+ "connection_removed"
1383
+ ]),
1250
1384
  message: z__namespace.string(),
1251
1385
  display_error: z__namespace.string()
1252
1386
  }).nullable(),
1253
1387
  media: z__namespace.array(z__namespace.object({
1254
1388
  media_id: z__namespace.string(),
1255
1389
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1256
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
1257
1390
  alt_text_override: z__namespace.string().nullable(),
1258
1391
  media: zMedia
1259
1392
  }))
@@ -1315,14 +1448,140 @@ var zPostVariant = z__namespace.union([
1315
1448
  published_at: z__namespace.string()
1316
1449
  }).nullable(),
1317
1450
  error: z__namespace.object({
1318
- code: z__namespace.string(),
1451
+ code: z__namespace.enum([
1452
+ "unauthorized",
1453
+ "forbidden",
1454
+ "not_found",
1455
+ "conflict",
1456
+ "validation_failed",
1457
+ "rate_limited",
1458
+ "internal_error",
1459
+ "idempotency_key_invalid",
1460
+ "idempotency_key_reused",
1461
+ "idempotency_request_in_progress",
1462
+ "account_not_available",
1463
+ "connection_reauth_required",
1464
+ "connection_not_pending",
1465
+ "not_implemented",
1466
+ "connection_discovery_failed",
1467
+ "tiktok_creator_info_unavailable",
1468
+ "tiktok_cannot_post_now",
1469
+ "media_processing",
1470
+ "media_upload_init_failed",
1471
+ "media_upload_incomplete",
1472
+ "not_publishable",
1473
+ "invalid_connection",
1474
+ "invalid_media",
1475
+ "profile_scope_invalid",
1476
+ "media_unprobeable",
1477
+ "media_too_large",
1478
+ "media_aspect_ratio_unsupported",
1479
+ "media_resolution_too_low",
1480
+ "media_gif_unsupported",
1481
+ "media_format_recompressed",
1482
+ "media_resolution_downscaled",
1483
+ "video_container_unsupported",
1484
+ "video_codec_unsupported",
1485
+ "video_audio_codec_unsupported",
1486
+ "video_too_large",
1487
+ "video_too_small",
1488
+ "video_dimensions_unsupported",
1489
+ "video_dimensions_too_large",
1490
+ "video_fps_unsupported",
1491
+ "video_fps_too_low",
1492
+ "video_aspect_unsupported",
1493
+ "video_duration_too_short",
1494
+ "video_duration_exceeds_max",
1495
+ "video_transform_failed",
1496
+ "media_fetch_failed",
1497
+ "document_format_unsupported",
1498
+ "document_too_large",
1499
+ "document_too_many_pages",
1500
+ "media_format_indeterminate",
1501
+ "media_format_unsupported",
1502
+ "media_count_invalid",
1503
+ "body_too_long",
1504
+ "content_missing",
1505
+ "content_conflict",
1506
+ "content_incomplete",
1507
+ "content_kind_mismatch",
1508
+ "media_type_mismatch",
1509
+ "tag_limit_exceeded",
1510
+ "reel_field_on_non_reel",
1511
+ "field_placement_invalid",
1512
+ "media_not_ready",
1513
+ "media_failed",
1514
+ "media_unsupported",
1515
+ "media_kind_mismatch",
1516
+ "variant_unparseable",
1517
+ "publishing_unavailable",
1518
+ "x_duplicate_content",
1519
+ "x_not_authorized",
1520
+ "x_access_not_permitted",
1521
+ "x_rate_limited",
1522
+ "x_publish_failed",
1523
+ "x_media_upload_failed",
1524
+ "linkedin_duplicate_content",
1525
+ "linkedin_auth_expired",
1526
+ "linkedin_permission_denied",
1527
+ "linkedin_rate_limited",
1528
+ "linkedin_media_processing",
1529
+ "linkedin_media_failed",
1530
+ "linkedin_media_upload_failed",
1531
+ "linkedin_publish_failed",
1532
+ "instagram_media_processing",
1533
+ "instagram_container_expired",
1534
+ "instagram_container_failed",
1535
+ "instagram_rate_limited",
1536
+ "instagram_daily_limit_reached",
1537
+ "instagram_aspect_ratio_unsupported",
1538
+ "instagram_media_unsupported",
1539
+ "instagram_not_authorized",
1540
+ "instagram_publish_failed",
1541
+ "facebook_reel_processing",
1542
+ "facebook_reel_failed",
1543
+ "facebook_rate_limited",
1544
+ "facebook_duplicate_content",
1545
+ "facebook_temporarily_blocked",
1546
+ "facebook_not_authorized",
1547
+ "facebook_publish_failed",
1548
+ "tiktok_privacy_not_allowed",
1549
+ "tiktok_duration_exceeds_max",
1550
+ "tiktok_media_processing",
1551
+ "tiktok_not_authorized",
1552
+ "tiktok_rate_limited",
1553
+ "tiktok_url_ownership_unverified",
1554
+ "tiktok_unaudited_private_only",
1555
+ "tiktok_spam_risk",
1556
+ "tiktok_file_format_invalid",
1557
+ "tiktok_duration_invalid",
1558
+ "tiktok_frame_rate_invalid",
1559
+ "tiktok_resolution_invalid",
1560
+ "tiktok_media_pull_failed",
1561
+ "tiktok_server_error",
1562
+ "tiktok_publish_failed",
1563
+ "google_rate_limited",
1564
+ "google_server_error",
1565
+ "google_auth_expired",
1566
+ "google_permission_denied",
1567
+ "google_request_failed",
1568
+ "google_conversion_duplicate",
1569
+ "google_conversion_invalid_click_id",
1570
+ "google_conversion_event_too_old",
1571
+ "google_conversion_consent_required",
1572
+ "google_conversion_terms_not_signed",
1573
+ "google_conversion_rejected",
1574
+ "post_publish_failed",
1575
+ "post_partially_published",
1576
+ "connection_platform_mismatch",
1577
+ "connection_removed"
1578
+ ]),
1319
1579
  message: z__namespace.string(),
1320
1580
  display_error: z__namespace.string()
1321
1581
  }).nullable(),
1322
1582
  media: z__namespace.array(z__namespace.object({
1323
1583
  media_id: z__namespace.string(),
1324
1584
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1325
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
1326
1585
  alt_text_override: z__namespace.string().nullable(),
1327
1586
  media: zMedia
1328
1587
  }))
@@ -1350,14 +1609,140 @@ var zPostVariant = z__namespace.union([
1350
1609
  published_at: z__namespace.string()
1351
1610
  }).nullable(),
1352
1611
  error: z__namespace.object({
1353
- code: z__namespace.string(),
1612
+ code: z__namespace.enum([
1613
+ "unauthorized",
1614
+ "forbidden",
1615
+ "not_found",
1616
+ "conflict",
1617
+ "validation_failed",
1618
+ "rate_limited",
1619
+ "internal_error",
1620
+ "idempotency_key_invalid",
1621
+ "idempotency_key_reused",
1622
+ "idempotency_request_in_progress",
1623
+ "account_not_available",
1624
+ "connection_reauth_required",
1625
+ "connection_not_pending",
1626
+ "not_implemented",
1627
+ "connection_discovery_failed",
1628
+ "tiktok_creator_info_unavailable",
1629
+ "tiktok_cannot_post_now",
1630
+ "media_processing",
1631
+ "media_upload_init_failed",
1632
+ "media_upload_incomplete",
1633
+ "not_publishable",
1634
+ "invalid_connection",
1635
+ "invalid_media",
1636
+ "profile_scope_invalid",
1637
+ "media_unprobeable",
1638
+ "media_too_large",
1639
+ "media_aspect_ratio_unsupported",
1640
+ "media_resolution_too_low",
1641
+ "media_gif_unsupported",
1642
+ "media_format_recompressed",
1643
+ "media_resolution_downscaled",
1644
+ "video_container_unsupported",
1645
+ "video_codec_unsupported",
1646
+ "video_audio_codec_unsupported",
1647
+ "video_too_large",
1648
+ "video_too_small",
1649
+ "video_dimensions_unsupported",
1650
+ "video_dimensions_too_large",
1651
+ "video_fps_unsupported",
1652
+ "video_fps_too_low",
1653
+ "video_aspect_unsupported",
1654
+ "video_duration_too_short",
1655
+ "video_duration_exceeds_max",
1656
+ "video_transform_failed",
1657
+ "media_fetch_failed",
1658
+ "document_format_unsupported",
1659
+ "document_too_large",
1660
+ "document_too_many_pages",
1661
+ "media_format_indeterminate",
1662
+ "media_format_unsupported",
1663
+ "media_count_invalid",
1664
+ "body_too_long",
1665
+ "content_missing",
1666
+ "content_conflict",
1667
+ "content_incomplete",
1668
+ "content_kind_mismatch",
1669
+ "media_type_mismatch",
1670
+ "tag_limit_exceeded",
1671
+ "reel_field_on_non_reel",
1672
+ "field_placement_invalid",
1673
+ "media_not_ready",
1674
+ "media_failed",
1675
+ "media_unsupported",
1676
+ "media_kind_mismatch",
1677
+ "variant_unparseable",
1678
+ "publishing_unavailable",
1679
+ "x_duplicate_content",
1680
+ "x_not_authorized",
1681
+ "x_access_not_permitted",
1682
+ "x_rate_limited",
1683
+ "x_publish_failed",
1684
+ "x_media_upload_failed",
1685
+ "linkedin_duplicate_content",
1686
+ "linkedin_auth_expired",
1687
+ "linkedin_permission_denied",
1688
+ "linkedin_rate_limited",
1689
+ "linkedin_media_processing",
1690
+ "linkedin_media_failed",
1691
+ "linkedin_media_upload_failed",
1692
+ "linkedin_publish_failed",
1693
+ "instagram_media_processing",
1694
+ "instagram_container_expired",
1695
+ "instagram_container_failed",
1696
+ "instagram_rate_limited",
1697
+ "instagram_daily_limit_reached",
1698
+ "instagram_aspect_ratio_unsupported",
1699
+ "instagram_media_unsupported",
1700
+ "instagram_not_authorized",
1701
+ "instagram_publish_failed",
1702
+ "facebook_reel_processing",
1703
+ "facebook_reel_failed",
1704
+ "facebook_rate_limited",
1705
+ "facebook_duplicate_content",
1706
+ "facebook_temporarily_blocked",
1707
+ "facebook_not_authorized",
1708
+ "facebook_publish_failed",
1709
+ "tiktok_privacy_not_allowed",
1710
+ "tiktok_duration_exceeds_max",
1711
+ "tiktok_media_processing",
1712
+ "tiktok_not_authorized",
1713
+ "tiktok_rate_limited",
1714
+ "tiktok_url_ownership_unverified",
1715
+ "tiktok_unaudited_private_only",
1716
+ "tiktok_spam_risk",
1717
+ "tiktok_file_format_invalid",
1718
+ "tiktok_duration_invalid",
1719
+ "tiktok_frame_rate_invalid",
1720
+ "tiktok_resolution_invalid",
1721
+ "tiktok_media_pull_failed",
1722
+ "tiktok_server_error",
1723
+ "tiktok_publish_failed",
1724
+ "google_rate_limited",
1725
+ "google_server_error",
1726
+ "google_auth_expired",
1727
+ "google_permission_denied",
1728
+ "google_request_failed",
1729
+ "google_conversion_duplicate",
1730
+ "google_conversion_invalid_click_id",
1731
+ "google_conversion_event_too_old",
1732
+ "google_conversion_consent_required",
1733
+ "google_conversion_terms_not_signed",
1734
+ "google_conversion_rejected",
1735
+ "post_publish_failed",
1736
+ "post_partially_published",
1737
+ "connection_platform_mismatch",
1738
+ "connection_removed"
1739
+ ]),
1354
1740
  message: z__namespace.string(),
1355
1741
  display_error: z__namespace.string()
1356
1742
  }).nullable(),
1357
1743
  media: z__namespace.array(z__namespace.object({
1358
1744
  media_id: z__namespace.string(),
1359
1745
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1360
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
1361
1746
  alt_text_override: z__namespace.string().nullable(),
1362
1747
  media: zMedia
1363
1748
  }))
@@ -1399,14 +1784,140 @@ var zPostVariant = z__namespace.union([
1399
1784
  published_at: z__namespace.string()
1400
1785
  }).nullable(),
1401
1786
  error: z__namespace.object({
1402
- code: z__namespace.string(),
1787
+ code: z__namespace.enum([
1788
+ "unauthorized",
1789
+ "forbidden",
1790
+ "not_found",
1791
+ "conflict",
1792
+ "validation_failed",
1793
+ "rate_limited",
1794
+ "internal_error",
1795
+ "idempotency_key_invalid",
1796
+ "idempotency_key_reused",
1797
+ "idempotency_request_in_progress",
1798
+ "account_not_available",
1799
+ "connection_reauth_required",
1800
+ "connection_not_pending",
1801
+ "not_implemented",
1802
+ "connection_discovery_failed",
1803
+ "tiktok_creator_info_unavailable",
1804
+ "tiktok_cannot_post_now",
1805
+ "media_processing",
1806
+ "media_upload_init_failed",
1807
+ "media_upload_incomplete",
1808
+ "not_publishable",
1809
+ "invalid_connection",
1810
+ "invalid_media",
1811
+ "profile_scope_invalid",
1812
+ "media_unprobeable",
1813
+ "media_too_large",
1814
+ "media_aspect_ratio_unsupported",
1815
+ "media_resolution_too_low",
1816
+ "media_gif_unsupported",
1817
+ "media_format_recompressed",
1818
+ "media_resolution_downscaled",
1819
+ "video_container_unsupported",
1820
+ "video_codec_unsupported",
1821
+ "video_audio_codec_unsupported",
1822
+ "video_too_large",
1823
+ "video_too_small",
1824
+ "video_dimensions_unsupported",
1825
+ "video_dimensions_too_large",
1826
+ "video_fps_unsupported",
1827
+ "video_fps_too_low",
1828
+ "video_aspect_unsupported",
1829
+ "video_duration_too_short",
1830
+ "video_duration_exceeds_max",
1831
+ "video_transform_failed",
1832
+ "media_fetch_failed",
1833
+ "document_format_unsupported",
1834
+ "document_too_large",
1835
+ "document_too_many_pages",
1836
+ "media_format_indeterminate",
1837
+ "media_format_unsupported",
1838
+ "media_count_invalid",
1839
+ "body_too_long",
1840
+ "content_missing",
1841
+ "content_conflict",
1842
+ "content_incomplete",
1843
+ "content_kind_mismatch",
1844
+ "media_type_mismatch",
1845
+ "tag_limit_exceeded",
1846
+ "reel_field_on_non_reel",
1847
+ "field_placement_invalid",
1848
+ "media_not_ready",
1849
+ "media_failed",
1850
+ "media_unsupported",
1851
+ "media_kind_mismatch",
1852
+ "variant_unparseable",
1853
+ "publishing_unavailable",
1854
+ "x_duplicate_content",
1855
+ "x_not_authorized",
1856
+ "x_access_not_permitted",
1857
+ "x_rate_limited",
1858
+ "x_publish_failed",
1859
+ "x_media_upload_failed",
1860
+ "linkedin_duplicate_content",
1861
+ "linkedin_auth_expired",
1862
+ "linkedin_permission_denied",
1863
+ "linkedin_rate_limited",
1864
+ "linkedin_media_processing",
1865
+ "linkedin_media_failed",
1866
+ "linkedin_media_upload_failed",
1867
+ "linkedin_publish_failed",
1868
+ "instagram_media_processing",
1869
+ "instagram_container_expired",
1870
+ "instagram_container_failed",
1871
+ "instagram_rate_limited",
1872
+ "instagram_daily_limit_reached",
1873
+ "instagram_aspect_ratio_unsupported",
1874
+ "instagram_media_unsupported",
1875
+ "instagram_not_authorized",
1876
+ "instagram_publish_failed",
1877
+ "facebook_reel_processing",
1878
+ "facebook_reel_failed",
1879
+ "facebook_rate_limited",
1880
+ "facebook_duplicate_content",
1881
+ "facebook_temporarily_blocked",
1882
+ "facebook_not_authorized",
1883
+ "facebook_publish_failed",
1884
+ "tiktok_privacy_not_allowed",
1885
+ "tiktok_duration_exceeds_max",
1886
+ "tiktok_media_processing",
1887
+ "tiktok_not_authorized",
1888
+ "tiktok_rate_limited",
1889
+ "tiktok_url_ownership_unverified",
1890
+ "tiktok_unaudited_private_only",
1891
+ "tiktok_spam_risk",
1892
+ "tiktok_file_format_invalid",
1893
+ "tiktok_duration_invalid",
1894
+ "tiktok_frame_rate_invalid",
1895
+ "tiktok_resolution_invalid",
1896
+ "tiktok_media_pull_failed",
1897
+ "tiktok_server_error",
1898
+ "tiktok_publish_failed",
1899
+ "google_rate_limited",
1900
+ "google_server_error",
1901
+ "google_auth_expired",
1902
+ "google_permission_denied",
1903
+ "google_request_failed",
1904
+ "google_conversion_duplicate",
1905
+ "google_conversion_invalid_click_id",
1906
+ "google_conversion_event_too_old",
1907
+ "google_conversion_consent_required",
1908
+ "google_conversion_terms_not_signed",
1909
+ "google_conversion_rejected",
1910
+ "post_publish_failed",
1911
+ "post_partially_published",
1912
+ "connection_platform_mismatch",
1913
+ "connection_removed"
1914
+ ]),
1403
1915
  message: z__namespace.string(),
1404
1916
  display_error: z__namespace.string()
1405
1917
  }).nullable(),
1406
1918
  media: z__namespace.array(z__namespace.object({
1407
1919
  media_id: z__namespace.string(),
1408
1920
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1409
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
1410
1921
  alt_text_override: z__namespace.string().nullable(),
1411
1922
  media: zMedia
1412
1923
  }))
@@ -1442,14 +1953,140 @@ var zPostVariant = z__namespace.union([
1442
1953
  published_at: z__namespace.string()
1443
1954
  }).nullable(),
1444
1955
  error: z__namespace.object({
1445
- code: z__namespace.string(),
1956
+ code: z__namespace.enum([
1957
+ "unauthorized",
1958
+ "forbidden",
1959
+ "not_found",
1960
+ "conflict",
1961
+ "validation_failed",
1962
+ "rate_limited",
1963
+ "internal_error",
1964
+ "idempotency_key_invalid",
1965
+ "idempotency_key_reused",
1966
+ "idempotency_request_in_progress",
1967
+ "account_not_available",
1968
+ "connection_reauth_required",
1969
+ "connection_not_pending",
1970
+ "not_implemented",
1971
+ "connection_discovery_failed",
1972
+ "tiktok_creator_info_unavailable",
1973
+ "tiktok_cannot_post_now",
1974
+ "media_processing",
1975
+ "media_upload_init_failed",
1976
+ "media_upload_incomplete",
1977
+ "not_publishable",
1978
+ "invalid_connection",
1979
+ "invalid_media",
1980
+ "profile_scope_invalid",
1981
+ "media_unprobeable",
1982
+ "media_too_large",
1983
+ "media_aspect_ratio_unsupported",
1984
+ "media_resolution_too_low",
1985
+ "media_gif_unsupported",
1986
+ "media_format_recompressed",
1987
+ "media_resolution_downscaled",
1988
+ "video_container_unsupported",
1989
+ "video_codec_unsupported",
1990
+ "video_audio_codec_unsupported",
1991
+ "video_too_large",
1992
+ "video_too_small",
1993
+ "video_dimensions_unsupported",
1994
+ "video_dimensions_too_large",
1995
+ "video_fps_unsupported",
1996
+ "video_fps_too_low",
1997
+ "video_aspect_unsupported",
1998
+ "video_duration_too_short",
1999
+ "video_duration_exceeds_max",
2000
+ "video_transform_failed",
2001
+ "media_fetch_failed",
2002
+ "document_format_unsupported",
2003
+ "document_too_large",
2004
+ "document_too_many_pages",
2005
+ "media_format_indeterminate",
2006
+ "media_format_unsupported",
2007
+ "media_count_invalid",
2008
+ "body_too_long",
2009
+ "content_missing",
2010
+ "content_conflict",
2011
+ "content_incomplete",
2012
+ "content_kind_mismatch",
2013
+ "media_type_mismatch",
2014
+ "tag_limit_exceeded",
2015
+ "reel_field_on_non_reel",
2016
+ "field_placement_invalid",
2017
+ "media_not_ready",
2018
+ "media_failed",
2019
+ "media_unsupported",
2020
+ "media_kind_mismatch",
2021
+ "variant_unparseable",
2022
+ "publishing_unavailable",
2023
+ "x_duplicate_content",
2024
+ "x_not_authorized",
2025
+ "x_access_not_permitted",
2026
+ "x_rate_limited",
2027
+ "x_publish_failed",
2028
+ "x_media_upload_failed",
2029
+ "linkedin_duplicate_content",
2030
+ "linkedin_auth_expired",
2031
+ "linkedin_permission_denied",
2032
+ "linkedin_rate_limited",
2033
+ "linkedin_media_processing",
2034
+ "linkedin_media_failed",
2035
+ "linkedin_media_upload_failed",
2036
+ "linkedin_publish_failed",
2037
+ "instagram_media_processing",
2038
+ "instagram_container_expired",
2039
+ "instagram_container_failed",
2040
+ "instagram_rate_limited",
2041
+ "instagram_daily_limit_reached",
2042
+ "instagram_aspect_ratio_unsupported",
2043
+ "instagram_media_unsupported",
2044
+ "instagram_not_authorized",
2045
+ "instagram_publish_failed",
2046
+ "facebook_reel_processing",
2047
+ "facebook_reel_failed",
2048
+ "facebook_rate_limited",
2049
+ "facebook_duplicate_content",
2050
+ "facebook_temporarily_blocked",
2051
+ "facebook_not_authorized",
2052
+ "facebook_publish_failed",
2053
+ "tiktok_privacy_not_allowed",
2054
+ "tiktok_duration_exceeds_max",
2055
+ "tiktok_media_processing",
2056
+ "tiktok_not_authorized",
2057
+ "tiktok_rate_limited",
2058
+ "tiktok_url_ownership_unverified",
2059
+ "tiktok_unaudited_private_only",
2060
+ "tiktok_spam_risk",
2061
+ "tiktok_file_format_invalid",
2062
+ "tiktok_duration_invalid",
2063
+ "tiktok_frame_rate_invalid",
2064
+ "tiktok_resolution_invalid",
2065
+ "tiktok_media_pull_failed",
2066
+ "tiktok_server_error",
2067
+ "tiktok_publish_failed",
2068
+ "google_rate_limited",
2069
+ "google_server_error",
2070
+ "google_auth_expired",
2071
+ "google_permission_denied",
2072
+ "google_request_failed",
2073
+ "google_conversion_duplicate",
2074
+ "google_conversion_invalid_click_id",
2075
+ "google_conversion_event_too_old",
2076
+ "google_conversion_consent_required",
2077
+ "google_conversion_terms_not_signed",
2078
+ "google_conversion_rejected",
2079
+ "post_publish_failed",
2080
+ "post_partially_published",
2081
+ "connection_platform_mismatch",
2082
+ "connection_removed"
2083
+ ]),
1446
2084
  message: z__namespace.string(),
1447
2085
  display_error: z__namespace.string()
1448
2086
  }).nullable(),
1449
2087
  media: z__namespace.array(z__namespace.object({
1450
2088
  media_id: z__namespace.string(),
1451
2089
  position: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
1452
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullable(),
1453
2090
  alt_text_override: z__namespace.string().nullable(),
1454
2091
  media: zMedia
1455
2092
  }))
@@ -1539,7 +2176,6 @@ var zPostVariantInput = z__namespace.union([
1539
2176
  body: z__namespace.string().optional(),
1540
2177
  media: z__namespace.array(z__namespace.object({
1541
2178
  media_id: z__namespace.string(),
1542
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
1543
2179
  alt_text_override: z__namespace.string().nullish()
1544
2180
  })).optional().default([])
1545
2181
  }),
@@ -1592,7 +2228,6 @@ var zPostVariantInput = z__namespace.union([
1592
2228
  body: z__namespace.string().optional(),
1593
2229
  media: z__namespace.array(z__namespace.object({
1594
2230
  media_id: z__namespace.string(),
1595
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
1596
2231
  alt_text_override: z__namespace.string().nullish()
1597
2232
  })).optional().default([])
1598
2233
  }),
@@ -1625,7 +2260,6 @@ var zPostVariantInput = z__namespace.union([
1625
2260
  body: z__namespace.string().optional(),
1626
2261
  media: z__namespace.array(z__namespace.object({
1627
2262
  media_id: z__namespace.string(),
1628
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
1629
2263
  alt_text_override: z__namespace.string().nullish()
1630
2264
  })).optional().default([])
1631
2265
  }),
@@ -1644,7 +2278,6 @@ var zPostVariantInput = z__namespace.union([
1644
2278
  body: z__namespace.string().optional(),
1645
2279
  media: z__namespace.array(z__namespace.object({
1646
2280
  media_id: z__namespace.string(),
1647
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
1648
2281
  alt_text_override: z__namespace.string().nullish()
1649
2282
  })).optional().default([])
1650
2283
  }),
@@ -1671,7 +2304,6 @@ var zPostVariantInput = z__namespace.union([
1671
2304
  body: z__namespace.string().optional(),
1672
2305
  media: z__namespace.array(z__namespace.object({
1673
2306
  media_id: z__namespace.string(),
1674
- crop_box: z__namespace.record(z__namespace.string(), z__namespace.unknown()).nullish(),
1675
2307
  alt_text_override: z__namespace.string().nullish()
1676
2308
  })).optional().default([])
1677
2309
  })
@@ -1931,7 +2563,9 @@ var zGoogleAdsCampaignCriterion = z__namespace.union([
1931
2563
  "VIDEO_LINEUP",
1932
2564
  "PLACEMENT_LIST",
1933
2565
  "VERTICAL_ADS_ITEM_GROUP_RULE_LIST",
1934
- "VERTICAL_ADS_ITEM_GROUP_RULE"
2566
+ "VERTICAL_ADS_ITEM_GROUP_RULE",
2567
+ "RETAIL_FILTER_BUNDLE",
2568
+ "RETAIL_FILTER"
1935
2569
  ]),
1936
2570
  criterion_id: z__namespace.string()
1937
2571
  })
@@ -2101,7 +2735,9 @@ var zGoogleAdsAdGroupCriterion = z__namespace.union([
2101
2735
  "VIDEO_LINEUP",
2102
2736
  "PLACEMENT_LIST",
2103
2737
  "VERTICAL_ADS_ITEM_GROUP_RULE_LIST",
2104
- "VERTICAL_ADS_ITEM_GROUP_RULE"
2738
+ "VERTICAL_ADS_ITEM_GROUP_RULE",
2739
+ "RETAIL_FILTER_BUNDLE",
2740
+ "RETAIL_FILTER"
2105
2741
  ]),
2106
2742
  criterion_id: z__namespace.string()
2107
2743
  })
@@ -2120,6 +2756,10 @@ var zGoogleAdsGeoTargetConstant = z__namespace.object({
2120
2756
  "REMOVAL_PLANNED"
2121
2757
  ])
2122
2758
  });
2759
+ var zGoogleAdsUrlCustomParameter = z__namespace.object({
2760
+ key: z__namespace.string().min(1).regex(/^[A-Za-z0-9]+$/),
2761
+ value: z__namespace.string()
2762
+ });
2123
2763
  z__namespace.object({
2124
2764
  id: z__namespace.string().nullable(),
2125
2765
  resource_name: z__namespace.string().nullable(),
@@ -2327,6 +2967,189 @@ z__namespace.object({
2327
2967
  object: z__namespace.literal("list"),
2328
2968
  data: z__namespace.array(zGoogleAdTreeNode)
2329
2969
  });
2970
+ var zGoogleAdsConversionConsent = z__namespace.object({
2971
+ ad_user_data: z__namespace.enum(["CONSENT_GRANTED", "CONSENT_DENIED"]).optional(),
2972
+ ad_personalization: z__namespace.enum(["CONSENT_GRANTED", "CONSENT_DENIED"]).optional()
2973
+ });
2974
+ var zGoogleAdsConversionUserIdentifier = z__namespace.object({
2975
+ email_address: z__namespace.string().min(1).optional(),
2976
+ phone_number: z__namespace.string().min(1).optional(),
2977
+ address: z__namespace.object({
2978
+ given_name: z__namespace.string().min(1).optional(),
2979
+ family_name: z__namespace.string().min(1).optional(),
2980
+ region_code: z__namespace.string().min(1).optional(),
2981
+ postal_code: z__namespace.string().min(1).optional()
2982
+ }).optional()
2983
+ });
2984
+ var zGoogleAdsConversionEvent = z__namespace.object({
2985
+ event_timestamp: z__namespace.iso.datetime(),
2986
+ order_id: z__namespace.string().optional(),
2987
+ gclid: z__namespace.string().optional(),
2988
+ gbraid: z__namespace.string().optional(),
2989
+ wbraid: z__namespace.string().optional(),
2990
+ user_data: z__namespace.array(zGoogleAdsConversionUserIdentifier).min(1).max(10).optional(),
2991
+ currency: z__namespace.string().length(3).optional(),
2992
+ conversion_value: z__namespace.number().gte(0).optional(),
2993
+ consent: zGoogleAdsConversionConsent.optional()
2994
+ });
2995
+ z__namespace.object({
2996
+ request_id: z__namespace.string().nullable(),
2997
+ status: z__namespace.enum(["accepted", "validated"]),
2998
+ dry_run: z__namespace.boolean(),
2999
+ executed: z__namespace.boolean()
3000
+ });
3001
+ var zGoogleAdsConversionStatusReason = z__namespace.object({
3002
+ reason: z__namespace.string(),
3003
+ count: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
3004
+ code: z__namespace.enum([
3005
+ "unauthorized",
3006
+ "forbidden",
3007
+ "not_found",
3008
+ "conflict",
3009
+ "validation_failed",
3010
+ "rate_limited",
3011
+ "internal_error",
3012
+ "idempotency_key_invalid",
3013
+ "idempotency_key_reused",
3014
+ "idempotency_request_in_progress",
3015
+ "account_not_available",
3016
+ "connection_reauth_required",
3017
+ "connection_not_pending",
3018
+ "not_implemented",
3019
+ "connection_discovery_failed",
3020
+ "tiktok_creator_info_unavailable",
3021
+ "tiktok_cannot_post_now",
3022
+ "media_processing",
3023
+ "media_upload_init_failed",
3024
+ "media_upload_incomplete",
3025
+ "not_publishable",
3026
+ "invalid_connection",
3027
+ "invalid_media",
3028
+ "profile_scope_invalid",
3029
+ "media_unprobeable",
3030
+ "media_too_large",
3031
+ "media_aspect_ratio_unsupported",
3032
+ "media_resolution_too_low",
3033
+ "media_gif_unsupported",
3034
+ "media_format_recompressed",
3035
+ "media_resolution_downscaled",
3036
+ "video_container_unsupported",
3037
+ "video_codec_unsupported",
3038
+ "video_audio_codec_unsupported",
3039
+ "video_too_large",
3040
+ "video_too_small",
3041
+ "video_dimensions_unsupported",
3042
+ "video_dimensions_too_large",
3043
+ "video_fps_unsupported",
3044
+ "video_fps_too_low",
3045
+ "video_aspect_unsupported",
3046
+ "video_duration_too_short",
3047
+ "video_duration_exceeds_max",
3048
+ "video_transform_failed",
3049
+ "media_fetch_failed",
3050
+ "document_format_unsupported",
3051
+ "document_too_large",
3052
+ "document_too_many_pages",
3053
+ "media_format_indeterminate",
3054
+ "media_format_unsupported",
3055
+ "media_count_invalid",
3056
+ "body_too_long",
3057
+ "content_missing",
3058
+ "content_conflict",
3059
+ "content_incomplete",
3060
+ "content_kind_mismatch",
3061
+ "media_type_mismatch",
3062
+ "tag_limit_exceeded",
3063
+ "reel_field_on_non_reel",
3064
+ "field_placement_invalid",
3065
+ "media_not_ready",
3066
+ "media_failed",
3067
+ "media_unsupported",
3068
+ "media_kind_mismatch",
3069
+ "variant_unparseable",
3070
+ "publishing_unavailable",
3071
+ "x_duplicate_content",
3072
+ "x_not_authorized",
3073
+ "x_access_not_permitted",
3074
+ "x_rate_limited",
3075
+ "x_publish_failed",
3076
+ "x_media_upload_failed",
3077
+ "linkedin_duplicate_content",
3078
+ "linkedin_auth_expired",
3079
+ "linkedin_permission_denied",
3080
+ "linkedin_rate_limited",
3081
+ "linkedin_media_processing",
3082
+ "linkedin_media_failed",
3083
+ "linkedin_media_upload_failed",
3084
+ "linkedin_publish_failed",
3085
+ "instagram_media_processing",
3086
+ "instagram_container_expired",
3087
+ "instagram_container_failed",
3088
+ "instagram_rate_limited",
3089
+ "instagram_daily_limit_reached",
3090
+ "instagram_aspect_ratio_unsupported",
3091
+ "instagram_media_unsupported",
3092
+ "instagram_not_authorized",
3093
+ "instagram_publish_failed",
3094
+ "facebook_reel_processing",
3095
+ "facebook_reel_failed",
3096
+ "facebook_rate_limited",
3097
+ "facebook_duplicate_content",
3098
+ "facebook_temporarily_blocked",
3099
+ "facebook_not_authorized",
3100
+ "facebook_publish_failed",
3101
+ "tiktok_privacy_not_allowed",
3102
+ "tiktok_duration_exceeds_max",
3103
+ "tiktok_media_processing",
3104
+ "tiktok_not_authorized",
3105
+ "tiktok_rate_limited",
3106
+ "tiktok_url_ownership_unverified",
3107
+ "tiktok_unaudited_private_only",
3108
+ "tiktok_spam_risk",
3109
+ "tiktok_file_format_invalid",
3110
+ "tiktok_duration_invalid",
3111
+ "tiktok_frame_rate_invalid",
3112
+ "tiktok_resolution_invalid",
3113
+ "tiktok_media_pull_failed",
3114
+ "tiktok_server_error",
3115
+ "tiktok_publish_failed",
3116
+ "google_rate_limited",
3117
+ "google_server_error",
3118
+ "google_auth_expired",
3119
+ "google_permission_denied",
3120
+ "google_request_failed",
3121
+ "google_conversion_duplicate",
3122
+ "google_conversion_invalid_click_id",
3123
+ "google_conversion_event_too_old",
3124
+ "google_conversion_consent_required",
3125
+ "google_conversion_terms_not_signed",
3126
+ "google_conversion_rejected",
3127
+ "post_publish_failed",
3128
+ "post_partially_published",
3129
+ "connection_platform_mismatch",
3130
+ "connection_removed"
3131
+ ]),
3132
+ display_error: z__namespace.string()
3133
+ });
3134
+ var zGoogleAdsConversionWarning = z__namespace.object({
3135
+ reason: z__namespace.string(),
3136
+ count: z__namespace.int().gte(-9007199254740991).lte(9007199254740991)
3137
+ });
3138
+ z__namespace.object({
3139
+ request_id: z__namespace.string(),
3140
+ destinations: z__namespace.array(z__namespace.object({
3141
+ request_status: z__namespace.enum([
3142
+ "REQUEST_STATUS_UNKNOWN",
3143
+ "SUCCESS",
3144
+ "PROCESSING",
3145
+ "FAILED",
3146
+ "PARTIAL_SUCCESS"
3147
+ ]),
3148
+ events_submitted: z__namespace.int().gte(-9007199254740991).lte(9007199254740991).nullable(),
3149
+ errors: z__namespace.array(zGoogleAdsConversionStatusReason),
3150
+ warnings: z__namespace.array(zGoogleAdsConversionWarning)
3151
+ }))
3152
+ });
2330
3153
  z__namespace.string().min(1).max(255);
2331
3154
  z__namespace.object({
2332
3155
  limit: z__namespace.int().gte(1).lte(100).optional().default(20),
@@ -2854,6 +3677,7 @@ z__namespace.object({
2854
3677
  "not_implemented",
2855
3678
  "connection_discovery_failed",
2856
3679
  "tiktok_creator_info_unavailable",
3680
+ "tiktok_cannot_post_now",
2857
3681
  "media_processing",
2858
3682
  "media_upload_init_failed",
2859
3683
  "media_upload_incomplete",
@@ -2953,6 +3777,12 @@ z__namespace.object({
2953
3777
  "google_auth_expired",
2954
3778
  "google_permission_denied",
2955
3779
  "google_request_failed",
3780
+ "google_conversion_duplicate",
3781
+ "google_conversion_invalid_click_id",
3782
+ "google_conversion_event_too_old",
3783
+ "google_conversion_consent_required",
3784
+ "google_conversion_terms_not_signed",
3785
+ "google_conversion_rejected",
2956
3786
  "post_publish_failed",
2957
3787
  "post_partially_published",
2958
3788
  "connection_platform_mismatch",
@@ -3194,7 +4024,20 @@ z__namespace.object({
3194
4024
  "CLOSED"
3195
4025
  ]),
3196
4026
  manager: z__namespace.boolean(),
3197
- test_account: z__namespace.boolean()
4027
+ test_account: z__namespace.boolean(),
4028
+ tracking_url_template: z__namespace.string().nullable(),
4029
+ final_url_suffix: z__namespace.string().nullable()
4030
+ });
4031
+ z__namespace.object({
4032
+ tracking_url_template: z__namespace.string().min(1).optional(),
4033
+ final_url_suffix: z__namespace.string().min(1).optional(),
4034
+ dry_run: z__namespace.boolean().optional().default(false)
4035
+ });
4036
+ z__namespace.object({
4037
+ "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
4038
+ });
4039
+ z__namespace.object({
4040
+ connection_id: z__namespace.string()
3198
4041
  });
3199
4042
  z__namespace.object({
3200
4043
  level: zGoogleAdsInsightLevel.optional().default("campaign"),
@@ -3327,7 +4170,10 @@ z__namespace.object({
3327
4170
  "TARGET_SPEND"
3328
4171
  ]),
3329
4172
  start_date_time: z__namespace.string().nullable(),
3330
- end_date_time: z__namespace.string().nullable()
4173
+ end_date_time: z__namespace.string().nullable(),
4174
+ tracking_url_template: z__namespace.string().nullable(),
4175
+ final_url_suffix: z__namespace.string().nullable(),
4176
+ url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).max(8).optional().default([])
3331
4177
  }))
3332
4178
  });
3333
4179
  z__namespace.object({
@@ -3405,10 +4251,16 @@ z__namespace.object({
3405
4251
  "TARGET_SPEND"
3406
4252
  ]),
3407
4253
  start_date_time: z__namespace.string().nullable(),
3408
- end_date_time: z__namespace.string().nullable()
4254
+ end_date_time: z__namespace.string().nullable(),
4255
+ tracking_url_template: z__namespace.string().nullable(),
4256
+ final_url_suffix: z__namespace.string().nullable(),
4257
+ url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).max(8).optional().default([])
3409
4258
  });
3410
4259
  z__namespace.object({
3411
- name: z__namespace.string().min(1).max(255),
4260
+ name: z__namespace.string().min(1).max(255).optional(),
4261
+ tracking_url_template: z__namespace.string().min(1).optional(),
4262
+ final_url_suffix: z__namespace.string().min(1).optional(),
4263
+ url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).min(1).max(8).optional(),
3412
4264
  dry_run: z__namespace.boolean().optional().default(false)
3413
4265
  });
3414
4266
  z__namespace.object({
@@ -3982,7 +4834,16 @@ z__namespace.object({
3982
4834
  "UNIVERSAL_ANALYTICS_GOAL",
3983
4835
  "UNIVERSAL_ANALYTICS_TRANSACTION",
3984
4836
  "GOOGLE_ANALYTICS_4_CUSTOM",
3985
- "GOOGLE_ANALYTICS_4_PURCHASE"
4837
+ "GOOGLE_ANALYTICS_4_PURCHASE",
4838
+ "GOOGLE_ANALYTICS_4_GENERATE_LEAD",
4839
+ "GOOGLE_ANALYTICS_4_QUALIFY_LEAD",
4840
+ "GOOGLE_ANALYTICS_4_CLOSE_CONVERT_LEAD",
4841
+ "FIREBASE_ANDROID_GENERATE_LEAD",
4842
+ "FIREBASE_ANDROID_QUALIFY_LEAD",
4843
+ "FIREBASE_ANDROID_CLOSE_CONVERT_LEAD",
4844
+ "FIREBASE_IOS_GENERATE_LEAD",
4845
+ "FIREBASE_IOS_QUALIFY_LEAD",
4846
+ "FIREBASE_IOS_CLOSE_CONVERT_LEAD"
3986
4847
  ]),
3987
4848
  category: z__namespace.enum([
3988
4849
  "UNSPECIFIED",
@@ -4007,7 +4868,8 @@ z__namespace.object({
4007
4868
  "STORE_VISIT",
4008
4869
  "STORE_SALE",
4009
4870
  "QUALIFIED_LEAD",
4010
- "CONVERTED_LEAD"
4871
+ "CONVERTED_LEAD",
4872
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4011
4873
  ]),
4012
4874
  origin: z__namespace.enum([
4013
4875
  "UNSPECIFIED",
@@ -4075,7 +4937,8 @@ z__namespace.object({
4075
4937
  "STORE_VISIT",
4076
4938
  "STORE_SALE",
4077
4939
  "QUALIFIED_LEAD",
4078
- "CONVERTED_LEAD"
4940
+ "CONVERTED_LEAD",
4941
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4079
4942
  ]),
4080
4943
  status: z__namespace.enum(["ENABLED"]).optional().default("ENABLED"),
4081
4944
  value_settings: z__namespace.object({
@@ -4150,7 +5013,16 @@ z__namespace.object({
4150
5013
  "UNIVERSAL_ANALYTICS_GOAL",
4151
5014
  "UNIVERSAL_ANALYTICS_TRANSACTION",
4152
5015
  "GOOGLE_ANALYTICS_4_CUSTOM",
4153
- "GOOGLE_ANALYTICS_4_PURCHASE"
5016
+ "GOOGLE_ANALYTICS_4_PURCHASE",
5017
+ "GOOGLE_ANALYTICS_4_GENERATE_LEAD",
5018
+ "GOOGLE_ANALYTICS_4_QUALIFY_LEAD",
5019
+ "GOOGLE_ANALYTICS_4_CLOSE_CONVERT_LEAD",
5020
+ "FIREBASE_ANDROID_GENERATE_LEAD",
5021
+ "FIREBASE_ANDROID_QUALIFY_LEAD",
5022
+ "FIREBASE_ANDROID_CLOSE_CONVERT_LEAD",
5023
+ "FIREBASE_IOS_GENERATE_LEAD",
5024
+ "FIREBASE_IOS_QUALIFY_LEAD",
5025
+ "FIREBASE_IOS_CLOSE_CONVERT_LEAD"
4154
5026
  ]),
4155
5027
  category: z__namespace.enum([
4156
5028
  "UNSPECIFIED",
@@ -4175,7 +5047,8 @@ z__namespace.object({
4175
5047
  "STORE_VISIT",
4176
5048
  "STORE_SALE",
4177
5049
  "QUALIFIED_LEAD",
4178
- "CONVERTED_LEAD"
5050
+ "CONVERTED_LEAD",
5051
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4179
5052
  ]),
4180
5053
  origin: z__namespace.enum([
4181
5054
  "UNSPECIFIED",
@@ -4218,6 +5091,24 @@ z__namespace.object({
4218
5091
  event_snippet: z__namespace.string().nullable()
4219
5092
  }))
4220
5093
  });
5094
+ z__namespace.object({
5095
+ conversion_action_id: z__namespace.string().regex(/^\d+$/),
5096
+ conversions: z__namespace.array(zGoogleAdsConversionEvent).min(1).max(2e3),
5097
+ consent: zGoogleAdsConversionConsent.optional(),
5098
+ dry_run: z__namespace.boolean().optional().default(false)
5099
+ });
5100
+ z__namespace.object({
5101
+ "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
5102
+ });
5103
+ z__namespace.object({
5104
+ connection_id: z__namespace.string()
5105
+ });
5106
+ z__namespace.object({
5107
+ connection_id: z__namespace.string()
5108
+ });
5109
+ z__namespace.object({
5110
+ request_id: z__namespace.string().min(1)
5111
+ });
4221
5112
  z__namespace.object({
4222
5113
  connection_id: z__namespace.string()
4223
5114
  });
@@ -4247,7 +5138,8 @@ z__namespace.object({
4247
5138
  "STORE_VISIT",
4248
5139
  "STORE_SALE",
4249
5140
  "QUALIFIED_LEAD",
4250
- "CONVERTED_LEAD"
5141
+ "CONVERTED_LEAD",
5142
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4251
5143
  ]),
4252
5144
  origin: z__namespace.enum([
4253
5145
  "UNSPECIFIED",
@@ -4284,7 +5176,8 @@ z__namespace.object({
4284
5176
  "STORE_VISIT",
4285
5177
  "STORE_SALE",
4286
5178
  "QUALIFIED_LEAD",
4287
- "CONVERTED_LEAD"
5179
+ "CONVERTED_LEAD",
5180
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4288
5181
  ]),
4289
5182
  origin: z__namespace.enum([
4290
5183
  "WEBSITE",
@@ -4327,7 +5220,8 @@ z__namespace.object({
4327
5220
  "STORE_VISIT",
4328
5221
  "STORE_SALE",
4329
5222
  "QUALIFIED_LEAD",
4330
- "CONVERTED_LEAD"
5223
+ "CONVERTED_LEAD",
5224
+ "YOUTUBE_FOLLOW_ON_VIEWS"
4331
5225
  ]),
4332
5226
  origin: z__namespace.enum([
4333
5227
  "UNSPECIFIED",
@@ -4343,45 +5237,6 @@ z__namespace.object({
4343
5237
  dry_run: z__namespace.boolean(),
4344
5238
  executed: z__namespace.boolean()
4345
5239
  });
4346
- z__namespace.object({
4347
- conversions: z__namespace.array(z__namespace.object({
4348
- conversion_action: z__namespace.string().min(1),
4349
- conversion_date_time: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}[+-]\d{2}:\d{2}$/),
4350
- conversion_value: z__namespace.number().gte(0).optional(),
4351
- currency_code: z__namespace.string().length(3).optional(),
4352
- order_id: z__namespace.string().optional(),
4353
- gclid: z__namespace.string().optional(),
4354
- gbraid: z__namespace.string().optional(),
4355
- wbraid: z__namespace.string().optional(),
4356
- user_identifiers: z__namespace.array(z__namespace.object({
4357
- hashed_email: z__namespace.string().regex(/^[a-f0-9]{64}$/).optional(),
4358
- hashed_phone_number: z__namespace.string().regex(/^[a-f0-9]{64}$/).optional(),
4359
- user_identifier_source: z__namespace.enum(["FIRST_PARTY", "THIRD_PARTY"]).optional()
4360
- })).min(1).max(5).optional(),
4361
- consent: z__namespace.object({
4362
- ad_user_data: z__namespace.enum(["GRANTED", "DENIED"]).optional(),
4363
- ad_personalization: z__namespace.enum(["GRANTED", "DENIED"]).optional()
4364
- }).optional()
4365
- })).min(1).max(2e3),
4366
- dry_run: z__namespace.boolean().optional().default(false)
4367
- });
4368
- z__namespace.object({
4369
- "Idempotency-Key": z__namespace.string().min(1).max(255).optional()
4370
- });
4371
- z__namespace.object({
4372
- connection_id: z__namespace.string()
4373
- });
4374
- z__namespace.object({
4375
- received: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
4376
- succeeded: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
4377
- failed: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
4378
- errors: z__namespace.array(z__namespace.object({
4379
- index: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
4380
- error_code: z__namespace.string(),
4381
- message: z__namespace.string()
4382
- })),
4383
- dry_run: z__namespace.boolean()
4384
- });
4385
5240
  z__namespace.object({
4386
5241
  media_id: z__namespace.string(),
4387
5242
  dry_run: z__namespace.boolean().optional().default(false)
@@ -4456,7 +5311,137 @@ z__namespace.object({
4456
5311
  request_path: z__namespace.string().nullable(),
4457
5312
  request_body: z__namespace.unknown().nullish(),
4458
5313
  response_body: z__namespace.unknown().nullish(),
4459
- error: z__namespace.unknown().nullish(),
5314
+ error: z__namespace.object({
5315
+ code: z__namespace.enum([
5316
+ "unauthorized",
5317
+ "forbidden",
5318
+ "not_found",
5319
+ "conflict",
5320
+ "validation_failed",
5321
+ "rate_limited",
5322
+ "internal_error",
5323
+ "idempotency_key_invalid",
5324
+ "idempotency_key_reused",
5325
+ "idempotency_request_in_progress",
5326
+ "account_not_available",
5327
+ "connection_reauth_required",
5328
+ "connection_not_pending",
5329
+ "not_implemented",
5330
+ "connection_discovery_failed",
5331
+ "tiktok_creator_info_unavailable",
5332
+ "tiktok_cannot_post_now",
5333
+ "media_processing",
5334
+ "media_upload_init_failed",
5335
+ "media_upload_incomplete",
5336
+ "not_publishable",
5337
+ "invalid_connection",
5338
+ "invalid_media",
5339
+ "profile_scope_invalid",
5340
+ "media_unprobeable",
5341
+ "media_too_large",
5342
+ "media_aspect_ratio_unsupported",
5343
+ "media_resolution_too_low",
5344
+ "media_gif_unsupported",
5345
+ "media_format_recompressed",
5346
+ "media_resolution_downscaled",
5347
+ "video_container_unsupported",
5348
+ "video_codec_unsupported",
5349
+ "video_audio_codec_unsupported",
5350
+ "video_too_large",
5351
+ "video_too_small",
5352
+ "video_dimensions_unsupported",
5353
+ "video_dimensions_too_large",
5354
+ "video_fps_unsupported",
5355
+ "video_fps_too_low",
5356
+ "video_aspect_unsupported",
5357
+ "video_duration_too_short",
5358
+ "video_duration_exceeds_max",
5359
+ "video_transform_failed",
5360
+ "media_fetch_failed",
5361
+ "document_format_unsupported",
5362
+ "document_too_large",
5363
+ "document_too_many_pages",
5364
+ "media_format_indeterminate",
5365
+ "media_format_unsupported",
5366
+ "media_count_invalid",
5367
+ "body_too_long",
5368
+ "content_missing",
5369
+ "content_conflict",
5370
+ "content_incomplete",
5371
+ "content_kind_mismatch",
5372
+ "media_type_mismatch",
5373
+ "tag_limit_exceeded",
5374
+ "reel_field_on_non_reel",
5375
+ "field_placement_invalid",
5376
+ "media_not_ready",
5377
+ "media_failed",
5378
+ "media_unsupported",
5379
+ "media_kind_mismatch",
5380
+ "variant_unparseable",
5381
+ "publishing_unavailable",
5382
+ "x_duplicate_content",
5383
+ "x_not_authorized",
5384
+ "x_access_not_permitted",
5385
+ "x_rate_limited",
5386
+ "x_publish_failed",
5387
+ "x_media_upload_failed",
5388
+ "linkedin_duplicate_content",
5389
+ "linkedin_auth_expired",
5390
+ "linkedin_permission_denied",
5391
+ "linkedin_rate_limited",
5392
+ "linkedin_media_processing",
5393
+ "linkedin_media_failed",
5394
+ "linkedin_media_upload_failed",
5395
+ "linkedin_publish_failed",
5396
+ "instagram_media_processing",
5397
+ "instagram_container_expired",
5398
+ "instagram_container_failed",
5399
+ "instagram_rate_limited",
5400
+ "instagram_daily_limit_reached",
5401
+ "instagram_aspect_ratio_unsupported",
5402
+ "instagram_media_unsupported",
5403
+ "instagram_not_authorized",
5404
+ "instagram_publish_failed",
5405
+ "facebook_reel_processing",
5406
+ "facebook_reel_failed",
5407
+ "facebook_rate_limited",
5408
+ "facebook_duplicate_content",
5409
+ "facebook_temporarily_blocked",
5410
+ "facebook_not_authorized",
5411
+ "facebook_publish_failed",
5412
+ "tiktok_privacy_not_allowed",
5413
+ "tiktok_duration_exceeds_max",
5414
+ "tiktok_media_processing",
5415
+ "tiktok_not_authorized",
5416
+ "tiktok_rate_limited",
5417
+ "tiktok_url_ownership_unverified",
5418
+ "tiktok_unaudited_private_only",
5419
+ "tiktok_spam_risk",
5420
+ "tiktok_file_format_invalid",
5421
+ "tiktok_duration_invalid",
5422
+ "tiktok_frame_rate_invalid",
5423
+ "tiktok_resolution_invalid",
5424
+ "tiktok_media_pull_failed",
5425
+ "tiktok_server_error",
5426
+ "tiktok_publish_failed",
5427
+ "google_rate_limited",
5428
+ "google_server_error",
5429
+ "google_auth_expired",
5430
+ "google_permission_denied",
5431
+ "google_request_failed",
5432
+ "google_conversion_duplicate",
5433
+ "google_conversion_invalid_click_id",
5434
+ "google_conversion_event_too_old",
5435
+ "google_conversion_consent_required",
5436
+ "google_conversion_terms_not_signed",
5437
+ "google_conversion_rejected",
5438
+ "post_publish_failed",
5439
+ "post_partially_published",
5440
+ "connection_platform_mismatch",
5441
+ "connection_removed"
5442
+ ]),
5443
+ message: z__namespace.string()
5444
+ }).nullable(),
4460
5445
  outcome: z__namespace.object({
4461
5446
  status: z__namespace.enum([
4462
5447
  "draft",
@@ -4487,7 +5472,134 @@ z__namespace.object({
4487
5472
  permalink: z__namespace.string().nullable(),
4488
5473
  published_at: z__namespace.string().nullable(),
4489
5474
  error: z__namespace.object({
4490
- code: z__namespace.string(),
5475
+ code: z__namespace.enum([
5476
+ "unauthorized",
5477
+ "forbidden",
5478
+ "not_found",
5479
+ "conflict",
5480
+ "validation_failed",
5481
+ "rate_limited",
5482
+ "internal_error",
5483
+ "idempotency_key_invalid",
5484
+ "idempotency_key_reused",
5485
+ "idempotency_request_in_progress",
5486
+ "account_not_available",
5487
+ "connection_reauth_required",
5488
+ "connection_not_pending",
5489
+ "not_implemented",
5490
+ "connection_discovery_failed",
5491
+ "tiktok_creator_info_unavailable",
5492
+ "tiktok_cannot_post_now",
5493
+ "media_processing",
5494
+ "media_upload_init_failed",
5495
+ "media_upload_incomplete",
5496
+ "not_publishable",
5497
+ "invalid_connection",
5498
+ "invalid_media",
5499
+ "profile_scope_invalid",
5500
+ "media_unprobeable",
5501
+ "media_too_large",
5502
+ "media_aspect_ratio_unsupported",
5503
+ "media_resolution_too_low",
5504
+ "media_gif_unsupported",
5505
+ "media_format_recompressed",
5506
+ "media_resolution_downscaled",
5507
+ "video_container_unsupported",
5508
+ "video_codec_unsupported",
5509
+ "video_audio_codec_unsupported",
5510
+ "video_too_large",
5511
+ "video_too_small",
5512
+ "video_dimensions_unsupported",
5513
+ "video_dimensions_too_large",
5514
+ "video_fps_unsupported",
5515
+ "video_fps_too_low",
5516
+ "video_aspect_unsupported",
5517
+ "video_duration_too_short",
5518
+ "video_duration_exceeds_max",
5519
+ "video_transform_failed",
5520
+ "media_fetch_failed",
5521
+ "document_format_unsupported",
5522
+ "document_too_large",
5523
+ "document_too_many_pages",
5524
+ "media_format_indeterminate",
5525
+ "media_format_unsupported",
5526
+ "media_count_invalid",
5527
+ "body_too_long",
5528
+ "content_missing",
5529
+ "content_conflict",
5530
+ "content_incomplete",
5531
+ "content_kind_mismatch",
5532
+ "media_type_mismatch",
5533
+ "tag_limit_exceeded",
5534
+ "reel_field_on_non_reel",
5535
+ "field_placement_invalid",
5536
+ "media_not_ready",
5537
+ "media_failed",
5538
+ "media_unsupported",
5539
+ "media_kind_mismatch",
5540
+ "variant_unparseable",
5541
+ "publishing_unavailable",
5542
+ "x_duplicate_content",
5543
+ "x_not_authorized",
5544
+ "x_access_not_permitted",
5545
+ "x_rate_limited",
5546
+ "x_publish_failed",
5547
+ "x_media_upload_failed",
5548
+ "linkedin_duplicate_content",
5549
+ "linkedin_auth_expired",
5550
+ "linkedin_permission_denied",
5551
+ "linkedin_rate_limited",
5552
+ "linkedin_media_processing",
5553
+ "linkedin_media_failed",
5554
+ "linkedin_media_upload_failed",
5555
+ "linkedin_publish_failed",
5556
+ "instagram_media_processing",
5557
+ "instagram_container_expired",
5558
+ "instagram_container_failed",
5559
+ "instagram_rate_limited",
5560
+ "instagram_daily_limit_reached",
5561
+ "instagram_aspect_ratio_unsupported",
5562
+ "instagram_media_unsupported",
5563
+ "instagram_not_authorized",
5564
+ "instagram_publish_failed",
5565
+ "facebook_reel_processing",
5566
+ "facebook_reel_failed",
5567
+ "facebook_rate_limited",
5568
+ "facebook_duplicate_content",
5569
+ "facebook_temporarily_blocked",
5570
+ "facebook_not_authorized",
5571
+ "facebook_publish_failed",
5572
+ "tiktok_privacy_not_allowed",
5573
+ "tiktok_duration_exceeds_max",
5574
+ "tiktok_media_processing",
5575
+ "tiktok_not_authorized",
5576
+ "tiktok_rate_limited",
5577
+ "tiktok_url_ownership_unverified",
5578
+ "tiktok_unaudited_private_only",
5579
+ "tiktok_spam_risk",
5580
+ "tiktok_file_format_invalid",
5581
+ "tiktok_duration_invalid",
5582
+ "tiktok_frame_rate_invalid",
5583
+ "tiktok_resolution_invalid",
5584
+ "tiktok_media_pull_failed",
5585
+ "tiktok_server_error",
5586
+ "tiktok_publish_failed",
5587
+ "google_rate_limited",
5588
+ "google_server_error",
5589
+ "google_auth_expired",
5590
+ "google_permission_denied",
5591
+ "google_request_failed",
5592
+ "google_conversion_duplicate",
5593
+ "google_conversion_invalid_click_id",
5594
+ "google_conversion_event_too_old",
5595
+ "google_conversion_consent_required",
5596
+ "google_conversion_terms_not_signed",
5597
+ "google_conversion_rejected",
5598
+ "post_publish_failed",
5599
+ "post_partially_published",
5600
+ "connection_platform_mismatch",
5601
+ "connection_removed"
5602
+ ]),
4491
5603
  message: z__namespace.string(),
4492
5604
  display_error: z__namespace.string()
4493
5605
  }).nullable()
@@ -4540,7 +5652,137 @@ z__namespace.object({
4540
5652
  request_path: z__namespace.string().nullable(),
4541
5653
  request_body: z__namespace.unknown().nullish(),
4542
5654
  response_body: z__namespace.unknown().nullish(),
4543
- error: z__namespace.unknown().nullish(),
5655
+ error: z__namespace.object({
5656
+ code: z__namespace.enum([
5657
+ "unauthorized",
5658
+ "forbidden",
5659
+ "not_found",
5660
+ "conflict",
5661
+ "validation_failed",
5662
+ "rate_limited",
5663
+ "internal_error",
5664
+ "idempotency_key_invalid",
5665
+ "idempotency_key_reused",
5666
+ "idempotency_request_in_progress",
5667
+ "account_not_available",
5668
+ "connection_reauth_required",
5669
+ "connection_not_pending",
5670
+ "not_implemented",
5671
+ "connection_discovery_failed",
5672
+ "tiktok_creator_info_unavailable",
5673
+ "tiktok_cannot_post_now",
5674
+ "media_processing",
5675
+ "media_upload_init_failed",
5676
+ "media_upload_incomplete",
5677
+ "not_publishable",
5678
+ "invalid_connection",
5679
+ "invalid_media",
5680
+ "profile_scope_invalid",
5681
+ "media_unprobeable",
5682
+ "media_too_large",
5683
+ "media_aspect_ratio_unsupported",
5684
+ "media_resolution_too_low",
5685
+ "media_gif_unsupported",
5686
+ "media_format_recompressed",
5687
+ "media_resolution_downscaled",
5688
+ "video_container_unsupported",
5689
+ "video_codec_unsupported",
5690
+ "video_audio_codec_unsupported",
5691
+ "video_too_large",
5692
+ "video_too_small",
5693
+ "video_dimensions_unsupported",
5694
+ "video_dimensions_too_large",
5695
+ "video_fps_unsupported",
5696
+ "video_fps_too_low",
5697
+ "video_aspect_unsupported",
5698
+ "video_duration_too_short",
5699
+ "video_duration_exceeds_max",
5700
+ "video_transform_failed",
5701
+ "media_fetch_failed",
5702
+ "document_format_unsupported",
5703
+ "document_too_large",
5704
+ "document_too_many_pages",
5705
+ "media_format_indeterminate",
5706
+ "media_format_unsupported",
5707
+ "media_count_invalid",
5708
+ "body_too_long",
5709
+ "content_missing",
5710
+ "content_conflict",
5711
+ "content_incomplete",
5712
+ "content_kind_mismatch",
5713
+ "media_type_mismatch",
5714
+ "tag_limit_exceeded",
5715
+ "reel_field_on_non_reel",
5716
+ "field_placement_invalid",
5717
+ "media_not_ready",
5718
+ "media_failed",
5719
+ "media_unsupported",
5720
+ "media_kind_mismatch",
5721
+ "variant_unparseable",
5722
+ "publishing_unavailable",
5723
+ "x_duplicate_content",
5724
+ "x_not_authorized",
5725
+ "x_access_not_permitted",
5726
+ "x_rate_limited",
5727
+ "x_publish_failed",
5728
+ "x_media_upload_failed",
5729
+ "linkedin_duplicate_content",
5730
+ "linkedin_auth_expired",
5731
+ "linkedin_permission_denied",
5732
+ "linkedin_rate_limited",
5733
+ "linkedin_media_processing",
5734
+ "linkedin_media_failed",
5735
+ "linkedin_media_upload_failed",
5736
+ "linkedin_publish_failed",
5737
+ "instagram_media_processing",
5738
+ "instagram_container_expired",
5739
+ "instagram_container_failed",
5740
+ "instagram_rate_limited",
5741
+ "instagram_daily_limit_reached",
5742
+ "instagram_aspect_ratio_unsupported",
5743
+ "instagram_media_unsupported",
5744
+ "instagram_not_authorized",
5745
+ "instagram_publish_failed",
5746
+ "facebook_reel_processing",
5747
+ "facebook_reel_failed",
5748
+ "facebook_rate_limited",
5749
+ "facebook_duplicate_content",
5750
+ "facebook_temporarily_blocked",
5751
+ "facebook_not_authorized",
5752
+ "facebook_publish_failed",
5753
+ "tiktok_privacy_not_allowed",
5754
+ "tiktok_duration_exceeds_max",
5755
+ "tiktok_media_processing",
5756
+ "tiktok_not_authorized",
5757
+ "tiktok_rate_limited",
5758
+ "tiktok_url_ownership_unverified",
5759
+ "tiktok_unaudited_private_only",
5760
+ "tiktok_spam_risk",
5761
+ "tiktok_file_format_invalid",
5762
+ "tiktok_duration_invalid",
5763
+ "tiktok_frame_rate_invalid",
5764
+ "tiktok_resolution_invalid",
5765
+ "tiktok_media_pull_failed",
5766
+ "tiktok_server_error",
5767
+ "tiktok_publish_failed",
5768
+ "google_rate_limited",
5769
+ "google_server_error",
5770
+ "google_auth_expired",
5771
+ "google_permission_denied",
5772
+ "google_request_failed",
5773
+ "google_conversion_duplicate",
5774
+ "google_conversion_invalid_click_id",
5775
+ "google_conversion_event_too_old",
5776
+ "google_conversion_consent_required",
5777
+ "google_conversion_terms_not_signed",
5778
+ "google_conversion_rejected",
5779
+ "post_publish_failed",
5780
+ "post_partially_published",
5781
+ "connection_platform_mismatch",
5782
+ "connection_removed"
5783
+ ]),
5784
+ message: z__namespace.string()
5785
+ }).nullable(),
4544
5786
  outcome: z__namespace.object({
4545
5787
  status: z__namespace.enum([
4546
5788
  "draft",
@@ -4571,7 +5813,134 @@ z__namespace.object({
4571
5813
  permalink: z__namespace.string().nullable(),
4572
5814
  published_at: z__namespace.string().nullable(),
4573
5815
  error: z__namespace.object({
4574
- code: z__namespace.string(),
5816
+ code: z__namespace.enum([
5817
+ "unauthorized",
5818
+ "forbidden",
5819
+ "not_found",
5820
+ "conflict",
5821
+ "validation_failed",
5822
+ "rate_limited",
5823
+ "internal_error",
5824
+ "idempotency_key_invalid",
5825
+ "idempotency_key_reused",
5826
+ "idempotency_request_in_progress",
5827
+ "account_not_available",
5828
+ "connection_reauth_required",
5829
+ "connection_not_pending",
5830
+ "not_implemented",
5831
+ "connection_discovery_failed",
5832
+ "tiktok_creator_info_unavailable",
5833
+ "tiktok_cannot_post_now",
5834
+ "media_processing",
5835
+ "media_upload_init_failed",
5836
+ "media_upload_incomplete",
5837
+ "not_publishable",
5838
+ "invalid_connection",
5839
+ "invalid_media",
5840
+ "profile_scope_invalid",
5841
+ "media_unprobeable",
5842
+ "media_too_large",
5843
+ "media_aspect_ratio_unsupported",
5844
+ "media_resolution_too_low",
5845
+ "media_gif_unsupported",
5846
+ "media_format_recompressed",
5847
+ "media_resolution_downscaled",
5848
+ "video_container_unsupported",
5849
+ "video_codec_unsupported",
5850
+ "video_audio_codec_unsupported",
5851
+ "video_too_large",
5852
+ "video_too_small",
5853
+ "video_dimensions_unsupported",
5854
+ "video_dimensions_too_large",
5855
+ "video_fps_unsupported",
5856
+ "video_fps_too_low",
5857
+ "video_aspect_unsupported",
5858
+ "video_duration_too_short",
5859
+ "video_duration_exceeds_max",
5860
+ "video_transform_failed",
5861
+ "media_fetch_failed",
5862
+ "document_format_unsupported",
5863
+ "document_too_large",
5864
+ "document_too_many_pages",
5865
+ "media_format_indeterminate",
5866
+ "media_format_unsupported",
5867
+ "media_count_invalid",
5868
+ "body_too_long",
5869
+ "content_missing",
5870
+ "content_conflict",
5871
+ "content_incomplete",
5872
+ "content_kind_mismatch",
5873
+ "media_type_mismatch",
5874
+ "tag_limit_exceeded",
5875
+ "reel_field_on_non_reel",
5876
+ "field_placement_invalid",
5877
+ "media_not_ready",
5878
+ "media_failed",
5879
+ "media_unsupported",
5880
+ "media_kind_mismatch",
5881
+ "variant_unparseable",
5882
+ "publishing_unavailable",
5883
+ "x_duplicate_content",
5884
+ "x_not_authorized",
5885
+ "x_access_not_permitted",
5886
+ "x_rate_limited",
5887
+ "x_publish_failed",
5888
+ "x_media_upload_failed",
5889
+ "linkedin_duplicate_content",
5890
+ "linkedin_auth_expired",
5891
+ "linkedin_permission_denied",
5892
+ "linkedin_rate_limited",
5893
+ "linkedin_media_processing",
5894
+ "linkedin_media_failed",
5895
+ "linkedin_media_upload_failed",
5896
+ "linkedin_publish_failed",
5897
+ "instagram_media_processing",
5898
+ "instagram_container_expired",
5899
+ "instagram_container_failed",
5900
+ "instagram_rate_limited",
5901
+ "instagram_daily_limit_reached",
5902
+ "instagram_aspect_ratio_unsupported",
5903
+ "instagram_media_unsupported",
5904
+ "instagram_not_authorized",
5905
+ "instagram_publish_failed",
5906
+ "facebook_reel_processing",
5907
+ "facebook_reel_failed",
5908
+ "facebook_rate_limited",
5909
+ "facebook_duplicate_content",
5910
+ "facebook_temporarily_blocked",
5911
+ "facebook_not_authorized",
5912
+ "facebook_publish_failed",
5913
+ "tiktok_privacy_not_allowed",
5914
+ "tiktok_duration_exceeds_max",
5915
+ "tiktok_media_processing",
5916
+ "tiktok_not_authorized",
5917
+ "tiktok_rate_limited",
5918
+ "tiktok_url_ownership_unverified",
5919
+ "tiktok_unaudited_private_only",
5920
+ "tiktok_spam_risk",
5921
+ "tiktok_file_format_invalid",
5922
+ "tiktok_duration_invalid",
5923
+ "tiktok_frame_rate_invalid",
5924
+ "tiktok_resolution_invalid",
5925
+ "tiktok_media_pull_failed",
5926
+ "tiktok_server_error",
5927
+ "tiktok_publish_failed",
5928
+ "google_rate_limited",
5929
+ "google_server_error",
5930
+ "google_auth_expired",
5931
+ "google_permission_denied",
5932
+ "google_request_failed",
5933
+ "google_conversion_duplicate",
5934
+ "google_conversion_invalid_click_id",
5935
+ "google_conversion_event_too_old",
5936
+ "google_conversion_consent_required",
5937
+ "google_conversion_terms_not_signed",
5938
+ "google_conversion_rejected",
5939
+ "post_publish_failed",
5940
+ "post_partially_published",
5941
+ "connection_platform_mismatch",
5942
+ "connection_removed"
5943
+ ]),
4575
5944
  message: z__namespace.string(),
4576
5945
  display_error: z__namespace.string()
4577
5946
  }).nullable()
@@ -4689,7 +6058,7 @@ z__namespace.object({
4689
6058
  z__namespace.object({
4690
6059
  profile_scope: z__namespace.union([
4691
6060
  z__namespace.object({
4692
- type: z__namespace.literal("ids"),
6061
+ type: z__namespace.literal("profile_ids"),
4693
6062
  values: z__namespace.array(z__namespace.string()).min(1).max(100)
4694
6063
  }),
4695
6064
  z__namespace.object({
@@ -5298,6 +6667,23 @@ var googleGetAccount = (options) => (options.client ?? client).get({
5298
6667
  url: "/google/{connection_id}/account",
5299
6668
  ...options
5300
6669
  });
6670
+ var googleEditAccount = (options) => (options.client ?? client).patch({
6671
+ security: [{
6672
+ key: "secretKey",
6673
+ scheme: "bearer",
6674
+ type: "http"
6675
+ }, {
6676
+ key: "frontendToken",
6677
+ scheme: "bearer",
6678
+ type: "http"
6679
+ }],
6680
+ url: "/google/{connection_id}/url-settings",
6681
+ ...options,
6682
+ headers: {
6683
+ "Content-Type": "application/json",
6684
+ ...options.headers
6685
+ }
6686
+ });
5301
6687
  var googleGetInsights = (options) => (options.client ?? client).post({
5302
6688
  security: [{
5303
6689
  key: "secretKey",
@@ -6038,7 +7424,7 @@ var googleGetConversionAction = (options) => (options.client ?? client).get({
6038
7424
  url: "/google/{connection_id}/conversion-actions/{id}",
6039
7425
  ...options
6040
7426
  });
6041
- var googleListConversionGoals = (options) => (options.client ?? client).get({
7427
+ var googleSendConversions = (options) => (options.client ?? client).post({
6042
7428
  security: [{
6043
7429
  key: "secretKey",
6044
7430
  scheme: "bearer",
@@ -6048,10 +7434,27 @@ var googleListConversionGoals = (options) => (options.client ?? client).get({
6048
7434
  scheme: "bearer",
6049
7435
  type: "http"
6050
7436
  }],
6051
- url: "/google/{connection_id}/conversion-goals",
7437
+ url: "/google/{connection_id}/conversions:send",
7438
+ ...options,
7439
+ headers: {
7440
+ "Content-Type": "application/json",
7441
+ ...options.headers
7442
+ }
7443
+ });
7444
+ var googleGetConversionStatus = (options) => (options.client ?? client).get({
7445
+ security: [{
7446
+ key: "secretKey",
7447
+ scheme: "bearer",
7448
+ type: "http"
7449
+ }, {
7450
+ key: "frontendToken",
7451
+ scheme: "bearer",
7452
+ type: "http"
7453
+ }],
7454
+ url: "/google/{connection_id}/conversions/status",
6052
7455
  ...options
6053
7456
  });
6054
- var googleSetConversionGoal = (options) => (options.client ?? client).post({
7457
+ var googleListConversionGoals = (options) => (options.client ?? client).get({
6055
7458
  security: [{
6056
7459
  key: "secretKey",
6057
7460
  scheme: "bearer",
@@ -6062,13 +7465,9 @@ var googleSetConversionGoal = (options) => (options.client ?? client).post({
6062
7465
  type: "http"
6063
7466
  }],
6064
7467
  url: "/google/{connection_id}/conversion-goals",
6065
- ...options,
6066
- headers: {
6067
- "Content-Type": "application/json",
6068
- ...options.headers
6069
- }
7468
+ ...options
6070
7469
  });
6071
- var googleUploadConversions = (options) => (options.client ?? client).post({
7470
+ var googleSetConversionGoal = (options) => (options.client ?? client).post({
6072
7471
  security: [{
6073
7472
  key: "secretKey",
6074
7473
  scheme: "bearer",
@@ -6078,7 +7477,7 @@ var googleUploadConversions = (options) => (options.client ?? client).post({
6078
7477
  scheme: "bearer",
6079
7478
  type: "http"
6080
7479
  }],
6081
- url: "/google/{connection_id}/conversion-uploads",
7480
+ url: "/google/{connection_id}/conversion-goals",
6082
7481
  ...options,
6083
7482
  headers: {
6084
7483
  "Content-Type": "application/json",
@@ -6750,6 +8149,7 @@ exports.googleCreateCampaignCriterion = googleCreateCampaignCriterion;
6750
8149
  exports.googleCreateConversionAction = googleCreateConversionAction;
6751
8150
  exports.googleCreateDisplayAd = googleCreateDisplayAd;
6752
8151
  exports.googleCreateKeyword = googleCreateKeyword;
8152
+ exports.googleEditAccount = googleEditAccount;
6753
8153
  exports.googleEditAdGroup = googleEditAdGroup;
6754
8154
  exports.googleEditBudget = googleEditBudget;
6755
8155
  exports.googleEditCampaign = googleEditCampaign;
@@ -6763,6 +8163,7 @@ exports.googleGetAdGroup = googleGetAdGroup;
6763
8163
  exports.googleGetAdTree = googleGetAdTree;
6764
8164
  exports.googleGetCampaign = googleGetCampaign;
6765
8165
  exports.googleGetConversionAction = googleGetConversionAction;
8166
+ exports.googleGetConversionStatus = googleGetConversionStatus;
6766
8167
  exports.googleGetInsights = googleGetInsights;
6767
8168
  exports.googleGetKeyword = googleGetKeyword;
6768
8169
  exports.googleListAdGroupCriteria = googleListAdGroupCriteria;
@@ -6787,12 +8188,12 @@ exports.googleRemoveCampaignCriterion = googleRemoveCampaignCriterion;
6787
8188
  exports.googleRemoveKeyword = googleRemoveKeyword;
6788
8189
  exports.googleRunGaql = googleRunGaql;
6789
8190
  exports.googleSearchGeoTargets = googleSearchGeoTargets;
8191
+ exports.googleSendConversions = googleSendConversions;
6790
8192
  exports.googleSetAdGroupBids = googleSetAdGroupBids;
6791
8193
  exports.googleSetCampaignGeoSettings = googleSetCampaignGeoSettings;
6792
8194
  exports.googleSetCampaignTargetingSetting = googleSetCampaignTargetingSetting;
6793
8195
  exports.googleSetConversionGoal = googleSetConversionGoal;
6794
8196
  exports.googleSetKeywordBid = googleSetKeywordBid;
6795
- exports.googleUploadConversions = googleUploadConversions;
6796
8197
  exports.googleUploadImageAsset = googleUploadImageAsset;
6797
8198
  exports.groupAdTree = groupAdTree;
6798
8199
  exports.interactionRows = interactionRows;