@gscdump/contracts 4.4.0 → 4.6.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/endpoints.d.mts +120 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.mjs +2 -1
- package/dist/indexing-coverage.d.mts +319 -0
- package/dist/indexing-coverage.mjs +99 -0
- package/dist/schemas.d.mts +364 -7
- package/dist/schemas.mjs +6 -1
- package/dist/types.d.mts +7 -0
- package/dist/v1/http.d.mts +3 -2
- package/dist/v1/http.mjs +2 -1
- package/dist/v1/index.d.mts +3 -2
- package/dist/v1/index.mjs +2 -1
- package/dist/v1/indexnow.d.mts +241 -0
- package/dist/v1/indexnow.mjs +126 -0
- package/dist/v1/operations.d.mts +3386 -1049
- package/dist/v1/operations.mjs +556 -0
- package/dist/v1/route-catalog.d.mts +40 -0
- package/dist/v1/route-catalog.mjs +40 -0
- package/package.json +1 -1
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
const COVERAGE_STATE_TAGS = [
|
|
3
|
+
"unknown_to_google",
|
|
4
|
+
"discovered_not_indexed",
|
|
5
|
+
"crawled_not_indexed",
|
|
6
|
+
"indexed",
|
|
7
|
+
"noindex",
|
|
8
|
+
"blocked_robots",
|
|
9
|
+
"soft_404",
|
|
10
|
+
"not_found",
|
|
11
|
+
"server_error",
|
|
12
|
+
"access_denied",
|
|
13
|
+
"access_forbidden",
|
|
14
|
+
"blocked_4xx",
|
|
15
|
+
"redirect",
|
|
16
|
+
"redirect_error",
|
|
17
|
+
"alternate_canonical",
|
|
18
|
+
"duplicate_no_canonical",
|
|
19
|
+
"duplicate_google_canonical",
|
|
20
|
+
"page_removed",
|
|
21
|
+
"unrecognized",
|
|
22
|
+
"not_reported"
|
|
23
|
+
];
|
|
24
|
+
const COVERAGE_LADDER = [
|
|
25
|
+
"unknown_to_google",
|
|
26
|
+
"discovered_not_indexed",
|
|
27
|
+
"crawled_not_indexed",
|
|
28
|
+
"indexed"
|
|
29
|
+
];
|
|
30
|
+
const coverageStateTagSchema = z.enum(COVERAGE_STATE_TAGS);
|
|
31
|
+
const urlCount = z.number().int().nonnegative();
|
|
32
|
+
const coverageStateCountsSchema = z.object(Object.fromEntries(COVERAGE_STATE_TAGS.map((tag) => [tag, urlCount.default(0)]))).loose();
|
|
33
|
+
const verdictFreshnessSchema = z.discriminatedUnion("_tag", [z.object({
|
|
34
|
+
_tag: z.literal("measured"),
|
|
35
|
+
verdicts: urlCount,
|
|
36
|
+
olderThan7d: urlCount,
|
|
37
|
+
olderThan30d: urlCount,
|
|
38
|
+
olderThan7dPercent: z.number().min(0).max(100),
|
|
39
|
+
olderThan30dPercent: z.number().min(0).max(100)
|
|
40
|
+
}).loose(), z.object({ _tag: z.literal("unmeasured") }).loose()]);
|
|
41
|
+
const indexingCaptureSchema = z.discriminatedUnion("_tag", [z.object({
|
|
42
|
+
_tag: z.literal("captured"),
|
|
43
|
+
capturedAt: z.string(),
|
|
44
|
+
source: z.enum(["stored", "live"]),
|
|
45
|
+
scope: z.enum([
|
|
46
|
+
"sitemap_members",
|
|
47
|
+
"inspected_urls",
|
|
48
|
+
"unrecorded"
|
|
49
|
+
]),
|
|
50
|
+
oldestVerdictAt: z.string().nullable(),
|
|
51
|
+
newestVerdictAt: z.string().nullable(),
|
|
52
|
+
freshness: verdictFreshnessSchema
|
|
53
|
+
}).loose(), z.object({ _tag: z.literal("empty") }).loose()]);
|
|
54
|
+
const coverageStatesPointSchema = z.discriminatedUnion("_tag", [z.object({
|
|
55
|
+
_tag: z.literal("counted"),
|
|
56
|
+
capturedAt: z.string(),
|
|
57
|
+
counts: coverageStateCountsSchema,
|
|
58
|
+
freshness: verdictFreshnessSchema
|
|
59
|
+
}).loose(), z.object({ _tag: z.literal("not_counted") }).loose()]);
|
|
60
|
+
const WATCHED_URL_LIMIT = 50;
|
|
61
|
+
const WATCHED_URL_CADENCE_DAYS = 7;
|
|
62
|
+
const WATCHED_URL_CHECKPOINT_LIMIT = 12;
|
|
63
|
+
const watchedUrlCheckpointSchema = z.object({
|
|
64
|
+
checkedAt: z.string(),
|
|
65
|
+
coverageState: coverageStateTagSchema.catch("unrecognized"),
|
|
66
|
+
googleCoverageState: z.string().nullable(),
|
|
67
|
+
verdict: z.string().nullable(),
|
|
68
|
+
lastCrawlTime: z.string().nullable()
|
|
69
|
+
}).loose();
|
|
70
|
+
const watchedUrlSchema = z.object({
|
|
71
|
+
url: z.string(),
|
|
72
|
+
addedAt: z.string(),
|
|
73
|
+
dueAt: z.string(),
|
|
74
|
+
checkpoints: z.array(watchedUrlCheckpointSchema)
|
|
75
|
+
}).loose();
|
|
76
|
+
const watchedUrlsResponseSchema = z.object({
|
|
77
|
+
watched: z.array(watchedUrlSchema),
|
|
78
|
+
limit: z.number().int().positive(),
|
|
79
|
+
cadenceDays: z.number().int().positive(),
|
|
80
|
+
meta: z.object({ siteUrl: z.string() }).loose()
|
|
81
|
+
}).loose();
|
|
82
|
+
const watchedUrlsChangeRequestSchema = z.strictObject({ urls: z.array(z.string().url()).min(1).max(50) });
|
|
83
|
+
const watchedUrlSkipReasonSchema = z.enum([
|
|
84
|
+
"domain_mismatch",
|
|
85
|
+
"fragment",
|
|
86
|
+
"limit_reached",
|
|
87
|
+
"inspection_disabled"
|
|
88
|
+
]);
|
|
89
|
+
const watchedUrlsChangeResponseSchema = z.object({
|
|
90
|
+
changed: z.array(z.string()),
|
|
91
|
+
unchanged: z.array(z.string()),
|
|
92
|
+
skipped: z.array(z.object({
|
|
93
|
+
url: z.string(),
|
|
94
|
+
reason: watchedUrlSkipReasonSchema
|
|
95
|
+
}).loose()),
|
|
96
|
+
total: z.number().int().nonnegative(),
|
|
97
|
+
limit: z.number().int().positive()
|
|
98
|
+
}).loose();
|
|
99
|
+
export { COVERAGE_LADDER, COVERAGE_STATE_TAGS, WATCHED_URL_CADENCE_DAYS, WATCHED_URL_CHECKPOINT_LIMIT, WATCHED_URL_LIMIT, coverageStateCountsSchema, coverageStateTagSchema, coverageStatesPointSchema, indexingCaptureSchema, verdictFreshnessSchema, watchedUrlCheckpointSchema, watchedUrlSchema, watchedUrlSkipReasonSchema, watchedUrlsChangeRequestSchema, watchedUrlsChangeResponseSchema, watchedUrlsResponseSchema };
|
package/dist/schemas.d.mts
CHANGED
|
@@ -365,9 +365,9 @@ export declare const indexingUrlsResponseSchema: z.ZodObject<{
|
|
|
365
365
|
}, z.core.$loose>;
|
|
366
366
|
export declare const GSCDUMP_INDEXING_TRANSITION_FIELDS: readonly ["indexStatus", "coverageState", "robotsTxtState", "indexingState", "pageFetchState", "googleCanonical"];
|
|
367
367
|
export declare const gscdumpIndexingTransitionFieldSchema: z.ZodEnum<{
|
|
368
|
+
coverageState: "coverageState";
|
|
368
369
|
indexStatus: "indexStatus";
|
|
369
370
|
googleCanonical: "googleCanonical";
|
|
370
|
-
coverageState: "coverageState";
|
|
371
371
|
robotsTxtState: "robotsTxtState";
|
|
372
372
|
indexingState: "indexingState";
|
|
373
373
|
pageFetchState: "pageFetchState";
|
|
@@ -431,6 +431,33 @@ export declare const indexingDiagnosticsSchema: z.ZodObject<{
|
|
|
431
431
|
lastCheckedAt: z.ZodString;
|
|
432
432
|
checkCount: z.ZodNumber;
|
|
433
433
|
}, z.core.$loose>>>>;
|
|
434
|
+
capture: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
435
|
+
_tag: z.ZodLiteral<"captured">;
|
|
436
|
+
capturedAt: z.ZodString;
|
|
437
|
+
source: z.ZodEnum<{
|
|
438
|
+
live: "live";
|
|
439
|
+
stored: "stored";
|
|
440
|
+
}>;
|
|
441
|
+
scope: z.ZodEnum<{
|
|
442
|
+
sitemap_members: "sitemap_members";
|
|
443
|
+
inspected_urls: "inspected_urls";
|
|
444
|
+
unrecorded: "unrecorded";
|
|
445
|
+
}>;
|
|
446
|
+
oldestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
447
|
+
newestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
448
|
+
freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
449
|
+
_tag: z.ZodLiteral<"measured">;
|
|
450
|
+
verdicts: z.ZodNumber;
|
|
451
|
+
olderThan7d: z.ZodNumber;
|
|
452
|
+
olderThan30d: z.ZodNumber;
|
|
453
|
+
olderThan7dPercent: z.ZodNumber;
|
|
454
|
+
olderThan30dPercent: z.ZodNumber;
|
|
455
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
456
|
+
_tag: z.ZodLiteral<"unmeasured">;
|
|
457
|
+
}, z.core.$loose>], "_tag">;
|
|
458
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
459
|
+
_tag: z.ZodLiteral<"empty">;
|
|
460
|
+
}, z.core.$loose>], "_tag">>;
|
|
434
461
|
meta: z.ZodObject<{
|
|
435
462
|
siteUrl: z.ZodString;
|
|
436
463
|
}, z.core.$loose>;
|
|
@@ -1362,8 +1389,8 @@ export declare const bulkRegisterPartnerSitesResponseSchema: z.ZodObject<{
|
|
|
1362
1389
|
status: z.ZodEnum<{
|
|
1363
1390
|
error: "error";
|
|
1364
1391
|
registered: "registered";
|
|
1365
|
-
already_exists: "already_exists";
|
|
1366
1392
|
not_found: "not_found";
|
|
1393
|
+
already_exists: "already_exists";
|
|
1367
1394
|
}>;
|
|
1368
1395
|
error: z.ZodOptional<z.ZodString>;
|
|
1369
1396
|
site: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -1754,6 +1781,44 @@ export declare const gscdumpIndexingResponseSchema: z.ZodObject<{
|
|
|
1754
1781
|
crawledNotIndexed: z.ZodNullable<z.ZodNumber>;
|
|
1755
1782
|
discoveredNotCrawled: z.ZodNullable<z.ZodNumber>;
|
|
1756
1783
|
}, z.core.$loose>;
|
|
1784
|
+
coverageStates: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1785
|
+
_tag: z.ZodLiteral<"counted">;
|
|
1786
|
+
capturedAt: z.ZodString;
|
|
1787
|
+
counts: z.ZodObject<{
|
|
1788
|
+
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
1789
|
+
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
1790
|
+
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
1791
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
1792
|
+
noindex: z.ZodDefault<z.ZodNumber>;
|
|
1793
|
+
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
1794
|
+
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
1795
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
1796
|
+
server_error: z.ZodDefault<z.ZodNumber>;
|
|
1797
|
+
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
1798
|
+
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
1799
|
+
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
1800
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
1801
|
+
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
1802
|
+
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
1803
|
+
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
1804
|
+
duplicate_google_canonical: z.ZodDefault<z.ZodNumber>;
|
|
1805
|
+
page_removed: z.ZodDefault<z.ZodNumber>;
|
|
1806
|
+
unrecognized: z.ZodDefault<z.ZodNumber>;
|
|
1807
|
+
not_reported: z.ZodDefault<z.ZodNumber>;
|
|
1808
|
+
}, z.core.$loose>;
|
|
1809
|
+
freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1810
|
+
_tag: z.ZodLiteral<"measured">;
|
|
1811
|
+
verdicts: z.ZodNumber;
|
|
1812
|
+
olderThan7d: z.ZodNumber;
|
|
1813
|
+
olderThan30d: z.ZodNumber;
|
|
1814
|
+
olderThan7dPercent: z.ZodNumber;
|
|
1815
|
+
olderThan30dPercent: z.ZodNumber;
|
|
1816
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1817
|
+
_tag: z.ZodLiteral<"unmeasured">;
|
|
1818
|
+
}, z.core.$loose>], "_tag">;
|
|
1819
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1820
|
+
_tag: z.ZodLiteral<"not_counted">;
|
|
1821
|
+
}, z.core.$loose>], "_tag">>;
|
|
1757
1822
|
signals: z.ZodObject<{
|
|
1758
1823
|
mobilePass: z.ZodNumber;
|
|
1759
1824
|
mobileFail: z.ZodNumber;
|
|
@@ -1800,6 +1865,33 @@ export declare const gscdumpIndexingResponseSchema: z.ZodObject<{
|
|
|
1800
1865
|
sitemapsPending: z.ZodBoolean;
|
|
1801
1866
|
rollupBuiltAt: z.ZodOptional<z.ZodNumber>;
|
|
1802
1867
|
}, z.core.$loose>;
|
|
1868
|
+
capture: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1869
|
+
_tag: z.ZodLiteral<"captured">;
|
|
1870
|
+
capturedAt: z.ZodString;
|
|
1871
|
+
source: z.ZodEnum<{
|
|
1872
|
+
live: "live";
|
|
1873
|
+
stored: "stored";
|
|
1874
|
+
}>;
|
|
1875
|
+
scope: z.ZodEnum<{
|
|
1876
|
+
sitemap_members: "sitemap_members";
|
|
1877
|
+
inspected_urls: "inspected_urls";
|
|
1878
|
+
unrecorded: "unrecorded";
|
|
1879
|
+
}>;
|
|
1880
|
+
oldestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
1881
|
+
newestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
1882
|
+
freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1883
|
+
_tag: z.ZodLiteral<"measured">;
|
|
1884
|
+
verdicts: z.ZodNumber;
|
|
1885
|
+
olderThan7d: z.ZodNumber;
|
|
1886
|
+
olderThan30d: z.ZodNumber;
|
|
1887
|
+
olderThan7dPercent: z.ZodNumber;
|
|
1888
|
+
olderThan30dPercent: z.ZodNumber;
|
|
1889
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1890
|
+
_tag: z.ZodLiteral<"unmeasured">;
|
|
1891
|
+
}, z.core.$loose>], "_tag">;
|
|
1892
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
1893
|
+
_tag: z.ZodLiteral<"empty">;
|
|
1894
|
+
}, z.core.$loose>], "_tag">>;
|
|
1803
1895
|
}, z.core.$loose>;
|
|
1804
1896
|
export declare const gscdumpIndexingUrlsResponseSchema: z.ZodObject<{
|
|
1805
1897
|
urls: z.ZodArray<z.ZodObject<{
|
|
@@ -1890,6 +1982,33 @@ export declare const gscdumpIndexingDiagnosticsResponseSchema: z.ZodObject<{
|
|
|
1890
1982
|
lastCheckedAt: z.ZodString;
|
|
1891
1983
|
checkCount: z.ZodNumber;
|
|
1892
1984
|
}, z.core.$loose>>>>;
|
|
1985
|
+
capture: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1986
|
+
_tag: z.ZodLiteral<"captured">;
|
|
1987
|
+
capturedAt: z.ZodString;
|
|
1988
|
+
source: z.ZodEnum<{
|
|
1989
|
+
live: "live";
|
|
1990
|
+
stored: "stored";
|
|
1991
|
+
}>;
|
|
1992
|
+
scope: z.ZodEnum<{
|
|
1993
|
+
sitemap_members: "sitemap_members";
|
|
1994
|
+
inspected_urls: "inspected_urls";
|
|
1995
|
+
unrecorded: "unrecorded";
|
|
1996
|
+
}>;
|
|
1997
|
+
oldestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
1998
|
+
newestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
1999
|
+
freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2000
|
+
_tag: z.ZodLiteral<"measured">;
|
|
2001
|
+
verdicts: z.ZodNumber;
|
|
2002
|
+
olderThan7d: z.ZodNumber;
|
|
2003
|
+
olderThan30d: z.ZodNumber;
|
|
2004
|
+
olderThan7dPercent: z.ZodNumber;
|
|
2005
|
+
olderThan30dPercent: z.ZodNumber;
|
|
2006
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2007
|
+
_tag: z.ZodLiteral<"unmeasured">;
|
|
2008
|
+
}, z.core.$loose>], "_tag">;
|
|
2009
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2010
|
+
_tag: z.ZodLiteral<"empty">;
|
|
2011
|
+
}, z.core.$loose>], "_tag">>;
|
|
1893
2012
|
meta: z.ZodObject<{
|
|
1894
2013
|
siteUrl: z.ZodString;
|
|
1895
2014
|
}, z.core.$loose>;
|
|
@@ -1986,8 +2105,8 @@ export declare const gscdumpSyncProgressResponseSchema: z.ZodObject<{
|
|
|
1986
2105
|
authFailureCount: z.ZodNumber;
|
|
1987
2106
|
currentPhase: z.ZodEnum<{
|
|
1988
2107
|
complete: "complete";
|
|
1989
|
-
backfill: "backfill";
|
|
1990
2108
|
initial: "initial";
|
|
2109
|
+
backfill: "backfill";
|
|
1991
2110
|
}>;
|
|
1992
2111
|
isStalled: z.ZodBoolean;
|
|
1993
2112
|
stallDays: z.ZodNumber;
|
|
@@ -2973,6 +3092,33 @@ export declare const analyticsEndpointSchemas: {
|
|
|
2973
3092
|
lastCheckedAt: z.ZodString;
|
|
2974
3093
|
checkCount: z.ZodNumber;
|
|
2975
3094
|
}, z.core.$loose>>>>;
|
|
3095
|
+
capture: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3096
|
+
_tag: z.ZodLiteral<"captured">;
|
|
3097
|
+
capturedAt: z.ZodString;
|
|
3098
|
+
source: z.ZodEnum<{
|
|
3099
|
+
live: "live";
|
|
3100
|
+
stored: "stored";
|
|
3101
|
+
}>;
|
|
3102
|
+
scope: z.ZodEnum<{
|
|
3103
|
+
sitemap_members: "sitemap_members";
|
|
3104
|
+
inspected_urls: "inspected_urls";
|
|
3105
|
+
unrecorded: "unrecorded";
|
|
3106
|
+
}>;
|
|
3107
|
+
oldestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
3108
|
+
newestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
3109
|
+
freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3110
|
+
_tag: z.ZodLiteral<"measured">;
|
|
3111
|
+
verdicts: z.ZodNumber;
|
|
3112
|
+
olderThan7d: z.ZodNumber;
|
|
3113
|
+
olderThan30d: z.ZodNumber;
|
|
3114
|
+
olderThan7dPercent: z.ZodNumber;
|
|
3115
|
+
olderThan30dPercent: z.ZodNumber;
|
|
3116
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3117
|
+
_tag: z.ZodLiteral<"unmeasured">;
|
|
3118
|
+
}, z.core.$loose>], "_tag">;
|
|
3119
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3120
|
+
_tag: z.ZodLiteral<"empty">;
|
|
3121
|
+
}, z.core.$loose>], "_tag">>;
|
|
2976
3122
|
meta: z.ZodObject<{
|
|
2977
3123
|
siteUrl: z.ZodString;
|
|
2978
3124
|
}, z.core.$loose>;
|
|
@@ -3453,8 +3599,8 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
3453
3599
|
authFailureCount: z.ZodNumber;
|
|
3454
3600
|
currentPhase: z.ZodEnum<{
|
|
3455
3601
|
complete: "complete";
|
|
3456
|
-
backfill: "backfill";
|
|
3457
3602
|
initial: "initial";
|
|
3603
|
+
backfill: "backfill";
|
|
3458
3604
|
}>;
|
|
3459
3605
|
isStalled: z.ZodBoolean;
|
|
3460
3606
|
stallDays: z.ZodNumber;
|
|
@@ -4046,8 +4192,8 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
4046
4192
|
status: z.ZodEnum<{
|
|
4047
4193
|
error: "error";
|
|
4048
4194
|
registered: "registered";
|
|
4049
|
-
already_exists: "already_exists";
|
|
4050
4195
|
not_found: "not_found";
|
|
4196
|
+
already_exists: "already_exists";
|
|
4051
4197
|
}>;
|
|
4052
4198
|
error: z.ZodOptional<z.ZodString>;
|
|
4053
4199
|
site: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -4307,6 +4453,44 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
4307
4453
|
crawledNotIndexed: z.ZodNullable<z.ZodNumber>;
|
|
4308
4454
|
discoveredNotCrawled: z.ZodNullable<z.ZodNumber>;
|
|
4309
4455
|
}, z.core.$loose>;
|
|
4456
|
+
coverageStates: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4457
|
+
_tag: z.ZodLiteral<"counted">;
|
|
4458
|
+
capturedAt: z.ZodString;
|
|
4459
|
+
counts: z.ZodObject<{
|
|
4460
|
+
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
4461
|
+
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
4462
|
+
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
4463
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
4464
|
+
noindex: z.ZodDefault<z.ZodNumber>;
|
|
4465
|
+
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
4466
|
+
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
4467
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
4468
|
+
server_error: z.ZodDefault<z.ZodNumber>;
|
|
4469
|
+
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
4470
|
+
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
4471
|
+
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
4472
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
4473
|
+
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
4474
|
+
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
4475
|
+
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
4476
|
+
duplicate_google_canonical: z.ZodDefault<z.ZodNumber>;
|
|
4477
|
+
page_removed: z.ZodDefault<z.ZodNumber>;
|
|
4478
|
+
unrecognized: z.ZodDefault<z.ZodNumber>;
|
|
4479
|
+
not_reported: z.ZodDefault<z.ZodNumber>;
|
|
4480
|
+
}, z.core.$loose>;
|
|
4481
|
+
freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4482
|
+
_tag: z.ZodLiteral<"measured">;
|
|
4483
|
+
verdicts: z.ZodNumber;
|
|
4484
|
+
olderThan7d: z.ZodNumber;
|
|
4485
|
+
olderThan30d: z.ZodNumber;
|
|
4486
|
+
olderThan7dPercent: z.ZodNumber;
|
|
4487
|
+
olderThan30dPercent: z.ZodNumber;
|
|
4488
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4489
|
+
_tag: z.ZodLiteral<"unmeasured">;
|
|
4490
|
+
}, z.core.$loose>], "_tag">;
|
|
4491
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4492
|
+
_tag: z.ZodLiteral<"not_counted">;
|
|
4493
|
+
}, z.core.$loose>], "_tag">>;
|
|
4310
4494
|
signals: z.ZodObject<{
|
|
4311
4495
|
mobilePass: z.ZodNumber;
|
|
4312
4496
|
mobileFail: z.ZodNumber;
|
|
@@ -4353,6 +4537,33 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
4353
4537
|
sitemapsPending: z.ZodBoolean;
|
|
4354
4538
|
rollupBuiltAt: z.ZodOptional<z.ZodNumber>;
|
|
4355
4539
|
}, z.core.$loose>;
|
|
4540
|
+
capture: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4541
|
+
_tag: z.ZodLiteral<"captured">;
|
|
4542
|
+
capturedAt: z.ZodString;
|
|
4543
|
+
source: z.ZodEnum<{
|
|
4544
|
+
live: "live";
|
|
4545
|
+
stored: "stored";
|
|
4546
|
+
}>;
|
|
4547
|
+
scope: z.ZodEnum<{
|
|
4548
|
+
sitemap_members: "sitemap_members";
|
|
4549
|
+
inspected_urls: "inspected_urls";
|
|
4550
|
+
unrecorded: "unrecorded";
|
|
4551
|
+
}>;
|
|
4552
|
+
oldestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
4553
|
+
newestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
4554
|
+
freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4555
|
+
_tag: z.ZodLiteral<"measured">;
|
|
4556
|
+
verdicts: z.ZodNumber;
|
|
4557
|
+
olderThan7d: z.ZodNumber;
|
|
4558
|
+
olderThan30d: z.ZodNumber;
|
|
4559
|
+
olderThan7dPercent: z.ZodNumber;
|
|
4560
|
+
olderThan30dPercent: z.ZodNumber;
|
|
4561
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4562
|
+
_tag: z.ZodLiteral<"unmeasured">;
|
|
4563
|
+
}, z.core.$loose>], "_tag">;
|
|
4564
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4565
|
+
_tag: z.ZodLiteral<"empty">;
|
|
4566
|
+
}, z.core.$loose>], "_tag">>;
|
|
4356
4567
|
}, z.core.$loose>;
|
|
4357
4568
|
};
|
|
4358
4569
|
readonly getIndexingUrls: {
|
|
@@ -4463,6 +4674,33 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
4463
4674
|
lastCheckedAt: z.ZodString;
|
|
4464
4675
|
checkCount: z.ZodNumber;
|
|
4465
4676
|
}, z.core.$loose>>>>;
|
|
4677
|
+
capture: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4678
|
+
_tag: z.ZodLiteral<"captured">;
|
|
4679
|
+
capturedAt: z.ZodString;
|
|
4680
|
+
source: z.ZodEnum<{
|
|
4681
|
+
live: "live";
|
|
4682
|
+
stored: "stored";
|
|
4683
|
+
}>;
|
|
4684
|
+
scope: z.ZodEnum<{
|
|
4685
|
+
sitemap_members: "sitemap_members";
|
|
4686
|
+
inspected_urls: "inspected_urls";
|
|
4687
|
+
unrecorded: "unrecorded";
|
|
4688
|
+
}>;
|
|
4689
|
+
oldestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
4690
|
+
newestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
4691
|
+
freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4692
|
+
_tag: z.ZodLiteral<"measured">;
|
|
4693
|
+
verdicts: z.ZodNumber;
|
|
4694
|
+
olderThan7d: z.ZodNumber;
|
|
4695
|
+
olderThan30d: z.ZodNumber;
|
|
4696
|
+
olderThan7dPercent: z.ZodNumber;
|
|
4697
|
+
olderThan30dPercent: z.ZodNumber;
|
|
4698
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4699
|
+
_tag: z.ZodLiteral<"unmeasured">;
|
|
4700
|
+
}, z.core.$loose>], "_tag">;
|
|
4701
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
4702
|
+
_tag: z.ZodLiteral<"empty">;
|
|
4703
|
+
}, z.core.$loose>], "_tag">>;
|
|
4466
4704
|
meta: z.ZodObject<{
|
|
4467
4705
|
siteUrl: z.ZodString;
|
|
4468
4706
|
}, z.core.$loose>;
|
|
@@ -5152,8 +5390,8 @@ export declare const partnerEndpointSchemas: {
|
|
|
5152
5390
|
authFailureCount: z.ZodNumber;
|
|
5153
5391
|
currentPhase: z.ZodEnum<{
|
|
5154
5392
|
complete: "complete";
|
|
5155
|
-
backfill: "backfill";
|
|
5156
5393
|
initial: "initial";
|
|
5394
|
+
backfill: "backfill";
|
|
5157
5395
|
}>;
|
|
5158
5396
|
isStalled: z.ZodBoolean;
|
|
5159
5397
|
stallDays: z.ZodNumber;
|
|
@@ -5745,8 +5983,8 @@ export declare const partnerEndpointSchemas: {
|
|
|
5745
5983
|
status: z.ZodEnum<{
|
|
5746
5984
|
error: "error";
|
|
5747
5985
|
registered: "registered";
|
|
5748
|
-
already_exists: "already_exists";
|
|
5749
5986
|
not_found: "not_found";
|
|
5987
|
+
already_exists: "already_exists";
|
|
5750
5988
|
}>;
|
|
5751
5989
|
error: z.ZodOptional<z.ZodString>;
|
|
5752
5990
|
site: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -6006,6 +6244,44 @@ export declare const partnerEndpointSchemas: {
|
|
|
6006
6244
|
crawledNotIndexed: z.ZodNullable<z.ZodNumber>;
|
|
6007
6245
|
discoveredNotCrawled: z.ZodNullable<z.ZodNumber>;
|
|
6008
6246
|
}, z.core.$loose>;
|
|
6247
|
+
coverageStates: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6248
|
+
_tag: z.ZodLiteral<"counted">;
|
|
6249
|
+
capturedAt: z.ZodString;
|
|
6250
|
+
counts: z.ZodObject<{
|
|
6251
|
+
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
6252
|
+
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6253
|
+
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6254
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6255
|
+
noindex: z.ZodDefault<z.ZodNumber>;
|
|
6256
|
+
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
6257
|
+
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
6258
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6259
|
+
server_error: z.ZodDefault<z.ZodNumber>;
|
|
6260
|
+
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
6261
|
+
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
6262
|
+
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
6263
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6264
|
+
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
6265
|
+
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
6266
|
+
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
6267
|
+
duplicate_google_canonical: z.ZodDefault<z.ZodNumber>;
|
|
6268
|
+
page_removed: z.ZodDefault<z.ZodNumber>;
|
|
6269
|
+
unrecognized: z.ZodDefault<z.ZodNumber>;
|
|
6270
|
+
not_reported: z.ZodDefault<z.ZodNumber>;
|
|
6271
|
+
}, z.core.$loose>;
|
|
6272
|
+
freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6273
|
+
_tag: z.ZodLiteral<"measured">;
|
|
6274
|
+
verdicts: z.ZodNumber;
|
|
6275
|
+
olderThan7d: z.ZodNumber;
|
|
6276
|
+
olderThan30d: z.ZodNumber;
|
|
6277
|
+
olderThan7dPercent: z.ZodNumber;
|
|
6278
|
+
olderThan30dPercent: z.ZodNumber;
|
|
6279
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
6280
|
+
_tag: z.ZodLiteral<"unmeasured">;
|
|
6281
|
+
}, z.core.$loose>], "_tag">;
|
|
6282
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
6283
|
+
_tag: z.ZodLiteral<"not_counted">;
|
|
6284
|
+
}, z.core.$loose>], "_tag">>;
|
|
6009
6285
|
signals: z.ZodObject<{
|
|
6010
6286
|
mobilePass: z.ZodNumber;
|
|
6011
6287
|
mobileFail: z.ZodNumber;
|
|
@@ -6052,6 +6328,33 @@ export declare const partnerEndpointSchemas: {
|
|
|
6052
6328
|
sitemapsPending: z.ZodBoolean;
|
|
6053
6329
|
rollupBuiltAt: z.ZodOptional<z.ZodNumber>;
|
|
6054
6330
|
}, z.core.$loose>;
|
|
6331
|
+
capture: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6332
|
+
_tag: z.ZodLiteral<"captured">;
|
|
6333
|
+
capturedAt: z.ZodString;
|
|
6334
|
+
source: z.ZodEnum<{
|
|
6335
|
+
live: "live";
|
|
6336
|
+
stored: "stored";
|
|
6337
|
+
}>;
|
|
6338
|
+
scope: z.ZodEnum<{
|
|
6339
|
+
sitemap_members: "sitemap_members";
|
|
6340
|
+
inspected_urls: "inspected_urls";
|
|
6341
|
+
unrecorded: "unrecorded";
|
|
6342
|
+
}>;
|
|
6343
|
+
oldestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
6344
|
+
newestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
6345
|
+
freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6346
|
+
_tag: z.ZodLiteral<"measured">;
|
|
6347
|
+
verdicts: z.ZodNumber;
|
|
6348
|
+
olderThan7d: z.ZodNumber;
|
|
6349
|
+
olderThan30d: z.ZodNumber;
|
|
6350
|
+
olderThan7dPercent: z.ZodNumber;
|
|
6351
|
+
olderThan30dPercent: z.ZodNumber;
|
|
6352
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
6353
|
+
_tag: z.ZodLiteral<"unmeasured">;
|
|
6354
|
+
}, z.core.$loose>], "_tag">;
|
|
6355
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
6356
|
+
_tag: z.ZodLiteral<"empty">;
|
|
6357
|
+
}, z.core.$loose>], "_tag">>;
|
|
6055
6358
|
}, z.core.$loose>;
|
|
6056
6359
|
};
|
|
6057
6360
|
readonly getIndexingUrls: {
|
|
@@ -6162,6 +6465,33 @@ export declare const partnerEndpointSchemas: {
|
|
|
6162
6465
|
lastCheckedAt: z.ZodString;
|
|
6163
6466
|
checkCount: z.ZodNumber;
|
|
6164
6467
|
}, z.core.$loose>>>>;
|
|
6468
|
+
capture: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6469
|
+
_tag: z.ZodLiteral<"captured">;
|
|
6470
|
+
capturedAt: z.ZodString;
|
|
6471
|
+
source: z.ZodEnum<{
|
|
6472
|
+
live: "live";
|
|
6473
|
+
stored: "stored";
|
|
6474
|
+
}>;
|
|
6475
|
+
scope: z.ZodEnum<{
|
|
6476
|
+
sitemap_members: "sitemap_members";
|
|
6477
|
+
inspected_urls: "inspected_urls";
|
|
6478
|
+
unrecorded: "unrecorded";
|
|
6479
|
+
}>;
|
|
6480
|
+
oldestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
6481
|
+
newestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
6482
|
+
freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6483
|
+
_tag: z.ZodLiteral<"measured">;
|
|
6484
|
+
verdicts: z.ZodNumber;
|
|
6485
|
+
olderThan7d: z.ZodNumber;
|
|
6486
|
+
olderThan30d: z.ZodNumber;
|
|
6487
|
+
olderThan7dPercent: z.ZodNumber;
|
|
6488
|
+
olderThan30dPercent: z.ZodNumber;
|
|
6489
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
6490
|
+
_tag: z.ZodLiteral<"unmeasured">;
|
|
6491
|
+
}, z.core.$loose>], "_tag">;
|
|
6492
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
6493
|
+
_tag: z.ZodLiteral<"empty">;
|
|
6494
|
+
}, z.core.$loose>], "_tag">>;
|
|
6165
6495
|
meta: z.ZodObject<{
|
|
6166
6496
|
siteUrl: z.ZodString;
|
|
6167
6497
|
}, z.core.$loose>;
|
|
@@ -7021,6 +7351,33 @@ export declare const partnerEndpointSchemas: {
|
|
|
7021
7351
|
lastCheckedAt: z.ZodString;
|
|
7022
7352
|
checkCount: z.ZodNumber;
|
|
7023
7353
|
}, z.core.$loose>>>>;
|
|
7354
|
+
capture: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7355
|
+
_tag: z.ZodLiteral<"captured">;
|
|
7356
|
+
capturedAt: z.ZodString;
|
|
7357
|
+
source: z.ZodEnum<{
|
|
7358
|
+
live: "live";
|
|
7359
|
+
stored: "stored";
|
|
7360
|
+
}>;
|
|
7361
|
+
scope: z.ZodEnum<{
|
|
7362
|
+
sitemap_members: "sitemap_members";
|
|
7363
|
+
inspected_urls: "inspected_urls";
|
|
7364
|
+
unrecorded: "unrecorded";
|
|
7365
|
+
}>;
|
|
7366
|
+
oldestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
7367
|
+
newestVerdictAt: z.ZodNullable<z.ZodString>;
|
|
7368
|
+
freshness: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
7369
|
+
_tag: z.ZodLiteral<"measured">;
|
|
7370
|
+
verdicts: z.ZodNumber;
|
|
7371
|
+
olderThan7d: z.ZodNumber;
|
|
7372
|
+
olderThan30d: z.ZodNumber;
|
|
7373
|
+
olderThan7dPercent: z.ZodNumber;
|
|
7374
|
+
olderThan30dPercent: z.ZodNumber;
|
|
7375
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
7376
|
+
_tag: z.ZodLiteral<"unmeasured">;
|
|
7377
|
+
}, z.core.$loose>], "_tag">;
|
|
7378
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
7379
|
+
_tag: z.ZodLiteral<"empty">;
|
|
7380
|
+
}, z.core.$loose>], "_tag">>;
|
|
7024
7381
|
meta: z.ZodObject<{
|
|
7025
7382
|
siteUrl: z.ZodString;
|
|
7026
7383
|
}, z.core.$loose>;
|
package/dist/schemas.mjs
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { coverageStatesPointSchema, indexingCaptureSchema } from "./indexing-coverage.mjs";
|
|
1
2
|
import { GSCDUMP_ONBOARDING_CONTRACT_VERSION, accountNextActions, accountStatuses, analyticsNextActions, analyticsStatuses, indexingNextActions, indexingStatuses, lifecycleErrorCodes, propertyNextActions, propertyStatuses, querySourceModes, sitemapNextActions, sitemapStatuses } from "./onboarding.mjs";
|
|
2
3
|
import { GSC_SEARCH_TYPES } from "./search-types.mjs";
|
|
3
4
|
import { CANONICAL_WEBHOOK_EVENTS, WEBHOOK_CONTRACT_VERSION } from "./webhook-constants.mjs";
|
|
@@ -215,6 +216,7 @@ const indexingDiagnosticsSchema = z.object({
|
|
|
215
216
|
}).loose(),
|
|
216
217
|
issues: z.array(indexingIssueSchema),
|
|
217
218
|
samples: z.record(z.string(), z.array(indexingUrlRowSchema)).optional(),
|
|
219
|
+
capture: indexingCaptureSchema.optional(),
|
|
218
220
|
meta: z.object({ siteUrl: z.string() }).loose()
|
|
219
221
|
}).loose();
|
|
220
222
|
const indexingInspectRequestSchema = z.object({ urls: z.array(z.string().url()).min(1).max(10) });
|
|
@@ -808,6 +810,7 @@ const gscdumpIndexingResponseSchema = z.object({
|
|
|
808
810
|
crawledNotIndexed: z.number().nullable(),
|
|
809
811
|
discoveredNotCrawled: z.number().nullable()
|
|
810
812
|
}).loose(),
|
|
813
|
+
coverageStates: coverageStatesPointSchema.optional(),
|
|
811
814
|
signals: z.object({
|
|
812
815
|
mobilePass: z.number(),
|
|
813
816
|
mobileFail: z.number(),
|
|
@@ -853,7 +856,8 @@ const gscdumpIndexingResponseSchema = z.object({
|
|
|
853
856
|
noSitemapsSubmitted: z.boolean(),
|
|
854
857
|
sitemapsPending: z.boolean(),
|
|
855
858
|
rollupBuiltAt: z.number().optional()
|
|
856
|
-
}).loose()
|
|
859
|
+
}).loose(),
|
|
860
|
+
capture: indexingCaptureSchema.optional()
|
|
857
861
|
}).loose();
|
|
858
862
|
const gscdumpIndexingUrlsResponseSchema = z.object({
|
|
859
863
|
urls: z.array(indexingUrlRowSchema),
|
|
@@ -877,6 +881,7 @@ const gscdumpIndexingDiagnosticsResponseSchema = z.object({
|
|
|
877
881
|
}).loose(),
|
|
878
882
|
issues: z.array(indexingIssueSchema),
|
|
879
883
|
samples: z.record(z.string(), z.array(indexingUrlRowSchema)).optional(),
|
|
884
|
+
capture: indexingCaptureSchema.optional(),
|
|
880
885
|
meta: z.object({ siteUrl: z.string() }).loose()
|
|
881
886
|
}).loose();
|
|
882
887
|
const gscdumpUserSettingsSchema = z.object({ browserAnalyzerEnabled: z.boolean() }).loose();
|
package/dist/types.d.mts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { GscSearchType } from "./search-types.mjs";
|
|
2
2
|
import { FileResolutionResponse } from "./file-resolution.mjs";
|
|
3
|
+
import { CoverageStatesPoint, IndexingCapture } from "./indexing-coverage.mjs";
|
|
3
4
|
import { AccountNextAction, AccountStatus, PartnerLifecycleAccount, PartnerLifecycleResponse, PartnerLifecycleSite } from "./onboarding.mjs";
|
|
4
5
|
export type TableName = 'pages' | 'queries' | 'countries' | 'page_queries' | 'dates' | 'search_appearance' | 'search_appearance_pages' | 'search_appearance_queries' | 'search_appearance_page_queries' | 'hourly_pages';
|
|
5
6
|
/**
|
|
@@ -768,6 +769,8 @@ export interface GscdumpIndexingTrendPoint {
|
|
|
768
769
|
crawledNotIndexed: number | null;
|
|
769
770
|
discoveredNotCrawled: number | null;
|
|
770
771
|
};
|
|
772
|
+
/** Optional only so a client can still read a host deployed before this field. */
|
|
773
|
+
coverageStates?: CoverageStatesPoint;
|
|
771
774
|
signals: {
|
|
772
775
|
mobilePass: number;
|
|
773
776
|
mobileFail: number;
|
|
@@ -812,6 +815,8 @@ export interface GscdumpIndexingResponse {
|
|
|
812
815
|
sitemapsPending: boolean;
|
|
813
816
|
rollupBuiltAt?: number;
|
|
814
817
|
};
|
|
818
|
+
/** Optional only so a client can still read a host deployed before this field. */
|
|
819
|
+
capture?: IndexingCapture;
|
|
815
820
|
}
|
|
816
821
|
export type GscdumpIndexingUrlStatus = 'indexed' | 'not_indexed' | 'pending';
|
|
817
822
|
export type GscdumpIndexingIssueSeverity = 'error' | 'warning' | 'info';
|
|
@@ -874,6 +879,8 @@ export interface GscdumpIndexingDiagnosticsResponse {
|
|
|
874
879
|
fix: string;
|
|
875
880
|
}>;
|
|
876
881
|
samples?: Record<string, GscdumpIndexingUrl[]>;
|
|
882
|
+
/** Optional only so a client can still read a host deployed before this field. */
|
|
883
|
+
capture?: IndexingCapture;
|
|
877
884
|
meta: {
|
|
878
885
|
siteUrl: string;
|
|
879
886
|
indexingStatus?: 'pending' | 'partial' | 'complete';
|