@withmarfa/client 0.0.5 → 0.0.7

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.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/dist/index.d.ts +2712 -220
  3. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -259,7 +259,7 @@ interface paths {
259
259
  put?: never;
260
260
  /**
261
261
  * Apply a bulk action
262
- * @description Applies one action to every item that matches a filter: change state, purge, update tags, tier, properties or own time. It matches only items you can write. With `dry_run: true` it returns the matched IDs; otherwise it queues a job.
262
+ * @description Applies one action to every item that matches a filter: change state, purge, update tags, tier, properties or own time. It matches only items you can write. With `dry_run: true` it returns the matched IDs; otherwise it queues a bulk-action job.
263
263
  */
264
264
  post: operations["applyBulkAction"];
265
265
  delete?: never;
@@ -277,7 +277,7 @@ interface paths {
277
277
  };
278
278
  /**
279
279
  * Get a bulk-action job
280
- * @description Returns a bulk-action job's status and counts, and its `result` once it has finished. Only the credential that queued the job, or an operator key, can read it.
280
+ * @description Returns a bulk-action job's status and counts, and its `result` once it has finished. Only the credential that queued the job, or the holder of instance.read, can read it.
281
281
  */
282
282
  get: operations["getBulkActionJob"];
283
283
  put?: never;
@@ -624,6 +624,26 @@ interface paths {
624
624
  patch?: never;
625
625
  trace?: never;
626
626
  };
627
+ "/types/normalize": {
628
+ parameters: {
629
+ query?: never;
630
+ header?: never;
631
+ path?: never;
632
+ cookie?: never;
633
+ };
634
+ get?: never;
635
+ put?: never;
636
+ /**
637
+ * Normalize a type
638
+ * @description Normalizes a candidate definition and returns its declared form, the registered declared definition and the registered resolved definition. It does not register or replace a type.
639
+ */
640
+ post: operations["normalizeType"];
641
+ delete?: never;
642
+ options?: never;
643
+ head?: never;
644
+ patch?: never;
645
+ trace?: never;
646
+ };
627
647
  "/search": {
628
648
  parameters: {
629
649
  query?: never;
@@ -713,7 +733,7 @@ interface paths {
713
733
  };
714
734
  /**
715
735
  * List orphaned blobs
716
- * @description Returns the blobs that nothing references, as the last run of the `blob-orphans` housekeeping job found them, oldest first. Requires the operator key.
736
+ * @description Returns the blobs that nothing references, as the last run of the `blob-orphans` housekeeping job found them, oldest first. Requires instance.read.
717
737
  */
718
738
  get: operations["listBlobOrphans"];
719
739
  put?: never;
@@ -733,7 +753,7 @@ interface paths {
733
753
  };
734
754
  /**
735
755
  * List blob stores
736
- * @description Returns every store the instance has attached, including any it has since detached, and `min_copies`, the fewest live copies Marfa keeps of a blob. Requires the operator key.
756
+ * @description Returns every store the instance has attached, including any it has since detached, and `min_copies`, the fewest live copies Marfa keeps of a blob. Requires instance.read.
737
757
  */
738
758
  get: operations["listBlobStores"];
739
759
  put?: never;
@@ -816,7 +836,7 @@ interface paths {
816
836
  post?: never;
817
837
  /**
818
838
  * Delete a blob's copy in a store
819
- * @description Deletes the copy of a blob that one store holds, and its row in the location log. Requires the operator key.
839
+ * @description Deletes the copy of a blob that one store holds, and its row in the location log. Requires blobs.manage.
820
840
  */
821
841
  delete: operations["deleteBlobLocation"];
822
842
  options?: never;
@@ -833,7 +853,7 @@ interface paths {
833
853
  };
834
854
  /**
835
855
  * List housekeeping jobs
836
- * @description Returns every housekeeping job Marfa runs: its interval, when it's next due, whether a run holds it, and what its last run did. A job turned off by a server setting isn't listed, unless `/config` can turn it back on. Requires the operator key.
856
+ * @description Returns every housekeeping job Marfa runs: its interval, when it's next due, whether a run holds it, and what its last run did. A job a server setting switches off isn't listed. Requires instance.read.
837
857
  */
838
858
  get: operations["listHousekeeping"];
839
859
  put?: never;
@@ -855,7 +875,7 @@ interface paths {
855
875
  put?: never;
856
876
  /**
857
877
  * Run a housekeeping job
858
- * @description Runs a housekeeping job now, waits for it to finish, and returns what the run did. A failed run still returns `200`, with the failure in `outcome` and `error`. Requires the operator key.
878
+ * @description Runs a housekeeping job now, waits for it to finish, and returns what the run did. A failed run still returns `200`, with the failure in `outcome` and `error`. Requires instance.maintain.
859
879
  */
860
880
  post: operations["runHousekeeping"];
861
881
  delete?: never;
@@ -873,7 +893,7 @@ interface paths {
873
893
  };
874
894
  /**
875
895
  * List connectors
876
- * @description Returns your registration, or every registration if you use the operator key, newest first.
896
+ * @description Returns your registration, or every registration if you hold connectors.manage, newest first.
877
897
  */
878
898
  get: operations["listConnectors"];
879
899
  put?: never;
@@ -1104,7 +1124,7 @@ interface paths {
1104
1124
  post?: never;
1105
1125
  /**
1106
1126
  * Delete the state document
1107
- * @description Deletes the state document and every agreement of the connector's source, which every registration of that source reads. No hold is needed.
1127
+ * @description Deletes the state document, current problems and every agreement of the connector's source, which every registration of that source reads. No hold is needed.
1108
1128
  */
1109
1129
  delete: operations["deleteConnectorState"];
1110
1130
  options?: never;
@@ -1225,7 +1245,7 @@ interface paths {
1225
1245
  };
1226
1246
  /**
1227
1247
  * List API keys
1228
- * @description Returns the API keys you could have created, your own included, without their plaintext. The operator key gets every key. Requires `keys.mint` or the operator key.
1248
+ * @description Returns key metadata without plaintext. `keys.manage` and direct owner or local authority list all keys; `keys.mint` lists keys within the caller's current reach. Requires `keys.mint`, `keys.manage`, or direct owner or local authority.
1229
1249
  */
1230
1250
  get: operations["listKeys"];
1231
1251
  put?: never;
@@ -1272,14 +1292,14 @@ interface paths {
1272
1292
  post?: never;
1273
1293
  /**
1274
1294
  * Revoke an API key
1275
- * @description Revokes an API key at once: Marfa stops accepting it, ends its open event streams and stops its queued bulk actions. You can revoke any key you could have created, your own included. Requires `keys.mint` or the operator key.
1295
+ * @description Revokes a key, ending its event streams and queued bulk actions. `keys.manage` or direct owner or local authority can revoke any key. A caller with only `keys.mint` can revoke keys within its current reach.
1276
1296
  */
1277
1297
  delete: operations["revokeKey"];
1278
1298
  options?: never;
1279
1299
  head?: never;
1280
1300
  /**
1281
1301
  * Update an API key
1282
- * @description Updates a key's label, default tier, permissions, maps, claimed `sources` or enforcement levers, and returns it. Each field you send replaces its old value, and a field you leave out stays. Requires `keys.mint` or the operator key.
1302
+ * @description Updates a key and returns it. Each supplied field replaces its value; omitted fields stay unchanged. Requires `keys.mint`, `keys.manage`, or direct owner or local authority.
1283
1303
  */
1284
1304
  patch: operations["updateKey"];
1285
1305
  trace?: never;
@@ -1319,7 +1339,7 @@ interface paths {
1319
1339
  put?: never;
1320
1340
  /**
1321
1341
  * Restore from an archive
1322
- * @description Restores an archive that `GET /export?format=archive` made, and returns counts of what it wrote and skipped. Everything it writes commits together, so a failed restore writes nothing. Other writes wait until it ends. Requires the operator key.
1342
+ * @description Restores an exported archive atomically and returns counts of written and skipped records. Other writes wait until it finishes. Requires local authority or the owner, authenticated within five minutes.
1323
1343
  */
1324
1344
  post: operations["restoreArchive"];
1325
1345
  delete?: never;
@@ -1337,7 +1357,7 @@ interface paths {
1337
1357
  };
1338
1358
  /**
1339
1359
  * List stale platform types
1340
- * @description Returns the platform types that this instance still carries but this build no longer ships, with how many items use each. They stay in `GET /types` until removed. Operator key only.
1360
+ * @description Returns the platform types that this instance still carries but this build no longer ships, with how many items use each. They stay in `GET /types` until removed. Requires instance.read.
1341
1361
  */
1342
1362
  get: operations["listPlatformTypeDrift"];
1343
1363
  put?: never;
@@ -1360,7 +1380,7 @@ interface paths {
1360
1380
  post?: never;
1361
1381
  /**
1362
1382
  * Delete a stale platform type
1363
- * @description Deletes one platform type that this build no longer ships. The type stops resolving at once. Operator key only.
1383
+ * @description Deletes one platform type that this build no longer ships. The type stops resolving at once. Requires instance.maintain.
1364
1384
  */
1365
1385
  delete: operations["deletePlatformType"];
1366
1386
  options?: never;
@@ -1377,13 +1397,13 @@ interface paths {
1377
1397
  };
1378
1398
  /**
1379
1399
  * Get the owner
1380
- * @description Returns the owner: the one account that can sign in to the instance and approve apps. A new instance has no owner until `POST /owner` creates one. Requires the operator key.
1400
+ * @description Returns the owner of the claimed instance. Requires a direct owner sign-in or local process authority.
1381
1401
  */
1382
1402
  get: operations["getOwner"];
1383
1403
  put?: never;
1384
1404
  /**
1385
- * Create the owner
1386
- * @description Creates the owner, the one account that can sign in to the instance, and returns it. The owner can sign in at once with the email address and password. No other route creates an account. Requires the operator key.
1405
+ * Claim the instance
1406
+ * @description Creates the one owner using a machine-issued setup code or setup-only browser session. The claim, consumed proof, and audit commit together. A claimed instance never reopens setup.
1387
1407
  */
1388
1408
  post: operations["createOwner"];
1389
1409
  delete?: never;
@@ -1392,6 +1412,50 @@ interface paths {
1392
1412
  patch?: never;
1393
1413
  trace?: never;
1394
1414
  };
1415
+ "/owner/sign-ins": {
1416
+ parameters: {
1417
+ query?: never;
1418
+ header?: never;
1419
+ path?: never;
1420
+ cookie?: never;
1421
+ };
1422
+ /**
1423
+ * List sign-ins
1424
+ * @description Returns every browser, app and key that can reach Marfa, marking the browser that sent the request. Requires the owner's browser session or the local command.
1425
+ */
1426
+ get: operations["listSignIns"];
1427
+ put?: never;
1428
+ post?: never;
1429
+ delete?: never;
1430
+ options?: never;
1431
+ head?: never;
1432
+ patch?: never;
1433
+ trace?: never;
1434
+ };
1435
+ "/owner/sign-ins/{id}": {
1436
+ parameters: {
1437
+ query?: never;
1438
+ header?: never;
1439
+ path?: never;
1440
+ cookie?: never;
1441
+ };
1442
+ get?: never;
1443
+ put?: never;
1444
+ post?: never;
1445
+ /**
1446
+ * End a sign-in
1447
+ * @description Ends a sign-in at once: it can't make another request, and an app can't refresh its tokens. The keys an app minted stay unless `revoke_keys` is `true`. Requires the owner's browser session, signed in within five minutes, or the local command.
1448
+ */
1449
+ delete: operations["endSignIn"];
1450
+ options?: never;
1451
+ head?: never;
1452
+ /**
1453
+ * Update a sign-in
1454
+ * @description Gives an app or a key a new name and returns the sign-in. A key's name is its `label`. Requires the owner's browser session, signed in within the last five minutes, or the local command.
1455
+ */
1456
+ patch: operations["updateSignIn"];
1457
+ trace?: never;
1458
+ };
1395
1459
  "/export": {
1396
1460
  parameters: {
1397
1461
  query?: never;
@@ -1524,6 +1588,26 @@ interface paths {
1524
1588
  patch?: never;
1525
1589
  trace?: never;
1526
1590
  };
1591
+ "/metrics": {
1592
+ parameters: {
1593
+ query?: never;
1594
+ header?: never;
1595
+ path?: never;
1596
+ cookie?: never;
1597
+ };
1598
+ /**
1599
+ * Get server metrics
1600
+ * @description Returns instance-wide counters and process uptime. Requires `instance.read`; the counters include records outside your content permissions.
1601
+ */
1602
+ get: operations["getServerMetrics"];
1603
+ put?: never;
1604
+ post?: never;
1605
+ delete?: never;
1606
+ options?: never;
1607
+ head?: never;
1608
+ patch?: never;
1609
+ trace?: never;
1610
+ };
1527
1611
  "/": {
1528
1612
  parameters: {
1529
1613
  query?: never;
@@ -1724,7 +1808,7 @@ interface components {
1724
1808
  [key: string]: unknown;
1725
1809
  };
1726
1810
  /**
1727
- * @description How Marfa resolves a conflict on one field. `last_writer_wins` takes the later write. `keep_both_copies` keeps the losing value in a new item tagged `conflicted-copy`.
1811
+ * @description How Marfa resolves a conflict on one field. `last_writer_wins` takes the later write. `keep_both_copies` keeps the losing value in a new item tagged `conflicted-copy`, with a `derived-from` edge to the original.
1728
1812
  * @enum {string}
1729
1813
  */
1730
1814
  MergeStrategy: "last_writer_wins" | "keep_both_copies";
@@ -1784,6 +1868,24 @@ interface components {
1784
1868
  occurred_at: string;
1785
1869
  /** @description The item's `source_id` at this version, or `null` if it had none. */
1786
1870
  source_id: string | null;
1871
+ /** @description The sign-in that wrote this version, named as it was then, even after it ends. Whoever can read the snapshot sees it, such as another app's name or a key's label. `null` if no sign-in wrote it, such as when Marfa reads a file's text. */
1872
+ writer: {
1873
+ /**
1874
+ * @description What wrote the version. `browser`: the owner's browser. `app`: an app the owner approved. `key`: an API key. `local`: the local command on the server's machine.
1875
+ * @enum {string}
1876
+ */
1877
+ kind: "browser" | "app" | "key" | "local";
1878
+ /**
1879
+ * @description The ID the sign-in has in `GET /owner/sign-ins`, `local` for the local command, or an app's client ID if its sign-in was already gone. It stays the same after the sign-in ends.
1880
+ * @example Q2xYvR8mKp4TnW6aBc0dEf1gHi3jKl5M
1881
+ */
1882
+ id: string;
1883
+ /**
1884
+ * @description The sign-in's name when it wrote the version, as `GET /owner/sign-ins` showed it. At most 200 characters.
1885
+ * @example Safari on macOS
1886
+ */
1887
+ name: string;
1888
+ } | null;
1787
1889
  /** @description When Marfa recorded the snapshot, in UTC. */
1788
1890
  created_at: string;
1789
1891
  };
@@ -1838,6 +1940,8 @@ interface components {
1838
1940
  title_field?: string;
1839
1941
  /** @description The field that holds an item's body for display. */
1840
1942
  body_field?: string;
1943
+ } & {
1944
+ [key: string]: unknown;
1841
1945
  };
1842
1946
  /** @description How long Marfa keeps the versions of a type's items. A field you leave out comes from the parent type, then from the instance defaults. */
1843
1947
  VersionPolicy: {
@@ -1852,6 +1956,10 @@ interface components {
1852
1956
  } & {
1853
1957
  [key: string]: unknown;
1854
1958
  };
1959
+ /** @description The source's current problems, by opaque key. Each message is at most 500 UTF-16 code units. The map has at most 200 entries and 512 KiB serialized as UTF-8. An empty map means no current problems. */
1960
+ ConnectorProblems: {
1961
+ [key: string]: string;
1962
+ };
1855
1963
  /**
1856
1964
  * @description Where a bulk-action job is. `queued`: waiting to run. `in_progress`: running. `completed`: it reached every matched item. `failed`: it stopped early, and `error` says why. `canceled`: it was canceled before it finished.
1857
1965
  * @enum {string}
@@ -2131,6 +2239,23 @@ interface components {
2131
2239
  };
2132
2240
  };
2133
2241
  };
2242
+ /** @description An error response. */
2243
+ EdgeNotFoundOrEdgeTypeNotFoundOrItemNotFoundRefusal: {
2244
+ /** @description What went wrong. */
2245
+ error: {
2246
+ /**
2247
+ * @description A machine-readable code for the error. Use it in your logic.
2248
+ * @enum {string}
2249
+ */
2250
+ code: "edge_not_found" | "edge_type_not_found" | "item_not_found";
2251
+ /** @description A description of the error for a person to read. It can change, so don't match on it. */
2252
+ message: string;
2253
+ /** @description More about the error, such as the field it concerns. Each code defines its own details. */
2254
+ details?: {
2255
+ [key: string]: unknown;
2256
+ };
2257
+ };
2258
+ };
2134
2259
  /** @description A stale write that carried nothing to merge: the error and the item now. */
2135
2260
  ItemStaleVersion: {
2136
2261
  error: components["schemas"]["VersionConflictError"] & unknown;
@@ -2184,6 +2309,23 @@ interface components {
2184
2309
  };
2185
2310
  };
2186
2311
  /** @description An error response. */
2312
+ EdgeNotFoundOrItemNotFoundRefusal: {
2313
+ /** @description What went wrong. */
2314
+ error: {
2315
+ /**
2316
+ * @description A machine-readable code for the error. Use it in your logic.
2317
+ * @enum {string}
2318
+ */
2319
+ code: "edge_not_found" | "item_not_found";
2320
+ /** @description A description of the error for a person to read. It can change, so don't match on it. */
2321
+ message: string;
2322
+ /** @description More about the error, such as the field it concerns. Each code defines its own details. */
2323
+ details?: {
2324
+ [key: string]: unknown;
2325
+ };
2326
+ };
2327
+ };
2328
+ /** @description An error response. */
2187
2329
  InvalidIdOrInvalidTransitionOrValidationErrorRefusal: {
2188
2330
  /** @description What went wrong. */
2189
2331
  error: {
@@ -2524,23 +2666,6 @@ interface components {
2524
2666
  };
2525
2667
  };
2526
2668
  };
2527
- /** @description An error response. */
2528
- EdgeNotFoundOrEdgeTypeNotFoundOrItemNotFoundRefusal: {
2529
- /** @description What went wrong. */
2530
- error: {
2531
- /**
2532
- * @description A machine-readable code for the error. Use it in your logic.
2533
- * @enum {string}
2534
- */
2535
- code: "edge_not_found" | "edge_type_not_found" | "item_not_found";
2536
- /** @description A description of the error for a person to read. It can change, so don't match on it. */
2537
- message: string;
2538
- /** @description More about the error, such as the field it concerns. Each code defines its own details. */
2539
- details?: {
2540
- [key: string]: unknown;
2541
- };
2542
- };
2543
- };
2544
2669
  /** @description A stale update's answer: the refusal and the current edge. */
2545
2670
  EdgeVersionConflict: {
2546
2671
  error: components["schemas"]["VersionConflictError"] & unknown;
@@ -2841,9 +2966,13 @@ interface components {
2841
2966
  };
2842
2967
  };
2843
2968
  };
2844
- /** @description One type. */
2845
- TypeResponse: {
2969
+ /** @description Canonical definitions from one registry view, with field defaults made explicit as `required: false` and `searchable: true`. */
2970
+ NormalizedType: {
2846
2971
  type: components["schemas"]["TypeDefinition"] & unknown;
2972
+ /** @description The canonical registered type's declared definition; `null` if its identifier is not registered. */
2973
+ registered_type: components["schemas"]["TypeDefinition"] | null;
2974
+ /** @description The canonical registered definition, with inherited fields, policies and roles resolved as on `GET /types/{id}`; `null` if its identifier is not registered. */
2975
+ resolved_type: components["schemas"]["TypeDefinition"] | null;
2847
2976
  };
2848
2977
  /** @description An error response. */
2849
2978
  InheritanceViolationOrInvalidSchemaOrMissingRequiredFieldOrPropertyShadowsFieldOrValidationErrorRefusal: {
@@ -2863,23 +2992,6 @@ interface components {
2863
2992
  };
2864
2993
  };
2865
2994
  /** @description An error response. */
2866
- LinkTakenOrTypeAlreadyExistsRefusal: {
2867
- /** @description What went wrong. */
2868
- error: {
2869
- /**
2870
- * @description A machine-readable code for the error. Use it in your logic.
2871
- * @enum {string}
2872
- */
2873
- code: "link_taken" | "type_already_exists";
2874
- /** @description A description of the error for a person to read. It can change, so don't match on it. */
2875
- message: string;
2876
- /** @description More about the error, such as the field it concerns. Each code defines its own details. */
2877
- details?: {
2878
- [key: string]: unknown;
2879
- };
2880
- };
2881
- };
2882
- /** @description An error response. */
2883
2995
  CompatibleWithViolationRefusal: {
2884
2996
  /** @description What went wrong. */
2885
2997
  error: {
@@ -2896,7 +3008,7 @@ interface components {
2896
3008
  };
2897
3009
  };
2898
3010
  };
2899
- /** @description A type to register. */
3011
+ /** @description A declared item type. */
2900
3012
  TypeDefinitionInput: {
2901
3013
  /** @description The type's own fields, by name. */
2902
3014
  fields: {
@@ -2906,7 +3018,7 @@ interface components {
2906
3018
  version?: number;
2907
3019
  /** @description The identifier of the type this one inherits from. To set or change it, you need write on it, unless Marfa ships it. Leave it out for a type with no parent. */
2908
3020
  parent?: string;
2909
- /** @description A name for people to read. Leave it out on `POST /types` and Marfa derives one from the last segment of the identifier. */
3021
+ /** @description A name for people to read. Leave it out and Marfa derives one from the last segment of the identifier. */
2910
3022
  label?: string;
2911
3023
  /** @description What the type is for. */
2912
3024
  description?: string;
@@ -2926,6 +3038,27 @@ interface components {
2926
3038
  } & {
2927
3039
  [key: string]: unknown;
2928
3040
  };
3041
+ /** @description One type. */
3042
+ TypeResponse: {
3043
+ type: components["schemas"]["TypeDefinition"] & unknown;
3044
+ };
3045
+ /** @description An error response. */
3046
+ LinkTakenOrTypeAlreadyExistsRefusal: {
3047
+ /** @description What went wrong. */
3048
+ error: {
3049
+ /**
3050
+ * @description A machine-readable code for the error. Use it in your logic.
3051
+ * @enum {string}
3052
+ */
3053
+ code: "link_taken" | "type_already_exists";
3054
+ /** @description A description of the error for a person to read. It can change, so don't match on it. */
3055
+ message: string;
3056
+ /** @description More about the error, such as the field it concerns. Each code defines its own details. */
3057
+ details?: {
3058
+ [key: string]: unknown;
3059
+ };
3060
+ };
3061
+ };
2929
3062
  /** @description An error response. */
2930
3063
  CoreTypeImmutableOrForbiddenOrTypeNotPermittedRefusal: {
2931
3064
  /** @description What went wrong. */
@@ -2970,7 +3103,7 @@ interface components {
2970
3103
  version?: number;
2971
3104
  /** @description The identifier of the type this one inherits from. To set or change it, you need write on it, unless Marfa ships it. Leave it out for a type with no parent. */
2972
3105
  parent?: string;
2973
- /** @description A name for people to read. Leave it out on `POST /types` and Marfa derives one from the last segment of the identifier. */
3106
+ /** @description A name for people to read. Leave it out and Marfa derives one from the last segment of the identifier. */
2974
3107
  label?: string;
2975
3108
  /** @description What the type is for. */
2976
3109
  description?: string;
@@ -3062,14 +3195,14 @@ interface components {
3062
3195
  }[];
3063
3196
  /** @description `true` when `series_errors` stops at `scan.max_series_errors` entries and leaves failures out. `scan.series_errors` has the total. Absent otherwise. */
3064
3197
  series_errors_truncated?: boolean;
3065
- /** @description `true` when a series' expansion didn't finish, so `data` may be missing its occurrences; `scan.series_unexpanded` counts those series. A narrower window doesn't help: narrow by `type` or fix the rules. Absent otherwise. */
3198
+ /** @description `true` when a series didn't finish expanding, so `data` may be missing occurrences; `scan.series_unexpanded` counts them. If a series has too many in the window, narrow the window; else narrow by `type` or fix the rules. Absent otherwise. */
3066
3199
  expansion_incomplete?: boolean;
3067
3200
  };
3068
3201
  /** @description One time an event happens. */
3069
3202
  Occurrence: {
3070
3203
  /** @description When the occurrence starts, in UTC. */
3071
3204
  starts_at: string;
3072
- /** @description When the occurrence ends, in UTC. One computed from a rule lasts as long as its series' first; any other ends at its item's `ends_at`. Absent when it has no end. */
3205
+ /** @description When the occurrence ends, in UTC. A whole-day event ends at midnight in its `timezone`, or in UTC if it has none. One computed from a rule lasts as long as its series' first; any other ends at its item's `ends_at`. Absent when it has no end. */
3073
3206
  ends_at?: string;
3074
3207
  item: components["schemas"]["Item"] & unknown;
3075
3208
  /** @description The ID of the recurring event the occurrence belongs to. Absent on an event that doesn't recur. */
@@ -3334,6 +3467,7 @@ interface components {
3334
3467
  last_heartbeat_at: string | null;
3335
3468
  /** @description The connector's most recently reported run; `null` if it has reported none. */
3336
3469
  last_run: components["schemas"]["ConnectorRun"] | null;
3470
+ problems: components["schemas"]["ConnectorProblems"] & unknown;
3337
3471
  /** @description When the hold on the connector lapses; `null` if no process holds it or its hold has lapsed. */
3338
3472
  hold_expires_at: string | null;
3339
3473
  };
@@ -3530,6 +3664,7 @@ interface components {
3530
3664
  };
3531
3665
  /** @description A connector's state document: the JSON object it keeps on the instance to resume from. */
3532
3666
  ConnectorState: {
3667
+ problems: components["schemas"]["ConnectorProblems"] & unknown;
3533
3668
  /** @description The document as last written; `{}` if none was. */
3534
3669
  state: {
3535
3670
  [key: string]: unknown;
@@ -3617,22 +3752,20 @@ interface components {
3617
3752
  key: string;
3618
3753
  /** @description A name for the key, to tell it apart from your other keys. */
3619
3754
  label: string;
3620
- /** @description The key's own source, stamped on the rows it writes unless a write names a source it claims. No other unrevoked key has it as its own, and it can't change. */
3755
+ /** @description The key's own source, stamped on the rows it writes unless a write names a source it claims. No other key that hasn't been revoked or expired has it as its own, and it can't change. */
3621
3756
  source: string;
3622
3757
  /** @description Sources the key may also write under, besides its own `source`. Several keys may claim one source, so their writes share natural keys. Empty if the key claims none. */
3623
3758
  sources: string[];
3624
3759
  /** @description The permissions the key holds, such as `audit.read`. Empty if it holds none. */
3625
3760
  permissions: components["schemas"]["Permission"][];
3626
- /** @description The `client_id` of the app whose sign-in token created this key. Absent on every other key. */
3761
+ /** @description The app origin client ID, inherited by every descendant key. Absent when no app is in the key's origin. */
3627
3762
  oauth_client_id?: string;
3628
3763
  default_tier: components["schemas"]["Tier"] & unknown;
3629
- /** @description `true` if this is an operator key. An operator key opens the routes that run the instance, such as `/housekeeping`, and holds no permissions, so it reads and writes no items. */
3630
- is_operator: boolean;
3631
3764
  /** @description Item types the key may `read` or `write`, by type ID or a wildcard such as `core.*` or `*`. `none` denies a type a wildcard covers. */
3632
3765
  type_permissions: {
3633
3766
  [key: string]: components["schemas"]["TypePermissionLevel"];
3634
3767
  };
3635
- /** @description Extension namespaces the key may `read` or `write`, by namespace or `*`. A key can always read and write the namespace named by its own `label`. */
3768
+ /** @description Extension namespaces the key may `read` or `write`, by namespace or `*`. */
3636
3769
  extension_permissions: {
3637
3770
  [key: string]: components["schemas"]["PermissionLevel"];
3638
3771
  };
@@ -3651,14 +3784,16 @@ interface components {
3651
3784
  enforcement_override?: components["schemas"]["EnforcementOverride"] & unknown;
3652
3785
  /** @description When the key was created, in UTC. */
3653
3786
  created_at: string;
3787
+ /** @description When the key stops working, in UTC, or `null` if it doesn't expire. */
3788
+ expires_at: string | null;
3654
3789
  /** @description When the key was last used, in UTC, or `null` if never. Marfa updates it at most once an hour. */
3655
3790
  last_used_at: string | null;
3656
3791
  };
3657
3792
  /**
3658
- * @description A permission a credential can hold. `schema.write` replaces and deletes types and edge types, `keys.mint` creates and manages keys, `items.purge` purges trashed items, `webhooks.manage` manages webhooks, `config.manage` reads and replaces `/config`, `audit.read` reads the audit log, and `grants.manage` lists and revokes other apps' access.
3793
+ * @description A permission a credential can hold, for an operation the type, edge, extension, metadata and profile maps don't cover. `schema.write` replaces and deletes types and edge types; `keys.mint` mints keys and lists, changes and revokes those within the caller's reach; `keys.manage` lists and revokes every key and changes one without widening it; `items.purge` purges trashed items; `webhooks.manage` manages webhooks; `config.manage` reads and replaces `/config`; `audit.read` reads the audit log; `grants.manage` lists and revokes other apps' access; `instance.read` reads health, metrics, housekeeping, platform type drift, blob storage reports and every bulk job's status; `instance.maintain` runs housekeeping, resets platform type definitions and cancels bulk jobs; `connectors.manage` administers connector registrations and their endpoints, and clears their retained state; and `blobs.manage` manages every blob.
3659
3794
  * @enum {string}
3660
3795
  */
3661
- Permission: "webhooks.manage" | "schema.write" | "config.manage" | "audit.read" | "items.purge" | "keys.mint" | "grants.manage";
3796
+ Permission: "webhooks.manage" | "schema.write" | "config.manage" | "audit.read" | "items.purge" | "keys.mint" | "grants.manage" | "instance.read" | "instance.maintain" | "connectors.manage" | "blobs.manage" | "keys.manage";
3662
3797
  /**
3663
3798
  * @description What a key may do with a type: `read` it, `write` it (which includes reading), or `none`, which denies a type a wildcard entry would reach.
3664
3799
  * @enum {string}
@@ -3682,22 +3817,20 @@ interface components {
3682
3817
  id: string;
3683
3818
  /** @description A name for the key, to tell it apart from your other keys. */
3684
3819
  label: string;
3685
- /** @description The key's own source, stamped on the rows it writes unless a write names a source it claims. No other unrevoked key has it as its own, and it can't change. */
3820
+ /** @description The key's own source, stamped on the rows it writes unless a write names a source it claims. No other key that hasn't been revoked or expired has it as its own, and it can't change. */
3686
3821
  source: string;
3687
3822
  /** @description Sources the key may also write under, besides its own `source`. Several keys may claim one source, so their writes share natural keys. Empty if the key claims none. */
3688
3823
  sources: string[];
3689
3824
  /** @description The permissions the key holds, such as `audit.read`. Empty if it holds none. */
3690
3825
  permissions: components["schemas"]["Permission"][];
3691
- /** @description The `client_id` of the app whose sign-in token created this key. Absent on every other key. */
3826
+ /** @description The app origin client ID, inherited by every descendant key. Absent when no app is in the key's origin. */
3692
3827
  oauth_client_id?: string;
3693
3828
  default_tier: components["schemas"]["Tier"] & unknown;
3694
- /** @description `true` if this is an operator key. An operator key opens the routes that run the instance, such as `/housekeeping`, and holds no permissions, so it reads and writes no items. */
3695
- is_operator: boolean;
3696
3829
  /** @description Item types the key may `read` or `write`, by type ID or a wildcard such as `core.*` or `*`. `none` denies a type a wildcard covers. */
3697
3830
  type_permissions: {
3698
3831
  [key: string]: components["schemas"]["TypePermissionLevel"];
3699
3832
  };
3700
- /** @description Extension namespaces the key may `read` or `write`, by namespace or `*`. A key can always read and write the namespace named by its own `label`. */
3833
+ /** @description Extension namespaces the key may `read` or `write`, by namespace or `*`. */
3701
3834
  extension_permissions: {
3702
3835
  [key: string]: components["schemas"]["PermissionLevel"];
3703
3836
  };
@@ -3716,7 +3849,7 @@ interface components {
3716
3849
  enforcement_override?: components["schemas"]["EnforcementOverride"] & unknown;
3717
3850
  /** @description When the key was created, in UTC. */
3718
3851
  created_at: string;
3719
- /** @description When the key stops working, in UTC, or `null` if it doesn't expire. A key created through the API never expires. */
3852
+ /** @description When the key stops working, in UTC, or `null` if it doesn't expire. */
3720
3853
  expires_at: string | null;
3721
3854
  /** @description When the key was last used, in UTC, or `null` if never. Marfa updates it at most once an hour. */
3722
3855
  last_used_at: string | null;
@@ -3760,14 +3893,14 @@ interface components {
3760
3893
  inbound_pending_retention_days?: number;
3761
3894
  };
3762
3895
  /** @description An error response. */
3763
- InvalidPropertiesOrValidationErrorRefusal: {
3896
+ InvalidPropertiesOrInvalidSchemaOrValidationErrorRefusal: {
3764
3897
  /** @description What went wrong. */
3765
3898
  error: {
3766
3899
  /**
3767
3900
  * @description A machine-readable code for the error. Use it in your logic.
3768
3901
  * @enum {string}
3769
3902
  */
3770
- code: "invalid_properties" | "validation_error";
3903
+ code: "invalid_properties" | "invalid_schema" | "validation_error";
3771
3904
  /** @description A description of the error for a person to read. It can change, so don't match on it. */
3772
3905
  message: string;
3773
3906
  /** @description More about the error, such as the field it concerns. Each code defines its own details. */
@@ -3845,13 +3978,13 @@ interface components {
3845
3978
  };
3846
3979
  };
3847
3980
  };
3848
- /** @description The owner is the one person who can sign in to the instance. */
3981
+ /** @description The single owner of the instance. */
3849
3982
  Owner: {
3850
- /** @description Unique identifier for the owner's account. */
3983
+ /** @description Unique identifier for the owner. */
3851
3984
  id: string;
3852
- /** @description The owner's email address, in lowercase. */
3985
+ /** @description Email address used to sign in. */
3853
3986
  email: string;
3854
- /** @description The owner's name. */
3987
+ /** @description Display name of the owner. */
3855
3988
  name: string;
3856
3989
  /** @description When the owner was created, in UTC. */
3857
3990
  created_at: string;
@@ -3873,6 +4006,74 @@ interface components {
3873
4006
  };
3874
4007
  };
3875
4008
  };
4009
+ /** @description Every live sign-in of the owner. */
4010
+ SignInList: {
4011
+ /** @description The owner's live sign-ins, oldest first. */
4012
+ data: components["schemas"]["SignIn"][];
4013
+ /** @description Always `null`: Marfa returns every sign-in in one page. */
4014
+ next_cursor: string | null;
4015
+ };
4016
+ /** @description A sign-in is one way the owner's Marfa can be reached. */
4017
+ SignIn: {
4018
+ /**
4019
+ * @description Unique identifier for the sign-in.
4020
+ * @example Q2xYvR8mKp4TnW6aBc0dEf1gHi3jKl5M
4021
+ */
4022
+ id: string;
4023
+ /**
4024
+ * @description What signed in. `browser`: a browser signed in with the owner's password. `app`: an app the owner approved, for every device it signs in on with that approval. `key`: an API key.
4025
+ * @enum {string}
4026
+ */
4027
+ kind: "browser" | "app" | "key";
4028
+ /**
4029
+ * @description A readable name: a browser's from its `user_agent`, an app's the owner's name for it or else its registered name, a key's its `label`. A name with a control or bidirectional character, or over 200 characters, gives way to the ID.
4030
+ * @example Safari on macOS
4031
+ */
4032
+ name: string;
4033
+ /** @description `true` if this sign-in sent the request. */
4034
+ current: boolean;
4035
+ /**
4036
+ * @description When the sign-in was made, in UTC. For an app, when the owner last approved it.
4037
+ * @example 2026-10-03T09:30:00.000Z
4038
+ */
4039
+ created_at: string;
4040
+ /**
4041
+ * @description When the sign-in last made a request, in UTC, or `null` if it hasn't. Marfa records a browser's use at most once a minute and an app's or key's at most once an hour.
4042
+ * @example 2026-10-05T14:12:08.000Z
4043
+ */
4044
+ last_used_at: string | null;
4045
+ /**
4046
+ * @description When the sign-in ends unless something changes, in UTC. A browser's is seven days and one minute after `last_used_at`. `null` for an app, and for a key that doesn't expire.
4047
+ * @example 2026-10-12T14:13:08.000Z
4048
+ */
4049
+ expires_at: string | null;
4050
+ /**
4051
+ * @description The address a browser signed in from, or `null` for an app, a key, or a browser whose address Marfa could not tell.
4052
+ * @example 203.0.113.24
4053
+ */
4054
+ ip_address: string | null;
4055
+ /** @description The `User-Agent` a browser sent when it signed in, or `null` for an app, a key, or a browser that sent none. */
4056
+ user_agent: string | null;
4057
+ /** @description For a key an app minted, the ID of that app's sign-in while the app is signed in. `null` for a browser, an app, any other key, and a key whose app has ended. */
4058
+ minted_by: string | null;
4059
+ };
4060
+ /** @description An error response. */
4061
+ SignInNotFoundRefusal: {
4062
+ /** @description What went wrong. */
4063
+ error: {
4064
+ /**
4065
+ * @description A machine-readable code for the error. Use it in your logic.
4066
+ * @enum {string}
4067
+ */
4068
+ code: "sign_in_not_found";
4069
+ /** @description A description of the error for a person to read. It can change, so don't match on it. */
4070
+ message: string;
4071
+ /** @description More about the error, such as the field it concerns. Each code defines its own details. */
4072
+ details?: {
4073
+ [key: string]: unknown;
4074
+ };
4075
+ };
4076
+ };
3876
4077
  /** @description An error response. */
3877
4078
  OwnerExistsRefusal: {
3878
4079
  /** @description What went wrong. */
@@ -3890,6 +4091,23 @@ interface components {
3890
4091
  };
3891
4092
  };
3892
4093
  };
4094
+ /** @description An error response. */
4095
+ RateLimitedRefusal: {
4096
+ /** @description What went wrong. */
4097
+ error: {
4098
+ /**
4099
+ * @description A machine-readable code for the error. Use it in your logic.
4100
+ * @enum {string}
4101
+ */
4102
+ code: "rate_limited";
4103
+ /** @description A description of the error for a person to read. It can change, so don't match on it. */
4104
+ message: string;
4105
+ /** @description More about the error, such as the field it concerns. Each code defines its own details. */
4106
+ details?: {
4107
+ [key: string]: unknown;
4108
+ };
4109
+ };
4110
+ };
3893
4111
  /** @description A webhook sends the events you choose, as you can read them, to a URL. */
3894
4112
  Webhook: {
3895
4113
  /** @description Unique identifier for the webhook. */
@@ -3979,7 +4197,7 @@ interface components {
3979
4197
  created_at: string;
3980
4198
  /** @description The ID of the credential that acted, or `null` if the entry names none, as for Marfa's own housekeeping. */
3981
4199
  key_id: string | null;
3982
- /** @description What happened, such as `key.create` or `owner.created`. */
4200
+ /** @description What happened, such as `key.create` or `owner.claimed`. */
3983
4201
  action: string;
3984
4202
  /** @description The kind of resource acted on, such as `key`. */
3985
4203
  resource_type: string;
@@ -3992,15 +4210,20 @@ interface components {
3992
4210
  [key: string]: unknown;
3993
4211
  };
3994
4212
  };
4213
+ /** @description Number of keys that haven't been revoked or expired. */
4214
+ MetricCount: {
4215
+ /** @description Number of records. */
4216
+ total: number;
4217
+ };
3995
4218
  /** @description An error response. */
3996
- RateLimitedRefusal: {
4219
+ WriteContentionRefusal: {
3997
4220
  /** @description What went wrong. */
3998
4221
  error: {
3999
4222
  /**
4000
4223
  * @description A machine-readable code for the error. Use it in your logic.
4001
4224
  * @enum {string}
4002
4225
  */
4003
- code: "rate_limited";
4226
+ code: "write_contention";
4004
4227
  /** @description A description of the error for a person to read. It can change, so don't match on it. */
4005
4228
  message: string;
4006
4229
  /** @description More about the error, such as the field it concerns. Each code defines its own details. */
@@ -4010,14 +4233,14 @@ interface components {
4010
4233
  };
4011
4234
  };
4012
4235
  /** @description An error response. */
4013
- WriteContentionRefusal: {
4236
+ InsufficientStorageRefusal: {
4014
4237
  /** @description What went wrong. */
4015
4238
  error: {
4016
4239
  /**
4017
4240
  * @description A machine-readable code for the error. Use it in your logic.
4018
4241
  * @enum {string}
4019
4242
  */
4020
- code: "write_contention";
4243
+ code: "insufficient_storage";
4021
4244
  /** @description A description of the error for a person to read. It can change, so don't match on it. */
4022
4245
  message: string;
4023
4246
  /** @description More about the error, such as the field it concerns. Each code defines its own details. */
@@ -4434,6 +4657,21 @@ interface operations {
4434
4657
  "application/json": components["schemas"]["WriteContentionRefusal"];
4435
4658
  };
4436
4659
  };
4660
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
4661
+ 507: {
4662
+ headers: {
4663
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
4664
+ "X-Request-ID": components["headers"]["X-Request-ID"];
4665
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
4666
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
4667
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
4668
+ "X-Error-Code": components["headers"]["X-Error-Code"];
4669
+ [name: string]: unknown;
4670
+ };
4671
+ content: {
4672
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
4673
+ };
4674
+ };
4437
4675
  };
4438
4676
  };
4439
4677
  createItem: {
@@ -4695,6 +4933,22 @@ interface operations {
4695
4933
  "application/json": components["schemas"]["WriteContentionRefusal"];
4696
4934
  };
4697
4935
  };
4936
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
4937
+ 507: {
4938
+ headers: {
4939
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
4940
+ "X-Request-ID": components["headers"]["X-Request-ID"];
4941
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
4942
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
4943
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
4944
+ "X-Error-Code": components["headers"]["X-Error-Code"];
4945
+ "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
4946
+ [name: string]: unknown;
4947
+ };
4948
+ content: {
4949
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
4950
+ };
4951
+ };
4698
4952
  };
4699
4953
  };
4700
4954
  getItemStats: {
@@ -4844,7 +5098,22 @@ interface operations {
4844
5098
  "application/json": components["schemas"]["WriteContentionRefusal"];
4845
5099
  };
4846
5100
  };
4847
- };
5101
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
5102
+ 507: {
5103
+ headers: {
5104
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
5105
+ "X-Request-ID": components["headers"]["X-Request-ID"];
5106
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
5107
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
5108
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
5109
+ "X-Error-Code": components["headers"]["X-Error-Code"];
5110
+ [name: string]: unknown;
5111
+ };
5112
+ content: {
5113
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
5114
+ };
5115
+ };
5116
+ };
4848
5117
  };
4849
5118
  getItem: {
4850
5119
  parameters: {
@@ -5005,6 +5274,21 @@ interface operations {
5005
5274
  "application/json": components["schemas"]["WriteContentionRefusal"];
5006
5275
  };
5007
5276
  };
5277
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
5278
+ 507: {
5279
+ headers: {
5280
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
5281
+ "X-Request-ID": components["headers"]["X-Request-ID"];
5282
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
5283
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
5284
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
5285
+ "X-Error-Code": components["headers"]["X-Error-Code"];
5286
+ [name: string]: unknown;
5287
+ };
5288
+ content: {
5289
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
5290
+ };
5291
+ };
5008
5292
  };
5009
5293
  };
5010
5294
  deleteItem: {
@@ -5090,7 +5374,10 @@ interface operations {
5090
5374
  "application/json": components["schemas"]["TypeNotPermittedRefusal"];
5091
5375
  };
5092
5376
  };
5093
- /** @description - `item_not_found`: no item has this ID, or its type is one you can't read. If the item is in the trash and you can read its type, `details.trashed` is `true`. */
5377
+ /**
5378
+ * @description - `item_not_found`: no item has this ID, or its type is one you can't read. If the item is in the trash and you can read its type, `details.trashed` is `true`.
5379
+ * - `edge_not_found`: a repeat under the `Idempotency-Key` would show an edge you can no longer read.
5380
+ */
5094
5381
  404: {
5095
5382
  headers: {
5096
5383
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -5103,7 +5390,7 @@ interface operations {
5103
5390
  [name: string]: unknown;
5104
5391
  };
5105
5392
  content: {
5106
- "application/json": components["schemas"]["ItemNotFoundRefusal"];
5393
+ "application/json": components["schemas"]["EdgeNotFoundOrItemNotFoundRefusal"];
5107
5394
  };
5108
5395
  };
5109
5396
  /**
@@ -5205,6 +5492,22 @@ interface operations {
5205
5492
  "application/json": components["schemas"]["WriteContentionRefusal"];
5206
5493
  };
5207
5494
  };
5495
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
5496
+ 507: {
5497
+ headers: {
5498
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
5499
+ "X-Request-ID": components["headers"]["X-Request-ID"];
5500
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
5501
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
5502
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
5503
+ "X-Error-Code": components["headers"]["X-Error-Code"];
5504
+ "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
5505
+ [name: string]: unknown;
5506
+ };
5507
+ content: {
5508
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
5509
+ };
5510
+ };
5208
5511
  };
5209
5512
  };
5210
5513
  updateItem: {
@@ -5254,7 +5557,7 @@ interface operations {
5254
5557
  };
5255
5558
  };
5256
5559
  responses: {
5257
- /** @description Returns the updated item and its metadata. If `conflict=auto` resolved a collision, `conflict_resolution` lists the fields and strategies. A `keep_both_copies` field keeps the current value and puts yours on a new sibling tagged `conflicted-copy`. */
5560
+ /** @description Returns the updated item and its metadata. If `conflict=auto` resolved a collision, `conflict_resolution` lists the fields and strategies. A `keep_both_copies` field keeps the current value and puts yours on a new sibling tagged `conflicted-copy`, with a `derived-from` edge to this item. */
5258
5561
  200: {
5259
5562
  headers: {
5260
5563
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -5267,7 +5570,7 @@ interface operations {
5267
5570
  };
5268
5571
  content: {
5269
5572
  "application/json": components["schemas"]["ItemWithMetadata"] & {
5270
- /** @description What Marfa did to resolve a conflict. Present only when `conflict=auto` resolved one. `conflicted_copy_id` is the ID of the sibling item that holds the losing values. */
5573
+ /** @description What Marfa did to resolve a conflict. Present only when `conflict=auto` resolved one. `conflicted_copy_id` is the ID of the sibling item that holds the losing values, which has a `derived-from` edge to this item. */
5271
5574
  conflict_resolution?: {
5272
5575
  fields: string[];
5273
5576
  strategy: {
@@ -5338,6 +5641,7 @@ interface operations {
5338
5641
  /**
5339
5642
  * @description - `item_not_found`: no item has this ID, its type is one you can't read, or an edge target doesn't exist or has a type you can't read. For an item in the trash, `details.trashed` is `true` if you can read its type.
5340
5643
  * - `edge_type_not_found`: an edge names an edge type that doesn't exist.
5644
+ * - `edge_not_found`: a repeat under the `Idempotency-Key` would show an edge you can no longer read.
5341
5645
  */
5342
5646
  404: {
5343
5647
  headers: {
@@ -5351,7 +5655,7 @@ interface operations {
5351
5655
  [name: string]: unknown;
5352
5656
  };
5353
5657
  content: {
5354
- "application/json": components["schemas"]["EdgeTypeNotFoundOrItemNotFoundRefusal"];
5658
+ "application/json": components["schemas"]["EdgeNotFoundOrEdgeTypeNotFoundOrItemNotFoundRefusal"];
5355
5659
  };
5356
5660
  };
5357
5661
  /**
@@ -5456,6 +5760,22 @@ interface operations {
5456
5760
  "application/json": components["schemas"]["WriteContentionRefusal"];
5457
5761
  };
5458
5762
  };
5763
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
5764
+ 507: {
5765
+ headers: {
5766
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
5767
+ "X-Request-ID": components["headers"]["X-Request-ID"];
5768
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
5769
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
5770
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
5771
+ "X-Error-Code": components["headers"]["X-Error-Code"];
5772
+ "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
5773
+ [name: string]: unknown;
5774
+ };
5775
+ content: {
5776
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
5777
+ };
5778
+ };
5459
5779
  };
5460
5780
  };
5461
5781
  restoreItem: {
@@ -5650,6 +5970,22 @@ interface operations {
5650
5970
  "application/json": components["schemas"]["WriteContentionRefusal"];
5651
5971
  };
5652
5972
  };
5973
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
5974
+ 507: {
5975
+ headers: {
5976
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
5977
+ "X-Request-ID": components["headers"]["X-Request-ID"];
5978
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
5979
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
5980
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
5981
+ "X-Error-Code": components["headers"]["X-Error-Code"];
5982
+ "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
5983
+ [name: string]: unknown;
5984
+ };
5985
+ content: {
5986
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
5987
+ };
5988
+ };
5653
5989
  };
5654
5990
  };
5655
5991
  transitionItem: {
@@ -5744,7 +6080,10 @@ interface operations {
5744
6080
  "application/json": components["schemas"]["TypeNotPermittedRefusal"];
5745
6081
  };
5746
6082
  };
5747
- /** @description - `item_not_found`: no item has this ID, or its type is one you can't read. */
6083
+ /**
6084
+ * @description - `item_not_found`: no item has this ID, or its type is one you can't read.
6085
+ * - `edge_not_found`: a repeat under the `Idempotency-Key` would show an edge you can no longer read.
6086
+ */
5748
6087
  404: {
5749
6088
  headers: {
5750
6089
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -5757,7 +6096,7 @@ interface operations {
5757
6096
  [name: string]: unknown;
5758
6097
  };
5759
6098
  content: {
5760
- "application/json": components["schemas"]["ItemNotFoundRefusal"];
6099
+ "application/json": components["schemas"]["EdgeNotFoundOrItemNotFoundRefusal"];
5761
6100
  };
5762
6101
  };
5763
6102
  /** @description - `idempotency_key_in_flight`: a request with this `Idempotency-Key` is still running, and this one wrote nothing. Retry. */
@@ -5856,6 +6195,22 @@ interface operations {
5856
6195
  "application/json": components["schemas"]["WriteContentionRefusal"];
5857
6196
  };
5858
6197
  };
6198
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
6199
+ 507: {
6200
+ headers: {
6201
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
6202
+ "X-Request-ID": components["headers"]["X-Request-ID"];
6203
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
6204
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
6205
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
6206
+ "X-Error-Code": components["headers"]["X-Error-Code"];
6207
+ "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
6208
+ [name: string]: unknown;
6209
+ };
6210
+ content: {
6211
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
6212
+ };
6213
+ };
5859
6214
  };
5860
6215
  };
5861
6216
  listItemVersions: {
@@ -5998,6 +6353,21 @@ interface operations {
5998
6353
  "application/json": components["schemas"]["WriteContentionRefusal"];
5999
6354
  };
6000
6355
  };
6356
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
6357
+ 507: {
6358
+ headers: {
6359
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
6360
+ "X-Request-ID": components["headers"]["X-Request-ID"];
6361
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
6362
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
6363
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
6364
+ "X-Error-Code": components["headers"]["X-Error-Code"];
6365
+ [name: string]: unknown;
6366
+ };
6367
+ content: {
6368
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
6369
+ };
6370
+ };
6001
6371
  };
6002
6372
  };
6003
6373
  getItemMetadata: {
@@ -6135,6 +6505,21 @@ interface operations {
6135
6505
  "application/json": components["schemas"]["WriteContentionRefusal"];
6136
6506
  };
6137
6507
  };
6508
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
6509
+ 507: {
6510
+ headers: {
6511
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
6512
+ "X-Request-ID": components["headers"]["X-Request-ID"];
6513
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
6514
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
6515
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
6516
+ "X-Error-Code": components["headers"]["X-Error-Code"];
6517
+ [name: string]: unknown;
6518
+ };
6519
+ content: {
6520
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
6521
+ };
6522
+ };
6138
6523
  };
6139
6524
  };
6140
6525
  replaceItemMetadata: {
@@ -6294,6 +6679,21 @@ interface operations {
6294
6679
  "application/json": components["schemas"]["WriteContentionRefusal"];
6295
6680
  };
6296
6681
  };
6682
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
6683
+ 507: {
6684
+ headers: {
6685
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
6686
+ "X-Request-ID": components["headers"]["X-Request-ID"];
6687
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
6688
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
6689
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
6690
+ "X-Error-Code": components["headers"]["X-Error-Code"];
6691
+ [name: string]: unknown;
6692
+ };
6693
+ content: {
6694
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
6695
+ };
6696
+ };
6297
6697
  };
6298
6698
  };
6299
6699
  updateItemMetadata: {
@@ -6450,6 +6850,21 @@ interface operations {
6450
6850
  "application/json": components["schemas"]["WriteContentionRefusal"];
6451
6851
  };
6452
6852
  };
6853
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
6854
+ 507: {
6855
+ headers: {
6856
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
6857
+ "X-Request-ID": components["headers"]["X-Request-ID"];
6858
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
6859
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
6860
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
6861
+ "X-Error-Code": components["headers"]["X-Error-Code"];
6862
+ [name: string]: unknown;
6863
+ };
6864
+ content: {
6865
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
6866
+ };
6867
+ };
6453
6868
  };
6454
6869
  };
6455
6870
  addItemTags: {
@@ -6607,6 +7022,21 @@ interface operations {
6607
7022
  "application/json": components["schemas"]["WriteContentionRefusal"];
6608
7023
  };
6609
7024
  };
7025
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
7026
+ 507: {
7027
+ headers: {
7028
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
7029
+ "X-Request-ID": components["headers"]["X-Request-ID"];
7030
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
7031
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
7032
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
7033
+ "X-Error-Code": components["headers"]["X-Error-Code"];
7034
+ [name: string]: unknown;
7035
+ };
7036
+ content: {
7037
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
7038
+ };
7039
+ };
6610
7040
  };
6611
7041
  };
6612
7042
  purgeItem: {
@@ -6810,6 +7240,22 @@ interface operations {
6810
7240
  "application/json": components["schemas"]["WriteContentionRefusal"];
6811
7241
  };
6812
7242
  };
7243
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
7244
+ 507: {
7245
+ headers: {
7246
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
7247
+ "X-Request-ID": components["headers"]["X-Request-ID"];
7248
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
7249
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
7250
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
7251
+ "X-Error-Code": components["headers"]["X-Error-Code"];
7252
+ "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
7253
+ [name: string]: unknown;
7254
+ };
7255
+ content: {
7256
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
7257
+ };
7258
+ };
6813
7259
  };
6814
7260
  };
6815
7261
  removeItemTag: {
@@ -6961,6 +7407,21 @@ interface operations {
6961
7407
  "application/json": components["schemas"]["WriteContentionRefusal"];
6962
7408
  };
6963
7409
  };
7410
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
7411
+ 507: {
7412
+ headers: {
7413
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
7414
+ "X-Request-ID": components["headers"]["X-Request-ID"];
7415
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
7416
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
7417
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
7418
+ "X-Error-Code": components["headers"]["X-Error-Code"];
7419
+ [name: string]: unknown;
7420
+ };
7421
+ content: {
7422
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
7423
+ };
7424
+ };
6964
7425
  };
6965
7426
  };
6966
7427
  bulkUpsertItems: {
@@ -7174,6 +7635,21 @@ interface operations {
7174
7635
  "application/json": components["schemas"]["WriteContentionRefusal"];
7175
7636
  };
7176
7637
  };
7638
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
7639
+ 507: {
7640
+ headers: {
7641
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
7642
+ "X-Request-ID": components["headers"]["X-Request-ID"];
7643
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
7644
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
7645
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
7646
+ "X-Error-Code": components["headers"]["X-Error-Code"];
7647
+ [name: string]: unknown;
7648
+ };
7649
+ content: {
7650
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
7651
+ };
7652
+ };
7177
7653
  };
7178
7654
  };
7179
7655
  applyBulkAction: {
@@ -7284,7 +7760,7 @@ interface operations {
7284
7760
  };
7285
7761
  };
7286
7762
  /**
7287
- * @description - `validation_error`: the body or `filter` is malformed or has an undeclared key not starting with `_`, `update_tags` has neither `add` nor `remove`, or `expected_ids` is empty or not on a purge.
7763
+ * @description - `validation_error`: the body or `filter` is malformed or has an undeclared key or an empty field, `update_tags` has neither `add` nor `remove`, or `expected_ids` is empty or not on a purge.
7288
7764
  * - `missing_required_field`: a field the action needs is missing.
7289
7765
  * - `bulk_confirmation_required`: a purge without `confirm: "PURGE"`.
7290
7766
  * - `bulk_cap_exceeded`: more items match than `max_items` allows.
@@ -7434,6 +7910,22 @@ interface operations {
7434
7910
  "application/json": components["schemas"]["WriteContentionRefusal"];
7435
7911
  };
7436
7912
  };
7913
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
7914
+ 507: {
7915
+ headers: {
7916
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
7917
+ "X-Request-ID": components["headers"]["X-Request-ID"];
7918
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
7919
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
7920
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
7921
+ "X-Error-Code": components["headers"]["X-Error-Code"];
7922
+ "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
7923
+ [name: string]: unknown;
7924
+ };
7925
+ content: {
7926
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
7927
+ };
7928
+ };
7437
7929
  };
7438
7930
  };
7439
7931
  getBulkActionJob: {
@@ -7492,7 +7984,7 @@ interface operations {
7492
7984
  "application/json": components["schemas"]["UnauthorizedRefusal"];
7493
7985
  };
7494
7986
  };
7495
- /** @description - `forbidden`: another credential queued the job, and yours is not an operator key. */
7987
+ /** @description - `forbidden`: another credential queued the job, and yours lacks instance.read. */
7496
7988
  403: {
7497
7989
  headers: {
7498
7990
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -7568,6 +8060,21 @@ interface operations {
7568
8060
  "application/json": components["schemas"]["WriteContentionRefusal"];
7569
8061
  };
7570
8062
  };
8063
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
8064
+ 507: {
8065
+ headers: {
8066
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
8067
+ "X-Request-ID": components["headers"]["X-Request-ID"];
8068
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
8069
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
8070
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
8071
+ "X-Error-Code": components["headers"]["X-Error-Code"];
8072
+ [name: string]: unknown;
8073
+ };
8074
+ content: {
8075
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
8076
+ };
8077
+ };
7571
8078
  };
7572
8079
  };
7573
8080
  cancelBulkActionJob: {
@@ -7626,7 +8133,7 @@ interface operations {
7626
8133
  "application/json": components["schemas"]["UnauthorizedRefusal"];
7627
8134
  };
7628
8135
  };
7629
- /** @description - `forbidden`: another credential queued the job, and yours is not an operator key. */
8136
+ /** @description - `forbidden`: another credential queued the job, and yours lacks instance.maintain. */
7630
8137
  403: {
7631
8138
  headers: {
7632
8139
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -7714,6 +8221,21 @@ interface operations {
7714
8221
  "application/json": components["schemas"]["WriteContentionRefusal"];
7715
8222
  };
7716
8223
  };
8224
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
8225
+ 507: {
8226
+ headers: {
8227
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
8228
+ "X-Request-ID": components["headers"]["X-Request-ID"];
8229
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
8230
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
8231
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
8232
+ "X-Error-Code": components["headers"]["X-Error-Code"];
8233
+ [name: string]: unknown;
8234
+ };
8235
+ content: {
8236
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
8237
+ };
8238
+ };
7717
8239
  };
7718
8240
  };
7719
8241
  bulkGetItems: {
@@ -7860,6 +8382,21 @@ interface operations {
7860
8382
  "application/json": components["schemas"]["WriteContentionRefusal"];
7861
8383
  };
7862
8384
  };
8385
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
8386
+ 507: {
8387
+ headers: {
8388
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
8389
+ "X-Request-ID": components["headers"]["X-Request-ID"];
8390
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
8391
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
8392
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
8393
+ "X-Error-Code": components["headers"]["X-Error-Code"];
8394
+ [name: string]: unknown;
8395
+ };
8396
+ content: {
8397
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
8398
+ };
8399
+ };
7863
8400
  };
7864
8401
  };
7865
8402
  lookupItems: {
@@ -8015,6 +8552,21 @@ interface operations {
8015
8552
  "application/json": components["schemas"]["WriteContentionRefusal"];
8016
8553
  };
8017
8554
  };
8555
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
8556
+ 507: {
8557
+ headers: {
8558
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
8559
+ "X-Request-ID": components["headers"]["X-Request-ID"];
8560
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
8561
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
8562
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
8563
+ "X-Error-Code": components["headers"]["X-Error-Code"];
8564
+ [name: string]: unknown;
8565
+ };
8566
+ content: {
8567
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
8568
+ };
8569
+ };
8018
8570
  };
8019
8571
  };
8020
8572
  settleTombstones: {
@@ -8168,17 +8720,32 @@ interface operations {
8168
8720
  "application/json": components["schemas"]["WriteContentionRefusal"];
8169
8721
  };
8170
8722
  };
8171
- };
8172
- };
8173
- listItemExtensions: {
8174
- parameters: {
8175
- query?: never;
8176
- header?: never;
8177
- path: {
8178
- /** @description The ID of the item. */
8179
- id: string;
8180
- };
8181
- cookie?: never;
8723
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
8724
+ 507: {
8725
+ headers: {
8726
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
8727
+ "X-Request-ID": components["headers"]["X-Request-ID"];
8728
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
8729
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
8730
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
8731
+ "X-Error-Code": components["headers"]["X-Error-Code"];
8732
+ [name: string]: unknown;
8733
+ };
8734
+ content: {
8735
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
8736
+ };
8737
+ };
8738
+ };
8739
+ };
8740
+ listItemExtensions: {
8741
+ parameters: {
8742
+ query?: never;
8743
+ header?: never;
8744
+ path: {
8745
+ /** @description The ID of the item. */
8746
+ id: string;
8747
+ };
8748
+ cookie?: never;
8182
8749
  };
8183
8750
  requestBody?: never;
8184
8751
  responses: {
@@ -8305,6 +8872,21 @@ interface operations {
8305
8872
  "application/json": components["schemas"]["WriteContentionRefusal"];
8306
8873
  };
8307
8874
  };
8875
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
8876
+ 507: {
8877
+ headers: {
8878
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
8879
+ "X-Request-ID": components["headers"]["X-Request-ID"];
8880
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
8881
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
8882
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
8883
+ "X-Error-Code": components["headers"]["X-Error-Code"];
8884
+ [name: string]: unknown;
8885
+ };
8886
+ content: {
8887
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
8888
+ };
8889
+ };
8308
8890
  };
8309
8891
  };
8310
8892
  getItemExtension: {
@@ -8452,6 +9034,21 @@ interface operations {
8452
9034
  "application/json": components["schemas"]["WriteContentionRefusal"];
8453
9035
  };
8454
9036
  };
9037
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
9038
+ 507: {
9039
+ headers: {
9040
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
9041
+ "X-Request-ID": components["headers"]["X-Request-ID"];
9042
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
9043
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
9044
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
9045
+ "X-Error-Code": components["headers"]["X-Error-Code"];
9046
+ [name: string]: unknown;
9047
+ };
9048
+ content: {
9049
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
9050
+ };
9051
+ };
8455
9052
  };
8456
9053
  };
8457
9054
  replaceItemExtension: {
@@ -8612,6 +9209,21 @@ interface operations {
8612
9209
  "application/json": components["schemas"]["WriteContentionRefusal"];
8613
9210
  };
8614
9211
  };
9212
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
9213
+ 507: {
9214
+ headers: {
9215
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
9216
+ "X-Request-ID": components["headers"]["X-Request-ID"];
9217
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
9218
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
9219
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
9220
+ "X-Error-Code": components["headers"]["X-Error-Code"];
9221
+ [name: string]: unknown;
9222
+ };
9223
+ content: {
9224
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
9225
+ };
9226
+ };
8615
9227
  };
8616
9228
  };
8617
9229
  deleteItemExtension: {
@@ -8766,6 +9378,21 @@ interface operations {
8766
9378
  "application/json": components["schemas"]["WriteContentionRefusal"];
8767
9379
  };
8768
9380
  };
9381
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
9382
+ 507: {
9383
+ headers: {
9384
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
9385
+ "X-Request-ID": components["headers"]["X-Request-ID"];
9386
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
9387
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
9388
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
9389
+ "X-Error-Code": components["headers"]["X-Error-Code"];
9390
+ [name: string]: unknown;
9391
+ };
9392
+ content: {
9393
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
9394
+ };
9395
+ };
8769
9396
  };
8770
9397
  };
8771
9398
  listItemEdges: {
@@ -8931,6 +9558,21 @@ interface operations {
8931
9558
  "application/json": components["schemas"]["WriteContentionRefusal"];
8932
9559
  };
8933
9560
  };
9561
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
9562
+ 507: {
9563
+ headers: {
9564
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
9565
+ "X-Request-ID": components["headers"]["X-Request-ID"];
9566
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
9567
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
9568
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
9569
+ "X-Error-Code": components["headers"]["X-Error-Code"];
9570
+ [name: string]: unknown;
9571
+ };
9572
+ content: {
9573
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
9574
+ };
9575
+ };
8934
9576
  };
8935
9577
  };
8936
9578
  listItemBackrefs: {
@@ -9075,6 +9717,21 @@ interface operations {
9075
9717
  "application/json": components["schemas"]["WriteContentionRefusal"];
9076
9718
  };
9077
9719
  };
9720
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
9721
+ 507: {
9722
+ headers: {
9723
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
9724
+ "X-Request-ID": components["headers"]["X-Request-ID"];
9725
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
9726
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
9727
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
9728
+ "X-Error-Code": components["headers"]["X-Error-Code"];
9729
+ [name: string]: unknown;
9730
+ };
9731
+ content: {
9732
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
9733
+ };
9734
+ };
9078
9735
  };
9079
9736
  };
9080
9737
  listEdges: {
@@ -9222,6 +9879,21 @@ interface operations {
9222
9879
  "application/json": components["schemas"]["WriteContentionRefusal"];
9223
9880
  };
9224
9881
  };
9882
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
9883
+ 507: {
9884
+ headers: {
9885
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
9886
+ "X-Request-ID": components["headers"]["X-Request-ID"];
9887
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
9888
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
9889
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
9890
+ "X-Error-Code": components["headers"]["X-Error-Code"];
9891
+ [name: string]: unknown;
9892
+ };
9893
+ content: {
9894
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
9895
+ };
9896
+ };
9225
9897
  };
9226
9898
  };
9227
9899
  createEdge: {
@@ -9457,6 +10129,22 @@ interface operations {
9457
10129
  "application/json": components["schemas"]["WriteContentionRefusal"];
9458
10130
  };
9459
10131
  };
10132
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
10133
+ 507: {
10134
+ headers: {
10135
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
10136
+ "X-Request-ID": components["headers"]["X-Request-ID"];
10137
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
10138
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
10139
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
10140
+ "X-Error-Code": components["headers"]["X-Error-Code"];
10141
+ "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
10142
+ [name: string]: unknown;
10143
+ };
10144
+ content: {
10145
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
10146
+ };
10147
+ };
9460
10148
  };
9461
10149
  };
9462
10150
  getEdge: {
@@ -9612,6 +10300,21 @@ interface operations {
9612
10300
  "application/json": components["schemas"]["WriteContentionRefusal"];
9613
10301
  };
9614
10302
  };
10303
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
10304
+ 507: {
10305
+ headers: {
10306
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
10307
+ "X-Request-ID": components["headers"]["X-Request-ID"];
10308
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
10309
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
10310
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
10311
+ "X-Error-Code": components["headers"]["X-Error-Code"];
10312
+ [name: string]: unknown;
10313
+ };
10314
+ content: {
10315
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
10316
+ };
10317
+ };
9615
10318
  };
9616
10319
  };
9617
10320
  deleteEdge: {
@@ -9805,6 +10508,22 @@ interface operations {
9805
10508
  "application/json": components["schemas"]["WriteContentionRefusal"];
9806
10509
  };
9807
10510
  };
10511
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
10512
+ 507: {
10513
+ headers: {
10514
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
10515
+ "X-Request-ID": components["headers"]["X-Request-ID"];
10516
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
10517
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
10518
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
10519
+ "X-Error-Code": components["headers"]["X-Error-Code"];
10520
+ "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
10521
+ [name: string]: unknown;
10522
+ };
10523
+ content: {
10524
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
10525
+ };
10526
+ };
9808
10527
  };
9809
10528
  };
9810
10529
  updateEdge: {
@@ -10022,6 +10741,22 @@ interface operations {
10022
10741
  "application/json": components["schemas"]["WriteContentionRefusal"];
10023
10742
  };
10024
10743
  };
10744
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
10745
+ 507: {
10746
+ headers: {
10747
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
10748
+ "X-Request-ID": components["headers"]["X-Request-ID"];
10749
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
10750
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
10751
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
10752
+ "X-Error-Code": components["headers"]["X-Error-Code"];
10753
+ "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
10754
+ [name: string]: unknown;
10755
+ };
10756
+ content: {
10757
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
10758
+ };
10759
+ };
10025
10760
  };
10026
10761
  };
10027
10762
  bulkUpsertEdges: {
@@ -10218,6 +10953,21 @@ interface operations {
10218
10953
  "application/json": components["schemas"]["WriteContentionRefusal"];
10219
10954
  };
10220
10955
  };
10956
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
10957
+ 507: {
10958
+ headers: {
10959
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
10960
+ "X-Request-ID": components["headers"]["X-Request-ID"];
10961
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
10962
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
10963
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
10964
+ "X-Error-Code": components["headers"]["X-Error-Code"];
10965
+ [name: string]: unknown;
10966
+ };
10967
+ content: {
10968
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
10969
+ };
10970
+ };
10221
10971
  };
10222
10972
  };
10223
10973
  listEdgeTypes: {
@@ -10338,6 +11088,21 @@ interface operations {
10338
11088
  "application/json": components["schemas"]["WriteContentionRefusal"];
10339
11089
  };
10340
11090
  };
11091
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
11092
+ 507: {
11093
+ headers: {
11094
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
11095
+ "X-Request-ID": components["headers"]["X-Request-ID"];
11096
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
11097
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
11098
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
11099
+ "X-Error-Code": components["headers"]["X-Error-Code"];
11100
+ [name: string]: unknown;
11101
+ };
11102
+ content: {
11103
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
11104
+ };
11105
+ };
10341
11106
  };
10342
11107
  };
10343
11108
  registerEdgeType: {
@@ -10370,9 +11135,9 @@ interface operations {
10370
11135
  };
10371
11136
  };
10372
11137
  /**
10373
- * @description - `validation_error`: a field is invalid, such as an `id` or `reverse_name` that isn't a valid edge type identifier, a `role:` constraint naming no role, or `written_at: target` with no `reverse_name`; or the body names `extends`.
11138
+ * @description - `validation_error`: a field is invalid, such as a bad `id` or `reverse_name`, a `role:` naming no role, or `written_at: target` with no `reverse_name`, or `extends` is set.
10374
11139
  * - `missing_required_field`: `id` or `cardinality` is missing.
10375
- * - `invalid_schema`: a property's `type` isn't a field type.
11140
+ * - `invalid_schema`: a property's `type` isn't a field type, or the body has a key the schema doesn't define (`details.errors` names each path).
10376
11141
  */
10377
11142
  400: {
10378
11143
  headers: {
@@ -10494,6 +11259,21 @@ interface operations {
10494
11259
  "application/json": components["schemas"]["WriteContentionRefusal"];
10495
11260
  };
10496
11261
  };
11262
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
11263
+ 507: {
11264
+ headers: {
11265
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
11266
+ "X-Request-ID": components["headers"]["X-Request-ID"];
11267
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
11268
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
11269
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
11270
+ "X-Error-Code": components["headers"]["X-Error-Code"];
11271
+ [name: string]: unknown;
11272
+ };
11273
+ content: {
11274
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
11275
+ };
11276
+ };
10497
11277
  };
10498
11278
  };
10499
11279
  deleteEdgeType: {
@@ -10661,6 +11441,21 @@ interface operations {
10661
11441
  "application/json": components["schemas"]["WriteContentionRefusal"];
10662
11442
  };
10663
11443
  };
11444
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
11445
+ 507: {
11446
+ headers: {
11447
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
11448
+ "X-Request-ID": components["headers"]["X-Request-ID"];
11449
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
11450
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
11451
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
11452
+ "X-Error-Code": components["headers"]["X-Error-Code"];
11453
+ [name: string]: unknown;
11454
+ };
11455
+ content: {
11456
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
11457
+ };
11458
+ };
10664
11459
  };
10665
11460
  };
10666
11461
  listTypes: {
@@ -10781,6 +11576,21 @@ interface operations {
10781
11576
  "application/json": components["schemas"]["WriteContentionRefusal"];
10782
11577
  };
10783
11578
  };
11579
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
11580
+ 507: {
11581
+ headers: {
11582
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
11583
+ "X-Request-ID": components["headers"]["X-Request-ID"];
11584
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
11585
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
11586
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
11587
+ "X-Error-Code": components["headers"]["X-Error-Code"];
11588
+ [name: string]: unknown;
11589
+ };
11590
+ content: {
11591
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
11592
+ };
11593
+ };
10784
11594
  };
10785
11595
  };
10786
11596
  registerType: {
@@ -10813,9 +11623,9 @@ interface operations {
10813
11623
  /**
10814
11624
  * @description - `missing_required_field`: `fields` is missing.
10815
11625
  * - `validation_error`: `id` is malformed, or `parent` isn't registered or makes too deep a chain.
10816
- * - `invalid_schema`: the schema is invalid, such as a `link_field` that isn't a string field.
10817
- * - `property_shadows_field`: a field has the name of one every item has, such as `title`.
10818
- * - `inheritance_violation`: the type changes an inherited field's shape.
11626
+ * - `invalid_schema`: the schema is invalid or has a key it doesn't define (`details.errors` names each path).
11627
+ * - `property_shadows_field`: a field is named like one every item has.
11628
+ * - `inheritance_violation`: the type reshapes an inherited field.
10819
11629
  */
10820
11630
  400: {
10821
11631
  headers: {
@@ -10955,6 +11765,21 @@ interface operations {
10955
11765
  "application/json": components["schemas"]["WriteContentionRefusal"];
10956
11766
  };
10957
11767
  };
11768
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
11769
+ 507: {
11770
+ headers: {
11771
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
11772
+ "X-Request-ID": components["headers"]["X-Request-ID"];
11773
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
11774
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
11775
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
11776
+ "X-Error-Code": components["headers"]["X-Error-Code"];
11777
+ [name: string]: unknown;
11778
+ };
11779
+ content: {
11780
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
11781
+ };
11782
+ };
10958
11783
  };
10959
11784
  };
10960
11785
  getType: {
@@ -11089,6 +11914,21 @@ interface operations {
11089
11914
  "application/json": components["schemas"]["WriteContentionRefusal"];
11090
11915
  };
11091
11916
  };
11917
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
11918
+ 507: {
11919
+ headers: {
11920
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
11921
+ "X-Request-ID": components["headers"]["X-Request-ID"];
11922
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
11923
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
11924
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
11925
+ "X-Error-Code": components["headers"]["X-Error-Code"];
11926
+ [name: string]: unknown;
11927
+ };
11928
+ content: {
11929
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
11930
+ };
11931
+ };
11092
11932
  };
11093
11933
  };
11094
11934
  replaceType: {
@@ -11123,8 +11963,8 @@ interface operations {
11123
11963
  };
11124
11964
  /**
11125
11965
  * @description - `missing_required_field`: `fields` is missing.
11126
- * - `validation_error`: `id` is malformed, or `parent` isn't registered or makes a circular or too deep chain.
11127
- * - `invalid_schema`: the schema is invalid, such as a `link_field` that isn't a string field.
11966
+ * - `validation_error`: `id` is malformed, or `parent` isn't registered or makes a bad chain.
11967
+ * - `invalid_schema`: the schema is invalid or has a key it doesn't define (`details.errors` names each path).
11128
11968
  * - `property_shadows_field`: a field has the name of one every item has.
11129
11969
  * - `inheritance_violation`: a field's shape differs in a parent or subtype.
11130
11970
  */
@@ -11279,6 +12119,21 @@ interface operations {
11279
12119
  "application/json": components["schemas"]["WriteContentionRefusal"];
11280
12120
  };
11281
12121
  };
12122
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
12123
+ 507: {
12124
+ headers: {
12125
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12126
+ "X-Request-ID": components["headers"]["X-Request-ID"];
12127
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
12128
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
12129
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
12130
+ "X-Error-Code": components["headers"]["X-Error-Code"];
12131
+ [name: string]: unknown;
12132
+ };
12133
+ content: {
12134
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
12135
+ };
12136
+ };
11282
12137
  };
11283
12138
  };
11284
12139
  deleteType: {
@@ -11450,8 +12305,191 @@ interface operations {
11450
12305
  "application/json": components["schemas"]["WriteContentionRefusal"];
11451
12306
  };
11452
12307
  };
11453
- };
11454
- };
12308
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
12309
+ 507: {
12310
+ headers: {
12311
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12312
+ "X-Request-ID": components["headers"]["X-Request-ID"];
12313
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
12314
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
12315
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
12316
+ "X-Error-Code": components["headers"]["X-Error-Code"];
12317
+ [name: string]: unknown;
12318
+ };
12319
+ content: {
12320
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
12321
+ };
12322
+ };
12323
+ };
12324
+ };
12325
+ normalizeType: {
12326
+ parameters: {
12327
+ query?: never;
12328
+ header?: never;
12329
+ path?: never;
12330
+ cookie?: never;
12331
+ };
12332
+ requestBody: {
12333
+ content: {
12334
+ "application/json": components["schemas"]["TypeDefinitionInput"];
12335
+ };
12336
+ };
12337
+ responses: {
12338
+ /** @description Returns the normalized candidate and the registered definitions. */
12339
+ 200: {
12340
+ headers: {
12341
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12342
+ "X-Request-ID": components["headers"]["X-Request-ID"];
12343
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
12344
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
12345
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
12346
+ [name: string]: unknown;
12347
+ };
12348
+ content: {
12349
+ "application/json": components["schemas"]["NormalizedType"];
12350
+ };
12351
+ };
12352
+ /**
12353
+ * @description - `missing_required_field`: `fields` is missing.
12354
+ * - `validation_error`: `id` is malformed, or `parent` isn't registered or makes too deep a chain.
12355
+ * - `invalid_schema`: the schema is invalid or has a key it doesn't define (`details.errors` names each path).
12356
+ * - `property_shadows_field`: a field is named like one every item has.
12357
+ * - `inheritance_violation`: the type reshapes an inherited field.
12358
+ */
12359
+ 400: {
12360
+ headers: {
12361
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12362
+ "X-Request-ID": components["headers"]["X-Request-ID"];
12363
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
12364
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
12365
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
12366
+ "X-Error-Code": components["headers"]["X-Error-Code"];
12367
+ [name: string]: unknown;
12368
+ };
12369
+ content: {
12370
+ "application/json": components["schemas"]["InheritanceViolationOrInvalidSchemaOrMissingRequiredFieldOrPropertyShadowsFieldOrValidationErrorRefusal"];
12371
+ };
12372
+ };
12373
+ /** @description `unauthorized`: the request has no credential, or its credential is not valid. */
12374
+ 401: {
12375
+ headers: {
12376
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12377
+ "X-Request-ID": components["headers"]["X-Request-ID"];
12378
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
12379
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
12380
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
12381
+ "X-Error-Code": components["headers"]["X-Error-Code"];
12382
+ [name: string]: unknown;
12383
+ };
12384
+ content: {
12385
+ "application/json": components["schemas"]["UnauthorizedRefusal"];
12386
+ };
12387
+ };
12388
+ /** @description `type_chain_unresolvable`: the type's parent chain is circular or too deep to resolve. `PUT /types/{id}` can correct it. */
12389
+ 409: {
12390
+ headers: {
12391
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12392
+ "X-Request-ID": components["headers"]["X-Request-ID"];
12393
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
12394
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
12395
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
12396
+ "X-Error-Code": components["headers"]["X-Error-Code"];
12397
+ [name: string]: unknown;
12398
+ };
12399
+ content: {
12400
+ "application/json": components["schemas"]["TypeChainUnresolvableRefusal"];
12401
+ };
12402
+ };
12403
+ /** @description `request_too_large`: the request body is larger than this instance accepts. */
12404
+ 413: {
12405
+ headers: {
12406
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12407
+ "X-Request-ID": components["headers"]["X-Request-ID"];
12408
+ "X-Error-Code": components["headers"]["X-Error-Code"];
12409
+ [name: string]: unknown;
12410
+ };
12411
+ content: {
12412
+ "application/json": components["schemas"]["RequestTooLargeRefusal"];
12413
+ };
12414
+ };
12415
+ /** @description `compatible_with_violation`: `compatible_with` names a type this instance doesn't hold, or one the type doesn't satisfy. */
12416
+ 422: {
12417
+ headers: {
12418
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12419
+ "X-Request-ID": components["headers"]["X-Request-ID"];
12420
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
12421
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
12422
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
12423
+ "X-Error-Code": components["headers"]["X-Error-Code"];
12424
+ [name: string]: unknown;
12425
+ };
12426
+ content: {
12427
+ "application/json": components["schemas"]["CompatibleWithViolationRefusal"];
12428
+ };
12429
+ };
12430
+ /** @description `rate_limited`: you sent too many requests. Wait for the number of seconds in `Retry-After`, then try again. */
12431
+ 429: {
12432
+ headers: {
12433
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12434
+ "X-Request-ID": components["headers"]["X-Request-ID"];
12435
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
12436
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
12437
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
12438
+ "X-Error-Code": components["headers"]["X-Error-Code"];
12439
+ "Retry-After": components["headers"]["Retry-After"];
12440
+ [name: string]: unknown;
12441
+ };
12442
+ content: {
12443
+ "application/json": components["schemas"]["RateLimitedRefusal"];
12444
+ };
12445
+ };
12446
+ /** @description `internal_error`: Marfa failed in a way it didn't expect, and the request may not have completed. Read what you changed before you repeat a write. */
12447
+ 500: {
12448
+ headers: {
12449
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12450
+ "X-Request-ID": components["headers"]["X-Request-ID"];
12451
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
12452
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
12453
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
12454
+ "X-Error-Code": components["headers"]["X-Error-Code"];
12455
+ [name: string]: unknown;
12456
+ };
12457
+ content: {
12458
+ "application/json": components["schemas"]["InternalErrorRefusal"];
12459
+ };
12460
+ };
12461
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
12462
+ 503: {
12463
+ headers: {
12464
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12465
+ "X-Request-ID": components["headers"]["X-Request-ID"];
12466
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
12467
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
12468
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
12469
+ "X-Error-Code": components["headers"]["X-Error-Code"];
12470
+ [name: string]: unknown;
12471
+ };
12472
+ content: {
12473
+ "application/json": components["schemas"]["WriteContentionRefusal"];
12474
+ };
12475
+ };
12476
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
12477
+ 507: {
12478
+ headers: {
12479
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12480
+ "X-Request-ID": components["headers"]["X-Request-ID"];
12481
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
12482
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
12483
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
12484
+ "X-Error-Code": components["headers"]["X-Error-Code"];
12485
+ [name: string]: unknown;
12486
+ };
12487
+ content: {
12488
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
12489
+ };
12490
+ };
12491
+ };
12492
+ };
11455
12493
  searchItems: {
11456
12494
  parameters: {
11457
12495
  query: {
@@ -11596,12 +12634,27 @@ interface operations {
11596
12634
  "application/json": components["schemas"]["WriteContentionRefusal"];
11597
12635
  };
11598
12636
  };
12637
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
12638
+ 507: {
12639
+ headers: {
12640
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12641
+ "X-Request-ID": components["headers"]["X-Request-ID"];
12642
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
12643
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
12644
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
12645
+ "X-Error-Code": components["headers"]["X-Error-Code"];
12646
+ [name: string]: unknown;
12647
+ };
12648
+ content: {
12649
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
12650
+ };
12651
+ };
11599
12652
  };
11600
12653
  };
11601
12654
  listOccurrences: {
11602
12655
  parameters: {
11603
12656
  query: {
11604
- /** @description Window start, ISO 8601. An event overlaps the window if it starts before `to` and ends after this time. An event's end is its `ends_at`, else its start plus `duration`, else, for a whole-day event, the next day. */
12657
+ /** @description Window start, ISO 8601. An event overlaps the window if it starts before `to` and ends after this time. Its end is `ends_at`, else its start plus `duration`. A whole-day event fills whole days in its `timezone`, or in UTC if it has none. */
11605
12658
  from: string;
11606
12659
  /** @description Window end, ISO 8601. The window can span at most 400 days. An event with no length is in the window if it starts at or after `from` and before this time. */
11607
12660
  to: string;
@@ -11723,6 +12776,21 @@ interface operations {
11723
12776
  "application/json": components["schemas"]["WriteContentionRefusal"];
11724
12777
  };
11725
12778
  };
12779
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
12780
+ 507: {
12781
+ headers: {
12782
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12783
+ "X-Request-ID": components["headers"]["X-Request-ID"];
12784
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
12785
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
12786
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
12787
+ "X-Error-Code": components["headers"]["X-Error-Code"];
12788
+ [name: string]: unknown;
12789
+ };
12790
+ content: {
12791
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
12792
+ };
12793
+ };
11726
12794
  };
11727
12795
  };
11728
12796
  listTags: {
@@ -11839,6 +12907,21 @@ interface operations {
11839
12907
  "application/json": components["schemas"]["WriteContentionRefusal"];
11840
12908
  };
11841
12909
  };
12910
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
12911
+ 507: {
12912
+ headers: {
12913
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12914
+ "X-Request-ID": components["headers"]["X-Request-ID"];
12915
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
12916
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
12917
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
12918
+ "X-Error-Code": components["headers"]["X-Error-Code"];
12919
+ [name: string]: unknown;
12920
+ };
12921
+ content: {
12922
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
12923
+ };
12924
+ };
11842
12925
  };
11843
12926
  };
11844
12927
  uploadBlob: {
@@ -11967,6 +13050,21 @@ interface operations {
11967
13050
  "application/json": components["schemas"]["WriteContentionRefusal"];
11968
13051
  };
11969
13052
  };
13053
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
13054
+ 507: {
13055
+ headers: {
13056
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
13057
+ "X-Request-ID": components["headers"]["X-Request-ID"];
13058
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
13059
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
13060
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
13061
+ "X-Error-Code": components["headers"]["X-Error-Code"];
13062
+ [name: string]: unknown;
13063
+ };
13064
+ content: {
13065
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
13066
+ };
13067
+ };
11970
13068
  };
11971
13069
  };
11972
13070
  listBlobOrphans: {
@@ -12022,7 +13120,7 @@ interface operations {
12022
13120
  "application/json": components["schemas"]["UnauthorizedRefusal"];
12023
13121
  };
12024
13122
  };
12025
- /** @description - `forbidden`: your key isn't an operator key. */
13123
+ /** @description Caller lacks the required management permission. */
12026
13124
  403: {
12027
13125
  headers: {
12028
13126
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -12083,6 +13181,21 @@ interface operations {
12083
13181
  "application/json": components["schemas"]["WriteContentionRefusal"];
12084
13182
  };
12085
13183
  };
13184
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
13185
+ 507: {
13186
+ headers: {
13187
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
13188
+ "X-Request-ID": components["headers"]["X-Request-ID"];
13189
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
13190
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
13191
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
13192
+ "X-Error-Code": components["headers"]["X-Error-Code"];
13193
+ [name: string]: unknown;
13194
+ };
13195
+ content: {
13196
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
13197
+ };
13198
+ };
12086
13199
  };
12087
13200
  };
12088
13201
  listBlobStores: {
@@ -12138,7 +13251,7 @@ interface operations {
12138
13251
  "application/json": components["schemas"]["UnauthorizedRefusal"];
12139
13252
  };
12140
13253
  };
12141
- /** @description - `forbidden`: your key isn't an operator key. */
13254
+ /** @description Caller lacks the required management permission. */
12142
13255
  403: {
12143
13256
  headers: {
12144
13257
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -12199,6 +13312,21 @@ interface operations {
12199
13312
  "application/json": components["schemas"]["WriteContentionRefusal"];
12200
13313
  };
12201
13314
  };
13315
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
13316
+ 507: {
13317
+ headers: {
13318
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
13319
+ "X-Request-ID": components["headers"]["X-Request-ID"];
13320
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
13321
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
13322
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
13323
+ "X-Error-Code": components["headers"]["X-Error-Code"];
13324
+ [name: string]: unknown;
13325
+ };
13326
+ content: {
13327
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
13328
+ };
13329
+ };
12202
13330
  };
12203
13331
  };
12204
13332
  downloadBlob: {
@@ -12206,7 +13334,7 @@ interface operations {
12206
13334
  query?: never;
12207
13335
  header?: never;
12208
13336
  path: {
12209
- /** @description The blob's hash, `sha256:<hex>`. You can read a blob only if an item, edge or extension you can read references its hash, and whoever wrote that reference had uploaded the bytes or could read them. The operator key reads every blob. */
13337
+ /** @description The blob's hash, `sha256:<hex>`. You can read a blob only if an item, edge or extension you can read references its hash, and whoever wrote that reference had uploaded the bytes or could read them. The blobs.manage permission reads every blob. */
12210
13338
  hash: string;
12211
13339
  };
12212
13340
  cookie?: never;
@@ -12382,18 +13510,33 @@ interface operations {
12382
13510
  "application/json": components["schemas"]["WriteContentionRefusal"];
12383
13511
  };
12384
13512
  };
12385
- };
12386
- };
12387
- getBlobUrl: {
12388
- parameters: {
12389
- query?: {
12390
- /** @description How long the URL works, in seconds. Marfa caps it at 604800 (seven days) and returns the lifetime it used as `expires_in`. */
12391
- ttl?: number;
12392
- };
12393
- header?: never;
12394
- path: {
12395
- /** @description The blob's hash, `sha256:<hex>`. You can read a blob only if an item, edge or extension you can read references its hash, and whoever wrote that reference had uploaded the bytes or could read them. The operator key reads every blob. */
12396
- hash: string;
13513
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
13514
+ 507: {
13515
+ headers: {
13516
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
13517
+ "X-Request-ID": components["headers"]["X-Request-ID"];
13518
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
13519
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
13520
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
13521
+ "X-Error-Code": components["headers"]["X-Error-Code"];
13522
+ [name: string]: unknown;
13523
+ };
13524
+ content: {
13525
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
13526
+ };
13527
+ };
13528
+ };
13529
+ };
13530
+ getBlobUrl: {
13531
+ parameters: {
13532
+ query?: {
13533
+ /** @description How long the URL works, in seconds. Marfa caps it at 604800 (seven days) and returns the lifetime it used as `expires_in`. */
13534
+ ttl?: number;
13535
+ };
13536
+ header?: never;
13537
+ path: {
13538
+ /** @description The blob's hash, `sha256:<hex>`. You can read a blob only if an item, edge or extension you can read references its hash, and whoever wrote that reference had uploaded the bytes or could read them. The blobs.manage permission reads every blob. */
13539
+ hash: string;
12397
13540
  };
12398
13541
  cookie?: never;
12399
13542
  };
@@ -12524,6 +13667,21 @@ interface operations {
12524
13667
  "application/json": components["schemas"]["WriteContentionRefusal"];
12525
13668
  };
12526
13669
  };
13670
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
13671
+ 507: {
13672
+ headers: {
13673
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
13674
+ "X-Request-ID": components["headers"]["X-Request-ID"];
13675
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
13676
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
13677
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
13678
+ "X-Error-Code": components["headers"]["X-Error-Code"];
13679
+ [name: string]: unknown;
13680
+ };
13681
+ content: {
13682
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
13683
+ };
13684
+ };
12527
13685
  };
12528
13686
  };
12529
13687
  listBlobLocations: {
@@ -12531,7 +13689,7 @@ interface operations {
12531
13689
  query?: never;
12532
13690
  header?: never;
12533
13691
  path: {
12534
- /** @description The blob's hash, `sha256:<hex>`. You can read a blob only if an item, edge or extension you can read references its hash, and whoever wrote that reference had uploaded the bytes or could read them. The operator key reads every blob. */
13692
+ /** @description The blob's hash, `sha256:<hex>`. You can read a blob only if an item, edge or extension you can read references its hash, and whoever wrote that reference had uploaded the bytes or could read them. The blobs.manage permission reads every blob. */
12535
13693
  hash: string;
12536
13694
  };
12537
13695
  cookie?: never;
@@ -12658,6 +13816,21 @@ interface operations {
12658
13816
  "application/json": components["schemas"]["WriteContentionRefusal"];
12659
13817
  };
12660
13818
  };
13819
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
13820
+ 507: {
13821
+ headers: {
13822
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
13823
+ "X-Request-ID": components["headers"]["X-Request-ID"];
13824
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
13825
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
13826
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
13827
+ "X-Error-Code": components["headers"]["X-Error-Code"];
13828
+ [name: string]: unknown;
13829
+ };
13830
+ content: {
13831
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
13832
+ };
13833
+ };
12661
13834
  };
12662
13835
  };
12663
13836
  deleteBlobLocation: {
@@ -12718,7 +13891,7 @@ interface operations {
12718
13891
  "application/json": components["schemas"]["UnauthorizedRefusal"];
12719
13892
  };
12720
13893
  };
12721
- /** @description - `forbidden`: your key isn't an operator key. */
13894
+ /** @description Caller lacks the required management permission. */
12722
13895
  403: {
12723
13896
  headers: {
12724
13897
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -12812,6 +13985,21 @@ interface operations {
12812
13985
  "application/json": components["schemas"]["WriteContentionRefusal"];
12813
13986
  };
12814
13987
  };
13988
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
13989
+ 507: {
13990
+ headers: {
13991
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
13992
+ "X-Request-ID": components["headers"]["X-Request-ID"];
13993
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
13994
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
13995
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
13996
+ "X-Error-Code": components["headers"]["X-Error-Code"];
13997
+ [name: string]: unknown;
13998
+ };
13999
+ content: {
14000
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
14001
+ };
14002
+ };
12815
14003
  };
12816
14004
  };
12817
14005
  listHousekeeping: {
@@ -12867,7 +14055,7 @@ interface operations {
12867
14055
  "application/json": components["schemas"]["UnauthorizedRefusal"];
12868
14056
  };
12869
14057
  };
12870
- /** @description - `forbidden`: your key isn't an operator key. */
14058
+ /** @description Caller lacks the required management permission. */
12871
14059
  403: {
12872
14060
  headers: {
12873
14061
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -12928,6 +14116,21 @@ interface operations {
12928
14116
  "application/json": components["schemas"]["WriteContentionRefusal"];
12929
14117
  };
12930
14118
  };
14119
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
14120
+ 507: {
14121
+ headers: {
14122
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
14123
+ "X-Request-ID": components["headers"]["X-Request-ID"];
14124
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
14125
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
14126
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
14127
+ "X-Error-Code": components["headers"]["X-Error-Code"];
14128
+ [name: string]: unknown;
14129
+ };
14130
+ content: {
14131
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
14132
+ };
14133
+ };
12931
14134
  };
12932
14135
  };
12933
14136
  runHousekeeping: {
@@ -12986,7 +14189,7 @@ interface operations {
12986
14189
  "application/json": components["schemas"]["UnauthorizedRefusal"];
12987
14190
  };
12988
14191
  };
12989
- /** @description - `forbidden`: your key isn't an operator key. */
14192
+ /** @description Caller lacks the required management permission. */
12990
14193
  403: {
12991
14194
  headers: {
12992
14195
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -13089,6 +14292,21 @@ interface operations {
13089
14292
  "application/json": components["schemas"]["WriteContentionRefusal"];
13090
14293
  };
13091
14294
  };
14295
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
14296
+ 507: {
14297
+ headers: {
14298
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
14299
+ "X-Request-ID": components["headers"]["X-Request-ID"];
14300
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
14301
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
14302
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
14303
+ "X-Error-Code": components["headers"]["X-Error-Code"];
14304
+ [name: string]: unknown;
14305
+ };
14306
+ content: {
14307
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
14308
+ };
14309
+ };
13092
14310
  };
13093
14311
  };
13094
14312
  listConnectors: {
@@ -13190,6 +14408,21 @@ interface operations {
13190
14408
  "application/json": components["schemas"]["WriteContentionRefusal"];
13191
14409
  };
13192
14410
  };
14411
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
14412
+ 507: {
14413
+ headers: {
14414
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
14415
+ "X-Request-ID": components["headers"]["X-Request-ID"];
14416
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
14417
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
14418
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
14419
+ "X-Error-Code": components["headers"]["X-Error-Code"];
14420
+ [name: string]: unknown;
14421
+ };
14422
+ content: {
14423
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
14424
+ };
14425
+ };
13193
14426
  };
13194
14427
  };
13195
14428
  registerConnector: {
@@ -13240,7 +14473,7 @@ interface operations {
13240
14473
  };
13241
14474
  /**
13242
14475
  * @description - `missing_required_field`: `name` is missing.
13243
- * - `validation_error`: `name` isn't 1 to 200 characters, or `description` is over 2,000 characters.
14476
+ * - `validation_error`: `name` isn't 1 to 200 characters, `description` is over 2,000 characters, or the body has a top-level field this endpoint doesn't take.
13244
14477
  */
13245
14478
  400: {
13246
14479
  headers: {
@@ -13271,7 +14504,7 @@ interface operations {
13271
14504
  "application/json": components["schemas"]["UnauthorizedRefusal"];
13272
14505
  };
13273
14506
  };
13274
- /** @description - `forbidden`: your credential is an app's session token, not a key, or the operator key, which runs the instance and can't register as a connector. */
14507
+ /** @description - `forbidden`: your credential is an app's access token, not a key, or direct owner or local authority. */
13275
14508
  403: {
13276
14509
  headers: {
13277
14510
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -13344,6 +14577,21 @@ interface operations {
13344
14577
  "application/json": components["schemas"]["WriteContentionRefusal"];
13345
14578
  };
13346
14579
  };
14580
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
14581
+ 507: {
14582
+ headers: {
14583
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
14584
+ "X-Request-ID": components["headers"]["X-Request-ID"];
14585
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
14586
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
14587
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
14588
+ "X-Error-Code": components["headers"]["X-Error-Code"];
14589
+ [name: string]: unknown;
14590
+ };
14591
+ content: {
14592
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
14593
+ };
14594
+ };
13347
14595
  };
13348
14596
  };
13349
14597
  getConnector: {
@@ -13402,7 +14650,7 @@ interface operations {
13402
14650
  "application/json": components["schemas"]["UnauthorizedRefusal"];
13403
14651
  };
13404
14652
  };
13405
- /** @description - `connector_not_found`: no connector has this ID, or it is registered under another key and yours isn't the operator key. */
14653
+ /** @description - `connector_not_found`: no connector has this ID, or it is registered under another key and yours lacks connectors.manage. */
13406
14654
  404: {
13407
14655
  headers: {
13408
14656
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -13463,6 +14711,21 @@ interface operations {
13463
14711
  "application/json": components["schemas"]["WriteContentionRefusal"];
13464
14712
  };
13465
14713
  };
14714
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
14715
+ 507: {
14716
+ headers: {
14717
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
14718
+ "X-Request-ID": components["headers"]["X-Request-ID"];
14719
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
14720
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
14721
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
14722
+ "X-Error-Code": components["headers"]["X-Error-Code"];
14723
+ [name: string]: unknown;
14724
+ };
14725
+ content: {
14726
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
14727
+ };
14728
+ };
13466
14729
  };
13467
14730
  };
13468
14731
  deleteConnector: {
@@ -13521,7 +14784,7 @@ interface operations {
13521
14784
  "application/json": components["schemas"]["UnauthorizedRefusal"];
13522
14785
  };
13523
14786
  };
13524
- /** @description - `forbidden`: your credential is neither the connector's own key nor the operator key. */
14787
+ /** @description - `forbidden`: your credential is neither the connector's own key nor a holder of connectors.manage. */
13525
14788
  403: {
13526
14789
  headers: {
13527
14790
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -13609,6 +14872,21 @@ interface operations {
13609
14872
  "application/json": components["schemas"]["WriteContentionRefusal"];
13610
14873
  };
13611
14874
  };
14875
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
14876
+ 507: {
14877
+ headers: {
14878
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
14879
+ "X-Request-ID": components["headers"]["X-Request-ID"];
14880
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
14881
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
14882
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
14883
+ "X-Error-Code": components["headers"]["X-Error-Code"];
14884
+ [name: string]: unknown;
14885
+ };
14886
+ content: {
14887
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
14888
+ };
14889
+ };
13612
14890
  };
13613
14891
  };
13614
14892
  heartbeatConnector: {
@@ -13670,7 +14948,7 @@ interface operations {
13670
14948
  "application/json": components["schemas"]["UnauthorizedRefusal"];
13671
14949
  };
13672
14950
  };
13673
- /** @description - `forbidden`: your credential isn't the connector's own key. The operator key can't use this endpoint. */
14951
+ /** @description - `forbidden`: your credential isn't the connector's own key. Management permission does not authorize connector activity. */
13674
14952
  403: {
13675
14953
  headers: {
13676
14954
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -13758,6 +15036,21 @@ interface operations {
13758
15036
  "application/json": components["schemas"]["WriteContentionRefusal"];
13759
15037
  };
13760
15038
  };
15039
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
15040
+ 507: {
15041
+ headers: {
15042
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
15043
+ "X-Request-ID": components["headers"]["X-Request-ID"];
15044
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
15045
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
15046
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
15047
+ "X-Error-Code": components["headers"]["X-Error-Code"];
15048
+ [name: string]: unknown;
15049
+ };
15050
+ content: {
15051
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
15052
+ };
15053
+ };
13761
15054
  };
13762
15055
  };
13763
15056
  listConnectorRuns: {
@@ -13821,7 +15114,7 @@ interface operations {
13821
15114
  "application/json": components["schemas"]["UnauthorizedRefusal"];
13822
15115
  };
13823
15116
  };
13824
- /** @description - `connector_not_found`: no connector has this ID, or it is registered under another key and yours isn't the operator key. */
15117
+ /** @description - `connector_not_found`: no connector has this ID, or it is registered under another key and yours lacks connectors.manage. */
13825
15118
  404: {
13826
15119
  headers: {
13827
15120
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -13882,6 +15175,21 @@ interface operations {
13882
15175
  "application/json": components["schemas"]["WriteContentionRefusal"];
13883
15176
  };
13884
15177
  };
15178
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
15179
+ 507: {
15180
+ headers: {
15181
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
15182
+ "X-Request-ID": components["headers"]["X-Request-ID"];
15183
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
15184
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
15185
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
15186
+ "X-Error-Code": components["headers"]["X-Error-Code"];
15187
+ [name: string]: unknown;
15188
+ };
15189
+ content: {
15190
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
15191
+ };
15192
+ };
13885
15193
  };
13886
15194
  };
13887
15195
  reportConnectorRun: {
@@ -13930,7 +15238,7 @@ interface operations {
13930
15238
  };
13931
15239
  /**
13932
15240
  * @description - `missing_required_field`: `outcome`, `started_at` or `finished_at` is missing.
13933
- * - `validation_error`: `outcome` isn't `succeeded` or `failed`, a time isn't a timestamp, `finished_at` is before `started_at`, or `summary` or `error` is over 2,000 characters.
15241
+ * - `validation_error`: `outcome` isn't `succeeded` or `failed`, a time isn't a timestamp, `finished_at` is before `started_at`, `summary` or `error` is over 2,000 characters, or the body has a top-level field this endpoint doesn't take.
13934
15242
  */
13935
15243
  400: {
13936
15244
  headers: {
@@ -13961,7 +15269,7 @@ interface operations {
13961
15269
  "application/json": components["schemas"]["UnauthorizedRefusal"];
13962
15270
  };
13963
15271
  };
13964
- /** @description - `forbidden`: your credential isn't the connector's own key. The operator key can't use this endpoint. */
15272
+ /** @description - `forbidden`: your credential isn't the connector's own key. Management permission does not authorize connector activity. */
13965
15273
  403: {
13966
15274
  headers: {
13967
15275
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -14049,6 +15357,21 @@ interface operations {
14049
15357
  "application/json": components["schemas"]["WriteContentionRefusal"];
14050
15358
  };
14051
15359
  };
15360
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
15361
+ 507: {
15362
+ headers: {
15363
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
15364
+ "X-Request-ID": components["headers"]["X-Request-ID"];
15365
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
15366
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
15367
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
15368
+ "X-Error-Code": components["headers"]["X-Error-Code"];
15369
+ [name: string]: unknown;
15370
+ };
15371
+ content: {
15372
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
15373
+ };
15374
+ };
14052
15375
  };
14053
15376
  };
14054
15377
  listInboundEndpoints: {
@@ -14107,7 +15430,7 @@ interface operations {
14107
15430
  "application/json": components["schemas"]["UnauthorizedRefusal"];
14108
15431
  };
14109
15432
  };
14110
- /** @description - `forbidden`: your credential is neither the connector's own key nor the operator key. */
15433
+ /** @description - `forbidden`: your credential is neither the connector's own key nor a holder of connectors.manage. */
14111
15434
  403: {
14112
15435
  headers: {
14113
15436
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -14183,6 +15506,21 @@ interface operations {
14183
15506
  "application/json": components["schemas"]["WriteContentionRefusal"];
14184
15507
  };
14185
15508
  };
15509
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
15510
+ 507: {
15511
+ headers: {
15512
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
15513
+ "X-Request-ID": components["headers"]["X-Request-ID"];
15514
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
15515
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
15516
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
15517
+ "X-Error-Code": components["headers"]["X-Error-Code"];
15518
+ [name: string]: unknown;
15519
+ };
15520
+ content: {
15521
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
15522
+ };
15523
+ };
14186
15524
  };
14187
15525
  };
14188
15526
  createInboundEndpoint: {
@@ -14220,7 +15558,7 @@ interface operations {
14220
15558
  "application/json": components["schemas"]["InboundEndpoint"];
14221
15559
  };
14222
15560
  };
14223
- /** @description - `validation_error`: `label` isn't 1 to 200 characters, or `duplicate_header` isn't a valid header name. */
15561
+ /** @description - `validation_error`: `label` isn't 1 to 200 characters, `duplicate_header` isn't a valid header name, or the body has a top-level field this endpoint doesn't take. */
14224
15562
  400: {
14225
15563
  headers: {
14226
15564
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -14250,7 +15588,7 @@ interface operations {
14250
15588
  "application/json": components["schemas"]["UnauthorizedRefusal"];
14251
15589
  };
14252
15590
  };
14253
- /** @description - `forbidden`: your credential is neither the connector's own key nor the operator key. */
15591
+ /** @description - `forbidden`: your credential is neither the connector's own key nor a holder of connectors.manage. */
14254
15592
  403: {
14255
15593
  headers: {
14256
15594
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -14280,7 +15618,7 @@ interface operations {
14280
15618
  "application/json": components["schemas"]["ConnectorNotFoundRefusal"];
14281
15619
  };
14282
15620
  };
14283
- /** @description - `conflict`: the connector already has 10 live endpoints. Retire one first. */
15621
+ /** @description - `conflict`: the connector already has 10 live endpoints (retire one first), or its key is revoked or past its `expires_at`, so an address would never answer. */
14284
15622
  409: {
14285
15623
  headers: {
14286
15624
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -14353,6 +15691,21 @@ interface operations {
14353
15691
  "application/json": components["schemas"]["WriteContentionRefusal"];
14354
15692
  };
14355
15693
  };
15694
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
15695
+ 507: {
15696
+ headers: {
15697
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
15698
+ "X-Request-ID": components["headers"]["X-Request-ID"];
15699
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
15700
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
15701
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
15702
+ "X-Error-Code": components["headers"]["X-Error-Code"];
15703
+ [name: string]: unknown;
15704
+ };
15705
+ content: {
15706
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
15707
+ };
15708
+ };
14356
15709
  };
14357
15710
  };
14358
15711
  retireInboundEndpoint: {
@@ -14413,7 +15766,7 @@ interface operations {
14413
15766
  "application/json": components["schemas"]["UnauthorizedRefusal"];
14414
15767
  };
14415
15768
  };
14416
- /** @description - `forbidden`: your credential is neither the connector's own key nor the operator key. */
15769
+ /** @description - `forbidden`: your credential is neither the connector's own key nor a holder of connectors.manage. */
14417
15770
  403: {
14418
15771
  headers: {
14419
15772
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -14504,6 +15857,21 @@ interface operations {
14504
15857
  "application/json": components["schemas"]["WriteContentionRefusal"];
14505
15858
  };
14506
15859
  };
15860
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
15861
+ 507: {
15862
+ headers: {
15863
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
15864
+ "X-Request-ID": components["headers"]["X-Request-ID"];
15865
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
15866
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
15867
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
15868
+ "X-Error-Code": components["headers"]["X-Error-Code"];
15869
+ [name: string]: unknown;
15870
+ };
15871
+ content: {
15872
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
15873
+ };
15874
+ };
14507
15875
  };
14508
15876
  };
14509
15877
  listInboundDeliveries: {
@@ -14571,7 +15939,7 @@ interface operations {
14571
15939
  "application/json": components["schemas"]["UnauthorizedRefusal"];
14572
15940
  };
14573
15941
  };
14574
- /** @description - `forbidden`: your credential isn't the connector's own key. The operator key can't use this endpoint. */
15942
+ /** @description - `forbidden`: your credential isn't the connector's own key. Management permission does not authorize connector activity. */
14575
15943
  403: {
14576
15944
  headers: {
14577
15945
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -14647,6 +16015,21 @@ interface operations {
14647
16015
  "application/json": components["schemas"]["WriteContentionRefusal"];
14648
16016
  };
14649
16017
  };
16018
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
16019
+ 507: {
16020
+ headers: {
16021
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
16022
+ "X-Request-ID": components["headers"]["X-Request-ID"];
16023
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
16024
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
16025
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
16026
+ "X-Error-Code": components["headers"]["X-Error-Code"];
16027
+ [name: string]: unknown;
16028
+ };
16029
+ content: {
16030
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
16031
+ };
16032
+ };
14650
16033
  };
14651
16034
  };
14652
16035
  getInboundDeliveryBody: {
@@ -14707,7 +16090,7 @@ interface operations {
14707
16090
  "application/json": components["schemas"]["UnauthorizedRefusal"];
14708
16091
  };
14709
16092
  };
14710
- /** @description - `forbidden`: your credential isn't the connector's own key. The operator key can't use this endpoint. */
16093
+ /** @description - `forbidden`: your credential isn't the connector's own key. Management permission does not authorize connector activity. */
14711
16094
  403: {
14712
16095
  headers: {
14713
16096
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -14786,6 +16169,21 @@ interface operations {
14786
16169
  "application/json": components["schemas"]["WriteContentionRefusal"];
14787
16170
  };
14788
16171
  };
16172
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
16173
+ 507: {
16174
+ headers: {
16175
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
16176
+ "X-Request-ID": components["headers"]["X-Request-ID"];
16177
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
16178
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
16179
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
16180
+ "X-Error-Code": components["headers"]["X-Error-Code"];
16181
+ [name: string]: unknown;
16182
+ };
16183
+ content: {
16184
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
16185
+ };
16186
+ };
14789
16187
  };
14790
16188
  };
14791
16189
  markInboundDeliveriesHandled: {
@@ -14831,7 +16229,7 @@ interface operations {
14831
16229
  };
14832
16230
  /**
14833
16231
  * @description - `missing_required_field`: `ids` or `outcome` is missing.
14834
- * - `validation_error`: `ids` is empty or has more than 200 IDs, or `outcome` isn't `processed`, `duplicate` or `rejected`.
16232
+ * - `validation_error`: `ids` is empty or has more than 200 IDs, `outcome` isn't `processed`, `duplicate` or `rejected`, or the body has a top-level field this endpoint doesn't take.
14835
16233
  */
14836
16234
  400: {
14837
16235
  headers: {
@@ -14862,7 +16260,7 @@ interface operations {
14862
16260
  "application/json": components["schemas"]["UnauthorizedRefusal"];
14863
16261
  };
14864
16262
  };
14865
- /** @description - `forbidden`: your credential isn't the connector's own key. The operator key can't use this endpoint. */
16263
+ /** @description - `forbidden`: your credential isn't the connector's own key. Management permission does not authorize connector activity. */
14866
16264
  403: {
14867
16265
  headers: {
14868
16266
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -14953,6 +16351,21 @@ interface operations {
14953
16351
  "application/json": components["schemas"]["WriteContentionRefusal"];
14954
16352
  };
14955
16353
  };
16354
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
16355
+ 507: {
16356
+ headers: {
16357
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
16358
+ "X-Request-ID": components["headers"]["X-Request-ID"];
16359
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
16360
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
16361
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
16362
+ "X-Error-Code": components["headers"]["X-Error-Code"];
16363
+ [name: string]: unknown;
16364
+ };
16365
+ content: {
16366
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
16367
+ };
16368
+ };
14956
16369
  };
14957
16370
  };
14958
16371
  holdConnector: {
@@ -15028,7 +16441,7 @@ interface operations {
15028
16441
  "application/json": components["schemas"]["UnauthorizedRefusal"];
15029
16442
  };
15030
16443
  };
15031
- /** @description - `forbidden`: your credential isn't the connector's own key. The operator key can't use this endpoint. */
16444
+ /** @description - `forbidden`: your credential isn't the connector's own key. Management permission does not authorize connector activity. */
15032
16445
  403: {
15033
16446
  headers: {
15034
16447
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -15131,6 +16544,21 @@ interface operations {
15131
16544
  "application/json": components["schemas"]["WriteContentionRefusal"];
15132
16545
  };
15133
16546
  };
16547
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
16548
+ 507: {
16549
+ headers: {
16550
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
16551
+ "X-Request-ID": components["headers"]["X-Request-ID"];
16552
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
16553
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
16554
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
16555
+ "X-Error-Code": components["headers"]["X-Error-Code"];
16556
+ [name: string]: unknown;
16557
+ };
16558
+ content: {
16559
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
16560
+ };
16561
+ };
15134
16562
  };
15135
16563
  };
15136
16564
  releaseConnectorHold: {
@@ -15195,7 +16623,7 @@ interface operations {
15195
16623
  "application/json": components["schemas"]["UnauthorizedRefusal"];
15196
16624
  };
15197
16625
  };
15198
- /** @description - `forbidden`: your credential isn't the connector's own key. The operator key can't use this endpoint. */
16626
+ /** @description - `forbidden`: your credential isn't the connector's own key. Management permission does not authorize connector activity. */
15199
16627
  403: {
15200
16628
  headers: {
15201
16629
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -15283,11 +16711,26 @@ interface operations {
15283
16711
  "application/json": components["schemas"]["WriteContentionRefusal"];
15284
16712
  };
15285
16713
  };
15286
- };
15287
- };
15288
- getConnectorState: {
15289
- parameters: {
15290
- query?: never;
16714
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
16715
+ 507: {
16716
+ headers: {
16717
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
16718
+ "X-Request-ID": components["headers"]["X-Request-ID"];
16719
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
16720
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
16721
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
16722
+ "X-Error-Code": components["headers"]["X-Error-Code"];
16723
+ [name: string]: unknown;
16724
+ };
16725
+ content: {
16726
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
16727
+ };
16728
+ };
16729
+ };
16730
+ };
16731
+ getConnectorState: {
16732
+ parameters: {
16733
+ query?: never;
15291
16734
  header?: never;
15292
16735
  path: {
15293
16736
  /** @description The ID of the connector. */
@@ -15341,7 +16784,7 @@ interface operations {
15341
16784
  "application/json": components["schemas"]["UnauthorizedRefusal"];
15342
16785
  };
15343
16786
  };
15344
- /** @description - `forbidden`: your credential isn't the connector's own key. The operator key can't use this endpoint. */
16787
+ /** @description - `forbidden`: your credential isn't the connector's own key. Management permission does not authorize connector activity. */
15345
16788
  403: {
15346
16789
  headers: {
15347
16790
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -15417,6 +16860,21 @@ interface operations {
15417
16860
  "application/json": components["schemas"]["WriteContentionRefusal"];
15418
16861
  };
15419
16862
  };
16863
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
16864
+ 507: {
16865
+ headers: {
16866
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
16867
+ "X-Request-ID": components["headers"]["X-Request-ID"];
16868
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
16869
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
16870
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
16871
+ "X-Error-Code": components["headers"]["X-Error-Code"];
16872
+ [name: string]: unknown;
16873
+ };
16874
+ content: {
16875
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
16876
+ };
16877
+ };
15420
16878
  };
15421
16879
  };
15422
16880
  replaceConnectorState: {
@@ -15434,6 +16892,7 @@ interface operations {
15434
16892
  "application/json": {
15435
16893
  /** @description The name the process took the connector's hold under. */
15436
16894
  process: string;
16895
+ problems?: components["schemas"]["ConnectorProblems"] & unknown;
15437
16896
  /** @description The new document, a JSON object of at most 512 KiB serialized. It replaces the whole document. */
15438
16897
  state: {
15439
16898
  [key: string]: unknown;
@@ -15454,6 +16913,7 @@ interface operations {
15454
16913
  };
15455
16914
  content: {
15456
16915
  "application/json": {
16916
+ problems: components["schemas"]["ConnectorProblems"] & unknown;
15457
16917
  /** @description The document as written. */
15458
16918
  state: {
15459
16919
  [key: string]: unknown;
@@ -15465,7 +16925,7 @@ interface operations {
15465
16925
  };
15466
16926
  /**
15467
16927
  * @description - `missing_required_field`: `process` or `state` is missing.
15468
- * - `validation_error`: `process` isn't 1 to 100 characters, `state` isn't a JSON object or is over 512 KiB serialized, or the body has a top-level field this endpoint doesn't take.
16928
+ * - `validation_error`: `process` isn't 1 to 100 characters, `state` isn't a JSON object or is over 512 KiB serialized, a problems map is over its entry, message or serialized size limits, or the body has a top-level field this endpoint doesn't take.
15469
16929
  */
15470
16930
  400: {
15471
16931
  headers: {
@@ -15496,7 +16956,7 @@ interface operations {
15496
16956
  "application/json": components["schemas"]["UnauthorizedRefusal"];
15497
16957
  };
15498
16958
  };
15499
- /** @description - `forbidden`: your credential isn't the connector's own key. The operator key can't use this endpoint. */
16959
+ /** @description - `forbidden`: your credential isn't the connector's own key. Management permission does not authorize connector activity. */
15500
16960
  403: {
15501
16961
  headers: {
15502
16962
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -15599,6 +17059,21 @@ interface operations {
15599
17059
  "application/json": components["schemas"]["WriteContentionRefusal"];
15600
17060
  };
15601
17061
  };
17062
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
17063
+ 507: {
17064
+ headers: {
17065
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
17066
+ "X-Request-ID": components["headers"]["X-Request-ID"];
17067
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
17068
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
17069
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
17070
+ "X-Error-Code": components["headers"]["X-Error-Code"];
17071
+ [name: string]: unknown;
17072
+ };
17073
+ content: {
17074
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
17075
+ };
17076
+ };
15602
17077
  };
15603
17078
  };
15604
17079
  deleteConnectorState: {
@@ -15657,7 +17132,7 @@ interface operations {
15657
17132
  "application/json": components["schemas"]["UnauthorizedRefusal"];
15658
17133
  };
15659
17134
  };
15660
- /** @description - `forbidden`: your credential is neither the connector's own key nor the operator key. */
17135
+ /** @description - `forbidden`: your credential is neither the connector's own key nor a holder of connectors.manage. */
15661
17136
  403: {
15662
17137
  headers: {
15663
17138
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -15745,6 +17220,21 @@ interface operations {
15745
17220
  "application/json": components["schemas"]["WriteContentionRefusal"];
15746
17221
  };
15747
17222
  };
17223
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
17224
+ 507: {
17225
+ headers: {
17226
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
17227
+ "X-Request-ID": components["headers"]["X-Request-ID"];
17228
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
17229
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
17230
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
17231
+ "X-Error-Code": components["headers"]["X-Error-Code"];
17232
+ [name: string]: unknown;
17233
+ };
17234
+ content: {
17235
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
17236
+ };
17237
+ };
15748
17238
  };
15749
17239
  };
15750
17240
  listConnectorAgreements: {
@@ -15810,7 +17300,7 @@ interface operations {
15810
17300
  "application/json": components["schemas"]["UnauthorizedRefusal"];
15811
17301
  };
15812
17302
  };
15813
- /** @description - `forbidden`: your credential isn't the connector's own key. The operator key can't use this endpoint. */
17303
+ /** @description - `forbidden`: your credential isn't the connector's own key. Management permission does not authorize connector activity. */
15814
17304
  403: {
15815
17305
  headers: {
15816
17306
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -15886,6 +17376,21 @@ interface operations {
15886
17376
  "application/json": components["schemas"]["WriteContentionRefusal"];
15887
17377
  };
15888
17378
  };
17379
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
17380
+ 507: {
17381
+ headers: {
17382
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
17383
+ "X-Request-ID": components["headers"]["X-Request-ID"];
17384
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
17385
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
17386
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
17387
+ "X-Error-Code": components["headers"]["X-Error-Code"];
17388
+ [name: string]: unknown;
17389
+ };
17390
+ content: {
17391
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
17392
+ };
17393
+ };
15889
17394
  };
15890
17395
  };
15891
17396
  writeConnectorAgreements: {
@@ -15974,7 +17479,7 @@ interface operations {
15974
17479
  "application/json": components["schemas"]["UnauthorizedRefusal"];
15975
17480
  };
15976
17481
  };
15977
- /** @description - `forbidden`: your credential isn't the connector's own key. The operator key can't use this endpoint. */
17482
+ /** @description - `forbidden`: your credential isn't the connector's own key. Management permission does not authorize connector activity. */
15978
17483
  403: {
15979
17484
  headers: {
15980
17485
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -16077,6 +17582,21 @@ interface operations {
16077
17582
  "application/json": components["schemas"]["WriteContentionRefusal"];
16078
17583
  };
16079
17584
  };
17585
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
17586
+ 507: {
17587
+ headers: {
17588
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
17589
+ "X-Request-ID": components["headers"]["X-Request-ID"];
17590
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
17591
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
17592
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
17593
+ "X-Error-Code": components["headers"]["X-Error-Code"];
17594
+ [name: string]: unknown;
17595
+ };
17596
+ content: {
17597
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
17598
+ };
17599
+ };
16080
17600
  };
16081
17601
  };
16082
17602
  lookupConnectorAgreements: {
@@ -16148,7 +17668,7 @@ interface operations {
16148
17668
  "application/json": components["schemas"]["UnauthorizedRefusal"];
16149
17669
  };
16150
17670
  };
16151
- /** @description - `forbidden`: your credential isn't the connector's own key. The operator key can't use this endpoint. */
17671
+ /** @description - `forbidden`: your credential isn't the connector's own key. Management permission does not authorize connector activity. */
16152
17672
  403: {
16153
17673
  headers: {
16154
17674
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -16236,6 +17756,21 @@ interface operations {
16236
17756
  "application/json": components["schemas"]["WriteContentionRefusal"];
16237
17757
  };
16238
17758
  };
17759
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
17760
+ 507: {
17761
+ headers: {
17762
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
17763
+ "X-Request-ID": components["headers"]["X-Request-ID"];
17764
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
17765
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
17766
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
17767
+ "X-Error-Code": components["headers"]["X-Error-Code"];
17768
+ [name: string]: unknown;
17769
+ };
17770
+ content: {
17771
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
17772
+ };
17773
+ };
16239
17774
  };
16240
17775
  };
16241
17776
  createFolder: {
@@ -16429,6 +17964,22 @@ interface operations {
16429
17964
  "application/json": components["schemas"]["WriteContentionRefusal"];
16430
17965
  };
16431
17966
  };
17967
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
17968
+ 507: {
17969
+ headers: {
17970
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
17971
+ "X-Request-ID": components["headers"]["X-Request-ID"];
17972
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
17973
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
17974
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
17975
+ "X-Error-Code": components["headers"]["X-Error-Code"];
17976
+ "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
17977
+ [name: string]: unknown;
17978
+ };
17979
+ content: {
17980
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
17981
+ };
17982
+ };
16432
17983
  };
16433
17984
  };
16434
17985
  updateFolder: {
@@ -16648,6 +18199,22 @@ interface operations {
16648
18199
  "application/json": components["schemas"]["WriteContentionRefusal"];
16649
18200
  };
16650
18201
  };
18202
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
18203
+ 507: {
18204
+ headers: {
18205
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
18206
+ "X-Request-ID": components["headers"]["X-Request-ID"];
18207
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
18208
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
18209
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
18210
+ "X-Error-Code": components["headers"]["X-Error-Code"];
18211
+ "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
18212
+ [name: string]: unknown;
18213
+ };
18214
+ content: {
18215
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
18216
+ };
18217
+ };
16651
18218
  };
16652
18219
  };
16653
18220
  revokeFolder: {
@@ -16842,6 +18409,22 @@ interface operations {
16842
18409
  "application/json": components["schemas"]["WriteContentionRefusal"];
16843
18410
  };
16844
18411
  };
18412
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
18413
+ 507: {
18414
+ headers: {
18415
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
18416
+ "X-Request-ID": components["headers"]["X-Request-ID"];
18417
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
18418
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
18419
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
18420
+ "X-Error-Code": components["headers"]["X-Error-Code"];
18421
+ "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
18422
+ [name: string]: unknown;
18423
+ };
18424
+ content: {
18425
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
18426
+ };
18427
+ };
16845
18428
  };
16846
18429
  };
16847
18430
  listKeys: {
@@ -16897,7 +18480,7 @@ interface operations {
16897
18480
  "application/json": components["schemas"]["UnauthorizedRefusal"];
16898
18481
  };
16899
18482
  };
16900
- /** @description - `forbidden`: you don't hold `keys.mint` and aren't the operator key. `details.required_scope` names it. */
18483
+ /** @description - `forbidden`: this operation requires its explicit permission or direct owner or local authority. `details.required_scope` names it. */
16901
18484
  403: {
16902
18485
  headers: {
16903
18486
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -16958,6 +18541,21 @@ interface operations {
16958
18541
  "application/json": components["schemas"]["WriteContentionRefusal"];
16959
18542
  };
16960
18543
  };
18544
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
18545
+ 507: {
18546
+ headers: {
18547
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
18548
+ "X-Request-ID": components["headers"]["X-Request-ID"];
18549
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
18550
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
18551
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
18552
+ "X-Error-Code": components["headers"]["X-Error-Code"];
18553
+ [name: string]: unknown;
18554
+ };
18555
+ content: {
18556
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
18557
+ };
18558
+ };
16961
18559
  };
16962
18560
  };
16963
18561
  createKey: {
@@ -16972,20 +18570,18 @@ interface operations {
16972
18570
  "application/json": {
16973
18571
  /** @description A name for the key, to tell it apart from your other keys. */
16974
18572
  label: string;
16975
- /** @description The key's own source, stamped on the rows it writes unless a write names a source it claims. No other unrevoked key may have it as its own, and it can't change later. */
18573
+ /** @description The key's own source, stamped on the rows it writes unless a write names a source it claims. No other key that hasn't been revoked or expired may have it as its own, and it can't change later. */
16976
18574
  source: string;
16977
- /** @description Sources the key may also write under, besides its own `source`. Several keys may claim one source, so their writes share natural keys. You can grant only your own `source` and the sources you claim; the operator key can grant any. */
18575
+ /** @description Sources the key may also write under, besides its own `source`. Several keys may claim one source, so their writes share natural keys. You can grant only your own `source` and the sources you claim; the owner or local command can grant any. */
16978
18576
  sources?: string[];
16979
18577
  /** @description The permissions to give the key, such as `audit.read`. */
16980
18578
  permissions?: components["schemas"]["Permission"][];
16981
18579
  default_tier?: components["schemas"]["Tier"] & unknown;
16982
- /** @description `true` to create another operator key, which holds no permissions, maps or claimed sources. Only the operator key can create one. */
16983
- is_operator?: boolean;
16984
18580
  /** @description Item types the key may `read` or `write`, by type ID or a wildcard such as `core.*` or `*`. `none` denies a type a wildcard covers. */
16985
18581
  type_permissions?: {
16986
18582
  [key: string]: components["schemas"]["TypePermissionLevel"];
16987
18583
  };
16988
- /** @description Extension namespaces the key may `read` or `write`, by namespace or `*`. A key can always read and write the namespace named by its own `label`. */
18584
+ /** @description Extension namespaces the key may `read` or `write`, by namespace or `*`. */
16989
18585
  extension_permissions?: {
16990
18586
  [key: string]: components["schemas"]["PermissionLevel"];
16991
18587
  };
@@ -17002,11 +18598,13 @@ interface operations {
17002
18598
  [key: string]: components["schemas"]["PermissionLevel"];
17003
18599
  };
17004
18600
  enforcement_override?: components["schemas"]["EnforcementOverride"] & unknown;
18601
+ /** @description When the key stops working, as an ISO 8601 date and time in the future. Leave it out for a key that never expires, or, if your own key expires, for one that expires when yours does. It can't be later than your own key's `expires_at`. */
18602
+ expires_at?: string;
17005
18603
  };
17006
18604
  };
17007
18605
  };
17008
18606
  responses: {
17009
- /** @description Returns the new key with its plaintext `key`. When the operator key creates an ordinary key from a body naming no permission, map or `sources`, the key holds every permission and `*: write` on every map, and claims no source. On a new instance, the first request sends the one-time secret from the server's startup log as its bearer token, and returns the operator key, which reads no items. */
18607
+ /** @description Returns the new key with its plaintext `key`. When the owner or local command creates an ordinary key from a body naming no permission, map or `sources`, the key holds every permission and `*: write` on every map, and claims no source. */
17010
18608
  201: {
17011
18609
  headers: {
17012
18610
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -17022,7 +18620,7 @@ interface operations {
17022
18620
  };
17023
18621
  /**
17024
18622
  * @description - `missing_required_field`: `label` or `source` is missing, or a lever in `enforcement_override` lacks `types` or `sources`.
17025
- * - `validation_error`: a field is invalid, such as a permission level that doesn't exist or more than 1,000 `sources`, or `source` or a claimed source starts with `oauth:`.
18623
+ * - `validation_error`: a field is invalid, such as a permission level that doesn't exist, more than 1,000 `sources`, or an `expires_at` that isn't a time or isn't in the future, or `source` or a claimed source starts with `oauth:`.
17026
18624
  */
17027
18625
  400: {
17028
18626
  headers: {
@@ -17053,7 +18651,7 @@ interface operations {
17053
18651
  "application/json": components["schemas"]["UnauthorizedRefusal"];
17054
18652
  };
17055
18653
  };
17056
- /** @description - `forbidden`: you don't hold `keys.mint` and aren't the operator key; the body names a permission, map entry or source you don't hold, or a `source` another key claims that you can't grant; it gives an operator key any reach; or it asks for an operator key and you aren't one. `details.required_scope` or `details.source` names what you lack. */
18654
+ /** @description - `forbidden`: you don't hold `keys.mint` and aren't the owner or local command; the body names a permission, map entry or source you don't hold, or a `source` another key claims that you can't grant; it names an `expires_at` later than your own key's; or it names `enforcement_override` and you don't hold `config.manage`. `details.required_scope` or `details.source` names what you lack. */
17057
18655
  403: {
17058
18656
  headers: {
17059
18657
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -17068,7 +18666,7 @@ interface operations {
17068
18666
  "application/json": components["schemas"]["ForbiddenRefusal"];
17069
18667
  };
17070
18668
  };
17071
- /** @description - `conflict`: another unrevoked key already has this `source` as its own. `details.source` names it. To let two keys write under one source, claim it in `sources` instead. */
18669
+ /** @description - `conflict`: another key that hasn't been revoked or expired already has this `source` as its own. `details.source` names it. To let two keys write under one source, claim it in `sources` instead. */
17072
18670
  409: {
17073
18671
  headers: {
17074
18672
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -17141,6 +18739,21 @@ interface operations {
17141
18739
  "application/json": components["schemas"]["WriteContentionRefusal"];
17142
18740
  };
17143
18741
  };
18742
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
18743
+ 507: {
18744
+ headers: {
18745
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
18746
+ "X-Request-ID": components["headers"]["X-Request-ID"];
18747
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
18748
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
18749
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
18750
+ "X-Error-Code": components["headers"]["X-Error-Code"];
18751
+ [name: string]: unknown;
18752
+ };
18753
+ content: {
18754
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
18755
+ };
18756
+ };
17144
18757
  };
17145
18758
  };
17146
18759
  getCurrentKey: {
@@ -17277,6 +18890,21 @@ interface operations {
17277
18890
  "application/json": components["schemas"]["WriteContentionRefusal"];
17278
18891
  };
17279
18892
  };
18893
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
18894
+ 507: {
18895
+ headers: {
18896
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
18897
+ "X-Request-ID": components["headers"]["X-Request-ID"];
18898
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
18899
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
18900
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
18901
+ "X-Error-Code": components["headers"]["X-Error-Code"];
18902
+ [name: string]: unknown;
18903
+ };
18904
+ content: {
18905
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
18906
+ };
18907
+ };
17280
18908
  };
17281
18909
  };
17282
18910
  revokeKey: {
@@ -17335,7 +18963,7 @@ interface operations {
17335
18963
  "application/json": components["schemas"]["UnauthorizedRefusal"];
17336
18964
  };
17337
18965
  };
17338
- /** @description - `forbidden`: you don't hold `keys.mint` and aren't the operator key. `details.required_scope` names it. */
18966
+ /** @description - `forbidden`: this operation requires its explicit permission or direct owner or local authority. `details.required_scope` names it. */
17339
18967
  403: {
17340
18968
  headers: {
17341
18969
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -17350,7 +18978,7 @@ interface operations {
17350
18978
  "application/json": components["schemas"]["ForbiddenRefusal"];
17351
18979
  };
17352
18980
  };
17353
- /** @description - `api_key_not_found`: no key you could have created has this ID, or the key is revoked or past its `expires_at`. The operator key's message says when the key was already revoked. */
18981
+ /** @description - `api_key_not_found`: no key you could have created has this ID, or the key is revoked or past its `expires_at`. The owner or local command's message says when the key was already revoked. */
17354
18982
  404: {
17355
18983
  headers: {
17356
18984
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -17423,6 +19051,21 @@ interface operations {
17423
19051
  "application/json": components["schemas"]["WriteContentionRefusal"];
17424
19052
  };
17425
19053
  };
19054
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
19055
+ 507: {
19056
+ headers: {
19057
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
19058
+ "X-Request-ID": components["headers"]["X-Request-ID"];
19059
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
19060
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
19061
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
19062
+ "X-Error-Code": components["headers"]["X-Error-Code"];
19063
+ [name: string]: unknown;
19064
+ };
19065
+ content: {
19066
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
19067
+ };
19068
+ };
17426
19069
  };
17427
19070
  };
17428
19071
  updateKey: {
@@ -17441,13 +19084,13 @@ interface operations {
17441
19084
  /** @description A name for the key, to tell it apart from your other keys. */
17442
19085
  label?: string;
17443
19086
  default_tier?: components["schemas"]["Tier"] & unknown;
17444
- /** @description Sources the key may also write under, besides its own `source`. Several keys may claim one source, so their writes share natural keys. You can grant only your own `source` and the sources you claim; the operator key can grant any. */
19087
+ /** @description Sources the key may also write under, besides its own `source`. Several keys may claim one source, so their writes share natural keys. You can grant only your own `source` and the sources you claim; the owner or local command can grant any. */
17445
19088
  sources?: string[];
17446
19089
  /** @description Item types the key may `read` or `write`, by type ID or a wildcard such as `core.*` or `*`. `none` denies a type a wildcard covers. */
17447
19090
  type_permissions?: {
17448
19091
  [key: string]: components["schemas"]["TypePermissionLevel"];
17449
19092
  };
17450
- /** @description Extension namespaces the key may `read` or `write`, by namespace or `*`. A key can always read and write the namespace named by its own `label`. */
19093
+ /** @description Extension namespaces the key may `read` or `write`, by namespace or `*`. */
17451
19094
  extension_permissions?: {
17452
19095
  [key: string]: components["schemas"]["PermissionLevel"];
17453
19096
  };
@@ -17467,6 +19110,8 @@ interface operations {
17467
19110
  permissions?: components["schemas"]["Permission"][];
17468
19111
  /** @description Replaces the key's enforcement levers whole. `null` clears them. */
17469
19112
  enforcement_override?: components["schemas"]["EnforcementOverride"] | null;
19113
+ /** @description Replaces when the key stops working, as an ISO 8601 date and time in the future. `null` clears it. Leave it out to keep it. It can't be later than your own key's `expires_at`, or the key's current one for a key an app made or through `keys.manage`. */
19114
+ expires_at?: string | null;
17470
19115
  /** @description Can't change. To give a key another source, create a new key and revoke this one. */
17471
19116
  source?: string;
17472
19117
  };
@@ -17489,7 +19134,7 @@ interface operations {
17489
19134
  };
17490
19135
  /**
17491
19136
  * @description - `missing_required_field`: a lever in `enforcement_override` lacks `types` or `sources`.
17492
- * - `validation_error`: `id` isn't a valid key ID, the body carries `source`, or a field is invalid, such as a claimed source that starts with `oauth:`.
19137
+ * - `validation_error`: `id` isn't a valid key ID, the body carries `source`, or a field is invalid, such as an `expires_at` that isn't a time or isn't in the future, or a claimed source that starts with `oauth:`.
17493
19138
  */
17494
19139
  400: {
17495
19140
  headers: {
@@ -17520,7 +19165,7 @@ interface operations {
17520
19165
  "application/json": components["schemas"]["UnauthorizedRefusal"];
17521
19166
  };
17522
19167
  };
17523
- /** @description - `forbidden`: you don't hold `keys.mint` and aren't the operator key; the body gives the key a permission, map entry or source you don't hold; it gives an operator key any reach; or it widens a key an app created, which only narrows. `details.required_scope` or `details.source` names what's missing. */
19168
+ /** @description - `forbidden`: you don't hold `keys.mint` and aren't the owner or local command; the body gives the key a permission, map entry or source you don't hold, or an `expires_at` later than yours; it widens a key an app created or, through `keys.manage`, any key; or it names `enforcement_override` and you don't hold `config.manage`. `details.required_scope` or `details.source` names what's missing. */
17524
19169
  403: {
17525
19170
  headers: {
17526
19171
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -17608,6 +19253,21 @@ interface operations {
17608
19253
  "application/json": components["schemas"]["WriteContentionRefusal"];
17609
19254
  };
17610
19255
  };
19256
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
19257
+ 507: {
19258
+ headers: {
19259
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
19260
+ "X-Request-ID": components["headers"]["X-Request-ID"];
19261
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
19262
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
19263
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
19264
+ "X-Error-Code": components["headers"]["X-Error-Code"];
19265
+ [name: string]: unknown;
19266
+ };
19267
+ content: {
19268
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
19269
+ };
19270
+ };
17611
19271
  };
17612
19272
  };
17613
19273
  getConfig: {
@@ -17663,7 +19323,7 @@ interface operations {
17663
19323
  "application/json": components["schemas"]["UnauthorizedRefusal"];
17664
19324
  };
17665
19325
  };
17666
- /** @description - `forbidden`: you don't hold `config.manage`. The operator key doesn't hold it either. `details.required_scope` names it. */
19326
+ /** @description - `forbidden`: you don't hold `config.manage`. `details.required_scope` names it. */
17667
19327
  403: {
17668
19328
  headers: {
17669
19329
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -17724,6 +19384,21 @@ interface operations {
17724
19384
  "application/json": components["schemas"]["WriteContentionRefusal"];
17725
19385
  };
17726
19386
  };
19387
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
19388
+ 507: {
19389
+ headers: {
19390
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
19391
+ "X-Request-ID": components["headers"]["X-Request-ID"];
19392
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
19393
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
19394
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
19395
+ "X-Error-Code": components["headers"]["X-Error-Code"];
19396
+ [name: string]: unknown;
19397
+ };
19398
+ content: {
19399
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
19400
+ };
19401
+ };
17727
19402
  };
17728
19403
  };
17729
19404
  replaceConfig: {
@@ -17805,7 +19480,7 @@ interface operations {
17805
19480
  "application/json": components["schemas"]["UnauthorizedRefusal"];
17806
19481
  };
17807
19482
  };
17808
- /** @description - `forbidden`: you don't hold `config.manage`. The operator key doesn't hold it either. `details.required_scope` names it. */
19483
+ /** @description - `forbidden`: you don't hold `config.manage`. `details.required_scope` names it. */
17809
19484
  403: {
17810
19485
  headers: {
17811
19486
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -17878,6 +19553,21 @@ interface operations {
17878
19553
  "application/json": components["schemas"]["WriteContentionRefusal"];
17879
19554
  };
17880
19555
  };
19556
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
19557
+ 507: {
19558
+ headers: {
19559
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
19560
+ "X-Request-ID": components["headers"]["X-Request-ID"];
19561
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
19562
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
19563
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
19564
+ "X-Error-Code": components["headers"]["X-Error-Code"];
19565
+ [name: string]: unknown;
19566
+ };
19567
+ content: {
19568
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
19569
+ };
19570
+ };
17881
19571
  };
17882
19572
  };
17883
19573
  restoreArchive: {
@@ -17932,8 +19622,9 @@ interface operations {
17932
19622
  };
17933
19623
  };
17934
19624
  /**
17935
- * @description - `validation_error`: the body isn't a valid archive, or the archive is at another format version, carries an entry twice, has an invalid row, or has a `manifest.json`, `types.ndjson` or line of `items.ndjson` or `edges.ndjson` larger than 64 MiB.
19625
+ * @description - `validation_error`: the body isn't a valid archive, or is at another format version, repeats an entry, has an invalid row, or has a file over 64 MiB.
17936
19626
  * - `invalid_properties`: an item sets a property its type doesn't declare, and `strict_mode` names that type.
19627
+ * - `invalid_schema`: an archived type is invalid or carries a key the schema doesn't define.
17937
19628
  */
17938
19629
  400: {
17939
19630
  headers: {
@@ -17946,7 +19637,7 @@ interface operations {
17946
19637
  [name: string]: unknown;
17947
19638
  };
17948
19639
  content: {
17949
- "application/json": components["schemas"]["InvalidPropertiesOrValidationErrorRefusal"];
19640
+ "application/json": components["schemas"]["InvalidPropertiesOrInvalidSchemaOrValidationErrorRefusal"];
17950
19641
  };
17951
19642
  };
17952
19643
  /** @description `unauthorized`: the request has no credential, or its credential is not valid. */
@@ -17964,7 +19655,7 @@ interface operations {
17964
19655
  "application/json": components["schemas"]["UnauthorizedRefusal"];
17965
19656
  };
17966
19657
  };
17967
- /** @description - `forbidden`: your key isn't an operator key. */
19658
+ /** @description Requires direct owner or local authority and recent owner authentication. */
17968
19659
  403: {
17969
19660
  headers: {
17970
19661
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -18055,6 +19746,21 @@ interface operations {
18055
19746
  "application/json": components["schemas"]["WriteContentionRefusal"];
18056
19747
  };
18057
19748
  };
19749
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
19750
+ 507: {
19751
+ headers: {
19752
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
19753
+ "X-Request-ID": components["headers"]["X-Request-ID"];
19754
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
19755
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
19756
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
19757
+ "X-Error-Code": components["headers"]["X-Error-Code"];
19758
+ [name: string]: unknown;
19759
+ };
19760
+ content: {
19761
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
19762
+ };
19763
+ };
18058
19764
  };
18059
19765
  };
18060
19766
  listPlatformTypeDrift: {
@@ -18110,7 +19816,7 @@ interface operations {
18110
19816
  "application/json": components["schemas"]["UnauthorizedRefusal"];
18111
19817
  };
18112
19818
  };
18113
- /** @description `forbidden`: you aren't using the operator key. */
19819
+ /** @description `forbidden`: you lack the required management permission. */
18114
19820
  403: {
18115
19821
  headers: {
18116
19822
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -18171,6 +19877,21 @@ interface operations {
18171
19877
  "application/json": components["schemas"]["WriteContentionRefusal"];
18172
19878
  };
18173
19879
  };
19880
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
19881
+ 507: {
19882
+ headers: {
19883
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
19884
+ "X-Request-ID": components["headers"]["X-Request-ID"];
19885
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
19886
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
19887
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
19888
+ "X-Error-Code": components["headers"]["X-Error-Code"];
19889
+ [name: string]: unknown;
19890
+ };
19891
+ content: {
19892
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
19893
+ };
19894
+ };
18174
19895
  };
18175
19896
  };
18176
19897
  deletePlatformType: {
@@ -18233,7 +19954,7 @@ interface operations {
18233
19954
  "application/json": components["schemas"]["UnauthorizedRefusal"];
18234
19955
  };
18235
19956
  };
18236
- /** @description `forbidden`: you aren't using the operator key. */
19957
+ /** @description `forbidden`: you lack the required management permission. */
18237
19958
  403: {
18238
19959
  headers: {
18239
19960
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -18339,6 +20060,21 @@ interface operations {
18339
20060
  "application/json": components["schemas"]["WriteContentionRefusal"];
18340
20061
  };
18341
20062
  };
20063
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
20064
+ 507: {
20065
+ headers: {
20066
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20067
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20068
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20069
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20070
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20071
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20072
+ [name: string]: unknown;
20073
+ };
20074
+ content: {
20075
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
20076
+ };
20077
+ };
18342
20078
  };
18343
20079
  };
18344
20080
  getOwner: {
@@ -18350,7 +20086,7 @@ interface operations {
18350
20086
  };
18351
20087
  requestBody?: never;
18352
20088
  responses: {
18353
- /** @description Returns the owner. */
20089
+ /** @description The owner. */
18354
20090
  200: {
18355
20091
  headers: {
18356
20092
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -18394,7 +20130,7 @@ interface operations {
18394
20130
  "application/json": components["schemas"]["UnauthorizedRefusal"];
18395
20131
  };
18396
20132
  };
18397
- /** @description - `forbidden`: your key isn't an operator key. */
20133
+ /** @description This operation requires direct owner or local authority. */
18398
20134
  403: {
18399
20135
  headers: {
18400
20136
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -18409,7 +20145,7 @@ interface operations {
18409
20145
  "application/json": components["schemas"]["ForbiddenRefusal"];
18410
20146
  };
18411
20147
  };
18412
- /** @description - `owner_not_found`: the instance has no owner yet. */
20148
+ /** @description The owner is unavailable. */
18413
20149
  404: {
18414
20150
  headers: {
18415
20151
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -18470,33 +20206,157 @@ interface operations {
18470
20206
  "application/json": components["schemas"]["WriteContentionRefusal"];
18471
20207
  };
18472
20208
  };
20209
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
20210
+ 507: {
20211
+ headers: {
20212
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20213
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20214
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20215
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20216
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20217
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20218
+ [name: string]: unknown;
20219
+ };
20220
+ content: {
20221
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
20222
+ };
20223
+ };
20224
+ };
20225
+ };
20226
+ createOwner: {
20227
+ parameters: {
20228
+ query?: never;
20229
+ header?: never;
20230
+ path?: never;
20231
+ cookie?: never;
18473
20232
  };
18474
- };
18475
- createOwner: {
18476
- parameters: {
18477
- query?: never;
18478
- header?: never;
18479
- path?: never;
18480
- cookie?: never;
18481
- };
18482
20233
  requestBody: {
18483
20234
  content: {
18484
20235
  "application/json": {
18485
20236
  /**
18486
20237
  * Format: email
18487
- * @description The owner's email address, which they sign in with. Marfa stores it in lowercase.
20238
+ * @description Email address the owner uses to sign in.
18488
20239
  */
18489
20240
  email: string;
18490
- /** @description The password the owner signs in with. */
20241
+ /** @description Password for the new owner. */
18491
20242
  password: string;
18492
- /** @description The owner's name. Leave it out or blank to use the part of `email` before the `@`. */
20243
+ /** @description Display name. Defaults to the part before @ in the email address when omitted or blank. */
18493
20244
  name?: string;
20245
+ /** @description Machine-issued setup code. Omit when using a setup-only browser session. */
20246
+ code?: string;
18494
20247
  };
18495
20248
  };
18496
20249
  };
18497
20250
  responses: {
18498
- /** @description Returns the new owner. */
20251
+ /** @description The new owner can sign in. */
18499
20252
  201: {
20253
+ headers: {
20254
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20255
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20256
+ [name: string]: unknown;
20257
+ };
20258
+ content: {
20259
+ "application/json": components["schemas"]["Owner"];
20260
+ };
20261
+ };
20262
+ /** @description Owner details are invalid. */
20263
+ 400: {
20264
+ headers: {
20265
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20266
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20267
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20268
+ [name: string]: unknown;
20269
+ };
20270
+ content: {
20271
+ "application/json": components["schemas"]["MissingRequiredFieldOrValidationErrorRefusal"];
20272
+ };
20273
+ };
20274
+ /** @description Setup proof is invalid, expired, or replaced. */
20275
+ 401: {
20276
+ headers: {
20277
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20278
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20279
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20280
+ [name: string]: unknown;
20281
+ };
20282
+ content: {
20283
+ "application/json": components["schemas"]["UnauthorizedRefusal"];
20284
+ };
20285
+ };
20286
+ /** @description The browser origin or transport is not permitted. */
20287
+ 403: {
20288
+ headers: {
20289
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20290
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20291
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20292
+ [name: string]: unknown;
20293
+ };
20294
+ content: {
20295
+ "application/json": components["schemas"]["ForbiddenRefusal"];
20296
+ };
20297
+ };
20298
+ /** @description The instance has already been claimed. */
20299
+ 409: {
20300
+ headers: {
20301
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20302
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20303
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20304
+ [name: string]: unknown;
20305
+ };
20306
+ content: {
20307
+ "application/json": components["schemas"]["OwnerExistsRefusal"];
20308
+ };
20309
+ };
20310
+ /** @description `request_too_large`: the request body is larger than this instance accepts. */
20311
+ 413: {
20312
+ headers: {
20313
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20314
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20315
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20316
+ [name: string]: unknown;
20317
+ };
20318
+ content: {
20319
+ "application/json": components["schemas"]["RequestTooLargeRefusal"];
20320
+ };
20321
+ };
20322
+ /** @description The address has used its setup-code attempts. */
20323
+ 429: {
20324
+ headers: {
20325
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20326
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20327
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20328
+ "Retry-After": components["headers"]["Retry-After"];
20329
+ [name: string]: unknown;
20330
+ };
20331
+ content: {
20332
+ "application/json": components["schemas"]["RateLimitedRefusal"];
20333
+ };
20334
+ };
20335
+ /** @description `internal_error`: Marfa failed in a way it didn't expect, and the request may not have completed. Read what you changed before you repeat a write. */
20336
+ 500: {
20337
+ headers: {
20338
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20339
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20340
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20341
+ [name: string]: unknown;
20342
+ };
20343
+ content: {
20344
+ "application/json": components["schemas"]["InternalErrorRefusal"];
20345
+ };
20346
+ };
20347
+ };
20348
+ };
20349
+ listSignIns: {
20350
+ parameters: {
20351
+ query?: never;
20352
+ header?: never;
20353
+ path?: never;
20354
+ cookie?: never;
20355
+ };
20356
+ requestBody?: never;
20357
+ responses: {
20358
+ /** @description Returns every live sign-in. */
20359
+ 200: {
18500
20360
  headers: {
18501
20361
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
18502
20362
  "X-Request-ID": components["headers"]["X-Request-ID"];
@@ -18506,12 +20366,320 @@ interface operations {
18506
20366
  [name: string]: unknown;
18507
20367
  };
18508
20368
  content: {
18509
- "application/json": components["schemas"]["Owner"];
20369
+ "application/json": components["schemas"]["SignInList"];
20370
+ };
20371
+ };
20372
+ /** @description - `validation_error`: the query has a parameter this endpoint doesn't take. */
20373
+ 400: {
20374
+ headers: {
20375
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20376
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20377
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20378
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20379
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20380
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20381
+ [name: string]: unknown;
20382
+ };
20383
+ content: {
20384
+ "application/json": components["schemas"]["ValidationErrorRefusal"];
20385
+ };
20386
+ };
20387
+ /** @description `unauthorized`: the request has no credential, or its credential is not valid. */
20388
+ 401: {
20389
+ headers: {
20390
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20391
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20392
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20393
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20394
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20395
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20396
+ [name: string]: unknown;
20397
+ };
20398
+ content: {
20399
+ "application/json": components["schemas"]["UnauthorizedRefusal"];
20400
+ };
20401
+ };
20402
+ /** @description - `forbidden`: the request carries a key or an app's token rather than the owner's browser session or the local command's authority. */
20403
+ 403: {
20404
+ headers: {
20405
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20406
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20407
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20408
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20409
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20410
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20411
+ [name: string]: unknown;
20412
+ };
20413
+ content: {
20414
+ "application/json": components["schemas"]["ForbiddenRefusal"];
20415
+ };
20416
+ };
20417
+ /** @description `rate_limited`: you sent too many requests. Wait for the number of seconds in `Retry-After`, then try again. */
20418
+ 429: {
20419
+ headers: {
20420
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20421
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20422
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20423
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20424
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20425
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20426
+ "Retry-After": components["headers"]["Retry-After"];
20427
+ [name: string]: unknown;
20428
+ };
20429
+ content: {
20430
+ "application/json": components["schemas"]["RateLimitedRefusal"];
20431
+ };
20432
+ };
20433
+ /** @description `internal_error`: Marfa failed in a way it didn't expect, and the request may not have completed. Read what you changed before you repeat a write. */
20434
+ 500: {
20435
+ headers: {
20436
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20437
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20438
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20439
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20440
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20441
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20442
+ [name: string]: unknown;
20443
+ };
20444
+ content: {
20445
+ "application/json": components["schemas"]["InternalErrorRefusal"];
20446
+ };
20447
+ };
20448
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
20449
+ 503: {
20450
+ headers: {
20451
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20452
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20453
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20454
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20455
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20456
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20457
+ [name: string]: unknown;
20458
+ };
20459
+ content: {
20460
+ "application/json": components["schemas"]["WriteContentionRefusal"];
20461
+ };
20462
+ };
20463
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
20464
+ 507: {
20465
+ headers: {
20466
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20467
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20468
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20469
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20470
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20471
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20472
+ [name: string]: unknown;
20473
+ };
20474
+ content: {
20475
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
20476
+ };
20477
+ };
20478
+ };
20479
+ };
20480
+ endSignIn: {
20481
+ parameters: {
20482
+ query?: {
20483
+ /** @description For an app, also revoke every key it minted, as its `minted_by` rows show. Only an app takes it. */
20484
+ revoke_keys?: "true" | "false";
20485
+ };
20486
+ header?: never;
20487
+ path: {
20488
+ /** @description The ID of the sign-in. */
20489
+ id: string;
20490
+ };
20491
+ cookie?: never;
20492
+ };
20493
+ requestBody?: never;
20494
+ responses: {
20495
+ /** @description Returns `ok: true`. The sign-in has ended. */
20496
+ 200: {
20497
+ headers: {
20498
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20499
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20500
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20501
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20502
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20503
+ [name: string]: unknown;
20504
+ };
20505
+ content: {
20506
+ "application/json": components["schemas"]["Ok"];
20507
+ };
20508
+ };
20509
+ /** @description - `validation_error`: `revoke_keys` is `true` and the ID names a browser or a key. */
20510
+ 400: {
20511
+ headers: {
20512
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20513
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20514
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20515
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20516
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20517
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20518
+ [name: string]: unknown;
20519
+ };
20520
+ content: {
20521
+ "application/json": components["schemas"]["ValidationErrorRefusal"];
20522
+ };
20523
+ };
20524
+ /** @description `unauthorized`: the request has no credential, or its credential is not valid. */
20525
+ 401: {
20526
+ headers: {
20527
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20528
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20529
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20530
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20531
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20532
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20533
+ [name: string]: unknown;
20534
+ };
20535
+ content: {
20536
+ "application/json": components["schemas"]["UnauthorizedRefusal"];
20537
+ };
20538
+ };
20539
+ /** @description - `forbidden`: the request carries a key or an app's token rather than the owner's browser session or the local command's authority, or the browser signed in more than five minutes ago. */
20540
+ 403: {
20541
+ headers: {
20542
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20543
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20544
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20545
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20546
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20547
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20548
+ [name: string]: unknown;
20549
+ };
20550
+ content: {
20551
+ "application/json": components["schemas"]["ForbiddenRefusal"];
20552
+ };
20553
+ };
20554
+ /** @description - `sign_in_not_found`: no live sign-in of the owner has this ID. It may have ended or expired. */
20555
+ 404: {
20556
+ headers: {
20557
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20558
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20559
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20560
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20561
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20562
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20563
+ [name: string]: unknown;
20564
+ };
20565
+ content: {
20566
+ "application/json": components["schemas"]["SignInNotFoundRefusal"];
20567
+ };
20568
+ };
20569
+ /** @description `request_too_large`: the request body is larger than this instance accepts. */
20570
+ 413: {
20571
+ headers: {
20572
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20573
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20574
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20575
+ [name: string]: unknown;
20576
+ };
20577
+ content: {
20578
+ "application/json": components["schemas"]["RequestTooLargeRefusal"];
20579
+ };
20580
+ };
20581
+ /** @description `rate_limited`: you sent too many requests. Wait for the number of seconds in `Retry-After`, then try again. */
20582
+ 429: {
20583
+ headers: {
20584
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20585
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20586
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20587
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20588
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20589
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20590
+ "Retry-After": components["headers"]["Retry-After"];
20591
+ [name: string]: unknown;
20592
+ };
20593
+ content: {
20594
+ "application/json": components["schemas"]["RateLimitedRefusal"];
20595
+ };
20596
+ };
20597
+ /** @description `internal_error`: Marfa failed in a way it didn't expect, and the request may not have completed. Read what you changed before you repeat a write. */
20598
+ 500: {
20599
+ headers: {
20600
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20601
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20602
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20603
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20604
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20605
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20606
+ [name: string]: unknown;
20607
+ };
20608
+ content: {
20609
+ "application/json": components["schemas"]["InternalErrorRefusal"];
20610
+ };
20611
+ };
20612
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
20613
+ 503: {
20614
+ headers: {
20615
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20616
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20617
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20618
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20619
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20620
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20621
+ [name: string]: unknown;
20622
+ };
20623
+ content: {
20624
+ "application/json": components["schemas"]["WriteContentionRefusal"];
20625
+ };
20626
+ };
20627
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
20628
+ 507: {
20629
+ headers: {
20630
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20631
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20632
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20633
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20634
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20635
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20636
+ [name: string]: unknown;
20637
+ };
20638
+ content: {
20639
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
20640
+ };
20641
+ };
20642
+ };
20643
+ };
20644
+ updateSignIn: {
20645
+ parameters: {
20646
+ query?: never;
20647
+ header?: never;
20648
+ path: {
20649
+ /** @description The ID of the sign-in. */
20650
+ id: string;
20651
+ };
20652
+ cookie?: never;
20653
+ };
20654
+ requestBody: {
20655
+ content: {
20656
+ "application/json": {
20657
+ /**
20658
+ * @description The sign-in's new name. Marfa trims spaces from each end.
20659
+ * @example Marfa app on the studio laptop
20660
+ */
20661
+ name: string;
20662
+ };
20663
+ };
20664
+ };
20665
+ responses: {
20666
+ /** @description Returns the renamed sign-in. */
20667
+ 200: {
20668
+ headers: {
20669
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20670
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20671
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20672
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20673
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20674
+ [name: string]: unknown;
20675
+ };
20676
+ content: {
20677
+ "application/json": components["schemas"]["SignIn"];
18510
20678
  };
18511
20679
  };
18512
20680
  /**
18513
- * @description - `missing_required_field`: `email` or `password` is missing.
18514
- * - `validation_error`: a field is invalid, such as an `email` that isn't an email address or a `password` shorter or longer than sign-in allows. For `password`, the message names the limit.
20681
+ * @description - `missing_required_field`: `name` is missing.
20682
+ * - `validation_error`: `name` is empty, too long or holds a control or bidirectional formatting character, the body has another field, or the ID names a browser, whose name comes from the browser.
18515
20683
  */
18516
20684
  400: {
18517
20685
  headers: {
@@ -18542,7 +20710,7 @@ interface operations {
18542
20710
  "application/json": components["schemas"]["UnauthorizedRefusal"];
18543
20711
  };
18544
20712
  };
18545
- /** @description - `forbidden`: your key isn't an operator key. */
20713
+ /** @description - `forbidden`: the request carries a key or an app's token rather than the owner's browser session or the local command's authority, or the browser signed in more than five minutes ago. */
18546
20714
  403: {
18547
20715
  headers: {
18548
20716
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -18557,8 +20725,8 @@ interface operations {
18557
20725
  "application/json": components["schemas"]["ForbiddenRefusal"];
18558
20726
  };
18559
20727
  };
18560
- /** @description - `owner_exists`: the instance already has an owner. */
18561
- 409: {
20728
+ /** @description - `sign_in_not_found`: no live sign-in of the owner has this ID. It may have ended or expired. */
20729
+ 404: {
18562
20730
  headers: {
18563
20731
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
18564
20732
  "X-Request-ID": components["headers"]["X-Request-ID"];
@@ -18569,7 +20737,7 @@ interface operations {
18569
20737
  [name: string]: unknown;
18570
20738
  };
18571
20739
  content: {
18572
- "application/json": components["schemas"]["OwnerExistsRefusal"];
20740
+ "application/json": components["schemas"]["SignInNotFoundRefusal"];
18573
20741
  };
18574
20742
  };
18575
20743
  /** @description `request_too_large`: the request body is larger than this instance accepts. */
@@ -18615,8 +20783,23 @@ interface operations {
18615
20783
  "application/json": components["schemas"]["InternalErrorRefusal"];
18616
20784
  };
18617
20785
  };
18618
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
18619
- 503: {
20786
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
20787
+ 503: {
20788
+ headers: {
20789
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20790
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20791
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20792
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20793
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20794
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20795
+ [name: string]: unknown;
20796
+ };
20797
+ content: {
20798
+ "application/json": components["schemas"]["WriteContentionRefusal"];
20799
+ };
20800
+ };
20801
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
20802
+ 507: {
18620
20803
  headers: {
18621
20804
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
18622
20805
  "X-Request-ID": components["headers"]["X-Request-ID"];
@@ -18627,7 +20810,7 @@ interface operations {
18627
20810
  [name: string]: unknown;
18628
20811
  };
18629
20812
  content: {
18630
- "application/json": components["schemas"]["WriteContentionRefusal"];
20813
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
18631
20814
  };
18632
20815
  };
18633
20816
  };
@@ -18763,6 +20946,21 @@ interface operations {
18763
20946
  "application/json": components["schemas"]["WriteContentionRefusal"];
18764
20947
  };
18765
20948
  };
20949
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
20950
+ 507: {
20951
+ headers: {
20952
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20953
+ "X-Request-ID": components["headers"]["X-Request-ID"];
20954
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20955
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20956
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20957
+ "X-Error-Code": components["headers"]["X-Error-Code"];
20958
+ [name: string]: unknown;
20959
+ };
20960
+ content: {
20961
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
20962
+ };
20963
+ };
18766
20964
  };
18767
20965
  };
18768
20966
  listWebhooks: {
@@ -18879,6 +21077,21 @@ interface operations {
18879
21077
  "application/json": components["schemas"]["WriteContentionRefusal"];
18880
21078
  };
18881
21079
  };
21080
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
21081
+ 507: {
21082
+ headers: {
21083
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
21084
+ "X-Request-ID": components["headers"]["X-Request-ID"];
21085
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
21086
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
21087
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
21088
+ "X-Error-Code": components["headers"]["X-Error-Code"];
21089
+ [name: string]: unknown;
21090
+ };
21091
+ content: {
21092
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
21093
+ };
21094
+ };
18882
21095
  };
18883
21096
  };
18884
21097
  createWebhook: {
@@ -19023,6 +21236,21 @@ interface operations {
19023
21236
  "application/json": components["schemas"]["WriteContentionRefusal"];
19024
21237
  };
19025
21238
  };
21239
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
21240
+ 507: {
21241
+ headers: {
21242
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
21243
+ "X-Request-ID": components["headers"]["X-Request-ID"];
21244
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
21245
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
21246
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
21247
+ "X-Error-Code": components["headers"]["X-Error-Code"];
21248
+ [name: string]: unknown;
21249
+ };
21250
+ content: {
21251
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
21252
+ };
21253
+ };
19026
21254
  };
19027
21255
  };
19028
21256
  getWebhook: {
@@ -19157,6 +21385,21 @@ interface operations {
19157
21385
  "application/json": components["schemas"]["WriteContentionRefusal"];
19158
21386
  };
19159
21387
  };
21388
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
21389
+ 507: {
21390
+ headers: {
21391
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
21392
+ "X-Request-ID": components["headers"]["X-Request-ID"];
21393
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
21394
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
21395
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
21396
+ "X-Error-Code": components["headers"]["X-Error-Code"];
21397
+ [name: string]: unknown;
21398
+ };
21399
+ content: {
21400
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
21401
+ };
21402
+ };
19160
21403
  };
19161
21404
  };
19162
21405
  deleteWebhook: {
@@ -19303,6 +21546,21 @@ interface operations {
19303
21546
  "application/json": components["schemas"]["WriteContentionRefusal"];
19304
21547
  };
19305
21548
  };
21549
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
21550
+ 507: {
21551
+ headers: {
21552
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
21553
+ "X-Request-ID": components["headers"]["X-Request-ID"];
21554
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
21555
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
21556
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
21557
+ "X-Error-Code": components["headers"]["X-Error-Code"];
21558
+ [name: string]: unknown;
21559
+ };
21560
+ content: {
21561
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
21562
+ };
21563
+ };
19306
21564
  };
19307
21565
  };
19308
21566
  updateWebhook: {
@@ -19462,6 +21720,21 @@ interface operations {
19462
21720
  "application/json": components["schemas"]["WriteContentionRefusal"];
19463
21721
  };
19464
21722
  };
21723
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
21724
+ 507: {
21725
+ headers: {
21726
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
21727
+ "X-Request-ID": components["headers"]["X-Request-ID"];
21728
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
21729
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
21730
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
21731
+ "X-Error-Code": components["headers"]["X-Error-Code"];
21732
+ [name: string]: unknown;
21733
+ };
21734
+ content: {
21735
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
21736
+ };
21737
+ };
19465
21738
  };
19466
21739
  };
19467
21740
  listWebhookDeliveries: {
@@ -19601,6 +21874,21 @@ interface operations {
19601
21874
  "application/json": components["schemas"]["WriteContentionRefusal"];
19602
21875
  };
19603
21876
  };
21877
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
21878
+ 507: {
21879
+ headers: {
21880
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
21881
+ "X-Request-ID": components["headers"]["X-Request-ID"];
21882
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
21883
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
21884
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
21885
+ "X-Error-Code": components["headers"]["X-Error-Code"];
21886
+ [name: string]: unknown;
21887
+ };
21888
+ content: {
21889
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
21890
+ };
21891
+ };
19604
21892
  };
19605
21893
  };
19606
21894
  redeliverWebhookDelivery: {
@@ -19764,6 +22052,21 @@ interface operations {
19764
22052
  "application/json": components["schemas"]["WriteContentionRefusal"];
19765
22053
  };
19766
22054
  };
22055
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
22056
+ 507: {
22057
+ headers: {
22058
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22059
+ "X-Request-ID": components["headers"]["X-Request-ID"];
22060
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
22061
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
22062
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
22063
+ "X-Error-Code": components["headers"]["X-Error-Code"];
22064
+ [name: string]: unknown;
22065
+ };
22066
+ content: {
22067
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
22068
+ };
22069
+ };
19767
22070
  };
19768
22071
  };
19769
22072
  listAuditLog: {
@@ -19834,7 +22137,168 @@ interface operations {
19834
22137
  "application/json": components["schemas"]["UnauthorizedRefusal"];
19835
22138
  };
19836
22139
  };
19837
- /** @description - `forbidden`: you don't hold `audit.read`. The operator key doesn't hold it either. `details.required_scope` names it. */
22140
+ /** @description - `forbidden`: you don't hold `audit.read`. `details.required_scope` names it. */
22141
+ 403: {
22142
+ headers: {
22143
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22144
+ "X-Request-ID": components["headers"]["X-Request-ID"];
22145
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
22146
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
22147
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
22148
+ "X-Error-Code": components["headers"]["X-Error-Code"];
22149
+ [name: string]: unknown;
22150
+ };
22151
+ content: {
22152
+ "application/json": components["schemas"]["ForbiddenRefusal"];
22153
+ };
22154
+ };
22155
+ /** @description `rate_limited`: you sent too many requests. Wait for the number of seconds in `Retry-After`, then try again. */
22156
+ 429: {
22157
+ headers: {
22158
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22159
+ "X-Request-ID": components["headers"]["X-Request-ID"];
22160
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
22161
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
22162
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
22163
+ "X-Error-Code": components["headers"]["X-Error-Code"];
22164
+ "Retry-After": components["headers"]["Retry-After"];
22165
+ [name: string]: unknown;
22166
+ };
22167
+ content: {
22168
+ "application/json": components["schemas"]["RateLimitedRefusal"];
22169
+ };
22170
+ };
22171
+ /** @description `internal_error`: Marfa failed in a way it didn't expect, and the request may not have completed. Read what you changed before you repeat a write. */
22172
+ 500: {
22173
+ headers: {
22174
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22175
+ "X-Request-ID": components["headers"]["X-Request-ID"];
22176
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
22177
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
22178
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
22179
+ "X-Error-Code": components["headers"]["X-Error-Code"];
22180
+ [name: string]: unknown;
22181
+ };
22182
+ content: {
22183
+ "application/json": components["schemas"]["InternalErrorRefusal"];
22184
+ };
22185
+ };
22186
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
22187
+ 503: {
22188
+ headers: {
22189
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22190
+ "X-Request-ID": components["headers"]["X-Request-ID"];
22191
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
22192
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
22193
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
22194
+ "X-Error-Code": components["headers"]["X-Error-Code"];
22195
+ [name: string]: unknown;
22196
+ };
22197
+ content: {
22198
+ "application/json": components["schemas"]["WriteContentionRefusal"];
22199
+ };
22200
+ };
22201
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
22202
+ 507: {
22203
+ headers: {
22204
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22205
+ "X-Request-ID": components["headers"]["X-Request-ID"];
22206
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
22207
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
22208
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
22209
+ "X-Error-Code": components["headers"]["X-Error-Code"];
22210
+ [name: string]: unknown;
22211
+ };
22212
+ content: {
22213
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
22214
+ };
22215
+ };
22216
+ };
22217
+ };
22218
+ getServerMetrics: {
22219
+ parameters: {
22220
+ query?: never;
22221
+ header?: never;
22222
+ path?: never;
22223
+ cookie?: never;
22224
+ };
22225
+ requestBody?: never;
22226
+ responses: {
22227
+ /** @description Server metrics */
22228
+ 200: {
22229
+ headers: {
22230
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22231
+ "X-Request-ID": components["headers"]["X-Request-ID"];
22232
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
22233
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
22234
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
22235
+ [name: string]: unknown;
22236
+ };
22237
+ content: {
22238
+ "application/json": {
22239
+ /** @description Instance-wide item counts. */
22240
+ items: {
22241
+ /** @description Number of items across all states. */
22242
+ total: number;
22243
+ /** @description Item counts by state. */
22244
+ by_state: {
22245
+ [key: string]: number;
22246
+ };
22247
+ };
22248
+ /** @description Stored blob counts and size. */
22249
+ blobs: {
22250
+ /** @description Number of stored blobs. */
22251
+ count: number;
22252
+ /** @description Total size of stored blobs, in bytes. */
22253
+ total_bytes: number;
22254
+ };
22255
+ /** @description Built-in and registered type counts. */
22256
+ types: {
22257
+ /** @description Number of built-in types. */
22258
+ core: number;
22259
+ /** @description Number of registered types. */
22260
+ registered: number;
22261
+ };
22262
+ keys: components["schemas"]["MetricCount"];
22263
+ webhooks: components["schemas"]["MetricCount"] & unknown;
22264
+ /** @description Seconds since this server process started. */
22265
+ uptime_seconds: number;
22266
+ /** @description When these counters were collected, in UTC. */
22267
+ cached_at: string;
22268
+ };
22269
+ };
22270
+ };
22271
+ /** @description - `validation_error`: the query has a parameter this endpoint doesn't take. */
22272
+ 400: {
22273
+ headers: {
22274
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22275
+ "X-Request-ID": components["headers"]["X-Request-ID"];
22276
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
22277
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
22278
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
22279
+ "X-Error-Code": components["headers"]["X-Error-Code"];
22280
+ [name: string]: unknown;
22281
+ };
22282
+ content: {
22283
+ "application/json": components["schemas"]["ValidationErrorRefusal"];
22284
+ };
22285
+ };
22286
+ /** @description `unauthorized`: the request has no credential, or its credential is not valid. */
22287
+ 401: {
22288
+ headers: {
22289
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22290
+ "X-Request-ID": components["headers"]["X-Request-ID"];
22291
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
22292
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
22293
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
22294
+ "X-Error-Code": components["headers"]["X-Error-Code"];
22295
+ [name: string]: unknown;
22296
+ };
22297
+ content: {
22298
+ "application/json": components["schemas"]["UnauthorizedRefusal"];
22299
+ };
22300
+ };
22301
+ /** @description Caller lacks instance.read */
19838
22302
  403: {
19839
22303
  headers: {
19840
22304
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -19895,6 +22359,21 @@ interface operations {
19895
22359
  "application/json": components["schemas"]["WriteContentionRefusal"];
19896
22360
  };
19897
22361
  };
22362
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
22363
+ 507: {
22364
+ headers: {
22365
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22366
+ "X-Request-ID": components["headers"]["X-Request-ID"];
22367
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
22368
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
22369
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
22370
+ "X-Error-Code": components["headers"]["X-Error-Code"];
22371
+ [name: string]: unknown;
22372
+ };
22373
+ content: {
22374
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
22375
+ };
22376
+ };
19898
22377
  };
19899
22378
  };
19900
22379
  getInstance: {
@@ -20123,6 +22602,21 @@ interface operations {
20123
22602
  "application/json": components["schemas"]["StreamCapacityExhaustedOrWriteContentionRefusal"];
20124
22603
  };
20125
22604
  };
22605
+ /** @description `insufficient_storage`: the disk that holds the instance's data has no room for the request, or the request would leave less free than the instance keeps in reserve. Nothing changed, unless `details.write_outcome` is `unknown`, which means the write may have landed: read what you changed before you repeat it. Free space on the disk, then try the request again. */
22606
+ 507: {
22607
+ headers: {
22608
+ "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22609
+ "X-Request-ID": components["headers"]["X-Request-ID"];
22610
+ "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
22611
+ "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
22612
+ "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
22613
+ "X-Error-Code": components["headers"]["X-Error-Code"];
22614
+ [name: string]: unknown;
22615
+ };
22616
+ content: {
22617
+ "application/json": components["schemas"]["InsufficientStorageRefusal"];
22618
+ };
22619
+ };
20126
22620
  };
20127
22621
  };
20128
22622
  registerOAuthClient: {
@@ -20137,7 +22631,7 @@ interface operations {
20137
22631
  "application/json": {
20138
22632
  /** @description The addresses Marfa may send a person back to after authorization. Required for `authorization_code`. A `web` client's URIs must use `https` off the loopback; a `native` client may use `http` on `localhost`, `127.0.0.1` or `[::1]`. */
20139
22633
  redirect_uris?: string[];
20140
- /** @description The grants the client uses: `authorization_code`, `refresh_token` or `urn:ietf:params:oauth:grant-type:device_code`. Defaults to `authorization_code`. */
22634
+ /** @description The grants the client uses: `authorization_code`, `refresh_token` or `urn:ietf:params:oauth:grant-type:device_code`. Defaults to `authorization_code`. Without `authorization_code`, add `refresh_token` to get a refresh token with `offline_access`. */
20141
22635
  grant_types?: string[];
20142
22636
  /** @description The response types the client uses. Defaults to `code` when `grant_types` includes `authorization_code`. */
20143
22637
  response_types?: string[];
@@ -20145,7 +22639,7 @@ interface operations {
20145
22639
  client_name?: string;
20146
22640
  /** @description `web` or `native`, which decides the redirect URIs the client may use. Defaults to `web`. */
20147
22641
  application_type?: string;
20148
- /** @description Space-separated scopes to register the client for. Leave it out to register it for every scope the instance allows. */
22642
+ /** @description Space-separated scopes to register the client for. `offline_access` needs `refresh_token` or `authorization_code` in `grant_types`. Leave it out to register the client for every scope the instance allows that it can use. */
20149
22643
  scope?: string;
20150
22644
  /** @description How the client proves itself at the token endpoint. Defaults to `client_secret_basic`. Send `none` for a public client, which gets no `client_secret`. */
20151
22645
  token_endpoint_auth_method?: string;
@@ -20171,7 +22665,7 @@ interface operations {
20171
22665
  client_secret?: string;
20172
22666
  /** @description When the client was registered, in seconds since the Unix epoch. */
20173
22667
  client_id_issued_at?: number;
20174
- /** @description Space-separated scopes the client is registered for: the ones you named, or every scope the instance allows. */
22668
+ /** @description Space-separated scopes the client is registered for: the ones you named, or every scope the instance allows, without `offline_access` for a client that can't use a refresh token. */
20175
22669
  scope?: string;
20176
22670
  /** @description The redirect URIs, as registered. */
20177
22671
  redirect_uris?: string[];
@@ -20231,7 +22725,6 @@ interface operations {
20231
22725
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20232
22726
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20233
22727
  "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20234
- "X-Error-Code": components["headers"]["X-Error-Code"];
20235
22728
  [name: string]: unknown;
20236
22729
  };
20237
22730
  content: {
@@ -20265,7 +22758,6 @@ interface operations {
20265
22758
  "X-RateLimit-Limit": components["headers"]["X-RateLimit-Limit"];
20266
22759
  "X-RateLimit-Remaining": components["headers"]["X-RateLimit-Remaining"];
20267
22760
  "X-RateLimit-Reset": components["headers"]["X-RateLimit-Reset"];
20268
- "X-Error-Code": components["headers"]["X-Error-Code"];
20269
22761
  [name: string]: unknown;
20270
22762
  };
20271
22763
  content: {