@gscdump/contracts 7.8.5 → 7.9.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 +4 -4
- package/dist/indexing-coverage.d.mts +18 -18
- package/dist/schemas.d.mts +13 -13
- package/dist/site-version.mjs +2 -2
- package/dist/v1/browser.d.mts +49 -1
- package/dist/v1/browser.mjs +3 -0
- package/dist/v1/google-indexing.d.mts +1 -1
- package/dist/v1/operations.d.mts +143 -47
- package/dist/v1/operations.mjs +1 -1
- package/package.json +1 -1
package/dist/endpoints.d.mts
CHANGED
|
@@ -1083,8 +1083,8 @@ export declare const partnerEndpoints: {
|
|
|
1083
1083
|
status: import("zod").ZodEnum<{
|
|
1084
1084
|
error: "error";
|
|
1085
1085
|
registered: "registered";
|
|
1086
|
-
already_exists: "already_exists";
|
|
1087
1086
|
not_found: "not_found";
|
|
1087
|
+
already_exists: "already_exists";
|
|
1088
1088
|
}>;
|
|
1089
1089
|
error: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1090
1090
|
site: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
|
|
@@ -1438,19 +1438,19 @@ export declare const partnerEndpoints: {
|
|
|
1438
1438
|
_tag: import("zod").ZodLiteral<"counted">;
|
|
1439
1439
|
capturedAt: import("zod").ZodString;
|
|
1440
1440
|
counts: import("zod").ZodObject<{
|
|
1441
|
-
indexed: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1442
|
-
not_found: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1443
|
-
redirect: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1444
1441
|
unknown_to_google: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1445
1442
|
discovered_not_indexed: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1446
1443
|
crawled_not_indexed: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1444
|
+
indexed: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1447
1445
|
noindex: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1448
1446
|
blocked_robots: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1449
1447
|
soft_404: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1448
|
+
not_found: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1450
1449
|
server_error: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1451
1450
|
access_denied: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1452
1451
|
access_forbidden: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1453
1452
|
blocked_4xx: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1453
|
+
redirect: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1454
1454
|
redirect_error: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1455
1455
|
alternate_canonical: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
1456
1456
|
duplicate_no_canonical: import("zod").ZodDefault<import("zod").ZodNumber>;
|
|
@@ -21,19 +21,19 @@ export type CoverageStateTag = typeof COVERAGE_STATE_TAGS[number];
|
|
|
21
21
|
export declare const COVERAGE_LADDER: readonly ["unknown_to_google", "discovered_not_indexed", "crawled_not_indexed", "indexed"];
|
|
22
22
|
export type CoverageLadderTag = typeof COVERAGE_LADDER[number];
|
|
23
23
|
export declare const coverageStateTagSchema: z.ZodEnum<{
|
|
24
|
-
indexed: "indexed";
|
|
25
|
-
not_found: "not_found";
|
|
26
|
-
redirect: "redirect";
|
|
27
24
|
unknown_to_google: "unknown_to_google";
|
|
28
25
|
discovered_not_indexed: "discovered_not_indexed";
|
|
29
26
|
crawled_not_indexed: "crawled_not_indexed";
|
|
27
|
+
indexed: "indexed";
|
|
30
28
|
noindex: "noindex";
|
|
31
29
|
blocked_robots: "blocked_robots";
|
|
32
30
|
soft_404: "soft_404";
|
|
31
|
+
not_found: "not_found";
|
|
33
32
|
server_error: "server_error";
|
|
34
33
|
access_denied: "access_denied";
|
|
35
34
|
access_forbidden: "access_forbidden";
|
|
36
35
|
blocked_4xx: "blocked_4xx";
|
|
36
|
+
redirect: "redirect";
|
|
37
37
|
redirect_error: "redirect_error";
|
|
38
38
|
alternate_canonical: "alternate_canonical";
|
|
39
39
|
duplicate_no_canonical: "duplicate_no_canonical";
|
|
@@ -49,19 +49,19 @@ export declare const coverageStateTagSchema: z.ZodEnum<{
|
|
|
49
49
|
* reads a newer host's counts. Neither case fails the parse.
|
|
50
50
|
*/
|
|
51
51
|
export declare const coverageStateCountsSchema: z.ZodObject<{
|
|
52
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
53
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
54
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
55
52
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
56
53
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
57
54
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
55
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
58
56
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
59
57
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
60
58
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
59
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
61
60
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
62
61
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
63
62
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
64
63
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
64
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
65
65
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
66
66
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
67
67
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -143,19 +143,19 @@ export declare const coverageStatesPointSchema: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
143
143
|
_tag: z.ZodLiteral<"counted">;
|
|
144
144
|
capturedAt: z.ZodString;
|
|
145
145
|
counts: z.ZodObject<{
|
|
146
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
147
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
148
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
149
146
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
150
147
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
151
148
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
149
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
152
150
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
153
151
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
154
152
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
153
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
155
154
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
156
155
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
157
156
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
158
157
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
158
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
159
159
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
160
160
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
161
161
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -193,19 +193,19 @@ export declare const WATCHED_URL_CHECKPOINT_LIMIT = 12;
|
|
|
193
193
|
export declare const watchedUrlCheckpointSchema: z.ZodObject<{
|
|
194
194
|
checkedAt: z.ZodString;
|
|
195
195
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
196
|
-
indexed: "indexed";
|
|
197
|
-
not_found: "not_found";
|
|
198
|
-
redirect: "redirect";
|
|
199
196
|
unknown_to_google: "unknown_to_google";
|
|
200
197
|
discovered_not_indexed: "discovered_not_indexed";
|
|
201
198
|
crawled_not_indexed: "crawled_not_indexed";
|
|
199
|
+
indexed: "indexed";
|
|
202
200
|
noindex: "noindex";
|
|
203
201
|
blocked_robots: "blocked_robots";
|
|
204
202
|
soft_404: "soft_404";
|
|
203
|
+
not_found: "not_found";
|
|
205
204
|
server_error: "server_error";
|
|
206
205
|
access_denied: "access_denied";
|
|
207
206
|
access_forbidden: "access_forbidden";
|
|
208
207
|
blocked_4xx: "blocked_4xx";
|
|
208
|
+
redirect: "redirect";
|
|
209
209
|
redirect_error: "redirect_error";
|
|
210
210
|
alternate_canonical: "alternate_canonical";
|
|
211
211
|
duplicate_no_canonical: "duplicate_no_canonical";
|
|
@@ -226,19 +226,19 @@ export declare const watchedUrlSchema: z.ZodObject<{
|
|
|
226
226
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
227
227
|
checkedAt: z.ZodString;
|
|
228
228
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
229
|
-
indexed: "indexed";
|
|
230
|
-
not_found: "not_found";
|
|
231
|
-
redirect: "redirect";
|
|
232
229
|
unknown_to_google: "unknown_to_google";
|
|
233
230
|
discovered_not_indexed: "discovered_not_indexed";
|
|
234
231
|
crawled_not_indexed: "crawled_not_indexed";
|
|
232
|
+
indexed: "indexed";
|
|
235
233
|
noindex: "noindex";
|
|
236
234
|
blocked_robots: "blocked_robots";
|
|
237
235
|
soft_404: "soft_404";
|
|
236
|
+
not_found: "not_found";
|
|
238
237
|
server_error: "server_error";
|
|
239
238
|
access_denied: "access_denied";
|
|
240
239
|
access_forbidden: "access_forbidden";
|
|
241
240
|
blocked_4xx: "blocked_4xx";
|
|
241
|
+
redirect: "redirect";
|
|
242
242
|
redirect_error: "redirect_error";
|
|
243
243
|
alternate_canonical: "alternate_canonical";
|
|
244
244
|
duplicate_no_canonical: "duplicate_no_canonical";
|
|
@@ -261,19 +261,19 @@ export declare const watchedUrlsResponseSchema: z.ZodObject<{
|
|
|
261
261
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
262
262
|
checkedAt: z.ZodString;
|
|
263
263
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
264
|
-
indexed: "indexed";
|
|
265
|
-
not_found: "not_found";
|
|
266
|
-
redirect: "redirect";
|
|
267
264
|
unknown_to_google: "unknown_to_google";
|
|
268
265
|
discovered_not_indexed: "discovered_not_indexed";
|
|
269
266
|
crawled_not_indexed: "crawled_not_indexed";
|
|
267
|
+
indexed: "indexed";
|
|
270
268
|
noindex: "noindex";
|
|
271
269
|
blocked_robots: "blocked_robots";
|
|
272
270
|
soft_404: "soft_404";
|
|
271
|
+
not_found: "not_found";
|
|
273
272
|
server_error: "server_error";
|
|
274
273
|
access_denied: "access_denied";
|
|
275
274
|
access_forbidden: "access_forbidden";
|
|
276
275
|
blocked_4xx: "blocked_4xx";
|
|
276
|
+
redirect: "redirect";
|
|
277
277
|
redirect_error: "redirect_error";
|
|
278
278
|
alternate_canonical: "alternate_canonical";
|
|
279
279
|
duplicate_no_canonical: "duplicate_no_canonical";
|
package/dist/schemas.d.mts
CHANGED
|
@@ -380,9 +380,9 @@ export declare const indexingUrlsResponseSchema: z.ZodObject<{
|
|
|
380
380
|
}, z.core.$loose>;
|
|
381
381
|
export declare const GSCDUMP_INDEXING_TRANSITION_FIELDS: readonly ["indexStatus", "coverageState", "robotsTxtState", "indexingState", "pageFetchState", "googleCanonical"];
|
|
382
382
|
export declare const gscdumpIndexingTransitionFieldSchema: z.ZodEnum<{
|
|
383
|
+
coverageState: "coverageState";
|
|
383
384
|
indexStatus: "indexStatus";
|
|
384
385
|
googleCanonical: "googleCanonical";
|
|
385
|
-
coverageState: "coverageState";
|
|
386
386
|
robotsTxtState: "robotsTxtState";
|
|
387
387
|
indexingState: "indexingState";
|
|
388
388
|
pageFetchState: "pageFetchState";
|
|
@@ -1427,8 +1427,8 @@ export declare const bulkRegisterPartnerSitesResponseSchema: z.ZodObject<{
|
|
|
1427
1427
|
status: z.ZodEnum<{
|
|
1428
1428
|
error: "error";
|
|
1429
1429
|
registered: "registered";
|
|
1430
|
-
already_exists: "already_exists";
|
|
1431
1430
|
not_found: "not_found";
|
|
1431
|
+
already_exists: "already_exists";
|
|
1432
1432
|
}>;
|
|
1433
1433
|
error: z.ZodOptional<z.ZodString>;
|
|
1434
1434
|
site: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -1862,19 +1862,19 @@ export declare const gscdumpIndexingResponseSchema: z.ZodObject<{
|
|
|
1862
1862
|
_tag: z.ZodLiteral<"counted">;
|
|
1863
1863
|
capturedAt: z.ZodString;
|
|
1864
1864
|
counts: z.ZodObject<{
|
|
1865
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
1866
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
1867
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
1868
1865
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
1869
1866
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
1870
1867
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
1868
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
1871
1869
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
1872
1870
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
1873
1871
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
1872
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
1874
1873
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
1875
1874
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
1876
1875
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
1877
1876
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
1877
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
1878
1878
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
1879
1879
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
1880
1880
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -4322,8 +4322,8 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
4322
4322
|
status: z.ZodEnum<{
|
|
4323
4323
|
error: "error";
|
|
4324
4324
|
registered: "registered";
|
|
4325
|
-
already_exists: "already_exists";
|
|
4326
4325
|
not_found: "not_found";
|
|
4326
|
+
already_exists: "already_exists";
|
|
4327
4327
|
}>;
|
|
4328
4328
|
error: z.ZodOptional<z.ZodString>;
|
|
4329
4329
|
site: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -4603,19 +4603,19 @@ export declare const partnerControlEndpointSchemas: {
|
|
|
4603
4603
|
_tag: z.ZodLiteral<"counted">;
|
|
4604
4604
|
capturedAt: z.ZodString;
|
|
4605
4605
|
counts: z.ZodObject<{
|
|
4606
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
4607
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
4608
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
4609
4606
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
4610
4607
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
4611
4608
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
4609
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
4612
4610
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
4613
4611
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
4614
4612
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
4613
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
4615
4614
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
4616
4615
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
4617
4616
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
4618
4617
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
4618
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
4619
4619
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
4620
4620
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
4621
4621
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -6152,8 +6152,8 @@ export declare const partnerEndpointSchemas: {
|
|
|
6152
6152
|
status: z.ZodEnum<{
|
|
6153
6153
|
error: "error";
|
|
6154
6154
|
registered: "registered";
|
|
6155
|
-
already_exists: "already_exists";
|
|
6156
6155
|
not_found: "not_found";
|
|
6156
|
+
already_exists: "already_exists";
|
|
6157
6157
|
}>;
|
|
6158
6158
|
error: z.ZodOptional<z.ZodString>;
|
|
6159
6159
|
site: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -6433,19 +6433,19 @@ export declare const partnerEndpointSchemas: {
|
|
|
6433
6433
|
_tag: z.ZodLiteral<"counted">;
|
|
6434
6434
|
capturedAt: z.ZodString;
|
|
6435
6435
|
counts: z.ZodObject<{
|
|
6436
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6437
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6438
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6439
6436
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
6440
6437
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6441
6438
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6439
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6442
6440
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
6443
6441
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
6444
6442
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
6443
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6445
6444
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
6446
6445
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
6447
6446
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
6448
6447
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
6448
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6449
6449
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
6450
6450
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
6451
6451
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
package/dist/site-version.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GSC_SEARCH_TYPES } from "./search-types.mjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
const registeredUrl = z.url().refine((value) => {
|
|
4
4
|
const url = new URL(value);
|
|
@@ -38,7 +38,7 @@ const siteVersionSliceSchema = z.strictObject({
|
|
|
38
38
|
"search_appearance_page_queries",
|
|
39
39
|
"hourly_pages"
|
|
40
40
|
]),
|
|
41
|
-
searchType:
|
|
41
|
+
searchType: z.enum(GSC_SEARCH_TYPES)
|
|
42
42
|
});
|
|
43
43
|
const siteVersionPreviewRequestSchema = z.strictObject({
|
|
44
44
|
requestedUrl: registeredUrl,
|
package/dist/v1/browser.d.mts
CHANGED
|
@@ -17,12 +17,12 @@ export declare const GSCDUMP_V1_ANALYTICS_DIMENSIONS: readonly ["page", "query",
|
|
|
17
17
|
export declare function createGscdumpV1BrowserSchemas(realtimeSchemas?: RealtimeV1Schemas): {
|
|
18
18
|
analyticsRowsRequest: z.ZodObject<{
|
|
19
19
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
20
|
-
date: "date";
|
|
21
20
|
page: "page";
|
|
22
21
|
query: "query";
|
|
23
22
|
queryCanonical: "queryCanonical";
|
|
24
23
|
country: "country";
|
|
25
24
|
device: "device";
|
|
25
|
+
date: "date";
|
|
26
26
|
searchAppearance: "searchAppearance";
|
|
27
27
|
hour: "hour";
|
|
28
28
|
}>>;
|
|
@@ -266,6 +266,30 @@ export declare function createGscdumpV1BrowserSchemas(realtimeSchemas?: Realtime
|
|
|
266
266
|
size_unknown: "size_unknown";
|
|
267
267
|
size_pending: "size_pending";
|
|
268
268
|
}>>;
|
|
269
|
+
readonly registration: z.ZodOptional<z.ZodObject<{
|
|
270
|
+
identity: z.ZodObject<{
|
|
271
|
+
siteId: z.ZodString;
|
|
272
|
+
userId: z.ZodString;
|
|
273
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
274
|
+
requestedUrl: z.ZodURL;
|
|
275
|
+
catalogSiteId: z.ZodNumber;
|
|
276
|
+
warehouse: z.ZodString;
|
|
277
|
+
namespace: z.ZodString;
|
|
278
|
+
version: z.ZodNumber;
|
|
279
|
+
revision: z.ZodNumber;
|
|
280
|
+
catalogRevision: z.ZodNumber;
|
|
281
|
+
dataVersion: z.ZodNumber;
|
|
282
|
+
}, z.core.$strict>;
|
|
283
|
+
coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
284
|
+
_tag: z.ZodLiteral<"legacy">;
|
|
285
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
286
|
+
_tag: z.ZodLiteral<"verified">;
|
|
287
|
+
window: z.ZodObject<{
|
|
288
|
+
startDate: z.ZodISODate;
|
|
289
|
+
endDate: z.ZodISODate;
|
|
290
|
+
}, z.core.$strict>;
|
|
291
|
+
}, z.core.$strict>], "_tag">;
|
|
292
|
+
}, z.core.$strict>>;
|
|
269
293
|
readonly latestError: z.ZodNullable<z.ZodObject<{
|
|
270
294
|
readonly code: z.ZodEnum<{
|
|
271
295
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -428,6 +452,30 @@ export declare function createGscdumpV1BrowserSchemas(realtimeSchemas?: Realtime
|
|
|
428
452
|
size_unknown: "size_unknown";
|
|
429
453
|
size_pending: "size_pending";
|
|
430
454
|
}>>>;
|
|
455
|
+
readonly registration: z.ZodOptional<z.ZodObject<{
|
|
456
|
+
identity: z.ZodObject<{
|
|
457
|
+
siteId: z.ZodString;
|
|
458
|
+
userId: z.ZodString;
|
|
459
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
460
|
+
requestedUrl: z.ZodURL;
|
|
461
|
+
catalogSiteId: z.ZodNumber;
|
|
462
|
+
warehouse: z.ZodString;
|
|
463
|
+
namespace: z.ZodString;
|
|
464
|
+
version: z.ZodNumber;
|
|
465
|
+
revision: z.ZodNumber;
|
|
466
|
+
catalogRevision: z.ZodNumber;
|
|
467
|
+
dataVersion: z.ZodNumber;
|
|
468
|
+
}, z.core.$strict>;
|
|
469
|
+
coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
470
|
+
_tag: z.ZodLiteral<"legacy">;
|
|
471
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
472
|
+
_tag: z.ZodLiteral<"verified">;
|
|
473
|
+
window: z.ZodObject<{
|
|
474
|
+
startDate: z.ZodISODate;
|
|
475
|
+
endDate: z.ZodISODate;
|
|
476
|
+
}, z.core.$strict>;
|
|
477
|
+
}, z.core.$strict>], "_tag">;
|
|
478
|
+
}, z.core.$strict>>;
|
|
431
479
|
readonly latestError: z.ZodNullable<z.ZodObject<{
|
|
432
480
|
readonly code: z.ZodEnum<{
|
|
433
481
|
missing_refresh_token: "missing_refresh_token";
|
package/dist/v1/browser.mjs
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { siteHoldReasonSchema } from "../entitlements.mjs";
|
|
2
2
|
import { accountNextActions, accountStatuses, analyticsNextActions, analyticsStatuses, indexingNextActions, indexingStatuses, lifecycleErrorCodes, propertyNextActions, propertyStatuses, querySourceModes, sitemapNextActions, sitemapStatuses } from "../onboarding.mjs";
|
|
3
3
|
import { GSC_SEARCH_TYPES } from "../search-types.mjs";
|
|
4
|
+
import { siteVersionIdentityResponseSchema } from "../site-version.mjs";
|
|
4
5
|
import "./version.mjs";
|
|
5
6
|
import { defineResponseObject, defineSuccessResponse } from "./http-core.mjs";
|
|
6
7
|
import { createRealtimeV1Schemas } from "./realtime.mjs";
|
|
@@ -85,6 +86,7 @@ function lifecycleResponseSchemas(ids) {
|
|
|
85
86
|
sitemaps: sitemaps.producer,
|
|
86
87
|
indexing: indexing.producer,
|
|
87
88
|
hold: siteHoldReasonSchema.nullable(),
|
|
89
|
+
registration: siteVersionIdentityResponseSchema.optional(),
|
|
88
90
|
latestError: latestError.producer.nullable(),
|
|
89
91
|
updatedAt: z.iso.datetime()
|
|
90
92
|
}, {
|
|
@@ -98,6 +100,7 @@ function lifecycleResponseSchemas(ids) {
|
|
|
98
100
|
sitemaps: sitemaps.client,
|
|
99
101
|
indexing: indexing.client,
|
|
100
102
|
hold: siteHoldReasonSchema.nullable().default(null),
|
|
103
|
+
registration: siteVersionIdentityResponseSchema.optional(),
|
|
101
104
|
latestError: latestError.client.nullable(),
|
|
102
105
|
updatedAt: z.iso.datetime()
|
|
103
106
|
});
|
|
@@ -232,8 +232,8 @@ export declare const googleSubmissionRefusalSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
232
232
|
}, z.core.$strip>, z.ZodObject<{
|
|
233
233
|
reason: z.ZodLiteral<"needs_indexing_api_grant">;
|
|
234
234
|
grant: z.ZodEnum<{
|
|
235
|
-
"reauthorization-required": "reauthorization-required";
|
|
236
235
|
missing: "missing";
|
|
236
|
+
"reauthorization-required": "reauthorization-required";
|
|
237
237
|
}>;
|
|
238
238
|
}, z.core.$strip>, z.ZodObject<{
|
|
239
239
|
reason: z.ZodLiteral<"url_outside_site">;
|
package/dist/v1/operations.d.mts
CHANGED
|
@@ -744,12 +744,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
744
744
|
readonly GOOGLE_NEWS: "googleNews";
|
|
745
745
|
}>>;
|
|
746
746
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
747
|
-
date: "date";
|
|
748
747
|
page: "page";
|
|
749
748
|
query: "query";
|
|
750
749
|
queryCanonical: "queryCanonical";
|
|
751
750
|
country: "country";
|
|
752
751
|
device: "device";
|
|
752
|
+
date: "date";
|
|
753
753
|
searchAppearance: "searchAppearance";
|
|
754
754
|
hour: "hour";
|
|
755
755
|
}>>;
|
|
@@ -764,12 +764,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
764
764
|
readonly GOOGLE_NEWS: "googleNews";
|
|
765
765
|
}>>;
|
|
766
766
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
767
|
-
date: "date";
|
|
768
767
|
page: "page";
|
|
769
768
|
query: "query";
|
|
770
769
|
queryCanonical: "queryCanonical";
|
|
771
770
|
country: "country";
|
|
772
771
|
device: "device";
|
|
772
|
+
date: "date";
|
|
773
773
|
searchAppearance: "searchAppearance";
|
|
774
774
|
hour: "hour";
|
|
775
775
|
}>>;
|
|
@@ -901,12 +901,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
901
901
|
readonly GOOGLE_NEWS: "googleNews";
|
|
902
902
|
}>>;
|
|
903
903
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
904
|
-
date: "date";
|
|
905
904
|
page: "page";
|
|
906
905
|
query: "query";
|
|
907
906
|
queryCanonical: "queryCanonical";
|
|
908
907
|
country: "country";
|
|
909
908
|
device: "device";
|
|
909
|
+
date: "date";
|
|
910
910
|
searchAppearance: "searchAppearance";
|
|
911
911
|
hour: "hour";
|
|
912
912
|
}>>;
|
|
@@ -921,12 +921,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
921
921
|
readonly GOOGLE_NEWS: "googleNews";
|
|
922
922
|
}>>;
|
|
923
923
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
924
|
-
date: "date";
|
|
925
924
|
page: "page";
|
|
926
925
|
query: "query";
|
|
927
926
|
queryCanonical: "queryCanonical";
|
|
928
927
|
country: "country";
|
|
929
928
|
device: "device";
|
|
929
|
+
date: "date";
|
|
930
930
|
searchAppearance: "searchAppearance";
|
|
931
931
|
hour: "hour";
|
|
932
932
|
}>>;
|
|
@@ -1038,12 +1038,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1038
1038
|
}, z.core.$strip>>;
|
|
1039
1039
|
analyticsRowsRequest: z.ZodObject<{
|
|
1040
1040
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
1041
|
-
date: "date";
|
|
1042
1041
|
page: "page";
|
|
1043
1042
|
query: "query";
|
|
1044
1043
|
queryCanonical: "queryCanonical";
|
|
1045
1044
|
country: "country";
|
|
1046
1045
|
device: "device";
|
|
1046
|
+
date: "date";
|
|
1047
1047
|
searchAppearance: "searchAppearance";
|
|
1048
1048
|
hour: "hour";
|
|
1049
1049
|
}>>;
|
|
@@ -1575,19 +1575,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1575
1575
|
_tag: z.ZodLiteral<"counted">;
|
|
1576
1576
|
capturedAt: z.ZodString;
|
|
1577
1577
|
counts: z.ZodObject<{
|
|
1578
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
1579
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
1580
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
1581
1578
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
1582
1579
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
1583
1580
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
1581
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
1584
1582
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
1585
1583
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
1586
1584
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
1585
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
1587
1586
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
1588
1587
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
1589
1588
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
1590
1589
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
1590
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
1591
1591
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
1592
1592
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
1593
1593
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1714,19 +1714,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1714
1714
|
_tag: z.ZodLiteral<"counted">;
|
|
1715
1715
|
capturedAt: z.ZodString;
|
|
1716
1716
|
counts: z.ZodObject<{
|
|
1717
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
1718
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
1719
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
1720
1717
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
1721
1718
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
1722
1719
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
1720
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
1723
1721
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
1724
1722
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
1725
1723
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
1724
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
1726
1725
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
1727
1726
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
1728
1727
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
1729
1728
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
1729
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
1730
1730
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
1731
1731
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
1732
1732
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1832,9 +1832,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1832
1832
|
startDate: z.ZodOptional<z.ZodString>;
|
|
1833
1833
|
endDate: z.ZodOptional<z.ZodString>;
|
|
1834
1834
|
field: z.ZodOptional<z.ZodEnum<{
|
|
1835
|
+
coverageState: "coverageState";
|
|
1835
1836
|
indexStatus: "indexStatus";
|
|
1836
1837
|
googleCanonical: "googleCanonical";
|
|
1837
|
-
coverageState: "coverageState";
|
|
1838
1838
|
robotsTxtState: "robotsTxtState";
|
|
1839
1839
|
indexingState: "indexingState";
|
|
1840
1840
|
pageFetchState: "pageFetchState";
|
|
@@ -1849,9 +1849,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1849
1849
|
readonly transitions: z.ZodArray<z.ZodObject<{
|
|
1850
1850
|
readonly url: z.ZodString;
|
|
1851
1851
|
readonly field: z.ZodEnum<{
|
|
1852
|
+
coverageState: "coverageState";
|
|
1852
1853
|
indexStatus: "indexStatus";
|
|
1853
1854
|
googleCanonical: "googleCanonical";
|
|
1854
|
-
coverageState: "coverageState";
|
|
1855
1855
|
robotsTxtState: "robotsTxtState";
|
|
1856
1856
|
indexingState: "indexingState";
|
|
1857
1857
|
pageFetchState: "pageFetchState";
|
|
@@ -1896,9 +1896,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
1896
1896
|
readonly transitions: z.ZodArray<z.ZodObject<{
|
|
1897
1897
|
readonly url: z.ZodString;
|
|
1898
1898
|
readonly field: z.ZodEnum<{
|
|
1899
|
+
coverageState: "coverageState";
|
|
1899
1900
|
indexStatus: "indexStatus";
|
|
1900
1901
|
googleCanonical: "googleCanonical";
|
|
1901
|
-
coverageState: "coverageState";
|
|
1902
1902
|
robotsTxtState: "robotsTxtState";
|
|
1903
1903
|
indexingState: "indexingState";
|
|
1904
1904
|
pageFetchState: "pageFetchState";
|
|
@@ -2061,19 +2061,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
2061
2061
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
2062
2062
|
checkedAt: z.ZodString;
|
|
2063
2063
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
2064
|
-
indexed: "indexed";
|
|
2065
|
-
not_found: "not_found";
|
|
2066
|
-
redirect: "redirect";
|
|
2067
2064
|
unknown_to_google: "unknown_to_google";
|
|
2068
2065
|
discovered_not_indexed: "discovered_not_indexed";
|
|
2069
2066
|
crawled_not_indexed: "crawled_not_indexed";
|
|
2067
|
+
indexed: "indexed";
|
|
2070
2068
|
noindex: "noindex";
|
|
2071
2069
|
blocked_robots: "blocked_robots";
|
|
2072
2070
|
soft_404: "soft_404";
|
|
2071
|
+
not_found: "not_found";
|
|
2073
2072
|
server_error: "server_error";
|
|
2074
2073
|
access_denied: "access_denied";
|
|
2075
2074
|
access_forbidden: "access_forbidden";
|
|
2076
2075
|
blocked_4xx: "blocked_4xx";
|
|
2076
|
+
redirect: "redirect";
|
|
2077
2077
|
redirect_error: "redirect_error";
|
|
2078
2078
|
alternate_canonical: "alternate_canonical";
|
|
2079
2079
|
duplicate_no_canonical: "duplicate_no_canonical";
|
|
@@ -2107,19 +2107,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
2107
2107
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
2108
2108
|
checkedAt: z.ZodString;
|
|
2109
2109
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
2110
|
-
indexed: "indexed";
|
|
2111
|
-
not_found: "not_found";
|
|
2112
|
-
redirect: "redirect";
|
|
2113
2110
|
unknown_to_google: "unknown_to_google";
|
|
2114
2111
|
discovered_not_indexed: "discovered_not_indexed";
|
|
2115
2112
|
crawled_not_indexed: "crawled_not_indexed";
|
|
2113
|
+
indexed: "indexed";
|
|
2116
2114
|
noindex: "noindex";
|
|
2117
2115
|
blocked_robots: "blocked_robots";
|
|
2118
2116
|
soft_404: "soft_404";
|
|
2117
|
+
not_found: "not_found";
|
|
2119
2118
|
server_error: "server_error";
|
|
2120
2119
|
access_denied: "access_denied";
|
|
2121
2120
|
access_forbidden: "access_forbidden";
|
|
2122
2121
|
blocked_4xx: "blocked_4xx";
|
|
2122
|
+
redirect: "redirect";
|
|
2123
2123
|
redirect_error: "redirect_error";
|
|
2124
2124
|
alternate_canonical: "alternate_canonical";
|
|
2125
2125
|
duplicate_no_canonical: "duplicate_no_canonical";
|
|
@@ -3853,6 +3853,30 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
3853
3853
|
size_unknown: "size_unknown";
|
|
3854
3854
|
size_pending: "size_pending";
|
|
3855
3855
|
}>>;
|
|
3856
|
+
readonly registration: z.ZodOptional<z.ZodObject<{
|
|
3857
|
+
identity: z.ZodObject<{
|
|
3858
|
+
siteId: z.ZodString;
|
|
3859
|
+
userId: z.ZodString;
|
|
3860
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
3861
|
+
requestedUrl: z.ZodURL;
|
|
3862
|
+
catalogSiteId: z.ZodNumber;
|
|
3863
|
+
warehouse: z.ZodString;
|
|
3864
|
+
namespace: z.ZodString;
|
|
3865
|
+
version: z.ZodNumber;
|
|
3866
|
+
revision: z.ZodNumber;
|
|
3867
|
+
catalogRevision: z.ZodNumber;
|
|
3868
|
+
dataVersion: z.ZodNumber;
|
|
3869
|
+
}, z.core.$strict>;
|
|
3870
|
+
coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3871
|
+
_tag: z.ZodLiteral<"legacy">;
|
|
3872
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3873
|
+
_tag: z.ZodLiteral<"verified">;
|
|
3874
|
+
window: z.ZodObject<{
|
|
3875
|
+
startDate: z.ZodISODate;
|
|
3876
|
+
endDate: z.ZodISODate;
|
|
3877
|
+
}, z.core.$strict>;
|
|
3878
|
+
}, z.core.$strict>], "_tag">;
|
|
3879
|
+
}, z.core.$strict>>;
|
|
3856
3880
|
readonly latestError: z.ZodNullable<z.ZodObject<{
|
|
3857
3881
|
readonly code: z.ZodEnum<{
|
|
3858
3882
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -4015,6 +4039,30 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
4015
4039
|
size_unknown: "size_unknown";
|
|
4016
4040
|
size_pending: "size_pending";
|
|
4017
4041
|
}>>>;
|
|
4042
|
+
readonly registration: z.ZodOptional<z.ZodObject<{
|
|
4043
|
+
identity: z.ZodObject<{
|
|
4044
|
+
siteId: z.ZodString;
|
|
4045
|
+
userId: z.ZodString;
|
|
4046
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
4047
|
+
requestedUrl: z.ZodURL;
|
|
4048
|
+
catalogSiteId: z.ZodNumber;
|
|
4049
|
+
warehouse: z.ZodString;
|
|
4050
|
+
namespace: z.ZodString;
|
|
4051
|
+
version: z.ZodNumber;
|
|
4052
|
+
revision: z.ZodNumber;
|
|
4053
|
+
catalogRevision: z.ZodNumber;
|
|
4054
|
+
dataVersion: z.ZodNumber;
|
|
4055
|
+
}, z.core.$strict>;
|
|
4056
|
+
coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4057
|
+
_tag: z.ZodLiteral<"legacy">;
|
|
4058
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4059
|
+
_tag: z.ZodLiteral<"verified">;
|
|
4060
|
+
window: z.ZodObject<{
|
|
4061
|
+
startDate: z.ZodISODate;
|
|
4062
|
+
endDate: z.ZodISODate;
|
|
4063
|
+
}, z.core.$strict>;
|
|
4064
|
+
}, z.core.$strict>], "_tag">;
|
|
4065
|
+
}, z.core.$strict>>;
|
|
4018
4066
|
readonly latestError: z.ZodNullable<z.ZodObject<{
|
|
4019
4067
|
readonly code: z.ZodEnum<{
|
|
4020
4068
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -4124,11 +4172,11 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
4124
4172
|
}, z.core.$strip>;
|
|
4125
4173
|
}, z.core.$strip>>;
|
|
4126
4174
|
registerSiteRequest: z.ZodObject<{
|
|
4127
|
-
externalSiteId: z.ZodOptional<z.ZodString>;
|
|
4128
4175
|
requestedUrl: z.ZodOptional<z.ZodString>;
|
|
4176
|
+
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
4177
|
+
externalSiteId: z.ZodOptional<z.ZodString>;
|
|
4129
4178
|
gscPropertyUrl: z.ZodOptional<z.ZodString>;
|
|
4130
4179
|
siteUrl: z.ZodString;
|
|
4131
|
-
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
4132
4180
|
externalSiteUrl: z.ZodOptional<z.ZodString>;
|
|
4133
4181
|
webhookUrl: z.ZodOptional<z.ZodURL>;
|
|
4134
4182
|
webhookEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -5115,6 +5163,30 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5115
5163
|
size_unknown: "size_unknown";
|
|
5116
5164
|
size_pending: "size_pending";
|
|
5117
5165
|
}>>;
|
|
5166
|
+
readonly registration: z.ZodOptional<z.ZodObject<{
|
|
5167
|
+
identity: z.ZodObject<{
|
|
5168
|
+
siteId: z.ZodString;
|
|
5169
|
+
userId: z.ZodString;
|
|
5170
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
5171
|
+
requestedUrl: z.ZodURL;
|
|
5172
|
+
catalogSiteId: z.ZodNumber;
|
|
5173
|
+
warehouse: z.ZodString;
|
|
5174
|
+
namespace: z.ZodString;
|
|
5175
|
+
version: z.ZodNumber;
|
|
5176
|
+
revision: z.ZodNumber;
|
|
5177
|
+
catalogRevision: z.ZodNumber;
|
|
5178
|
+
dataVersion: z.ZodNumber;
|
|
5179
|
+
}, z.core.$strict>;
|
|
5180
|
+
coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5181
|
+
_tag: z.ZodLiteral<"legacy">;
|
|
5182
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5183
|
+
_tag: z.ZodLiteral<"verified">;
|
|
5184
|
+
window: z.ZodObject<{
|
|
5185
|
+
startDate: z.ZodISODate;
|
|
5186
|
+
endDate: z.ZodISODate;
|
|
5187
|
+
}, z.core.$strict>;
|
|
5188
|
+
}, z.core.$strict>], "_tag">;
|
|
5189
|
+
}, z.core.$strict>>;
|
|
5118
5190
|
readonly latestError: z.ZodNullable<z.ZodObject<{
|
|
5119
5191
|
readonly code: z.ZodEnum<{
|
|
5120
5192
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -5277,6 +5349,30 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5277
5349
|
size_unknown: "size_unknown";
|
|
5278
5350
|
size_pending: "size_pending";
|
|
5279
5351
|
}>>>;
|
|
5352
|
+
readonly registration: z.ZodOptional<z.ZodObject<{
|
|
5353
|
+
identity: z.ZodObject<{
|
|
5354
|
+
siteId: z.ZodString;
|
|
5355
|
+
userId: z.ZodString;
|
|
5356
|
+
teamId: z.ZodUnion<readonly [z.ZodUUID, z.ZodString]>;
|
|
5357
|
+
requestedUrl: z.ZodURL;
|
|
5358
|
+
catalogSiteId: z.ZodNumber;
|
|
5359
|
+
warehouse: z.ZodString;
|
|
5360
|
+
namespace: z.ZodString;
|
|
5361
|
+
version: z.ZodNumber;
|
|
5362
|
+
revision: z.ZodNumber;
|
|
5363
|
+
catalogRevision: z.ZodNumber;
|
|
5364
|
+
dataVersion: z.ZodNumber;
|
|
5365
|
+
}, z.core.$strict>;
|
|
5366
|
+
coverage: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5367
|
+
_tag: z.ZodLiteral<"legacy">;
|
|
5368
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5369
|
+
_tag: z.ZodLiteral<"verified">;
|
|
5370
|
+
window: z.ZodObject<{
|
|
5371
|
+
startDate: z.ZodISODate;
|
|
5372
|
+
endDate: z.ZodISODate;
|
|
5373
|
+
}, z.core.$strict>;
|
|
5374
|
+
}, z.core.$strict>], "_tag">;
|
|
5375
|
+
}, z.core.$strict>>;
|
|
5280
5376
|
readonly latestError: z.ZodNullable<z.ZodObject<{
|
|
5281
5377
|
readonly code: z.ZodEnum<{
|
|
5282
5378
|
missing_refresh_token: "missing_refresh_token";
|
|
@@ -5354,7 +5450,7 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5354
5450
|
};
|
|
5355
5451
|
readonly docs: {
|
|
5356
5452
|
readonly summary: "Get user lifecycle";
|
|
5357
|
-
readonly description: "Returns the authoritative lifecycle state for one visible user and their sites.";
|
|
5453
|
+
readonly description: "Returns the authoritative lifecycle state for one visible user and their sites. A partner key read also carries the registered-host registration of each Site that gscdump can serve.";
|
|
5358
5454
|
readonly tags: readonly ["Users"];
|
|
5359
5455
|
readonly examples: {
|
|
5360
5456
|
readonly request: {
|
|
@@ -5796,11 +5892,11 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
5796
5892
|
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
5797
5893
|
}, z.core.$strict>;
|
|
5798
5894
|
readonly body: z.ZodObject<{
|
|
5799
|
-
externalSiteId: z.ZodOptional<z.ZodString>;
|
|
5800
5895
|
requestedUrl: z.ZodOptional<z.ZodString>;
|
|
5896
|
+
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
5897
|
+
externalSiteId: z.ZodOptional<z.ZodString>;
|
|
5801
5898
|
gscPropertyUrl: z.ZodOptional<z.ZodString>;
|
|
5802
5899
|
siteUrl: z.ZodString;
|
|
5803
|
-
catalogSiteId: z.ZodOptional<z.ZodNumber>;
|
|
5804
5900
|
externalSiteUrl: z.ZodOptional<z.ZodString>;
|
|
5805
5901
|
webhookUrl: z.ZodOptional<z.ZodURL>;
|
|
5806
5902
|
webhookEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -6790,19 +6886,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
6790
6886
|
_tag: z.ZodLiteral<"counted">;
|
|
6791
6887
|
capturedAt: z.ZodString;
|
|
6792
6888
|
counts: z.ZodObject<{
|
|
6793
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6794
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6795
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6796
6889
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
6797
6890
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6798
6891
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6892
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6799
6893
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
6800
6894
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
6801
6895
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
6896
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6802
6897
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
6803
6898
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
6804
6899
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
6805
6900
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
6901
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6806
6902
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
6807
6903
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
6808
6904
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -6929,19 +7025,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
6929
7025
|
_tag: z.ZodLiteral<"counted">;
|
|
6930
7026
|
capturedAt: z.ZodString;
|
|
6931
7027
|
counts: z.ZodObject<{
|
|
6932
|
-
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6933
|
-
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6934
|
-
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6935
7028
|
unknown_to_google: z.ZodDefault<z.ZodNumber>;
|
|
6936
7029
|
discovered_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
6937
7030
|
crawled_not_indexed: z.ZodDefault<z.ZodNumber>;
|
|
7031
|
+
indexed: z.ZodDefault<z.ZodNumber>;
|
|
6938
7032
|
noindex: z.ZodDefault<z.ZodNumber>;
|
|
6939
7033
|
blocked_robots: z.ZodDefault<z.ZodNumber>;
|
|
6940
7034
|
soft_404: z.ZodDefault<z.ZodNumber>;
|
|
7035
|
+
not_found: z.ZodDefault<z.ZodNumber>;
|
|
6941
7036
|
server_error: z.ZodDefault<z.ZodNumber>;
|
|
6942
7037
|
access_denied: z.ZodDefault<z.ZodNumber>;
|
|
6943
7038
|
access_forbidden: z.ZodDefault<z.ZodNumber>;
|
|
6944
7039
|
blocked_4xx: z.ZodDefault<z.ZodNumber>;
|
|
7040
|
+
redirect: z.ZodDefault<z.ZodNumber>;
|
|
6945
7041
|
redirect_error: z.ZodDefault<z.ZodNumber>;
|
|
6946
7042
|
alternate_canonical: z.ZodDefault<z.ZodNumber>;
|
|
6947
7043
|
duplicate_no_canonical: z.ZodDefault<z.ZodNumber>;
|
|
@@ -11305,9 +11401,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
11305
11401
|
startDate: z.ZodOptional<z.ZodString>;
|
|
11306
11402
|
endDate: z.ZodOptional<z.ZodString>;
|
|
11307
11403
|
field: z.ZodOptional<z.ZodEnum<{
|
|
11404
|
+
coverageState: "coverageState";
|
|
11308
11405
|
indexStatus: "indexStatus";
|
|
11309
11406
|
googleCanonical: "googleCanonical";
|
|
11310
|
-
coverageState: "coverageState";
|
|
11311
11407
|
robotsTxtState: "robotsTxtState";
|
|
11312
11408
|
indexingState: "indexingState";
|
|
11313
11409
|
pageFetchState: "pageFetchState";
|
|
@@ -11328,9 +11424,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
11328
11424
|
readonly transitions: z.ZodArray<z.ZodObject<{
|
|
11329
11425
|
readonly url: z.ZodString;
|
|
11330
11426
|
readonly field: z.ZodEnum<{
|
|
11427
|
+
coverageState: "coverageState";
|
|
11331
11428
|
indexStatus: "indexStatus";
|
|
11332
11429
|
googleCanonical: "googleCanonical";
|
|
11333
|
-
coverageState: "coverageState";
|
|
11334
11430
|
robotsTxtState: "robotsTxtState";
|
|
11335
11431
|
indexingState: "indexingState";
|
|
11336
11432
|
pageFetchState: "pageFetchState";
|
|
@@ -11375,9 +11471,9 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
11375
11471
|
readonly transitions: z.ZodArray<z.ZodObject<{
|
|
11376
11472
|
readonly url: z.ZodString;
|
|
11377
11473
|
readonly field: z.ZodEnum<{
|
|
11474
|
+
coverageState: "coverageState";
|
|
11378
11475
|
indexStatus: "indexStatus";
|
|
11379
11476
|
googleCanonical: "googleCanonical";
|
|
11380
|
-
coverageState: "coverageState";
|
|
11381
11477
|
robotsTxtState: "robotsTxtState";
|
|
11382
11478
|
indexingState: "indexingState";
|
|
11383
11479
|
pageFetchState: "pageFetchState";
|
|
@@ -13772,8 +13868,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
13772
13868
|
readonly skipped: z.ZodArray<z.ZodObject<{
|
|
13773
13869
|
url: z.ZodString;
|
|
13774
13870
|
reason: z.ZodEnum<{
|
|
13775
|
-
rate_limited: "rate_limited";
|
|
13776
13871
|
domain_mismatch: "domain_mismatch";
|
|
13872
|
+
rate_limited: "rate_limited";
|
|
13777
13873
|
}>;
|
|
13778
13874
|
}, z.core.$strict>>;
|
|
13779
13875
|
}, z.core.$strip>;
|
|
@@ -13824,8 +13920,8 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
13824
13920
|
readonly skipped: z.ZodArray<z.ZodObject<{
|
|
13825
13921
|
url: z.ZodString;
|
|
13826
13922
|
reason: z.ZodEnum<{
|
|
13827
|
-
rate_limited: "rate_limited";
|
|
13828
13923
|
domain_mismatch: "domain_mismatch";
|
|
13924
|
+
rate_limited: "rate_limited";
|
|
13829
13925
|
}>;
|
|
13830
13926
|
}, z.core.$strict>>;
|
|
13831
13927
|
}, z.core.$strip>;
|
|
@@ -13960,19 +14056,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
13960
14056
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
13961
14057
|
checkedAt: z.ZodString;
|
|
13962
14058
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
13963
|
-
indexed: "indexed";
|
|
13964
|
-
not_found: "not_found";
|
|
13965
|
-
redirect: "redirect";
|
|
13966
14059
|
unknown_to_google: "unknown_to_google";
|
|
13967
14060
|
discovered_not_indexed: "discovered_not_indexed";
|
|
13968
14061
|
crawled_not_indexed: "crawled_not_indexed";
|
|
14062
|
+
indexed: "indexed";
|
|
13969
14063
|
noindex: "noindex";
|
|
13970
14064
|
blocked_robots: "blocked_robots";
|
|
13971
14065
|
soft_404: "soft_404";
|
|
14066
|
+
not_found: "not_found";
|
|
13972
14067
|
server_error: "server_error";
|
|
13973
14068
|
access_denied: "access_denied";
|
|
13974
14069
|
access_forbidden: "access_forbidden";
|
|
13975
14070
|
blocked_4xx: "blocked_4xx";
|
|
14071
|
+
redirect: "redirect";
|
|
13976
14072
|
redirect_error: "redirect_error";
|
|
13977
14073
|
alternate_canonical: "alternate_canonical";
|
|
13978
14074
|
duplicate_no_canonical: "duplicate_no_canonical";
|
|
@@ -14006,19 +14102,19 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
14006
14102
|
checkpoints: z.ZodArray<z.ZodObject<{
|
|
14007
14103
|
checkedAt: z.ZodString;
|
|
14008
14104
|
coverageState: z.ZodCatch<z.ZodEnum<{
|
|
14009
|
-
indexed: "indexed";
|
|
14010
|
-
not_found: "not_found";
|
|
14011
|
-
redirect: "redirect";
|
|
14012
14105
|
unknown_to_google: "unknown_to_google";
|
|
14013
14106
|
discovered_not_indexed: "discovered_not_indexed";
|
|
14014
14107
|
crawled_not_indexed: "crawled_not_indexed";
|
|
14108
|
+
indexed: "indexed";
|
|
14015
14109
|
noindex: "noindex";
|
|
14016
14110
|
blocked_robots: "blocked_robots";
|
|
14017
14111
|
soft_404: "soft_404";
|
|
14112
|
+
not_found: "not_found";
|
|
14018
14113
|
server_error: "server_error";
|
|
14019
14114
|
access_denied: "access_denied";
|
|
14020
14115
|
access_forbidden: "access_forbidden";
|
|
14021
14116
|
blocked_4xx: "blocked_4xx";
|
|
14117
|
+
redirect: "redirect";
|
|
14022
14118
|
redirect_error: "redirect_error";
|
|
14023
14119
|
alternate_canonical: "alternate_canonical";
|
|
14024
14120
|
duplicate_no_canonical: "duplicate_no_canonical";
|
|
@@ -22728,12 +22824,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
22728
22824
|
}, z.core.$strict>;
|
|
22729
22825
|
readonly body: z.ZodObject<{
|
|
22730
22826
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
22731
|
-
date: "date";
|
|
22732
22827
|
page: "page";
|
|
22733
22828
|
query: "query";
|
|
22734
22829
|
queryCanonical: "queryCanonical";
|
|
22735
22830
|
country: "country";
|
|
22736
22831
|
device: "device";
|
|
22832
|
+
date: "date";
|
|
22737
22833
|
searchAppearance: "searchAppearance";
|
|
22738
22834
|
hour: "hour";
|
|
22739
22835
|
}>>;
|
|
@@ -22931,12 +23027,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
22931
23027
|
readonly GOOGLE_NEWS: "googleNews";
|
|
22932
23028
|
}>>;
|
|
22933
23029
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
22934
|
-
date: "date";
|
|
22935
23030
|
page: "page";
|
|
22936
23031
|
query: "query";
|
|
22937
23032
|
queryCanonical: "queryCanonical";
|
|
22938
23033
|
country: "country";
|
|
22939
23034
|
device: "device";
|
|
23035
|
+
date: "date";
|
|
22940
23036
|
searchAppearance: "searchAppearance";
|
|
22941
23037
|
hour: "hour";
|
|
22942
23038
|
}>>;
|
|
@@ -22951,12 +23047,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
22951
23047
|
readonly GOOGLE_NEWS: "googleNews";
|
|
22952
23048
|
}>>;
|
|
22953
23049
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
22954
|
-
date: "date";
|
|
22955
23050
|
page: "page";
|
|
22956
23051
|
query: "query";
|
|
22957
23052
|
queryCanonical: "queryCanonical";
|
|
22958
23053
|
country: "country";
|
|
22959
23054
|
device: "device";
|
|
23055
|
+
date: "date";
|
|
22960
23056
|
searchAppearance: "searchAppearance";
|
|
22961
23057
|
hour: "hour";
|
|
22962
23058
|
}>>;
|
|
@@ -23201,12 +23297,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
23201
23297
|
readonly GOOGLE_NEWS: "googleNews";
|
|
23202
23298
|
}>>;
|
|
23203
23299
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
23204
|
-
date: "date";
|
|
23205
23300
|
page: "page";
|
|
23206
23301
|
query: "query";
|
|
23207
23302
|
queryCanonical: "queryCanonical";
|
|
23208
23303
|
country: "country";
|
|
23209
23304
|
device: "device";
|
|
23305
|
+
date: "date";
|
|
23210
23306
|
searchAppearance: "searchAppearance";
|
|
23211
23307
|
hour: "hour";
|
|
23212
23308
|
}>>;
|
|
@@ -23221,12 +23317,12 @@ export declare function createGscdumpV1Protocol(): {
|
|
|
23221
23317
|
readonly GOOGLE_NEWS: "googleNews";
|
|
23222
23318
|
}>>;
|
|
23223
23319
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
23224
|
-
date: "date";
|
|
23225
23320
|
page: "page";
|
|
23226
23321
|
query: "query";
|
|
23227
23322
|
queryCanonical: "queryCanonical";
|
|
23228
23323
|
country: "country";
|
|
23229
23324
|
device: "device";
|
|
23325
|
+
date: "date";
|
|
23230
23326
|
searchAppearance: "searchAppearance";
|
|
23231
23327
|
hour: "hour";
|
|
23232
23328
|
}>>;
|
package/dist/v1/operations.mjs
CHANGED
|
@@ -923,7 +923,7 @@ function createGscdumpV1Protocol() {
|
|
|
923
923
|
lifecycle: { introduced: "1.0.0" },
|
|
924
924
|
docs: {
|
|
925
925
|
summary: "Get user lifecycle",
|
|
926
|
-
description: "Returns the authoritative lifecycle state for one visible user and their sites.",
|
|
926
|
+
description: "Returns the authoritative lifecycle state for one visible user and their sites. A partner key read also carries the registered-host registration of each Site that gscdump can serve.",
|
|
927
927
|
tags: ["Users"],
|
|
928
928
|
examples: {
|
|
929
929
|
request: { params: { userId: "u_01" } },
|