@gscdump/contracts 1.5.3 → 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.
- 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/browser.d.mts +30 -0
- package/dist/v1/browser.mjs +8 -0
- package/dist/v1/operations.d.mts +711 -54
- package/dist/v1/operations.mjs +174 -21
- package/package.json +1 -1
package/dist/v1/operations.d.mts
CHANGED
|
@@ -736,12 +736,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
736
736
|
googleNews: "googleNews";
|
|
737
737
|
}>>;
|
|
738
738
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
739
|
-
date: "date";
|
|
740
739
|
page: "page";
|
|
741
740
|
query: "query";
|
|
742
741
|
queryCanonical: "queryCanonical";
|
|
743
742
|
country: "country";
|
|
744
743
|
device: "device";
|
|
744
|
+
date: "date";
|
|
745
745
|
searchAppearance: "searchAppearance";
|
|
746
746
|
hour: "hour";
|
|
747
747
|
}>>;
|
|
@@ -756,12 +756,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
756
756
|
googleNews: "googleNews";
|
|
757
757
|
}>>;
|
|
758
758
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
759
|
-
date: "date";
|
|
760
759
|
page: "page";
|
|
761
760
|
query: "query";
|
|
762
761
|
queryCanonical: "queryCanonical";
|
|
763
762
|
country: "country";
|
|
764
763
|
device: "device";
|
|
764
|
+
date: "date";
|
|
765
765
|
searchAppearance: "searchAppearance";
|
|
766
766
|
hour: "hour";
|
|
767
767
|
}>>;
|
|
@@ -893,12 +893,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
893
893
|
googleNews: "googleNews";
|
|
894
894
|
}>>;
|
|
895
895
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
896
|
-
date: "date";
|
|
897
896
|
page: "page";
|
|
898
897
|
query: "query";
|
|
899
898
|
queryCanonical: "queryCanonical";
|
|
900
899
|
country: "country";
|
|
901
900
|
device: "device";
|
|
901
|
+
date: "date";
|
|
902
902
|
searchAppearance: "searchAppearance";
|
|
903
903
|
hour: "hour";
|
|
904
904
|
}>>;
|
|
@@ -913,12 +913,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
913
913
|
googleNews: "googleNews";
|
|
914
914
|
}>>;
|
|
915
915
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
916
|
-
date: "date";
|
|
917
916
|
page: "page";
|
|
918
917
|
query: "query";
|
|
919
918
|
queryCanonical: "queryCanonical";
|
|
920
919
|
country: "country";
|
|
921
920
|
device: "device";
|
|
921
|
+
date: "date";
|
|
922
922
|
searchAppearance: "searchAppearance";
|
|
923
923
|
hour: "hour";
|
|
924
924
|
}>>;
|
|
@@ -1021,12 +1021,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1021
1021
|
}, z.core.$strip>>;
|
|
1022
1022
|
analyticsRowsRequest: z.ZodObject<{
|
|
1023
1023
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
1024
|
-
date: "date";
|
|
1025
1024
|
page: "page";
|
|
1026
1025
|
query: "query";
|
|
1027
1026
|
queryCanonical: "queryCanonical";
|
|
1028
1027
|
country: "country";
|
|
1029
1028
|
device: "device";
|
|
1029
|
+
date: "date";
|
|
1030
1030
|
searchAppearance: "searchAppearance";
|
|
1031
1031
|
hour: "hour";
|
|
1032
1032
|
}>>;
|
|
@@ -1841,6 +1841,36 @@ declare function createGscdumpV1Protocol(): {
|
|
|
1841
1841
|
readonly version: z.ZodLiteral<"1.0">;
|
|
1842
1842
|
}, z.core.$strip>;
|
|
1843
1843
|
}, z.core.$strip>>;
|
|
1844
|
+
keywordEnrichmentRequest: z.ZodObject<{
|
|
1845
|
+
keywords: z.ZodArray<z.ZodString>;
|
|
1846
|
+
}, z.core.$strict>;
|
|
1847
|
+
keywordEnrichmentResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
1848
|
+
data: z.ZodObject<{
|
|
1849
|
+
readonly metrics: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1850
|
+
difficulty: z.ZodNullable<z.ZodNumber>;
|
|
1851
|
+
searchVolume: z.ZodNullable<z.ZodNumber>;
|
|
1852
|
+
cpc: z.ZodNullable<z.ZodNumber>;
|
|
1853
|
+
}, z.core.$loose>>;
|
|
1854
|
+
}, z.core.$strip>;
|
|
1855
|
+
meta: z.ZodObject<{
|
|
1856
|
+
readonly requestId: z.ZodString;
|
|
1857
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
1858
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
1859
|
+
}, z.core.$strip>;
|
|
1860
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1861
|
+
data: z.ZodObject<{
|
|
1862
|
+
readonly metrics: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1863
|
+
difficulty: z.ZodNullable<z.ZodNumber>;
|
|
1864
|
+
searchVolume: z.ZodNullable<z.ZodNumber>;
|
|
1865
|
+
cpc: z.ZodNullable<z.ZodNumber>;
|
|
1866
|
+
}, z.core.$loose>>;
|
|
1867
|
+
}, z.core.$strip>;
|
|
1868
|
+
meta: z.ZodObject<{
|
|
1869
|
+
readonly requestId: z.ZodString;
|
|
1870
|
+
readonly surface: z.ZodLiteral<"partner">;
|
|
1871
|
+
readonly version: z.ZodLiteral<"1.0">;
|
|
1872
|
+
}, z.core.$strip>;
|
|
1873
|
+
}, z.core.$strip>>;
|
|
1844
1874
|
lifecycleResponse: CompatibleResponseSchema<z.ZodObject<{
|
|
1845
1875
|
data: z.ZodObject<{
|
|
1846
1876
|
readonly userId: z.ZodString;
|
|
@@ -2155,10 +2185,10 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2155
2185
|
}, z.core.$strip>;
|
|
2156
2186
|
}, z.core.$strip>>;
|
|
2157
2187
|
registerSiteRequest: z.ZodObject<{
|
|
2158
|
-
siteUrl: z.ZodString;
|
|
2159
2188
|
externalSiteId: z.ZodOptional<z.ZodString>;
|
|
2160
2189
|
requestedUrl: z.ZodOptional<z.ZodString>;
|
|
2161
2190
|
gscPropertyUrl: z.ZodOptional<z.ZodString>;
|
|
2191
|
+
siteUrl: z.ZodString;
|
|
2162
2192
|
externalSiteUrl: z.ZodOptional<z.ZodString>;
|
|
2163
2193
|
webhookUrl: z.ZodOptional<z.ZodURL>;
|
|
2164
2194
|
webhookEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -2187,6 +2217,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2187
2217
|
readonly summary: z.ZodObject<{
|
|
2188
2218
|
totalAdded: z.ZodNumber;
|
|
2189
2219
|
totalRemoved: z.ZodNumber;
|
|
2220
|
+
totalUpdated: z.ZodNumber;
|
|
2190
2221
|
period: z.ZodObject<{
|
|
2191
2222
|
days: z.ZodNumber;
|
|
2192
2223
|
}, z.core.$strip>;
|
|
@@ -2201,6 +2232,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2201
2232
|
scan_limit: "scan_limit";
|
|
2202
2233
|
added_limit: "added_limit";
|
|
2203
2234
|
removed_limit: "removed_limit";
|
|
2235
|
+
updated_limit: "updated_limit";
|
|
2236
|
+
history_unavailable: "history_unavailable";
|
|
2204
2237
|
}>>;
|
|
2205
2238
|
limits: z.ZodObject<{
|
|
2206
2239
|
scannedUrls: z.ZodNumber;
|
|
@@ -2218,6 +2251,30 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2218
2251
|
sitemap: z.ZodString;
|
|
2219
2252
|
removedAt: z.ZodNumber;
|
|
2220
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>>>;
|
|
2221
2278
|
}, z.core.$strip>;
|
|
2222
2279
|
meta: z.ZodObject<{
|
|
2223
2280
|
readonly requestId: z.ZodString;
|
|
@@ -2229,6 +2286,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2229
2286
|
readonly summary: z.ZodObject<{
|
|
2230
2287
|
totalAdded: z.ZodNumber;
|
|
2231
2288
|
totalRemoved: z.ZodNumber;
|
|
2289
|
+
totalUpdated: z.ZodNumber;
|
|
2232
2290
|
period: z.ZodObject<{
|
|
2233
2291
|
days: z.ZodNumber;
|
|
2234
2292
|
}, z.core.$strip>;
|
|
@@ -2248,6 +2306,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2248
2306
|
scan_limit: "scan_limit";
|
|
2249
2307
|
added_limit: "added_limit";
|
|
2250
2308
|
removed_limit: "removed_limit";
|
|
2309
|
+
updated_limit: "updated_limit";
|
|
2310
|
+
history_unavailable: "history_unavailable";
|
|
2251
2311
|
}>>;
|
|
2252
2312
|
}, z.core.$loose>], "_tag">;
|
|
2253
2313
|
readonly added: z.ZodArray<z.ZodObject<{
|
|
@@ -2260,6 +2320,30 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2260
2320
|
sitemap: z.ZodString;
|
|
2261
2321
|
removedAt: z.ZodNumber;
|
|
2262
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>>>;
|
|
2263
2347
|
}, z.core.$strip>;
|
|
2264
2348
|
meta: z.ZodObject<{
|
|
2265
2349
|
readonly requestId: z.ZodString;
|
|
@@ -2303,6 +2387,23 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2303
2387
|
duplicateCount: z.ZodNumber;
|
|
2304
2388
|
}, z.core.$strip>;
|
|
2305
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>>>;
|
|
2306
2407
|
}, z.core.$strip>;
|
|
2307
2408
|
meta: z.ZodObject<{
|
|
2308
2409
|
readonly requestId: z.ZodString;
|
|
@@ -2345,6 +2446,23 @@ declare function createGscdumpV1Protocol(): {
|
|
|
2345
2446
|
duplicateCount: z.ZodNumber;
|
|
2346
2447
|
}, z.core.$strip>;
|
|
2347
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>>>;
|
|
2348
2466
|
}, z.core.$strip>;
|
|
2349
2467
|
meta: z.ZodObject<{
|
|
2350
2468
|
readonly requestId: z.ZodString;
|
|
@@ -3482,10 +3600,10 @@ declare function createGscdumpV1Protocol(): {
|
|
|
3482
3600
|
'x-request-id': z.ZodOptional<z.ZodString>;
|
|
3483
3601
|
}, z.core.$strict>;
|
|
3484
3602
|
readonly body: z.ZodObject<{
|
|
3485
|
-
siteUrl: z.ZodString;
|
|
3486
3603
|
externalSiteId: z.ZodOptional<z.ZodString>;
|
|
3487
3604
|
requestedUrl: z.ZodOptional<z.ZodString>;
|
|
3488
3605
|
gscPropertyUrl: z.ZodOptional<z.ZodString>;
|
|
3606
|
+
siteUrl: z.ZodString;
|
|
3489
3607
|
externalSiteUrl: z.ZodOptional<z.ZodString>;
|
|
3490
3608
|
webhookUrl: z.ZodOptional<z.ZodURL>;
|
|
3491
3609
|
webhookEvents: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
@@ -5261,6 +5379,23 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5261
5379
|
duplicateCount: z.ZodNumber;
|
|
5262
5380
|
}, z.core.$strip>;
|
|
5263
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>>>;
|
|
5264
5399
|
}, z.core.$strip>;
|
|
5265
5400
|
meta: z.ZodObject<{
|
|
5266
5401
|
readonly requestId: z.ZodString;
|
|
@@ -5303,6 +5438,23 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5303
5438
|
duplicateCount: z.ZodNumber;
|
|
5304
5439
|
}, z.core.$strip>;
|
|
5305
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>>>;
|
|
5306
5458
|
}, z.core.$strip>;
|
|
5307
5459
|
meta: z.ZodObject<{
|
|
5308
5460
|
readonly requestId: z.ZodString;
|
|
@@ -5370,6 +5522,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5370
5522
|
readonly sitemaps: readonly [];
|
|
5371
5523
|
readonly history: readonly [];
|
|
5372
5524
|
readonly perSitemapHistory: {};
|
|
5525
|
+
readonly generation: null;
|
|
5373
5526
|
readonly meta: {
|
|
5374
5527
|
readonly siteUrl: "sc-domain:example.com";
|
|
5375
5528
|
readonly gscPropertyUrl: "sc-domain:example.com";
|
|
@@ -5430,6 +5583,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5430
5583
|
readonly summary: z.ZodObject<{
|
|
5431
5584
|
totalAdded: z.ZodNumber;
|
|
5432
5585
|
totalRemoved: z.ZodNumber;
|
|
5586
|
+
totalUpdated: z.ZodNumber;
|
|
5433
5587
|
period: z.ZodObject<{
|
|
5434
5588
|
days: z.ZodNumber;
|
|
5435
5589
|
}, z.core.$strip>;
|
|
@@ -5444,6 +5598,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5444
5598
|
scan_limit: "scan_limit";
|
|
5445
5599
|
added_limit: "added_limit";
|
|
5446
5600
|
removed_limit: "removed_limit";
|
|
5601
|
+
updated_limit: "updated_limit";
|
|
5602
|
+
history_unavailable: "history_unavailable";
|
|
5447
5603
|
}>>;
|
|
5448
5604
|
limits: z.ZodObject<{
|
|
5449
5605
|
scannedUrls: z.ZodNumber;
|
|
@@ -5461,6 +5617,30 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5461
5617
|
sitemap: z.ZodString;
|
|
5462
5618
|
removedAt: z.ZodNumber;
|
|
5463
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>>>;
|
|
5464
5644
|
}, z.core.$strip>;
|
|
5465
5645
|
meta: z.ZodObject<{
|
|
5466
5646
|
readonly requestId: z.ZodString;
|
|
@@ -5472,6 +5652,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5472
5652
|
readonly summary: z.ZodObject<{
|
|
5473
5653
|
totalAdded: z.ZodNumber;
|
|
5474
5654
|
totalRemoved: z.ZodNumber;
|
|
5655
|
+
totalUpdated: z.ZodNumber;
|
|
5475
5656
|
period: z.ZodObject<{
|
|
5476
5657
|
days: z.ZodNumber;
|
|
5477
5658
|
}, z.core.$strip>;
|
|
@@ -5491,6 +5672,8 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5491
5672
|
scan_limit: "scan_limit";
|
|
5492
5673
|
added_limit: "added_limit";
|
|
5493
5674
|
removed_limit: "removed_limit";
|
|
5675
|
+
updated_limit: "updated_limit";
|
|
5676
|
+
history_unavailable: "history_unavailable";
|
|
5494
5677
|
}>>;
|
|
5495
5678
|
}, z.core.$loose>], "_tag">;
|
|
5496
5679
|
readonly added: z.ZodArray<z.ZodObject<{
|
|
@@ -5503,6 +5686,30 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5503
5686
|
sitemap: z.ZodString;
|
|
5504
5687
|
removedAt: z.ZodNumber;
|
|
5505
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>>>;
|
|
5506
5713
|
}, z.core.$strip>;
|
|
5507
5714
|
meta: z.ZodObject<{
|
|
5508
5715
|
readonly requestId: z.ZodString;
|
|
@@ -5572,9 +5779,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
5572
5779
|
readonly data: {
|
|
5573
5780
|
readonly added: readonly [];
|
|
5574
5781
|
readonly removed: readonly [];
|
|
5782
|
+
readonly updated: readonly [];
|
|
5783
|
+
readonly generation: null;
|
|
5575
5784
|
readonly summary: {
|
|
5576
5785
|
readonly totalAdded: 0;
|
|
5577
5786
|
readonly totalRemoved: 0;
|
|
5787
|
+
readonly totalUpdated: 0;
|
|
5578
5788
|
readonly period: {
|
|
5579
5789
|
readonly days: 28;
|
|
5580
5790
|
};
|
|
@@ -8786,34 +8996,56 @@ declare function createGscdumpV1Protocol(): {
|
|
|
8786
8996
|
}, z.core.$strict>;
|
|
8787
8997
|
readonly body: z.ZodObject<{
|
|
8788
8998
|
urls: z.ZodArray<z.ZodString>;
|
|
8789
|
-
|
|
8999
|
+
generationId: z.ZodOptional<z.ZodString>;
|
|
8790
9000
|
}, z.core.$strict>;
|
|
8791
9001
|
};
|
|
8792
9002
|
readonly responses: {
|
|
8793
9003
|
readonly 200: CompatibleResponseSchema<z.ZodObject<{
|
|
8794
9004
|
data: z.ZodObject<{
|
|
8795
|
-
|
|
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">;
|
|
8796
9024
|
url: z.ZodString;
|
|
8797
|
-
|
|
8798
|
-
|
|
8799
|
-
|
|
8800
|
-
lastSeenAt: z.
|
|
8801
|
-
|
|
8802
|
-
|
|
8803
|
-
|
|
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">>;
|
|
8804
9044
|
meta: z.ZodObject<{
|
|
8805
|
-
available: z.ZodBoolean;
|
|
8806
|
-
reason: z.ZodNullable<z.ZodEnum<{
|
|
8807
|
-
empty: "empty";
|
|
8808
|
-
endpoint_unavailable: "endpoint_unavailable";
|
|
8809
|
-
site_url_cap_exceeded: "site_url_cap_exceeded";
|
|
8810
|
-
stale_sitemaps: "stale_sitemaps";
|
|
8811
|
-
}>>;
|
|
8812
9045
|
requested: z.ZodNumber;
|
|
8813
9046
|
checked: z.ZodNumber;
|
|
8814
9047
|
matched: z.ZodNumber;
|
|
8815
|
-
|
|
8816
|
-
}, z.core.$loose>;
|
|
9048
|
+
}, z.core.$strict>;
|
|
8817
9049
|
}, z.core.$strip>;
|
|
8818
9050
|
meta: z.ZodObject<{
|
|
8819
9051
|
readonly requestId: z.ZodString;
|
|
@@ -8822,28 +9054,50 @@ declare function createGscdumpV1Protocol(): {
|
|
|
8822
9054
|
}, z.core.$strip>;
|
|
8823
9055
|
}, z.core.$strip>, z.ZodObject<{
|
|
8824
9056
|
data: z.ZodObject<{
|
|
8825
|
-
|
|
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">;
|
|
8826
9076
|
url: z.ZodString;
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
|
|
8830
|
-
lastSeenAt: z.
|
|
8831
|
-
|
|
8832
|
-
|
|
8833
|
-
|
|
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">>;
|
|
8834
9096
|
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
9097
|
requested: z.ZodNumber;
|
|
8843
9098
|
checked: z.ZodNumber;
|
|
8844
9099
|
matched: z.ZodNumber;
|
|
8845
|
-
|
|
8846
|
-
}, z.core.$loose>;
|
|
9100
|
+
}, z.core.$strict>;
|
|
8847
9101
|
}, z.core.$strip>;
|
|
8848
9102
|
meta: z.ZodObject<{
|
|
8849
9103
|
readonly requestId: z.ZodString;
|
|
@@ -8898,7 +9152,7 @@ declare function createGscdumpV1Protocol(): {
|
|
|
8898
9152
|
};
|
|
8899
9153
|
readonly docs: {
|
|
8900
9154
|
readonly summary: "Query sitemap membership";
|
|
8901
|
-
readonly description: "
|
|
9155
|
+
readonly description: "Returns generation-pinned present, absent, or unknown evidence for each exact requested URL.";
|
|
8902
9156
|
readonly tags: readonly ["Sitemaps"];
|
|
8903
9157
|
readonly examples: {
|
|
8904
9158
|
readonly request: {
|
|
@@ -8907,19 +9161,422 @@ declare function createGscdumpV1Protocol(): {
|
|
|
8907
9161
|
};
|
|
8908
9162
|
readonly body: {
|
|
8909
9163
|
readonly urls: readonly ["https://example.com/"];
|
|
8910
|
-
readonly maxAgeDays: 30;
|
|
8911
9164
|
};
|
|
8912
9165
|
};
|
|
8913
9166
|
readonly response: {
|
|
8914
9167
|
readonly data: {
|
|
8915
|
-
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
|
+
}];
|
|
8916
9174
|
readonly meta: {
|
|
8917
|
-
readonly available: true;
|
|
8918
|
-
readonly reason: null;
|
|
8919
9175
|
readonly requested: 1;
|
|
8920
|
-
readonly checked:
|
|
9176
|
+
readonly checked: 0;
|
|
8921
9177
|
readonly matched: 0;
|
|
8922
|
-
|
|
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";
|
|
8923
9580
|
};
|
|
8924
9581
|
};
|
|
8925
9582
|
readonly meta: {
|
|
@@ -11217,12 +11874,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
11217
11874
|
}, z.core.$strict>;
|
|
11218
11875
|
readonly body: z.ZodObject<{
|
|
11219
11876
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
11220
|
-
date: "date";
|
|
11221
11877
|
page: "page";
|
|
11222
11878
|
query: "query";
|
|
11223
11879
|
queryCanonical: "queryCanonical";
|
|
11224
11880
|
country: "country";
|
|
11225
11881
|
device: "device";
|
|
11882
|
+
date: "date";
|
|
11226
11883
|
searchAppearance: "searchAppearance";
|
|
11227
11884
|
hour: "hour";
|
|
11228
11885
|
}>>;
|
|
@@ -11420,12 +12077,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
11420
12077
|
googleNews: "googleNews";
|
|
11421
12078
|
}>>;
|
|
11422
12079
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
11423
|
-
date: "date";
|
|
11424
12080
|
page: "page";
|
|
11425
12081
|
query: "query";
|
|
11426
12082
|
queryCanonical: "queryCanonical";
|
|
11427
12083
|
country: "country";
|
|
11428
12084
|
device: "device";
|
|
12085
|
+
date: "date";
|
|
11429
12086
|
searchAppearance: "searchAppearance";
|
|
11430
12087
|
hour: "hour";
|
|
11431
12088
|
}>>;
|
|
@@ -11440,12 +12097,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
11440
12097
|
googleNews: "googleNews";
|
|
11441
12098
|
}>>;
|
|
11442
12099
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
11443
|
-
date: "date";
|
|
11444
12100
|
page: "page";
|
|
11445
12101
|
query: "query";
|
|
11446
12102
|
queryCanonical: "queryCanonical";
|
|
11447
12103
|
country: "country";
|
|
11448
12104
|
device: "device";
|
|
12105
|
+
date: "date";
|
|
11449
12106
|
searchAppearance: "searchAppearance";
|
|
11450
12107
|
hour: "hour";
|
|
11451
12108
|
}>>;
|
|
@@ -11681,12 +12338,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
11681
12338
|
googleNews: "googleNews";
|
|
11682
12339
|
}>>;
|
|
11683
12340
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
11684
|
-
date: "date";
|
|
11685
12341
|
page: "page";
|
|
11686
12342
|
query: "query";
|
|
11687
12343
|
queryCanonical: "queryCanonical";
|
|
11688
12344
|
country: "country";
|
|
11689
12345
|
device: "device";
|
|
12346
|
+
date: "date";
|
|
11690
12347
|
searchAppearance: "searchAppearance";
|
|
11691
12348
|
hour: "hour";
|
|
11692
12349
|
}>>;
|
|
@@ -11701,12 +12358,12 @@ declare function createGscdumpV1Protocol(): {
|
|
|
11701
12358
|
googleNews: "googleNews";
|
|
11702
12359
|
}>>;
|
|
11703
12360
|
dimensions: z.ZodArray<z.ZodEnum<{
|
|
11704
|
-
date: "date";
|
|
11705
12361
|
page: "page";
|
|
11706
12362
|
query: "query";
|
|
11707
12363
|
queryCanonical: "queryCanonical";
|
|
11708
12364
|
country: "country";
|
|
11709
12365
|
device: "device";
|
|
12366
|
+
date: "date";
|
|
11710
12367
|
searchAppearance: "searchAppearance";
|
|
11711
12368
|
hour: "hour";
|
|
11712
12369
|
}>>;
|