@gscdump/contracts 0.13.1 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +268 -1
- package/dist/index.mjs +59 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -140,6 +140,7 @@ declare const partnerRoutes: {
|
|
|
140
140
|
readonly indexing: (siteId: string) => string;
|
|
141
141
|
readonly indexingUrls: (siteId: string) => string;
|
|
142
142
|
readonly indexingDiagnostics: (siteId: string) => string;
|
|
143
|
+
readonly indexingInspect: (siteId: string) => string;
|
|
143
144
|
readonly recoverPermission: (siteId: string) => string;
|
|
144
145
|
readonly canonicalMismatches: (siteId: string) => string;
|
|
145
146
|
readonly topAssociation: (siteId: string) => string;
|
|
@@ -184,6 +185,7 @@ declare const analyticsRoutes: {
|
|
|
184
185
|
readonly inspectionHistory: (siteId: string, hash: string) => string;
|
|
185
186
|
readonly indexingUrls: (siteId: string) => string;
|
|
186
187
|
readonly indexingDiagnostics: (siteId: string) => string;
|
|
188
|
+
readonly indexingInspect: (siteId: string) => string;
|
|
187
189
|
readonly countries: (siteId: string) => string;
|
|
188
190
|
readonly searchAppearance: (siteId: string) => string;
|
|
189
191
|
};
|
|
@@ -412,6 +414,117 @@ declare const indexingDiagnosticsSchema: z.ZodObject<{
|
|
|
412
414
|
siteUrl: z.ZodString;
|
|
413
415
|
}, z.core.$loose>;
|
|
414
416
|
}, z.core.$loose>;
|
|
417
|
+
declare const indexingInspectRequestSchema: z.ZodObject<{
|
|
418
|
+
urls: z.ZodArray<z.ZodString>;
|
|
419
|
+
}, z.core.$strip>;
|
|
420
|
+
declare const indexingInspectResultSchema: z.ZodObject<{
|
|
421
|
+
url: z.ZodString;
|
|
422
|
+
verdict: z.ZodNullable<z.ZodString>;
|
|
423
|
+
coverageState: z.ZodNullable<z.ZodString>;
|
|
424
|
+
indexingState: z.ZodNullable<z.ZodString>;
|
|
425
|
+
robotsTxtState: z.ZodNullable<z.ZodString>;
|
|
426
|
+
pageFetchState: z.ZodNullable<z.ZodString>;
|
|
427
|
+
lastCrawlTime: z.ZodNullable<z.ZodString>;
|
|
428
|
+
crawlingUserAgent: z.ZodNullable<z.ZodString>;
|
|
429
|
+
userCanonical: z.ZodNullable<z.ZodString>;
|
|
430
|
+
googleCanonical: z.ZodNullable<z.ZodString>;
|
|
431
|
+
sitemaps: z.ZodNullable<z.ZodString>;
|
|
432
|
+
referringUrls: z.ZodNullable<z.ZodString>;
|
|
433
|
+
mobileVerdict: z.ZodNullable<z.ZodString>;
|
|
434
|
+
mobileIssues: z.ZodNullable<z.ZodString>;
|
|
435
|
+
richResultsVerdict: z.ZodNullable<z.ZodString>;
|
|
436
|
+
richResultsItems: z.ZodNullable<z.ZodString>;
|
|
437
|
+
inspectionResultLink: z.ZodNullable<z.ZodString>;
|
|
438
|
+
}, z.core.$loose>;
|
|
439
|
+
declare const indexingInspectResponseSchema: z.ZodObject<{
|
|
440
|
+
siteId: z.ZodString;
|
|
441
|
+
rateLimit: z.ZodObject<{
|
|
442
|
+
reserved: z.ZodNumber;
|
|
443
|
+
remaining: z.ZodNumber;
|
|
444
|
+
limit: z.ZodNumber;
|
|
445
|
+
}, z.core.$loose>;
|
|
446
|
+
results: z.ZodArray<z.ZodObject<{
|
|
447
|
+
url: z.ZodString;
|
|
448
|
+
verdict: z.ZodNullable<z.ZodString>;
|
|
449
|
+
coverageState: z.ZodNullable<z.ZodString>;
|
|
450
|
+
indexingState: z.ZodNullable<z.ZodString>;
|
|
451
|
+
robotsTxtState: z.ZodNullable<z.ZodString>;
|
|
452
|
+
pageFetchState: z.ZodNullable<z.ZodString>;
|
|
453
|
+
lastCrawlTime: z.ZodNullable<z.ZodString>;
|
|
454
|
+
crawlingUserAgent: z.ZodNullable<z.ZodString>;
|
|
455
|
+
userCanonical: z.ZodNullable<z.ZodString>;
|
|
456
|
+
googleCanonical: z.ZodNullable<z.ZodString>;
|
|
457
|
+
sitemaps: z.ZodNullable<z.ZodString>;
|
|
458
|
+
referringUrls: z.ZodNullable<z.ZodString>;
|
|
459
|
+
mobileVerdict: z.ZodNullable<z.ZodString>;
|
|
460
|
+
mobileIssues: z.ZodNullable<z.ZodString>;
|
|
461
|
+
richResultsVerdict: z.ZodNullable<z.ZodString>;
|
|
462
|
+
richResultsItems: z.ZodNullable<z.ZodString>;
|
|
463
|
+
inspectionResultLink: z.ZodNullable<z.ZodString>;
|
|
464
|
+
}, z.core.$loose>>;
|
|
465
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
466
|
+
url: z.ZodString;
|
|
467
|
+
error: z.ZodString;
|
|
468
|
+
}, z.core.$loose>>;
|
|
469
|
+
skipped: z.ZodArray<z.ZodObject<{
|
|
470
|
+
url: z.ZodString;
|
|
471
|
+
reason: z.ZodString;
|
|
472
|
+
}, z.core.$loose>>;
|
|
473
|
+
}, z.core.$loose>;
|
|
474
|
+
declare const indexingInspectRateLimitedSchema: z.ZodObject<{
|
|
475
|
+
error: z.ZodLiteral<"rate_limited">;
|
|
476
|
+
message: z.ZodString;
|
|
477
|
+
rateLimit: z.ZodObject<{
|
|
478
|
+
reserved: z.ZodLiteral<0>;
|
|
479
|
+
remaining: z.ZodLiteral<0>;
|
|
480
|
+
limit: z.ZodNumber;
|
|
481
|
+
}, z.core.$loose>;
|
|
482
|
+
retryAfterSeconds: z.ZodNumber;
|
|
483
|
+
}, z.core.$loose>;
|
|
484
|
+
declare const indexingInspectAnyResponseSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
485
|
+
siteId: z.ZodString;
|
|
486
|
+
rateLimit: z.ZodObject<{
|
|
487
|
+
reserved: z.ZodNumber;
|
|
488
|
+
remaining: z.ZodNumber;
|
|
489
|
+
limit: z.ZodNumber;
|
|
490
|
+
}, z.core.$loose>;
|
|
491
|
+
results: z.ZodArray<z.ZodObject<{
|
|
492
|
+
url: z.ZodString;
|
|
493
|
+
verdict: z.ZodNullable<z.ZodString>;
|
|
494
|
+
coverageState: z.ZodNullable<z.ZodString>;
|
|
495
|
+
indexingState: z.ZodNullable<z.ZodString>;
|
|
496
|
+
robotsTxtState: z.ZodNullable<z.ZodString>;
|
|
497
|
+
pageFetchState: z.ZodNullable<z.ZodString>;
|
|
498
|
+
lastCrawlTime: z.ZodNullable<z.ZodString>;
|
|
499
|
+
crawlingUserAgent: z.ZodNullable<z.ZodString>;
|
|
500
|
+
userCanonical: z.ZodNullable<z.ZodString>;
|
|
501
|
+
googleCanonical: z.ZodNullable<z.ZodString>;
|
|
502
|
+
sitemaps: z.ZodNullable<z.ZodString>;
|
|
503
|
+
referringUrls: z.ZodNullable<z.ZodString>;
|
|
504
|
+
mobileVerdict: z.ZodNullable<z.ZodString>;
|
|
505
|
+
mobileIssues: z.ZodNullable<z.ZodString>;
|
|
506
|
+
richResultsVerdict: z.ZodNullable<z.ZodString>;
|
|
507
|
+
richResultsItems: z.ZodNullable<z.ZodString>;
|
|
508
|
+
inspectionResultLink: z.ZodNullable<z.ZodString>;
|
|
509
|
+
}, z.core.$loose>>;
|
|
510
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
511
|
+
url: z.ZodString;
|
|
512
|
+
error: z.ZodString;
|
|
513
|
+
}, z.core.$loose>>;
|
|
514
|
+
skipped: z.ZodArray<z.ZodObject<{
|
|
515
|
+
url: z.ZodString;
|
|
516
|
+
reason: z.ZodString;
|
|
517
|
+
}, z.core.$loose>>;
|
|
518
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
519
|
+
error: z.ZodLiteral<"rate_limited">;
|
|
520
|
+
message: z.ZodString;
|
|
521
|
+
rateLimit: z.ZodObject<{
|
|
522
|
+
reserved: z.ZodLiteral<0>;
|
|
523
|
+
remaining: z.ZodLiteral<0>;
|
|
524
|
+
limit: z.ZodNumber;
|
|
525
|
+
}, z.core.$loose>;
|
|
526
|
+
retryAfterSeconds: z.ZodNumber;
|
|
527
|
+
}, z.core.$loose>]>;
|
|
415
528
|
declare const sitemapChangesResponseSchema: z.ZodObject<{
|
|
416
529
|
added: z.ZodArray<z.ZodObject<{
|
|
417
530
|
url: z.ZodString;
|
|
@@ -2112,6 +2225,55 @@ declare const partnerEndpointSchemas: {
|
|
|
2112
2225
|
}, z.core.$loose>;
|
|
2113
2226
|
}, z.core.$loose>;
|
|
2114
2227
|
};
|
|
2228
|
+
readonly analyticsIndexingInspect: {
|
|
2229
|
+
readonly body: z.ZodObject<{
|
|
2230
|
+
urls: z.ZodArray<z.ZodString>;
|
|
2231
|
+
}, z.core.$strip>;
|
|
2232
|
+
readonly response: z.ZodUnion<readonly [z.ZodObject<{
|
|
2233
|
+
siteId: z.ZodString;
|
|
2234
|
+
rateLimit: z.ZodObject<{
|
|
2235
|
+
reserved: z.ZodNumber;
|
|
2236
|
+
remaining: z.ZodNumber;
|
|
2237
|
+
limit: z.ZodNumber;
|
|
2238
|
+
}, z.core.$loose>;
|
|
2239
|
+
results: z.ZodArray<z.ZodObject<{
|
|
2240
|
+
url: z.ZodString;
|
|
2241
|
+
verdict: z.ZodNullable<z.ZodString>;
|
|
2242
|
+
coverageState: z.ZodNullable<z.ZodString>;
|
|
2243
|
+
indexingState: z.ZodNullable<z.ZodString>;
|
|
2244
|
+
robotsTxtState: z.ZodNullable<z.ZodString>;
|
|
2245
|
+
pageFetchState: z.ZodNullable<z.ZodString>;
|
|
2246
|
+
lastCrawlTime: z.ZodNullable<z.ZodString>;
|
|
2247
|
+
crawlingUserAgent: z.ZodNullable<z.ZodString>;
|
|
2248
|
+
userCanonical: z.ZodNullable<z.ZodString>;
|
|
2249
|
+
googleCanonical: z.ZodNullable<z.ZodString>;
|
|
2250
|
+
sitemaps: z.ZodNullable<z.ZodString>;
|
|
2251
|
+
referringUrls: z.ZodNullable<z.ZodString>;
|
|
2252
|
+
mobileVerdict: z.ZodNullable<z.ZodString>;
|
|
2253
|
+
mobileIssues: z.ZodNullable<z.ZodString>;
|
|
2254
|
+
richResultsVerdict: z.ZodNullable<z.ZodString>;
|
|
2255
|
+
richResultsItems: z.ZodNullable<z.ZodString>;
|
|
2256
|
+
inspectionResultLink: z.ZodNullable<z.ZodString>;
|
|
2257
|
+
}, z.core.$loose>>;
|
|
2258
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
2259
|
+
url: z.ZodString;
|
|
2260
|
+
error: z.ZodString;
|
|
2261
|
+
}, z.core.$loose>>;
|
|
2262
|
+
skipped: z.ZodArray<z.ZodObject<{
|
|
2263
|
+
url: z.ZodString;
|
|
2264
|
+
reason: z.ZodString;
|
|
2265
|
+
}, z.core.$loose>>;
|
|
2266
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
2267
|
+
error: z.ZodLiteral<"rate_limited">;
|
|
2268
|
+
message: z.ZodString;
|
|
2269
|
+
rateLimit: z.ZodObject<{
|
|
2270
|
+
reserved: z.ZodLiteral<0>;
|
|
2271
|
+
remaining: z.ZodLiteral<0>;
|
|
2272
|
+
limit: z.ZodNumber;
|
|
2273
|
+
}, z.core.$loose>;
|
|
2274
|
+
retryAfterSeconds: z.ZodNumber;
|
|
2275
|
+
}, z.core.$loose>]>;
|
|
2276
|
+
};
|
|
2115
2277
|
readonly analyticsSitemapChanges: {
|
|
2116
2278
|
readonly response: z.ZodObject<{
|
|
2117
2279
|
added: z.ZodArray<z.ZodObject<{
|
|
@@ -2805,6 +2967,55 @@ declare const partnerEndpointSchemas: {
|
|
|
2805
2967
|
}, z.core.$loose>;
|
|
2806
2968
|
}, z.core.$loose>;
|
|
2807
2969
|
};
|
|
2970
|
+
readonly getIndexingInspect: {
|
|
2971
|
+
readonly body: z.ZodObject<{
|
|
2972
|
+
urls: z.ZodArray<z.ZodString>;
|
|
2973
|
+
}, z.core.$strip>;
|
|
2974
|
+
readonly response: z.ZodUnion<readonly [z.ZodObject<{
|
|
2975
|
+
siteId: z.ZodString;
|
|
2976
|
+
rateLimit: z.ZodObject<{
|
|
2977
|
+
reserved: z.ZodNumber;
|
|
2978
|
+
remaining: z.ZodNumber;
|
|
2979
|
+
limit: z.ZodNumber;
|
|
2980
|
+
}, z.core.$loose>;
|
|
2981
|
+
results: z.ZodArray<z.ZodObject<{
|
|
2982
|
+
url: z.ZodString;
|
|
2983
|
+
verdict: z.ZodNullable<z.ZodString>;
|
|
2984
|
+
coverageState: z.ZodNullable<z.ZodString>;
|
|
2985
|
+
indexingState: z.ZodNullable<z.ZodString>;
|
|
2986
|
+
robotsTxtState: z.ZodNullable<z.ZodString>;
|
|
2987
|
+
pageFetchState: z.ZodNullable<z.ZodString>;
|
|
2988
|
+
lastCrawlTime: z.ZodNullable<z.ZodString>;
|
|
2989
|
+
crawlingUserAgent: z.ZodNullable<z.ZodString>;
|
|
2990
|
+
userCanonical: z.ZodNullable<z.ZodString>;
|
|
2991
|
+
googleCanonical: z.ZodNullable<z.ZodString>;
|
|
2992
|
+
sitemaps: z.ZodNullable<z.ZodString>;
|
|
2993
|
+
referringUrls: z.ZodNullable<z.ZodString>;
|
|
2994
|
+
mobileVerdict: z.ZodNullable<z.ZodString>;
|
|
2995
|
+
mobileIssues: z.ZodNullable<z.ZodString>;
|
|
2996
|
+
richResultsVerdict: z.ZodNullable<z.ZodString>;
|
|
2997
|
+
richResultsItems: z.ZodNullable<z.ZodString>;
|
|
2998
|
+
inspectionResultLink: z.ZodNullable<z.ZodString>;
|
|
2999
|
+
}, z.core.$loose>>;
|
|
3000
|
+
errors: z.ZodArray<z.ZodObject<{
|
|
3001
|
+
url: z.ZodString;
|
|
3002
|
+
error: z.ZodString;
|
|
3003
|
+
}, z.core.$loose>>;
|
|
3004
|
+
skipped: z.ZodArray<z.ZodObject<{
|
|
3005
|
+
url: z.ZodString;
|
|
3006
|
+
reason: z.ZodString;
|
|
3007
|
+
}, z.core.$loose>>;
|
|
3008
|
+
}, z.core.$loose>, z.ZodObject<{
|
|
3009
|
+
error: z.ZodLiteral<"rate_limited">;
|
|
3010
|
+
message: z.ZodString;
|
|
3011
|
+
rateLimit: z.ZodObject<{
|
|
3012
|
+
reserved: z.ZodLiteral<0>;
|
|
3013
|
+
remaining: z.ZodLiteral<0>;
|
|
3014
|
+
limit: z.ZodNumber;
|
|
3015
|
+
}, z.core.$loose>;
|
|
3016
|
+
retryAfterSeconds: z.ZodNumber;
|
|
3017
|
+
}, z.core.$loose>]>;
|
|
3018
|
+
};
|
|
2808
3019
|
readonly getUserSettings: {
|
|
2809
3020
|
readonly response: z.ZodObject<{
|
|
2810
3021
|
browserAnalyzerEnabled: z.ZodBoolean;
|
|
@@ -3317,6 +3528,56 @@ interface IndexingDiagnostics {
|
|
|
3317
3528
|
siteUrl: string;
|
|
3318
3529
|
};
|
|
3319
3530
|
}
|
|
3531
|
+
interface IndexingInspectRequest {
|
|
3532
|
+
urls: string[];
|
|
3533
|
+
}
|
|
3534
|
+
interface IndexingInspectResult {
|
|
3535
|
+
url: string;
|
|
3536
|
+
verdict: string | null;
|
|
3537
|
+
coverageState: string | null;
|
|
3538
|
+
indexingState: string | null;
|
|
3539
|
+
robotsTxtState: string | null;
|
|
3540
|
+
pageFetchState: string | null;
|
|
3541
|
+
lastCrawlTime: string | null;
|
|
3542
|
+
crawlingUserAgent: string | null;
|
|
3543
|
+
userCanonical: string | null;
|
|
3544
|
+
googleCanonical: string | null;
|
|
3545
|
+
sitemaps: string | null;
|
|
3546
|
+
referringUrls: string | null;
|
|
3547
|
+
mobileVerdict: string | null;
|
|
3548
|
+
mobileIssues: string | null;
|
|
3549
|
+
richResultsVerdict: string | null;
|
|
3550
|
+
richResultsItems: string | null;
|
|
3551
|
+
inspectionResultLink: string | null;
|
|
3552
|
+
}
|
|
3553
|
+
interface IndexingInspectRateLimit {
|
|
3554
|
+
reserved: number;
|
|
3555
|
+
remaining: number;
|
|
3556
|
+
limit: number;
|
|
3557
|
+
}
|
|
3558
|
+
interface IndexingInspectResponse {
|
|
3559
|
+
siteId: string;
|
|
3560
|
+
rateLimit: IndexingInspectRateLimit;
|
|
3561
|
+
results: IndexingInspectResult[];
|
|
3562
|
+
errors: Array<{
|
|
3563
|
+
url: string;
|
|
3564
|
+
error: string;
|
|
3565
|
+
}>;
|
|
3566
|
+
skipped: Array<{
|
|
3567
|
+
url: string;
|
|
3568
|
+
reason: string;
|
|
3569
|
+
}>;
|
|
3570
|
+
}
|
|
3571
|
+
interface IndexingInspectRateLimited {
|
|
3572
|
+
error: 'rate_limited';
|
|
3573
|
+
message: string;
|
|
3574
|
+
rateLimit: {
|
|
3575
|
+
reserved: 0;
|
|
3576
|
+
remaining: 0;
|
|
3577
|
+
limit: number;
|
|
3578
|
+
};
|
|
3579
|
+
retryAfterSeconds: number;
|
|
3580
|
+
}
|
|
3320
3581
|
interface SitemapAddedRow {
|
|
3321
3582
|
url: string;
|
|
3322
3583
|
sitemap: string;
|
|
@@ -3391,6 +3652,7 @@ interface AnalyticsClient {
|
|
|
3391
3652
|
search?: string;
|
|
3392
3653
|
}) => Promise<IndexingUrlsResponse>;
|
|
3393
3654
|
getIndexingDiagnostics: (siteId: string) => Promise<IndexingDiagnostics>;
|
|
3655
|
+
requestIndexingInspect: (siteId: string, body: IndexingInspectRequest) => Promise<IndexingInspectResponse | IndexingInspectRateLimited>;
|
|
3394
3656
|
getCountries: (siteId: string, range: {
|
|
3395
3657
|
start: string;
|
|
3396
3658
|
end: string;
|
|
@@ -3799,6 +4061,10 @@ interface GscdumpIndexingDiagnosticsResponse {
|
|
|
3799
4061
|
siteUrl: string;
|
|
3800
4062
|
};
|
|
3801
4063
|
}
|
|
4064
|
+
type GscdumpIndexingInspectRequest = IndexingInspectRequest;
|
|
4065
|
+
type GscdumpIndexingInspectResult = IndexingInspectResult;
|
|
4066
|
+
type GscdumpIndexingInspectResponse = IndexingInspectResponse;
|
|
4067
|
+
type GscdumpIndexingInspectRateLimited = IndexingInspectRateLimited;
|
|
3802
4068
|
type GscdumpAnalysisPreset = 'striking-distance' | 'opportunity' | 'decay' | 'zero-click' | 'non-brand' | 'brand-only' | 'movers-rising' | 'movers-declining';
|
|
3803
4069
|
interface GscdumpAnalysisParams {
|
|
3804
4070
|
preset: GscdumpAnalysisPreset;
|
|
@@ -4245,6 +4511,7 @@ interface PartnerClient {
|
|
|
4245
4511
|
getIndexing: (siteId: string, days?: number) => Promise<GscdumpIndexingResponse>;
|
|
4246
4512
|
getIndexingUrls: (siteId: string, params?: IndexingUrlsParams) => Promise<GscdumpIndexingUrlsResponse>;
|
|
4247
4513
|
getIndexingDiagnostics: (siteId: string) => Promise<GscdumpIndexingDiagnosticsResponse>;
|
|
4514
|
+
requestIndexingInspect: (siteId: string, body: IndexingInspectRequest) => Promise<IndexingInspectResponse | IndexingInspectRateLimited>;
|
|
4248
4515
|
getUserSettings: () => Promise<GscdumpUserSettings>;
|
|
4249
4516
|
patchUserSettings: (body: Partial<GscdumpUserSettings>) => Promise<GscdumpUserSettings>;
|
|
4250
4517
|
recoverPermission: (siteId: string) => Promise<GscdumpPermissionRecovery>;
|
|
@@ -4457,4 +4724,4 @@ declare const WEBHOOK_CONTRACT_VERSION_HEADER = "X-GSCDump-Contract-Version";
|
|
|
4457
4724
|
declare const WEBHOOK_TIMESTAMP_HEADER = "X-GSCDump-Timestamp";
|
|
4458
4725
|
declare const CANONICAL_WEBHOOK_EVENTS: readonly ["user.lifecycle.changed", "site.lifecycle.changed", "site.analytics.ready", "site.indexing.ready", "site.auth.failed", "job.failed"];
|
|
4459
4726
|
declare const VALID_WEBHOOK_EVENTS: readonly ["user.lifecycle.changed", "site.lifecycle.changed", "site.analytics.ready", "site.indexing.ready", "site.auth.failed", "job.failed"];
|
|
4460
|
-
export { AccountNextAction, AccountStatus, AddPartnerTeamMemberParams, AnalysisSourcesResponse, AnalyticsClient, AnalyticsNextAction, AnalyticsStatus, BackfillRange, BackfillResponse, BindPartnerSiteTeamParams, BuilderState, BulkRegisterPartnerSiteResult, BulkRegisterPartnerSitesParams, BulkRegisterPartnerSitesResponse, CANONICAL_WEBHOOK_EVENTS, CanonicalWebhookEventType, ColumnDef, ColumnType, CountriesResponse, CountryRow, CreatePartnerTeamParams, CreateWebhookEnvelopeOptions, DataDetailOptions, DataQueryOptions, DeletePartnerUserResponse, Dimension, Filter, GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, GscApiRange, GscComparisonFilter, GscRowQueryMeta, GscRowQueryResponse, GscSearchAnalyticsDimension, GscSearchAnalyticsFilter, GscSearchAnalyticsFilterGroup, GscSearchAnalyticsFilterOperator, GscSearchAnalyticsRequest, GscSearchAnalyticsResponse, GscSearchAnalyticsRow, GscSearchType, GscdumpAnalysisParams, GscdumpAnalysisPreset, GscdumpAnalysisResponse, GscdumpAnalysisSourcesResponse, GscdumpAvailableSite, GscdumpCanonicalMismatchRow, GscdumpCanonicalMismatchesResponse, GscdumpDataDetailResponse, GscdumpDataResponse, GscdumpDataRow, GscdumpDateRangeParams, GscdumpHealthResponse, GscdumpIndexPercentResponse, GscdumpIndexPercentSitemap, GscdumpIndexPercentTrendPoint, GscdumpIndexingDiagnosticsResponse, GscdumpIndexingResponse, GscdumpIndexingTrendPoint, GscdumpIndexingUrl, GscdumpIndexingUrlStatus, GscdumpIndexingUrlsResponse, GscdumpInvisibleUrlRow, GscdumpKeywordSparklinesParams, GscdumpKeywordSparklinesResponse, GscdumpMeta, GscdumpOrphanPageRow, GscdumpPerSitemapHistoryEntry, GscdumpPermissionRecovery, GscdumpQueryTrendParams, GscdumpQueryTrendResponse, GscdumpSiteRegistration, GscdumpSiteReportResponse, GscdumpSitemap, GscdumpSitemapChangesResponse, GscdumpSitemapHistory, GscdumpSitemapsResponse, GscdumpSyncJobItem, GscdumpSyncJobStatus, GscdumpSyncJobsQueueCounts, GscdumpSyncJobsResponse, GscdumpSyncProgressDateStatus, GscdumpSyncProgressPhaseCounts, GscdumpSyncProgressResponse, GscdumpSyncProgressSite, GscdumpSyncStatusResponse, GscdumpTeamMemberRow, GscdumpTeamRow, GscdumpTopAssociationParams, GscdumpTopAssociationResponse, GscdumpTotals, GscdumpUserMeResponse, GscdumpUserRegistration, GscdumpUserSettings, GscdumpUserSite, GscdumpUserStatus, GscdumpUserTokenUpdate, IndexingDiagnostics, IndexingIssue, IndexingIssueSeverity, IndexingNextAction, IndexingStatus, IndexingUrlRow, IndexingUrlStatus, IndexingUrlsParams, IndexingUrlsResponse, InspectionHistoryRecord, InspectionHistoryResponse, InspectionIndex, LifecycleError, LifecycleErrorCode, LifecycleProgress, LifecycleWebhookEnvelope, LifecycleWebhookEvent, Metric, PartnerClient, type PartnerLifecycleAccount, type PartnerLifecycleResponse, type PartnerLifecycleSite, PartnerRealtimeEvent, PartnerRealtimeEventType, PartnerRealtimeMessage, PartnerWebhookData, PartnerWebhookHeaders, PropertyNextAction, PropertyStatus, QuerySourceMode, RealtimeAuthFailedEvent, RealtimeAuthRequiredMessage, RealtimeConnectedMessage, RealtimeEnrichmentCompleteEvent, RealtimeErrorMessage, RealtimeJobFailedEvent, RealtimeNeedsReauthEvent, RealtimePongMessage, RealtimeSiteAddedEvent, RealtimeSiteRemovedEvent, RealtimeSubscribedMessage, RealtimeSyncCompleteEvent, RealtimeSyncFailedEvent, RealtimeSyncJobCompleteEvent, RealtimeSyncProgressEvent, RealtimeSyncSiteCompleteEvent, RegisterPartnerSiteParams, RegisterPartnerUserParams, RollupEnvelope, Row, ScheduleState, SearchAppearanceResponse, SearchAppearanceRow, SiteListItem, SitemapAddedRow, SitemapChangesResponse, SitemapHistoryRecord, SitemapHistoryResponse, SitemapIndex, SitemapNextAction, SitemapRemovedRow, SitemapStatus, SourceInfoResponse, TableName, TableSchema, TenantCtx, UpdatePartnerUserTokensParams, VALID_WEBHOOK_EVENTS, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, WebhookEnvelope, WebhookEventType, WhoamiResponse, accountNextActions, accountStatuses, addPartnerTeamMemberSchema, analyticsNextActions, analyticsRoutes, analyticsStatuses, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, builderStateSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDateRangeParamsSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingDiagnosticsSchema, indexingIssueSchema, indexingNextActions, indexingStatuses, indexingUrlRowSchema, indexingUrlStatusSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, jobFailedWebhookPayloadSchema, lifecycleErrorCodes, lifecycleErrorSchema, lifecycleProgressSchema, lifecycleWebhookEvents, parseGrantedScopes, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerRoutes, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, propertyNextActions, propertyStatuses, querySourceModes, registerPartnerSiteSchema, registerPartnerUserSchema, rollupEnvelopeSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, siteListItemSchema, sitemapChangesResponseSchema, sitemapHistoryRecordSchema, sitemapHistoryResponseSchema, sitemapIndexSchema, sitemapNextActions, sitemapStatuses, sourceInfoResponseSchema, updatePartnerUserTokensSchema, webhookEventTypeSchema, whoamiResponseSchema };
|
|
4727
|
+
export { AccountNextAction, AccountStatus, AddPartnerTeamMemberParams, AnalysisSourcesResponse, AnalyticsClient, AnalyticsNextAction, AnalyticsStatus, BackfillRange, BackfillResponse, BindPartnerSiteTeamParams, BuilderState, BulkRegisterPartnerSiteResult, BulkRegisterPartnerSitesParams, BulkRegisterPartnerSitesResponse, CANONICAL_WEBHOOK_EVENTS, CanonicalWebhookEventType, ColumnDef, ColumnType, CountriesResponse, CountryRow, CreatePartnerTeamParams, CreateWebhookEnvelopeOptions, DataDetailOptions, DataQueryOptions, DeletePartnerUserResponse, Dimension, Filter, GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, GscApiRange, GscComparisonFilter, GscRowQueryMeta, GscRowQueryResponse, GscSearchAnalyticsDimension, GscSearchAnalyticsFilter, GscSearchAnalyticsFilterGroup, GscSearchAnalyticsFilterOperator, GscSearchAnalyticsRequest, GscSearchAnalyticsResponse, GscSearchAnalyticsRow, GscSearchType, GscdumpAnalysisParams, GscdumpAnalysisPreset, GscdumpAnalysisResponse, GscdumpAnalysisSourcesResponse, GscdumpAvailableSite, GscdumpCanonicalMismatchRow, GscdumpCanonicalMismatchesResponse, GscdumpDataDetailResponse, GscdumpDataResponse, GscdumpDataRow, GscdumpDateRangeParams, GscdumpHealthResponse, GscdumpIndexPercentResponse, GscdumpIndexPercentSitemap, GscdumpIndexPercentTrendPoint, GscdumpIndexingDiagnosticsResponse, GscdumpIndexingInspectRateLimited, GscdumpIndexingInspectRequest, GscdumpIndexingInspectResponse, GscdumpIndexingInspectResult, GscdumpIndexingResponse, GscdumpIndexingTrendPoint, GscdumpIndexingUrl, GscdumpIndexingUrlStatus, GscdumpIndexingUrlsResponse, GscdumpInvisibleUrlRow, GscdumpKeywordSparklinesParams, GscdumpKeywordSparklinesResponse, GscdumpMeta, GscdumpOrphanPageRow, GscdumpPerSitemapHistoryEntry, GscdumpPermissionRecovery, GscdumpQueryTrendParams, GscdumpQueryTrendResponse, GscdumpSiteRegistration, GscdumpSiteReportResponse, GscdumpSitemap, GscdumpSitemapChangesResponse, GscdumpSitemapHistory, GscdumpSitemapsResponse, GscdumpSyncJobItem, GscdumpSyncJobStatus, GscdumpSyncJobsQueueCounts, GscdumpSyncJobsResponse, GscdumpSyncProgressDateStatus, GscdumpSyncProgressPhaseCounts, GscdumpSyncProgressResponse, GscdumpSyncProgressSite, GscdumpSyncStatusResponse, GscdumpTeamMemberRow, GscdumpTeamRow, GscdumpTopAssociationParams, GscdumpTopAssociationResponse, GscdumpTotals, GscdumpUserMeResponse, GscdumpUserRegistration, GscdumpUserSettings, GscdumpUserSite, GscdumpUserStatus, GscdumpUserTokenUpdate, IndexingDiagnostics, IndexingInspectRateLimit, IndexingInspectRateLimited, IndexingInspectRequest, IndexingInspectResponse, IndexingInspectResult, IndexingIssue, IndexingIssueSeverity, IndexingNextAction, IndexingStatus, IndexingUrlRow, IndexingUrlStatus, IndexingUrlsParams, IndexingUrlsResponse, InspectionHistoryRecord, InspectionHistoryResponse, InspectionIndex, LifecycleError, LifecycleErrorCode, LifecycleProgress, LifecycleWebhookEnvelope, LifecycleWebhookEvent, Metric, PartnerClient, type PartnerLifecycleAccount, type PartnerLifecycleResponse, type PartnerLifecycleSite, PartnerRealtimeEvent, PartnerRealtimeEventType, PartnerRealtimeMessage, PartnerWebhookData, PartnerWebhookHeaders, PropertyNextAction, PropertyStatus, QuerySourceMode, RealtimeAuthFailedEvent, RealtimeAuthRequiredMessage, RealtimeConnectedMessage, RealtimeEnrichmentCompleteEvent, RealtimeErrorMessage, RealtimeJobFailedEvent, RealtimeNeedsReauthEvent, RealtimePongMessage, RealtimeSiteAddedEvent, RealtimeSiteRemovedEvent, RealtimeSubscribedMessage, RealtimeSyncCompleteEvent, RealtimeSyncFailedEvent, RealtimeSyncJobCompleteEvent, RealtimeSyncProgressEvent, RealtimeSyncSiteCompleteEvent, RegisterPartnerSiteParams, RegisterPartnerUserParams, RollupEnvelope, Row, ScheduleState, SearchAppearanceResponse, SearchAppearanceRow, SiteListItem, SitemapAddedRow, SitemapChangesResponse, SitemapHistoryRecord, SitemapHistoryResponse, SitemapIndex, SitemapNextAction, SitemapRemovedRow, SitemapStatus, SourceInfoResponse, TableName, TableSchema, TenantCtx, UpdatePartnerUserTokensParams, VALID_WEBHOOK_EVENTS, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, WebhookEnvelope, WebhookEventType, WhoamiResponse, accountNextActions, accountStatuses, addPartnerTeamMemberSchema, analyticsNextActions, analyticsRoutes, analyticsStatuses, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, builderStateSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDateRangeParamsSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingNextActions, indexingStatuses, indexingUrlRowSchema, indexingUrlStatusSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, jobFailedWebhookPayloadSchema, lifecycleErrorCodes, lifecycleErrorSchema, lifecycleProgressSchema, lifecycleWebhookEvents, parseGrantedScopes, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerRoutes, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, propertyNextActions, propertyStatuses, querySourceModes, registerPartnerSiteSchema, registerPartnerUserSchema, rollupEnvelopeSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, siteListItemSchema, sitemapChangesResponseSchema, sitemapHistoryRecordSchema, sitemapHistoryResponseSchema, sitemapIndexSchema, sitemapNextActions, sitemapStatuses, sourceInfoResponseSchema, updatePartnerUserTokensSchema, webhookEventTypeSchema, whoamiResponseSchema };
|
package/dist/index.mjs
CHANGED
|
@@ -155,6 +155,7 @@ const partnerRoutes = {
|
|
|
155
155
|
indexing: (siteId) => `/sites/${encodeURIComponent(siteId)}/indexing`,
|
|
156
156
|
indexingUrls: (siteId) => `/sites/${encodeURIComponent(siteId)}/indexing/urls`,
|
|
157
157
|
indexingDiagnostics: (siteId) => `/sites/${encodeURIComponent(siteId)}/indexing/diagnostics`,
|
|
158
|
+
indexingInspect: (siteId) => `/sites/${encodeURIComponent(siteId)}/indexing/inspect`,
|
|
158
159
|
recoverPermission: (siteId) => `/sites/${encodeURIComponent(siteId)}/recover-permission`,
|
|
159
160
|
canonicalMismatches: (siteId) => `/sites/${encodeURIComponent(siteId)}/canonical-mismatches`,
|
|
160
161
|
topAssociation: (siteId) => `/sites/${encodeURIComponent(siteId)}/data/top-association`,
|
|
@@ -197,6 +198,7 @@ const analyticsRoutes = {
|
|
|
197
198
|
inspectionHistory: (siteId, hash) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/inspections/${encodeURIComponent(hash)}`,
|
|
198
199
|
indexingUrls: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/indexing/urls`,
|
|
199
200
|
indexingDiagnostics: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/indexing/diagnostics`,
|
|
201
|
+
indexingInspect: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/indexing/inspect`,
|
|
200
202
|
countries: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/countries`,
|
|
201
203
|
searchAppearance: (siteId) => `/api/__gsc/sites/${encodeURIComponent(siteId)}/search-appearance`
|
|
202
204
|
}
|
|
@@ -359,6 +361,54 @@ const indexingDiagnosticsSchema = z.object({
|
|
|
359
361
|
issues: z.array(indexingIssueSchema),
|
|
360
362
|
meta: z.object({ siteUrl: z.string() }).loose()
|
|
361
363
|
}).loose();
|
|
364
|
+
const indexingInspectRequestSchema = z.object({ urls: z.array(z.string().url()).min(1).max(10) });
|
|
365
|
+
const indexingInspectResultSchema = z.object({
|
|
366
|
+
url: z.string(),
|
|
367
|
+
verdict: z.string().nullable(),
|
|
368
|
+
coverageState: z.string().nullable(),
|
|
369
|
+
indexingState: z.string().nullable(),
|
|
370
|
+
robotsTxtState: z.string().nullable(),
|
|
371
|
+
pageFetchState: z.string().nullable(),
|
|
372
|
+
lastCrawlTime: z.string().nullable(),
|
|
373
|
+
crawlingUserAgent: z.string().nullable(),
|
|
374
|
+
userCanonical: z.string().nullable(),
|
|
375
|
+
googleCanonical: z.string().nullable(),
|
|
376
|
+
sitemaps: z.string().nullable(),
|
|
377
|
+
referringUrls: z.string().nullable(),
|
|
378
|
+
mobileVerdict: z.string().nullable(),
|
|
379
|
+
mobileIssues: z.string().nullable(),
|
|
380
|
+
richResultsVerdict: z.string().nullable(),
|
|
381
|
+
richResultsItems: z.string().nullable(),
|
|
382
|
+
inspectionResultLink: z.string().nullable()
|
|
383
|
+
}).loose();
|
|
384
|
+
const indexingInspectResponseSchema = z.object({
|
|
385
|
+
siteId: z.string(),
|
|
386
|
+
rateLimit: z.object({
|
|
387
|
+
reserved: z.number(),
|
|
388
|
+
remaining: z.number(),
|
|
389
|
+
limit: z.number()
|
|
390
|
+
}).loose(),
|
|
391
|
+
results: z.array(indexingInspectResultSchema),
|
|
392
|
+
errors: z.array(z.object({
|
|
393
|
+
url: z.string(),
|
|
394
|
+
error: z.string()
|
|
395
|
+
}).loose()),
|
|
396
|
+
skipped: z.array(z.object({
|
|
397
|
+
url: z.string(),
|
|
398
|
+
reason: z.string()
|
|
399
|
+
}).loose())
|
|
400
|
+
}).loose();
|
|
401
|
+
const indexingInspectRateLimitedSchema = z.object({
|
|
402
|
+
error: z.literal("rate_limited"),
|
|
403
|
+
message: z.string(),
|
|
404
|
+
rateLimit: z.object({
|
|
405
|
+
reserved: z.literal(0),
|
|
406
|
+
remaining: z.literal(0),
|
|
407
|
+
limit: z.number()
|
|
408
|
+
}).loose(),
|
|
409
|
+
retryAfterSeconds: z.number()
|
|
410
|
+
}).loose();
|
|
411
|
+
const indexingInspectAnyResponseSchema = z.union([indexingInspectResponseSchema, indexingInspectRateLimitedSchema]);
|
|
362
412
|
const sitemapChangesResponseSchema = z.object({
|
|
363
413
|
added: z.array(z.object({
|
|
364
414
|
url: z.string(),
|
|
@@ -1251,6 +1301,10 @@ const partnerEndpointSchemas = {
|
|
|
1251
1301
|
},
|
|
1252
1302
|
analyticsIndexingUrls: { response: indexingUrlsResponseSchema },
|
|
1253
1303
|
analyticsIndexingDiagnostics: { response: indexingDiagnosticsSchema },
|
|
1304
|
+
analyticsIndexingInspect: {
|
|
1305
|
+
body: indexingInspectRequestSchema,
|
|
1306
|
+
response: indexingInspectAnyResponseSchema
|
|
1307
|
+
},
|
|
1254
1308
|
analyticsSitemapChanges: { response: sitemapChangesResponseSchema },
|
|
1255
1309
|
analyticsAnalysisSources: { response: gscdumpAnalysisSourcesResponseSchema },
|
|
1256
1310
|
analyticsSourceInfo: { response: sourceInfoResponseSchema },
|
|
@@ -1302,6 +1356,10 @@ const partnerEndpointSchemas = {
|
|
|
1302
1356
|
response: gscdumpIndexingUrlsResponseSchema
|
|
1303
1357
|
},
|
|
1304
1358
|
getIndexingDiagnostics: { response: gscdumpIndexingDiagnosticsResponseSchema },
|
|
1359
|
+
getIndexingInspect: {
|
|
1360
|
+
body: indexingInspectRequestSchema,
|
|
1361
|
+
response: indexingInspectAnyResponseSchema
|
|
1362
|
+
},
|
|
1305
1363
|
getUserSettings: { response: gscdumpUserSettingsSchema },
|
|
1306
1364
|
patchUserSettings: {
|
|
1307
1365
|
body: gscdumpUserSettingsSchema.partial(),
|
|
@@ -1349,4 +1407,4 @@ const partnerEndpointSchemas = {
|
|
|
1349
1407
|
realtimeEvent: { message: partnerRealtimeEventSchema },
|
|
1350
1408
|
webhook: { message: partnerWebhookEnvelopeSchema }
|
|
1351
1409
|
};
|
|
1352
|
-
export { CANONICAL_WEBHOOK_EVENTS, GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, VALID_WEBHOOK_EVENTS, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, accountNextActions, accountStatuses, addPartnerTeamMemberSchema, analyticsNextActions, analyticsRoutes, analyticsStatuses, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, builderStateSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDateRangeParamsSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingDiagnosticsSchema, indexingIssueSchema, indexingNextActions, indexingStatuses, indexingUrlRowSchema, indexingUrlStatusSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, jobFailedWebhookPayloadSchema, lifecycleErrorCodes, lifecycleErrorSchema, lifecycleProgressSchema, lifecycleWebhookEvents, parseGrantedScopes, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerRoutes, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, propertyNextActions, propertyStatuses, querySourceModes, registerPartnerSiteSchema, registerPartnerUserSchema, rollupEnvelopeSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, siteListItemSchema, sitemapChangesResponseSchema, sitemapHistoryRecordSchema, sitemapHistoryResponseSchema, sitemapIndexSchema, sitemapNextActions, sitemapStatuses, sourceInfoResponseSchema, updatePartnerUserTokensSchema, webhookEventTypeSchema, whoamiResponseSchema };
|
|
1410
|
+
export { CANONICAL_WEBHOOK_EVENTS, GSCDUMP_ONBOARDING_CONTRACT_VERSION, GSCDUMP_OPTIONAL_INDEXING_SCOPE, GSCDUMP_REQUIRED_ANALYTICS_SCOPE, VALID_WEBHOOK_EVENTS, WEBHOOK_CONTRACT_VERSION, WEBHOOK_CONTRACT_VERSION_HEADER, WEBHOOK_DELIVERY_HEADER, WEBHOOK_EVENT_HEADER, WEBHOOK_SIGNATURE_HEADER, WEBHOOK_TIMESTAMP_HEADER, accountNextActions, accountStatuses, addPartnerTeamMemberSchema, analyticsNextActions, analyticsRoutes, analyticsStatuses, backfillRangeSchema, backfillResponseSchema, bindPartnerSiteTeamSchema, builderStateSchema, bulkRegisterPartnerSitesResponseSchema, bulkRegisterPartnerSitesSchema, canonicalWebhookEventTypeSchema, countriesResponseSchema, countryRowSchema, createPartnerTeamSchema, dataDetailOptionsSchema, dataQueryOptionsSchema, gscApiRangeSchema, gscComparisonFilterSchema, gscRowQueryMetaSchema, gscRowQueryResponseSchema, gscdumpAnalysisParamsSchema, gscdumpAnalysisPresetSchema, gscdumpAnalysisResponseSchema, gscdumpAnalysisSourcesResponseSchema, gscdumpAvailableSiteSchema, gscdumpCanonicalMismatchesResponseSchema, gscdumpDataDetailResponseSchema, gscdumpDataResponseSchema, gscdumpDataRowSchema, gscdumpDateRangeParamsSchema, gscdumpDeletePartnerUserResponseSchema, gscdumpHealthResponseSchema, gscdumpIndexPercentParamsSchema, gscdumpIndexPercentResponseSchema, gscdumpIndexingDiagnosticsResponseSchema, gscdumpIndexingResponseSchema, gscdumpIndexingUrlsResponseSchema, gscdumpKeywordSparklinesParamsSchema, gscdumpKeywordSparklinesResponseSchema, gscdumpMetaSchema, gscdumpPermissionRecoverySchema, gscdumpQueryTrendParamsSchema, gscdumpQueryTrendResponseSchema, gscdumpSiteRegistrationSchema, gscdumpSiteReportResponseSchema, gscdumpSitemapChangesResponseSchema, gscdumpSitemapsResponseSchema, gscdumpSyncJobsResponseSchema, gscdumpSyncProgressResponseSchema, gscdumpTeamMemberRowSchema, gscdumpTeamRoleSchema, gscdumpTeamRowSchema, gscdumpTopAssociationParamsSchema, gscdumpTopAssociationResponseSchema, gscdumpTotalsSchema, gscdumpUserMeResponseSchema, gscdumpUserRegistrationSchema, gscdumpUserSettingsSchema, gscdumpUserSiteSchema, gscdumpUserStatusSchema, hasOptionalIndexingScope, hasRequiredAnalyticsScope, indexingDiagnosticsSchema, indexingInspectAnyResponseSchema, indexingInspectRateLimitedSchema, indexingInspectRequestSchema, indexingInspectResponseSchema, indexingInspectResultSchema, indexingIssueSchema, indexingNextActions, indexingStatuses, indexingUrlRowSchema, indexingUrlStatusSchema, indexingUrlsParamsSchema, indexingUrlsResponseSchema, inspectionHistoryRecordSchema, inspectionHistoryResponseSchema, inspectionIndexSchema, jobFailedWebhookPayloadSchema, lifecycleErrorCodes, lifecycleErrorSchema, lifecycleProgressSchema, lifecycleWebhookEvents, parseGrantedScopes, partnerEndpointSchemas, partnerLifecycleAccountSchema, partnerLifecycleResponseSchema, partnerLifecycleSiteSchema, partnerRealtimeEventSchema, partnerRoutes, partnerWebhookDataSchema, partnerWebhookEnvelopeSchema, propertyNextActions, propertyStatuses, querySourceModes, registerPartnerSiteSchema, registerPartnerUserSchema, rollupEnvelopeSchema, searchAppearanceResponseSchema, searchAppearanceRowSchema, siteListItemSchema, sitemapChangesResponseSchema, sitemapHistoryRecordSchema, sitemapHistoryResponseSchema, sitemapIndexSchema, sitemapNextActions, sitemapStatuses, sourceInfoResponseSchema, updatePartnerUserTokensSchema, webhookEventTypeSchema, whoamiResponseSchema };
|