@nuxtseo/protocol 0.3.0 → 0.4.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/v1/account.d.ts +0 -8
- package/dist/v1/actions.d.ts +72 -0
- package/dist/v1/actions.js +14 -0
- package/dist/v1/audit.d.ts +10 -10
- package/dist/v1/audit.js +1 -0
- package/dist/v1/backlinks.d.ts +4 -4
- package/dist/v1/backlinks.js +2 -0
- package/dist/v1/core.d.ts +2 -2
- package/dist/v1/core.js +1 -3
- package/dist/v1/index.d.ts +0 -3
- package/dist/v1/index.js +0 -3
- package/dist/v1/pages.d.ts +2 -2
- package/dist/v1/pages.js +1 -0
- package/dist/v1/performance.d.ts +12 -12
- package/dist/v1/performance.js +6 -0
- package/dist/v1/research.d.ts +2 -2
- package/dist/v1/research.js +1 -0
- package/dist/v1/sitemaps.d.ts +6 -6
- package/dist/v1/sitemaps.js +2 -1
- package/dist/v1/timeline.d.ts +4 -4
- package/dist/v1/timeline.js +4 -0
- package/generated/openapi.v1.json +1 -1
- package/package.json +3 -8
- package/dist/v1/content.d.ts +0 -2929
- package/dist/v1/content.js +0 -341
package/dist/v1/performance.js
CHANGED
|
@@ -161,6 +161,7 @@ export const sitePerformanceOverviewOperation = defineOperation({
|
|
|
161
161
|
'auth_expired',
|
|
162
162
|
'forbidden',
|
|
163
163
|
'not_found',
|
|
164
|
+
'conflict',
|
|
164
165
|
'rate_limited',
|
|
165
166
|
'contract_violation',
|
|
166
167
|
'internal_error',
|
|
@@ -295,6 +296,7 @@ export const fieldVitalsOperation = defineOperation({
|
|
|
295
296
|
'auth_expired',
|
|
296
297
|
'forbidden',
|
|
297
298
|
'not_found',
|
|
299
|
+
'conflict',
|
|
298
300
|
'rate_limited',
|
|
299
301
|
'contract_violation',
|
|
300
302
|
'internal_error',
|
|
@@ -404,6 +406,7 @@ export const fieldVitalFindingsOperation = defineOperation({
|
|
|
404
406
|
'auth_expired',
|
|
405
407
|
'forbidden',
|
|
406
408
|
'not_found',
|
|
409
|
+
'conflict',
|
|
407
410
|
'rate_limited',
|
|
408
411
|
'contract_violation',
|
|
409
412
|
'internal_error',
|
|
@@ -525,6 +528,7 @@ export const performanceScansOperation = defineOperation({
|
|
|
525
528
|
'auth_expired',
|
|
526
529
|
'forbidden',
|
|
527
530
|
'not_found',
|
|
531
|
+
'conflict',
|
|
528
532
|
'rate_limited',
|
|
529
533
|
'contract_violation',
|
|
530
534
|
'internal_error',
|
|
@@ -611,6 +615,7 @@ export const monitoredPagesOperation = defineOperation({
|
|
|
611
615
|
'auth_expired',
|
|
612
616
|
'forbidden',
|
|
613
617
|
'not_found',
|
|
618
|
+
'conflict',
|
|
614
619
|
'rate_limited',
|
|
615
620
|
'contract_violation',
|
|
616
621
|
'internal_error',
|
|
@@ -791,6 +796,7 @@ export const performanceScanDetailOperation = defineOperation({
|
|
|
791
796
|
'auth_expired',
|
|
792
797
|
'forbidden',
|
|
793
798
|
'not_found',
|
|
799
|
+
'conflict',
|
|
794
800
|
'rate_limited',
|
|
795
801
|
'contract_violation',
|
|
796
802
|
'internal_error',
|
package/dist/v1/research.d.ts
CHANGED
|
@@ -1399,7 +1399,7 @@ export declare const storedResearchOverviewOperation: {
|
|
|
1399
1399
|
}, z.core.$loose>;
|
|
1400
1400
|
}, z.core.$strip>>;
|
|
1401
1401
|
};
|
|
1402
|
-
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
|
|
1402
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
|
|
1403
1403
|
readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
1404
1404
|
readonly error: z.ZodObject<{
|
|
1405
1405
|
code: z.ZodEnum<{
|
|
@@ -3329,7 +3329,7 @@ export declare const researchV1Registry: import("./core.js").PublicV1Registry<{
|
|
|
3329
3329
|
}, z.core.$loose>;
|
|
3330
3330
|
}, z.core.$strip>>;
|
|
3331
3331
|
};
|
|
3332
|
-
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
|
|
3332
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
|
|
3333
3333
|
readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
3334
3334
|
readonly error: z.ZodObject<{
|
|
3335
3335
|
code: z.ZodEnum<{
|
package/dist/v1/research.js
CHANGED
package/dist/v1/sitemaps.d.ts
CHANGED
|
@@ -376,7 +376,7 @@ export declare const siteSitemapsListOperation: {
|
|
|
376
376
|
}, z.core.$loose>;
|
|
377
377
|
}, z.core.$strip>>;
|
|
378
378
|
};
|
|
379
|
-
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
|
|
379
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
|
|
380
380
|
readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
381
381
|
readonly error: z.ZodObject<{
|
|
382
382
|
code: z.ZodEnum<{
|
|
@@ -586,7 +586,7 @@ export declare const siteSitemapUrlsListOperation: {
|
|
|
586
586
|
}, z.core.$loose>;
|
|
587
587
|
}, z.core.$strip>>;
|
|
588
588
|
};
|
|
589
|
-
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
|
|
589
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
|
|
590
590
|
readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
591
591
|
readonly error: z.ZodObject<{
|
|
592
592
|
code: z.ZodEnum<{
|
|
@@ -762,7 +762,7 @@ export declare const siteSitemapActionCreateOperation: {
|
|
|
762
762
|
}, z.core.$loose>;
|
|
763
763
|
}, z.core.$strip>>;
|
|
764
764
|
};
|
|
765
|
-
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
|
|
765
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error", "entitlement_required"];
|
|
766
766
|
readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
767
767
|
readonly error: z.ZodObject<{
|
|
768
768
|
code: z.ZodEnum<{
|
|
@@ -1012,7 +1012,7 @@ export declare const sitemapsV1Registry: import("./core.js").PublicV1Registry<{
|
|
|
1012
1012
|
}, z.core.$loose>;
|
|
1013
1013
|
}, z.core.$strip>>;
|
|
1014
1014
|
};
|
|
1015
|
-
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
|
|
1015
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
|
|
1016
1016
|
readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
1017
1017
|
readonly error: z.ZodObject<{
|
|
1018
1018
|
code: z.ZodEnum<{
|
|
@@ -1222,7 +1222,7 @@ export declare const sitemapsV1Registry: import("./core.js").PublicV1Registry<{
|
|
|
1222
1222
|
}, z.core.$loose>;
|
|
1223
1223
|
}, z.core.$strip>>;
|
|
1224
1224
|
};
|
|
1225
|
-
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
|
|
1225
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
|
|
1226
1226
|
readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
1227
1227
|
readonly error: z.ZodObject<{
|
|
1228
1228
|
code: z.ZodEnum<{
|
|
@@ -1398,7 +1398,7 @@ export declare const sitemapsV1Registry: import("./core.js").PublicV1Registry<{
|
|
|
1398
1398
|
}, z.core.$loose>;
|
|
1399
1399
|
}, z.core.$strip>>;
|
|
1400
1400
|
};
|
|
1401
|
-
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
|
|
1401
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error", "entitlement_required"];
|
|
1402
1402
|
readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
1403
1403
|
readonly error: z.ZodObject<{
|
|
1404
1404
|
code: z.ZodEnum<{
|
package/dist/v1/sitemaps.js
CHANGED
|
@@ -26,6 +26,7 @@ const readErrors = [
|
|
|
26
26
|
'auth_expired',
|
|
27
27
|
'forbidden',
|
|
28
28
|
'not_found',
|
|
29
|
+
'conflict',
|
|
29
30
|
'rate_limited',
|
|
30
31
|
'provider_unavailable',
|
|
31
32
|
'contract_violation',
|
|
@@ -157,7 +158,7 @@ export const siteSitemapActionCreateOperation = defineOperation({
|
|
|
157
158
|
},
|
|
158
159
|
request: { params: siteSitemapParamsSchema, query: null, headers: null, body: siteSitemapActionBodySchema },
|
|
159
160
|
responses: { 200: siteSitemapActionResponseSchema },
|
|
160
|
-
errors: readErrors,
|
|
161
|
+
errors: [...readErrors, 'entitlement_required'],
|
|
161
162
|
errorResponse: publicV1ErrorEnvelope,
|
|
162
163
|
resources: {
|
|
163
164
|
reads: [{ type: 'site.sitemaps', idFrom: 'params.siteId' }],
|
package/dist/v1/timeline.d.ts
CHANGED
|
@@ -202,7 +202,7 @@ export declare const timelineEntriesOperation: {
|
|
|
202
202
|
}, z.core.$loose>;
|
|
203
203
|
}, z.core.$strip>>;
|
|
204
204
|
};
|
|
205
|
-
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
|
|
205
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
|
|
206
206
|
readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
207
207
|
readonly error: z.ZodObject<{
|
|
208
208
|
code: z.ZodEnum<{
|
|
@@ -545,7 +545,7 @@ export declare const annotationListOperation: {
|
|
|
545
545
|
}, z.core.$loose>;
|
|
546
546
|
}, z.core.$strip>>;
|
|
547
547
|
};
|
|
548
|
-
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
|
|
548
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
|
|
549
549
|
readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
550
550
|
readonly error: z.ZodObject<{
|
|
551
551
|
code: z.ZodEnum<{
|
|
@@ -1218,7 +1218,7 @@ export declare const timelineV1Registry: import("./core.js").PublicV1Registry<{
|
|
|
1218
1218
|
}, z.core.$loose>;
|
|
1219
1219
|
}, z.core.$strip>>;
|
|
1220
1220
|
};
|
|
1221
|
-
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
|
|
1221
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
|
|
1222
1222
|
readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
1223
1223
|
readonly error: z.ZodObject<{
|
|
1224
1224
|
code: z.ZodEnum<{
|
|
@@ -1393,7 +1393,7 @@ export declare const timelineV1Registry: import("./core.js").PublicV1Registry<{
|
|
|
1393
1393
|
}, z.core.$loose>;
|
|
1394
1394
|
}, z.core.$strip>>;
|
|
1395
1395
|
};
|
|
1396
|
-
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
|
|
1396
|
+
readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
|
|
1397
1397
|
readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
|
|
1398
1398
|
readonly error: z.ZodObject<{
|
|
1399
1399
|
code: z.ZodEnum<{
|
package/dist/v1/timeline.js
CHANGED
|
@@ -81,6 +81,7 @@ const timelineReadErrors = [
|
|
|
81
81
|
'auth_expired',
|
|
82
82
|
'forbidden',
|
|
83
83
|
'not_found',
|
|
84
|
+
'conflict',
|
|
84
85
|
'rate_limited',
|
|
85
86
|
'provider_unavailable',
|
|
86
87
|
'contract_violation',
|
|
@@ -204,6 +205,9 @@ const annotationReadErrors = [
|
|
|
204
205
|
'auth_expired',
|
|
205
206
|
'forbidden',
|
|
206
207
|
'not_found',
|
|
208
|
+
// The Site fingerprint fence refuses a stale monitoring profile before the
|
|
209
|
+
// exemption runs, so the read can still answer 409.
|
|
210
|
+
'conflict',
|
|
207
211
|
'rate_limited',
|
|
208
212
|
'contract_violation',
|
|
209
213
|
'internal_error',
|