@gscdump/contracts 2.0.2 → 2.0.3

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.
@@ -751,19 +751,6 @@ declare const partnerEndpoints: {
751
751
  }, import("zod/v4/core").$loose>>;
752
752
  }, import("zod/v4/core").$loose>;
753
753
  };
754
- readonly getUserSiteIntIdCrosswalk: {
755
- method: "GET";
756
- path: (userId: string) => string;
757
- } & {
758
- readonly response: import("zod").ZodObject<{
759
- crosswalk: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodNumber>;
760
- sites: import("zod").ZodArray<import("zod").ZodObject<{
761
- siteId: import("zod").ZodString;
762
- intId: import("zod").ZodNumber;
763
- siteUrl: import("zod").ZodString;
764
- }, import("zod/v4/core").$loose>>;
765
- }, import("zod/v4/core").$loose>;
766
- };
767
754
  readonly getSyncStatus: {
768
755
  method: "GET";
769
756
  path: (siteId: string) => string;
@@ -1082,8 +1069,8 @@ declare const partnerEndpoints: {
1082
1069
  siteUrl: import("zod").ZodString;
1083
1070
  site: import("zod").ZodObject<{
1084
1071
  type: import("zod").ZodEnum<{
1085
- SITE: "SITE";
1086
1072
  INET_DOMAIN: "INET_DOMAIN";
1073
+ SITE: "SITE";
1087
1074
  }>;
1088
1075
  identifier: import("zod").ZodString;
1089
1076
  }, import("zod/v4/core").$strip>;
@@ -1127,8 +1114,8 @@ declare const partnerEndpoints: {
1127
1114
  siteUrl: import("zod").ZodString;
1128
1115
  site: import("zod").ZodObject<{
1129
1116
  type: import("zod").ZodEnum<{
1130
- SITE: "SITE";
1131
1117
  INET_DOMAIN: "INET_DOMAIN";
1118
+ SITE: "SITE";
1132
1119
  }>;
1133
1120
  identifier: import("zod").ZodString;
1134
1121
  }, import("zod/v4/core").$strip>;
@@ -1144,17 +1131,6 @@ declare const partnerEndpoints: {
1144
1131
  owners: import("zod").ZodArray<import("zod").ZodString>;
1145
1132
  }, import("zod/v4/core").$loose>;
1146
1133
  };
1147
- readonly deleteUser: {
1148
- method: "DELETE";
1149
- path: (userId: string) => string;
1150
- } & {
1151
- readonly response: import("zod").ZodObject<{
1152
- ok: import("zod").ZodLiteral<true>;
1153
- queued: import("zod").ZodLiteral<true>;
1154
- userId: import("zod").ZodNumber;
1155
- publicId: import("zod").ZodString;
1156
- }, import("zod/v4/core").$loose>;
1157
- };
1158
1134
  readonly deleteSite: {
1159
1135
  method: "DELETE";
1160
1136
  path: (siteId: string) => string;
@@ -1437,9 +1413,9 @@ declare const partnerEndpoints: {
1437
1413
  siteUrl: import("zod").ZodString;
1438
1414
  syncStatus: import("zod").ZodNullable<import("zod").ZodString>;
1439
1415
  indexingStatus: import("zod").ZodEnum<{
1440
- complete: "complete";
1441
1416
  pending: "pending";
1442
1417
  partial: "partial";
1418
+ complete: "complete";
1443
1419
  }>;
1444
1420
  indexingProgress: import("zod").ZodNumber;
1445
1421
  sitemapTotal: import("zod").ZodNumber;
@@ -1458,8 +1434,8 @@ declare const partnerEndpoints: {
1458
1434
  limit: import("zod").ZodOptional<import("zod").ZodNumber>;
1459
1435
  offset: import("zod").ZodOptional<import("zod").ZodNumber>;
1460
1436
  status: import("zod").ZodOptional<import("zod").ZodEnum<{
1461
- indexed: "indexed";
1462
1437
  pending: "pending";
1438
+ indexed: "indexed";
1463
1439
  not_indexed: "not_indexed";
1464
1440
  }>>;
1465
1441
  issue: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1569,58 +1545,6 @@ declare const partnerEndpoints: {
1569
1545
  }, import("zod/v4/core").$loose>;
1570
1546
  }, import("zod/v4/core").$loose>;
1571
1547
  };
1572
- readonly requestIndexingInspect: {
1573
- method: "POST";
1574
- path: (siteId: string) => string;
1575
- } & {
1576
- readonly body: import("zod").ZodObject<{
1577
- urls: import("zod").ZodArray<import("zod").ZodString>;
1578
- }, import("zod/v4/core").$strip>;
1579
- readonly response: import("zod").ZodUnion<readonly [import("zod").ZodObject<{
1580
- siteId: import("zod").ZodString;
1581
- rateLimit: import("zod").ZodObject<{
1582
- reserved: import("zod").ZodNumber;
1583
- remaining: import("zod").ZodNumber;
1584
- limit: import("zod").ZodNumber;
1585
- }, import("zod/v4/core").$loose>;
1586
- results: import("zod").ZodArray<import("zod").ZodObject<{
1587
- url: import("zod").ZodString;
1588
- verdict: import("zod").ZodNullable<import("zod").ZodString>;
1589
- coverageState: import("zod").ZodNullable<import("zod").ZodString>;
1590
- indexingState: import("zod").ZodNullable<import("zod").ZodString>;
1591
- robotsTxtState: import("zod").ZodNullable<import("zod").ZodString>;
1592
- pageFetchState: import("zod").ZodNullable<import("zod").ZodString>;
1593
- lastCrawlTime: import("zod").ZodNullable<import("zod").ZodString>;
1594
- crawlingUserAgent: import("zod").ZodNullable<import("zod").ZodString>;
1595
- userCanonical: import("zod").ZodNullable<import("zod").ZodString>;
1596
- googleCanonical: import("zod").ZodNullable<import("zod").ZodString>;
1597
- sitemaps: import("zod").ZodNullable<import("zod").ZodString>;
1598
- referringUrls: import("zod").ZodNullable<import("zod").ZodString>;
1599
- mobileVerdict: import("zod").ZodNullable<import("zod").ZodString>;
1600
- mobileIssues: import("zod").ZodNullable<import("zod").ZodString>;
1601
- richResultsVerdict: import("zod").ZodNullable<import("zod").ZodString>;
1602
- richResultsItems: import("zod").ZodNullable<import("zod").ZodString>;
1603
- inspectionResultLink: import("zod").ZodNullable<import("zod").ZodString>;
1604
- }, import("zod/v4/core").$loose>>;
1605
- errors: import("zod").ZodArray<import("zod").ZodObject<{
1606
- url: import("zod").ZodString;
1607
- error: import("zod").ZodString;
1608
- }, import("zod/v4/core").$loose>>;
1609
- skipped: import("zod").ZodArray<import("zod").ZodObject<{
1610
- url: import("zod").ZodString;
1611
- reason: import("zod").ZodString;
1612
- }, import("zod/v4/core").$loose>>;
1613
- }, import("zod/v4/core").$loose>, import("zod").ZodObject<{
1614
- error: import("zod").ZodLiteral<"rate_limited">;
1615
- message: import("zod").ZodString;
1616
- rateLimit: import("zod").ZodObject<{
1617
- reserved: import("zod").ZodLiteral<0>;
1618
- remaining: import("zod").ZodLiteral<0>;
1619
- limit: import("zod").ZodNumber;
1620
- }, import("zod/v4/core").$loose>;
1621
- retryAfterSeconds: import("zod").ZodNumber;
1622
- }, import("zod/v4/core").$loose>]>;
1623
- };
1624
1548
  readonly getUserSettings: {
1625
1549
  method: "GET";
1626
1550
  path: "/user/settings";
@@ -1640,356 +1564,5 @@ declare const partnerEndpoints: {
1640
1564
  browserAnalyzerEnabled: import("zod").ZodBoolean;
1641
1565
  }, import("zod/v4/core").$loose>;
1642
1566
  };
1643
- readonly recoverPermission: {
1644
- method: "POST";
1645
- path: (siteId: string) => string;
1646
- } & {
1647
- readonly response: import("zod").ZodObject<{
1648
- success: import("zod").ZodBoolean;
1649
- permissionLevel: import("zod").ZodNullable<import("zod").ZodString>;
1650
- jobsQueued: import("zod").ZodNumber;
1651
- message: import("zod").ZodString;
1652
- }, import("zod/v4/core").$loose>;
1653
- };
1654
- readonly getTopAssociation: {
1655
- method: "GET";
1656
- path: (siteId: string) => string;
1657
- } & {
1658
- readonly query: import("zod").ZodObject<{
1659
- type: import("zod").ZodEnum<{
1660
- topPage: "topPage";
1661
- topKeyword: "topKeyword";
1662
- }>;
1663
- identifier: import("zod").ZodString;
1664
- startDate: import("zod").ZodString;
1665
- endDate: import("zod").ZodString;
1666
- }, import("zod/v4/core").$strip>;
1667
- readonly response: import("zod").ZodObject<{
1668
- value: import("zod").ZodNullable<import("zod").ZodString>;
1669
- }, import("zod/v4/core").$loose>;
1670
- };
1671
- readonly getKeywordSparklines: {
1672
- method: "POST";
1673
- path: (siteId: string) => string;
1674
- } & {
1675
- readonly body: import("zod").ZodObject<{
1676
- keywords: import("zod").ZodArray<import("zod").ZodString>;
1677
- startDate: import("zod").ZodString;
1678
- endDate: import("zod").ZodString;
1679
- searchType: import("zod").ZodOptional<import("zod").ZodEnum<{
1680
- web: "web";
1681
- image: "image";
1682
- video: "video";
1683
- news: "news";
1684
- discover: "discover";
1685
- googleNews: "googleNews";
1686
- }>>;
1687
- }, import("zod/v4/core").$strip>;
1688
- readonly response: import("zod").ZodObject<{
1689
- sparklines: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodArray<import("zod").ZodNumber>>;
1690
- }, import("zod/v4/core").$loose>;
1691
- };
1692
- readonly getQueryTrend: {
1693
- method: "GET";
1694
- path: (siteId: string) => string;
1695
- } & {
1696
- readonly query: import("zod").ZodObject<{
1697
- startDate: import("zod").ZodString;
1698
- endDate: import("zod").ZodString;
1699
- prevStartDate: import("zod").ZodOptional<import("zod").ZodString>;
1700
- prevEndDate: import("zod").ZodOptional<import("zod").ZodString>;
1701
- searchType: import("zod").ZodOptional<import("zod").ZodEnum<{
1702
- web: "web";
1703
- image: "image";
1704
- video: "video";
1705
- news: "news";
1706
- discover: "discover";
1707
- googleNews: "googleNews";
1708
- }>>;
1709
- }, import("zod/v4/core").$strip>;
1710
- readonly response: import("zod").ZodObject<{
1711
- daily: import("zod").ZodArray<import("zod").ZodObject<{
1712
- date: import("zod").ZodString;
1713
- queryCount: import("zod").ZodNumber;
1714
- }, import("zod/v4/core").$loose>>;
1715
- total: import("zod").ZodNumber;
1716
- previousTotal: import("zod").ZodOptional<import("zod").ZodNumber>;
1717
- meta: import("zod").ZodObject<{
1718
- siteUrl: import("zod").ZodString;
1719
- syncStatus: import("zod").ZodNullable<import("zod").ZodString>;
1720
- }, import("zod/v4/core").$loose>;
1721
- }, import("zod/v4/core").$loose>;
1722
- };
1723
- readonly getPageTrend: {
1724
- method: "GET";
1725
- path: (siteId: string) => string;
1726
- } & {
1727
- readonly query: import("zod").ZodObject<{
1728
- startDate: import("zod").ZodString;
1729
- endDate: import("zod").ZodString;
1730
- prevStartDate: import("zod").ZodOptional<import("zod").ZodString>;
1731
- prevEndDate: import("zod").ZodOptional<import("zod").ZodString>;
1732
- searchType: import("zod").ZodOptional<import("zod").ZodEnum<{
1733
- web: "web";
1734
- image: "image";
1735
- video: "video";
1736
- news: "news";
1737
- discover: "discover";
1738
- googleNews: "googleNews";
1739
- }>>;
1740
- }, import("zod/v4/core").$strip>;
1741
- readonly response: import("zod").ZodObject<{
1742
- daily: import("zod").ZodArray<import("zod").ZodObject<{
1743
- date: import("zod").ZodString;
1744
- pageCount: import("zod").ZodNumber;
1745
- }, import("zod/v4/core").$loose>>;
1746
- total: import("zod").ZodNumber;
1747
- previousTotal: import("zod").ZodOptional<import("zod").ZodNumber>;
1748
- meta: import("zod").ZodObject<{
1749
- siteUrl: import("zod").ZodString;
1750
- syncStatus: import("zod").ZodNullable<import("zod").ZodString>;
1751
- }, import("zod/v4/core").$loose>;
1752
- }, import("zod/v4/core").$loose>;
1753
- };
1754
- readonly getCanonicalMismatches: {
1755
- method: "GET";
1756
- path: (siteId: string) => string;
1757
- } & {
1758
- readonly response: import("zod").ZodObject<{
1759
- mismatches: import("zod").ZodArray<import("zod").ZodObject<{
1760
- url: import("zod").ZodString;
1761
- userCanonical: import("zod").ZodString;
1762
- googleCanonical: import("zod").ZodString;
1763
- verdict: import("zod").ZodNullable<import("zod").ZodString>;
1764
- coverageState: import("zod").ZodNullable<import("zod").ZodString>;
1765
- lastCrawlTime: import("zod").ZodNullable<import("zod").ZodString>;
1766
- lastCheckedAt: import("zod").ZodNullable<import("zod").ZodString>;
1767
- kind: import("zod").ZodEnum<{
1768
- path: "path";
1769
- cross_domain: "cross_domain";
1770
- }>;
1771
- }, import("zod/v4/core").$loose>>;
1772
- totalCount: import("zod").ZodNumber;
1773
- consolidationTargets: import("zod").ZodArray<import("zod").ZodObject<{
1774
- google_canonical: import("zod").ZodString;
1775
- count: import("zod").ZodNumber;
1776
- }, import("zod/v4/core").$loose>>;
1777
- trend: import("zod").ZodArray<import("zod").ZodObject<{
1778
- date: import("zod").ZodString;
1779
- count: import("zod").ZodNumber;
1780
- }, import("zod/v4/core").$loose>>;
1781
- meta: import("zod").ZodObject<{
1782
- siteUrl: import("zod").ZodString;
1783
- syncStatus: import("zod").ZodNullable<import("zod").ZodString>;
1784
- }, import("zod/v4/core").$loose>;
1785
- }, import("zod/v4/core").$loose>;
1786
- };
1787
- readonly getIndexPercent: {
1788
- method: "GET";
1789
- path: (siteId: string) => string;
1790
- } & {
1791
- readonly query: import("zod").ZodOptional<import("zod").ZodObject<{
1792
- invisibleLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
1793
- invisibleOffset: import("zod").ZodOptional<import("zod").ZodNumber>;
1794
- orphanLimit: import("zod").ZodOptional<import("zod").ZodNumber>;
1795
- }, import("zod/v4/core").$strip>>;
1796
- readonly response: import("zod").ZodObject<{
1797
- trend: import("zod").ZodArray<import("zod").ZodObject<{
1798
- date: import("zod").ZodString;
1799
- percent: import("zod").ZodNumber;
1800
- total: import("zod").ZodNumber;
1801
- visible: import("zod").ZodNumber;
1802
- added: import("zod").ZodNullable<import("zod").ZodNumber>;
1803
- removed: import("zod").ZodNullable<import("zod").ZodNumber>;
1804
- }, import("zod/v4/core").$loose>>;
1805
- invisibleUrls: import("zod").ZodArray<import("zod").ZodObject<{
1806
- url: import("zod").ZodString;
1807
- firstSeen: import("zod").ZodOptional<import("zod").ZodString>;
1808
- lastmod: import("zod").ZodNullable<import("zod").ZodString>;
1809
- }, import("zod/v4/core").$loose>>;
1810
- invisibleCount: import("zod").ZodNumber;
1811
- orphanPages: import("zod").ZodArray<import("zod").ZodObject<{
1812
- url: import("zod").ZodString;
1813
- impressions: import("zod").ZodNullable<import("zod").ZodNumber>;
1814
- clicks: import("zod").ZodNullable<import("zod").ZodNumber>;
1815
- }, import("zod/v4/core").$loose>>;
1816
- orphanCount: import("zod").ZodNumber;
1817
- sitemaps: import("zod").ZodArray<import("zod").ZodObject<{
1818
- path: import("zod").ZodString;
1819
- urlCount: import("zod").ZodNumber;
1820
- isIndex: import("zod").ZodBoolean;
1821
- }, import("zod/v4/core").$loose>>;
1822
- summary: import("zod").ZodObject<{
1823
- currentPercent: import("zod").ZodNumber;
1824
- totalSitemapUrls: import("zod").ZodNumber;
1825
- visibleUrls: import("zod").ZodNumber;
1826
- change7d: import("zod").ZodNullable<import("zod").ZodNumber>;
1827
- change28d: import("zod").ZodNullable<import("zod").ZodNumber>;
1828
- dataDate: import("zod").ZodString;
1829
- }, import("zod/v4/core").$loose>;
1830
- meta: import("zod").ZodObject<{
1831
- siteUrl: import("zod").ZodString;
1832
- syncStatus: import("zod").ZodNullable<import("zod").ZodString>;
1833
- newestDateSynced: import("zod").ZodNullable<import("zod").ZodString>;
1834
- }, import("zod/v4/core").$loose>;
1835
- }, import("zod/v4/core").$loose>;
1836
- };
1837
- readonly createTeam: {
1838
- method: "POST";
1839
- path: "/partner/teams";
1840
- } & {
1841
- readonly body: import("zod").ZodObject<{
1842
- ownerUserId: import("zod").ZodString;
1843
- name: import("zod").ZodString;
1844
- personalTeam: import("zod").ZodOptional<import("zod").ZodBoolean>;
1845
- }, import("zod/v4/core").$strip>;
1846
- readonly response: import("zod").ZodObject<{
1847
- team: import("zod").ZodObject<{
1848
- id: import("zod").ZodString;
1849
- ownerId: import("zod").ZodNumber;
1850
- name: import("zod").ZodString;
1851
- personalTeam: import("zod").ZodBoolean;
1852
- createdAt: import("zod").ZodNumber;
1853
- updatedAt: import("zod").ZodNumber;
1854
- }, import("zod/v4/core").$loose>;
1855
- }, import("zod/v4/core").$loose>;
1856
- };
1857
- readonly renameTeam: {
1858
- method: "PATCH";
1859
- path: (teamId: string) => string;
1860
- } & {
1861
- readonly body: import("zod").ZodObject<{
1862
- name: import("zod").ZodString;
1863
- }, import("zod/v4/core").$strip>;
1864
- readonly response: import("zod").ZodObject<{
1865
- ok: import("zod").ZodLiteral<true>;
1866
- name: import("zod").ZodString;
1867
- }, import("zod/v4/core").$loose>;
1868
- };
1869
- readonly deleteTeam: {
1870
- method: "DELETE";
1871
- path: (teamId: string) => string;
1872
- } & {
1873
- readonly response: import("zod").ZodObject<{
1874
- ok: import("zod").ZodLiteral<true>;
1875
- }, import("zod/v4/core").$loose>;
1876
- };
1877
- readonly listTeamMembers: {
1878
- method: "GET";
1879
- path: (teamId: string) => string;
1880
- } & {
1881
- readonly response: import("zod").ZodObject<{
1882
- members: import("zod").ZodArray<import("zod").ZodObject<{
1883
- userId: import("zod").ZodNumber;
1884
- publicId: import("zod").ZodString;
1885
- name: import("zod").ZodNullable<import("zod").ZodString>;
1886
- email: import("zod").ZodEmail;
1887
- picture: import("zod").ZodNullable<import("zod").ZodString>;
1888
- role: import("zod").ZodEnum<{
1889
- admin: "admin";
1890
- editor: "editor";
1891
- viewer: "viewer";
1892
- }>;
1893
- joinedAt: import("zod").ZodNumber;
1894
- }, import("zod/v4/core").$loose>>;
1895
- }, import("zod/v4/core").$loose>;
1896
- };
1897
- readonly addTeamMember: {
1898
- method: "POST";
1899
- path: (teamId: string) => string;
1900
- } & {
1901
- readonly body: import("zod").ZodObject<{
1902
- userId: import("zod").ZodString;
1903
- role: import("zod").ZodEnum<{
1904
- admin: "admin";
1905
- editor: "editor";
1906
- viewer: "viewer";
1907
- }>;
1908
- }, import("zod/v4/core").$strip>;
1909
- readonly response: import("zod").ZodObject<{
1910
- ok: import("zod").ZodLiteral<true>;
1911
- role: import("zod").ZodEnum<{
1912
- admin: "admin";
1913
- editor: "editor";
1914
- viewer: "viewer";
1915
- }>;
1916
- alreadyExisted: import("zod").ZodOptional<import("zod").ZodBoolean>;
1917
- }, import("zod/v4/core").$loose>;
1918
- };
1919
- readonly updateTeamMemberRole: {
1920
- method: "PATCH";
1921
- path: (teamId: string, userId: string) => string;
1922
- } & {
1923
- readonly body: import("zod").ZodObject<{
1924
- role: import("zod").ZodEnum<{
1925
- admin: "admin";
1926
- editor: "editor";
1927
- viewer: "viewer";
1928
- }>;
1929
- }, import("zod/v4/core").$strip>;
1930
- readonly response: import("zod").ZodObject<{
1931
- ok: import("zod").ZodLiteral<true>;
1932
- role: import("zod").ZodEnum<{
1933
- admin: "admin";
1934
- editor: "editor";
1935
- viewer: "viewer";
1936
- }>;
1937
- }, import("zod/v4/core").$loose>;
1938
- };
1939
- readonly removeTeamMember: {
1940
- method: "DELETE";
1941
- path: (teamId: string, userId: string) => string;
1942
- } & {
1943
- readonly response: import("zod").ZodObject<{
1944
- ok: import("zod").ZodLiteral<true>;
1945
- }, import("zod/v4/core").$loose>;
1946
- };
1947
- readonly bindSiteToTeam: {
1948
- method: "PATCH";
1949
- path: (userId: string, siteId: string) => string;
1950
- } & {
1951
- readonly body: import("zod").ZodObject<{
1952
- teamId: import("zod").ZodNullable<import("zod").ZodString>;
1953
- }, import("zod/v4/core").$strip>;
1954
- readonly response: import("zod").ZodObject<{
1955
- ok: import("zod").ZodLiteral<true>;
1956
- teamId: import("zod").ZodNullable<import("zod").ZodString>;
1957
- }, import("zod/v4/core").$loose>;
1958
- };
1959
- readonly getTeamCatalog: {
1960
- method: "GET";
1961
- path: (teamId: string) => string;
1962
- } & {
1963
- readonly response: import("zod").ZodObject<{
1964
- teamId: import("zod").ZodString;
1965
- catalogUri: import("zod").ZodNullable<import("zod").ZodString>;
1966
- warehouse: import("zod").ZodNullable<import("zod").ZodString>;
1967
- bucket: import("zod").ZodNullable<import("zod").ZodString>;
1968
- namespace: import("zod").ZodNullable<import("zod").ZodString>;
1969
- provisioningState: import("zod").ZodNullable<import("zod").ZodString>;
1970
- keyEncoding: import("zod").ZodNullable<import("zod").ZodString>;
1971
- catalogTablesReady: import("zod").ZodBoolean;
1972
- readsEnabled: import("zod").ZodBoolean;
1973
- }, import("zod/v4/core").$loose>;
1974
- };
1975
- readonly bindTeamCatalog: {
1976
- method: "POST";
1977
- path: (teamId: string) => string;
1978
- } & {
1979
- readonly body: import("zod").ZodObject<{
1980
- catalogUri: import("zod").ZodString;
1981
- warehouse: import("zod").ZodString;
1982
- namespace: import("zod").ZodOptional<import("zod").ZodString>;
1983
- bucket: import("zod").ZodOptional<import("zod").ZodString>;
1984
- }, import("zod/v4/core").$strip>;
1985
- readonly response: import("zod").ZodObject<{
1986
- teamId: import("zod").ZodString;
1987
- status: import("zod").ZodLiteral<"ready">;
1988
- catalogUri: import("zod").ZodString;
1989
- warehouse: import("zod").ZodString;
1990
- bucket: import("zod").ZodString;
1991
- namespace: import("zod").ZodString;
1992
- }, import("zod/v4/core").$loose>;
1993
- };
1994
1567
  };
1995
1568
  export { analyticsEndpoints, partnerEndpoints };
@@ -31,7 +31,6 @@ const partnerEndpoints = {
31
31
  updateUserTokens: defineEndpoint("PATCH", partnerRoutes.users.tokens, partnerControlEndpointSchemas.updateUserTokens),
32
32
  getUserStatus: defineEndpoint("GET", partnerRoutes.users.status, partnerControlEndpointSchemas.getUserStatus),
33
33
  getUserLifecycle: defineEndpoint("GET", partnerRoutes.partner.users.lifecycle, partnerControlEndpointSchemas.getUserLifecycle),
34
- getUserSiteIntIdCrosswalk: defineEndpoint("GET", partnerRoutes.partner.users.siteIntIdCrosswalk, partnerControlEndpointSchemas.getUserSiteIntIdCrosswalk),
35
34
  getSyncStatus: defineEndpoint("GET", partnerRoutes.sites.syncStatus, noSchema),
36
35
  getUserSites: defineEndpoint("GET", partnerRoutes.users.sites, partnerControlEndpointSchemas.getUserSites),
37
36
  getAvailableSites: defineEndpoint("GET", partnerRoutes.users.availableSites, partnerControlEndpointSchemas.getAvailableSites),
@@ -39,7 +38,6 @@ const partnerEndpoints = {
39
38
  bulkRegisterSites: defineEndpoint("POST", partnerRoutes.partner.sites.bulkRegister, partnerControlEndpointSchemas.bulkRegisterSites),
40
39
  requestSiteVerificationToken: defineEndpoint("POST", partnerRoutes.partner.sites.verificationToken, partnerControlEndpointSchemas.requestSiteVerificationToken),
41
40
  addAndVerifySite: defineEndpoint("POST", partnerRoutes.partner.sites.addAndVerify, partnerControlEndpointSchemas.addAndVerifySite),
42
- deleteUser: defineEndpoint("DELETE", partnerRoutes.partner.users.byId, partnerControlEndpointSchemas.deleteUser),
43
41
  deleteSite: defineEndpoint("DELETE", partnerRoutes.sites.byId, noSchema),
44
42
  getAnalysisSources: defineEndpoint("GET", partnerRoutes.sites.analysisSources, partnerControlEndpointSchemas.getAnalysisSources),
45
43
  getData: defineEndpoint("GET", partnerRoutes.sites.data, partnerControlEndpointSchemas.getData),
@@ -47,25 +45,7 @@ const partnerEndpoints = {
47
45
  getIndexing: defineEndpoint("GET", partnerRoutes.sites.indexing, partnerControlEndpointSchemas.getIndexing),
48
46
  getIndexingUrls: defineEndpoint("GET", partnerRoutes.sites.indexingUrls, partnerControlEndpointSchemas.getIndexingUrls),
49
47
  getIndexingDiagnostics: defineEndpoint("GET", partnerRoutes.sites.indexingDiagnostics, partnerControlEndpointSchemas.getIndexingDiagnostics),
50
- requestIndexingInspect: defineEndpoint("POST", partnerRoutes.sites.indexingInspect, partnerControlEndpointSchemas.requestIndexingInspect),
51
48
  getUserSettings: defineEndpoint("GET", partnerRoutes.settings.user, partnerControlEndpointSchemas.getUserSettings),
52
- patchUserSettings: defineEndpoint("PATCH", partnerRoutes.settings.user, partnerControlEndpointSchemas.patchUserSettings),
53
- recoverPermission: defineEndpoint("POST", partnerRoutes.sites.recoverPermission, partnerControlEndpointSchemas.recoverPermission),
54
- getTopAssociation: defineEndpoint("GET", partnerRoutes.sites.topAssociation, partnerControlEndpointSchemas.getTopAssociation),
55
- getKeywordSparklines: defineEndpoint("POST", partnerRoutes.sites.keywordSparklines, partnerControlEndpointSchemas.getKeywordSparklines),
56
- getQueryTrend: defineEndpoint("GET", partnerRoutes.sites.queryTrend, partnerControlEndpointSchemas.getQueryTrend),
57
- getPageTrend: defineEndpoint("GET", partnerRoutes.sites.pageTrend, partnerControlEndpointSchemas.getPageTrend),
58
- getCanonicalMismatches: defineEndpoint("GET", partnerRoutes.sites.canonicalMismatches, partnerControlEndpointSchemas.getCanonicalMismatches),
59
- getIndexPercent: defineEndpoint("GET", partnerRoutes.sites.indexPercent, partnerControlEndpointSchemas.getIndexPercent),
60
- createTeam: defineEndpoint("POST", partnerRoutes.teams.create, partnerControlEndpointSchemas.createTeam),
61
- renameTeam: defineEndpoint("PATCH", partnerRoutes.teams.byId, partnerControlEndpointSchemas.renameTeam),
62
- deleteTeam: defineEndpoint("DELETE", partnerRoutes.teams.byId, partnerControlEndpointSchemas.deleteTeam),
63
- listTeamMembers: defineEndpoint("GET", partnerRoutes.teams.members, partnerControlEndpointSchemas.listTeamMembers),
64
- addTeamMember: defineEndpoint("POST", partnerRoutes.teams.members, partnerControlEndpointSchemas.addTeamMember),
65
- updateTeamMemberRole: defineEndpoint("PATCH", partnerRoutes.teams.member, partnerControlEndpointSchemas.updateTeamMemberRole),
66
- removeTeamMember: defineEndpoint("DELETE", partnerRoutes.teams.member, partnerControlEndpointSchemas.removeTeamMember),
67
- bindSiteToTeam: defineEndpoint("PATCH", partnerRoutes.partner.users.siteTeam, partnerControlEndpointSchemas.bindSiteToTeam),
68
- getTeamCatalog: defineEndpoint("GET", partnerRoutes.teams.catalog, partnerControlEndpointSchemas.getTeamCatalog),
69
- bindTeamCatalog: defineEndpoint("POST", partnerRoutes.teams.catalog, partnerControlEndpointSchemas.bindTeamCatalog)
49
+ patchUserSettings: defineEndpoint("PATCH", partnerRoutes.settings.user, partnerControlEndpointSchemas.patchUserSettings)
70
50
  };
71
51
  export { analyticsEndpoints, partnerEndpoints };
package/dist/routes.d.mts CHANGED
@@ -1,10 +1,7 @@
1
1
  declare const partnerRoutes: {
2
2
  readonly partner: {
3
3
  readonly users: {
4
- readonly byId: (userId: string) => string;
5
4
  readonly lifecycle: (userId: string) => string;
6
- readonly siteTeam: (userId: string, siteId: string) => string;
7
- readonly siteIntIdCrosswalk: (userId: string) => string;
8
5
  };
9
6
  readonly sites: {
10
7
  readonly register: "/partner/sites/register";
@@ -20,7 +17,6 @@ declare const partnerRoutes: {
20
17
  readonly lifecycle: (userId: string) => string;
21
18
  readonly sites: (userId: string) => string;
22
19
  readonly availableSites: (userId: string) => string;
23
- readonly siteTeam: (userId: string, siteId: string) => string;
24
20
  };
25
21
  readonly sites: {
26
22
  readonly register: "/sites/register";
@@ -33,25 +29,10 @@ declare const partnerRoutes: {
33
29
  readonly indexing: (siteId: string) => string;
34
30
  readonly indexingUrls: (siteId: string) => string;
35
31
  readonly indexingDiagnostics: (siteId: string) => string;
36
- readonly indexingInspect: (siteId: string) => string;
37
- readonly recoverPermission: (siteId: string) => string;
38
- readonly canonicalMismatches: (siteId: string) => string;
39
- readonly topAssociation: (siteId: string) => string;
40
- readonly keywordSparklines: (siteId: string) => string;
41
- readonly queryTrend: (siteId: string) => string;
42
- readonly pageTrend: (siteId: string) => string;
43
- readonly indexPercent: (siteId: string) => string;
44
32
  };
45
33
  readonly settings: {
46
34
  readonly user: "/user/settings";
47
35
  };
48
- readonly teams: {
49
- readonly create: "/partner/teams";
50
- readonly byId: (teamId: string) => string;
51
- readonly catalog: (teamId: string) => string;
52
- readonly members: (teamId: string) => string;
53
- readonly member: (teamId: string, userId: string) => string;
54
- };
55
36
  };
56
37
  declare const analyticsRoutes: {
57
38
  readonly whoami: "/api/__gsc/whoami";
package/dist/routes.mjs CHANGED
@@ -1,11 +1,6 @@
1
1
  const partnerRoutes = {
2
2
  partner: {
3
- users: {
4
- byId: (userId) => `/partner/users/${encodeURIComponent(userId)}`,
5
- lifecycle: (userId) => `/partner/users/${encodeURIComponent(userId)}/lifecycle`,
6
- siteTeam: (userId, siteId) => `/partner/users/${encodeURIComponent(userId)}/sites/${encodeURIComponent(siteId)}`,
7
- siteIntIdCrosswalk: (userId) => `/partner/users/${encodeURIComponent(userId)}/sites/crosswalk`
8
- },
3
+ users: { lifecycle: (userId) => `/partner/users/${encodeURIComponent(userId)}/lifecycle` },
9
4
  sites: {
10
5
  register: "/partner/sites/register",
11
6
  bulkRegister: "/partner/sites/bulk-register",
@@ -19,8 +14,7 @@ const partnerRoutes = {
19
14
  status: (userId) => `/users/${encodeURIComponent(userId)}/status`,
20
15
  lifecycle: (userId) => `/users/${encodeURIComponent(userId)}/lifecycle`,
21
16
  sites: (userId) => `/users/${encodeURIComponent(userId)}/sites`,
22
- availableSites: (userId) => `/users/${encodeURIComponent(userId)}/available-sites`,
23
- siteTeam: (userId, siteId) => `/partner/users/${encodeURIComponent(userId)}/sites/${encodeURIComponent(siteId)}`
17
+ availableSites: (userId) => `/users/${encodeURIComponent(userId)}/available-sites`
24
18
  },
25
19
  sites: {
26
20
  register: "/sites/register",
@@ -32,24 +26,9 @@ const partnerRoutes = {
32
26
  dataDetail: (siteId) => `/sites/${encodeURIComponent(siteId)}/data/detail`,
33
27
  indexing: (siteId) => `/sites/${encodeURIComponent(siteId)}/indexing`,
34
28
  indexingUrls: (siteId) => `/sites/${encodeURIComponent(siteId)}/indexing/urls`,
35
- indexingDiagnostics: (siteId) => `/sites/${encodeURIComponent(siteId)}/indexing/diagnostics`,
36
- indexingInspect: (siteId) => `/sites/${encodeURIComponent(siteId)}/indexing/inspect`,
37
- recoverPermission: (siteId) => `/sites/${encodeURIComponent(siteId)}/recover-permission`,
38
- canonicalMismatches: (siteId) => `/sites/${encodeURIComponent(siteId)}/canonical-mismatches`,
39
- topAssociation: (siteId) => `/sites/${encodeURIComponent(siteId)}/data/top-association`,
40
- keywordSparklines: (siteId) => `/sites/${encodeURIComponent(siteId)}/data/keyword-sparklines`,
41
- queryTrend: (siteId) => `/sites/${encodeURIComponent(siteId)}/data/query-trend`,
42
- pageTrend: (siteId) => `/sites/${encodeURIComponent(siteId)}/data/page-trend`,
43
- indexPercent: (siteId) => `/sites/${encodeURIComponent(siteId)}/index-percent`
29
+ indexingDiagnostics: (siteId) => `/sites/${encodeURIComponent(siteId)}/indexing/diagnostics`
44
30
  },
45
- settings: { user: "/user/settings" },
46
- teams: {
47
- create: "/partner/teams",
48
- byId: (teamId) => `/partner/teams/${encodeURIComponent(teamId)}`,
49
- catalog: (teamId) => `/partner/teams/${encodeURIComponent(teamId)}/catalog`,
50
- members: (teamId) => `/partner/teams/${encodeURIComponent(teamId)}/members`,
51
- member: (teamId, userId) => `/partner/teams/${encodeURIComponent(teamId)}/members/${encodeURIComponent(userId)}`
52
- }
31
+ settings: { user: "/user/settings" }
53
32
  };
54
33
  const analyticsRoutes = {
55
34
  whoami: "/api/__gsc/whoami",
@@ -354,12 +354,12 @@ declare const indexingUrlsResponseSchema: z.ZodObject<{
354
354
  }, z.core.$loose>;
355
355
  declare const GSCDUMP_INDEXING_TRANSITION_FIELDS: readonly ["indexStatus", "coverageState", "robotsTxtState", "indexingState", "pageFetchState", "googleCanonical"];
356
356
  declare const gscdumpIndexingTransitionFieldSchema: z.ZodEnum<{
357
- indexStatus: "indexStatus";
358
- googleCanonical: "googleCanonical";
359
357
  coverageState: "coverageState";
360
- robotsTxtState: "robotsTxtState";
361
358
  indexingState: "indexingState";
359
+ robotsTxtState: "robotsTxtState";
362
360
  pageFetchState: "pageFetchState";
361
+ googleCanonical: "googleCanonical";
362
+ indexStatus: "indexStatus";
363
363
  }>;
364
364
  declare const indexingIssueSchema: z.ZodObject<{
365
365
  type: z.ZodString;
@@ -1710,8 +1710,8 @@ declare const indexingUrlsParamsSchema: z.ZodOptional<z.ZodObject<{
1710
1710
  limit: z.ZodOptional<z.ZodNumber>;
1711
1711
  offset: z.ZodOptional<z.ZodNumber>;
1712
1712
  status: z.ZodOptional<z.ZodEnum<{
1713
- indexed: "indexed";
1714
1713
  pending: "pending";
1714
+ indexed: "indexed";
1715
1715
  not_indexed: "not_indexed";
1716
1716
  }>>;
1717
1717
  issue: z.ZodOptional<z.ZodString>;
@@ -1778,9 +1778,9 @@ declare const gscdumpIndexingResponseSchema: z.ZodObject<{
1778
1778
  siteUrl: z.ZodString;
1779
1779
  syncStatus: z.ZodNullable<z.ZodString>;
1780
1780
  indexingStatus: z.ZodEnum<{
1781
- complete: "complete";
1782
1781
  pending: "pending";
1783
1782
  partial: "partial";
1783
+ complete: "complete";
1784
1784
  }>;
1785
1785
  indexingProgress: z.ZodNumber;
1786
1786
  sitemapTotal: z.ZodNumber;
@@ -1974,8 +1974,8 @@ declare const gscdumpSyncProgressResponseSchema: z.ZodObject<{
1974
1974
  needsReauth: z.ZodBoolean;
1975
1975
  authFailureCount: z.ZodNumber;
1976
1976
  currentPhase: z.ZodEnum<{
1977
- complete: "complete";
1978
1977
  backfill: "backfill";
1978
+ complete: "complete";
1979
1979
  initial: "initial";
1980
1980
  }>;
1981
1981
  isStalled: z.ZodBoolean;
@@ -2488,8 +2488,8 @@ declare const gscVerificationMethodSchema: z.ZodEnum<{
2488
2488
  }>;
2489
2489
  declare const gscVerificationSiteSchema: z.ZodObject<{
2490
2490
  type: z.ZodEnum<{
2491
- SITE: "SITE";
2492
2491
  INET_DOMAIN: "INET_DOMAIN";
2492
+ SITE: "SITE";
2493
2493
  }>;
2494
2494
  identifier: z.ZodString;
2495
2495
  }, z.core.$strip>;
@@ -2517,8 +2517,8 @@ declare const gscVerificationTokenResponseSchema: z.ZodObject<{
2517
2517
  siteUrl: z.ZodString;
2518
2518
  site: z.ZodObject<{
2519
2519
  type: z.ZodEnum<{
2520
- SITE: "SITE";
2521
2520
  INET_DOMAIN: "INET_DOMAIN";
2521
+ SITE: "SITE";
2522
2522
  }>;
2523
2523
  identifier: z.ZodString;
2524
2524
  }, z.core.$strip>;
@@ -2545,8 +2545,8 @@ declare const gscAddAndVerifyResponseSchema: z.ZodObject<{
2545
2545
  siteUrl: z.ZodString;
2546
2546
  site: z.ZodObject<{
2547
2547
  type: z.ZodEnum<{
2548
- SITE: "SITE";
2549
2548
  INET_DOMAIN: "INET_DOMAIN";
2549
+ SITE: "SITE";
2550
2550
  }>;
2551
2551
  identifier: z.ZodString;
2552
2552
  }, z.core.$strip>;
@@ -3433,8 +3433,8 @@ declare const partnerControlEndpointSchemas: {
3433
3433
  needsReauth: z.ZodBoolean;
3434
3434
  authFailureCount: z.ZodNumber;
3435
3435
  currentPhase: z.ZodEnum<{
3436
- complete: "complete";
3437
3436
  backfill: "backfill";
3437
+ complete: "complete";
3438
3438
  initial: "initial";
3439
3439
  }>;
3440
3440
  isStalled: z.ZodBoolean;
@@ -4323,9 +4323,9 @@ declare const partnerControlEndpointSchemas: {
4323
4323
  siteUrl: z.ZodString;
4324
4324
  syncStatus: z.ZodNullable<z.ZodString>;
4325
4325
  indexingStatus: z.ZodEnum<{
4326
- complete: "complete";
4327
4326
  pending: "pending";
4328
4327
  partial: "partial";
4328
+ complete: "complete";
4329
4329
  }>;
4330
4330
  indexingProgress: z.ZodNumber;
4331
4331
  sitemapTotal: z.ZodNumber;
@@ -4341,8 +4341,8 @@ declare const partnerControlEndpointSchemas: {
4341
4341
  limit: z.ZodOptional<z.ZodNumber>;
4342
4342
  offset: z.ZodOptional<z.ZodNumber>;
4343
4343
  status: z.ZodOptional<z.ZodEnum<{
4344
- indexed: "indexed";
4345
4344
  pending: "pending";
4345
+ indexed: "indexed";
4346
4346
  not_indexed: "not_indexed";
4347
4347
  }>>;
4348
4348
  issue: z.ZodOptional<z.ZodString>;
@@ -4849,8 +4849,8 @@ declare const partnerControlEndpointSchemas: {
4849
4849
  siteUrl: z.ZodString;
4850
4850
  site: z.ZodObject<{
4851
4851
  type: z.ZodEnum<{
4852
- SITE: "SITE";
4853
4852
  INET_DOMAIN: "INET_DOMAIN";
4853
+ SITE: "SITE";
4854
4854
  }>;
4855
4855
  identifier: z.ZodString;
4856
4856
  }, z.core.$strip>;
@@ -4891,8 +4891,8 @@ declare const partnerControlEndpointSchemas: {
4891
4891
  siteUrl: z.ZodString;
4892
4892
  site: z.ZodObject<{
4893
4893
  type: z.ZodEnum<{
4894
- SITE: "SITE";
4895
4894
  INET_DOMAIN: "INET_DOMAIN";
4895
+ SITE: "SITE";
4896
4896
  }>;
4897
4897
  identifier: z.ZodString;
4898
4898
  }, z.core.$strip>;
@@ -5132,8 +5132,8 @@ declare const partnerEndpointSchemas: {
5132
5132
  needsReauth: z.ZodBoolean;
5133
5133
  authFailureCount: z.ZodNumber;
5134
5134
  currentPhase: z.ZodEnum<{
5135
- complete: "complete";
5136
5135
  backfill: "backfill";
5136
+ complete: "complete";
5137
5137
  initial: "initial";
5138
5138
  }>;
5139
5139
  isStalled: z.ZodBoolean;
@@ -6022,9 +6022,9 @@ declare const partnerEndpointSchemas: {
6022
6022
  siteUrl: z.ZodString;
6023
6023
  syncStatus: z.ZodNullable<z.ZodString>;
6024
6024
  indexingStatus: z.ZodEnum<{
6025
- complete: "complete";
6026
6025
  pending: "pending";
6027
6026
  partial: "partial";
6027
+ complete: "complete";
6028
6028
  }>;
6029
6029
  indexingProgress: z.ZodNumber;
6030
6030
  sitemapTotal: z.ZodNumber;
@@ -6040,8 +6040,8 @@ declare const partnerEndpointSchemas: {
6040
6040
  limit: z.ZodOptional<z.ZodNumber>;
6041
6041
  offset: z.ZodOptional<z.ZodNumber>;
6042
6042
  status: z.ZodOptional<z.ZodEnum<{
6043
- indexed: "indexed";
6044
6043
  pending: "pending";
6044
+ indexed: "indexed";
6045
6045
  not_indexed: "not_indexed";
6046
6046
  }>>;
6047
6047
  issue: z.ZodOptional<z.ZodString>;
@@ -6548,8 +6548,8 @@ declare const partnerEndpointSchemas: {
6548
6548
  siteUrl: z.ZodString;
6549
6549
  site: z.ZodObject<{
6550
6550
  type: z.ZodEnum<{
6551
- SITE: "SITE";
6552
6551
  INET_DOMAIN: "INET_DOMAIN";
6552
+ SITE: "SITE";
6553
6553
  }>;
6554
6554
  identifier: z.ZodString;
6555
6555
  }, z.core.$strip>;
@@ -6590,8 +6590,8 @@ declare const partnerEndpointSchemas: {
6590
6590
  siteUrl: z.ZodString;
6591
6591
  site: z.ZodObject<{
6592
6592
  type: z.ZodEnum<{
6593
- SITE: "SITE";
6594
6593
  INET_DOMAIN: "INET_DOMAIN";
6594
+ SITE: "SITE";
6595
6595
  }>;
6596
6596
  identifier: z.ZodString;
6597
6597
  }, z.core.$strip>;
@@ -15,12 +15,12 @@ declare const GSCDUMP_V1_ANALYTICS_DIMENSIONS: readonly ["page", "query", "query
15
15
  declare function createGscdumpV1BrowserSchemas(realtimeSchemas?: RealtimeV1Schemas): {
16
16
  analyticsRowsRequest: z.ZodObject<{
17
17
  dimensions: z.ZodArray<z.ZodEnum<{
18
+ date: "date";
18
19
  page: "page";
19
20
  query: "query";
20
21
  queryCanonical: "queryCanonical";
21
22
  country: "country";
22
23
  device: "device";
23
- date: "date";
24
24
  searchAppearance: "searchAppearance";
25
25
  hour: "hour";
26
26
  }>>;
@@ -736,12 +736,12 @@ declare function createGscdumpV1Protocol(): {
736
736
  googleNews: "googleNews";
737
737
  }>>;
738
738
  dimensions: z.ZodArray<z.ZodEnum<{
739
+ date: "date";
739
740
  page: "page";
740
741
  query: "query";
741
742
  queryCanonical: "queryCanonical";
742
743
  country: "country";
743
744
  device: "device";
744
- date: "date";
745
745
  searchAppearance: "searchAppearance";
746
746
  hour: "hour";
747
747
  }>>;
@@ -756,12 +756,12 @@ declare function createGscdumpV1Protocol(): {
756
756
  googleNews: "googleNews";
757
757
  }>>;
758
758
  dimensions: z.ZodArray<z.ZodEnum<{
759
+ date: "date";
759
760
  page: "page";
760
761
  query: "query";
761
762
  queryCanonical: "queryCanonical";
762
763
  country: "country";
763
764
  device: "device";
764
- date: "date";
765
765
  searchAppearance: "searchAppearance";
766
766
  hour: "hour";
767
767
  }>>;
@@ -893,12 +893,12 @@ declare function createGscdumpV1Protocol(): {
893
893
  googleNews: "googleNews";
894
894
  }>>;
895
895
  dimensions: z.ZodArray<z.ZodEnum<{
896
+ date: "date";
896
897
  page: "page";
897
898
  query: "query";
898
899
  queryCanonical: "queryCanonical";
899
900
  country: "country";
900
901
  device: "device";
901
- date: "date";
902
902
  searchAppearance: "searchAppearance";
903
903
  hour: "hour";
904
904
  }>>;
@@ -913,12 +913,12 @@ declare function createGscdumpV1Protocol(): {
913
913
  googleNews: "googleNews";
914
914
  }>>;
915
915
  dimensions: z.ZodArray<z.ZodEnum<{
916
+ date: "date";
916
917
  page: "page";
917
918
  query: "query";
918
919
  queryCanonical: "queryCanonical";
919
920
  country: "country";
920
921
  device: "device";
921
- date: "date";
922
922
  searchAppearance: "searchAppearance";
923
923
  hour: "hour";
924
924
  }>>;
@@ -1021,12 +1021,12 @@ declare function createGscdumpV1Protocol(): {
1021
1021
  }, z.core.$strip>>;
1022
1022
  analyticsRowsRequest: z.ZodObject<{
1023
1023
  dimensions: z.ZodArray<z.ZodEnum<{
1024
+ date: "date";
1024
1025
  page: "page";
1025
1026
  query: "query";
1026
1027
  queryCanonical: "queryCanonical";
1027
1028
  country: "country";
1028
1029
  device: "device";
1029
- date: "date";
1030
1030
  searchAppearance: "searchAppearance";
1031
1031
  hour: "hour";
1032
1032
  }>>;
@@ -1527,9 +1527,9 @@ declare function createGscdumpV1Protocol(): {
1527
1527
  siteUrl: z.ZodString;
1528
1528
  syncStatus: z.ZodNullable<z.ZodString>;
1529
1529
  indexingStatus: z.ZodEnum<{
1530
- complete: "complete";
1531
1530
  pending: "pending";
1532
1531
  partial: "partial";
1532
+ complete: "complete";
1533
1533
  }>;
1534
1534
  indexingProgress: z.ZodNumber;
1535
1535
  sitemapTotal: z.ZodNumber;
@@ -1601,9 +1601,9 @@ declare function createGscdumpV1Protocol(): {
1601
1601
  siteUrl: z.ZodString;
1602
1602
  syncStatus: z.ZodNullable<z.ZodString>;
1603
1603
  indexingStatus: z.ZodEnum<{
1604
- complete: "complete";
1605
1604
  pending: "pending";
1606
1605
  partial: "partial";
1606
+ complete: "complete";
1607
1607
  }>;
1608
1608
  indexingProgress: z.ZodNumber;
1609
1609
  sitemapTotal: z.ZodNumber;
@@ -1623,12 +1623,12 @@ declare function createGscdumpV1Protocol(): {
1623
1623
  startDate: z.ZodOptional<z.ZodString>;
1624
1624
  endDate: z.ZodOptional<z.ZodString>;
1625
1625
  field: z.ZodOptional<z.ZodEnum<{
1626
- indexStatus: "indexStatus";
1627
- googleCanonical: "googleCanonical";
1628
1626
  coverageState: "coverageState";
1629
- robotsTxtState: "robotsTxtState";
1630
1627
  indexingState: "indexingState";
1628
+ robotsTxtState: "robotsTxtState";
1631
1629
  pageFetchState: "pageFetchState";
1630
+ googleCanonical: "googleCanonical";
1631
+ indexStatus: "indexStatus";
1632
1632
  }>>;
1633
1633
  fromValue: z.ZodOptional<z.ZodString>;
1634
1634
  toValue: z.ZodOptional<z.ZodString>;
@@ -1640,12 +1640,12 @@ declare function createGscdumpV1Protocol(): {
1640
1640
  readonly transitions: z.ZodArray<z.ZodObject<{
1641
1641
  readonly url: z.ZodString;
1642
1642
  readonly field: z.ZodEnum<{
1643
- indexStatus: "indexStatus";
1644
- googleCanonical: "googleCanonical";
1645
1643
  coverageState: "coverageState";
1646
- robotsTxtState: "robotsTxtState";
1647
1644
  indexingState: "indexingState";
1645
+ robotsTxtState: "robotsTxtState";
1648
1646
  pageFetchState: "pageFetchState";
1647
+ googleCanonical: "googleCanonical";
1648
+ indexStatus: "indexStatus";
1649
1649
  }>;
1650
1650
  readonly fromValue: z.ZodNullable<z.ZodString>;
1651
1651
  readonly toValue: z.ZodNullable<z.ZodString>;
@@ -1687,12 +1687,12 @@ declare function createGscdumpV1Protocol(): {
1687
1687
  readonly transitions: z.ZodArray<z.ZodObject<{
1688
1688
  readonly url: z.ZodString;
1689
1689
  readonly field: z.ZodEnum<{
1690
- indexStatus: "indexStatus";
1691
- googleCanonical: "googleCanonical";
1692
1690
  coverageState: "coverageState";
1693
- robotsTxtState: "robotsTxtState";
1694
1691
  indexingState: "indexingState";
1692
+ robotsTxtState: "robotsTxtState";
1695
1693
  pageFetchState: "pageFetchState";
1694
+ googleCanonical: "googleCanonical";
1695
+ indexStatus: "indexStatus";
1696
1696
  }>;
1697
1697
  readonly fromValue: z.ZodNullable<z.ZodString>;
1698
1698
  readonly toValue: z.ZodNullable<z.ZodString>;
@@ -1734,8 +1734,8 @@ declare function createGscdumpV1Protocol(): {
1734
1734
  limit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
1735
1735
  offset: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
1736
1736
  status: z.ZodOptional<z.ZodEnum<{
1737
- indexed: "indexed";
1738
1737
  pending: "pending";
1738
+ indexed: "indexed";
1739
1739
  not_indexed: "not_indexed";
1740
1740
  }>>;
1741
1741
  issue: z.ZodOptional<z.ZodString>;
@@ -2189,7 +2189,6 @@ declare function createGscdumpV1Protocol(): {
2189
2189
  requestedUrl: z.ZodOptional<z.ZodString>;
2190
2190
  gscPropertyUrl: z.ZodOptional<z.ZodString>;
2191
2191
  siteUrl: z.ZodString;
2192
- catalogSiteId: z.ZodOptional<z.ZodNumber>;
2193
2192
  externalSiteUrl: z.ZodOptional<z.ZodString>;
2194
2193
  webhookUrl: z.ZodOptional<z.ZodURL>;
2195
2194
  webhookEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
@@ -2208,6 +2207,7 @@ declare function createGscdumpV1Protocol(): {
2208
2207
  discover: "discover";
2209
2208
  googleNews: "googleNews";
2210
2209
  }>>>;
2210
+ catalogSiteId: z.ZodOptional<z.ZodNumber>;
2211
2211
  }, z.core.$strict>;
2212
2212
  sitemapChangesQuery: z.ZodObject<{
2213
2213
  days: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
@@ -3608,7 +3608,6 @@ declare function createGscdumpV1Protocol(): {
3608
3608
  requestedUrl: z.ZodOptional<z.ZodString>;
3609
3609
  gscPropertyUrl: z.ZodOptional<z.ZodString>;
3610
3610
  siteUrl: z.ZodString;
3611
- catalogSiteId: z.ZodOptional<z.ZodNumber>;
3612
3611
  externalSiteUrl: z.ZodOptional<z.ZodString>;
3613
3612
  webhookUrl: z.ZodOptional<z.ZodURL>;
3614
3613
  webhookEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
@@ -3627,6 +3626,7 @@ declare function createGscdumpV1Protocol(): {
3627
3626
  discover: "discover";
3628
3627
  googleNews: "googleNews";
3629
3628
  }>>>;
3629
+ catalogSiteId: z.ZodOptional<z.ZodNumber>;
3630
3630
  }, z.core.$strict>;
3631
3631
  };
3632
3632
  readonly responses: {
@@ -4429,9 +4429,9 @@ declare function createGscdumpV1Protocol(): {
4429
4429
  siteUrl: z.ZodString;
4430
4430
  syncStatus: z.ZodNullable<z.ZodString>;
4431
4431
  indexingStatus: z.ZodEnum<{
4432
- complete: "complete";
4433
4432
  pending: "pending";
4434
4433
  partial: "partial";
4434
+ complete: "complete";
4435
4435
  }>;
4436
4436
  indexingProgress: z.ZodNumber;
4437
4437
  sitemapTotal: z.ZodNumber;
@@ -4503,9 +4503,9 @@ declare function createGscdumpV1Protocol(): {
4503
4503
  siteUrl: z.ZodString;
4504
4504
  syncStatus: z.ZodNullable<z.ZodString>;
4505
4505
  indexingStatus: z.ZodEnum<{
4506
- complete: "complete";
4507
4506
  pending: "pending";
4508
4507
  partial: "partial";
4508
+ complete: "complete";
4509
4509
  }>;
4510
4510
  indexingProgress: z.ZodNumber;
4511
4511
  sitemapTotal: z.ZodNumber;
@@ -4654,8 +4654,8 @@ declare function createGscdumpV1Protocol(): {
4654
4654
  limit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
4655
4655
  offset: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
4656
4656
  status: z.ZodOptional<z.ZodEnum<{
4657
- indexed: "indexed";
4658
4657
  pending: "pending";
4658
+ indexed: "indexed";
4659
4659
  not_indexed: "not_indexed";
4660
4660
  }>>;
4661
4661
  issue: z.ZodOptional<z.ZodString>;
@@ -4881,12 +4881,12 @@ declare function createGscdumpV1Protocol(): {
4881
4881
  startDate: z.ZodOptional<z.ZodString>;
4882
4882
  endDate: z.ZodOptional<z.ZodString>;
4883
4883
  field: z.ZodOptional<z.ZodEnum<{
4884
- indexStatus: "indexStatus";
4885
- googleCanonical: "googleCanonical";
4886
4884
  coverageState: "coverageState";
4887
- robotsTxtState: "robotsTxtState";
4888
4885
  indexingState: "indexingState";
4886
+ robotsTxtState: "robotsTxtState";
4889
4887
  pageFetchState: "pageFetchState";
4888
+ googleCanonical: "googleCanonical";
4889
+ indexStatus: "indexStatus";
4890
4890
  }>>;
4891
4891
  fromValue: z.ZodOptional<z.ZodString>;
4892
4892
  toValue: z.ZodOptional<z.ZodString>;
@@ -4904,12 +4904,12 @@ declare function createGscdumpV1Protocol(): {
4904
4904
  readonly transitions: z.ZodArray<z.ZodObject<{
4905
4905
  readonly url: z.ZodString;
4906
4906
  readonly field: z.ZodEnum<{
4907
- indexStatus: "indexStatus";
4908
- googleCanonical: "googleCanonical";
4909
4907
  coverageState: "coverageState";
4910
- robotsTxtState: "robotsTxtState";
4911
4908
  indexingState: "indexingState";
4909
+ robotsTxtState: "robotsTxtState";
4912
4910
  pageFetchState: "pageFetchState";
4911
+ googleCanonical: "googleCanonical";
4912
+ indexStatus: "indexStatus";
4913
4913
  }>;
4914
4914
  readonly fromValue: z.ZodNullable<z.ZodString>;
4915
4915
  readonly toValue: z.ZodNullable<z.ZodString>;
@@ -4951,12 +4951,12 @@ declare function createGscdumpV1Protocol(): {
4951
4951
  readonly transitions: z.ZodArray<z.ZodObject<{
4952
4952
  readonly url: z.ZodString;
4953
4953
  readonly field: z.ZodEnum<{
4954
- indexStatus: "indexStatus";
4955
- googleCanonical: "googleCanonical";
4956
4954
  coverageState: "coverageState";
4957
- robotsTxtState: "robotsTxtState";
4958
4955
  indexingState: "indexingState";
4956
+ robotsTxtState: "robotsTxtState";
4959
4957
  pageFetchState: "pageFetchState";
4958
+ googleCanonical: "googleCanonical";
4959
+ indexStatus: "indexStatus";
4960
4960
  }>;
4961
4961
  readonly fromValue: z.ZodNullable<z.ZodString>;
4962
4962
  readonly toValue: z.ZodNullable<z.ZodString>;
@@ -11882,12 +11882,12 @@ declare function createGscdumpV1Protocol(): {
11882
11882
  }, z.core.$strict>;
11883
11883
  readonly body: z.ZodObject<{
11884
11884
  dimensions: z.ZodArray<z.ZodEnum<{
11885
+ date: "date";
11885
11886
  page: "page";
11886
11887
  query: "query";
11887
11888
  queryCanonical: "queryCanonical";
11888
11889
  country: "country";
11889
11890
  device: "device";
11890
- date: "date";
11891
11891
  searchAppearance: "searchAppearance";
11892
11892
  hour: "hour";
11893
11893
  }>>;
@@ -12085,12 +12085,12 @@ declare function createGscdumpV1Protocol(): {
12085
12085
  googleNews: "googleNews";
12086
12086
  }>>;
12087
12087
  dimensions: z.ZodArray<z.ZodEnum<{
12088
+ date: "date";
12088
12089
  page: "page";
12089
12090
  query: "query";
12090
12091
  queryCanonical: "queryCanonical";
12091
12092
  country: "country";
12092
12093
  device: "device";
12093
- date: "date";
12094
12094
  searchAppearance: "searchAppearance";
12095
12095
  hour: "hour";
12096
12096
  }>>;
@@ -12105,12 +12105,12 @@ declare function createGscdumpV1Protocol(): {
12105
12105
  googleNews: "googleNews";
12106
12106
  }>>;
12107
12107
  dimensions: z.ZodArray<z.ZodEnum<{
12108
+ date: "date";
12108
12109
  page: "page";
12109
12110
  query: "query";
12110
12111
  queryCanonical: "queryCanonical";
12111
12112
  country: "country";
12112
12113
  device: "device";
12113
- date: "date";
12114
12114
  searchAppearance: "searchAppearance";
12115
12115
  hour: "hour";
12116
12116
  }>>;
@@ -12346,12 +12346,12 @@ declare function createGscdumpV1Protocol(): {
12346
12346
  googleNews: "googleNews";
12347
12347
  }>>;
12348
12348
  dimensions: z.ZodArray<z.ZodEnum<{
12349
+ date: "date";
12349
12350
  page: "page";
12350
12351
  query: "query";
12351
12352
  queryCanonical: "queryCanonical";
12352
12353
  country: "country";
12353
12354
  device: "device";
12354
- date: "date";
12355
12355
  searchAppearance: "searchAppearance";
12356
12356
  hour: "hour";
12357
12357
  }>>;
@@ -12366,12 +12366,12 @@ declare function createGscdumpV1Protocol(): {
12366
12366
  googleNews: "googleNews";
12367
12367
  }>>;
12368
12368
  dimensions: z.ZodArray<z.ZodEnum<{
12369
+ date: "date";
12369
12370
  page: "page";
12370
12371
  query: "query";
12371
12372
  queryCanonical: "queryCanonical";
12372
12373
  country: "country";
12373
12374
  device: "device";
12374
- date: "date";
12375
12375
  searchAppearance: "searchAppearance";
12376
12376
  hour: "hour";
12377
12377
  }>>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gscdump/contracts",
3
3
  "type": "module",
4
- "version": "2.0.2",
4
+ "version": "2.0.3",
5
5
  "description": "Shared gscdump.com API, webhook, realtime, and lifecycle contracts.",
6
6
  "author": {
7
7
  "name": "Harlan Wilton",