@nuxtseo/protocol 0.5.7 → 0.5.8

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.
@@ -1,8 +1,420 @@
1
1
  import type { z } from 'zod';
2
2
  import { gscdumpSitemapUrlsQuerySchema } from '@gscdump/contracts';
3
+ import { sitemapEvidenceV1Schemas } from '@gscdump/contracts/v1/http';
3
4
  export declare const siteSitemapParamsSchema: z.ZodObject<{
4
5
  siteId: z.ZodString;
5
6
  }, z.core.$strict>;
7
+ export declare const siteSitemapSubmissionDataSchema: z.ZodObject<{
8
+ searchEngine: z.ZodLiteral<"google">;
9
+ gscPropertyUrl: z.ZodString;
10
+ callerCanAct: z.ZodBoolean;
11
+ state: z.ZodUnion<readonly [...(z.ZodObject<{
12
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
13
+ readonly sitemapUrl: z.ZodURL;
14
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
15
+ grantHolder: z.ZodObject<{
16
+ _tag: z.ZodEnum<{
17
+ caller: "caller";
18
+ "site-owner": "site-owner";
19
+ }>;
20
+ }, z.core.$strict>;
21
+ }, z.core.$strict> | z.ZodObject<{
22
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
23
+ readonly sitemapUrl: z.ZodURL;
24
+ readonly permissionLevel: z.ZodString;
25
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
26
+ siteOwner: "siteOwner";
27
+ siteFullUser: "siteFullUser";
28
+ }>>;
29
+ grantHolder: z.ZodObject<{
30
+ _tag: z.ZodEnum<{
31
+ caller: "caller";
32
+ "site-owner": "site-owner";
33
+ }>;
34
+ }, z.core.$strict>;
35
+ }, z.core.$strict> | z.ZodObject<{
36
+ readonly _tag: z.ZodLiteral<"listed">;
37
+ readonly checkedOn: z.ZodISODate;
38
+ readonly sitemapCount: z.ZodNumber;
39
+ }, z.core.$strict> | z.ZodObject<{
40
+ readonly _tag: z.ZodLiteral<"awaiting-google">;
41
+ readonly checkedOn: z.ZodISODate;
42
+ readonly sitemapUrl: z.ZodURL;
43
+ readonly sitemapCount: z.ZodNumber;
44
+ }, z.core.$strict> | z.ZodObject<{
45
+ readonly _tag: z.ZodLiteral<"ready">;
46
+ readonly sitemapUrl: z.ZodURL;
47
+ readonly writeAccess: z.ZodEnum<{
48
+ unknown: "unknown";
49
+ granted: "granted";
50
+ }>;
51
+ }, z.core.$strict> | z.ZodObject<{
52
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
53
+ readonly _tag: z.ZodLiteral<"caller">;
54
+ }, z.core.$strip>, z.ZodObject<{
55
+ readonly _tag: z.ZodLiteral<"site-owner">;
56
+ readonly email: z.ZodEmail;
57
+ readonly name: z.ZodNullable<z.ZodString>;
58
+ }, z.core.$strip>], "_tag">;
59
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
60
+ readonly sitemapUrl: z.ZodURL;
61
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
62
+ }, z.core.$strict> | z.ZodObject<{
63
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
64
+ readonly _tag: z.ZodLiteral<"caller">;
65
+ }, z.core.$strip>, z.ZodObject<{
66
+ readonly _tag: z.ZodLiteral<"site-owner">;
67
+ readonly email: z.ZodEmail;
68
+ readonly name: z.ZodNullable<z.ZodString>;
69
+ }, z.core.$strip>], "_tag">;
70
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
71
+ readonly sitemapUrl: z.ZodURL;
72
+ readonly permissionLevel: z.ZodString;
73
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
74
+ siteOwner: "siteOwner";
75
+ siteFullUser: "siteFullUser";
76
+ }>>;
77
+ }, z.core.$strict> | z.ZodObject<{
78
+ readonly _tag: z.ZodLiteral<"no-sitemap-found">;
79
+ readonly checkedOn: z.ZodISODate;
80
+ }, z.core.$strict> | z.ZodObject<{
81
+ readonly _tag: z.ZodLiteral<"not-checked">;
82
+ }, z.core.$strict> | z.ZodObject<{
83
+ readonly _tag: z.ZodLiteral<"unavailable">;
84
+ readonly reason: z.ZodEnum<{
85
+ "permission-lost": "permission-lost";
86
+ "grant-missing": "grant-missing";
87
+ }>;
88
+ }, z.core.$strict>)[], z.ZodObject<{
89
+ _tag: z.ZodLiteral<"unknown">;
90
+ }, z.core.$strict>]>;
91
+ }, z.core.$strict>;
92
+ export declare const siteSitemapSubmissionResponseSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
93
+ data: z.ZodObject<{
94
+ searchEngine: z.ZodLiteral<"google">;
95
+ gscPropertyUrl: z.ZodString;
96
+ callerCanAct: z.ZodBoolean;
97
+ state: z.ZodUnion<readonly [...(z.ZodObject<{
98
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
99
+ readonly sitemapUrl: z.ZodURL;
100
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
101
+ grantHolder: z.ZodObject<{
102
+ _tag: z.ZodEnum<{
103
+ caller: "caller";
104
+ "site-owner": "site-owner";
105
+ }>;
106
+ }, z.core.$strict>;
107
+ }, z.core.$strict> | z.ZodObject<{
108
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
109
+ readonly sitemapUrl: z.ZodURL;
110
+ readonly permissionLevel: z.ZodString;
111
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
112
+ siteOwner: "siteOwner";
113
+ siteFullUser: "siteFullUser";
114
+ }>>;
115
+ grantHolder: z.ZodObject<{
116
+ _tag: z.ZodEnum<{
117
+ caller: "caller";
118
+ "site-owner": "site-owner";
119
+ }>;
120
+ }, z.core.$strict>;
121
+ }, z.core.$strict> | z.ZodObject<{
122
+ readonly _tag: z.ZodLiteral<"listed">;
123
+ readonly checkedOn: z.ZodISODate;
124
+ readonly sitemapCount: z.ZodNumber;
125
+ }, z.core.$strict> | z.ZodObject<{
126
+ readonly _tag: z.ZodLiteral<"awaiting-google">;
127
+ readonly checkedOn: z.ZodISODate;
128
+ readonly sitemapUrl: z.ZodURL;
129
+ readonly sitemapCount: z.ZodNumber;
130
+ }, z.core.$strict> | z.ZodObject<{
131
+ readonly _tag: z.ZodLiteral<"ready">;
132
+ readonly sitemapUrl: z.ZodURL;
133
+ readonly writeAccess: z.ZodEnum<{
134
+ unknown: "unknown";
135
+ granted: "granted";
136
+ }>;
137
+ }, z.core.$strict> | z.ZodObject<{
138
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
139
+ readonly _tag: z.ZodLiteral<"caller">;
140
+ }, z.core.$strip>, z.ZodObject<{
141
+ readonly _tag: z.ZodLiteral<"site-owner">;
142
+ readonly email: z.ZodEmail;
143
+ readonly name: z.ZodNullable<z.ZodString>;
144
+ }, z.core.$strip>], "_tag">;
145
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
146
+ readonly sitemapUrl: z.ZodURL;
147
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
148
+ }, z.core.$strict> | z.ZodObject<{
149
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
150
+ readonly _tag: z.ZodLiteral<"caller">;
151
+ }, z.core.$strip>, z.ZodObject<{
152
+ readonly _tag: z.ZodLiteral<"site-owner">;
153
+ readonly email: z.ZodEmail;
154
+ readonly name: z.ZodNullable<z.ZodString>;
155
+ }, z.core.$strip>], "_tag">;
156
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
157
+ readonly sitemapUrl: z.ZodURL;
158
+ readonly permissionLevel: z.ZodString;
159
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
160
+ siteOwner: "siteOwner";
161
+ siteFullUser: "siteFullUser";
162
+ }>>;
163
+ }, z.core.$strict> | z.ZodObject<{
164
+ readonly _tag: z.ZodLiteral<"no-sitemap-found">;
165
+ readonly checkedOn: z.ZodISODate;
166
+ }, z.core.$strict> | z.ZodObject<{
167
+ readonly _tag: z.ZodLiteral<"not-checked">;
168
+ }, z.core.$strict> | z.ZodObject<{
169
+ readonly _tag: z.ZodLiteral<"unavailable">;
170
+ readonly reason: z.ZodEnum<{
171
+ "permission-lost": "permission-lost";
172
+ "grant-missing": "grant-missing";
173
+ }>;
174
+ }, z.core.$strict>)[], z.ZodObject<{
175
+ _tag: z.ZodLiteral<"unknown">;
176
+ }, z.core.$strict>]>;
177
+ }, z.core.$strict>;
178
+ meta: z.ZodObject<{
179
+ requestId: z.ZodString;
180
+ version: z.ZodLiteral<"1.0">;
181
+ }, z.core.$strict>;
182
+ }, z.core.$strip>, z.ZodObject<{
183
+ data: z.ZodObject<{
184
+ searchEngine: z.ZodLiteral<"google">;
185
+ gscPropertyUrl: z.ZodString;
186
+ callerCanAct: z.ZodBoolean;
187
+ state: z.ZodUnion<readonly [...(z.ZodObject<{
188
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
189
+ readonly sitemapUrl: z.ZodURL;
190
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
191
+ grantHolder: z.ZodObject<{
192
+ _tag: z.ZodEnum<{
193
+ caller: "caller";
194
+ "site-owner": "site-owner";
195
+ }>;
196
+ }, z.core.$loose>;
197
+ }, z.core.$loose> | z.ZodObject<{
198
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
199
+ readonly sitemapUrl: z.ZodURL;
200
+ readonly permissionLevel: z.ZodString;
201
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
202
+ siteOwner: "siteOwner";
203
+ siteFullUser: "siteFullUser";
204
+ }>>;
205
+ grantHolder: z.ZodObject<{
206
+ _tag: z.ZodEnum<{
207
+ caller: "caller";
208
+ "site-owner": "site-owner";
209
+ }>;
210
+ }, z.core.$loose>;
211
+ }, z.core.$loose> | z.ZodObject<{
212
+ readonly _tag: z.ZodLiteral<"listed">;
213
+ readonly checkedOn: z.ZodISODate;
214
+ readonly sitemapCount: z.ZodNumber;
215
+ }, z.core.$loose> | z.ZodObject<{
216
+ readonly _tag: z.ZodLiteral<"awaiting-google">;
217
+ readonly checkedOn: z.ZodISODate;
218
+ readonly sitemapUrl: z.ZodURL;
219
+ readonly sitemapCount: z.ZodNumber;
220
+ }, z.core.$loose> | z.ZodObject<{
221
+ readonly _tag: z.ZodLiteral<"ready">;
222
+ readonly sitemapUrl: z.ZodURL;
223
+ readonly writeAccess: z.ZodEnum<{
224
+ unknown: "unknown";
225
+ granted: "granted";
226
+ }>;
227
+ }, z.core.$loose> | z.ZodObject<{
228
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
229
+ readonly _tag: z.ZodLiteral<"caller">;
230
+ }, z.core.$strip>, z.ZodObject<{
231
+ readonly _tag: z.ZodLiteral<"site-owner">;
232
+ readonly email: z.ZodEmail;
233
+ readonly name: z.ZodNullable<z.ZodString>;
234
+ }, z.core.$strip>], "_tag">;
235
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
236
+ readonly sitemapUrl: z.ZodURL;
237
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
238
+ }, z.core.$loose> | z.ZodObject<{
239
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
240
+ readonly _tag: z.ZodLiteral<"caller">;
241
+ }, z.core.$strip>, z.ZodObject<{
242
+ readonly _tag: z.ZodLiteral<"site-owner">;
243
+ readonly email: z.ZodEmail;
244
+ readonly name: z.ZodNullable<z.ZodString>;
245
+ }, z.core.$strip>], "_tag">;
246
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
247
+ readonly sitemapUrl: z.ZodURL;
248
+ readonly permissionLevel: z.ZodString;
249
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
250
+ siteOwner: "siteOwner";
251
+ siteFullUser: "siteFullUser";
252
+ }>>;
253
+ }, z.core.$loose> | z.ZodObject<{
254
+ readonly _tag: z.ZodLiteral<"no-sitemap-found">;
255
+ readonly checkedOn: z.ZodISODate;
256
+ }, z.core.$loose> | z.ZodObject<{
257
+ readonly _tag: z.ZodLiteral<"not-checked">;
258
+ }, z.core.$loose> | z.ZodObject<{
259
+ readonly _tag: z.ZodLiteral<"unavailable">;
260
+ readonly reason: z.ZodEnum<{
261
+ "permission-lost": "permission-lost";
262
+ "grant-missing": "grant-missing";
263
+ }>;
264
+ }, z.core.$loose>)[], z.ZodObject<{
265
+ _tag: z.ZodLiteral<"unknown">;
266
+ }, z.core.$loose>]>;
267
+ }, z.core.$loose>;
268
+ meta: z.ZodObject<{
269
+ requestId: z.ZodString;
270
+ version: z.ZodLiteral<"1.0">;
271
+ }, z.core.$loose>;
272
+ }, z.core.$strip>>;
273
+ export type SiteSitemapSubmissionData = z.output<typeof siteSitemapSubmissionDataSchema>;
274
+ export declare const siteSitemapEvidenceResponseSchema: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
275
+ data: z.ZodUnion<readonly [z.ZodObject<{
276
+ readonly searchEngine: z.ZodLiteral<"google">;
277
+ readonly sitemapUrl: z.ZodURL;
278
+ readonly capture: z.ZodObject<{
279
+ readonly _tag: z.ZodLiteral<"captured">;
280
+ readonly source: z.ZodEnum<{
281
+ live: "live";
282
+ stored: "stored";
283
+ }>;
284
+ readonly capturedAt: z.ZodISODateTime;
285
+ }, z.core.$strip>;
286
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
287
+ readonly _tag: z.ZodLiteral<"listed">;
288
+ readonly lastSubmitted: z.ZodNullable<z.ZodISODateTime>;
289
+ readonly lastDownloaded: z.ZodNullable<z.ZodISODateTime>;
290
+ readonly isPending: z.ZodBoolean;
291
+ readonly errors: z.ZodNumber;
292
+ readonly warnings: z.ZodNumber;
293
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
294
+ }, z.core.$strip>, z.ZodObject<{
295
+ readonly _tag: z.ZodLiteral<"missing">;
296
+ }, z.core.$strip>], "_tag">;
297
+ }, z.core.$strip>, z.ZodObject<{
298
+ readonly searchEngine: z.ZodLiteral<"bing">;
299
+ readonly sitemapUrl: z.ZodURL;
300
+ readonly capture: z.ZodObject<{
301
+ readonly _tag: z.ZodLiteral<"captured">;
302
+ readonly source: z.ZodEnum<{
303
+ live: "live";
304
+ stored: "stored";
305
+ }>;
306
+ readonly capturedAt: z.ZodISODateTime;
307
+ }, z.core.$strip>;
308
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
309
+ readonly _tag: z.ZodLiteral<"listed">;
310
+ readonly status: z.ZodString;
311
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
312
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
313
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
314
+ }, z.core.$strip>, z.ZodObject<{
315
+ readonly _tag: z.ZodLiteral<"missing">;
316
+ }, z.core.$strip>], "_tag">;
317
+ }, z.core.$strip>, z.ZodObject<{
318
+ readonly searchEngine: z.ZodEnum<{
319
+ google: "google";
320
+ bing: "bing";
321
+ }>;
322
+ readonly sitemapUrl: z.ZodURL;
323
+ readonly capture: z.ZodObject<{
324
+ readonly _tag: z.ZodLiteral<"unavailable">;
325
+ }, z.core.$strip>;
326
+ readonly state: z.ZodObject<{
327
+ readonly _tag: z.ZodLiteral<"unavailable">;
328
+ readonly reason: z.ZodEnum<{
329
+ "not-checked": "not-checked";
330
+ "permission-lost": "permission-lost";
331
+ "grant-missing": "grant-missing";
332
+ "provider-unavailable": "provider-unavailable";
333
+ "reauthorization-required": "reauthorization-required";
334
+ "not-enabled": "not-enabled";
335
+ "site-unverified": "site-unverified";
336
+ throttled: "throttled";
337
+ }>;
338
+ readonly retryable: z.ZodBoolean;
339
+ }, z.core.$strip>;
340
+ }, z.core.$strip>]>;
341
+ meta: z.ZodObject<{
342
+ requestId: z.ZodString;
343
+ version: z.ZodLiteral<"1.0">;
344
+ }, z.core.$strict>;
345
+ }, z.core.$strip>, z.ZodObject<{
346
+ data: z.ZodUnion<readonly [z.ZodObject<{
347
+ readonly searchEngine: z.ZodLiteral<"google">;
348
+ readonly sitemapUrl: z.ZodURL;
349
+ readonly capture: z.ZodObject<{
350
+ readonly _tag: z.ZodLiteral<"captured">;
351
+ readonly source: z.ZodEnum<{
352
+ live: "live";
353
+ stored: "stored";
354
+ }>;
355
+ readonly capturedAt: z.ZodISODateTime;
356
+ }, z.core.$strip>;
357
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
358
+ readonly _tag: z.ZodLiteral<"listed">;
359
+ readonly lastSubmitted: z.ZodNullable<z.ZodISODateTime>;
360
+ readonly lastDownloaded: z.ZodNullable<z.ZodISODateTime>;
361
+ readonly isPending: z.ZodBoolean;
362
+ readonly errors: z.ZodNumber;
363
+ readonly warnings: z.ZodNumber;
364
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
365
+ }, z.core.$strip>, z.ZodObject<{
366
+ readonly _tag: z.ZodLiteral<"missing">;
367
+ }, z.core.$strip>], "_tag">;
368
+ }, z.core.$strip>, z.ZodObject<{
369
+ readonly searchEngine: z.ZodLiteral<"bing">;
370
+ readonly sitemapUrl: z.ZodURL;
371
+ readonly capture: z.ZodObject<{
372
+ readonly _tag: z.ZodLiteral<"captured">;
373
+ readonly source: z.ZodEnum<{
374
+ live: "live";
375
+ stored: "stored";
376
+ }>;
377
+ readonly capturedAt: z.ZodISODateTime;
378
+ }, z.core.$strip>;
379
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
380
+ readonly _tag: z.ZodLiteral<"listed">;
381
+ readonly status: z.ZodString;
382
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
383
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
384
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
385
+ }, z.core.$strip>, z.ZodObject<{
386
+ readonly _tag: z.ZodLiteral<"missing">;
387
+ }, z.core.$strip>], "_tag">;
388
+ }, z.core.$strip>, z.ZodObject<{
389
+ readonly searchEngine: z.ZodEnum<{
390
+ google: "google";
391
+ bing: "bing";
392
+ }>;
393
+ readonly sitemapUrl: z.ZodURL;
394
+ readonly capture: z.ZodObject<{
395
+ readonly _tag: z.ZodLiteral<"unavailable">;
396
+ }, z.core.$strip>;
397
+ readonly state: z.ZodObject<{
398
+ readonly _tag: z.ZodLiteral<"unavailable">;
399
+ readonly reason: z.ZodEnum<{
400
+ "not-checked": "not-checked";
401
+ "permission-lost": "permission-lost";
402
+ "grant-missing": "grant-missing";
403
+ "provider-unavailable": "provider-unavailable";
404
+ "reauthorization-required": "reauthorization-required";
405
+ "not-enabled": "not-enabled";
406
+ "site-unverified": "site-unverified";
407
+ throttled: "throttled";
408
+ }>;
409
+ readonly retryable: z.ZodBoolean;
410
+ }, z.core.$strip>;
411
+ }, z.core.$strip>]>;
412
+ meta: z.ZodObject<{
413
+ requestId: z.ZodString;
414
+ version: z.ZodLiteral<"1.0">;
415
+ }, z.core.$loose>;
416
+ }, z.core.$strip>>;
417
+ export type SiteSitemapEvidenceData = z.output<typeof sitemapEvidenceV1Schemas.client>;
6
418
  export declare const siteSitemapActionBodySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7
419
  action: z.ZodLiteral<"submit">;
8
420
  sitemapUrl: z.ZodString;
@@ -895,158 +1307,1135 @@ export declare const siteSitemapActionCreateOperation: {
895
1307
  }];
896
1308
  };
897
1309
  };
898
- export declare const sitemapsV1Registry: import("./core.js").PublicV1Registry<{
899
- readonly list: {
900
- readonly id: 'sites.sitemaps.list';
901
- readonly method: 'GET';
902
- readonly path: '/api/v1/sites/{siteId}/sitemaps';
903
- readonly visibility: 'public';
904
- readonly semantics: {
905
- readonly kind: 'query';
906
- readonly sideEffects: 'none';
907
- readonly retry: 'idempotent';
908
- readonly readConsistency: 'primary';
1310
+ export declare const siteSitemapSubmissionReadOperation: {
1311
+ readonly method: 'GET';
1312
+ readonly visibility: 'public';
1313
+ readonly semantics: {
1314
+ readonly kind: 'query';
1315
+ readonly sideEffects: 'none';
1316
+ readonly retry: 'idempotent';
1317
+ readonly readConsistency: 'primary';
1318
+ };
1319
+ readonly auth: {
1320
+ readonly credentials: readonly ["session", "api_token"];
1321
+ readonly scopes: readonly ["sites:read"];
1322
+ readonly minimumRole: 'viewer';
1323
+ readonly ownership: 'site';
1324
+ };
1325
+ readonly request: {
1326
+ readonly params: z.ZodObject<{
1327
+ siteId: z.ZodString;
1328
+ }, z.core.$strict>;
1329
+ readonly query: null;
1330
+ readonly headers: null;
1331
+ readonly body: null;
1332
+ };
1333
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
1334
+ readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1335
+ readonly error: z.ZodObject<{
1336
+ code: z.ZodEnum<{
1337
+ auth_expired: "auth_expired";
1338
+ conflict: "conflict";
1339
+ contract_violation: "contract_violation";
1340
+ entitlement_required: "entitlement_required";
1341
+ forbidden: "forbidden";
1342
+ internal_error: "internal_error";
1343
+ invalid_request: "invalid_request";
1344
+ not_found: "not_found";
1345
+ provider_unavailable: "provider_unavailable";
1346
+ quota_exhausted: "quota_exhausted";
1347
+ rate_limited: "rate_limited";
1348
+ site_ambiguous: "site_ambiguous";
1349
+ stale_evidence: "stale_evidence";
1350
+ unauthorized: "unauthorized";
1351
+ }>;
1352
+ message: z.ZodString;
1353
+ requestId: z.ZodString;
1354
+ retryable: z.ZodBoolean;
1355
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1356
+ }, z.core.$strict>;
1357
+ }, z.core.$strip>, z.ZodObject<{
1358
+ readonly error: z.ZodObject<{
1359
+ code: z.ZodEnum<{
1360
+ auth_expired: "auth_expired";
1361
+ conflict: "conflict";
1362
+ contract_violation: "contract_violation";
1363
+ entitlement_required: "entitlement_required";
1364
+ forbidden: "forbidden";
1365
+ internal_error: "internal_error";
1366
+ invalid_request: "invalid_request";
1367
+ not_found: "not_found";
1368
+ provider_unavailable: "provider_unavailable";
1369
+ quota_exhausted: "quota_exhausted";
1370
+ rate_limited: "rate_limited";
1371
+ site_ambiguous: "site_ambiguous";
1372
+ stale_evidence: "stale_evidence";
1373
+ unauthorized: "unauthorized";
1374
+ }>;
1375
+ message: z.ZodString;
1376
+ requestId: z.ZodString;
1377
+ retryable: z.ZodBoolean;
1378
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1379
+ }, z.core.$loose>;
1380
+ }, z.core.$strip>>;
1381
+ readonly resources: {
1382
+ readonly reads: readonly [{
1383
+ readonly type: 'site.sitemaps';
1384
+ readonly idFrom: 'params.siteId';
1385
+ }];
1386
+ readonly changes: readonly [];
1387
+ };
1388
+ readonly policy: {
1389
+ readonly rate: {
1390
+ readonly name: 'public-v1-fixed-window';
1391
+ readonly limit: 50;
1392
+ readonly windowSeconds: 60;
909
1393
  };
910
- readonly auth: {
911
- readonly credentials: readonly ["session", "api_token"];
912
- readonly scopes: readonly ["sites:read"];
913
- readonly minimumRole: 'viewer';
914
- readonly ownership: 'site';
1394
+ readonly idempotency: {
1395
+ readonly _tag: 'none';
915
1396
  };
916
- readonly request: {
917
- readonly params: z.ZodObject<{
918
- siteId: z.ZodString;
1397
+ readonly entitlement: null;
1398
+ readonly meter: null;
1399
+ };
1400
+ readonly lifecycle: {
1401
+ readonly introduced: '1.0.0';
1402
+ };
1403
+ readonly id: 'sites.sitemaps.submission.read';
1404
+ readonly path: '/api/v1/sites/{siteId}/sitemaps/submission';
1405
+ readonly responses: {
1406
+ readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1407
+ data: z.ZodObject<{
1408
+ searchEngine: z.ZodLiteral<"google">;
1409
+ gscPropertyUrl: z.ZodString;
1410
+ callerCanAct: z.ZodBoolean;
1411
+ state: z.ZodUnion<readonly [...(z.ZodObject<{
1412
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
1413
+ readonly sitemapUrl: z.ZodURL;
1414
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
1415
+ grantHolder: z.ZodObject<{
1416
+ _tag: z.ZodEnum<{
1417
+ caller: "caller";
1418
+ "site-owner": "site-owner";
1419
+ }>;
1420
+ }, z.core.$strict>;
1421
+ }, z.core.$strict> | z.ZodObject<{
1422
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
1423
+ readonly sitemapUrl: z.ZodURL;
1424
+ readonly permissionLevel: z.ZodString;
1425
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
1426
+ siteOwner: "siteOwner";
1427
+ siteFullUser: "siteFullUser";
1428
+ }>>;
1429
+ grantHolder: z.ZodObject<{
1430
+ _tag: z.ZodEnum<{
1431
+ caller: "caller";
1432
+ "site-owner": "site-owner";
1433
+ }>;
1434
+ }, z.core.$strict>;
1435
+ }, z.core.$strict> | z.ZodObject<{
1436
+ readonly _tag: z.ZodLiteral<"listed">;
1437
+ readonly checkedOn: z.ZodISODate;
1438
+ readonly sitemapCount: z.ZodNumber;
1439
+ }, z.core.$strict> | z.ZodObject<{
1440
+ readonly _tag: z.ZodLiteral<"awaiting-google">;
1441
+ readonly checkedOn: z.ZodISODate;
1442
+ readonly sitemapUrl: z.ZodURL;
1443
+ readonly sitemapCount: z.ZodNumber;
1444
+ }, z.core.$strict> | z.ZodObject<{
1445
+ readonly _tag: z.ZodLiteral<"ready">;
1446
+ readonly sitemapUrl: z.ZodURL;
1447
+ readonly writeAccess: z.ZodEnum<{
1448
+ unknown: "unknown";
1449
+ granted: "granted";
1450
+ }>;
1451
+ }, z.core.$strict> | z.ZodObject<{
1452
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
1453
+ readonly _tag: z.ZodLiteral<"caller">;
1454
+ }, z.core.$strip>, z.ZodObject<{
1455
+ readonly _tag: z.ZodLiteral<"site-owner">;
1456
+ readonly email: z.ZodEmail;
1457
+ readonly name: z.ZodNullable<z.ZodString>;
1458
+ }, z.core.$strip>], "_tag">;
1459
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
1460
+ readonly sitemapUrl: z.ZodURL;
1461
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
1462
+ }, z.core.$strict> | z.ZodObject<{
1463
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
1464
+ readonly _tag: z.ZodLiteral<"caller">;
1465
+ }, z.core.$strip>, z.ZodObject<{
1466
+ readonly _tag: z.ZodLiteral<"site-owner">;
1467
+ readonly email: z.ZodEmail;
1468
+ readonly name: z.ZodNullable<z.ZodString>;
1469
+ }, z.core.$strip>], "_tag">;
1470
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
1471
+ readonly sitemapUrl: z.ZodURL;
1472
+ readonly permissionLevel: z.ZodString;
1473
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
1474
+ siteOwner: "siteOwner";
1475
+ siteFullUser: "siteFullUser";
1476
+ }>>;
1477
+ }, z.core.$strict> | z.ZodObject<{
1478
+ readonly _tag: z.ZodLiteral<"no-sitemap-found">;
1479
+ readonly checkedOn: z.ZodISODate;
1480
+ }, z.core.$strict> | z.ZodObject<{
1481
+ readonly _tag: z.ZodLiteral<"not-checked">;
1482
+ }, z.core.$strict> | z.ZodObject<{
1483
+ readonly _tag: z.ZodLiteral<"unavailable">;
1484
+ readonly reason: z.ZodEnum<{
1485
+ "permission-lost": "permission-lost";
1486
+ "grant-missing": "grant-missing";
1487
+ }>;
1488
+ }, z.core.$strict>)[], z.ZodObject<{
1489
+ _tag: z.ZodLiteral<"unknown">;
1490
+ }, z.core.$strict>]>;
919
1491
  }, z.core.$strict>;
920
- readonly query: null;
921
- readonly headers: null;
922
- readonly body: null;
923
- };
924
- readonly responses: {
925
- readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
926
- data: z.ZodObject<{
927
- sitemaps: z.ZodArray<z.ZodObject<{
928
- path: z.ZodString;
929
- urlCount: z.ZodNumber;
930
- errors: z.ZodNumber;
931
- warnings: z.ZodNumber;
932
- isIndex: z.ZodOptional<z.ZodBoolean>;
933
- contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
934
- lastDownloaded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
935
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
936
- isPending: z.ZodOptional<z.ZodBoolean>;
937
- fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
938
- feed: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
939
- _tag: z.ZodLiteral<"counted">;
940
- }, z.core.$strict>, z.ZodObject<{
941
- _tag: z.ZodLiteral<"dropped">;
942
- status: z.ZodUnion<readonly [z.ZodLiteral<404>, z.ZodLiteral<410>]>;
943
- since: z.ZodNumber;
944
- }, z.core.$strict>], "_tag">>;
945
- }, z.core.$loose>>;
946
- history: z.ZodArray<z.ZodObject<{
947
- date: z.ZodString;
948
- errors: z.ZodNumber;
949
- warnings: z.ZodNumber;
950
- urlCount: z.ZodNumber;
951
- urlDelta: z.ZodNumber;
952
- }, z.core.$loose>>;
953
- perSitemapHistory: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
954
- date: z.ZodString;
955
- urlCount: z.ZodNumber;
956
- changed: z.ZodBoolean;
957
- urlDelta: z.ZodNumber;
958
- }, z.core.$loose>>>;
959
- meta: z.ZodObject<{
960
- siteUrl: z.ZodString;
961
- gscPropertyUrl: z.ZodOptional<z.ZodString>;
962
- syncStatus: z.ZodNullable<z.ZodString>;
963
- sitemapScope: z.ZodObject<{
964
- excludedCount: z.ZodNumber;
965
- duplicateCount: z.ZodNumber;
966
- }, z.core.$strip>;
1492
+ meta: z.ZodObject<{
1493
+ requestId: z.ZodString;
1494
+ version: z.ZodLiteral<"1.0">;
1495
+ }, z.core.$strict>;
1496
+ }, z.core.$strip>, z.ZodObject<{
1497
+ data: z.ZodObject<{
1498
+ searchEngine: z.ZodLiteral<"google">;
1499
+ gscPropertyUrl: z.ZodString;
1500
+ callerCanAct: z.ZodBoolean;
1501
+ state: z.ZodUnion<readonly [...(z.ZodObject<{
1502
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
1503
+ readonly sitemapUrl: z.ZodURL;
1504
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
1505
+ grantHolder: z.ZodObject<{
1506
+ _tag: z.ZodEnum<{
1507
+ caller: "caller";
1508
+ "site-owner": "site-owner";
1509
+ }>;
967
1510
  }, z.core.$loose>;
968
- generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
969
- id: z.ZodString;
970
- observedAt: z.ZodNumber;
971
- publishedAt: z.ZodNumber;
972
- completeness: z.ZodObject<{
973
- _tag: z.ZodLiteral<"complete">;
974
- }, z.core.$strict>;
975
- membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
976
- legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
977
- _tag: z.ZodLiteral<"none">;
978
- }, z.core.$strict>, z.ZodObject<{
979
- _tag: z.ZodLiteral<"metadata_only">;
980
- importedAt: z.ZodNumber;
981
- recordCount: z.ZodNumber;
982
- source: z.ZodLiteral<"gsc_sitemaps">;
983
- }, z.core.$strict>], "_tag">;
984
- }, z.core.$strict>>>;
985
- }, z.core.$strict>;
986
- meta: z.ZodObject<{
987
- requestId: z.ZodString;
988
- version: z.ZodLiteral<"1.0">;
989
- }, z.core.$strict>;
1511
+ }, z.core.$loose> | z.ZodObject<{
1512
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
1513
+ readonly sitemapUrl: z.ZodURL;
1514
+ readonly permissionLevel: z.ZodString;
1515
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
1516
+ siteOwner: "siteOwner";
1517
+ siteFullUser: "siteFullUser";
1518
+ }>>;
1519
+ grantHolder: z.ZodObject<{
1520
+ _tag: z.ZodEnum<{
1521
+ caller: "caller";
1522
+ "site-owner": "site-owner";
1523
+ }>;
1524
+ }, z.core.$loose>;
1525
+ }, z.core.$loose> | z.ZodObject<{
1526
+ readonly _tag: z.ZodLiteral<"listed">;
1527
+ readonly checkedOn: z.ZodISODate;
1528
+ readonly sitemapCount: z.ZodNumber;
1529
+ }, z.core.$loose> | z.ZodObject<{
1530
+ readonly _tag: z.ZodLiteral<"awaiting-google">;
1531
+ readonly checkedOn: z.ZodISODate;
1532
+ readonly sitemapUrl: z.ZodURL;
1533
+ readonly sitemapCount: z.ZodNumber;
1534
+ }, z.core.$loose> | z.ZodObject<{
1535
+ readonly _tag: z.ZodLiteral<"ready">;
1536
+ readonly sitemapUrl: z.ZodURL;
1537
+ readonly writeAccess: z.ZodEnum<{
1538
+ unknown: "unknown";
1539
+ granted: "granted";
1540
+ }>;
1541
+ }, z.core.$loose> | z.ZodObject<{
1542
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
1543
+ readonly _tag: z.ZodLiteral<"caller">;
1544
+ }, z.core.$strip>, z.ZodObject<{
1545
+ readonly _tag: z.ZodLiteral<"site-owner">;
1546
+ readonly email: z.ZodEmail;
1547
+ readonly name: z.ZodNullable<z.ZodString>;
1548
+ }, z.core.$strip>], "_tag">;
1549
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
1550
+ readonly sitemapUrl: z.ZodURL;
1551
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
1552
+ }, z.core.$loose> | z.ZodObject<{
1553
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
1554
+ readonly _tag: z.ZodLiteral<"caller">;
1555
+ }, z.core.$strip>, z.ZodObject<{
1556
+ readonly _tag: z.ZodLiteral<"site-owner">;
1557
+ readonly email: z.ZodEmail;
1558
+ readonly name: z.ZodNullable<z.ZodString>;
1559
+ }, z.core.$strip>], "_tag">;
1560
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
1561
+ readonly sitemapUrl: z.ZodURL;
1562
+ readonly permissionLevel: z.ZodString;
1563
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
1564
+ siteOwner: "siteOwner";
1565
+ siteFullUser: "siteFullUser";
1566
+ }>>;
1567
+ }, z.core.$loose> | z.ZodObject<{
1568
+ readonly _tag: z.ZodLiteral<"no-sitemap-found">;
1569
+ readonly checkedOn: z.ZodISODate;
1570
+ }, z.core.$loose> | z.ZodObject<{
1571
+ readonly _tag: z.ZodLiteral<"not-checked">;
1572
+ }, z.core.$loose> | z.ZodObject<{
1573
+ readonly _tag: z.ZodLiteral<"unavailable">;
1574
+ readonly reason: z.ZodEnum<{
1575
+ "permission-lost": "permission-lost";
1576
+ "grant-missing": "grant-missing";
1577
+ }>;
1578
+ }, z.core.$loose>)[], z.ZodObject<{
1579
+ _tag: z.ZodLiteral<"unknown">;
1580
+ }, z.core.$loose>]>;
1581
+ }, z.core.$loose>;
1582
+ meta: z.ZodObject<{
1583
+ requestId: z.ZodString;
1584
+ version: z.ZodLiteral<"1.0">;
1585
+ }, z.core.$loose>;
1586
+ }, z.core.$strip>>;
1587
+ };
1588
+ readonly docs: {
1589
+ readonly summary: 'Read Site Sitemap submission';
1590
+ readonly description: 'Returns site-level Google Sitemap submission readiness. It does not prove submission of an arbitrary Sitemap URL.';
1591
+ readonly tags: readonly ["Sites", "Sitemaps"];
1592
+ readonly examples: readonly [{
1593
+ readonly request: {
1594
+ readonly params: {
1595
+ readonly siteId: 'site_01JXYZ';
1596
+ };
1597
+ };
1598
+ readonly response: {
1599
+ readonly status: 200;
1600
+ readonly body: {
1601
+ readonly data: {
1602
+ readonly searchEngine: 'google';
1603
+ readonly gscPropertyUrl: 'sc-domain:example.com';
1604
+ readonly callerCanAct: false;
1605
+ readonly state: {
1606
+ readonly _tag: 'not-checked';
1607
+ };
1608
+ };
1609
+ readonly meta: {
1610
+ readonly requestId: 'req_01JXYZ';
1611
+ readonly version: '1.0';
1612
+ };
1613
+ };
1614
+ };
1615
+ }];
1616
+ };
1617
+ };
1618
+ export declare const siteSitemapInspectOperation: {
1619
+ readonly method: 'GET';
1620
+ readonly visibility: 'public';
1621
+ readonly auth: {
1622
+ readonly credentials: readonly ["session", "api_token"];
1623
+ readonly scopes: readonly ["sites:read"];
1624
+ readonly minimumRole: 'viewer';
1625
+ readonly ownership: 'site';
1626
+ };
1627
+ readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1628
+ readonly error: z.ZodObject<{
1629
+ code: z.ZodEnum<{
1630
+ auth_expired: "auth_expired";
1631
+ conflict: "conflict";
1632
+ contract_violation: "contract_violation";
1633
+ entitlement_required: "entitlement_required";
1634
+ forbidden: "forbidden";
1635
+ internal_error: "internal_error";
1636
+ invalid_request: "invalid_request";
1637
+ not_found: "not_found";
1638
+ provider_unavailable: "provider_unavailable";
1639
+ quota_exhausted: "quota_exhausted";
1640
+ rate_limited: "rate_limited";
1641
+ site_ambiguous: "site_ambiguous";
1642
+ stale_evidence: "stale_evidence";
1643
+ unauthorized: "unauthorized";
1644
+ }>;
1645
+ message: z.ZodString;
1646
+ requestId: z.ZodString;
1647
+ retryable: z.ZodBoolean;
1648
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1649
+ }, z.core.$strict>;
1650
+ }, z.core.$strip>, z.ZodObject<{
1651
+ readonly error: z.ZodObject<{
1652
+ code: z.ZodEnum<{
1653
+ auth_expired: "auth_expired";
1654
+ conflict: "conflict";
1655
+ contract_violation: "contract_violation";
1656
+ entitlement_required: "entitlement_required";
1657
+ forbidden: "forbidden";
1658
+ internal_error: "internal_error";
1659
+ invalid_request: "invalid_request";
1660
+ not_found: "not_found";
1661
+ provider_unavailable: "provider_unavailable";
1662
+ quota_exhausted: "quota_exhausted";
1663
+ rate_limited: "rate_limited";
1664
+ site_ambiguous: "site_ambiguous";
1665
+ stale_evidence: "stale_evidence";
1666
+ unauthorized: "unauthorized";
1667
+ }>;
1668
+ message: z.ZodString;
1669
+ requestId: z.ZodString;
1670
+ retryable: z.ZodBoolean;
1671
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1672
+ }, z.core.$loose>;
1673
+ }, z.core.$strip>>;
1674
+ readonly resources: {
1675
+ readonly reads: readonly [{
1676
+ readonly type: 'site.sitemaps';
1677
+ readonly idFrom: 'params.siteId';
1678
+ }];
1679
+ readonly changes: readonly [];
1680
+ };
1681
+ readonly policy: {
1682
+ readonly rate: {
1683
+ readonly name: 'public-v1-fixed-window';
1684
+ readonly limit: 50;
1685
+ readonly windowSeconds: 60;
1686
+ };
1687
+ readonly idempotency: {
1688
+ readonly _tag: 'none';
1689
+ };
1690
+ readonly entitlement: null;
1691
+ readonly meter: null;
1692
+ };
1693
+ readonly lifecycle: {
1694
+ readonly introduced: '1.0.0';
1695
+ };
1696
+ readonly id: 'sites.sitemaps.inspect';
1697
+ readonly path: '/api/v1/sites/{siteId}/sitemaps/inspect';
1698
+ readonly semantics: {
1699
+ readonly kind: 'query';
1700
+ readonly sideEffects: 'none';
1701
+ readonly retry: 'idempotent';
1702
+ readonly readConsistency: 'primary';
1703
+ };
1704
+ readonly request: {
1705
+ readonly params: z.ZodObject<{
1706
+ siteId: z.ZodString;
1707
+ }, z.core.$strict>;
1708
+ readonly query: z.ZodObject<{
1709
+ searchEngine: z.ZodEnum<{
1710
+ google: "google";
1711
+ bing: "bing";
1712
+ }>;
1713
+ url: z.ZodURL;
1714
+ }, z.core.$strict>;
1715
+ readonly headers: null;
1716
+ readonly body: null;
1717
+ };
1718
+ readonly responses: {
1719
+ readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1720
+ data: z.ZodUnion<readonly [z.ZodObject<{
1721
+ readonly searchEngine: z.ZodLiteral<"google">;
1722
+ readonly sitemapUrl: z.ZodURL;
1723
+ readonly capture: z.ZodObject<{
1724
+ readonly _tag: z.ZodLiteral<"captured">;
1725
+ readonly source: z.ZodEnum<{
1726
+ live: "live";
1727
+ stored: "stored";
1728
+ }>;
1729
+ readonly capturedAt: z.ZodISODateTime;
1730
+ }, z.core.$strip>;
1731
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
1732
+ readonly _tag: z.ZodLiteral<"listed">;
1733
+ readonly lastSubmitted: z.ZodNullable<z.ZodISODateTime>;
1734
+ readonly lastDownloaded: z.ZodNullable<z.ZodISODateTime>;
1735
+ readonly isPending: z.ZodBoolean;
1736
+ readonly errors: z.ZodNumber;
1737
+ readonly warnings: z.ZodNumber;
1738
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
1739
+ }, z.core.$strip>, z.ZodObject<{
1740
+ readonly _tag: z.ZodLiteral<"missing">;
1741
+ }, z.core.$strip>], "_tag">;
1742
+ }, z.core.$strip>, z.ZodObject<{
1743
+ readonly searchEngine: z.ZodLiteral<"bing">;
1744
+ readonly sitemapUrl: z.ZodURL;
1745
+ readonly capture: z.ZodObject<{
1746
+ readonly _tag: z.ZodLiteral<"captured">;
1747
+ readonly source: z.ZodEnum<{
1748
+ live: "live";
1749
+ stored: "stored";
1750
+ }>;
1751
+ readonly capturedAt: z.ZodISODateTime;
1752
+ }, z.core.$strip>;
1753
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
1754
+ readonly _tag: z.ZodLiteral<"listed">;
1755
+ readonly status: z.ZodString;
1756
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
1757
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
1758
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
1759
+ }, z.core.$strip>, z.ZodObject<{
1760
+ readonly _tag: z.ZodLiteral<"missing">;
1761
+ }, z.core.$strip>], "_tag">;
1762
+ }, z.core.$strip>, z.ZodObject<{
1763
+ readonly searchEngine: z.ZodEnum<{
1764
+ google: "google";
1765
+ bing: "bing";
1766
+ }>;
1767
+ readonly sitemapUrl: z.ZodURL;
1768
+ readonly capture: z.ZodObject<{
1769
+ readonly _tag: z.ZodLiteral<"unavailable">;
1770
+ }, z.core.$strip>;
1771
+ readonly state: z.ZodObject<{
1772
+ readonly _tag: z.ZodLiteral<"unavailable">;
1773
+ readonly reason: z.ZodEnum<{
1774
+ "not-checked": "not-checked";
1775
+ "permission-lost": "permission-lost";
1776
+ "grant-missing": "grant-missing";
1777
+ "provider-unavailable": "provider-unavailable";
1778
+ "reauthorization-required": "reauthorization-required";
1779
+ "not-enabled": "not-enabled";
1780
+ "site-unverified": "site-unverified";
1781
+ throttled: "throttled";
1782
+ }>;
1783
+ readonly retryable: z.ZodBoolean;
1784
+ }, z.core.$strip>;
1785
+ }, z.core.$strip>]>;
1786
+ meta: z.ZodObject<{
1787
+ requestId: z.ZodString;
1788
+ version: z.ZodLiteral<"1.0">;
1789
+ }, z.core.$strict>;
1790
+ }, z.core.$strip>, z.ZodObject<{
1791
+ data: z.ZodUnion<readonly [z.ZodObject<{
1792
+ readonly searchEngine: z.ZodLiteral<"google">;
1793
+ readonly sitemapUrl: z.ZodURL;
1794
+ readonly capture: z.ZodObject<{
1795
+ readonly _tag: z.ZodLiteral<"captured">;
1796
+ readonly source: z.ZodEnum<{
1797
+ live: "live";
1798
+ stored: "stored";
1799
+ }>;
1800
+ readonly capturedAt: z.ZodISODateTime;
1801
+ }, z.core.$strip>;
1802
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
1803
+ readonly _tag: z.ZodLiteral<"listed">;
1804
+ readonly lastSubmitted: z.ZodNullable<z.ZodISODateTime>;
1805
+ readonly lastDownloaded: z.ZodNullable<z.ZodISODateTime>;
1806
+ readonly isPending: z.ZodBoolean;
1807
+ readonly errors: z.ZodNumber;
1808
+ readonly warnings: z.ZodNumber;
1809
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
1810
+ }, z.core.$strip>, z.ZodObject<{
1811
+ readonly _tag: z.ZodLiteral<"missing">;
1812
+ }, z.core.$strip>], "_tag">;
1813
+ }, z.core.$strip>, z.ZodObject<{
1814
+ readonly searchEngine: z.ZodLiteral<"bing">;
1815
+ readonly sitemapUrl: z.ZodURL;
1816
+ readonly capture: z.ZodObject<{
1817
+ readonly _tag: z.ZodLiteral<"captured">;
1818
+ readonly source: z.ZodEnum<{
1819
+ live: "live";
1820
+ stored: "stored";
1821
+ }>;
1822
+ readonly capturedAt: z.ZodISODateTime;
1823
+ }, z.core.$strip>;
1824
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
1825
+ readonly _tag: z.ZodLiteral<"listed">;
1826
+ readonly status: z.ZodString;
1827
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
1828
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
1829
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
1830
+ }, z.core.$strip>, z.ZodObject<{
1831
+ readonly _tag: z.ZodLiteral<"missing">;
1832
+ }, z.core.$strip>], "_tag">;
1833
+ }, z.core.$strip>, z.ZodObject<{
1834
+ readonly searchEngine: z.ZodEnum<{
1835
+ google: "google";
1836
+ bing: "bing";
1837
+ }>;
1838
+ readonly sitemapUrl: z.ZodURL;
1839
+ readonly capture: z.ZodObject<{
1840
+ readonly _tag: z.ZodLiteral<"unavailable">;
1841
+ }, z.core.$strip>;
1842
+ readonly state: z.ZodObject<{
1843
+ readonly _tag: z.ZodLiteral<"unavailable">;
1844
+ readonly reason: z.ZodEnum<{
1845
+ "not-checked": "not-checked";
1846
+ "permission-lost": "permission-lost";
1847
+ "grant-missing": "grant-missing";
1848
+ "provider-unavailable": "provider-unavailable";
1849
+ "reauthorization-required": "reauthorization-required";
1850
+ "not-enabled": "not-enabled";
1851
+ "site-unverified": "site-unverified";
1852
+ throttled: "throttled";
1853
+ }>;
1854
+ readonly retryable: z.ZodBoolean;
1855
+ }, z.core.$strip>;
1856
+ }, z.core.$strip>]>;
1857
+ meta: z.ZodObject<{
1858
+ requestId: z.ZodString;
1859
+ version: z.ZodLiteral<"1.0">;
1860
+ }, z.core.$loose>;
1861
+ }, z.core.$strip>>;
1862
+ };
1863
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error", "entitlement_required"];
1864
+ readonly docs: {
1865
+ readonly summary: 'Inspect one Site Sitemap';
1866
+ readonly description: 'Reads exact Sitemap listing evidence from Google live or Bing stored data. Every successful read carries its capture time.';
1867
+ readonly tags: readonly ["Sites", "Sitemaps"];
1868
+ readonly examples: readonly [{
1869
+ readonly request: {
1870
+ readonly params: {
1871
+ readonly siteId: 'site_01JXYZ';
1872
+ };
1873
+ readonly query: {
1874
+ readonly url: 'https://example.com/sitemap.xml';
1875
+ readonly searchEngine: 'google';
1876
+ };
1877
+ };
1878
+ readonly response: {
1879
+ readonly status: 200;
1880
+ readonly body: {
1881
+ readonly data: {
1882
+ readonly searchEngine: 'google';
1883
+ readonly sitemapUrl: 'https://example.com/sitemap.xml';
1884
+ readonly capture: {
1885
+ readonly _tag: 'captured';
1886
+ readonly source: 'live';
1887
+ readonly capturedAt: '2026-10-08T00:00:00Z';
1888
+ };
1889
+ readonly state: {
1890
+ readonly _tag: 'missing';
1891
+ };
1892
+ };
1893
+ readonly meta: {
1894
+ readonly requestId: 'req_01JXYZ';
1895
+ readonly version: '1.0';
1896
+ };
1897
+ };
1898
+ };
1899
+ }];
1900
+ };
1901
+ };
1902
+ export declare const sitemapsV1Registry: import("./core.js").PublicV1Registry<{
1903
+ readonly list: {
1904
+ readonly id: 'sites.sitemaps.list';
1905
+ readonly method: 'GET';
1906
+ readonly path: '/api/v1/sites/{siteId}/sitemaps';
1907
+ readonly visibility: 'public';
1908
+ readonly semantics: {
1909
+ readonly kind: 'query';
1910
+ readonly sideEffects: 'none';
1911
+ readonly retry: 'idempotent';
1912
+ readonly readConsistency: 'primary';
1913
+ };
1914
+ readonly auth: {
1915
+ readonly credentials: readonly ["session", "api_token"];
1916
+ readonly scopes: readonly ["sites:read"];
1917
+ readonly minimumRole: 'viewer';
1918
+ readonly ownership: 'site';
1919
+ };
1920
+ readonly request: {
1921
+ readonly params: z.ZodObject<{
1922
+ siteId: z.ZodString;
1923
+ }, z.core.$strict>;
1924
+ readonly query: null;
1925
+ readonly headers: null;
1926
+ readonly body: null;
1927
+ };
1928
+ readonly responses: {
1929
+ readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1930
+ data: z.ZodObject<{
1931
+ sitemaps: z.ZodArray<z.ZodObject<{
1932
+ path: z.ZodString;
1933
+ urlCount: z.ZodNumber;
1934
+ errors: z.ZodNumber;
1935
+ warnings: z.ZodNumber;
1936
+ isIndex: z.ZodOptional<z.ZodBoolean>;
1937
+ contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1938
+ lastDownloaded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1939
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1940
+ isPending: z.ZodOptional<z.ZodBoolean>;
1941
+ fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1942
+ feed: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1943
+ _tag: z.ZodLiteral<"counted">;
1944
+ }, z.core.$strict>, z.ZodObject<{
1945
+ _tag: z.ZodLiteral<"dropped">;
1946
+ status: z.ZodUnion<readonly [z.ZodLiteral<404>, z.ZodLiteral<410>]>;
1947
+ since: z.ZodNumber;
1948
+ }, z.core.$strict>], "_tag">>;
1949
+ }, z.core.$loose>>;
1950
+ history: z.ZodArray<z.ZodObject<{
1951
+ date: z.ZodString;
1952
+ errors: z.ZodNumber;
1953
+ warnings: z.ZodNumber;
1954
+ urlCount: z.ZodNumber;
1955
+ urlDelta: z.ZodNumber;
1956
+ }, z.core.$loose>>;
1957
+ perSitemapHistory: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1958
+ date: z.ZodString;
1959
+ urlCount: z.ZodNumber;
1960
+ changed: z.ZodBoolean;
1961
+ urlDelta: z.ZodNumber;
1962
+ }, z.core.$loose>>>;
1963
+ meta: z.ZodObject<{
1964
+ siteUrl: z.ZodString;
1965
+ gscPropertyUrl: z.ZodOptional<z.ZodString>;
1966
+ syncStatus: z.ZodNullable<z.ZodString>;
1967
+ sitemapScope: z.ZodObject<{
1968
+ excludedCount: z.ZodNumber;
1969
+ duplicateCount: z.ZodNumber;
1970
+ }, z.core.$strip>;
1971
+ }, z.core.$loose>;
1972
+ generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
1973
+ id: z.ZodString;
1974
+ observedAt: z.ZodNumber;
1975
+ publishedAt: z.ZodNumber;
1976
+ completeness: z.ZodObject<{
1977
+ _tag: z.ZodLiteral<"complete">;
1978
+ }, z.core.$strict>;
1979
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
1980
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
1981
+ _tag: z.ZodLiteral<"none">;
1982
+ }, z.core.$strict>, z.ZodObject<{
1983
+ _tag: z.ZodLiteral<"metadata_only">;
1984
+ importedAt: z.ZodNumber;
1985
+ recordCount: z.ZodNumber;
1986
+ source: z.ZodLiteral<"gsc_sitemaps">;
1987
+ }, z.core.$strict>], "_tag">;
1988
+ }, z.core.$strict>>>;
1989
+ }, z.core.$strict>;
1990
+ meta: z.ZodObject<{
1991
+ requestId: z.ZodString;
1992
+ version: z.ZodLiteral<"1.0">;
1993
+ }, z.core.$strict>;
990
1994
  }, z.core.$strip>, z.ZodObject<{
991
1995
  data: z.ZodObject<{
992
- sitemaps: z.ZodArray<z.ZodObject<{
993
- path: z.ZodString;
994
- urlCount: z.ZodNumber;
995
- errors: z.ZodNumber;
996
- warnings: z.ZodNumber;
997
- isIndex: z.ZodOptional<z.ZodBoolean>;
998
- contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
999
- lastDownloaded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1000
- lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1001
- isPending: z.ZodOptional<z.ZodBoolean>;
1002
- fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
1003
- feed: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1004
- _tag: z.ZodLiteral<"counted">;
1005
- }, z.core.$strict>, z.ZodObject<{
1006
- _tag: z.ZodLiteral<"dropped">;
1007
- status: z.ZodUnion<readonly [z.ZodLiteral<404>, z.ZodLiteral<410>]>;
1008
- since: z.ZodNumber;
1009
- }, z.core.$strict>], "_tag">>;
1010
- }, z.core.$loose>>;
1011
- history: z.ZodArray<z.ZodObject<{
1012
- date: z.ZodString;
1013
- errors: z.ZodNumber;
1014
- warnings: z.ZodNumber;
1015
- urlCount: z.ZodNumber;
1016
- urlDelta: z.ZodNumber;
1017
- }, z.core.$loose>>;
1018
- perSitemapHistory: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1019
- date: z.ZodString;
1020
- urlCount: z.ZodNumber;
1021
- changed: z.ZodBoolean;
1022
- urlDelta: z.ZodNumber;
1023
- }, z.core.$loose>>>;
1024
- meta: z.ZodObject<{
1025
- siteUrl: z.ZodString;
1026
- gscPropertyUrl: z.ZodOptional<z.ZodString>;
1027
- syncStatus: z.ZodNullable<z.ZodString>;
1028
- sitemapScope: z.ZodObject<{
1029
- excludedCount: z.ZodNumber;
1030
- duplicateCount: z.ZodNumber;
1031
- }, z.core.$strip>;
1032
- }, z.core.$loose>;
1033
- generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
1034
- id: z.ZodString;
1035
- observedAt: z.ZodNumber;
1036
- publishedAt: z.ZodNumber;
1037
- completeness: z.ZodObject<{
1038
- _tag: z.ZodLiteral<"complete">;
1996
+ sitemaps: z.ZodArray<z.ZodObject<{
1997
+ path: z.ZodString;
1998
+ urlCount: z.ZodNumber;
1999
+ errors: z.ZodNumber;
2000
+ warnings: z.ZodNumber;
2001
+ isIndex: z.ZodOptional<z.ZodBoolean>;
2002
+ contentHash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2003
+ lastDownloaded: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2004
+ lastError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2005
+ isPending: z.ZodOptional<z.ZodBoolean>;
2006
+ fetchedAt: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2007
+ feed: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2008
+ _tag: z.ZodLiteral<"counted">;
2009
+ }, z.core.$strict>, z.ZodObject<{
2010
+ _tag: z.ZodLiteral<"dropped">;
2011
+ status: z.ZodUnion<readonly [z.ZodLiteral<404>, z.ZodLiteral<410>]>;
2012
+ since: z.ZodNumber;
2013
+ }, z.core.$strict>], "_tag">>;
2014
+ }, z.core.$loose>>;
2015
+ history: z.ZodArray<z.ZodObject<{
2016
+ date: z.ZodString;
2017
+ errors: z.ZodNumber;
2018
+ warnings: z.ZodNumber;
2019
+ urlCount: z.ZodNumber;
2020
+ urlDelta: z.ZodNumber;
2021
+ }, z.core.$loose>>;
2022
+ perSitemapHistory: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
2023
+ date: z.ZodString;
2024
+ urlCount: z.ZodNumber;
2025
+ changed: z.ZodBoolean;
2026
+ urlDelta: z.ZodNumber;
2027
+ }, z.core.$loose>>>;
2028
+ meta: z.ZodObject<{
2029
+ siteUrl: z.ZodString;
2030
+ gscPropertyUrl: z.ZodOptional<z.ZodString>;
2031
+ syncStatus: z.ZodNullable<z.ZodString>;
2032
+ sitemapScope: z.ZodObject<{
2033
+ excludedCount: z.ZodNumber;
2034
+ duplicateCount: z.ZodNumber;
2035
+ }, z.core.$strip>;
2036
+ }, z.core.$loose>;
2037
+ generation: z.ZodNullable<z.ZodLazy<z.ZodObject<{
2038
+ id: z.ZodString;
2039
+ observedAt: z.ZodNumber;
2040
+ publishedAt: z.ZodNumber;
2041
+ completeness: z.ZodObject<{
2042
+ _tag: z.ZodLiteral<"complete">;
2043
+ }, z.core.$strict>;
2044
+ membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
2045
+ legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
2046
+ _tag: z.ZodLiteral<"none">;
2047
+ }, z.core.$strict>, z.ZodObject<{
2048
+ _tag: z.ZodLiteral<"metadata_only">;
2049
+ importedAt: z.ZodNumber;
2050
+ recordCount: z.ZodNumber;
2051
+ source: z.ZodLiteral<"gsc_sitemaps">;
2052
+ }, z.core.$strict>], "_tag">;
2053
+ }, z.core.$strict>>>;
2054
+ }, z.core.$loose>;
2055
+ meta: z.ZodObject<{
2056
+ requestId: z.ZodString;
2057
+ version: z.ZodLiteral<"1.0">;
2058
+ }, z.core.$loose>;
2059
+ }, z.core.$strip>>;
2060
+ };
2061
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
2062
+ readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
2063
+ readonly error: z.ZodObject<{
2064
+ code: z.ZodEnum<{
2065
+ auth_expired: "auth_expired";
2066
+ conflict: "conflict";
2067
+ contract_violation: "contract_violation";
2068
+ entitlement_required: "entitlement_required";
2069
+ forbidden: "forbidden";
2070
+ internal_error: "internal_error";
2071
+ invalid_request: "invalid_request";
2072
+ not_found: "not_found";
2073
+ provider_unavailable: "provider_unavailable";
2074
+ quota_exhausted: "quota_exhausted";
2075
+ rate_limited: "rate_limited";
2076
+ site_ambiguous: "site_ambiguous";
2077
+ stale_evidence: "stale_evidence";
2078
+ unauthorized: "unauthorized";
2079
+ }>;
2080
+ message: z.ZodString;
2081
+ requestId: z.ZodString;
2082
+ retryable: z.ZodBoolean;
2083
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2084
+ }, z.core.$strict>;
2085
+ }, z.core.$strip>, z.ZodObject<{
2086
+ readonly error: z.ZodObject<{
2087
+ code: z.ZodEnum<{
2088
+ auth_expired: "auth_expired";
2089
+ conflict: "conflict";
2090
+ contract_violation: "contract_violation";
2091
+ entitlement_required: "entitlement_required";
2092
+ forbidden: "forbidden";
2093
+ internal_error: "internal_error";
2094
+ invalid_request: "invalid_request";
2095
+ not_found: "not_found";
2096
+ provider_unavailable: "provider_unavailable";
2097
+ quota_exhausted: "quota_exhausted";
2098
+ rate_limited: "rate_limited";
2099
+ site_ambiguous: "site_ambiguous";
2100
+ stale_evidence: "stale_evidence";
2101
+ unauthorized: "unauthorized";
2102
+ }>;
2103
+ message: z.ZodString;
2104
+ requestId: z.ZodString;
2105
+ retryable: z.ZodBoolean;
2106
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2107
+ }, z.core.$loose>;
2108
+ }, z.core.$strip>>;
2109
+ readonly resources: {
2110
+ readonly reads: readonly [{
2111
+ readonly type: 'site.sitemaps';
2112
+ readonly idFrom: 'params.siteId';
2113
+ }];
2114
+ readonly changes: readonly [];
2115
+ };
2116
+ readonly policy: {
2117
+ readonly rate: {
2118
+ readonly name: 'public-v1-fixed-window';
2119
+ readonly limit: 50;
2120
+ readonly windowSeconds: 60;
2121
+ };
2122
+ readonly idempotency: {
2123
+ readonly _tag: 'none';
2124
+ };
2125
+ readonly entitlement: null;
2126
+ readonly meter: null;
2127
+ };
2128
+ readonly lifecycle: {
2129
+ readonly introduced: '1.0.0';
2130
+ };
2131
+ readonly docs: {
2132
+ readonly summary: 'List Site sitemaps';
2133
+ readonly description: 'Returns the Search Console sitemap snapshot and its upstream generation for a NuxtSEO Site.';
2134
+ readonly tags: readonly ["Sites", "Sitemaps"];
2135
+ readonly examples: readonly [{
2136
+ readonly request: {
2137
+ readonly params: {
2138
+ readonly siteId: 'site_01JXYZ';
2139
+ };
2140
+ };
2141
+ readonly response: {
2142
+ readonly status: 200;
2143
+ readonly body: {
2144
+ readonly data: {
2145
+ readonly sitemaps: readonly [];
2146
+ readonly history: readonly [];
2147
+ readonly perSitemapHistory: {};
2148
+ readonly generation: null;
2149
+ readonly meta: {
2150
+ readonly siteUrl: 'sc-domain:example.com';
2151
+ readonly gscPropertyUrl: 'sc-domain:example.com';
2152
+ readonly syncStatus: 'synced';
2153
+ readonly sitemapScope: {
2154
+ readonly excludedCount: 0;
2155
+ readonly duplicateCount: 0;
2156
+ };
2157
+ };
2158
+ };
2159
+ readonly meta: {
2160
+ readonly requestId: 'req_01JXYZ';
2161
+ readonly version: '1.0';
2162
+ };
2163
+ };
2164
+ };
2165
+ }];
2166
+ };
2167
+ };
2168
+ readonly readSubmission: {
2169
+ readonly method: 'GET';
2170
+ readonly visibility: 'public';
2171
+ readonly semantics: {
2172
+ readonly kind: 'query';
2173
+ readonly sideEffects: 'none';
2174
+ readonly retry: 'idempotent';
2175
+ readonly readConsistency: 'primary';
2176
+ };
2177
+ readonly auth: {
2178
+ readonly credentials: readonly ["session", "api_token"];
2179
+ readonly scopes: readonly ["sites:read"];
2180
+ readonly minimumRole: 'viewer';
2181
+ readonly ownership: 'site';
2182
+ };
2183
+ readonly request: {
2184
+ readonly params: z.ZodObject<{
2185
+ siteId: z.ZodString;
2186
+ }, z.core.$strict>;
2187
+ readonly query: null;
2188
+ readonly headers: null;
2189
+ readonly body: null;
2190
+ };
2191
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
2192
+ readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
2193
+ readonly error: z.ZodObject<{
2194
+ code: z.ZodEnum<{
2195
+ auth_expired: "auth_expired";
2196
+ conflict: "conflict";
2197
+ contract_violation: "contract_violation";
2198
+ entitlement_required: "entitlement_required";
2199
+ forbidden: "forbidden";
2200
+ internal_error: "internal_error";
2201
+ invalid_request: "invalid_request";
2202
+ not_found: "not_found";
2203
+ provider_unavailable: "provider_unavailable";
2204
+ quota_exhausted: "quota_exhausted";
2205
+ rate_limited: "rate_limited";
2206
+ site_ambiguous: "site_ambiguous";
2207
+ stale_evidence: "stale_evidence";
2208
+ unauthorized: "unauthorized";
2209
+ }>;
2210
+ message: z.ZodString;
2211
+ requestId: z.ZodString;
2212
+ retryable: z.ZodBoolean;
2213
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2214
+ }, z.core.$strict>;
2215
+ }, z.core.$strip>, z.ZodObject<{
2216
+ readonly error: z.ZodObject<{
2217
+ code: z.ZodEnum<{
2218
+ auth_expired: "auth_expired";
2219
+ conflict: "conflict";
2220
+ contract_violation: "contract_violation";
2221
+ entitlement_required: "entitlement_required";
2222
+ forbidden: "forbidden";
2223
+ internal_error: "internal_error";
2224
+ invalid_request: "invalid_request";
2225
+ not_found: "not_found";
2226
+ provider_unavailable: "provider_unavailable";
2227
+ quota_exhausted: "quota_exhausted";
2228
+ rate_limited: "rate_limited";
2229
+ site_ambiguous: "site_ambiguous";
2230
+ stale_evidence: "stale_evidence";
2231
+ unauthorized: "unauthorized";
2232
+ }>;
2233
+ message: z.ZodString;
2234
+ requestId: z.ZodString;
2235
+ retryable: z.ZodBoolean;
2236
+ details: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2237
+ }, z.core.$loose>;
2238
+ }, z.core.$strip>>;
2239
+ readonly resources: {
2240
+ readonly reads: readonly [{
2241
+ readonly type: 'site.sitemaps';
2242
+ readonly idFrom: 'params.siteId';
2243
+ }];
2244
+ readonly changes: readonly [];
2245
+ };
2246
+ readonly policy: {
2247
+ readonly rate: {
2248
+ readonly name: 'public-v1-fixed-window';
2249
+ readonly limit: 50;
2250
+ readonly windowSeconds: 60;
2251
+ };
2252
+ readonly idempotency: {
2253
+ readonly _tag: 'none';
2254
+ };
2255
+ readonly entitlement: null;
2256
+ readonly meter: null;
2257
+ };
2258
+ readonly lifecycle: {
2259
+ readonly introduced: '1.0.0';
2260
+ };
2261
+ readonly id: 'sites.sitemaps.submission.read';
2262
+ readonly path: '/api/v1/sites/{siteId}/sitemaps/submission';
2263
+ readonly responses: {
2264
+ readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
2265
+ data: z.ZodObject<{
2266
+ searchEngine: z.ZodLiteral<"google">;
2267
+ gscPropertyUrl: z.ZodString;
2268
+ callerCanAct: z.ZodBoolean;
2269
+ state: z.ZodUnion<readonly [...(z.ZodObject<{
2270
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
2271
+ readonly sitemapUrl: z.ZodURL;
2272
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
2273
+ grantHolder: z.ZodObject<{
2274
+ _tag: z.ZodEnum<{
2275
+ caller: "caller";
2276
+ "site-owner": "site-owner";
2277
+ }>;
1039
2278
  }, z.core.$strict>;
1040
- membershipHistoryAvailableFrom: z.ZodNullable<z.ZodNumber>;
1041
- legacyImport: z.ZodDiscriminatedUnion<[z.ZodObject<{
1042
- _tag: z.ZodLiteral<"none">;
1043
- }, z.core.$strict>, z.ZodObject<{
1044
- _tag: z.ZodLiteral<"metadata_only">;
1045
- importedAt: z.ZodNumber;
1046
- recordCount: z.ZodNumber;
1047
- source: z.ZodLiteral<"gsc_sitemaps">;
1048
- }, z.core.$strict>], "_tag">;
1049
- }, z.core.$strict>>>;
2279
+ }, z.core.$strict> | z.ZodObject<{
2280
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
2281
+ readonly sitemapUrl: z.ZodURL;
2282
+ readonly permissionLevel: z.ZodString;
2283
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
2284
+ siteOwner: "siteOwner";
2285
+ siteFullUser: "siteFullUser";
2286
+ }>>;
2287
+ grantHolder: z.ZodObject<{
2288
+ _tag: z.ZodEnum<{
2289
+ caller: "caller";
2290
+ "site-owner": "site-owner";
2291
+ }>;
2292
+ }, z.core.$strict>;
2293
+ }, z.core.$strict> | z.ZodObject<{
2294
+ readonly _tag: z.ZodLiteral<"listed">;
2295
+ readonly checkedOn: z.ZodISODate;
2296
+ readonly sitemapCount: z.ZodNumber;
2297
+ }, z.core.$strict> | z.ZodObject<{
2298
+ readonly _tag: z.ZodLiteral<"awaiting-google">;
2299
+ readonly checkedOn: z.ZodISODate;
2300
+ readonly sitemapUrl: z.ZodURL;
2301
+ readonly sitemapCount: z.ZodNumber;
2302
+ }, z.core.$strict> | z.ZodObject<{
2303
+ readonly _tag: z.ZodLiteral<"ready">;
2304
+ readonly sitemapUrl: z.ZodURL;
2305
+ readonly writeAccess: z.ZodEnum<{
2306
+ unknown: "unknown";
2307
+ granted: "granted";
2308
+ }>;
2309
+ }, z.core.$strict> | z.ZodObject<{
2310
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
2311
+ readonly _tag: z.ZodLiteral<"caller">;
2312
+ }, z.core.$strip>, z.ZodObject<{
2313
+ readonly _tag: z.ZodLiteral<"site-owner">;
2314
+ readonly email: z.ZodEmail;
2315
+ readonly name: z.ZodNullable<z.ZodString>;
2316
+ }, z.core.$strip>], "_tag">;
2317
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
2318
+ readonly sitemapUrl: z.ZodURL;
2319
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
2320
+ }, z.core.$strict> | z.ZodObject<{
2321
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
2322
+ readonly _tag: z.ZodLiteral<"caller">;
2323
+ }, z.core.$strip>, z.ZodObject<{
2324
+ readonly _tag: z.ZodLiteral<"site-owner">;
2325
+ readonly email: z.ZodEmail;
2326
+ readonly name: z.ZodNullable<z.ZodString>;
2327
+ }, z.core.$strip>], "_tag">;
2328
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
2329
+ readonly sitemapUrl: z.ZodURL;
2330
+ readonly permissionLevel: z.ZodString;
2331
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
2332
+ siteOwner: "siteOwner";
2333
+ siteFullUser: "siteFullUser";
2334
+ }>>;
2335
+ }, z.core.$strict> | z.ZodObject<{
2336
+ readonly _tag: z.ZodLiteral<"no-sitemap-found">;
2337
+ readonly checkedOn: z.ZodISODate;
2338
+ }, z.core.$strict> | z.ZodObject<{
2339
+ readonly _tag: z.ZodLiteral<"not-checked">;
2340
+ }, z.core.$strict> | z.ZodObject<{
2341
+ readonly _tag: z.ZodLiteral<"unavailable">;
2342
+ readonly reason: z.ZodEnum<{
2343
+ "permission-lost": "permission-lost";
2344
+ "grant-missing": "grant-missing";
2345
+ }>;
2346
+ }, z.core.$strict>)[], z.ZodObject<{
2347
+ _tag: z.ZodLiteral<"unknown">;
2348
+ }, z.core.$strict>]>;
2349
+ }, z.core.$strict>;
2350
+ meta: z.ZodObject<{
2351
+ requestId: z.ZodString;
2352
+ version: z.ZodLiteral<"1.0">;
2353
+ }, z.core.$strict>;
2354
+ }, z.core.$strip>, z.ZodObject<{
2355
+ data: z.ZodObject<{
2356
+ searchEngine: z.ZodLiteral<"google">;
2357
+ gscPropertyUrl: z.ZodString;
2358
+ callerCanAct: z.ZodBoolean;
2359
+ state: z.ZodUnion<readonly [...(z.ZodObject<{
2360
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
2361
+ readonly sitemapUrl: z.ZodURL;
2362
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
2363
+ grantHolder: z.ZodObject<{
2364
+ _tag: z.ZodEnum<{
2365
+ caller: "caller";
2366
+ "site-owner": "site-owner";
2367
+ }>;
2368
+ }, z.core.$loose>;
2369
+ }, z.core.$loose> | z.ZodObject<{
2370
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
2371
+ readonly sitemapUrl: z.ZodURL;
2372
+ readonly permissionLevel: z.ZodString;
2373
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
2374
+ siteOwner: "siteOwner";
2375
+ siteFullUser: "siteFullUser";
2376
+ }>>;
2377
+ grantHolder: z.ZodObject<{
2378
+ _tag: z.ZodEnum<{
2379
+ caller: "caller";
2380
+ "site-owner": "site-owner";
2381
+ }>;
2382
+ }, z.core.$loose>;
2383
+ }, z.core.$loose> | z.ZodObject<{
2384
+ readonly _tag: z.ZodLiteral<"listed">;
2385
+ readonly checkedOn: z.ZodISODate;
2386
+ readonly sitemapCount: z.ZodNumber;
2387
+ }, z.core.$loose> | z.ZodObject<{
2388
+ readonly _tag: z.ZodLiteral<"awaiting-google">;
2389
+ readonly checkedOn: z.ZodISODate;
2390
+ readonly sitemapUrl: z.ZodURL;
2391
+ readonly sitemapCount: z.ZodNumber;
2392
+ }, z.core.$loose> | z.ZodObject<{
2393
+ readonly _tag: z.ZodLiteral<"ready">;
2394
+ readonly sitemapUrl: z.ZodURL;
2395
+ readonly writeAccess: z.ZodEnum<{
2396
+ unknown: "unknown";
2397
+ granted: "granted";
2398
+ }>;
2399
+ }, z.core.$loose> | z.ZodObject<{
2400
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
2401
+ readonly _tag: z.ZodLiteral<"caller">;
2402
+ }, z.core.$strip>, z.ZodObject<{
2403
+ readonly _tag: z.ZodLiteral<"site-owner">;
2404
+ readonly email: z.ZodEmail;
2405
+ readonly name: z.ZodNullable<z.ZodString>;
2406
+ }, z.core.$strip>], "_tag">;
2407
+ readonly _tag: z.ZodLiteral<"needs-write-access">;
2408
+ readonly sitemapUrl: z.ZodURL;
2409
+ readonly requiredScope: z.ZodLiteral<"https://www.googleapis.com/auth/webmasters">;
2410
+ }, z.core.$loose> | z.ZodObject<{
2411
+ readonly grantHolder: z.ZodDiscriminatedUnion<[z.ZodObject<{
2412
+ readonly _tag: z.ZodLiteral<"caller">;
2413
+ }, z.core.$strip>, z.ZodObject<{
2414
+ readonly _tag: z.ZodLiteral<"site-owner">;
2415
+ readonly email: z.ZodEmail;
2416
+ readonly name: z.ZodNullable<z.ZodString>;
2417
+ }, z.core.$strip>], "_tag">;
2418
+ readonly _tag: z.ZodLiteral<"insufficient-permission">;
2419
+ readonly sitemapUrl: z.ZodURL;
2420
+ readonly permissionLevel: z.ZodString;
2421
+ readonly requiredPermissionLevels: z.ZodArray<z.ZodEnum<{
2422
+ siteOwner: "siteOwner";
2423
+ siteFullUser: "siteFullUser";
2424
+ }>>;
2425
+ }, z.core.$loose> | z.ZodObject<{
2426
+ readonly _tag: z.ZodLiteral<"no-sitemap-found">;
2427
+ readonly checkedOn: z.ZodISODate;
2428
+ }, z.core.$loose> | z.ZodObject<{
2429
+ readonly _tag: z.ZodLiteral<"not-checked">;
2430
+ }, z.core.$loose> | z.ZodObject<{
2431
+ readonly _tag: z.ZodLiteral<"unavailable">;
2432
+ readonly reason: z.ZodEnum<{
2433
+ "permission-lost": "permission-lost";
2434
+ "grant-missing": "grant-missing";
2435
+ }>;
2436
+ }, z.core.$loose>)[], z.ZodObject<{
2437
+ _tag: z.ZodLiteral<"unknown">;
2438
+ }, z.core.$loose>]>;
1050
2439
  }, z.core.$loose>;
1051
2440
  meta: z.ZodObject<{
1052
2441
  requestId: z.ZodString;
@@ -1054,7 +2443,45 @@ export declare const sitemapsV1Registry: import("./core.js").PublicV1Registry<{
1054
2443
  }, z.core.$loose>;
1055
2444
  }, z.core.$strip>>;
1056
2445
  };
1057
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
2446
+ readonly docs: {
2447
+ readonly summary: 'Read Site Sitemap submission';
2448
+ readonly description: 'Returns site-level Google Sitemap submission readiness. It does not prove submission of an arbitrary Sitemap URL.';
2449
+ readonly tags: readonly ["Sites", "Sitemaps"];
2450
+ readonly examples: readonly [{
2451
+ readonly request: {
2452
+ readonly params: {
2453
+ readonly siteId: 'site_01JXYZ';
2454
+ };
2455
+ };
2456
+ readonly response: {
2457
+ readonly status: 200;
2458
+ readonly body: {
2459
+ readonly data: {
2460
+ readonly searchEngine: 'google';
2461
+ readonly gscPropertyUrl: 'sc-domain:example.com';
2462
+ readonly callerCanAct: false;
2463
+ readonly state: {
2464
+ readonly _tag: 'not-checked';
2465
+ };
2466
+ };
2467
+ readonly meta: {
2468
+ readonly requestId: 'req_01JXYZ';
2469
+ readonly version: '1.0';
2470
+ };
2471
+ };
2472
+ };
2473
+ }];
2474
+ };
2475
+ };
2476
+ readonly inspect: {
2477
+ readonly method: 'GET';
2478
+ readonly visibility: 'public';
2479
+ readonly auth: {
2480
+ readonly credentials: readonly ["session", "api_token"];
2481
+ readonly scopes: readonly ["sites:read"];
2482
+ readonly minimumRole: 'viewer';
2483
+ readonly ownership: 'site';
2484
+ };
1058
2485
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1059
2486
  readonly error: z.ZodObject<{
1060
2487
  code: z.ZodEnum<{
@@ -1124,32 +2551,201 @@ export declare const sitemapsV1Registry: import("./core.js").PublicV1Registry<{
1124
2551
  readonly lifecycle: {
1125
2552
  readonly introduced: '1.0.0';
1126
2553
  };
2554
+ readonly id: 'sites.sitemaps.inspect';
2555
+ readonly path: '/api/v1/sites/{siteId}/sitemaps/inspect';
2556
+ readonly semantics: {
2557
+ readonly kind: 'query';
2558
+ readonly sideEffects: 'none';
2559
+ readonly retry: 'idempotent';
2560
+ readonly readConsistency: 'primary';
2561
+ };
2562
+ readonly request: {
2563
+ readonly params: z.ZodObject<{
2564
+ siteId: z.ZodString;
2565
+ }, z.core.$strict>;
2566
+ readonly query: z.ZodObject<{
2567
+ searchEngine: z.ZodEnum<{
2568
+ google: "google";
2569
+ bing: "bing";
2570
+ }>;
2571
+ url: z.ZodURL;
2572
+ }, z.core.$strict>;
2573
+ readonly headers: null;
2574
+ readonly body: null;
2575
+ };
2576
+ readonly responses: {
2577
+ readonly 200: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
2578
+ data: z.ZodUnion<readonly [z.ZodObject<{
2579
+ readonly searchEngine: z.ZodLiteral<"google">;
2580
+ readonly sitemapUrl: z.ZodURL;
2581
+ readonly capture: z.ZodObject<{
2582
+ readonly _tag: z.ZodLiteral<"captured">;
2583
+ readonly source: z.ZodEnum<{
2584
+ live: "live";
2585
+ stored: "stored";
2586
+ }>;
2587
+ readonly capturedAt: z.ZodISODateTime;
2588
+ }, z.core.$strip>;
2589
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
2590
+ readonly _tag: z.ZodLiteral<"listed">;
2591
+ readonly lastSubmitted: z.ZodNullable<z.ZodISODateTime>;
2592
+ readonly lastDownloaded: z.ZodNullable<z.ZodISODateTime>;
2593
+ readonly isPending: z.ZodBoolean;
2594
+ readonly errors: z.ZodNumber;
2595
+ readonly warnings: z.ZodNumber;
2596
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
2597
+ }, z.core.$strip>, z.ZodObject<{
2598
+ readonly _tag: z.ZodLiteral<"missing">;
2599
+ }, z.core.$strip>], "_tag">;
2600
+ }, z.core.$strip>, z.ZodObject<{
2601
+ readonly searchEngine: z.ZodLiteral<"bing">;
2602
+ readonly sitemapUrl: z.ZodURL;
2603
+ readonly capture: z.ZodObject<{
2604
+ readonly _tag: z.ZodLiteral<"captured">;
2605
+ readonly source: z.ZodEnum<{
2606
+ live: "live";
2607
+ stored: "stored";
2608
+ }>;
2609
+ readonly capturedAt: z.ZodISODateTime;
2610
+ }, z.core.$strip>;
2611
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
2612
+ readonly _tag: z.ZodLiteral<"listed">;
2613
+ readonly status: z.ZodString;
2614
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
2615
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
2616
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
2617
+ }, z.core.$strip>, z.ZodObject<{
2618
+ readonly _tag: z.ZodLiteral<"missing">;
2619
+ }, z.core.$strip>], "_tag">;
2620
+ }, z.core.$strip>, z.ZodObject<{
2621
+ readonly searchEngine: z.ZodEnum<{
2622
+ google: "google";
2623
+ bing: "bing";
2624
+ }>;
2625
+ readonly sitemapUrl: z.ZodURL;
2626
+ readonly capture: z.ZodObject<{
2627
+ readonly _tag: z.ZodLiteral<"unavailable">;
2628
+ }, z.core.$strip>;
2629
+ readonly state: z.ZodObject<{
2630
+ readonly _tag: z.ZodLiteral<"unavailable">;
2631
+ readonly reason: z.ZodEnum<{
2632
+ "not-checked": "not-checked";
2633
+ "permission-lost": "permission-lost";
2634
+ "grant-missing": "grant-missing";
2635
+ "provider-unavailable": "provider-unavailable";
2636
+ "reauthorization-required": "reauthorization-required";
2637
+ "not-enabled": "not-enabled";
2638
+ "site-unverified": "site-unverified";
2639
+ throttled: "throttled";
2640
+ }>;
2641
+ readonly retryable: z.ZodBoolean;
2642
+ }, z.core.$strip>;
2643
+ }, z.core.$strip>]>;
2644
+ meta: z.ZodObject<{
2645
+ requestId: z.ZodString;
2646
+ version: z.ZodLiteral<"1.0">;
2647
+ }, z.core.$strict>;
2648
+ }, z.core.$strip>, z.ZodObject<{
2649
+ data: z.ZodUnion<readonly [z.ZodObject<{
2650
+ readonly searchEngine: z.ZodLiteral<"google">;
2651
+ readonly sitemapUrl: z.ZodURL;
2652
+ readonly capture: z.ZodObject<{
2653
+ readonly _tag: z.ZodLiteral<"captured">;
2654
+ readonly source: z.ZodEnum<{
2655
+ live: "live";
2656
+ stored: "stored";
2657
+ }>;
2658
+ readonly capturedAt: z.ZodISODateTime;
2659
+ }, z.core.$strip>;
2660
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
2661
+ readonly _tag: z.ZodLiteral<"listed">;
2662
+ readonly lastSubmitted: z.ZodNullable<z.ZodISODateTime>;
2663
+ readonly lastDownloaded: z.ZodNullable<z.ZodISODateTime>;
2664
+ readonly isPending: z.ZodBoolean;
2665
+ readonly errors: z.ZodNumber;
2666
+ readonly warnings: z.ZodNumber;
2667
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
2668
+ }, z.core.$strip>, z.ZodObject<{
2669
+ readonly _tag: z.ZodLiteral<"missing">;
2670
+ }, z.core.$strip>], "_tag">;
2671
+ }, z.core.$strip>, z.ZodObject<{
2672
+ readonly searchEngine: z.ZodLiteral<"bing">;
2673
+ readonly sitemapUrl: z.ZodURL;
2674
+ readonly capture: z.ZodObject<{
2675
+ readonly _tag: z.ZodLiteral<"captured">;
2676
+ readonly source: z.ZodEnum<{
2677
+ live: "live";
2678
+ stored: "stored";
2679
+ }>;
2680
+ readonly capturedAt: z.ZodISODateTime;
2681
+ }, z.core.$strip>;
2682
+ readonly state: z.ZodDiscriminatedUnion<[z.ZodObject<{
2683
+ readonly _tag: z.ZodLiteral<"listed">;
2684
+ readonly status: z.ZodString;
2685
+ readonly submittedAt: z.ZodNullable<z.ZodISODateTime>;
2686
+ readonly lastCrawledAt: z.ZodNullable<z.ZodISODateTime>;
2687
+ readonly urlCount: z.ZodNullable<z.ZodNumber>;
2688
+ }, z.core.$strip>, z.ZodObject<{
2689
+ readonly _tag: z.ZodLiteral<"missing">;
2690
+ }, z.core.$strip>], "_tag">;
2691
+ }, z.core.$strip>, z.ZodObject<{
2692
+ readonly searchEngine: z.ZodEnum<{
2693
+ google: "google";
2694
+ bing: "bing";
2695
+ }>;
2696
+ readonly sitemapUrl: z.ZodURL;
2697
+ readonly capture: z.ZodObject<{
2698
+ readonly _tag: z.ZodLiteral<"unavailable">;
2699
+ }, z.core.$strip>;
2700
+ readonly state: z.ZodObject<{
2701
+ readonly _tag: z.ZodLiteral<"unavailable">;
2702
+ readonly reason: z.ZodEnum<{
2703
+ "not-checked": "not-checked";
2704
+ "permission-lost": "permission-lost";
2705
+ "grant-missing": "grant-missing";
2706
+ "provider-unavailable": "provider-unavailable";
2707
+ "reauthorization-required": "reauthorization-required";
2708
+ "not-enabled": "not-enabled";
2709
+ "site-unverified": "site-unverified";
2710
+ throttled: "throttled";
2711
+ }>;
2712
+ readonly retryable: z.ZodBoolean;
2713
+ }, z.core.$strip>;
2714
+ }, z.core.$strip>]>;
2715
+ meta: z.ZodObject<{
2716
+ requestId: z.ZodString;
2717
+ version: z.ZodLiteral<"1.0">;
2718
+ }, z.core.$loose>;
2719
+ }, z.core.$strip>>;
2720
+ };
2721
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error", "entitlement_required"];
1127
2722
  readonly docs: {
1128
- readonly summary: 'List Site sitemaps';
1129
- readonly description: 'Returns the Search Console sitemap snapshot and its upstream generation for a NuxtSEO Site.';
2723
+ readonly summary: 'Inspect one Site Sitemap';
2724
+ readonly description: 'Reads exact Sitemap listing evidence from Google live or Bing stored data. Every successful read carries its capture time.';
1130
2725
  readonly tags: readonly ["Sites", "Sitemaps"];
1131
2726
  readonly examples: readonly [{
1132
2727
  readonly request: {
1133
2728
  readonly params: {
1134
2729
  readonly siteId: 'site_01JXYZ';
1135
2730
  };
2731
+ readonly query: {
2732
+ readonly url: 'https://example.com/sitemap.xml';
2733
+ readonly searchEngine: 'google';
2734
+ };
1136
2735
  };
1137
2736
  readonly response: {
1138
2737
  readonly status: 200;
1139
2738
  readonly body: {
1140
2739
  readonly data: {
1141
- readonly sitemaps: readonly [];
1142
- readonly history: readonly [];
1143
- readonly perSitemapHistory: {};
1144
- readonly generation: null;
1145
- readonly meta: {
1146
- readonly siteUrl: 'sc-domain:example.com';
1147
- readonly gscPropertyUrl: 'sc-domain:example.com';
1148
- readonly syncStatus: 'synced';
1149
- readonly sitemapScope: {
1150
- readonly excludedCount: 0;
1151
- readonly duplicateCount: 0;
1152
- };
2740
+ readonly searchEngine: 'google';
2741
+ readonly sitemapUrl: 'https://example.com/sitemap.xml';
2742
+ readonly capture: {
2743
+ readonly _tag: 'captured';
2744
+ readonly source: 'live';
2745
+ readonly capturedAt: '2026-10-08T00:00:00Z';
2746
+ };
2747
+ readonly state: {
2748
+ readonly _tag: 'missing';
1153
2749
  };
1154
2750
  };
1155
2751
  readonly meta: {