@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.
@@ -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>>;
@@ -1284,6 +1308,12 @@ export declare const actionShowDataSchema: import("./core.js").CompatibleRespons
1284
1308
  id: z.ZodString;
1285
1309
  url: z.ZodString;
1286
1310
  detail: z.ZodNullable<z.ZodString>;
1311
+ }, z.core.$strict>, z.ZodObject<{
1312
+ _tag: z.ZodLiteral<"element">;
1313
+ id: z.ZodString;
1314
+ selector: z.ZodString;
1315
+ snippet: z.ZodNullable<z.ZodString>;
1316
+ page: z.ZodNullable<z.ZodString>;
1287
1317
  }, z.core.$strict>], "_tag">>;
1288
1318
  readonly nextCursor: z.ZodNullable<z.ZodString>;
1289
1319
  }, z.core.$strip>>;
@@ -1369,6 +1399,12 @@ export declare const actionShowDataSchema: import("./core.js").CompatibleRespons
1369
1399
  id: z.ZodString;
1370
1400
  url: z.ZodString;
1371
1401
  detail: z.ZodNullable<z.ZodString>;
1402
+ }, z.core.$loose>, z.ZodObject<{
1403
+ _tag: z.ZodLiteral<"element">;
1404
+ id: z.ZodString;
1405
+ selector: z.ZodString;
1406
+ snippet: z.ZodNullable<z.ZodString>;
1407
+ page: z.ZodNullable<z.ZodString>;
1372
1408
  }, z.core.$loose>], "_tag">>;
1373
1409
  readonly nextCursor: z.ZodNullable<z.ZodString>;
1374
1410
  }, z.core.$strip>>;
@@ -1456,6 +1492,12 @@ export declare const actionShowResponseSchema: import("./core.js").CompatibleRes
1456
1492
  id: z.ZodString;
1457
1493
  url: z.ZodString;
1458
1494
  detail: z.ZodNullable<z.ZodString>;
1495
+ }, z.core.$strict>, z.ZodObject<{
1496
+ _tag: z.ZodLiteral<"element">;
1497
+ id: z.ZodString;
1498
+ selector: z.ZodString;
1499
+ snippet: z.ZodNullable<z.ZodString>;
1500
+ page: z.ZodNullable<z.ZodString>;
1459
1501
  }, z.core.$strict>], "_tag">>;
1460
1502
  readonly nextCursor: z.ZodNullable<z.ZodString>;
1461
1503
  }, z.core.$strip>>;
@@ -1547,6 +1589,12 @@ export declare const actionShowResponseSchema: import("./core.js").CompatibleRes
1547
1589
  id: z.ZodString;
1548
1590
  url: z.ZodString;
1549
1591
  detail: z.ZodNullable<z.ZodString>;
1592
+ }, z.core.$loose>, z.ZodObject<{
1593
+ _tag: z.ZodLiteral<"element">;
1594
+ id: z.ZodString;
1595
+ selector: z.ZodString;
1596
+ snippet: z.ZodNullable<z.ZodString>;
1597
+ page: z.ZodNullable<z.ZodString>;
1550
1598
  }, z.core.$loose>], "_tag">>;
1551
1599
  readonly nextCursor: z.ZodNullable<z.ZodString>;
1552
1600
  }, z.core.$strip>>;
@@ -2209,6 +2257,12 @@ export declare const actionShowOperation: {
2209
2257
  id: z.ZodString;
2210
2258
  url: z.ZodString;
2211
2259
  detail: z.ZodNullable<z.ZodString>;
2260
+ }, z.core.$strict>, z.ZodObject<{
2261
+ _tag: z.ZodLiteral<"element">;
2262
+ id: z.ZodString;
2263
+ selector: z.ZodString;
2264
+ snippet: z.ZodNullable<z.ZodString>;
2265
+ page: z.ZodNullable<z.ZodString>;
2212
2266
  }, z.core.$strict>], "_tag">>;
2213
2267
  readonly nextCursor: z.ZodNullable<z.ZodString>;
2214
2268
  }, z.core.$strip>>;
@@ -2300,6 +2354,12 @@ export declare const actionShowOperation: {
2300
2354
  id: z.ZodString;
2301
2355
  url: z.ZodString;
2302
2356
  detail: z.ZodNullable<z.ZodString>;
2357
+ }, z.core.$loose>, z.ZodObject<{
2358
+ _tag: z.ZodLiteral<"element">;
2359
+ id: z.ZodString;
2360
+ selector: z.ZodString;
2361
+ snippet: z.ZodNullable<z.ZodString>;
2362
+ page: z.ZodNullable<z.ZodString>;
2303
2363
  }, z.core.$loose>], "_tag">>;
2304
2364
  readonly nextCursor: z.ZodNullable<z.ZodString>;
2305
2365
  }, z.core.$strip>>;
@@ -3384,6 +3444,12 @@ export declare const actionsV1Registry: import("./core.js").PublicV1Registry<{
3384
3444
  id: z.ZodString;
3385
3445
  url: z.ZodString;
3386
3446
  detail: z.ZodNullable<z.ZodString>;
3447
+ }, z.core.$strict>, z.ZodObject<{
3448
+ _tag: z.ZodLiteral<"element">;
3449
+ id: z.ZodString;
3450
+ selector: z.ZodString;
3451
+ snippet: z.ZodNullable<z.ZodString>;
3452
+ page: z.ZodNullable<z.ZodString>;
3387
3453
  }, z.core.$strict>], "_tag">>;
3388
3454
  readonly nextCursor: z.ZodNullable<z.ZodString>;
3389
3455
  }, z.core.$strip>>;
@@ -3475,6 +3541,12 @@ export declare const actionsV1Registry: import("./core.js").PublicV1Registry<{
3475
3541
  id: z.ZodString;
3476
3542
  url: z.ZodString;
3477
3543
  detail: z.ZodNullable<z.ZodString>;
3544
+ }, z.core.$loose>, z.ZodObject<{
3545
+ _tag: z.ZodLiteral<"element">;
3546
+ id: z.ZodString;
3547
+ selector: z.ZodString;
3548
+ snippet: z.ZodNullable<z.ZodString>;
3549
+ page: z.ZodNullable<z.ZodString>;
3478
3550
  }, z.core.$loose>], "_tag">>;
3479
3551
  readonly nextCursor: z.ZodNullable<z.ZodString>;
3480
3552
  }, z.core.$strip>>;
@@ -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() }),
@@ -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',
@@ -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<{