@nuxtseo/protocol 0.3.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -847,7 +847,7 @@ export declare const sitePerformanceOverviewOperation: {
847
847
  }, z.core.$loose>;
848
848
  }, z.core.$strip>>;
849
849
  };
850
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
850
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
851
851
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
852
852
  readonly error: z.ZodObject<{
853
853
  code: z.ZodEnum<{
@@ -1496,7 +1496,7 @@ export declare const fieldVitalsOperation: {
1496
1496
  }, z.core.$loose>;
1497
1497
  }, z.core.$strip>>;
1498
1498
  };
1499
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
1499
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
1500
1500
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1501
1501
  readonly error: z.ZodObject<{
1502
1502
  code: z.ZodEnum<{
@@ -1883,7 +1883,7 @@ export declare const fieldVitalFindingsOperation: {
1883
1883
  }, z.core.$loose>;
1884
1884
  }, z.core.$strip>>;
1885
1885
  };
1886
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
1886
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
1887
1887
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1888
1888
  readonly error: z.ZodObject<{
1889
1889
  code: z.ZodEnum<{
@@ -2221,7 +2221,7 @@ export declare const performanceScansOperation: {
2221
2221
  }, z.core.$loose>;
2222
2222
  }, z.core.$strip>>;
2223
2223
  };
2224
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
2224
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
2225
2225
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
2226
2226
  readonly error: z.ZodObject<{
2227
2227
  code: z.ZodEnum<{
@@ -2460,7 +2460,7 @@ export declare const monitoredPagesOperation: {
2460
2460
  }, z.core.$loose>;
2461
2461
  }, z.core.$strip>>;
2462
2462
  };
2463
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
2463
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
2464
2464
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
2465
2465
  readonly error: z.ZodObject<{
2466
2466
  code: z.ZodEnum<{
@@ -3252,7 +3252,7 @@ export declare const performanceScanDetailOperation: {
3252
3252
  }, z.core.$loose>;
3253
3253
  }, z.core.$strip>>;
3254
3254
  };
3255
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
3255
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
3256
3256
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
3257
3257
  readonly error: z.ZodObject<{
3258
3258
  code: z.ZodEnum<{
@@ -3624,7 +3624,7 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
3624
3624
  }, z.core.$loose>;
3625
3625
  }, z.core.$strip>>;
3626
3626
  };
3627
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
3627
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
3628
3628
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
3629
3629
  readonly error: z.ZodObject<{
3630
3630
  code: z.ZodEnum<{
@@ -3953,7 +3953,7 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
3953
3953
  }, z.core.$loose>;
3954
3954
  }, z.core.$strip>>;
3955
3955
  };
3956
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
3956
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
3957
3957
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
3958
3958
  readonly error: z.ZodObject<{
3959
3959
  code: z.ZodEnum<{
@@ -4181,7 +4181,7 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
4181
4181
  }, z.core.$loose>;
4182
4182
  }, z.core.$strip>>;
4183
4183
  };
4184
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
4184
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
4185
4185
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
4186
4186
  readonly error: z.ZodObject<{
4187
4187
  code: z.ZodEnum<{
@@ -4378,7 +4378,7 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
4378
4378
  }, z.core.$loose>;
4379
4379
  }, z.core.$strip>>;
4380
4380
  };
4381
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
4381
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
4382
4382
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
4383
4383
  readonly error: z.ZodObject<{
4384
4384
  code: z.ZodEnum<{
@@ -4553,7 +4553,7 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
4553
4553
  }, z.core.$loose>;
4554
4554
  }, z.core.$strip>>;
4555
4555
  };
4556
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
4556
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
4557
4557
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
4558
4558
  readonly error: z.ZodObject<{
4559
4559
  code: z.ZodEnum<{
@@ -4876,7 +4876,7 @@ export declare const performanceV1Registry: import("./core.js").PublicV1Registry
4876
4876
  }, z.core.$loose>;
4877
4877
  }, z.core.$strip>>;
4878
4878
  };
4879
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
4879
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
4880
4880
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
4881
4881
  readonly error: z.ZodObject<{
4882
4882
  code: z.ZodEnum<{
@@ -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',
@@ -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<{
@@ -392,6 +392,7 @@ export const storedResearchOverviewOperation = defineOperation({
392
392
  'auth_expired',
393
393
  'forbidden',
394
394
  'not_found',
395
+ 'conflict',
395
396
  'rate_limited',
396
397
  'contract_violation',
397
398
  'internal_error',
@@ -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<{
@@ -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' }],
@@ -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<{
@@ -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',