@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.
@@ -456,8 +456,6 @@ export declare const accountTokenDataSchema: import("./core.js").CompatibleRespo
456
456
  "actions:write": "actions:write";
457
457
  "analytics:read": "analytics:read";
458
458
  "audit:read": "audit:read";
459
- "content:read": "content:read";
460
- "content:write": "content:write";
461
459
  "feedback:write": "feedback:write";
462
460
  "page:read": "page:read";
463
461
  "page:write": "page:write";
@@ -536,8 +534,6 @@ export declare const accountTokenResponseSchema: import("./core.js").CompatibleR
536
534
  "actions:write": "actions:write";
537
535
  "analytics:read": "analytics:read";
538
536
  "audit:read": "audit:read";
539
- "content:read": "content:read";
540
- "content:write": "content:write";
541
537
  "feedback:write": "feedback:write";
542
538
  "page:read": "page:read";
543
539
  "page:write": "page:write";
@@ -653,8 +649,6 @@ export declare const accountTokenOperation: {
653
649
  "actions:write": "actions:write";
654
650
  "analytics:read": "analytics:read";
655
651
  "audit:read": "audit:read";
656
- "content:read": "content:read";
657
- "content:write": "content:write";
658
652
  "feedback:write": "feedback:write";
659
653
  "page:read": "page:read";
660
654
  "page:write": "page:write";
@@ -1280,8 +1274,6 @@ export declare const accountV1Registry: import("./core.js").PublicV1Registry<{
1280
1274
  "actions:write": "actions:write";
1281
1275
  "analytics:read": "analytics:read";
1282
1276
  "audit:read": "audit:read";
1283
- "content:read": "content:read";
1284
- "content:write": "content:write";
1285
1277
  "feedback:write": "feedback:write";
1286
1278
  "page:read": "page:read";
1287
1279
  "page:write": "page:write";
@@ -1047,6 +1047,12 @@ export declare const actionEvidenceItemSchema: z.ZodDiscriminatedUnion<[z.ZodObj
1047
1047
  id: z.ZodString;
1048
1048
  url: z.ZodString;
1049
1049
  detail: z.ZodNullable<z.ZodString>;
1050
+ }, z.core.$strict>, z.ZodObject<{
1051
+ _tag: z.ZodLiteral<"element">;
1052
+ id: z.ZodString;
1053
+ selector: z.ZodString;
1054
+ snippet: z.ZodNullable<z.ZodString>;
1055
+ page: z.ZodNullable<z.ZodString>;
1050
1056
  }, z.core.$strict>], "_tag">;
1051
1057
  export declare const actionEvidenceItemClientSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1052
1058
  _tag: z.ZodLiteral<"page-status">;
@@ -1070,6 +1076,12 @@ export declare const actionEvidenceItemClientSchema: z.ZodDiscriminatedUnion<[z.
1070
1076
  id: z.ZodString;
1071
1077
  url: z.ZodString;
1072
1078
  detail: z.ZodNullable<z.ZodString>;
1079
+ }, z.core.$loose>, z.ZodObject<{
1080
+ _tag: z.ZodLiteral<"element">;
1081
+ id: z.ZodString;
1082
+ selector: z.ZodString;
1083
+ snippet: z.ZodNullable<z.ZodString>;
1084
+ page: z.ZodNullable<z.ZodString>;
1073
1085
  }, z.core.$loose>], "_tag">;
1074
1086
  export declare const actionVerifierSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
1075
1087
  _tag: z.ZodLiteral<"target-healthy">;
@@ -1146,6 +1158,12 @@ export declare const actionEvidenceGroupSchema: import("./core.js").CompatibleRe
1146
1158
  id: z.ZodString;
1147
1159
  url: z.ZodString;
1148
1160
  detail: z.ZodNullable<z.ZodString>;
1161
+ }, z.core.$strict>, z.ZodObject<{
1162
+ _tag: z.ZodLiteral<"element">;
1163
+ id: z.ZodString;
1164
+ selector: z.ZodString;
1165
+ snippet: z.ZodNullable<z.ZodString>;
1166
+ page: z.ZodNullable<z.ZodString>;
1149
1167
  }, z.core.$strict>], "_tag">>;
1150
1168
  readonly nextCursor: z.ZodNullable<z.ZodString>;
1151
1169
  }, z.core.$strip>, z.ZodObject<{
@@ -1199,6 +1217,12 @@ export declare const actionEvidenceGroupSchema: import("./core.js").CompatibleRe
1199
1217
  id: z.ZodString;
1200
1218
  url: z.ZodString;
1201
1219
  detail: z.ZodNullable<z.ZodString>;
1220
+ }, z.core.$loose>, z.ZodObject<{
1221
+ _tag: z.ZodLiteral<"element">;
1222
+ id: z.ZodString;
1223
+ selector: z.ZodString;
1224
+ snippet: z.ZodNullable<z.ZodString>;
1225
+ page: z.ZodNullable<z.ZodString>;
1202
1226
  }, z.core.$loose>], "_tag">>;
1203
1227
  readonly nextCursor: z.ZodNullable<z.ZodString>;
1204
1228
  }, z.core.$strip>>;
@@ -1217,6 +1241,7 @@ export declare const actionShowDataSchema: import("./core.js").CompatibleRespons
1217
1241
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
1218
1242
  }, z.core.$strip>>;
1219
1243
  readonly action: z.ZodString;
1244
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
1220
1245
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
1221
1246
  _tag: z.ZodLiteral<"target-healthy">;
1222
1247
  url: z.ZodString;
@@ -1284,6 +1309,12 @@ export declare const actionShowDataSchema: import("./core.js").CompatibleRespons
1284
1309
  id: z.ZodString;
1285
1310
  url: z.ZodString;
1286
1311
  detail: z.ZodNullable<z.ZodString>;
1312
+ }, z.core.$strict>, z.ZodObject<{
1313
+ _tag: z.ZodLiteral<"element">;
1314
+ id: z.ZodString;
1315
+ selector: z.ZodString;
1316
+ snippet: z.ZodNullable<z.ZodString>;
1317
+ page: z.ZodNullable<z.ZodString>;
1287
1318
  }, z.core.$strict>], "_tag">>;
1288
1319
  readonly nextCursor: z.ZodNullable<z.ZodString>;
1289
1320
  }, z.core.$strip>>;
@@ -1302,6 +1333,7 @@ export declare const actionShowDataSchema: import("./core.js").CompatibleRespons
1302
1333
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
1303
1334
  }, z.core.$strip>>;
1304
1335
  readonly action: z.ZodString;
1336
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
1305
1337
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
1306
1338
  _tag: z.ZodLiteral<"target-healthy">;
1307
1339
  url: z.ZodString;
@@ -1369,6 +1401,12 @@ export declare const actionShowDataSchema: import("./core.js").CompatibleRespons
1369
1401
  id: z.ZodString;
1370
1402
  url: z.ZodString;
1371
1403
  detail: z.ZodNullable<z.ZodString>;
1404
+ }, z.core.$loose>, z.ZodObject<{
1405
+ _tag: z.ZodLiteral<"element">;
1406
+ id: z.ZodString;
1407
+ selector: z.ZodString;
1408
+ snippet: z.ZodNullable<z.ZodString>;
1409
+ page: z.ZodNullable<z.ZodString>;
1372
1410
  }, z.core.$loose>], "_tag">>;
1373
1411
  readonly nextCursor: z.ZodNullable<z.ZodString>;
1374
1412
  }, z.core.$strip>>;
@@ -1389,6 +1427,7 @@ export declare const actionShowResponseSchema: import("./core.js").CompatibleRes
1389
1427
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
1390
1428
  }, z.core.$strip>>;
1391
1429
  readonly action: z.ZodString;
1430
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
1392
1431
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
1393
1432
  _tag: z.ZodLiteral<"target-healthy">;
1394
1433
  url: z.ZodString;
@@ -1456,6 +1495,12 @@ export declare const actionShowResponseSchema: import("./core.js").CompatibleRes
1456
1495
  id: z.ZodString;
1457
1496
  url: z.ZodString;
1458
1497
  detail: z.ZodNullable<z.ZodString>;
1498
+ }, z.core.$strict>, z.ZodObject<{
1499
+ _tag: z.ZodLiteral<"element">;
1500
+ id: z.ZodString;
1501
+ selector: z.ZodString;
1502
+ snippet: z.ZodNullable<z.ZodString>;
1503
+ page: z.ZodNullable<z.ZodString>;
1459
1504
  }, z.core.$strict>], "_tag">>;
1460
1505
  readonly nextCursor: z.ZodNullable<z.ZodString>;
1461
1506
  }, z.core.$strip>>;
@@ -1480,6 +1525,7 @@ export declare const actionShowResponseSchema: import("./core.js").CompatibleRes
1480
1525
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
1481
1526
  }, z.core.$strip>>;
1482
1527
  readonly action: z.ZodString;
1528
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
1483
1529
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
1484
1530
  _tag: z.ZodLiteral<"target-healthy">;
1485
1531
  url: z.ZodString;
@@ -1547,6 +1593,12 @@ export declare const actionShowResponseSchema: import("./core.js").CompatibleRes
1547
1593
  id: z.ZodString;
1548
1594
  url: z.ZodString;
1549
1595
  detail: z.ZodNullable<z.ZodString>;
1596
+ }, z.core.$loose>, z.ZodObject<{
1597
+ _tag: z.ZodLiteral<"element">;
1598
+ id: z.ZodString;
1599
+ selector: z.ZodString;
1600
+ snippet: z.ZodNullable<z.ZodString>;
1601
+ page: z.ZodNullable<z.ZodString>;
1550
1602
  }, z.core.$loose>], "_tag">>;
1551
1603
  readonly nextCursor: z.ZodNullable<z.ZodString>;
1552
1604
  }, z.core.$strip>>;
@@ -2142,6 +2194,7 @@ export declare const actionShowOperation: {
2142
2194
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
2143
2195
  }, z.core.$strip>>;
2144
2196
  readonly action: z.ZodString;
2197
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
2145
2198
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
2146
2199
  _tag: z.ZodLiteral<"target-healthy">;
2147
2200
  url: z.ZodString;
@@ -2209,6 +2262,12 @@ export declare const actionShowOperation: {
2209
2262
  id: z.ZodString;
2210
2263
  url: z.ZodString;
2211
2264
  detail: z.ZodNullable<z.ZodString>;
2265
+ }, z.core.$strict>, z.ZodObject<{
2266
+ _tag: z.ZodLiteral<"element">;
2267
+ id: z.ZodString;
2268
+ selector: z.ZodString;
2269
+ snippet: z.ZodNullable<z.ZodString>;
2270
+ page: z.ZodNullable<z.ZodString>;
2212
2271
  }, z.core.$strict>], "_tag">>;
2213
2272
  readonly nextCursor: z.ZodNullable<z.ZodString>;
2214
2273
  }, z.core.$strip>>;
@@ -2233,6 +2292,7 @@ export declare const actionShowOperation: {
2233
2292
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
2234
2293
  }, z.core.$strip>>;
2235
2294
  readonly action: z.ZodString;
2295
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
2236
2296
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
2237
2297
  _tag: z.ZodLiteral<"target-healthy">;
2238
2298
  url: z.ZodString;
@@ -2300,6 +2360,12 @@ export declare const actionShowOperation: {
2300
2360
  id: z.ZodString;
2301
2361
  url: z.ZodString;
2302
2362
  detail: z.ZodNullable<z.ZodString>;
2363
+ }, z.core.$loose>, z.ZodObject<{
2364
+ _tag: z.ZodLiteral<"element">;
2365
+ id: z.ZodString;
2366
+ selector: z.ZodString;
2367
+ snippet: z.ZodNullable<z.ZodString>;
2368
+ page: z.ZodNullable<z.ZodString>;
2303
2369
  }, z.core.$loose>], "_tag">>;
2304
2370
  readonly nextCursor: z.ZodNullable<z.ZodString>;
2305
2371
  }, z.core.$strip>>;
@@ -2411,6 +2477,7 @@ export declare const actionShowOperation: {
2411
2477
  readonly url: 'https://example.com/pricing';
2412
2478
  };
2413
2479
  readonly action: 'Restore or redirect the page.';
2480
+ readonly workPrompt: null;
2414
2481
  readonly verifier: {
2415
2482
  readonly _tag: 'finding-cleared';
2416
2483
  readonly findingType: 'broken-pages';
@@ -3317,6 +3384,7 @@ export declare const actionsV1Registry: import("./core.js").PublicV1Registry<{
3317
3384
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
3318
3385
  }, z.core.$strip>>;
3319
3386
  readonly action: z.ZodString;
3387
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
3320
3388
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
3321
3389
  _tag: z.ZodLiteral<"target-healthy">;
3322
3390
  url: z.ZodString;
@@ -3384,6 +3452,12 @@ export declare const actionsV1Registry: import("./core.js").PublicV1Registry<{
3384
3452
  id: z.ZodString;
3385
3453
  url: z.ZodString;
3386
3454
  detail: z.ZodNullable<z.ZodString>;
3455
+ }, z.core.$strict>, z.ZodObject<{
3456
+ _tag: z.ZodLiteral<"element">;
3457
+ id: z.ZodString;
3458
+ selector: z.ZodString;
3459
+ snippet: z.ZodNullable<z.ZodString>;
3460
+ page: z.ZodNullable<z.ZodString>;
3387
3461
  }, z.core.$strict>], "_tag">>;
3388
3462
  readonly nextCursor: z.ZodNullable<z.ZodString>;
3389
3463
  }, z.core.$strip>>;
@@ -3408,6 +3482,7 @@ export declare const actionsV1Registry: import("./core.js").PublicV1Registry<{
3408
3482
  readonly redirectsTo: z.ZodOptional<z.ZodString>;
3409
3483
  }, z.core.$strip>>;
3410
3484
  readonly action: z.ZodString;
3485
+ readonly workPrompt: z.ZodNullable<z.ZodString>;
3411
3486
  readonly verifier: z.ZodDiscriminatedUnion<[z.ZodObject<{
3412
3487
  _tag: z.ZodLiteral<"target-healthy">;
3413
3488
  url: z.ZodString;
@@ -3475,6 +3550,12 @@ export declare const actionsV1Registry: import("./core.js").PublicV1Registry<{
3475
3550
  id: z.ZodString;
3476
3551
  url: z.ZodString;
3477
3552
  detail: z.ZodNullable<z.ZodString>;
3553
+ }, z.core.$loose>, z.ZodObject<{
3554
+ _tag: z.ZodLiteral<"element">;
3555
+ id: z.ZodString;
3556
+ selector: z.ZodString;
3557
+ snippet: z.ZodNullable<z.ZodString>;
3558
+ page: z.ZodNullable<z.ZodString>;
3478
3559
  }, z.core.$loose>], "_tag">>;
3479
3560
  readonly nextCursor: z.ZodNullable<z.ZodString>;
3480
3561
  }, z.core.$strip>>;
@@ -3586,6 +3667,7 @@ export declare const actionsV1Registry: import("./core.js").PublicV1Registry<{
3586
3667
  readonly url: 'https://example.com/pricing';
3587
3668
  };
3588
3669
  readonly action: 'Restore or redirect the page.';
3670
+ readonly workPrompt: null;
3589
3671
  readonly verifier: {
3590
3672
  readonly _tag: 'finding-cleared';
3591
3673
  readonly findingType: 'broken-pages';
@@ -209,6 +209,13 @@ export const actionEvidenceItemSchema = schema.discriminatedUnion('_tag', [
209
209
  url: schema.string().url(),
210
210
  detail: schema.string().nullable(),
211
211
  }),
212
+ schema.strictObject({
213
+ _tag: schema.literal('element'),
214
+ id: schema.string().min(1),
215
+ selector: schema.string().min(1),
216
+ snippet: schema.string().min(1).nullable(),
217
+ page: schema.string().url().nullable(),
218
+ }),
212
219
  ]);
213
220
  export const actionEvidenceItemClientSchema = schema.discriminatedUnion('_tag', [
214
221
  schema.looseObject({
@@ -237,6 +244,13 @@ export const actionEvidenceItemClientSchema = schema.discriminatedUnion('_tag',
237
244
  url: schema.string().url(),
238
245
  detail: schema.string().nullable(),
239
246
  }),
247
+ schema.looseObject({
248
+ _tag: schema.literal('element'),
249
+ id: schema.string().min(1),
250
+ selector: schema.string().min(1),
251
+ snippet: schema.string().min(1).nullable(),
252
+ page: schema.string().url().nullable(),
253
+ }),
240
254
  ]);
241
255
  export const actionVerifierSchema = schema.discriminatedUnion('_tag', [
242
256
  schema.strictObject({ _tag: schema.literal('target-healthy'), url: schema.string().url() }),
@@ -285,6 +299,7 @@ export const actionShowDataSchema = defineResponseObject({
285
299
  diagnosis: schema.string().min(1),
286
300
  subject: actionSubjectSchema.producer.nullable(),
287
301
  action: schema.string().min(1),
302
+ workPrompt: schema.string().min(1).nullable(),
288
303
  verifier: actionVerifierSchema,
289
304
  materiality: schema.strictObject({
290
305
  affectedSubjects: schema.number().int().nonnegative(),
@@ -301,6 +316,7 @@ export const actionShowDataSchema = defineResponseObject({
301
316
  diagnosis: schema.string().min(1),
302
317
  subject: actionSubjectSchema.client.nullable(),
303
318
  action: schema.string().min(1),
319
+ workPrompt: schema.string().min(1).nullable(),
304
320
  verifier: actionVerifierClientSchema,
305
321
  materiality: schema.looseObject({
306
322
  affectedSubjects: schema.number().int().nonnegative(),
@@ -423,6 +439,7 @@ export const actionShowOperation = defineOperation({
423
439
  diagnosis: 'One page returns HTTP 404.',
424
440
  subject: { kind: 'page', label: '/pricing', url: 'https://example.com/pricing' },
425
441
  action: 'Restore or redirect the page.',
442
+ workPrompt: null,
426
443
  verifier: { _tag: 'finding-cleared', findingType: 'broken-pages' },
427
444
  materiality: { affectedSubjects: 1, internalReferrers: 2 },
428
445
  evidenceGroups: [],
@@ -1964,7 +1964,7 @@ export declare const auditChangesOperation: {
1964
1964
  }, z.core.$loose>;
1965
1965
  }, z.core.$strip>>;
1966
1966
  };
1967
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
1967
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
1968
1968
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1969
1969
  readonly error: z.ZodObject<{
1970
1970
  code: z.ZodEnum<{
@@ -2190,7 +2190,7 @@ export declare const auditContentDecayOperation: {
2190
2190
  }, z.core.$loose>;
2191
2191
  }, z.core.$strip>>;
2192
2192
  };
2193
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
2193
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
2194
2194
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
2195
2195
  readonly error: z.ZodObject<{
2196
2196
  code: z.ZodEnum<{
@@ -2471,7 +2471,7 @@ export declare const auditDuplicateClustersOperation: {
2471
2471
  }, z.core.$loose>;
2472
2472
  }, z.core.$strip>>;
2473
2473
  };
2474
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
2474
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
2475
2475
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
2476
2476
  readonly error: z.ZodObject<{
2477
2477
  code: z.ZodEnum<{
@@ -2696,7 +2696,7 @@ export declare const auditLinkOpportunitiesOperation: {
2696
2696
  }, z.core.$loose>;
2697
2697
  }, z.core.$strip>>;
2698
2698
  };
2699
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
2699
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
2700
2700
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
2701
2701
  readonly error: z.ZodObject<{
2702
2702
  code: z.ZodEnum<{
@@ -2923,7 +2923,7 @@ export declare const auditLinkStructureOperation: {
2923
2923
  }, z.core.$loose>;
2924
2924
  }, z.core.$strip>>;
2925
2925
  };
2926
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
2926
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
2927
2927
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
2928
2928
  readonly error: z.ZodObject<{
2929
2929
  code: z.ZodEnum<{
@@ -3397,7 +3397,7 @@ export declare const auditV1Registry: import("./core.js").PublicV1Registry<{
3397
3397
  }, z.core.$loose>;
3398
3398
  }, z.core.$strip>>;
3399
3399
  };
3400
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
3400
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
3401
3401
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
3402
3402
  readonly error: z.ZodObject<{
3403
3403
  code: z.ZodEnum<{
@@ -3623,7 +3623,7 @@ export declare const auditV1Registry: import("./core.js").PublicV1Registry<{
3623
3623
  }, z.core.$loose>;
3624
3624
  }, z.core.$strip>>;
3625
3625
  };
3626
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
3626
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
3627
3627
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
3628
3628
  readonly error: z.ZodObject<{
3629
3629
  code: z.ZodEnum<{
@@ -3904,7 +3904,7 @@ export declare const auditV1Registry: import("./core.js").PublicV1Registry<{
3904
3904
  }, z.core.$loose>;
3905
3905
  }, z.core.$strip>>;
3906
3906
  };
3907
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
3907
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
3908
3908
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
3909
3909
  readonly error: z.ZodObject<{
3910
3910
  code: z.ZodEnum<{
@@ -4129,7 +4129,7 @@ export declare const auditV1Registry: import("./core.js").PublicV1Registry<{
4129
4129
  }, z.core.$loose>;
4130
4130
  }, z.core.$strip>>;
4131
4131
  };
4132
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
4132
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
4133
4133
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
4134
4134
  readonly error: z.ZodObject<{
4135
4135
  code: z.ZodEnum<{
@@ -4356,7 +4356,7 @@ export declare const auditV1Registry: import("./core.js").PublicV1Registry<{
4356
4356
  }, z.core.$loose>;
4357
4357
  }, z.core.$strip>>;
4358
4358
  };
4359
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
4359
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "provider_unavailable", "contract_violation", "internal_error"];
4360
4360
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
4361
4361
  readonly error: z.ZodObject<{
4362
4362
  code: z.ZodEnum<{
package/dist/v1/audit.js CHANGED
@@ -357,6 +357,7 @@ const auditReadErrors = [
357
357
  'auth_expired',
358
358
  'forbidden',
359
359
  'not_found',
360
+ 'conflict',
360
361
  'rate_limited',
361
362
  'provider_unavailable',
362
363
  'contract_violation',
@@ -321,7 +321,7 @@ export declare const recoverableBacklinksOperation: {
321
321
  }, z.core.$loose>;
322
322
  }, z.core.$strip>>;
323
323
  };
324
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
324
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
325
325
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
326
326
  readonly error: z.ZodObject<{
327
327
  code: z.ZodEnum<{
@@ -798,7 +798,7 @@ export declare const mentionsListOperation: {
798
798
  }, z.core.$loose>;
799
799
  }, z.core.$strip>>;
800
800
  };
801
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
801
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
802
802
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
803
803
  readonly error: z.ZodObject<{
804
804
  code: z.ZodEnum<{
@@ -1062,7 +1062,7 @@ export declare const mentionsV1Registry: import("./core.js").PublicV1Registry<{
1062
1062
  }, z.core.$loose>;
1063
1063
  }, z.core.$strip>>;
1064
1064
  };
1065
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
1065
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
1066
1066
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1067
1067
  readonly error: z.ZodObject<{
1068
1068
  code: z.ZodEnum<{
@@ -2997,7 +2997,7 @@ export declare const backlinksV1Registry: import("./core.js").PublicV1Registry<{
2997
2997
  }, z.core.$loose>;
2998
2998
  }, z.core.$strip>>;
2999
2999
  };
3000
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
3000
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
3001
3001
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
3002
3002
  readonly error: z.ZodObject<{
3003
3003
  code: z.ZodEnum<{
@@ -76,6 +76,7 @@ export const recoverableBacklinksOperation = defineOperation({
76
76
  'auth_expired',
77
77
  'forbidden',
78
78
  'not_found',
79
+ 'conflict',
79
80
  'rate_limited',
80
81
  'contract_violation',
81
82
  'internal_error',
@@ -211,6 +212,7 @@ export const mentionsListOperation = defineOperation({
211
212
  'auth_expired',
212
213
  'forbidden',
213
214
  'not_found',
215
+ 'conflict',
214
216
  'rate_limited',
215
217
  'contract_violation',
216
218
  'internal_error',
package/dist/v1/core.d.ts CHANGED
@@ -20,7 +20,7 @@ export declare const publicV1StandardRatePolicy: {
20
20
  export declare const PUBLIC_V1_FEATURES: readonly ['account', 'actions', 'analytics', 'audit', 'backlinks', 'content', 'mentions', 'page', 'research', 'sites', 'timeline'];
21
21
  export declare const PUBLIC_V1_METHODS: readonly ['DELETE', 'GET', 'PATCH', 'POST'];
22
22
  export declare const PUBLIC_V1_CREDENTIALS: readonly ['api_token', 'session'];
23
- export declare const PUBLIC_V1_SCOPES: readonly ['account:read', 'actions:read', 'actions:write', 'analytics:read', 'audit:read', 'content:read', 'content:write', 'feedback:write', 'page:read', 'page:write', 'research:read', 'research:write', 'sites:read', 'sites:write', 'timeline:read', 'timeline:write'];
23
+ export declare const PUBLIC_V1_SCOPES: readonly ['account:read', 'actions:read', 'actions:write', 'analytics:read', 'audit:read', 'feedback:write', 'page:read', 'page:write', 'research:read', 'research:write', 'sites:read', 'sites:write', 'timeline:read', 'timeline:write'];
24
24
  export declare const PUBLIC_V1_ROLES: readonly ['viewer', 'member', 'admin', 'owner'];
25
25
  export declare const PUBLIC_V1_ERROR_CODES: readonly ['invalid_request', 'unauthorized', 'forbidden', 'not_found', 'site_ambiguous', 'auth_expired', 'entitlement_required', 'quota_exhausted', 'provider_unavailable', 'stale_evidence', 'conflict', 'rate_limited', 'contract_violation', 'internal_error'];
26
26
  export declare const PUBLIC_V1_ERROR_STATUS: {
@@ -239,7 +239,7 @@ export declare const publicV1ErrorClientSchema: z.ZodObject<{
239
239
  *
240
240
  * Every list operation answers `data.rows` plus `data.page`. One envelope means
241
241
  * a caller reads any list the same way, instead of guessing between `rows`,
242
- * `items`, `sites`, `actions`, `briefs` and `clusters`.
242
+ * `items`, `sites`, `actions` and `clusters`.
243
243
  *
244
244
  * `total` counts the whole result set, not this page. `limit` is the page size
245
245
  * the operation applied, and is 0 when the operation returned no page at all.
package/dist/v1/core.js CHANGED
@@ -40,8 +40,6 @@ export const PUBLIC_V1_SCOPES = [
40
40
  'actions:write',
41
41
  'analytics:read',
42
42
  'audit:read',
43
- 'content:read',
44
- 'content:write',
45
43
  'feedback:write',
46
44
  'page:read',
47
45
  'page:write',
@@ -352,7 +350,7 @@ export const publicV1ErrorClientSchema = z.looseObject({
352
350
  *
353
351
  * Every list operation answers `data.rows` plus `data.page`. One envelope means
354
352
  * a caller reads any list the same way, instead of guessing between `rows`,
355
- * `items`, `sites`, `actions`, `briefs` and `clusters`.
353
+ * `items`, `sites`, `actions` and `clusters`.
356
354
  *
357
355
  * `total` counts the whole result set, not this page. `limit` is the page size
358
356
  * the operation applied, and is 0 when the operation returned no page at all.
@@ -4,7 +4,6 @@ import { actionsV1Registry } from './actions.js';
4
4
  import { analyticsV1Registry } from './analytics.js';
5
5
  import { auditV1Registry } from './audit.js';
6
6
  import { backlinksV1Registry, mentionsV1Registry } from './backlinks.js';
7
- import { contentV1Registry } from './content.js';
8
7
  import { publicV1ErrorEnvelope } from './core.js';
9
8
  import { searchV1Registry } from './gsc.js';
10
9
  import { pagesV1Registry } from './pages.js';
@@ -18,7 +17,6 @@ export * from './actions.js';
18
17
  export * from './analytics.js';
19
18
  export * from './audit.js';
20
19
  export * from './backlinks.js';
21
- export * from './content.js';
22
20
  export * from './core.js';
23
21
  export * from './documents.js';
24
22
  export * from './gsc.js';
@@ -36,7 +34,6 @@ export interface PublicV1Protocol extends Omit<PublicV1ProtocolLike, 'registries
36
34
  readonly audit: typeof auditV1Registry;
37
35
  readonly backlinks: typeof backlinksV1Registry;
38
36
  readonly mentions: typeof mentionsV1Registry;
39
- readonly content: typeof contentV1Registry;
40
37
  readonly page: typeof pagesV1Registry;
41
38
  readonly performance: typeof performanceV1Registry;
42
39
  readonly research: typeof researchV1Registry;
package/dist/v1/index.js CHANGED
@@ -3,7 +3,6 @@ import { actionsV1Registry } from './actions.js';
3
3
  import { analyticsV1Registry } from './analytics.js';
4
4
  import { auditV1Registry } from './audit.js';
5
5
  import { backlinksV1Registry, mentionsV1Registry } from './backlinks.js';
6
- import { contentV1Registry } from './content.js';
7
6
  import { defineProtocol, PUBLIC_V1_VERSION, publicV1ErrorEnvelope } from './core.js';
8
7
  import { searchV1Registry } from './gsc.js';
9
8
  import { pagesV1Registry } from './pages.js';
@@ -17,7 +16,6 @@ export * from './actions.js';
17
16
  export * from './analytics.js';
18
17
  export * from './audit.js';
19
18
  export * from './backlinks.js';
20
- export * from './content.js';
21
19
  export * from './core.js';
22
20
  export * from './documents.js';
23
21
  export * from './gsc.js';
@@ -37,7 +35,6 @@ export function createPublicV1Protocol() {
37
35
  audit: auditV1Registry,
38
36
  backlinks: backlinksV1Registry,
39
37
  mentions: mentionsV1Registry,
40
- content: contentV1Registry,
41
38
  page: pagesV1Registry,
42
39
  performance: performanceV1Registry,
43
40
  research: researchV1Registry,
@@ -710,7 +710,7 @@ export declare const pageInspectOperation: {
710
710
  }, z.core.$loose>;
711
711
  }, z.core.$strip>>;
712
712
  };
713
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
713
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
714
714
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
715
715
  readonly error: z.ZodObject<{
716
716
  code: z.ZodEnum<{
@@ -1984,7 +1984,7 @@ export declare const pagesV1Registry: import("./core.js").PublicV1Registry<{
1984
1984
  }, z.core.$loose>;
1985
1985
  }, z.core.$strip>>;
1986
1986
  };
1987
- readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "rate_limited", "contract_violation", "internal_error"];
1987
+ readonly errors: readonly ["invalid_request", "unauthorized", "auth_expired", "forbidden", "not_found", "conflict", "rate_limited", "contract_violation", "internal_error"];
1988
1988
  readonly errorResponse: import("./core.js").CompatibleResponseSchema<z.ZodObject<{
1989
1989
  readonly error: z.ZodObject<{
1990
1990
  code: z.ZodEnum<{
package/dist/v1/pages.js CHANGED
@@ -182,6 +182,7 @@ export const pageInspectOperation = defineOperation({
182
182
  'auth_expired',
183
183
  'forbidden',
184
184
  'not_found',
185
+ 'conflict',
185
186
  'rate_limited',
186
187
  'contract_violation',
187
188
  'internal_error',