@gscdump/contracts 7.2.0 → 7.3.1
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/analytics.d.mts +2 -2
- package/dist/endpoints.d.mts +14 -8
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +2 -2
- package/dist/indexing-coverage.d.mts +18 -18
- package/dist/partner.d.mts +2 -2
- package/dist/schemas.d.mts +64 -27
- package/dist/schemas.mjs +20 -5
- package/dist/types.d.mts +12 -2
- package/dist/v1/operations.d.mts +55 -43
- package/dist/v1/operations.mjs +12 -7
- package/package.json +1 -1
package/dist/v1/operations.d.mts
CHANGED
|
@@ -1315,8 +1315,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1315
1315
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1316
1316
|
error: "error";
|
|
1317
1317
|
syncing: "syncing";
|
|
1318
|
-
pending: "pending";
|
|
1319
1318
|
idle: "idle";
|
|
1319
|
+
pending: "pending";
|
|
1320
1320
|
partial: "partial";
|
|
1321
1321
|
synced: "synced";
|
|
1322
1322
|
}>>>;
|
|
@@ -1347,8 +1347,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1347
1347
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1348
1348
|
error: "error";
|
|
1349
1349
|
syncing: "syncing";
|
|
1350
|
-
pending: "pending";
|
|
1351
1350
|
idle: "idle";
|
|
1351
|
+
pending: "pending";
|
|
1352
1352
|
partial: "partial";
|
|
1353
1353
|
synced: "synced";
|
|
1354
1354
|
}>>>;
|
|
@@ -1370,6 +1370,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1370
1370
|
}, z.core.$strip>;
|
|
1371
1371
|
}, z.core.$strip>>;
|
|
1372
1372
|
indexingDiagnosticsQuery: z.ZodObject<{
|
|
1373
|
+
feedpath: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1374
|
+
excludeFeedpath: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1373
1375
|
sampleIssues: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1374
1376
|
sampleLimit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
|
|
1375
1377
|
}, z.core.$strict>;
|
|
@@ -1543,6 +1545,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1543
1545
|
}, z.core.$strip>;
|
|
1544
1546
|
}, z.core.$strip>>;
|
|
1545
1547
|
indexingSummaryQuery: z.ZodObject<{
|
|
1548
|
+
feedpath: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1549
|
+
excludeFeedpath: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1546
1550
|
days: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
|
|
1547
1551
|
}, z.core.$strict>;
|
|
1548
1552
|
indexingSummaryResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
@@ -1571,19 +1575,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1571
1575
|
_tag: z.ZodLiteral<"counted">;
|
|
1572
1576
|
capturedAt: z.ZodString;
|
|
1573
1577
|
counts: z.ZodObject<{
|
|
1574
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
1575
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
1576
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
1577
1578
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
1578
1579
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
1579
1580
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
1581
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
1580
1582
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
1581
1583
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
1582
1584
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
1585
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
1583
1586
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
1584
1587
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
1585
1588
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
1586
1589
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
1590
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
1587
1591
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
1588
1592
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
1589
1593
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1710,19 +1714,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1710
1714
|
_tag: z.ZodLiteral<"counted">;
|
|
1711
1715
|
capturedAt: z.ZodString;
|
|
1712
1716
|
counts: z.ZodObject<{
|
|
1713
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
1714
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
1715
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
1716
1717
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
1717
1718
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
1718
1719
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
1720
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
1719
1721
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
1720
1722
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
1721
1723
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
1724
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
1722
1725
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
1723
1726
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
1724
1727
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
1725
1728
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
1729
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
1726
1730
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
1727
1731
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
1728
1732
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1828,9 +1832,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1828
1832
|
startDate: z.ZodOptional<z.ZodString>;
|
|
1829
1833
|
endDate: z.ZodOptional<z.ZodString>;
|
|
1830
1834
|
field: z.ZodOptional<z.ZodEnum<{
|
|
1835
|
+
coverageState: "coverageState";
|
|
1831
1836
|
indexStatus: "indexStatus";
|
|
1832
1837
|
googleCanonical: "googleCanonical";
|
|
1833
|
-
coverageState: "coverageState";
|
|
1834
1838
|
robotsTxtState: "robotsTxtState";
|
|
1835
1839
|
indexingState: "indexingState";
|
|
1836
1840
|
pageFetchState: "pageFetchState";
|
|
@@ -1845,9 +1849,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1845
1849
|
readonly transitions: z.ZodArray<z.ZodObject<{
|
|
1846
1850
|
readonly url: z.ZodString;
|
|
1847
1851
|
readonly field: z.ZodEnum<{
|
|
1852
|
+
coverageState: "coverageState";
|
|
1848
1853
|
indexStatus: "indexStatus";
|
|
1849
1854
|
googleCanonical: "googleCanonical";
|
|
1850
|
-
coverageState: "coverageState";
|
|
1851
1855
|
robotsTxtState: "robotsTxtState";
|
|
1852
1856
|
indexingState: "indexingState";
|
|
1853
1857
|
pageFetchState: "pageFetchState";
|
|
@@ -1892,9 +1896,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1892
1896
|
readonly transitions: z.ZodArray<z.ZodObject<{
|
|
1893
1897
|
readonly url: z.ZodString;
|
|
1894
1898
|
readonly field: z.ZodEnum<{
|
|
1899
|
+
coverageState: "coverageState";
|
|
1895
1900
|
indexStatus: "indexStatus";
|
|
1896
1901
|
googleCanonical: "googleCanonical";
|
|
1897
|
-
coverageState: "coverageState";
|
|
1898
1902
|
robotsTxtState: "robotsTxtState";
|
|
1899
1903
|
indexingState: "indexingState";
|
|
1900
1904
|
pageFetchState: "pageFetchState";
|
|
@@ -1936,6 +1940,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1936
1940
|
}, z.core.$strip>;
|
|
1937
1941
|
}, z.core.$strip>>;
|
|
1938
1942
|
indexingUrlsQuery: z.ZodObject<{
|
|
1943
|
+
feedpath: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1944
|
+
excludeFeedpath: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
1939
1945
|
limit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
|
|
1940
1946
|
offset: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
|
|
1941
1947
|
status: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2055,19 +2061,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
2055
2061
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
2056
2062
|
checkedAt: z.ZodString;
|
|
2057
2063
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
2058
|
-
indexed: "indexed";
|
|
2059
|
-
not_found: "not_found";
|
|
2060
|
-
redirect: "redirect";
|
|
2061
2064
|
unknown_to_google: "unknown_to_google";
|
|
2062
2065
|
discovered_not_indexed: "discovered_not_indexed";
|
|
2063
2066
|
crawled_not_indexed: "crawled_not_indexed";
|
|
2067
|
+
indexed: "indexed";
|
|
2064
2068
|
noindex: "noindex";
|
|
2065
2069
|
blocked_robots: "blocked_robots";
|
|
2066
2070
|
soft_404: "soft_404";
|
|
2071
|
+
not_found: "not_found";
|
|
2067
2072
|
server_error: "server_error";
|
|
2068
2073
|
access_denied: "access_denied";
|
|
2069
2074
|
access_forbidden: "access_forbidden";
|
|
2070
2075
|
blocked_4xx: "blocked_4xx";
|
|
2076
|
+
redirect: "redirect";
|
|
2071
2077
|
redirect_error: "redirect_error";
|
|
2072
2078
|
alternate_canonical: "alternate_canonical";
|
|
2073
2079
|
duplicate_no_canonical: "duplicate_no_canonical";
|
|
@@ -2101,19 +2107,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
2101
2107
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
2102
2108
|
checkedAt: z.ZodString;
|
|
2103
2109
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
2104
|
-
indexed: "indexed";
|
|
2105
|
-
not_found: "not_found";
|
|
2106
|
-
redirect: "redirect";
|
|
2107
2110
|
unknown_to_google: "unknown_to_google";
|
|
2108
2111
|
discovered_not_indexed: "discovered_not_indexed";
|
|
2109
2112
|
crawled_not_indexed: "crawled_not_indexed";
|
|
2113
|
+
indexed: "indexed";
|
|
2110
2114
|
noindex: "noindex";
|
|
2111
2115
|
blocked_robots: "blocked_robots";
|
|
2112
2116
|
soft_404: "soft_404";
|
|
2117
|
+
not_found: "not_found";
|
|
2113
2118
|
server_error: "server_error";
|
|
2114
2119
|
access_denied: "access_denied";
|
|
2115
2120
|
access_forbidden: "access_forbidden";
|
|
2116
2121
|
blocked_4xx: "blocked_4xx";
|
|
2122
|
+
redirect: "redirect";
|
|
2117
2123
|
redirect_error: "redirect_error";
|
|
2118
2124
|
alternate_canonical: "alternate_canonical";
|
|
2119
2125
|
duplicate_no_canonical: "duplicate_no_canonical";
|
|
@@ -4453,8 +4459,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
4453
4459
|
status: z.ZodEnum<{
|
|
4454
4460
|
error: "error";
|
|
4455
4461
|
syncing: "syncing";
|
|
4456
|
-
pending: "pending";
|
|
4457
4462
|
idle: "idle";
|
|
4463
|
+
pending: "pending";
|
|
4458
4464
|
partial: "partial";
|
|
4459
4465
|
synced: "synced";
|
|
4460
4466
|
}>;
|
|
@@ -4617,8 +4623,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
4617
4623
|
status: z.ZodEnum<{
|
|
4618
4624
|
error: "error";
|
|
4619
4625
|
syncing: "syncing";
|
|
4620
|
-
pending: "pending";
|
|
4621
4626
|
idle: "idle";
|
|
4627
|
+
pending: "pending";
|
|
4622
4628
|
partial: "partial";
|
|
4623
4629
|
synced: "synced";
|
|
4624
4630
|
}>;
|
|
@@ -4883,8 +4889,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
4883
4889
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4884
4890
|
error: "error";
|
|
4885
4891
|
syncing: "syncing";
|
|
4886
|
-
pending: "pending";
|
|
4887
4892
|
idle: "idle";
|
|
4893
|
+
pending: "pending";
|
|
4888
4894
|
partial: "partial";
|
|
4889
4895
|
synced: "synced";
|
|
4890
4896
|
}>>>;
|
|
@@ -4917,8 +4923,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
4917
4923
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4918
4924
|
error: "error";
|
|
4919
4925
|
syncing: "syncing";
|
|
4920
|
-
pending: "pending";
|
|
4921
4926
|
idle: "idle";
|
|
4927
|
+
pending: "pending";
|
|
4922
4928
|
partial: "partial";
|
|
4923
4929
|
synced: "synced";
|
|
4924
4930
|
}>>>;
|
|
@@ -5632,8 +5638,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5632
5638
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5633
5639
|
error: "error";
|
|
5634
5640
|
syncing: "syncing";
|
|
5635
|
-
pending: "pending";
|
|
5636
5641
|
idle: "idle";
|
|
5642
|
+
pending: "pending";
|
|
5637
5643
|
partial: "partial";
|
|
5638
5644
|
synced: "synced";
|
|
5639
5645
|
}>>>;
|
|
@@ -5664,8 +5670,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5664
5670
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5665
5671
|
error: "error";
|
|
5666
5672
|
syncing: "syncing";
|
|
5667
|
-
pending: "pending";
|
|
5668
5673
|
idle: "idle";
|
|
5674
|
+
pending: "pending";
|
|
5669
5675
|
partial: "partial";
|
|
5670
5676
|
synced: "synced";
|
|
5671
5677
|
}>>>;
|
|
@@ -5825,8 +5831,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5825
5831
|
status: z.ZodEnum<{
|
|
5826
5832
|
error: "error";
|
|
5827
5833
|
syncing: "syncing";
|
|
5828
|
-
pending: "pending";
|
|
5829
5834
|
idle: "idle";
|
|
5835
|
+
pending: "pending";
|
|
5830
5836
|
partial: "partial";
|
|
5831
5837
|
synced: "synced";
|
|
5832
5838
|
}>;
|
|
@@ -5989,8 +5995,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5989
5995
|
status: z.ZodEnum<{
|
|
5990
5996
|
error: "error";
|
|
5991
5997
|
syncing: "syncing";
|
|
5992
|
-
pending: "pending";
|
|
5993
5998
|
idle: "idle";
|
|
5999
|
+
pending: "pending";
|
|
5994
6000
|
partial: "partial";
|
|
5995
6001
|
synced: "synced";
|
|
5996
6002
|
}>;
|
|
@@ -6408,8 +6414,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
6408
6414
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6409
6415
|
error: "error";
|
|
6410
6416
|
syncing: "syncing";
|
|
6411
|
-
pending: "pending";
|
|
6412
6417
|
idle: "idle";
|
|
6418
|
+
pending: "pending";
|
|
6413
6419
|
partial: "partial";
|
|
6414
6420
|
synced: "synced";
|
|
6415
6421
|
}>>>;
|
|
@@ -6442,8 +6448,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
6442
6448
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6443
6449
|
error: "error";
|
|
6444
6450
|
syncing: "syncing";
|
|
6445
|
-
pending: "pending";
|
|
6446
6451
|
idle: "idle";
|
|
6452
|
+
pending: "pending";
|
|
6447
6453
|
partial: "partial";
|
|
6448
6454
|
synced: "synced";
|
|
6449
6455
|
}>>>;
|
|
@@ -6748,6 +6754,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
6748
6754
|
siteId: z.ZodString;
|
|
6749
6755
|
}, z.core.$strict>;
|
|
6750
6756
|
readonly query: z.ZodObject<{
|
|
6757
|
+
feedpath: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
6758
|
+
excludeFeedpath: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
6751
6759
|
days: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
|
|
6752
6760
|
}, z.core.$strict>;
|
|
6753
6761
|
readonly headers: z.ZodObject<{
|
|
@@ -6782,19 +6790,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
6782
6790
|
_tag: z.ZodLiteral<"counted">;
|
|
6783
6791
|
capturedAt: z.ZodString;
|
|
6784
6792
|
counts: z.ZodObject<{
|
|
6785
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6786
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6787
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6788
6793
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
6789
6794
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6790
6795
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6796
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6791
6797
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
6792
6798
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
6793
6799
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
6800
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6794
6801
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
6795
6802
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
6796
6803
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
6797
6804
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
6805
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6798
6806
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
6799
6807
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
6800
6808
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -6921,19 +6929,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
6921
6929
|
_tag: z.ZodLiteral<"counted">;
|
|
6922
6930
|
capturedAt: z.ZodString;
|
|
6923
6931
|
counts: z.ZodObject<{
|
|
6924
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6925
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6926
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6927
6932
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
6928
6933
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6929
6934
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6935
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6930
6936
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
6931
6937
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
6932
6938
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
6939
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6933
6940
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
6934
6941
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
6935
6942
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
6936
6943
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
6944
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6937
6945
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
6938
6946
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
6939
6947
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -7082,7 +7090,7 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
7082
7090
|
};
|
|
7083
7091
|
readonly docs: {
|
|
7084
7092
|
readonly summary: "Get site indexing summary";
|
|
7085
|
-
readonly description: "Returns indexing coverage, trend, and inspection signal totals.";
|
|
7093
|
+
readonly description: "Returns indexing coverage, trend, and inspection signal totals. A Sitemap filter returns no trend or changes.";
|
|
7086
7094
|
readonly tags: readonly ["Indexing"];
|
|
7087
7095
|
readonly examples: {
|
|
7088
7096
|
readonly request: {
|
|
@@ -7165,6 +7173,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
7165
7173
|
siteId: z.ZodString;
|
|
7166
7174
|
}, z.core.$strict>;
|
|
7167
7175
|
readonly query: z.ZodObject<{
|
|
7176
|
+
feedpath: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7177
|
+
excludeFeedpath: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
7168
7178
|
limit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
|
|
7169
7179
|
offset: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
|
|
7170
7180
|
status: z.ZodOptional<z.ZodEnum<{
|
|
@@ -11295,9 +11305,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
11295
11305
|
startDate: z.ZodOptional<z.ZodString>;
|
|
11296
11306
|
endDate: z.ZodOptional<z.ZodString>;
|
|
11297
11307
|
field: z.ZodOptional<z.ZodEnum<{
|
|
11308
|
+
coverageState: "coverageState";
|
|
11298
11309
|
indexStatus: "indexStatus";
|
|
11299
11310
|
googleCanonical: "googleCanonical";
|
|
11300
|
-
coverageState: "coverageState";
|
|
11301
11311
|
robotsTxtState: "robotsTxtState";
|
|
11302
11312
|
indexingState: "indexingState";
|
|
11303
11313
|
pageFetchState: "pageFetchState";
|
|
@@ -11318,9 +11328,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
11318
11328
|
readonly transitions: z.ZodArray<z.ZodObject<{
|
|
11319
11329
|
readonly url: z.ZodString;
|
|
11320
11330
|
readonly field: z.ZodEnum<{
|
|
11331
|
+
coverageState: "coverageState";
|
|
11321
11332
|
indexStatus: "indexStatus";
|
|
11322
11333
|
googleCanonical: "googleCanonical";
|
|
11323
|
-
coverageState: "coverageState";
|
|
11324
11334
|
robotsTxtState: "robotsTxtState";
|
|
11325
11335
|
indexingState: "indexingState";
|
|
11326
11336
|
pageFetchState: "pageFetchState";
|
|
@@ -11365,9 +11375,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
11365
11375
|
readonly transitions: z.ZodArray<z.ZodObject<{
|
|
11366
11376
|
readonly url: z.ZodString;
|
|
11367
11377
|
readonly field: z.ZodEnum<{
|
|
11378
|
+
coverageState: "coverageState";
|
|
11368
11379
|
indexStatus: "indexStatus";
|
|
11369
11380
|
googleCanonical: "googleCanonical";
|
|
11370
|
-
coverageState: "coverageState";
|
|
11371
11381
|
robotsTxtState: "robotsTxtState";
|
|
11372
11382
|
indexingState: "indexingState";
|
|
11373
11383
|
pageFetchState: "pageFetchState";
|
|
@@ -11526,6 +11536,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
11526
11536
|
siteId: z.ZodString;
|
|
11527
11537
|
}, z.core.$strict>;
|
|
11528
11538
|
readonly query: z.ZodObject<{
|
|
11539
|
+
feedpath: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
11540
|
+
excludeFeedpath: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
11529
11541
|
sampleIssues: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
11530
11542
|
sampleLimit: z.ZodOptional<z.ZodType<string | number, unknown, z.core.$ZodTypeInternals<string | number, unknown>>>;
|
|
11531
11543
|
}, z.core.$strict>;
|
|
@@ -13948,19 +13960,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
13948
13960
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
13949
13961
|
checkedAt: z.ZodString;
|
|
13950
13962
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
13951
|
-
indexed: "indexed";
|
|
13952
|
-
not_found: "not_found";
|
|
13953
|
-
redirect: "redirect";
|
|
13954
13963
|
unknown_to_google: "unknown_to_google";
|
|
13955
13964
|
discovered_not_indexed: "discovered_not_indexed";
|
|
13956
13965
|
crawled_not_indexed: "crawled_not_indexed";
|
|
13966
|
+
indexed: "indexed";
|
|
13957
13967
|
noindex: "noindex";
|
|
13958
13968
|
blocked_robots: "blocked_robots";
|
|
13959
13969
|
soft_404: "soft_404";
|
|
13970
|
+
not_found: "not_found";
|
|
13960
13971
|
server_error: "server_error";
|
|
13961
13972
|
access_denied: "access_denied";
|
|
13962
13973
|
access_forbidden: "access_forbidden";
|
|
13963
13974
|
blocked_4xx: "blocked_4xx";
|
|
13975
|
+
redirect: "redirect";
|
|
13964
13976
|
redirect_error: "redirect_error";
|
|
13965
13977
|
alternate_canonical: "alternate_canonical";
|
|
13966
13978
|
duplicate_no_canonical: "duplicate_no_canonical";
|
|
@@ -13994,19 +14006,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
13994
14006
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
13995
14007
|
checkedAt: z.ZodString;
|
|
13996
14008
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
13997
|
-
indexed: "indexed";
|
|
13998
|
-
not_found: "not_found";
|
|
13999
|
-
redirect: "redirect";
|
|
14000
14009
|
unknown_to_google: "unknown_to_google";
|
|
14001
14010
|
discovered_not_indexed: "discovered_not_indexed";
|
|
14002
14011
|
crawled_not_indexed: "crawled_not_indexed";
|
|
14012
|
+
indexed: "indexed";
|
|
14003
14013
|
noindex: "noindex";
|
|
14004
14014
|
blocked_robots: "blocked_robots";
|
|
14005
14015
|
soft_404: "soft_404";
|
|
14016
|
+
not_found: "not_found";
|
|
14006
14017
|
server_error: "server_error";
|
|
14007
14018
|
access_denied: "access_denied";
|
|
14008
14019
|
access_forbidden: "access_forbidden";
|
|
14009
14020
|
blocked_4xx: "blocked_4xx";
|
|
14021
|
+
redirect: "redirect";
|
|
14010
14022
|
redirect_error: "redirect_error";
|
|
14011
14023
|
alternate_canonical: "alternate_canonical";
|
|
14012
14024
|
duplicate_no_canonical: "duplicate_no_canonical";
|
package/dist/v1/operations.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { siteHoldReasonSchema } from "../entitlements.mjs";
|
|
2
2
|
import { watchedUrlsChangeRequestSchema, watchedUrlsChangeResponseSchema, watchedUrlsResponseSchema } from "../indexing-coverage.mjs";
|
|
3
|
-
import { addPartnerTeamMemberSchema, bindPartnerSiteTeamSchema, bindPartnerTeamCatalogResponseSchema, bindPartnerTeamCatalogSchema, builderStateSchema, createPartnerTeamSchema, gscComparisonFilterSchema, gscComparisonOrderBySchema, gscdumpAnalysisBundleResponseSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingTransitionFieldSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpPageTrendResponseSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapExportQuerySchema, gscdumpSitemapExportResponseSchema, gscdumpSitemapMembershipParamsSchema, gscdumpSitemapMembershipResponseSchema, gscdumpSitemapUrlsQuerySchema, gscdumpSitemapUrlsResponseSchema, gscdumpSitemapsResponseSchema, gscdumpTeamRoleSchema, gscdumpTopAssociationResponseSchema, gscdumpUserRegistrationSchema, indexingUrlsResponseSchema, partnerSiteTeamBindingResponseSchema, partnerSitemapActionResponseSchema, partnerSitemapActionSchema, partnerTeamCreatedResponseSchema, partnerTeamDeletedResponseSchema, partnerTeamMemberAddedResponseSchema, partnerTeamMemberRemovedResponseSchema, partnerTeamMemberRoleResponseSchema, partnerTeamMembersResponseSchema, partnerTeamRenamedResponseSchema, registerPartnerSiteSchema, registerPartnerUserSchema, renamePartnerTeamSchema, searchTypeSchema, siteIntIdCrosswalkResponseSchema, sitemapChangesTruncationReasonSchema, teamCatalogRefSchema, updatePartnerUserTokensSchema } from "../schemas.mjs";
|
|
3
|
+
import { addPartnerTeamMemberSchema, bindPartnerSiteTeamSchema, bindPartnerTeamCatalogResponseSchema, bindPartnerTeamCatalogSchema, builderStateSchema, createPartnerTeamSchema, gscComparisonFilterSchema, gscComparisonOrderBySchema, gscdumpAnalysisBundleResponseSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingTransitionFieldSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpPageTrendResponseSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapExportQuerySchema, gscdumpSitemapExportResponseSchema, gscdumpSitemapMembershipParamsSchema, gscdumpSitemapMembershipResponseSchema, gscdumpSitemapUrlsQuerySchema, gscdumpSitemapUrlsResponseSchema, gscdumpSitemapsResponseSchema, gscdumpTeamRoleSchema, gscdumpTopAssociationResponseSchema, gscdumpUserRegistrationSchema, indexingSitemapFilterShape, indexingUrlsResponseSchema, partnerSiteTeamBindingResponseSchema, partnerSitemapActionResponseSchema, partnerSitemapActionSchema, partnerTeamCreatedResponseSchema, partnerTeamDeletedResponseSchema, partnerTeamMemberAddedResponseSchema, partnerTeamMemberRemovedResponseSchema, partnerTeamMemberRoleResponseSchema, partnerTeamMembersResponseSchema, partnerTeamRenamedResponseSchema, refineIndexingSitemapFilter, registerPartnerSiteSchema, registerPartnerUserSchema, renamePartnerTeamSchema, searchTypeSchema, siteIntIdCrosswalkResponseSchema, sitemapChangesTruncationReasonSchema, teamCatalogRefSchema, updatePartnerUserTokensSchema } from "../schemas.mjs";
|
|
4
4
|
import { siteVersionBeginRequestSchema, siteVersionCandidateRequestSchema, siteVersionCandidateSchema, siteVersionIdentityResponseSchema, siteVersionPreviewRequestSchema, siteVersionPreviewSchema } from "../site-version.mjs";
|
|
5
5
|
import "./version.mjs";
|
|
6
6
|
import { HTTP_V1_ERROR_CODES, defineHttpOperation, defineHttpSurface, defineResponseObject, defineSuccessResponse } from "./http-core.mjs";
|
|
@@ -104,7 +104,10 @@ function createGscdumpV1Protocol() {
|
|
|
104
104
|
const integerQuery = (number, wirePattern) => z.union([number, z.string().regex(wirePattern)]);
|
|
105
105
|
const numericQuery = z.union([z.number(), z.string().regex(/^-?(?:\d+(?:\.\d+)?|\.\d+)$/)]);
|
|
106
106
|
const calendarDate = z.string().regex(/^\d{4}-\d{2}-\d{2}$/, "expected YYYY-MM-DD");
|
|
107
|
-
const indexingSummaryQuery = z.strictObject({
|
|
107
|
+
const indexingSummaryQuery = z.strictObject({
|
|
108
|
+
days: integerQuery(z.number().int().min(1).max(90), /^(?:[1-9]|[1-8]\d|90)$/).optional(),
|
|
109
|
+
...indexingSitemapFilterShape
|
|
110
|
+
}).superRefine(refineIndexingSitemapFilter);
|
|
108
111
|
const indexingUrlsQuery = z.strictObject({
|
|
109
112
|
limit: integerQuery(z.number().int().min(1).max(500), /^(?:[1-9]|[1-9]\d|[1-4]\d{2}|500)$/).optional(),
|
|
110
113
|
offset: integerQuery(z.number().int().min(0), /^(?:0|[1-9]\d*)$/).optional(),
|
|
@@ -120,8 +123,9 @@ function createGscdumpV1Protocol() {
|
|
|
120
123
|
z.literal(false),
|
|
121
124
|
z.literal("0"),
|
|
122
125
|
z.literal("false")
|
|
123
|
-
]).optional()
|
|
124
|
-
|
|
126
|
+
]).optional(),
|
|
127
|
+
...indexingSitemapFilterShape
|
|
128
|
+
}).superRefine(refineIndexingSitemapFilter);
|
|
125
129
|
const bingIndexingEvidenceQuery = z.strictObject({
|
|
126
130
|
limit: integerQuery(z.number().int().min(1).max(500), /^(?:[1-9]|[1-9]\d|[1-4]\d{2}|500)$/).optional(),
|
|
127
131
|
offset: integerQuery(z.number().int().min(0), /^(?:0|[1-9]\d*)$/).optional()
|
|
@@ -148,8 +152,9 @@ function createGscdumpV1Protocol() {
|
|
|
148
152
|
});
|
|
149
153
|
const indexingDiagnosticsQuery = z.strictObject({
|
|
150
154
|
sampleIssues: z.union([z.string(), z.array(z.string())]).optional(),
|
|
151
|
-
sampleLimit: integerQuery(z.number().int().min(1).max(25), /^(?:[1-9]|1\d|2[0-5])$/).optional()
|
|
152
|
-
|
|
155
|
+
sampleLimit: integerQuery(z.number().int().min(1).max(25), /^(?:[1-9]|1\d|2[0-5])$/).optional(),
|
|
156
|
+
...indexingSitemapFilterShape
|
|
157
|
+
}).superRefine(refineIndexingSitemapFilter);
|
|
153
158
|
const sitemapChangesQuery = z.strictObject({ days: integerQuery(z.number().int().min(1).max(90), /^(?:[1-9]|[1-8]\d|90)$/).optional() });
|
|
154
159
|
const analysisBaseQueryShape = {
|
|
155
160
|
startDate: z.string().min(1),
|
|
@@ -1385,7 +1390,7 @@ function createGscdumpV1Protocol() {
|
|
|
1385
1390
|
lifecycle: { introduced: "1.0.0" },
|
|
1386
1391
|
docs: {
|
|
1387
1392
|
summary: "Get site indexing summary",
|
|
1388
|
-
description: "Returns indexing coverage, trend, and inspection signal totals.",
|
|
1393
|
+
description: "Returns indexing coverage, trend, and inspection signal totals. A Sitemap filter returns no trend or changes.",
|
|
1389
1394
|
tags: ["Indexing"],
|
|
1390
1395
|
examples: {
|
|
1391
1396
|
request: {
|