@gscdump/contracts 1.5.4 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/analytics.d.mts +2 -2
- package/dist/endpoints.d.mts +0 -216
- package/dist/endpoints.mjs +0 -7
- package/dist/index.d.mts +3 -3
- package/dist/index.mjs +2 -2
- package/dist/partner.d.mts +2 -2
- package/dist/routes.d.mts +0 -6
- package/dist/routes.mjs +0 -6
- package/dist/schemas.d.mts +214 -438
- package/dist/schemas.mjs +103 -53
- package/dist/types.d.mts +77 -44
- package/dist/v1/operations.d.mts +677 -42
- package/dist/v1/operations.mjs +172 -13
- package/package.json +1 -1
package/dist/v1/operations.d.mts
CHANGED
|
@@ -2217,6 +2217,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2217
2217
|
readonly summary: z.ZodObject<{
|
|
2218
2218
|
totalAdded: z.ZodNumber;
|
|
2219
2219
|
totalRemoved: z.ZodNumber;
|
|
2220
|
+
totalUpdated: z.ZodNumber;
|
|
2220
2221
|
period: z.ZodObject<{
|
|
2221
2222
|
days: z.ZodNumber;
|
|
2222
2223
|
}, z.core.$strip>;
|
|
@@ -2231,11 +2232,15 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2231
2232
|
scan_limit: "scan_limit";
|
|
2232
2233
|
added_limit: "added_limit";
|
|
2233
2234
|
removed_limit: "removed_limit";
|
|
2235
|
+
updated_limit: "updated_limit";
|
|
2236
|
+
history_unavailable: "history_unavailable";
|
|
2234
2237
|
}>>;
|
|
2238
|
+
historyAvailableFrom: z.ZodOptional<z.ZodNumber>;
|
|
2235
2239
|
limits: z.ZodObject<{
|
|
2236
2240
|
scannedUrls: z.ZodNumber;
|
|
2237
2241
|
added: z.ZodNumber;
|
|
2238
2242
|
removed: z.ZodNumber;
|
|
2243
|
+
updated: z.ZodNumber;
|
|
2239
2244
|
}, z.core.$strict>;
|
|
2240
2245
|
}, z.core.$strict>], "_tag">;
|
|
2241
2246
|
readonly added: z.ZodArray<z.ZodObject<{
|
|
@@ -2248,6 +2253,30 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2248
2253
|
sitemap: z.ZodString;
|
|
2249
2254
|
removedAt: z.ZodNumber;
|
|
2250
2255
|
}, z.core.$loose>>;
|
|
2256
|
+
readonly updated: z.ZodArray<z.ZodObject<{
|
|
2257
|
+
url: z.ZodString;
|
|
2258
|
+
sitemap: z.ZodString;
|
|
2259
|
+
previousLastmod: z.ZodNullable<z.ZodString>;
|
|
2260
|
+
lastmod: z.ZodNullable<z.ZodString>;
|
|
2261
|
+
observedAt: z.ZodNumber;
|
|
2262
|
+
}, z.core.$loose>>;
|
|
2263
|
+
readonly generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
2264
|
+
id: z.ZodString;
|
|
2265
|
+
observedAt: z.ZodNumber;
|
|
2266
|
+
publishedAt: z.ZodNumber;
|
|
2267
|
+
completeness: z.ZodObject<{
|
|
2268
|
+
_tag: z.ZodLiteral<"complete">;
|
|
2269
|
+
}, z.core.$strict>;
|
|
2270
|
+
membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
|
|
2271
|
+
legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2272
|
+
_tag: z.ZodLiteral<"none">;
|
|
2273
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2274
|
+
_tag: z.ZodLiteral<"metadata_only">;
|
|
2275
|
+
importedAt: z.ZodNumber;
|
|
2276
|
+
recordCount: z.ZodNumber;
|
|
2277
|
+
source: z.ZodLiteral<"gsc_sitemaps">;
|
|
2278
|
+
}, z.core.$strict>], "_tag">;
|
|
2279
|
+
}, z.core.$strict>>>;
|
|
2251
2280
|
}, z.core.$strip>;
|
|
2252
2281
|
meta: z.ZodObject<{
|
|
2253
2282
|
readonly requestId: z.ZodString;
|
|
@@ -2259,6 +2288,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2259
2288
|
readonly summary: z.ZodObject<{
|
|
2260
2289
|
totalAdded: z.ZodNumber;
|
|
2261
2290
|
totalRemoved: z.ZodNumber;
|
|
2291
|
+
totalUpdated: z.ZodNumber;
|
|
2262
2292
|
period: z.ZodObject<{
|
|
2263
2293
|
days: z.ZodNumber;
|
|
2264
2294
|
}, z.core.$strip>;
|
|
@@ -2271,6 +2301,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2271
2301
|
scannedUrls: z.ZodNumber;
|
|
2272
2302
|
added: z.ZodNumber;
|
|
2273
2303
|
removed: z.ZodNumber;
|
|
2304
|
+
updated: z.ZodNumber;
|
|
2274
2305
|
}, z.core.$loose>;
|
|
2275
2306
|
_tag: z.ZodLiteral<"truncated">;
|
|
2276
2307
|
scannedUrls: z.ZodNumber;
|
|
@@ -2278,7 +2309,10 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2278
2309
|
scan_limit: "scan_limit";
|
|
2279
2310
|
added_limit: "added_limit";
|
|
2280
2311
|
removed_limit: "removed_limit";
|
|
2312
|
+
updated_limit: "updated_limit";
|
|
2313
|
+
history_unavailable: "history_unavailable";
|
|
2281
2314
|
}>>;
|
|
2315
|
+
historyAvailableFrom: z.ZodOptional<z.ZodNumber>;
|
|
2282
2316
|
}, z.core.$loose>], "_tag">;
|
|
2283
2317
|
readonly added: z.ZodArray<z.ZodObject<{
|
|
2284
2318
|
url: z.ZodString;
|
|
@@ -2290,6 +2324,30 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2290
2324
|
sitemap: z.ZodString;
|
|
2291
2325
|
removedAt: z.ZodNumber;
|
|
2292
2326
|
}, z.core.$loose>>;
|
|
2327
|
+
readonly updated: z.ZodArray<z.ZodObject<{
|
|
2328
|
+
url: z.ZodString;
|
|
2329
|
+
sitemap: z.ZodString;
|
|
2330
|
+
previousLastmod: z.ZodNullable<z.ZodString>;
|
|
2331
|
+
lastmod: z.ZodNullable<z.ZodString>;
|
|
2332
|
+
observedAt: z.ZodNumber;
|
|
2333
|
+
}, z.core.$loose>>;
|
|
2334
|
+
readonly generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
2335
|
+
id: z.ZodString;
|
|
2336
|
+
observedAt: z.ZodNumber;
|
|
2337
|
+
publishedAt: z.ZodNumber;
|
|
2338
|
+
completeness: z.ZodObject<{
|
|
2339
|
+
_tag: z.ZodLiteral<"complete">;
|
|
2340
|
+
}, z.core.$strict>;
|
|
2341
|
+
membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
|
|
2342
|
+
legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2343
|
+
_tag: z.ZodLiteral<"none">;
|
|
2344
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2345
|
+
_tag: z.ZodLiteral<"metadata_only">;
|
|
2346
|
+
importedAt: z.ZodNumber;
|
|
2347
|
+
recordCount: z.ZodNumber;
|
|
2348
|
+
source: z.ZodLiteral<"gsc_sitemaps">;
|
|
2349
|
+
}, z.core.$strict>], "_tag">;
|
|
2350
|
+
}, z.core.$strict>>>;
|
|
2293
2351
|
}, z.core.$strip>;
|
|
2294
2352
|
meta: z.ZodObject<{
|
|
2295
2353
|
readonly requestId: z.ZodString;
|
|
@@ -2333,6 +2391,23 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2333
2391
|
duplicateCount: z.ZodNumber;
|
|
2334
2392
|
}, z.core.$strip>;
|
|
2335
2393
|
}, z.core.$loose>;
|
|
2394
|
+
generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
2395
|
+
id: z.ZodString;
|
|
2396
|
+
observedAt: z.ZodNumber;
|
|
2397
|
+
publishedAt: z.ZodNumber;
|
|
2398
|
+
completeness: z.ZodObject<{
|
|
2399
|
+
_tag: z.ZodLiteral<"complete">;
|
|
2400
|
+
}, z.core.$strict>;
|
|
2401
|
+
membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
|
|
2402
|
+
legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2403
|
+
_tag: z.ZodLiteral<"none">;
|
|
2404
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2405
|
+
_tag: z.ZodLiteral<"metadata_only">;
|
|
2406
|
+
importedAt: z.ZodNumber;
|
|
2407
|
+
recordCount: z.ZodNumber;
|
|
2408
|
+
source: z.ZodLiteral<"gsc_sitemaps">;
|
|
2409
|
+
}, z.core.$strict>], "_tag">;
|
|
2410
|
+
}, z.core.$strict>>>;
|
|
2336
2411
|
}, z.core.$strip>;
|
|
2337
2412
|
meta: z.ZodObject<{
|
|
2338
2413
|
readonly requestId: z.ZodString;
|
|
@@ -2375,6 +2450,23 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2375
2450
|
duplicateCount: z.ZodNumber;
|
|
2376
2451
|
}, z.core.$strip>;
|
|
2377
2452
|
}, z.core.$loose>;
|
|
2453
|
+
generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
2454
|
+
id: z.ZodString;
|
|
2455
|
+
observedAt: z.ZodNumber;
|
|
2456
|
+
publishedAt: z.ZodNumber;
|
|
2457
|
+
completeness: z.ZodObject<{
|
|
2458
|
+
_tag: z.ZodLiteral<"complete">;
|
|
2459
|
+
}, z.core.$strict>;
|
|
2460
|
+
membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
|
|
2461
|
+
legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2462
|
+
_tag: z.ZodLiteral<"none">;
|
|
2463
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2464
|
+
_tag: z.ZodLiteral<"metadata_only">;
|
|
2465
|
+
importedAt: z.ZodNumber;
|
|
2466
|
+
recordCount: z.ZodNumber;
|
|
2467
|
+
source: z.ZodLiteral<"gsc_sitemaps">;
|
|
2468
|
+
}, z.core.$strict>], "_tag">;
|
|
2469
|
+
}, z.core.$strict>>>;
|
|
2378
2470
|
}, z.core.$strip>;
|
|
2379
2471
|
meta: z.ZodObject<{
|
|
2380
2472
|
readonly requestId: z.ZodString;
|
|
@@ -5291,6 +5383,23 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5291
5383
|
duplicateCount: z.ZodNumber;
|
|
5292
5384
|
}, z.core.$strip>;
|
|
5293
5385
|
}, z.core.$loose>;
|
|
5386
|
+
generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
5387
|
+
id: z.ZodString;
|
|
5388
|
+
observedAt: z.ZodNumber;
|
|
5389
|
+
publishedAt: z.ZodNumber;
|
|
5390
|
+
completeness: z.ZodObject<{
|
|
5391
|
+
_tag: z.ZodLiteral<"complete">;
|
|
5392
|
+
}, z.core.$strict>;
|
|
5393
|
+
membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
|
|
5394
|
+
legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5395
|
+
_tag: z.ZodLiteral<"none">;
|
|
5396
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5397
|
+
_tag: z.ZodLiteral<"metadata_only">;
|
|
5398
|
+
importedAt: z.ZodNumber;
|
|
5399
|
+
recordCount: z.ZodNumber;
|
|
5400
|
+
source: z.ZodLiteral<"gsc_sitemaps">;
|
|
5401
|
+
}, z.core.$strict>], "_tag">;
|
|
5402
|
+
}, z.core.$strict>>>;
|
|
5294
5403
|
}, z.core.$strip>;
|
|
5295
5404
|
meta: z.ZodObject<{
|
|
5296
5405
|
readonly requestId: z.ZodString;
|
|
@@ -5333,6 +5442,23 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5333
5442
|
duplicateCount: z.ZodNumber;
|
|
5334
5443
|
}, z.core.$strip>;
|
|
5335
5444
|
}, z.core.$loose>;
|
|
5445
|
+
generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
5446
|
+
id: z.ZodString;
|
|
5447
|
+
observedAt: z.ZodNumber;
|
|
5448
|
+
publishedAt: z.ZodNumber;
|
|
5449
|
+
completeness: z.ZodObject<{
|
|
5450
|
+
_tag: z.ZodLiteral<"complete">;
|
|
5451
|
+
}, z.core.$strict>;
|
|
5452
|
+
membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
|
|
5453
|
+
legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5454
|
+
_tag: z.ZodLiteral<"none">;
|
|
5455
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5456
|
+
_tag: z.ZodLiteral<"metadata_only">;
|
|
5457
|
+
importedAt: z.ZodNumber;
|
|
5458
|
+
recordCount: z.ZodNumber;
|
|
5459
|
+
source: z.ZodLiteral<"gsc_sitemaps">;
|
|
5460
|
+
}, z.core.$strict>], "_tag">;
|
|
5461
|
+
}, z.core.$strict>>>;
|
|
5336
5462
|
}, z.core.$strip>;
|
|
5337
5463
|
meta: z.ZodObject<{
|
|
5338
5464
|
readonly requestId: z.ZodString;
|
|
@@ -5400,6 +5526,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5400
5526
|
readonly sitemaps: readonly [];
|
|
5401
5527
|
readonly history: readonly [];
|
|
5402
5528
|
readonly perSitemapHistory: {};
|
|
5529
|
+
readonly generation: null;
|
|
5403
5530
|
readonly meta: {
|
|
5404
5531
|
readonly siteUrl: "sc-domain:example.com";
|
|
5405
5532
|
readonly gscPropertyUrl: "sc-domain:example.com";
|
|
@@ -5460,6 +5587,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5460
5587
|
readonly summary: z.ZodObject<{
|
|
5461
5588
|
totalAdded: z.ZodNumber;
|
|
5462
5589
|
totalRemoved: z.ZodNumber;
|
|
5590
|
+
totalUpdated: z.ZodNumber;
|
|
5463
5591
|
period: z.ZodObject<{
|
|
5464
5592
|
days: z.ZodNumber;
|
|
5465
5593
|
}, z.core.$strip>;
|
|
@@ -5474,11 +5602,15 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5474
5602
|
scan_limit: "scan_limit";
|
|
5475
5603
|
added_limit: "added_limit";
|
|
5476
5604
|
removed_limit: "removed_limit";
|
|
5605
|
+
updated_limit: "updated_limit";
|
|
5606
|
+
history_unavailable: "history_unavailable";
|
|
5477
5607
|
}>>;
|
|
5608
|
+
historyAvailableFrom: z.ZodOptional<z.ZodNumber>;
|
|
5478
5609
|
limits: z.ZodObject<{
|
|
5479
5610
|
scannedUrls: z.ZodNumber;
|
|
5480
5611
|
added: z.ZodNumber;
|
|
5481
5612
|
removed: z.ZodNumber;
|
|
5613
|
+
updated: z.ZodNumber;
|
|
5482
5614
|
}, z.core.$strict>;
|
|
5483
5615
|
}, z.core.$strict>], "_tag">;
|
|
5484
5616
|
readonly added: z.ZodArray<z.ZodObject<{
|
|
@@ -5491,6 +5623,30 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5491
5623
|
sitemap: z.ZodString;
|
|
5492
5624
|
removedAt: z.ZodNumber;
|
|
5493
5625
|
}, z.core.$loose>>;
|
|
5626
|
+
readonly updated: z.ZodArray<z.ZodObject<{
|
|
5627
|
+
url: z.ZodString;
|
|
5628
|
+
sitemap: z.ZodString;
|
|
5629
|
+
previousLastmod: z.ZodNullable<z.ZodString>;
|
|
5630
|
+
lastmod: z.ZodNullable<z.ZodString>;
|
|
5631
|
+
observedAt: z.ZodNumber;
|
|
5632
|
+
}, z.core.$loose>>;
|
|
5633
|
+
readonly generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
5634
|
+
id: z.ZodString;
|
|
5635
|
+
observedAt: z.ZodNumber;
|
|
5636
|
+
publishedAt: z.ZodNumber;
|
|
5637
|
+
completeness: z.ZodObject<{
|
|
5638
|
+
_tag: z.ZodLiteral<"complete">;
|
|
5639
|
+
}, z.core.$strict>;
|
|
5640
|
+
membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
|
|
5641
|
+
legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5642
|
+
_tag: z.ZodLiteral<"none">;
|
|
5643
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5644
|
+
_tag: z.ZodLiteral<"metadata_only">;
|
|
5645
|
+
importedAt: z.ZodNumber;
|
|
5646
|
+
recordCount: z.ZodNumber;
|
|
5647
|
+
source: z.ZodLiteral<"gsc_sitemaps">;
|
|
5648
|
+
}, z.core.$strict>], "_tag">;
|
|
5649
|
+
}, z.core.$strict>>>;
|
|
5494
5650
|
}, z.core.$strip>;
|
|
5495
5651
|
meta: z.ZodObject<{
|
|
5496
5652
|
readonly requestId: z.ZodString;
|
|
@@ -5502,6 +5658,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5502
5658
|
readonly summary: z.ZodObject<{
|
|
5503
5659
|
totalAdded: z.ZodNumber;
|
|
5504
5660
|
totalRemoved: z.ZodNumber;
|
|
5661
|
+
totalUpdated: z.ZodNumber;
|
|
5505
5662
|
period: z.ZodObject<{
|
|
5506
5663
|
days: z.ZodNumber;
|
|
5507
5664
|
}, z.core.$strip>;
|
|
@@ -5514,6 +5671,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5514
5671
|
scannedUrls: z.ZodNumber;
|
|
5515
5672
|
added: z.ZodNumber;
|
|
5516
5673
|
removed: z.ZodNumber;
|
|
5674
|
+
updated: z.ZodNumber;
|
|
5517
5675
|
}, z.core.$loose>;
|
|
5518
5676
|
_tag: z.ZodLiteral<"truncated">;
|
|
5519
5677
|
scannedUrls: z.ZodNumber;
|
|
@@ -5521,7 +5679,10 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5521
5679
|
scan_limit: "scan_limit";
|
|
5522
5680
|
added_limit: "added_limit";
|
|
5523
5681
|
removed_limit: "removed_limit";
|
|
5682
|
+
updated_limit: "updated_limit";
|
|
5683
|
+
history_unavailable: "history_unavailable";
|
|
5524
5684
|
}>>;
|
|
5685
|
+
historyAvailableFrom: z.ZodOptional<z.ZodNumber>;
|
|
5525
5686
|
}, z.core.$loose>], "_tag">;
|
|
5526
5687
|
readonly added: z.ZodArray<z.ZodObject<{
|
|
5527
5688
|
url: z.ZodString;
|
|
@@ -5533,6 +5694,30 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5533
5694
|
sitemap: z.ZodString;
|
|
5534
5695
|
removedAt: z.ZodNumber;
|
|
5535
5696
|
}, z.core.$loose>>;
|
|
5697
|
+
readonly updated: z.ZodArray<z.ZodObject<{
|
|
5698
|
+
url: z.ZodString;
|
|
5699
|
+
sitemap: z.ZodString;
|
|
5700
|
+
previousLastmod: z.ZodNullable<z.ZodString>;
|
|
5701
|
+
lastmod: z.ZodNullable<z.ZodString>;
|
|
5702
|
+
observedAt: z.ZodNumber;
|
|
5703
|
+
}, z.core.$loose>>;
|
|
5704
|
+
readonly generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
|
|
5705
|
+
id: z.ZodString;
|
|
5706
|
+
observedAt: z.ZodNumber;
|
|
5707
|
+
publishedAt: z.ZodNumber;
|
|
5708
|
+
completeness: z.ZodObject<{
|
|
5709
|
+
_tag: z.ZodLiteral<"complete">;
|
|
5710
|
+
}, z.core.$strict>;
|
|
5711
|
+
membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
|
|
5712
|
+
legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5713
|
+
_tag: z.ZodLiteral<"none">;
|
|
5714
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
5715
|
+
_tag: z.ZodLiteral<"metadata_only">;
|
|
5716
|
+
importedAt: z.ZodNumber;
|
|
5717
|
+
recordCount: z.ZodNumber;
|
|
5718
|
+
source: z.ZodLiteral<"gsc_sitemaps">;
|
|
5719
|
+
}, z.core.$strict>], "_tag">;
|
|
5720
|
+
}, z.core.$strict>>>;
|
|
5536
5721
|
}, z.core.$strip>;
|
|
5537
5722
|
meta: z.ZodObject<{
|
|
5538
5723
|
readonly requestId: z.ZodString;
|
|
@@ -5602,9 +5787,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5602
5787
|
readonly data: {
|
|
5603
5788
|
readonly added: readonly [];
|
|
5604
5789
|
readonly removed: readonly [];
|
|
5790
|
+
readonly updated: readonly [];
|
|
5791
|
+
readonly generation: null;
|
|
5605
5792
|
readonly summary: {
|
|
5606
5793
|
readonly totalAdded: 0;
|
|
5607
5794
|
readonly totalRemoved: 0;
|
|
5795
|
+
readonly totalUpdated: 0;
|
|
5608
5796
|
readonly period: {
|
|
5609
5797
|
readonly days: 28;
|
|
5610
5798
|
};
|
|
@@ -8816,34 +9004,56 @@ declare function createGscdumpV1Protocol(): {
|
|
|
8816
9004
|
}, z.core.$strict>;
|
|
8817
9005
|
readonly body: z.ZodObject<{
|
|
8818
9006
|
urls: z.ZodArray<z.ZodString>;
|
|
8819
|
-
|
|
9007
|
+
generationId: z.ZodOptional<z.ZodString>;
|
|
8820
9008
|
}, z.core.$strict>;
|
|
8821
9009
|
};
|
|
8822
9010
|
readonly responses: {
|
|
8823
9011
|
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
8824
9012
|
data: z.ZodObject<{
|
|
8825
|
-
|
|
9013
|
+
generation: z.ZodNullable<z.ZodObject<{
|
|
9014
|
+
id: z.ZodString;
|
|
9015
|
+
observedAt: z.ZodNumber;
|
|
9016
|
+
publishedAt: z.ZodNumber;
|
|
9017
|
+
completeness: z.ZodObject<{
|
|
9018
|
+
_tag: z.ZodLiteral<"complete">;
|
|
9019
|
+
}, z.core.$strict>;
|
|
9020
|
+
membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
|
|
9021
|
+
legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9022
|
+
_tag: z.ZodLiteral<"none">;
|
|
9023
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9024
|
+
_tag: z.ZodLiteral<"metadata_only">;
|
|
9025
|
+
importedAt: z.ZodNumber;
|
|
9026
|
+
recordCount: z.ZodNumber;
|
|
9027
|
+
source: z.ZodLiteral<"gsc_sitemaps">;
|
|
9028
|
+
}, z.core.$strict>], "_tag">;
|
|
9029
|
+
}, z.core.$strict>>;
|
|
9030
|
+
evidence: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9031
|
+
_tag: z.ZodLiteral<"present">;
|
|
8826
9032
|
url: z.ZodString;
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
|
|
8830
|
-
lastSeenAt: z.
|
|
8831
|
-
|
|
8832
|
-
|
|
8833
|
-
|
|
9033
|
+
feedpath: z.ZodString;
|
|
9034
|
+
lastmod: z.ZodNullable<z.ZodString>;
|
|
9035
|
+
firstSeenAt: z.ZodNumber;
|
|
9036
|
+
lastSeenAt: z.ZodNumber;
|
|
9037
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9038
|
+
_tag: z.ZodLiteral<"absent">;
|
|
9039
|
+
url: z.ZodString;
|
|
9040
|
+
observedAt: z.ZodNumber;
|
|
9041
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9042
|
+
_tag: z.ZodLiteral<"unknown">;
|
|
9043
|
+
url: z.ZodString;
|
|
9044
|
+
reason: z.ZodEnum<{
|
|
9045
|
+
no_generation: "no_generation";
|
|
9046
|
+
generation_not_found: "generation_not_found";
|
|
9047
|
+
generation_incomplete: "generation_incomplete";
|
|
9048
|
+
history_pruned: "history_pruned";
|
|
9049
|
+
invalid_url: "invalid_url";
|
|
9050
|
+
}>;
|
|
9051
|
+
}, z.core.$strict>], "_tag">>;
|
|
8834
9052
|
meta: z.ZodObject<{
|
|
8835
|
-
available: z.ZodBoolean;
|
|
8836
|
-
reason: z.ZodNullable<z.ZodEnum<{
|
|
8837
|
-
empty: "empty";
|
|
8838
|
-
endpoint_unavailable: "endpoint_unavailable";
|
|
8839
|
-
site_url_cap_exceeded: "site_url_cap_exceeded";
|
|
8840
|
-
stale_sitemaps: "stale_sitemaps";
|
|
8841
|
-
}>>;
|
|
8842
9053
|
requested: z.ZodNumber;
|
|
8843
9054
|
checked: z.ZodNumber;
|
|
8844
9055
|
matched: z.ZodNumber;
|
|
8845
|
-
|
|
8846
|
-
}, z.core.$loose>;
|
|
9056
|
+
}, z.core.$strict>;
|
|
8847
9057
|
}, z.core.$strip>;
|
|
8848
9058
|
meta: z.ZodObject<{
|
|
8849
9059
|
readonly requestId: z.ZodString;
|
|
@@ -8852,28 +9062,50 @@ declare function createGscdumpV1Protocol(): {
|
|
|
8852
9062
|
}, z.core.$strip>;
|
|
8853
9063
|
}, z.core.$strip>, z.ZodObject<{
|
|
8854
9064
|
data: z.ZodObject<{
|
|
8855
|
-
|
|
9065
|
+
generation: z.ZodNullable<z.ZodObject<{
|
|
9066
|
+
id: z.ZodString;
|
|
9067
|
+
observedAt: z.ZodNumber;
|
|
9068
|
+
publishedAt: z.ZodNumber;
|
|
9069
|
+
completeness: z.ZodObject<{
|
|
9070
|
+
_tag: z.ZodLiteral<"complete">;
|
|
9071
|
+
}, z.core.$strict>;
|
|
9072
|
+
membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
|
|
9073
|
+
legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9074
|
+
_tag: z.ZodLiteral<"none">;
|
|
9075
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9076
|
+
_tag: z.ZodLiteral<"metadata_only">;
|
|
9077
|
+
importedAt: z.ZodNumber;
|
|
9078
|
+
recordCount: z.ZodNumber;
|
|
9079
|
+
source: z.ZodLiteral<"gsc_sitemaps">;
|
|
9080
|
+
}, z.core.$strict>], "_tag">;
|
|
9081
|
+
}, z.core.$strict>>;
|
|
9082
|
+
evidence: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9083
|
+
_tag: z.ZodLiteral<"present">;
|
|
8856
9084
|
url: z.ZodString;
|
|
8857
|
-
|
|
8858
|
-
|
|
8859
|
-
|
|
8860
|
-
lastSeenAt: z.
|
|
8861
|
-
|
|
8862
|
-
|
|
8863
|
-
|
|
9085
|
+
feedpath: z.ZodString;
|
|
9086
|
+
lastmod: z.ZodNullable<z.ZodString>;
|
|
9087
|
+
firstSeenAt: z.ZodNumber;
|
|
9088
|
+
lastSeenAt: z.ZodNumber;
|
|
9089
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9090
|
+
_tag: z.ZodLiteral<"absent">;
|
|
9091
|
+
url: z.ZodString;
|
|
9092
|
+
observedAt: z.ZodNumber;
|
|
9093
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9094
|
+
_tag: z.ZodLiteral<"unknown">;
|
|
9095
|
+
url: z.ZodString;
|
|
9096
|
+
reason: z.ZodEnum<{
|
|
9097
|
+
no_generation: "no_generation";
|
|
9098
|
+
generation_not_found: "generation_not_found";
|
|
9099
|
+
generation_incomplete: "generation_incomplete";
|
|
9100
|
+
history_pruned: "history_pruned";
|
|
9101
|
+
invalid_url: "invalid_url";
|
|
9102
|
+
}>;
|
|
9103
|
+
}, z.core.$strict>], "_tag">>;
|
|
8864
9104
|
meta: z.ZodObject<{
|
|
8865
|
-
available: z.ZodBoolean;
|
|
8866
|
-
reason: z.ZodNullable<z.ZodEnum<{
|
|
8867
|
-
empty: "empty";
|
|
8868
|
-
endpoint_unavailable: "endpoint_unavailable";
|
|
8869
|
-
site_url_cap_exceeded: "site_url_cap_exceeded";
|
|
8870
|
-
stale_sitemaps: "stale_sitemaps";
|
|
8871
|
-
}>>;
|
|
8872
9105
|
requested: z.ZodNumber;
|
|
8873
9106
|
checked: z.ZodNumber;
|
|
8874
9107
|
matched: z.ZodNumber;
|
|
8875
|
-
|
|
8876
|
-
}, z.core.$loose>;
|
|
9108
|
+
}, z.core.$strict>;
|
|
8877
9109
|
}, z.core.$strip>;
|
|
8878
9110
|
meta: z.ZodObject<{
|
|
8879
9111
|
readonly requestId: z.ZodString;
|
|
@@ -8928,7 +9160,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
8928
9160
|
};
|
|
8929
9161
|
readonly docs: {
|
|
8930
9162
|
readonly summary: "Query sitemap membership";
|
|
8931
|
-
readonly description: "
|
|
9163
|
+
readonly description: "Returns generation-pinned present, absent, or unknown evidence for each exact requested URL.";
|
|
8932
9164
|
readonly tags: readonly ["Sitemaps"];
|
|
8933
9165
|
readonly examples: {
|
|
8934
9166
|
readonly request: {
|
|
@@ -8937,19 +9169,422 @@ declare function createGscdumpV1Protocol(): {
|
|
|
8937
9169
|
};
|
|
8938
9170
|
readonly body: {
|
|
8939
9171
|
readonly urls: readonly ["https://example.com/"];
|
|
8940
|
-
readonly maxAgeDays: 30;
|
|
8941
9172
|
};
|
|
8942
9173
|
};
|
|
8943
9174
|
readonly response: {
|
|
8944
9175
|
readonly data: {
|
|
8945
|
-
readonly
|
|
9176
|
+
readonly generation: null;
|
|
9177
|
+
readonly evidence: readonly [{
|
|
9178
|
+
readonly _tag: "unknown";
|
|
9179
|
+
readonly url: "https://example.com/";
|
|
9180
|
+
readonly reason: "no_generation";
|
|
9181
|
+
}];
|
|
8946
9182
|
readonly meta: {
|
|
8947
|
-
readonly available: true;
|
|
8948
|
-
readonly reason: null;
|
|
8949
9183
|
readonly requested: 1;
|
|
8950
|
-
readonly checked:
|
|
9184
|
+
readonly checked: 0;
|
|
8951
9185
|
readonly matched: 0;
|
|
8952
|
-
|
|
9186
|
+
};
|
|
9187
|
+
};
|
|
9188
|
+
readonly meta: {
|
|
9189
|
+
readonly requestId: "req_01";
|
|
9190
|
+
readonly surface: "partner";
|
|
9191
|
+
readonly version: "1.0";
|
|
9192
|
+
};
|
|
9193
|
+
};
|
|
9194
|
+
};
|
|
9195
|
+
};
|
|
9196
|
+
};
|
|
9197
|
+
readonly listSitemapUrls: {
|
|
9198
|
+
readonly id: "partner.sites.sitemaps.urls.get";
|
|
9199
|
+
readonly method: "GET";
|
|
9200
|
+
readonly path: "/sites/{siteId}/sitemaps/urls";
|
|
9201
|
+
readonly visibility: "public";
|
|
9202
|
+
readonly semantics: {
|
|
9203
|
+
readonly kind: "query";
|
|
9204
|
+
readonly sideEffects: "none";
|
|
9205
|
+
readonly idempotent: true;
|
|
9206
|
+
readonly retry: "idempotent";
|
|
9207
|
+
readonly readConsistency: "primary";
|
|
9208
|
+
};
|
|
9209
|
+
readonly auth: {
|
|
9210
|
+
readonly credentials: readonly ["user_key", "partner_key"];
|
|
9211
|
+
readonly scopes: readonly ["sitemaps:read"];
|
|
9212
|
+
readonly ownership: readonly [{
|
|
9213
|
+
readonly credential: "user_key";
|
|
9214
|
+
readonly rule: "authorized_site";
|
|
9215
|
+
}, {
|
|
9216
|
+
readonly credential: "partner_key";
|
|
9217
|
+
readonly rule: "authorized_site";
|
|
9218
|
+
}];
|
|
9219
|
+
};
|
|
9220
|
+
readonly request: {
|
|
9221
|
+
readonly params: z.ZodObject<{
|
|
9222
|
+
siteId: z.ZodString;
|
|
9223
|
+
}, z.core.$strict>;
|
|
9224
|
+
readonly query: z.ZodObject<{
|
|
9225
|
+
generationId: z.ZodOptional<z.ZodString>;
|
|
9226
|
+
feedpath: z.ZodOptional<z.ZodString>;
|
|
9227
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
9228
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
9229
|
+
}, z.core.$strict>;
|
|
9230
|
+
readonly headers: z.ZodObject<{
|
|
9231
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
9232
|
+
}, z.core.$strict>;
|
|
9233
|
+
readonly body: null;
|
|
9234
|
+
};
|
|
9235
|
+
readonly responses: {
|
|
9236
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
9237
|
+
data: z.ZodObject<{
|
|
9238
|
+
generation: z.ZodObject<{
|
|
9239
|
+
id: z.ZodString;
|
|
9240
|
+
observedAt: z.ZodNumber;
|
|
9241
|
+
publishedAt: z.ZodNumber;
|
|
9242
|
+
completeness: z.ZodObject<{
|
|
9243
|
+
_tag: z.ZodLiteral<"complete">;
|
|
9244
|
+
}, z.core.$strict>;
|
|
9245
|
+
membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
|
|
9246
|
+
legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9247
|
+
_tag: z.ZodLiteral<"none">;
|
|
9248
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9249
|
+
_tag: z.ZodLiteral<"metadata_only">;
|
|
9250
|
+
importedAt: z.ZodNumber;
|
|
9251
|
+
recordCount: z.ZodNumber;
|
|
9252
|
+
source: z.ZodLiteral<"gsc_sitemaps">;
|
|
9253
|
+
}, z.core.$strict>], "_tag">;
|
|
9254
|
+
}, z.core.$strict>;
|
|
9255
|
+
items: z.ZodArray<z.ZodObject<{
|
|
9256
|
+
url: z.ZodString;
|
|
9257
|
+
feedpath: z.ZodString;
|
|
9258
|
+
lastmod: z.ZodNullable<z.ZodString>;
|
|
9259
|
+
firstSeenAt: z.ZodNumber;
|
|
9260
|
+
lastSeenAt: z.ZodNumber;
|
|
9261
|
+
}, z.core.$strict>>;
|
|
9262
|
+
page: z.ZodObject<{
|
|
9263
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
9264
|
+
limit: z.ZodNumber;
|
|
9265
|
+
}, z.core.$strict>;
|
|
9266
|
+
}, z.core.$strict>;
|
|
9267
|
+
meta: z.ZodObject<{
|
|
9268
|
+
readonly requestId: z.ZodString;
|
|
9269
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
9270
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
9271
|
+
}, z.core.$strip>;
|
|
9272
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9273
|
+
data: z.ZodObject<{
|
|
9274
|
+
generation: z.ZodObject<{
|
|
9275
|
+
id: z.ZodString;
|
|
9276
|
+
observedAt: z.ZodNumber;
|
|
9277
|
+
publishedAt: z.ZodNumber;
|
|
9278
|
+
completeness: z.ZodObject<{
|
|
9279
|
+
_tag: z.ZodLiteral<"complete">;
|
|
9280
|
+
}, z.core.$strict>;
|
|
9281
|
+
membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
|
|
9282
|
+
legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9283
|
+
_tag: z.ZodLiteral<"none">;
|
|
9284
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9285
|
+
_tag: z.ZodLiteral<"metadata_only">;
|
|
9286
|
+
importedAt: z.ZodNumber;
|
|
9287
|
+
recordCount: z.ZodNumber;
|
|
9288
|
+
source: z.ZodLiteral<"gsc_sitemaps">;
|
|
9289
|
+
}, z.core.$strict>], "_tag">;
|
|
9290
|
+
}, z.core.$strict>;
|
|
9291
|
+
items: z.ZodArray<z.ZodObject<{
|
|
9292
|
+
url: z.ZodString;
|
|
9293
|
+
feedpath: z.ZodString;
|
|
9294
|
+
lastmod: z.ZodNullable<z.ZodString>;
|
|
9295
|
+
firstSeenAt: z.ZodNumber;
|
|
9296
|
+
lastSeenAt: z.ZodNumber;
|
|
9297
|
+
}, z.core.$strict>>;
|
|
9298
|
+
page: z.ZodObject<{
|
|
9299
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
9300
|
+
limit: z.ZodNumber;
|
|
9301
|
+
}, z.core.$strict>;
|
|
9302
|
+
}, z.core.$strict>;
|
|
9303
|
+
meta: z.ZodObject<{
|
|
9304
|
+
readonly requestId: z.ZodString;
|
|
9305
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
9306
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
9307
|
+
}, z.core.$strip>;
|
|
9308
|
+
}, z.core.$strip>>;
|
|
9309
|
+
};
|
|
9310
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
|
|
9311
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
9312
|
+
readonly error: z.ZodObject<{
|
|
9313
|
+
code: z.ZodEnum<{
|
|
9314
|
+
internal_error: "internal_error";
|
|
9315
|
+
invalid_request: "invalid_request";
|
|
9316
|
+
unauthorized: "unauthorized";
|
|
9317
|
+
forbidden: "forbidden";
|
|
9318
|
+
site_not_found: "site_not_found";
|
|
9319
|
+
rate_limited: "rate_limited";
|
|
9320
|
+
contract_violation: "contract_violation";
|
|
9321
|
+
}>;
|
|
9322
|
+
message: z.ZodString;
|
|
9323
|
+
requestId: z.ZodString;
|
|
9324
|
+
retryable: z.ZodBoolean;
|
|
9325
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
9326
|
+
}, z.core.$strict>;
|
|
9327
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9328
|
+
readonly error: z.ZodObject<{
|
|
9329
|
+
code: z.ZodEnum<{
|
|
9330
|
+
internal_error: "internal_error";
|
|
9331
|
+
invalid_request: "invalid_request";
|
|
9332
|
+
unauthorized: "unauthorized";
|
|
9333
|
+
forbidden: "forbidden";
|
|
9334
|
+
site_not_found: "site_not_found";
|
|
9335
|
+
rate_limited: "rate_limited";
|
|
9336
|
+
contract_violation: "contract_violation";
|
|
9337
|
+
}>;
|
|
9338
|
+
message: z.ZodString;
|
|
9339
|
+
requestId: z.ZodString;
|
|
9340
|
+
retryable: z.ZodBoolean;
|
|
9341
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
9342
|
+
}, z.core.$loose>;
|
|
9343
|
+
}, z.core.$strip>>;
|
|
9344
|
+
readonly resources: {
|
|
9345
|
+
readonly reads: readonly [{
|
|
9346
|
+
readonly type: "site.sitemaps";
|
|
9347
|
+
readonly idFrom: "params.siteId";
|
|
9348
|
+
}];
|
|
9349
|
+
readonly changes: readonly [];
|
|
9350
|
+
};
|
|
9351
|
+
readonly lifecycle: {
|
|
9352
|
+
readonly introduced: "2.0.0";
|
|
9353
|
+
};
|
|
9354
|
+
readonly docs: {
|
|
9355
|
+
readonly summary: "List sitemap URLs";
|
|
9356
|
+
readonly description: "Returns an exact generation-pinned cursor page of sitemap membership and lastmod evidence.";
|
|
9357
|
+
readonly tags: readonly ["Sitemaps"];
|
|
9358
|
+
readonly examples: {
|
|
9359
|
+
readonly request: {
|
|
9360
|
+
readonly params: {
|
|
9361
|
+
readonly siteId: "s_01";
|
|
9362
|
+
};
|
|
9363
|
+
readonly query: {
|
|
9364
|
+
readonly limit: 500;
|
|
9365
|
+
};
|
|
9366
|
+
};
|
|
9367
|
+
readonly response: {
|
|
9368
|
+
readonly data: {
|
|
9369
|
+
readonly generation: {
|
|
9370
|
+
readonly id: "site-01JZ";
|
|
9371
|
+
readonly observedAt: 1753746000000;
|
|
9372
|
+
readonly publishedAt: 1753746000100;
|
|
9373
|
+
readonly completeness: {
|
|
9374
|
+
readonly _tag: "complete";
|
|
9375
|
+
};
|
|
9376
|
+
readonly membershipHistoryAvailableFrom: 1753746000000;
|
|
9377
|
+
readonly legacyImport: {
|
|
9378
|
+
readonly _tag: "none";
|
|
9379
|
+
};
|
|
9380
|
+
};
|
|
9381
|
+
readonly items: readonly [];
|
|
9382
|
+
readonly page: {
|
|
9383
|
+
readonly nextCursor: null;
|
|
9384
|
+
readonly limit: 500;
|
|
9385
|
+
};
|
|
9386
|
+
};
|
|
9387
|
+
readonly meta: {
|
|
9388
|
+
readonly requestId: "req_01";
|
|
9389
|
+
readonly surface: "partner";
|
|
9390
|
+
readonly version: "1.0";
|
|
9391
|
+
};
|
|
9392
|
+
};
|
|
9393
|
+
};
|
|
9394
|
+
};
|
|
9395
|
+
};
|
|
9396
|
+
readonly getSitemapExport: {
|
|
9397
|
+
readonly id: "partner.sites.sitemaps.export.get";
|
|
9398
|
+
readonly method: "GET";
|
|
9399
|
+
readonly path: "/sites/{siteId}/sitemaps/export";
|
|
9400
|
+
readonly visibility: "public";
|
|
9401
|
+
readonly semantics: {
|
|
9402
|
+
readonly kind: "query";
|
|
9403
|
+
readonly sideEffects: "none";
|
|
9404
|
+
readonly idempotent: true;
|
|
9405
|
+
readonly retry: "idempotent";
|
|
9406
|
+
readonly readConsistency: "primary";
|
|
9407
|
+
};
|
|
9408
|
+
readonly auth: {
|
|
9409
|
+
readonly credentials: readonly ["user_key", "partner_key"];
|
|
9410
|
+
readonly scopes: readonly ["sitemaps:read"];
|
|
9411
|
+
readonly ownership: readonly [{
|
|
9412
|
+
readonly credential: "user_key";
|
|
9413
|
+
readonly rule: "authorized_site";
|
|
9414
|
+
}, {
|
|
9415
|
+
readonly credential: "partner_key";
|
|
9416
|
+
readonly rule: "authorized_site";
|
|
9417
|
+
}];
|
|
9418
|
+
};
|
|
9419
|
+
readonly request: {
|
|
9420
|
+
readonly params: z.ZodObject<{
|
|
9421
|
+
siteId: z.ZodString;
|
|
9422
|
+
}, z.core.$strict>;
|
|
9423
|
+
readonly query: z.ZodObject<{
|
|
9424
|
+
generationId: z.ZodOptional<z.ZodString>;
|
|
9425
|
+
feedpath: z.ZodOptional<z.ZodString>;
|
|
9426
|
+
}, z.core.$strict>;
|
|
9427
|
+
readonly headers: z.ZodObject<{
|
|
9428
|
+
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
9429
|
+
}, z.core.$strict>;
|
|
9430
|
+
readonly body: null;
|
|
9431
|
+
};
|
|
9432
|
+
readonly responses: {
|
|
9433
|
+
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
9434
|
+
data: z.ZodObject<{
|
|
9435
|
+
generation: z.ZodObject<{
|
|
9436
|
+
id: z.ZodString;
|
|
9437
|
+
observedAt: z.ZodNumber;
|
|
9438
|
+
publishedAt: z.ZodNumber;
|
|
9439
|
+
completeness: z.ZodObject<{
|
|
9440
|
+
_tag: z.ZodLiteral<"complete">;
|
|
9441
|
+
}, z.core.$strict>;
|
|
9442
|
+
membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
|
|
9443
|
+
legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9444
|
+
_tag: z.ZodLiteral<"none">;
|
|
9445
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9446
|
+
_tag: z.ZodLiteral<"metadata_only">;
|
|
9447
|
+
importedAt: z.ZodNumber;
|
|
9448
|
+
recordCount: z.ZodNumber;
|
|
9449
|
+
source: z.ZodLiteral<"gsc_sitemaps">;
|
|
9450
|
+
}, z.core.$strict>], "_tag">;
|
|
9451
|
+
}, z.core.$strict>;
|
|
9452
|
+
export: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9453
|
+
_tag: z.ZodLiteral<"url">;
|
|
9454
|
+
url: z.ZodURL;
|
|
9455
|
+
expiresAt: z.ZodNumber;
|
|
9456
|
+
contentType: z.ZodLiteral<"application/x-ndjson">;
|
|
9457
|
+
contentEncoding: z.ZodEnum<{
|
|
9458
|
+
identity: "identity";
|
|
9459
|
+
gzip: "gzip";
|
|
9460
|
+
}>;
|
|
9461
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9462
|
+
_tag: z.ZodLiteral<"unavailable">;
|
|
9463
|
+
reason: z.ZodEnum<{
|
|
9464
|
+
generation_not_found: "generation_not_found";
|
|
9465
|
+
export_unavailable: "export_unavailable";
|
|
9466
|
+
}>;
|
|
9467
|
+
}, z.core.$strict>], "_tag">;
|
|
9468
|
+
}, z.core.$strict>;
|
|
9469
|
+
meta: z.ZodObject<{
|
|
9470
|
+
readonly requestId: z.ZodString;
|
|
9471
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
9472
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
9473
|
+
}, z.core.$strip>;
|
|
9474
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9475
|
+
data: z.ZodObject<{
|
|
9476
|
+
generation: z.ZodObject<{
|
|
9477
|
+
id: z.ZodString;
|
|
9478
|
+
observedAt: z.ZodNumber;
|
|
9479
|
+
publishedAt: z.ZodNumber;
|
|
9480
|
+
completeness: z.ZodObject<{
|
|
9481
|
+
_tag: z.ZodLiteral<"complete">;
|
|
9482
|
+
}, z.core.$strict>;
|
|
9483
|
+
membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
|
|
9484
|
+
legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9485
|
+
_tag: z.ZodLiteral<"none">;
|
|
9486
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9487
|
+
_tag: z.ZodLiteral<"metadata_only">;
|
|
9488
|
+
importedAt: z.ZodNumber;
|
|
9489
|
+
recordCount: z.ZodNumber;
|
|
9490
|
+
source: z.ZodLiteral<"gsc_sitemaps">;
|
|
9491
|
+
}, z.core.$strict>], "_tag">;
|
|
9492
|
+
}, z.core.$strict>;
|
|
9493
|
+
export: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9494
|
+
_tag: z.ZodLiteral<"url">;
|
|
9495
|
+
url: z.ZodURL;
|
|
9496
|
+
expiresAt: z.ZodNumber;
|
|
9497
|
+
contentType: z.ZodLiteral<"application/x-ndjson">;
|
|
9498
|
+
contentEncoding: z.ZodEnum<{
|
|
9499
|
+
identity: "identity";
|
|
9500
|
+
gzip: "gzip";
|
|
9501
|
+
}>;
|
|
9502
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
9503
|
+
_tag: z.ZodLiteral<"unavailable">;
|
|
9504
|
+
reason: z.ZodEnum<{
|
|
9505
|
+
generation_not_found: "generation_not_found";
|
|
9506
|
+
export_unavailable: "export_unavailable";
|
|
9507
|
+
}>;
|
|
9508
|
+
}, z.core.$strict>], "_tag">;
|
|
9509
|
+
}, z.core.$strict>;
|
|
9510
|
+
meta: z.ZodObject<{
|
|
9511
|
+
readonly requestId: z.ZodString;
|
|
9512
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
9513
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
9514
|
+
}, z.core.$strip>;
|
|
9515
|
+
}, z.core.$strip>>;
|
|
9516
|
+
};
|
|
9517
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
|
|
9518
|
+
readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
9519
|
+
readonly error: z.ZodObject<{
|
|
9520
|
+
code: z.ZodEnum<{
|
|
9521
|
+
internal_error: "internal_error";
|
|
9522
|
+
invalid_request: "invalid_request";
|
|
9523
|
+
unauthorized: "unauthorized";
|
|
9524
|
+
forbidden: "forbidden";
|
|
9525
|
+
site_not_found: "site_not_found";
|
|
9526
|
+
rate_limited: "rate_limited";
|
|
9527
|
+
contract_violation: "contract_violation";
|
|
9528
|
+
}>;
|
|
9529
|
+
message: z.ZodString;
|
|
9530
|
+
requestId: z.ZodString;
|
|
9531
|
+
retryable: z.ZodBoolean;
|
|
9532
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
9533
|
+
}, z.core.$strict>;
|
|
9534
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9535
|
+
readonly error: z.ZodObject<{
|
|
9536
|
+
code: z.ZodEnum<{
|
|
9537
|
+
internal_error: "internal_error";
|
|
9538
|
+
invalid_request: "invalid_request";
|
|
9539
|
+
unauthorized: "unauthorized";
|
|
9540
|
+
forbidden: "forbidden";
|
|
9541
|
+
site_not_found: "site_not_found";
|
|
9542
|
+
rate_limited: "rate_limited";
|
|
9543
|
+
contract_violation: "contract_violation";
|
|
9544
|
+
}>;
|
|
9545
|
+
message: z.ZodString;
|
|
9546
|
+
requestId: z.ZodString;
|
|
9547
|
+
retryable: z.ZodBoolean;
|
|
9548
|
+
details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
|
|
9549
|
+
}, z.core.$loose>;
|
|
9550
|
+
}, z.core.$strip>>;
|
|
9551
|
+
readonly resources: {
|
|
9552
|
+
readonly reads: readonly [{
|
|
9553
|
+
readonly type: "site.sitemaps";
|
|
9554
|
+
readonly idFrom: "params.siteId";
|
|
9555
|
+
}];
|
|
9556
|
+
readonly changes: readonly [];
|
|
9557
|
+
};
|
|
9558
|
+
readonly lifecycle: {
|
|
9559
|
+
readonly introduced: "2.0.0";
|
|
9560
|
+
};
|
|
9561
|
+
readonly docs: {
|
|
9562
|
+
readonly summary: "Get sitemap bulk export";
|
|
9563
|
+
readonly description: "Returns a generation-pinned expiring URL for the full NDJSON sitemap projection.";
|
|
9564
|
+
readonly tags: readonly ["Sitemaps"];
|
|
9565
|
+
readonly examples: {
|
|
9566
|
+
readonly request: {
|
|
9567
|
+
readonly params: {
|
|
9568
|
+
readonly siteId: "s_01";
|
|
9569
|
+
};
|
|
9570
|
+
};
|
|
9571
|
+
readonly response: {
|
|
9572
|
+
readonly data: {
|
|
9573
|
+
readonly generation: {
|
|
9574
|
+
readonly id: "site-01JZ";
|
|
9575
|
+
readonly observedAt: 1753746000000;
|
|
9576
|
+
readonly publishedAt: 1753746000100;
|
|
9577
|
+
readonly completeness: {
|
|
9578
|
+
readonly _tag: "complete";
|
|
9579
|
+
};
|
|
9580
|
+
readonly membershipHistoryAvailableFrom: 1753746000000;
|
|
9581
|
+
readonly legacyImport: {
|
|
9582
|
+
readonly _tag: "none";
|
|
9583
|
+
};
|
|
9584
|
+
};
|
|
9585
|
+
readonly export: {
|
|
9586
|
+
readonly _tag: "unavailable";
|
|
9587
|
+
readonly reason: "export_unavailable";
|
|
8953
9588
|
};
|
|
8954
9589
|
};
|
|
8955
9590
|
readonly meta: {
|