@gscdump/contracts 1.5.4 → 2.0.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.
@@ -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,6 +2232,8 @@ 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
  }>>;
2235
2238
  limits: z.ZodObject<{
2236
2239
  scannedUrls: z.ZodNumber;
@@ -2248,6 +2251,30 @@ declare function createGscdumpV1Protocol(): {
2248
2251
  sitemap: z.ZodString;
2249
2252
  removedAt: z.ZodNumber;
2250
2253
  }, z.core.$loose>>;
2254
+ readonly updated: z.ZodArray<z.ZodObject<{
2255
+ url: z.ZodString;
2256
+ sitemap: z.ZodString;
2257
+ previousLastmod: z.ZodNullable<z.ZodString>;
2258
+ lastmod: z.ZodNullable<z.ZodString>;
2259
+ observedAt: z.ZodNumber;
2260
+ }, z.core.$loose>>;
2261
+ readonly generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
2262
+ id: z.ZodString;
2263
+ observedAt: z.ZodNumber;
2264
+ publishedAt: z.ZodNumber;
2265
+ completeness: z.ZodObject<{
2266
+ _tag: z.ZodLiteral<"complete">;
2267
+ }, z.core.$strict>;
2268
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
2269
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
2270
+ _tag: z.ZodLiteral<"none">;
2271
+ }, z.core.$strict>, z.ZodObject<{
2272
+ _tag: z.ZodLiteral<"metadata_only">;
2273
+ importedAt: z.ZodNumber;
2274
+ recordCount: z.ZodNumber;
2275
+ source: z.ZodLiteral<"gsc_sitemaps">;
2276
+ }, z.core.$strict>], "_tag">;
2277
+ }, z.core.$strict>>>;
2251
2278
  }, z.core.$strip>;
2252
2279
  meta: z.ZodObject<{
2253
2280
  readonly requestId: z.ZodString;
@@ -2259,6 +2286,7 @@ declare function createGscdumpV1Protocol(): {
2259
2286
  readonly summary: z.ZodObject<{
2260
2287
  totalAdded: z.ZodNumber;
2261
2288
  totalRemoved: z.ZodNumber;
2289
+ totalUpdated: z.ZodNumber;
2262
2290
  period: z.ZodObject<{
2263
2291
  days: z.ZodNumber;
2264
2292
  }, z.core.$strip>;
@@ -2278,6 +2306,8 @@ declare function createGscdumpV1Protocol(): {
2278
2306
  scan_limit: "scan_limit";
2279
2307
  added_limit: "added_limit";
2280
2308
  removed_limit: "removed_limit";
2309
+ updated_limit: "updated_limit";
2310
+ history_unavailable: "history_unavailable";
2281
2311
  }>>;
2282
2312
  }, z.core.$loose>], "_tag">;
2283
2313
  readonly added: z.ZodArray<z.ZodObject<{
@@ -2290,6 +2320,30 @@ declare function createGscdumpV1Protocol(): {
2290
2320
  sitemap: z.ZodString;
2291
2321
  removedAt: z.ZodNumber;
2292
2322
  }, z.core.$loose>>;
2323
+ readonly updated: z.ZodArray<z.ZodObject<{
2324
+ url: z.ZodString;
2325
+ sitemap: z.ZodString;
2326
+ previousLastmod: z.ZodNullable<z.ZodString>;
2327
+ lastmod: z.ZodNullable<z.ZodString>;
2328
+ observedAt: z.ZodNumber;
2329
+ }, z.core.$loose>>;
2330
+ readonly generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
2331
+ id: z.ZodString;
2332
+ observedAt: z.ZodNumber;
2333
+ publishedAt: z.ZodNumber;
2334
+ completeness: z.ZodObject<{
2335
+ _tag: z.ZodLiteral<"complete">;
2336
+ }, z.core.$strict>;
2337
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
2338
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
2339
+ _tag: z.ZodLiteral<"none">;
2340
+ }, z.core.$strict>, z.ZodObject<{
2341
+ _tag: z.ZodLiteral<"metadata_only">;
2342
+ importedAt: z.ZodNumber;
2343
+ recordCount: z.ZodNumber;
2344
+ source: z.ZodLiteral<"gsc_sitemaps">;
2345
+ }, z.core.$strict>], "_tag">;
2346
+ }, z.core.$strict>>>;
2293
2347
  }, z.core.$strip>;
2294
2348
  meta: z.ZodObject<{
2295
2349
  readonly requestId: z.ZodString;
@@ -2333,6 +2387,23 @@ declare function createGscdumpV1Protocol(): {
2333
2387
  duplicateCount: z.ZodNumber;
2334
2388
  }, z.core.$strip>;
2335
2389
  }, z.core.$loose>;
2390
+ generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
2391
+ id: z.ZodString;
2392
+ observedAt: z.ZodNumber;
2393
+ publishedAt: z.ZodNumber;
2394
+ completeness: z.ZodObject<{
2395
+ _tag: z.ZodLiteral<"complete">;
2396
+ }, z.core.$strict>;
2397
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
2398
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
2399
+ _tag: z.ZodLiteral<"none">;
2400
+ }, z.core.$strict>, z.ZodObject<{
2401
+ _tag: z.ZodLiteral<"metadata_only">;
2402
+ importedAt: z.ZodNumber;
2403
+ recordCount: z.ZodNumber;
2404
+ source: z.ZodLiteral<"gsc_sitemaps">;
2405
+ }, z.core.$strict>], "_tag">;
2406
+ }, z.core.$strict>>>;
2336
2407
  }, z.core.$strip>;
2337
2408
  meta: z.ZodObject<{
2338
2409
  readonly requestId: z.ZodString;
@@ -2375,6 +2446,23 @@ declare function createGscdumpV1Protocol(): {
2375
2446
  duplicateCount: z.ZodNumber;
2376
2447
  }, z.core.$strip>;
2377
2448
  }, z.core.$loose>;
2449
+ generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
2450
+ id: z.ZodString;
2451
+ observedAt: z.ZodNumber;
2452
+ publishedAt: z.ZodNumber;
2453
+ completeness: z.ZodObject<{
2454
+ _tag: z.ZodLiteral<"complete">;
2455
+ }, z.core.$strict>;
2456
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
2457
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
2458
+ _tag: z.ZodLiteral<"none">;
2459
+ }, z.core.$strict>, z.ZodObject<{
2460
+ _tag: z.ZodLiteral<"metadata_only">;
2461
+ importedAt: z.ZodNumber;
2462
+ recordCount: z.ZodNumber;
2463
+ source: z.ZodLiteral<"gsc_sitemaps">;
2464
+ }, z.core.$strict>], "_tag">;
2465
+ }, z.core.$strict>>>;
2378
2466
  }, z.core.$strip>;
2379
2467
  meta: z.ZodObject<{
2380
2468
  readonly requestId: z.ZodString;
@@ -5291,6 +5379,23 @@ declare function createGscdumpV1Protocol(): {
5291
5379
  duplicateCount: z.ZodNumber;
5292
5380
  }, z.core.$strip>;
5293
5381
  }, z.core.$loose>;
5382
+ generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
5383
+ id: z.ZodString;
5384
+ observedAt: z.ZodNumber;
5385
+ publishedAt: z.ZodNumber;
5386
+ completeness: z.ZodObject<{
5387
+ _tag: z.ZodLiteral<"complete">;
5388
+ }, z.core.$strict>;
5389
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
5390
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
5391
+ _tag: z.ZodLiteral<"none">;
5392
+ }, z.core.$strict>, z.ZodObject<{
5393
+ _tag: z.ZodLiteral<"metadata_only">;
5394
+ importedAt: z.ZodNumber;
5395
+ recordCount: z.ZodNumber;
5396
+ source: z.ZodLiteral<"gsc_sitemaps">;
5397
+ }, z.core.$strict>], "_tag">;
5398
+ }, z.core.$strict>>>;
5294
5399
  }, z.core.$strip>;
5295
5400
  meta: z.ZodObject<{
5296
5401
  readonly requestId: z.ZodString;
@@ -5333,6 +5438,23 @@ declare function createGscdumpV1Protocol(): {
5333
5438
  duplicateCount: z.ZodNumber;
5334
5439
  }, z.core.$strip>;
5335
5440
  }, z.core.$loose>;
5441
+ generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
5442
+ id: z.ZodString;
5443
+ observedAt: z.ZodNumber;
5444
+ publishedAt: z.ZodNumber;
5445
+ completeness: z.ZodObject<{
5446
+ _tag: z.ZodLiteral<"complete">;
5447
+ }, z.core.$strict>;
5448
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
5449
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
5450
+ _tag: z.ZodLiteral<"none">;
5451
+ }, z.core.$strict>, z.ZodObject<{
5452
+ _tag: z.ZodLiteral<"metadata_only">;
5453
+ importedAt: z.ZodNumber;
5454
+ recordCount: z.ZodNumber;
5455
+ source: z.ZodLiteral<"gsc_sitemaps">;
5456
+ }, z.core.$strict>], "_tag">;
5457
+ }, z.core.$strict>>>;
5336
5458
  }, z.core.$strip>;
5337
5459
  meta: z.ZodObject<{
5338
5460
  readonly requestId: z.ZodString;
@@ -5400,6 +5522,7 @@ declare function createGscdumpV1Protocol(): {
5400
5522
  readonly sitemaps: readonly [];
5401
5523
  readonly history: readonly [];
5402
5524
  readonly perSitemapHistory: {};
5525
+ readonly generation: null;
5403
5526
  readonly meta: {
5404
5527
  readonly siteUrl: "sc-domain:example.com";
5405
5528
  readonly gscPropertyUrl: "sc-domain:example.com";
@@ -5460,6 +5583,7 @@ declare function createGscdumpV1Protocol(): {
5460
5583
  readonly summary: z.ZodObject<{
5461
5584
  totalAdded: z.ZodNumber;
5462
5585
  totalRemoved: z.ZodNumber;
5586
+ totalUpdated: z.ZodNumber;
5463
5587
  period: z.ZodObject<{
5464
5588
  days: z.ZodNumber;
5465
5589
  }, z.core.$strip>;
@@ -5474,6 +5598,8 @@ declare function createGscdumpV1Protocol(): {
5474
5598
  scan_limit: "scan_limit";
5475
5599
  added_limit: "added_limit";
5476
5600
  removed_limit: "removed_limit";
5601
+ updated_limit: "updated_limit";
5602
+ history_unavailable: "history_unavailable";
5477
5603
  }>>;
5478
5604
  limits: z.ZodObject<{
5479
5605
  scannedUrls: z.ZodNumber;
@@ -5491,6 +5617,30 @@ declare function createGscdumpV1Protocol(): {
5491
5617
  sitemap: z.ZodString;
5492
5618
  removedAt: z.ZodNumber;
5493
5619
  }, z.core.$loose>>;
5620
+ readonly updated: z.ZodArray<z.ZodObject<{
5621
+ url: z.ZodString;
5622
+ sitemap: z.ZodString;
5623
+ previousLastmod: z.ZodNullable<z.ZodString>;
5624
+ lastmod: z.ZodNullable<z.ZodString>;
5625
+ observedAt: z.ZodNumber;
5626
+ }, z.core.$loose>>;
5627
+ readonly generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
5628
+ id: z.ZodString;
5629
+ observedAt: z.ZodNumber;
5630
+ publishedAt: z.ZodNumber;
5631
+ completeness: z.ZodObject<{
5632
+ _tag: z.ZodLiteral<"complete">;
5633
+ }, z.core.$strict>;
5634
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
5635
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
5636
+ _tag: z.ZodLiteral<"none">;
5637
+ }, z.core.$strict>, z.ZodObject<{
5638
+ _tag: z.ZodLiteral<"metadata_only">;
5639
+ importedAt: z.ZodNumber;
5640
+ recordCount: z.ZodNumber;
5641
+ source: z.ZodLiteral<"gsc_sitemaps">;
5642
+ }, z.core.$strict>], "_tag">;
5643
+ }, z.core.$strict>>>;
5494
5644
  }, z.core.$strip>;
5495
5645
  meta: z.ZodObject<{
5496
5646
  readonly requestId: z.ZodString;
@@ -5502,6 +5652,7 @@ declare function createGscdumpV1Protocol(): {
5502
5652
  readonly summary: z.ZodObject<{
5503
5653
  totalAdded: z.ZodNumber;
5504
5654
  totalRemoved: z.ZodNumber;
5655
+ totalUpdated: z.ZodNumber;
5505
5656
  period: z.ZodObject<{
5506
5657
  days: z.ZodNumber;
5507
5658
  }, z.core.$strip>;
@@ -5521,6 +5672,8 @@ declare function createGscdumpV1Protocol(): {
5521
5672
  scan_limit: "scan_limit";
5522
5673
  added_limit: "added_limit";
5523
5674
  removed_limit: "removed_limit";
5675
+ updated_limit: "updated_limit";
5676
+ history_unavailable: "history_unavailable";
5524
5677
  }>>;
5525
5678
  }, z.core.$loose>], "_tag">;
5526
5679
  readonly added: z.ZodArray<z.ZodObject<{
@@ -5533,6 +5686,30 @@ declare function createGscdumpV1Protocol(): {
5533
5686
  sitemap: z.ZodString;
5534
5687
  removedAt: z.ZodNumber;
5535
5688
  }, z.core.$loose>>;
5689
+ readonly updated: z.ZodArray<z.ZodObject<{
5690
+ url: z.ZodString;
5691
+ sitemap: z.ZodString;
5692
+ previousLastmod: z.ZodNullable<z.ZodString>;
5693
+ lastmod: z.ZodNullable<z.ZodString>;
5694
+ observedAt: z.ZodNumber;
5695
+ }, z.core.$loose>>;
5696
+ readonly generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
5697
+ id: z.ZodString;
5698
+ observedAt: z.ZodNumber;
5699
+ publishedAt: z.ZodNumber;
5700
+ completeness: z.ZodObject<{
5701
+ _tag: z.ZodLiteral<"complete">;
5702
+ }, z.core.$strict>;
5703
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
5704
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
5705
+ _tag: z.ZodLiteral<"none">;
5706
+ }, z.core.$strict>, z.ZodObject<{
5707
+ _tag: z.ZodLiteral<"metadata_only">;
5708
+ importedAt: z.ZodNumber;
5709
+ recordCount: z.ZodNumber;
5710
+ source: z.ZodLiteral<"gsc_sitemaps">;
5711
+ }, z.core.$strict>], "_tag">;
5712
+ }, z.core.$strict>>>;
5536
5713
  }, z.core.$strip>;
5537
5714
  meta: z.ZodObject<{
5538
5715
  readonly requestId: z.ZodString;
@@ -5602,9 +5779,12 @@ declare function createGscdumpV1Protocol(): {
5602
5779
  readonly data: {
5603
5780
  readonly added: readonly [];
5604
5781
  readonly removed: readonly [];
5782
+ readonly updated: readonly [];
5783
+ readonly generation: null;
5605
5784
  readonly summary: {
5606
5785
  readonly totalAdded: 0;
5607
5786
  readonly totalRemoved: 0;
5787
+ readonly totalUpdated: 0;
5608
5788
  readonly period: {
5609
5789
  readonly days: 28;
5610
5790
  };
@@ -8816,34 +8996,56 @@ declare function createGscdumpV1Protocol(): {
8816
8996
  }, z.core.$strict>;
8817
8997
  readonly body: z.ZodObject<{
8818
8998
  urls: z.ZodArray<z.ZodString>;
8819
- maxAgeDays: z.ZodOptional<z.ZodNumber>;
8999
+ generationId: z.ZodOptional<z.ZodString>;
8820
9000
  }, z.core.$strict>;
8821
9001
  };
8822
9002
  readonly responses: {
8823
9003
  readonly 200: CompatibleResponseSchema<z.ZodObject<{
8824
9004
  data: z.ZodObject<{
8825
- urls: z.ZodArray<z.ZodObject<{
9005
+ generation: z.ZodNullable<z.ZodObject<{
9006
+ id: z.ZodString;
9007
+ observedAt: z.ZodNumber;
9008
+ publishedAt: z.ZodNumber;
9009
+ completeness: z.ZodObject<{
9010
+ _tag: z.ZodLiteral<"complete">;
9011
+ }, z.core.$strict>;
9012
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
9013
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
9014
+ _tag: z.ZodLiteral<"none">;
9015
+ }, z.core.$strict>, z.ZodObject<{
9016
+ _tag: z.ZodLiteral<"metadata_only">;
9017
+ importedAt: z.ZodNumber;
9018
+ recordCount: z.ZodNumber;
9019
+ source: z.ZodLiteral<"gsc_sitemaps">;
9020
+ }, z.core.$strict>], "_tag">;
9021
+ }, z.core.$strict>>;
9022
+ evidence: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
9023
+ _tag: z.ZodLiteral<"present">;
8826
9024
  url: z.ZodString;
8827
- normalized: z.ZodString;
8828
- inSitemap: z.ZodBoolean;
8829
- sitemapUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8830
- lastSeenAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8831
- lastmod: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8832
- sitemapFetchedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8833
- }, z.core.$loose>>;
9025
+ feedpath: z.ZodString;
9026
+ lastmod: z.ZodNullable<z.ZodString>;
9027
+ firstSeenAt: z.ZodNumber;
9028
+ lastSeenAt: z.ZodNumber;
9029
+ }, z.core.$strict>, z.ZodObject<{
9030
+ _tag: z.ZodLiteral<"absent">;
9031
+ url: z.ZodString;
9032
+ observedAt: z.ZodNumber;
9033
+ }, z.core.$strict>, z.ZodObject<{
9034
+ _tag: z.ZodLiteral<"unknown">;
9035
+ url: z.ZodString;
9036
+ reason: z.ZodEnum<{
9037
+ no_generation: "no_generation";
9038
+ generation_not_found: "generation_not_found";
9039
+ generation_incomplete: "generation_incomplete";
9040
+ history_pruned: "history_pruned";
9041
+ invalid_url: "invalid_url";
9042
+ }>;
9043
+ }, z.core.$strict>], "_tag">>;
8834
9044
  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
9045
  requested: z.ZodNumber;
8843
9046
  checked: z.ZodNumber;
8844
9047
  matched: z.ZodNumber;
8845
- newestFetchedAt: z.ZodNullable<z.ZodString>;
8846
- }, z.core.$loose>;
9048
+ }, z.core.$strict>;
8847
9049
  }, z.core.$strip>;
8848
9050
  meta: z.ZodObject<{
8849
9051
  readonly requestId: z.ZodString;
@@ -8852,28 +9054,50 @@ declare function createGscdumpV1Protocol(): {
8852
9054
  }, z.core.$strip>;
8853
9055
  }, z.core.$strip>, z.ZodObject<{
8854
9056
  data: z.ZodObject<{
8855
- urls: z.ZodArray<z.ZodObject<{
9057
+ generation: z.ZodNullable<z.ZodObject<{
9058
+ id: z.ZodString;
9059
+ observedAt: z.ZodNumber;
9060
+ publishedAt: z.ZodNumber;
9061
+ completeness: z.ZodObject<{
9062
+ _tag: z.ZodLiteral<"complete">;
9063
+ }, z.core.$strict>;
9064
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
9065
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
9066
+ _tag: z.ZodLiteral<"none">;
9067
+ }, z.core.$strict>, z.ZodObject<{
9068
+ _tag: z.ZodLiteral<"metadata_only">;
9069
+ importedAt: z.ZodNumber;
9070
+ recordCount: z.ZodNumber;
9071
+ source: z.ZodLiteral<"gsc_sitemaps">;
9072
+ }, z.core.$strict>], "_tag">;
9073
+ }, z.core.$strict>>;
9074
+ evidence: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
9075
+ _tag: z.ZodLiteral<"present">;
8856
9076
  url: z.ZodString;
8857
- normalized: z.ZodString;
8858
- inSitemap: z.ZodBoolean;
8859
- sitemapUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8860
- lastSeenAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8861
- lastmod: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8862
- sitemapFetchedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8863
- }, z.core.$loose>>;
9077
+ feedpath: z.ZodString;
9078
+ lastmod: z.ZodNullable<z.ZodString>;
9079
+ firstSeenAt: z.ZodNumber;
9080
+ lastSeenAt: z.ZodNumber;
9081
+ }, z.core.$strict>, z.ZodObject<{
9082
+ _tag: z.ZodLiteral<"absent">;
9083
+ url: z.ZodString;
9084
+ observedAt: z.ZodNumber;
9085
+ }, z.core.$strict>, z.ZodObject<{
9086
+ _tag: z.ZodLiteral<"unknown">;
9087
+ url: z.ZodString;
9088
+ reason: z.ZodEnum<{
9089
+ no_generation: "no_generation";
9090
+ generation_not_found: "generation_not_found";
9091
+ generation_incomplete: "generation_incomplete";
9092
+ history_pruned: "history_pruned";
9093
+ invalid_url: "invalid_url";
9094
+ }>;
9095
+ }, z.core.$strict>], "_tag">>;
8864
9096
  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
9097
  requested: z.ZodNumber;
8873
9098
  checked: z.ZodNumber;
8874
9099
  matched: z.ZodNumber;
8875
- newestFetchedAt: z.ZodNullable<z.ZodString>;
8876
- }, z.core.$loose>;
9100
+ }, z.core.$strict>;
8877
9101
  }, z.core.$strip>;
8878
9102
  meta: z.ZodObject<{
8879
9103
  readonly requestId: z.ZodString;
@@ -8928,7 +9152,7 @@ declare function createGscdumpV1Protocol(): {
8928
9152
  };
8929
9153
  readonly docs: {
8930
9154
  readonly summary: "Query sitemap membership";
8931
- readonly description: "Checks whether each requested URL is present in the site's known sitemaps, subject to a freshness cap.";
9155
+ readonly description: "Returns generation-pinned present, absent, or unknown evidence for each exact requested URL.";
8932
9156
  readonly tags: readonly ["Sitemaps"];
8933
9157
  readonly examples: {
8934
9158
  readonly request: {
@@ -8937,19 +9161,422 @@ declare function createGscdumpV1Protocol(): {
8937
9161
  };
8938
9162
  readonly body: {
8939
9163
  readonly urls: readonly ["https://example.com/"];
8940
- readonly maxAgeDays: 30;
8941
9164
  };
8942
9165
  };
8943
9166
  readonly response: {
8944
9167
  readonly data: {
8945
- readonly urls: readonly [];
9168
+ readonly generation: null;
9169
+ readonly evidence: readonly [{
9170
+ readonly _tag: "unknown";
9171
+ readonly url: "https://example.com/";
9172
+ readonly reason: "no_generation";
9173
+ }];
8946
9174
  readonly meta: {
8947
- readonly available: true;
8948
- readonly reason: null;
8949
9175
  readonly requested: 1;
8950
- readonly checked: 1;
9176
+ readonly checked: 0;
8951
9177
  readonly matched: 0;
8952
- readonly newestFetchedAt: null;
9178
+ };
9179
+ };
9180
+ readonly meta: {
9181
+ readonly requestId: "req_01";
9182
+ readonly surface: "partner";
9183
+ readonly version: "1.0";
9184
+ };
9185
+ };
9186
+ };
9187
+ };
9188
+ };
9189
+ readonly listSitemapUrls: {
9190
+ readonly id: "partner.sites.sitemaps.urls.get";
9191
+ readonly method: "GET";
9192
+ readonly path: "/sites/{siteId}/sitemaps/urls";
9193
+ readonly visibility: "public";
9194
+ readonly semantics: {
9195
+ readonly kind: "query";
9196
+ readonly sideEffects: "none";
9197
+ readonly idempotent: true;
9198
+ readonly retry: "idempotent";
9199
+ readonly readConsistency: "primary";
9200
+ };
9201
+ readonly auth: {
9202
+ readonly credentials: readonly ["user_key", "partner_key"];
9203
+ readonly scopes: readonly ["sitemaps:read"];
9204
+ readonly ownership: readonly [{
9205
+ readonly credential: "user_key";
9206
+ readonly rule: "authorized_site";
9207
+ }, {
9208
+ readonly credential: "partner_key";
9209
+ readonly rule: "authorized_site";
9210
+ }];
9211
+ };
9212
+ readonly request: {
9213
+ readonly params: z.ZodObject<{
9214
+ siteId: z.ZodString;
9215
+ }, z.core.$strict>;
9216
+ readonly query: z.ZodObject<{
9217
+ generationId: z.ZodOptional<z.ZodString>;
9218
+ feedpath: z.ZodOptional<z.ZodString>;
9219
+ cursor: z.ZodOptional<z.ZodString>;
9220
+ limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
9221
+ }, z.core.$strict>;
9222
+ readonly headers: z.ZodObject<{
9223
+ 'x-request-id': z.ZodOptional<z.ZodString>;
9224
+ }, z.core.$strict>;
9225
+ readonly body: null;
9226
+ };
9227
+ readonly responses: {
9228
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
9229
+ data: z.ZodObject<{
9230
+ generation: z.ZodObject<{
9231
+ id: z.ZodString;
9232
+ observedAt: z.ZodNumber;
9233
+ publishedAt: z.ZodNumber;
9234
+ completeness: z.ZodObject<{
9235
+ _tag: z.ZodLiteral<"complete">;
9236
+ }, z.core.$strict>;
9237
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
9238
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
9239
+ _tag: z.ZodLiteral<"none">;
9240
+ }, z.core.$strict>, z.ZodObject<{
9241
+ _tag: z.ZodLiteral<"metadata_only">;
9242
+ importedAt: z.ZodNumber;
9243
+ recordCount: z.ZodNumber;
9244
+ source: z.ZodLiteral<"gsc_sitemaps">;
9245
+ }, z.core.$strict>], "_tag">;
9246
+ }, z.core.$strict>;
9247
+ items: z.ZodArray<z.ZodObject<{
9248
+ url: z.ZodString;
9249
+ feedpath: z.ZodString;
9250
+ lastmod: z.ZodNullable<z.ZodString>;
9251
+ firstSeenAt: z.ZodNumber;
9252
+ lastSeenAt: z.ZodNumber;
9253
+ }, z.core.$strict>>;
9254
+ page: z.ZodObject<{
9255
+ nextCursor: z.ZodNullable<z.ZodString>;
9256
+ limit: z.ZodNumber;
9257
+ }, z.core.$strict>;
9258
+ }, z.core.$strict>;
9259
+ meta: z.ZodObject<{
9260
+ readonly requestId: z.ZodString;
9261
+ readonly surface: z.ZodLiteral<"partner">;
9262
+ readonly version: z.ZodLiteral<"1.0">;
9263
+ }, z.core.$strip>;
9264
+ }, z.core.$strip>, z.ZodObject<{
9265
+ data: z.ZodObject<{
9266
+ generation: z.ZodObject<{
9267
+ id: z.ZodString;
9268
+ observedAt: z.ZodNumber;
9269
+ publishedAt: z.ZodNumber;
9270
+ completeness: z.ZodObject<{
9271
+ _tag: z.ZodLiteral<"complete">;
9272
+ }, z.core.$strict>;
9273
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
9274
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
9275
+ _tag: z.ZodLiteral<"none">;
9276
+ }, z.core.$strict>, z.ZodObject<{
9277
+ _tag: z.ZodLiteral<"metadata_only">;
9278
+ importedAt: z.ZodNumber;
9279
+ recordCount: z.ZodNumber;
9280
+ source: z.ZodLiteral<"gsc_sitemaps">;
9281
+ }, z.core.$strict>], "_tag">;
9282
+ }, z.core.$strict>;
9283
+ items: z.ZodArray<z.ZodObject<{
9284
+ url: z.ZodString;
9285
+ feedpath: z.ZodString;
9286
+ lastmod: z.ZodNullable<z.ZodString>;
9287
+ firstSeenAt: z.ZodNumber;
9288
+ lastSeenAt: z.ZodNumber;
9289
+ }, z.core.$strict>>;
9290
+ page: z.ZodObject<{
9291
+ nextCursor: z.ZodNullable<z.ZodString>;
9292
+ limit: z.ZodNumber;
9293
+ }, z.core.$strict>;
9294
+ }, z.core.$strict>;
9295
+ meta: z.ZodObject<{
9296
+ readonly requestId: z.ZodString;
9297
+ readonly surface: z.ZodLiteral<"partner">;
9298
+ readonly version: z.ZodLiteral<"1.0">;
9299
+ }, z.core.$strip>;
9300
+ }, z.core.$strip>>;
9301
+ };
9302
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
9303
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
9304
+ readonly error: z.ZodObject<{
9305
+ code: z.ZodEnum<{
9306
+ internal_error: "internal_error";
9307
+ invalid_request: "invalid_request";
9308
+ unauthorized: "unauthorized";
9309
+ forbidden: "forbidden";
9310
+ site_not_found: "site_not_found";
9311
+ rate_limited: "rate_limited";
9312
+ contract_violation: "contract_violation";
9313
+ }>;
9314
+ message: z.ZodString;
9315
+ requestId: z.ZodString;
9316
+ retryable: z.ZodBoolean;
9317
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
9318
+ }, z.core.$strict>;
9319
+ }, z.core.$strip>, z.ZodObject<{
9320
+ readonly error: z.ZodObject<{
9321
+ code: z.ZodEnum<{
9322
+ internal_error: "internal_error";
9323
+ invalid_request: "invalid_request";
9324
+ unauthorized: "unauthorized";
9325
+ forbidden: "forbidden";
9326
+ site_not_found: "site_not_found";
9327
+ rate_limited: "rate_limited";
9328
+ contract_violation: "contract_violation";
9329
+ }>;
9330
+ message: z.ZodString;
9331
+ requestId: z.ZodString;
9332
+ retryable: z.ZodBoolean;
9333
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
9334
+ }, z.core.$loose>;
9335
+ }, z.core.$strip>>;
9336
+ readonly resources: {
9337
+ readonly reads: readonly [{
9338
+ readonly type: "site.sitemaps";
9339
+ readonly idFrom: "params.siteId";
9340
+ }];
9341
+ readonly changes: readonly [];
9342
+ };
9343
+ readonly lifecycle: {
9344
+ readonly introduced: "2.0.0";
9345
+ };
9346
+ readonly docs: {
9347
+ readonly summary: "List sitemap URLs";
9348
+ readonly description: "Returns an exact generation-pinned cursor page of sitemap membership and lastmod evidence.";
9349
+ readonly tags: readonly ["Sitemaps"];
9350
+ readonly examples: {
9351
+ readonly request: {
9352
+ readonly params: {
9353
+ readonly siteId: "s_01";
9354
+ };
9355
+ readonly query: {
9356
+ readonly limit: 500;
9357
+ };
9358
+ };
9359
+ readonly response: {
9360
+ readonly data: {
9361
+ readonly generation: {
9362
+ readonly id: "site-01JZ";
9363
+ readonly observedAt: 1753746000000;
9364
+ readonly publishedAt: 1753746000100;
9365
+ readonly completeness: {
9366
+ readonly _tag: "complete";
9367
+ };
9368
+ readonly membershipHistoryAvailableFrom: 1753746000000;
9369
+ readonly legacyImport: {
9370
+ readonly _tag: "none";
9371
+ };
9372
+ };
9373
+ readonly items: readonly [];
9374
+ readonly page: {
9375
+ readonly nextCursor: null;
9376
+ readonly limit: 500;
9377
+ };
9378
+ };
9379
+ readonly meta: {
9380
+ readonly requestId: "req_01";
9381
+ readonly surface: "partner";
9382
+ readonly version: "1.0";
9383
+ };
9384
+ };
9385
+ };
9386
+ };
9387
+ };
9388
+ readonly getSitemapExport: {
9389
+ readonly id: "partner.sites.sitemaps.export.get";
9390
+ readonly method: "GET";
9391
+ readonly path: "/sites/{siteId}/sitemaps/export";
9392
+ readonly visibility: "public";
9393
+ readonly semantics: {
9394
+ readonly kind: "query";
9395
+ readonly sideEffects: "none";
9396
+ readonly idempotent: true;
9397
+ readonly retry: "idempotent";
9398
+ readonly readConsistency: "primary";
9399
+ };
9400
+ readonly auth: {
9401
+ readonly credentials: readonly ["user_key", "partner_key"];
9402
+ readonly scopes: readonly ["sitemaps:read"];
9403
+ readonly ownership: readonly [{
9404
+ readonly credential: "user_key";
9405
+ readonly rule: "authorized_site";
9406
+ }, {
9407
+ readonly credential: "partner_key";
9408
+ readonly rule: "authorized_site";
9409
+ }];
9410
+ };
9411
+ readonly request: {
9412
+ readonly params: z.ZodObject<{
9413
+ siteId: z.ZodString;
9414
+ }, z.core.$strict>;
9415
+ readonly query: z.ZodObject<{
9416
+ generationId: z.ZodOptional<z.ZodString>;
9417
+ feedpath: z.ZodOptional<z.ZodString>;
9418
+ }, z.core.$strict>;
9419
+ readonly headers: z.ZodObject<{
9420
+ 'x-request-id': z.ZodOptional<z.ZodString>;
9421
+ }, z.core.$strict>;
9422
+ readonly body: null;
9423
+ };
9424
+ readonly responses: {
9425
+ readonly 200: CompatibleResponseSchema<z.ZodObject<{
9426
+ data: z.ZodObject<{
9427
+ generation: z.ZodObject<{
9428
+ id: z.ZodString;
9429
+ observedAt: z.ZodNumber;
9430
+ publishedAt: z.ZodNumber;
9431
+ completeness: z.ZodObject<{
9432
+ _tag: z.ZodLiteral<"complete">;
9433
+ }, z.core.$strict>;
9434
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
9435
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
9436
+ _tag: z.ZodLiteral<"none">;
9437
+ }, z.core.$strict>, z.ZodObject<{
9438
+ _tag: z.ZodLiteral<"metadata_only">;
9439
+ importedAt: z.ZodNumber;
9440
+ recordCount: z.ZodNumber;
9441
+ source: z.ZodLiteral<"gsc_sitemaps">;
9442
+ }, z.core.$strict>], "_tag">;
9443
+ }, z.core.$strict>;
9444
+ export: z.ZodDiscriminatedUnion<[z.ZodObject<{
9445
+ _tag: z.ZodLiteral<"url">;
9446
+ url: z.ZodURL;
9447
+ expiresAt: z.ZodNumber;
9448
+ contentType: z.ZodLiteral<"application/x-ndjson">;
9449
+ contentEncoding: z.ZodEnum<{
9450
+ identity: "identity";
9451
+ gzip: "gzip";
9452
+ }>;
9453
+ }, z.core.$strict>, z.ZodObject<{
9454
+ _tag: z.ZodLiteral<"unavailable">;
9455
+ reason: z.ZodEnum<{
9456
+ generation_not_found: "generation_not_found";
9457
+ export_unavailable: "export_unavailable";
9458
+ }>;
9459
+ }, z.core.$strict>], "_tag">;
9460
+ }, z.core.$strict>;
9461
+ meta: z.ZodObject<{
9462
+ readonly requestId: z.ZodString;
9463
+ readonly surface: z.ZodLiteral<"partner">;
9464
+ readonly version: z.ZodLiteral<"1.0">;
9465
+ }, z.core.$strip>;
9466
+ }, z.core.$strip>, z.ZodObject<{
9467
+ data: z.ZodObject<{
9468
+ generation: z.ZodObject<{
9469
+ id: z.ZodString;
9470
+ observedAt: z.ZodNumber;
9471
+ publishedAt: z.ZodNumber;
9472
+ completeness: z.ZodObject<{
9473
+ _tag: z.ZodLiteral<"complete">;
9474
+ }, z.core.$strict>;
9475
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
9476
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
9477
+ _tag: z.ZodLiteral<"none">;
9478
+ }, z.core.$strict>, z.ZodObject<{
9479
+ _tag: z.ZodLiteral<"metadata_only">;
9480
+ importedAt: z.ZodNumber;
9481
+ recordCount: z.ZodNumber;
9482
+ source: z.ZodLiteral<"gsc_sitemaps">;
9483
+ }, z.core.$strict>], "_tag">;
9484
+ }, z.core.$strict>;
9485
+ export: z.ZodDiscriminatedUnion<[z.ZodObject<{
9486
+ _tag: z.ZodLiteral<"url">;
9487
+ url: z.ZodURL;
9488
+ expiresAt: z.ZodNumber;
9489
+ contentType: z.ZodLiteral<"application/x-ndjson">;
9490
+ contentEncoding: z.ZodEnum<{
9491
+ identity: "identity";
9492
+ gzip: "gzip";
9493
+ }>;
9494
+ }, z.core.$strict>, z.ZodObject<{
9495
+ _tag: z.ZodLiteral<"unavailable">;
9496
+ reason: z.ZodEnum<{
9497
+ generation_not_found: "generation_not_found";
9498
+ export_unavailable: "export_unavailable";
9499
+ }>;
9500
+ }, z.core.$strict>], "_tag">;
9501
+ }, z.core.$strict>;
9502
+ meta: z.ZodObject<{
9503
+ readonly requestId: z.ZodString;
9504
+ readonly surface: z.ZodLiteral<"partner">;
9505
+ readonly version: z.ZodLiteral<"1.0">;
9506
+ }, z.core.$strip>;
9507
+ }, z.core.$strip>>;
9508
+ };
9509
+ readonly errors: readonly ["invalid_request", "unauthorized", "forbidden", "site_not_found", "rate_limited", "internal_error", "contract_violation"];
9510
+ readonly errorResponse: CompatibleResponseSchema<z.ZodObject<{
9511
+ readonly error: z.ZodObject<{
9512
+ code: z.ZodEnum<{
9513
+ internal_error: "internal_error";
9514
+ invalid_request: "invalid_request";
9515
+ unauthorized: "unauthorized";
9516
+ forbidden: "forbidden";
9517
+ site_not_found: "site_not_found";
9518
+ rate_limited: "rate_limited";
9519
+ contract_violation: "contract_violation";
9520
+ }>;
9521
+ message: z.ZodString;
9522
+ requestId: z.ZodString;
9523
+ retryable: z.ZodBoolean;
9524
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
9525
+ }, z.core.$strict>;
9526
+ }, z.core.$strip>, z.ZodObject<{
9527
+ readonly error: z.ZodObject<{
9528
+ code: z.ZodEnum<{
9529
+ internal_error: "internal_error";
9530
+ invalid_request: "invalid_request";
9531
+ unauthorized: "unauthorized";
9532
+ forbidden: "forbidden";
9533
+ site_not_found: "site_not_found";
9534
+ rate_limited: "rate_limited";
9535
+ contract_violation: "contract_violation";
9536
+ }>;
9537
+ message: z.ZodString;
9538
+ requestId: z.ZodString;
9539
+ retryable: z.ZodBoolean;
9540
+ details: z.ZodRecord<z.ZodString, z.ZodJSONSchema>;
9541
+ }, z.core.$loose>;
9542
+ }, z.core.$strip>>;
9543
+ readonly resources: {
9544
+ readonly reads: readonly [{
9545
+ readonly type: "site.sitemaps";
9546
+ readonly idFrom: "params.siteId";
9547
+ }];
9548
+ readonly changes: readonly [];
9549
+ };
9550
+ readonly lifecycle: {
9551
+ readonly introduced: "2.0.0";
9552
+ };
9553
+ readonly docs: {
9554
+ readonly summary: "Get sitemap bulk export";
9555
+ readonly description: "Returns a generation-pinned expiring URL for the full NDJSON sitemap projection.";
9556
+ readonly tags: readonly ["Sitemaps"];
9557
+ readonly examples: {
9558
+ readonly request: {
9559
+ readonly params: {
9560
+ readonly siteId: "s_01";
9561
+ };
9562
+ };
9563
+ readonly response: {
9564
+ readonly data: {
9565
+ readonly generation: {
9566
+ readonly id: "site-01JZ";
9567
+ readonly observedAt: 1753746000000;
9568
+ readonly publishedAt: 1753746000100;
9569
+ readonly completeness: {
9570
+ readonly _tag: "complete";
9571
+ };
9572
+ readonly membershipHistoryAvailableFrom: 1753746000000;
9573
+ readonly legacyImport: {
9574
+ readonly _tag: "none";
9575
+ };
9576
+ };
9577
+ readonly export: {
9578
+ readonly _tag: "unavailable";
9579
+ readonly reason: "export_unavailable";
8953
9580
  };
8954
9581
  };
8955
9582
  readonly meta: {