@withmarfa/client 0.0.71 → 0.0.73

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 (2) hide show
  1. package/dist/index.d.ts +430 -186
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -23,7 +23,7 @@ interface paths {
23
23
  put?: never;
24
24
  /**
25
25
  * Create an item
26
- * @description Creates an item. If `source_id` matches an existing item under the same source, updates that item instead. Repeating an `id` you already created returns the stored item with `acknowledged: true` and writes nothing.
26
+ * @description Creates an item. If `source_id` matches an existing item under the same source, updates that item instead. A repeated `id`, or an update that leaves the item as it is, returns the stored item with `acknowledged: true` and writes nothing.
27
27
  */
28
28
  post: operations["createItem"];
29
29
  delete?: never;
@@ -55,7 +55,7 @@ interface paths {
55
55
  head?: never;
56
56
  /**
57
57
  * Update an item
58
- * @description Updates an item's properties, tier, own time, natural key or edges. Send the `version` you read; stale writes can merge unless `version_match` is `exact`. To change its type, send `type` with `retype: true`.
58
+ * @description Updates an item's properties, tier, own time, natural key or edges. Send the `version` you read; stale writes can merge unless `version_match` is `exact`. A no-change update writes nothing. To change its type, send `type` with `retype: true`.
59
59
  */
60
60
  patch: operations["updateItem"];
61
61
  trace?: never;
@@ -2379,7 +2379,7 @@ interface paths {
2379
2379
  put?: never;
2380
2380
  /**
2381
2381
  * Restore from an archive
2382
- * @description Restores an exported archive atomically and returns counts of written and skipped records. Other writes wait until it finishes. Requires the private local command.
2382
+ * @description Restores an exported archive atomically and returns counts of written and skipped records. While it writes, Marfa turns other writes away at once and tells them when to try again. Requires the private local command.
2383
2383
  */
2384
2384
  post: operations["restoreArchive"];
2385
2385
  delete?: never;
@@ -2443,7 +2443,7 @@ interface paths {
2443
2443
  put?: never;
2444
2444
  /**
2445
2445
  * Restore a backup
2446
- * @description Restores a backup from the instance's backup folder or object store, as `POST /restore` restores an archive, with a backup folder's files read from the folder. Other writes wait until it finishes. Requires the private local command.
2446
+ * @description Restores a backup from the backup folder or object store, as `POST /restore` does, reading a folder's files from it. While it writes, Marfa turns other writes away at once. Requires the private local command.
2447
2447
  */
2448
2448
  post: operations["restoreBackup"];
2449
2449
  delete?: never;
@@ -2945,7 +2945,7 @@ interface components {
2945
2945
  message?: string;
2946
2946
  };
2947
2947
  /**
2948
- * @description A field: an own field (`title`, `created_at`, `updated_at`, `occurred_at`, `type`, `state`, `tier`, `tags`) or `properties.<name>`.
2948
+ * @description A field: an own field (`title`, `created_at`, `updated_at`, `occurred_at`, `last_activity_at`, `type`, `state`, `tier`, `tags`) or `properties.<name>`.
2949
2949
  * @example properties.status
2950
2950
  */
2951
2951
  ViewField: string;
@@ -2966,7 +2966,7 @@ interface components {
2966
2966
  /** @description How a view groups its items. */
2967
2967
  ViewGroup: {
2968
2968
  /**
2969
- * @description The field to group by: a field, or `edge[<type>]` or `backref[<type>]` for the item an edge of that type joins.
2969
+ * @description The field to group by: a field other than `last_activity_at`, which only a sort takes, or `edge[<type>]` or `backref[<type>]` for the item an edge of that type joins.
2970
2970
  * @example properties.status
2971
2971
  */
2972
2972
  by: string;
@@ -3120,10 +3120,10 @@ interface components {
3120
3120
  /** @description Whether Marfa backs itself up to its backup folder or object store, how the last backup went, and whether the place it backs up to is taking copies. */
3121
3121
  backups: {
3122
3122
  /**
3123
- * @description `ok`: backing up on schedule, and the last run succeeded. `failing`: the last run failed or lost files, or a store isn't taking copies, which makes the overall `status` at least `degraded`. `off`: no scheduled backups.
3123
+ * @description `ok`: on schedule, and the last backup is whole. `incomplete`: files it names have no recorded copy. `failing`: a run failed or lost files, or a store isn't taking copies, so the overall `status` is at least `degraded`. `off`: no scheduled backups.
3124
3124
  * @enum {string}
3125
3125
  */
3126
- status: "ok" | "failing" | "off";
3126
+ status: "ok" | "incomplete" | "failing" | "off";
3127
3127
  /**
3128
3128
  * @description Why backups are `off`: `no_backup_destination` when the instance has nowhere to put them, with neither `MARFA_BACKUP_PATH` nor `S3_BUCKET` set, `turned_off` when `backup_interval_seconds` is 0.
3129
3129
  * @enum {string}
@@ -3152,6 +3152,8 @@ interface components {
3152
3152
  last_failed_at?: string | null;
3153
3153
  /** @description How many files waited for their copy in the object store or backup folder when `blob-replicate` last ran. Present only for a caller that holds `instance.read`, and only when a destination is set. */
3154
3154
  copies_waiting?: number;
3155
+ /** @description How many files the last backup names with no recorded copy in the destination, or `null` when unknown. `blob-integrity` keeps the record true. Present only for a caller that holds `instance.read`, and only when a destination is set. */
3156
+ last_backup_files_waiting?: number | null;
3155
3157
  /** @description Why the object store or backup folder isn't taking copies, or `null` while it does. It covers a backup folder whose disk isn't there. Present only for a caller that holds `instance.read`, and only when a destination is set. */
3156
3158
  store_error?: string | null;
3157
3159
  };
@@ -3168,6 +3170,20 @@ interface components {
3168
3170
  }[] | null;
3169
3171
  /** @description The keys of stored settings that no longer read, which Marfa runs on their defaults. */
3170
3172
  unreadable_settings: string[];
3173
+ /** @description Why the jobs that delete old records do nothing, or `null` if they run. */
3174
+ held: {
3175
+ /**
3176
+ * @description Why the jobs that delete are held. `clock_ahead`: the server's clock is more than 7 days later than the trusted time.
3177
+ * @enum {string}
3178
+ */
3179
+ reason: "clock_ahead";
3180
+ /** @description What the server's clock reads, in UTC. */
3181
+ clock_at: string;
3182
+ /** @description The trusted time, in UTC: the time last confirmed or, if later, the latest time the server's clock read since while clean-up was not held. */
3183
+ trusted_at: string;
3184
+ /** @description When the hold ends if the clock runs without jumping until then, in UTC. `marfa housekeeping confirm-clock` on the server ends it at once. */
3185
+ ends_at: string;
3186
+ } | null;
3171
3187
  };
3172
3188
  };
3173
3189
  /** @description A page of trashed item summaries. */
@@ -3322,7 +3338,7 @@ interface components {
3322
3338
  ItemWithMetadata: {
3323
3339
  item: components["schemas"]["Item"] & unknown;
3324
3340
  metadata: components["schemas"]["Metadata"] & unknown;
3325
- /** @description `true` when Marfa accepted a create and wrote nothing: it repeats an `id` you already created, or its natural key matches an item in the trash. Absent otherwise. */
3341
+ /** @description `true` when Marfa accepted a write and stored nothing: a create repeats an `id` you already created, its natural key matches a trashed item, or an update or upsert leaves the item as it is, so `item` is at the version it holds. Absent otherwise. */
3326
3342
  acknowledged?: boolean;
3327
3343
  };
3328
3344
  /** @description An error response. */
@@ -3821,10 +3837,10 @@ interface components {
3821
3837
  /** @description The id of what the entry wrote or resolved. Absent where an item entry's natural key resolved an item of a type the credential may not read: the entry learns that its key is taken and nothing of the item. */
3822
3838
  id?: string;
3823
3839
  /**
3824
- * @description Why a `skipped` entry wrote nothing. Under `create_only`, a match exists: `duplicate_source` by natural key, `duplicate_id` by `id`, `duplicate_edge` by source, target and edge type. Under `upsert`, `trashed`: the natural key matches a trashed item.
3840
+ * @description Why a `skipped` entry wrote nothing. Under `create_only`, a match exists: `duplicate_source` by natural key, `duplicate_id` by `id`, `duplicate_edge` by source, target and edge type. Under `upsert`: `trashed`, a trashed item matches, or `unchanged`.
3825
3841
  * @enum {string}
3826
3842
  */
3827
- reason?: "duplicate_edge" | "duplicate_id" | "duplicate_source" | "trashed";
3843
+ reason?: "duplicate_edge" | "duplicate_id" | "duplicate_source" | "trashed" | "unchanged";
3828
3844
  error?: components["schemas"]["BulkEntryError"] & unknown;
3829
3845
  };
3830
3846
  /** @description An error response. */
@@ -5185,10 +5201,10 @@ interface components {
5185
5201
  last_result: components["schemas"]["HousekeepingReport"] | null;
5186
5202
  };
5187
5203
  /**
5188
- * @description How a run ended: `ok` if it finished, `error` if it failed.
5204
+ * @description How a run ended: `ok` if it finished, `error` if it failed, `held` if it did nothing because the clock is far ahead or a restore holds writes.
5189
5205
  * @enum {string}
5190
5206
  */
5191
- HousekeepingOutcome: "ok" | "error";
5207
+ HousekeepingOutcome: "ok" | "error" | "held";
5192
5208
  /** @description What a run reports, under names its job chooses, such as `deleted`, `copied` or, for `trash-purge`, `passed_over`: the items it could not purge and left for the next run. */
5193
5209
  HousekeepingReport: {
5194
5210
  [key: string]: number | boolean | string | null;
@@ -5500,11 +5516,11 @@ interface components {
5500
5516
  /** @description One known concern or unavailable check. */
5501
5517
  AttentionConcern: {
5502
5518
  /**
5503
- * @description health: component degraded or down; job: last run failed; connector: failed, has problems, or quiet over a day; folder: sync problems; key: expires soon; backup: none kept, off, store failing, or run failed; unavailable: check could not answer.
5519
+ * @description health: component degraded or down; job: last run failed; connector: failed, has problems, or quiet a day; folder: sync problems; key: expires soon; backup: none kept, off, store failing, or run failed; clock: ahead or behind; unavailable: no answer.
5504
5520
  * @enum {string}
5505
5521
  */
5506
- kind: "health" | "job" | "connector" | "folder" | "key" | "backup" | "unavailable";
5507
- /** @description The component, job, connector, folder, or key ID, the name of the check that could not answer, or for a backup concern `no_backup_destination`, `turned_off`, `store` or `run`. */
5522
+ kind: "health" | "job" | "connector" | "folder" | "key" | "backup" | "clock" | "unavailable";
5523
+ /** @description The component, job, connector, folder, or key ID, the name of the check that could not answer, for a backup concern `no_backup_destination`, `turned_off`, `store` or `run`, or for a clock concern `clock_ahead` or `clock_behind`. */
5508
5524
  reference: string;
5509
5525
  /** @description A short name for the concern. */
5510
5526
  title: string;
@@ -6084,10 +6100,10 @@ interface components {
6084
6100
  */
6085
6101
  expires_at: string | null;
6086
6102
  /**
6087
- * @description The address a browser signed in from, or `null` for an app, a key, or a browser whose address Marfa could not tell.
6103
+ * @description The IP address a browser signed in from, or `null` for an app, a key, or a browser whose address Marfa could not tell.
6088
6104
  * @example 203.0.113.24
6089
6105
  */
6090
- ip_address: string | null;
6106
+ client_ip: string | null;
6091
6107
  /** @description The `User-Agent` a browser sent when it signed in, or `null` for an app, a key, or a browser that sent none. */
6092
6108
  user_agent: string | null;
6093
6109
  /** @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. */
@@ -6242,6 +6258,23 @@ interface components {
6242
6258
  };
6243
6259
  };
6244
6260
  };
6261
+ /** @description An error response. */
6262
+ EnforcementUnreadableOrExportItemsUnrestorableRefusal: {
6263
+ /** @description What went wrong. */
6264
+ error: {
6265
+ /**
6266
+ * @description A machine-readable code for the error. Use it in your logic.
6267
+ * @enum {string}
6268
+ */
6269
+ code: "enforcement_unreadable" | "export_entry_unrestorable";
6270
+ /** @description A description of the error for a person to read. It can change, so don't match on it. */
6271
+ message: string;
6272
+ /** @description More about the error, such as the field it concerns. Each code defines its own details. */
6273
+ details?: {
6274
+ [key: string]: unknown;
6275
+ };
6276
+ };
6277
+ };
6245
6278
  /**
6246
6279
  * @description The active app grants.
6247
6280
  * @example {
@@ -6563,6 +6596,16 @@ interface components {
6563
6596
  message: string;
6564
6597
  /** @description More about the error, such as the field it concerns. Each code defines its own details. */
6565
6598
  details?: {
6599
+ /** @description The milliseconds the write waited for the write lock. Absent when a restore turned the write away at once. */
6600
+ budget_ms?: number;
6601
+ /**
6602
+ * @description Why Marfa turned the write away without a wait. `restore_running` means a restore is running.
6603
+ * @enum {string}
6604
+ */
6605
+ reason?: "restore_running";
6606
+ /** @description The same whole seconds as `Retry-After`. Present when `reason` is `restore_running`. */
6607
+ retry_after?: number;
6608
+ } & {
6566
6609
  [key: string]: unknown;
6567
6610
  };
6568
6611
  };
@@ -6825,8 +6868,8 @@ interface components {
6825
6868
  /** @description A backup in the instance's backup folder or object store. */
6826
6869
  Backup: {
6827
6870
  /**
6828
- * @description The backup's name: the instant Marfa took it, followed by `.tar`.
6829
- * @example 2026-11-09T10:15:30.250Z.tar
6871
+ * @description The backup's name: the instant Marfa took it in ISO 8601 basic format, with no colons, followed by `.tar`.
6872
+ * @example 20261109T101530.250Z.tar
6830
6873
  */
6831
6874
  name: string;
6832
6875
  /**
@@ -7289,6 +7332,30 @@ interface components {
7289
7332
  outcome: "created" | "replaced" | "deleted" | "unchanged";
7290
7333
  }[];
7291
7334
  };
7335
+ /** @description One kind of thing the archive doesn't hold, with what to do about it. */
7336
+ NotRestored: {
7337
+ /**
7338
+ * @description What the archive doesn't hold. `enforcement` appears only when the instance that wrote the archive couldn't read its enforcement settings.
7339
+ * @enum {string}
7340
+ */
7341
+ kind: "sign_in" | "keys" | "apps" | "webhooks" | "inbound_endpoints" | "connector_keys" | "addresses" | "name" | "logs" | "enforcement";
7342
+ /** @description A sentence saying that this kind is not restored and what to do about it. */
7343
+ message: string;
7344
+ };
7345
+ /** @description The instance that wrote an archive, and what it keeps in this instance's backup destination. Present when the archive was written by another instance than this one. */
7346
+ PreviousInstance: {
7347
+ /** @description The ID of the instance that wrote the archive. */
7348
+ instance_id: string;
7349
+ /**
7350
+ * @description Where this instance takes its backups: `folder` for a backup folder, `bucket` for an object store, or `null` when it has no backup destination.
7351
+ * @enum {string|null}
7352
+ */
7353
+ destination: "folder" | "bucket" | null;
7354
+ /** @description Its `backups/<id>` and `files/<id>` folders in a backup folder, or only `<prefix>/backups/<id>` in a bucket, whose `<prefix>/blobs/` is shared. Empty with none. Delete only once that instance no longer runs and nothing else restores from them. */
7355
+ kept_by_previous_instance: string[];
7356
+ /** @description A sentence naming that instance and what it keeps, and saying to delete it only once that instance no longer runs and nothing else restores from it. */
7357
+ message: string;
7358
+ };
7292
7359
  };
7293
7360
  responses: never;
7294
7361
  parameters: never;
@@ -7302,7 +7369,7 @@ interface components {
7302
7369
  "X-Request-ID": string;
7303
7370
  /** @description The machine-readable error code, identical to `error.code` in the body and drawn from the same enum the response schema lists. Read it rather than matching on `error.message`, which is prose written for a person and may be reworded. Present on every error the server renders, including one served from an idempotency record. */
7304
7371
  "X-Error-Code": string;
7305
- /** @description Whole seconds to wait before retrying, sent with a rate limit's refusal. Rounded up from the time left until the latest end among the limits that are spent, and never fewer than 1, so a client that honors it needs no backoff of its own. */
7372
+ /** @description Whole seconds to wait before retrying, sent with a rate limit's refusal and with a write turned away while a restore runs. For a rate limit it is rounded up from the time left until the latest end among the limits that are spent, and never fewer than 1, so a client that honors it needs no backoff of its own. While a restore runs it is always 5. */
7306
7373
  "Retry-After": number;
7307
7374
  /** @description Sent as `true` when this response was served from the record of an earlier request carrying the same `Idempotency-Key`, rather than by performing the write. It is only ever sent on a replay and only with that value, so its absence means the write was performed. The status and body are the first attempt's, which is why the header can arrive on an error: a recorded 409 replays as a 409. Read a replayed response exactly as the original would have been read: the header says where the answer came from, not that anything went wrong. */
7308
7375
  "Idempotency-Replayed": "true";
@@ -7447,12 +7514,13 @@ interface operations {
7447
7514
  "application/json": components["schemas"]["InternalErrorRefusal"];
7448
7515
  };
7449
7516
  };
7450
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
7517
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
7451
7518
  503: {
7452
7519
  headers: {
7453
7520
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
7454
7521
  "X-Request-ID": components["headers"]["X-Request-ID"];
7455
7522
  "X-Error-Code": components["headers"]["X-Error-Code"];
7523
+ "Retry-After": components["headers"]["Retry-After"];
7456
7524
  [name: string]: unknown;
7457
7525
  };
7458
7526
  content: {
@@ -7528,7 +7596,7 @@ interface operations {
7528
7596
  responses: {
7529
7597
  /**
7530
7598
  * @description Returns the existing item and its metadata:
7531
- * - `source_id` matched a live item: Marfa updated it.
7599
+ * - `source_id` matched a live item: Marfa updated it, or wrote nothing and set `acknowledged: true` if that changed nothing.
7532
7600
  * - `source_id` matched a trashed item: Marfa wrote nothing and set `acknowledged: true`.
7533
7601
  * - `id` repeated a create you made: Marfa wrote nothing and set `acknowledged: true`, in any state.
7534
7602
  */
@@ -7708,13 +7776,14 @@ interface operations {
7708
7776
  "application/json": components["schemas"]["InternalErrorRefusal"];
7709
7777
  };
7710
7778
  };
7711
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
7779
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
7712
7780
  503: {
7713
7781
  headers: {
7714
7782
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
7715
7783
  "X-Request-ID": components["headers"]["X-Request-ID"];
7716
7784
  "X-Error-Code": components["headers"]["X-Error-Code"];
7717
7785
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
7786
+ "Retry-After": components["headers"]["Retry-After"];
7718
7787
  [name: string]: unknown;
7719
7788
  };
7720
7789
  content: {
@@ -7858,12 +7927,13 @@ interface operations {
7858
7927
  "application/json": components["schemas"]["InternalErrorRefusal"];
7859
7928
  };
7860
7929
  };
7861
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
7930
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
7862
7931
  503: {
7863
7932
  headers: {
7864
7933
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
7865
7934
  "X-Request-ID": components["headers"]["X-Request-ID"];
7866
7935
  "X-Error-Code": components["headers"]["X-Error-Code"];
7936
+ "Retry-After": components["headers"]["Retry-After"];
7867
7937
  [name: string]: unknown;
7868
7938
  };
7869
7939
  content: {
@@ -8045,13 +8115,14 @@ interface operations {
8045
8115
  "application/json": components["schemas"]["InternalErrorRefusal"];
8046
8116
  };
8047
8117
  };
8048
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
8118
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
8049
8119
  503: {
8050
8120
  headers: {
8051
8121
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
8052
8122
  "X-Request-ID": components["headers"]["X-Request-ID"];
8053
8123
  "X-Error-Code": components["headers"]["X-Error-Code"];
8054
8124
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
8125
+ "Retry-After": components["headers"]["Retry-After"];
8055
8126
  [name: string]: unknown;
8056
8127
  };
8057
8128
  content: {
@@ -8129,7 +8200,7 @@ interface operations {
8129
8200
  };
8130
8201
  };
8131
8202
  responses: {
8132
- /** @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. */
8203
+ /** @description Returns the updated item and its metadata, with `acknowledged: true` if the update changed nothing. 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. */
8133
8204
  200: {
8134
8205
  headers: {
8135
8206
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -8304,13 +8375,14 @@ interface operations {
8304
8375
  "application/json": components["schemas"]["InternalErrorRefusal"];
8305
8376
  };
8306
8377
  };
8307
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
8378
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
8308
8379
  503: {
8309
8380
  headers: {
8310
8381
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
8311
8382
  "X-Request-ID": components["headers"]["X-Request-ID"];
8312
8383
  "X-Error-Code": components["headers"]["X-Error-Code"];
8313
8384
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
8385
+ "Retry-After": components["headers"]["Retry-After"];
8314
8386
  [name: string]: unknown;
8315
8387
  };
8316
8388
  content: {
@@ -8481,12 +8553,13 @@ interface operations {
8481
8553
  "application/json": components["schemas"]["InternalErrorRefusal"];
8482
8554
  };
8483
8555
  };
8484
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
8556
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
8485
8557
  503: {
8486
8558
  headers: {
8487
8559
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
8488
8560
  "X-Request-ID": components["headers"]["X-Request-ID"];
8489
8561
  "X-Error-Code": components["headers"]["X-Error-Code"];
8562
+ "Retry-After": components["headers"]["Retry-After"];
8490
8563
  [name: string]: unknown;
8491
8564
  };
8492
8565
  content: {
@@ -8686,13 +8759,14 @@ interface operations {
8686
8759
  "application/json": components["schemas"]["InternalErrorRefusal"];
8687
8760
  };
8688
8761
  };
8689
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
8762
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
8690
8763
  503: {
8691
8764
  headers: {
8692
8765
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
8693
8766
  "X-Request-ID": components["headers"]["X-Request-ID"];
8694
8767
  "X-Error-Code": components["headers"]["X-Error-Code"];
8695
8768
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
8769
+ "Retry-After": components["headers"]["Retry-After"];
8696
8770
  [name: string]: unknown;
8697
8771
  };
8698
8772
  content: {
@@ -8866,13 +8940,14 @@ interface operations {
8866
8940
  "application/json": components["schemas"]["InternalErrorRefusal"];
8867
8941
  };
8868
8942
  };
8869
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
8943
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
8870
8944
  503: {
8871
8945
  headers: {
8872
8946
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
8873
8947
  "X-Request-ID": components["headers"]["X-Request-ID"];
8874
8948
  "X-Error-Code": components["headers"]["X-Error-Code"];
8875
8949
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
8950
+ "Retry-After": components["headers"]["Retry-After"];
8876
8951
  [name: string]: unknown;
8877
8952
  };
8878
8953
  content: {
@@ -9055,13 +9130,14 @@ interface operations {
9055
9130
  "application/json": components["schemas"]["InternalErrorRefusal"];
9056
9131
  };
9057
9132
  };
9058
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
9133
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
9059
9134
  503: {
9060
9135
  headers: {
9061
9136
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
9062
9137
  "X-Request-ID": components["headers"]["X-Request-ID"];
9063
9138
  "X-Error-Code": components["headers"]["X-Error-Code"];
9064
9139
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
9140
+ "Retry-After": components["headers"]["Retry-After"];
9065
9141
  [name: string]: unknown;
9066
9142
  };
9067
9143
  content: {
@@ -9265,13 +9341,14 @@ interface operations {
9265
9341
  "application/json": components["schemas"]["InternalErrorRefusal"];
9266
9342
  };
9267
9343
  };
9268
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
9344
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
9269
9345
  503: {
9270
9346
  headers: {
9271
9347
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
9272
9348
  "X-Request-ID": components["headers"]["X-Request-ID"];
9273
9349
  "X-Error-Code": components["headers"]["X-Error-Code"];
9274
9350
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
9351
+ "Retry-After": components["headers"]["Retry-After"];
9275
9352
  [name: string]: unknown;
9276
9353
  };
9277
9354
  content: {
@@ -9397,12 +9474,13 @@ interface operations {
9397
9474
  "application/json": components["schemas"]["InternalErrorRefusal"];
9398
9475
  };
9399
9476
  };
9400
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
9477
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
9401
9478
  503: {
9402
9479
  headers: {
9403
9480
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
9404
9481
  "X-Request-ID": components["headers"]["X-Request-ID"];
9405
9482
  "X-Error-Code": components["headers"]["X-Error-Code"];
9483
+ "Retry-After": components["headers"]["Retry-After"];
9406
9484
  [name: string]: unknown;
9407
9485
  };
9408
9486
  content: {
@@ -9570,12 +9648,13 @@ interface operations {
9570
9648
  "application/json": components["schemas"]["InternalErrorRefusal"];
9571
9649
  };
9572
9650
  };
9573
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
9651
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
9574
9652
  503: {
9575
9653
  headers: {
9576
9654
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
9577
9655
  "X-Request-ID": components["headers"]["X-Request-ID"];
9578
9656
  "X-Error-Code": components["headers"]["X-Error-Code"];
9657
+ "Retry-After": components["headers"]["Retry-After"];
9579
9658
  [name: string]: unknown;
9580
9659
  };
9581
9660
  content: {
@@ -9736,12 +9815,13 @@ interface operations {
9736
9815
  "application/json": components["schemas"]["InternalErrorRefusal"];
9737
9816
  };
9738
9817
  };
9739
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
9818
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
9740
9819
  503: {
9741
9820
  headers: {
9742
9821
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
9743
9822
  "X-Request-ID": components["headers"]["X-Request-ID"];
9744
9823
  "X-Error-Code": components["headers"]["X-Error-Code"];
9824
+ "Retry-After": components["headers"]["Retry-After"];
9745
9825
  [name: string]: unknown;
9746
9826
  };
9747
9827
  content: {
@@ -9906,12 +9986,13 @@ interface operations {
9906
9986
  "application/json": components["schemas"]["InternalErrorRefusal"];
9907
9987
  };
9908
9988
  };
9909
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
9989
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
9910
9990
  503: {
9911
9991
  headers: {
9912
9992
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
9913
9993
  "X-Request-ID": components["headers"]["X-Request-ID"];
9914
9994
  "X-Error-Code": components["headers"]["X-Error-Code"];
9995
+ "Retry-After": components["headers"]["Retry-After"];
9915
9996
  [name: string]: unknown;
9916
9997
  };
9917
9998
  content: {
@@ -9991,7 +10072,7 @@ interface operations {
9991
10072
  };
9992
10073
  };
9993
10074
  responses: {
9994
- /** @description Returns `counts` and a `results` entry for each item, in order: `created`, `updated`, `skipped` or `errored`. Under `upsert`, an entry that matches a trashed item isn't written and is `skipped` with reason `trashed`. Under `create_only`, a matching entry is `skipped` with reason `duplicate_source` or `duplicate_id`. */
10075
+ /** @description Returns `counts` and a `results` entry for each item, in order: `created`, `updated`, `skipped` or `errored`. Under `upsert`, an entry is `skipped` with reason `trashed` where it matches a trashed item, or `unchanged` where it would leave its item as it is. Under `create_only`, a matching entry is `skipped` with reason `duplicate_source` or `duplicate_id`. */
9995
10076
  200: {
9996
10077
  headers: {
9997
10078
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -10120,12 +10201,13 @@ interface operations {
10120
10201
  "application/json": components["schemas"]["InternalErrorRefusal"];
10121
10202
  };
10122
10203
  };
10123
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
10204
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
10124
10205
  503: {
10125
10206
  headers: {
10126
10207
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
10127
10208
  "X-Request-ID": components["headers"]["X-Request-ID"];
10128
10209
  "X-Error-Code": components["headers"]["X-Error-Code"];
10210
+ "Retry-After": components["headers"]["Retry-After"];
10129
10211
  [name: string]: unknown;
10130
10212
  };
10131
10213
  content: {
@@ -10262,12 +10344,13 @@ interface operations {
10262
10344
  "application/json": components["schemas"]["InternalErrorRefusal"];
10263
10345
  };
10264
10346
  };
10265
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
10347
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
10266
10348
  503: {
10267
10349
  headers: {
10268
10350
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
10269
10351
  "X-Request-ID": components["headers"]["X-Request-ID"];
10270
10352
  "X-Error-Code": components["headers"]["X-Error-Code"];
10353
+ "Retry-After": components["headers"]["Retry-After"];
10271
10354
  [name: string]: unknown;
10272
10355
  };
10273
10356
  content: {
@@ -10393,12 +10476,13 @@ interface operations {
10393
10476
  "application/json": components["schemas"]["InternalErrorRefusal"];
10394
10477
  };
10395
10478
  };
10396
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
10479
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
10397
10480
  503: {
10398
10481
  headers: {
10399
10482
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
10400
10483
  "X-Request-ID": components["headers"]["X-Request-ID"];
10401
10484
  "X-Error-Code": components["headers"]["X-Error-Code"];
10485
+ "Retry-After": components["headers"]["Retry-After"];
10402
10486
  [name: string]: unknown;
10403
10487
  };
10404
10488
  content: {
@@ -10511,12 +10595,13 @@ interface operations {
10511
10595
  "application/json": components["schemas"]["InternalErrorRefusal"];
10512
10596
  };
10513
10597
  };
10514
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
10598
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
10515
10599
  503: {
10516
10600
  headers: {
10517
10601
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
10518
10602
  "X-Request-ID": components["headers"]["X-Request-ID"];
10519
10603
  "X-Error-Code": components["headers"]["X-Error-Code"];
10604
+ "Retry-After": components["headers"]["Retry-After"];
10520
10605
  [name: string]: unknown;
10521
10606
  };
10522
10607
  content: {
@@ -10682,12 +10767,13 @@ interface operations {
10682
10767
  "application/json": components["schemas"]["InternalErrorRefusal"];
10683
10768
  };
10684
10769
  };
10685
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
10770
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
10686
10771
  503: {
10687
10772
  headers: {
10688
10773
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
10689
10774
  "X-Request-ID": components["headers"]["X-Request-ID"];
10690
10775
  "X-Error-Code": components["headers"]["X-Error-Code"];
10776
+ "Retry-After": components["headers"]["Retry-After"];
10691
10777
  [name: string]: unknown;
10692
10778
  };
10693
10779
  content: {
@@ -10798,12 +10884,13 @@ interface operations {
10798
10884
  "application/json": components["schemas"]["InternalErrorRefusal"];
10799
10885
  };
10800
10886
  };
10801
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
10887
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
10802
10888
  503: {
10803
10889
  headers: {
10804
10890
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
10805
10891
  "X-Request-ID": components["headers"]["X-Request-ID"];
10806
10892
  "X-Error-Code": components["headers"]["X-Error-Code"];
10893
+ "Retry-After": components["headers"]["Retry-After"];
10807
10894
  [name: string]: unknown;
10808
10895
  };
10809
10896
  content: {
@@ -10955,12 +11042,13 @@ interface operations {
10955
11042
  "application/json": components["schemas"]["InternalErrorRefusal"];
10956
11043
  };
10957
11044
  };
10958
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
11045
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
10959
11046
  503: {
10960
11047
  headers: {
10961
11048
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
10962
11049
  "X-Request-ID": components["headers"]["X-Request-ID"];
10963
11050
  "X-Error-Code": components["headers"]["X-Error-Code"];
11051
+ "Retry-After": components["headers"]["Retry-After"];
10964
11052
  [name: string]: unknown;
10965
11053
  };
10966
11054
  content: {
@@ -11112,12 +11200,13 @@ interface operations {
11112
11200
  "application/json": components["schemas"]["InternalErrorRefusal"];
11113
11201
  };
11114
11202
  };
11115
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
11203
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
11116
11204
  503: {
11117
11205
  headers: {
11118
11206
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
11119
11207
  "X-Request-ID": components["headers"]["X-Request-ID"];
11120
11208
  "X-Error-Code": components["headers"]["X-Error-Code"];
11209
+ "Retry-After": components["headers"]["Retry-After"];
11121
11210
  [name: string]: unknown;
11122
11211
  };
11123
11212
  content: {
@@ -11269,12 +11358,13 @@ interface operations {
11269
11358
  "application/json": components["schemas"]["InternalErrorRefusal"];
11270
11359
  };
11271
11360
  };
11272
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
11361
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
11273
11362
  503: {
11274
11363
  headers: {
11275
11364
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
11276
11365
  "X-Request-ID": components["headers"]["X-Request-ID"];
11277
11366
  "X-Error-Code": components["headers"]["X-Error-Code"];
11367
+ "Retry-After": components["headers"]["Retry-After"];
11278
11368
  [name: string]: unknown;
11279
11369
  };
11280
11370
  content: {
@@ -11428,12 +11518,13 @@ interface operations {
11428
11518
  "application/json": components["schemas"]["InternalErrorRefusal"];
11429
11519
  };
11430
11520
  };
11431
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
11521
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
11432
11522
  503: {
11433
11523
  headers: {
11434
11524
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
11435
11525
  "X-Request-ID": components["headers"]["X-Request-ID"];
11436
11526
  "X-Error-Code": components["headers"]["X-Error-Code"];
11527
+ "Retry-After": components["headers"]["Retry-After"];
11437
11528
  [name: string]: unknown;
11438
11529
  };
11439
11530
  content: {
@@ -11686,13 +11777,14 @@ interface operations {
11686
11777
  "application/json": components["schemas"]["InternalErrorRefusal"];
11687
11778
  };
11688
11779
  };
11689
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
11780
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
11690
11781
  503: {
11691
11782
  headers: {
11692
11783
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
11693
11784
  "X-Request-ID": components["headers"]["X-Request-ID"];
11694
11785
  "X-Error-Code": components["headers"]["X-Error-Code"];
11695
11786
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
11787
+ "Retry-After": components["headers"]["Retry-After"];
11696
11788
  [name: string]: unknown;
11697
11789
  };
11698
11790
  content: {
@@ -11810,12 +11902,13 @@ interface operations {
11810
11902
  "application/json": components["schemas"]["InternalErrorRefusal"];
11811
11903
  };
11812
11904
  };
11813
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
11905
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
11814
11906
  503: {
11815
11907
  headers: {
11816
11908
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
11817
11909
  "X-Request-ID": components["headers"]["X-Request-ID"];
11818
11910
  "X-Error-Code": components["headers"]["X-Error-Code"];
11911
+ "Retry-After": components["headers"]["Retry-After"];
11819
11912
  [name: string]: unknown;
11820
11913
  };
11821
11914
  content: {
@@ -11959,12 +12052,13 @@ interface operations {
11959
12052
  "application/json": components["schemas"]["InternalErrorRefusal"];
11960
12053
  };
11961
12054
  };
11962
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
12055
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
11963
12056
  503: {
11964
12057
  headers: {
11965
12058
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
11966
12059
  "X-Request-ID": components["headers"]["X-Request-ID"];
11967
12060
  "X-Error-Code": components["headers"]["X-Error-Code"];
12061
+ "Retry-After": components["headers"]["Retry-After"];
11968
12062
  [name: string]: unknown;
11969
12063
  };
11970
12064
  content: {
@@ -12084,12 +12178,13 @@ interface operations {
12084
12178
  "application/json": components["schemas"]["InternalErrorRefusal"];
12085
12179
  };
12086
12180
  };
12087
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
12181
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
12088
12182
  503: {
12089
12183
  headers: {
12090
12184
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12091
12185
  "X-Request-ID": components["headers"]["X-Request-ID"];
12092
12186
  "X-Error-Code": components["headers"]["X-Error-Code"];
12187
+ "Retry-After": components["headers"]["Retry-After"];
12093
12188
  [name: string]: unknown;
12094
12189
  };
12095
12190
  content: {
@@ -12283,13 +12378,14 @@ interface operations {
12283
12378
  "application/json": components["schemas"]["InternalErrorRefusal"];
12284
12379
  };
12285
12380
  };
12286
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
12381
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
12287
12382
  503: {
12288
12383
  headers: {
12289
12384
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12290
12385
  "X-Request-ID": components["headers"]["X-Request-ID"];
12291
12386
  "X-Error-Code": components["headers"]["X-Error-Code"];
12292
12387
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
12388
+ "Retry-After": components["headers"]["Retry-After"];
12293
12389
  [name: string]: unknown;
12294
12390
  };
12295
12391
  content: {
@@ -12485,13 +12581,14 @@ interface operations {
12485
12581
  "application/json": components["schemas"]["InternalErrorRefusal"];
12486
12582
  };
12487
12583
  };
12488
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
12584
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
12489
12585
  503: {
12490
12586
  headers: {
12491
12587
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12492
12588
  "X-Request-ID": components["headers"]["X-Request-ID"];
12493
12589
  "X-Error-Code": components["headers"]["X-Error-Code"];
12494
12590
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
12591
+ "Retry-After": components["headers"]["Retry-After"];
12495
12592
  [name: string]: unknown;
12496
12593
  };
12497
12594
  content: {
@@ -12669,13 +12766,14 @@ interface operations {
12669
12766
  "application/json": components["schemas"]["InternalErrorRefusal"];
12670
12767
  };
12671
12768
  };
12672
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
12769
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
12673
12770
  503: {
12674
12771
  headers: {
12675
12772
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12676
12773
  "X-Request-ID": components["headers"]["X-Request-ID"];
12677
12774
  "X-Error-Code": components["headers"]["X-Error-Code"];
12678
12775
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
12776
+ "Retry-After": components["headers"]["Retry-After"];
12679
12777
  [name: string]: unknown;
12680
12778
  };
12681
12779
  content: {
@@ -12778,12 +12876,13 @@ interface operations {
12778
12876
  "application/json": components["schemas"]["InternalErrorRefusal"];
12779
12877
  };
12780
12878
  };
12781
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
12879
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
12782
12880
  503: {
12783
12881
  headers: {
12784
12882
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12785
12883
  "X-Request-ID": components["headers"]["X-Request-ID"];
12786
12884
  "X-Error-Code": components["headers"]["X-Error-Code"];
12885
+ "Retry-After": components["headers"]["Retry-After"];
12787
12886
  [name: string]: unknown;
12788
12887
  };
12789
12888
  content: {
@@ -12913,12 +13012,13 @@ interface operations {
12913
13012
  "application/json": components["schemas"]["InternalErrorRefusal"];
12914
13013
  };
12915
13014
  };
12916
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
13015
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
12917
13016
  503: {
12918
13017
  headers: {
12919
13018
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
12920
13019
  "X-Request-ID": components["headers"]["X-Request-ID"];
12921
13020
  "X-Error-Code": components["headers"]["X-Error-Code"];
13021
+ "Retry-After": components["headers"]["Retry-After"];
12922
13022
  [name: string]: unknown;
12923
13023
  };
12924
13024
  content: {
@@ -13114,13 +13214,14 @@ interface operations {
13114
13214
  "application/json": components["schemas"]["InternalErrorRefusal"];
13115
13215
  };
13116
13216
  };
13117
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
13217
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
13118
13218
  503: {
13119
13219
  headers: {
13120
13220
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
13121
13221
  "X-Request-ID": components["headers"]["X-Request-ID"];
13122
13222
  "X-Error-Code": components["headers"]["X-Error-Code"];
13123
13223
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
13224
+ "Retry-After": components["headers"]["Retry-After"];
13124
13225
  [name: string]: unknown;
13125
13226
  };
13126
13227
  content: {
@@ -13298,13 +13399,14 @@ interface operations {
13298
13399
  "application/json": components["schemas"]["InternalErrorRefusal"];
13299
13400
  };
13300
13401
  };
13301
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
13402
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
13302
13403
  503: {
13303
13404
  headers: {
13304
13405
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
13305
13406
  "X-Request-ID": components["headers"]["X-Request-ID"];
13306
13407
  "X-Error-Code": components["headers"]["X-Error-Code"];
13307
13408
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
13409
+ "Retry-After": components["headers"]["Retry-After"];
13308
13410
  [name: string]: unknown;
13309
13411
  };
13310
13412
  content: {
@@ -13425,12 +13527,13 @@ interface operations {
13425
13527
  "application/json": components["schemas"]["InternalErrorRefusal"];
13426
13528
  };
13427
13529
  };
13428
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
13530
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
13429
13531
  503: {
13430
13532
  headers: {
13431
13533
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
13432
13534
  "X-Request-ID": components["headers"]["X-Request-ID"];
13433
13535
  "X-Error-Code": components["headers"]["X-Error-Code"];
13536
+ "Retry-After": components["headers"]["Retry-After"];
13434
13537
  [name: string]: unknown;
13435
13538
  };
13436
13539
  content: {
@@ -13599,12 +13702,13 @@ interface operations {
13599
13702
  "application/json": components["schemas"]["InternalErrorRefusal"];
13600
13703
  };
13601
13704
  };
13602
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
13705
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
13603
13706
  503: {
13604
13707
  headers: {
13605
13708
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
13606
13709
  "X-Request-ID": components["headers"]["X-Request-ID"];
13607
13710
  "X-Error-Code": components["headers"]["X-Error-Code"];
13711
+ "Retry-After": components["headers"]["Retry-After"];
13608
13712
  [name: string]: unknown;
13609
13713
  };
13610
13714
  content: {
@@ -13667,7 +13771,7 @@ interface operations {
13667
13771
  * }
13668
13772
  */
13669
13773
  "application/json": {
13670
- /** @description The operations, applied in order. A later operation on a row sees what an earlier one left. */
13774
+ /** @description The operations, applied in order. A later operation on a row sees what an earlier one left. A whole number in `values` whose digits a 64-bit float doesn't keep is refused: send it as a string. */
13671
13775
  operations: components["schemas"]["RowOperation"][];
13672
13776
  };
13673
13777
  };
@@ -13707,7 +13811,7 @@ interface operations {
13707
13811
  };
13708
13812
  /**
13709
13813
  * @description - `invalid_id`: the ID is not a valid item ID.
13710
- * - `validation_error`: an operation is malformed, names a column the table doesn't declare, breaks a column's rule or names an item you can't read, or the batch holds no operations or more than 1000. `details.operation` names the operation.
13814
+ * - `validation_error`: an operation is malformed, names a column the table doesn't declare, breaks a column's rule, holds a whole number a 64-bit float can't keep or names an item you can't read, or the batch holds no operations or more than 1000. `details.operation` names the operation.
13711
13815
  */
13712
13816
  400: {
13713
13817
  headers: {
@@ -13846,13 +13950,14 @@ interface operations {
13846
13950
  "application/json": components["schemas"]["InternalErrorRefusal"];
13847
13951
  };
13848
13952
  };
13849
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
13953
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
13850
13954
  503: {
13851
13955
  headers: {
13852
13956
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
13853
13957
  "X-Request-ID": components["headers"]["X-Request-ID"];
13854
13958
  "X-Error-Code": components["headers"]["X-Error-Code"];
13855
13959
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
13960
+ "Retry-After": components["headers"]["Retry-After"];
13856
13961
  [name: string]: unknown;
13857
13962
  };
13858
13963
  content: {
@@ -13991,12 +14096,13 @@ interface operations {
13991
14096
  "application/json": components["schemas"]["InternalErrorRefusal"];
13992
14097
  };
13993
14098
  };
13994
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
14099
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
13995
14100
  503: {
13996
14101
  headers: {
13997
14102
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
13998
14103
  "X-Request-ID": components["headers"]["X-Request-ID"];
13999
14104
  "X-Error-Code": components["headers"]["X-Error-Code"];
14105
+ "Retry-After": components["headers"]["Retry-After"];
14000
14106
  [name: string]: unknown;
14001
14107
  };
14002
14108
  content: {
@@ -14149,12 +14255,13 @@ interface operations {
14149
14255
  "application/json": components["schemas"]["InternalErrorRefusal"];
14150
14256
  };
14151
14257
  };
14152
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
14258
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
14153
14259
  503: {
14154
14260
  headers: {
14155
14261
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
14156
14262
  "X-Request-ID": components["headers"]["X-Request-ID"];
14157
14263
  "X-Error-Code": components["headers"]["X-Error-Code"];
14264
+ "Retry-After": components["headers"]["Retry-After"];
14158
14265
  [name: string]: unknown;
14159
14266
  };
14160
14267
  content: {
@@ -14295,12 +14402,13 @@ interface operations {
14295
14402
  "application/json": components["schemas"]["InternalErrorRefusal"];
14296
14403
  };
14297
14404
  };
14298
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
14405
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
14299
14406
  503: {
14300
14407
  headers: {
14301
14408
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
14302
14409
  "X-Request-ID": components["headers"]["X-Request-ID"];
14303
14410
  "X-Error-Code": components["headers"]["X-Error-Code"];
14411
+ "Retry-After": components["headers"]["Retry-After"];
14304
14412
  [name: string]: unknown;
14305
14413
  };
14306
14414
  content: {
@@ -14449,12 +14557,13 @@ interface operations {
14449
14557
  "application/json": components["schemas"]["InternalErrorRefusal"];
14450
14558
  };
14451
14559
  };
14452
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
14560
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
14453
14561
  503: {
14454
14562
  headers: {
14455
14563
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
14456
14564
  "X-Request-ID": components["headers"]["X-Request-ID"];
14457
14565
  "X-Error-Code": components["headers"]["X-Error-Code"];
14566
+ "Retry-After": components["headers"]["Retry-After"];
14458
14567
  [name: string]: unknown;
14459
14568
  };
14460
14569
  content: {
@@ -14643,13 +14752,14 @@ interface operations {
14643
14752
  "application/json": components["schemas"]["InternalErrorRefusal"];
14644
14753
  };
14645
14754
  };
14646
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
14755
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
14647
14756
  503: {
14648
14757
  headers: {
14649
14758
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
14650
14759
  "X-Request-ID": components["headers"]["X-Request-ID"];
14651
14760
  "X-Error-Code": components["headers"]["X-Error-Code"];
14652
14761
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
14762
+ "Retry-After": components["headers"]["Retry-After"];
14653
14763
  [name: string]: unknown;
14654
14764
  };
14655
14765
  content: {
@@ -14780,12 +14890,13 @@ interface operations {
14780
14890
  "application/json": components["schemas"]["InternalErrorRefusal"];
14781
14891
  };
14782
14892
  };
14783
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
14893
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
14784
14894
  503: {
14785
14895
  headers: {
14786
14896
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
14787
14897
  "X-Request-ID": components["headers"]["X-Request-ID"];
14788
14898
  "X-Error-Code": components["headers"]["X-Error-Code"];
14899
+ "Retry-After": components["headers"]["Retry-After"];
14789
14900
  [name: string]: unknown;
14790
14901
  };
14791
14902
  content: {
@@ -15013,13 +15124,14 @@ interface operations {
15013
15124
  "application/json": components["schemas"]["InternalErrorRefusal"];
15014
15125
  };
15015
15126
  };
15016
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
15127
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
15017
15128
  503: {
15018
15129
  headers: {
15019
15130
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
15020
15131
  "X-Request-ID": components["headers"]["X-Request-ID"];
15021
15132
  "X-Error-Code": components["headers"]["X-Error-Code"];
15022
15133
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
15134
+ "Retry-After": components["headers"]["Retry-After"];
15023
15135
  [name: string]: unknown;
15024
15136
  };
15025
15137
  content: {
@@ -15155,12 +15267,13 @@ interface operations {
15155
15267
  "application/json": components["schemas"]["InternalErrorRefusal"];
15156
15268
  };
15157
15269
  };
15158
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
15270
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
15159
15271
  503: {
15160
15272
  headers: {
15161
15273
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
15162
15274
  "X-Request-ID": components["headers"]["X-Request-ID"];
15163
15275
  "X-Error-Code": components["headers"]["X-Error-Code"];
15276
+ "Retry-After": components["headers"]["Retry-After"];
15164
15277
  [name: string]: unknown;
15165
15278
  };
15166
15279
  content: {
@@ -15335,13 +15448,14 @@ interface operations {
15335
15448
  "application/json": components["schemas"]["InternalErrorRefusal"];
15336
15449
  };
15337
15450
  };
15338
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
15451
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
15339
15452
  503: {
15340
15453
  headers: {
15341
15454
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
15342
15455
  "X-Request-ID": components["headers"]["X-Request-ID"];
15343
15456
  "X-Error-Code": components["headers"]["X-Error-Code"];
15344
15457
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
15458
+ "Retry-After": components["headers"]["Retry-After"];
15345
15459
  [name: string]: unknown;
15346
15460
  };
15347
15461
  content: {
@@ -15550,13 +15664,14 @@ interface operations {
15550
15664
  "application/json": components["schemas"]["InternalErrorRefusal"];
15551
15665
  };
15552
15666
  };
15553
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
15667
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
15554
15668
  503: {
15555
15669
  headers: {
15556
15670
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
15557
15671
  "X-Request-ID": components["headers"]["X-Request-ID"];
15558
15672
  "X-Error-Code": components["headers"]["X-Error-Code"];
15559
15673
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
15674
+ "Retry-After": components["headers"]["Retry-After"];
15560
15675
  [name: string]: unknown;
15561
15676
  };
15562
15677
  content: {
@@ -15749,12 +15864,13 @@ interface operations {
15749
15864
  "application/json": components["schemas"]["InternalErrorRefusal"];
15750
15865
  };
15751
15866
  };
15752
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
15867
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
15753
15868
  503: {
15754
15869
  headers: {
15755
15870
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
15756
15871
  "X-Request-ID": components["headers"]["X-Request-ID"];
15757
15872
  "X-Error-Code": components["headers"]["X-Error-Code"];
15873
+ "Retry-After": components["headers"]["Retry-After"];
15758
15874
  [name: string]: unknown;
15759
15875
  };
15760
15876
  content: {
@@ -15899,12 +16015,13 @@ interface operations {
15899
16015
  "application/json": components["schemas"]["InternalErrorRefusal"];
15900
16016
  };
15901
16017
  };
15902
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
16018
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
15903
16019
  503: {
15904
16020
  headers: {
15905
16021
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
15906
16022
  "X-Request-ID": components["headers"]["X-Request-ID"];
15907
16023
  "X-Error-Code": components["headers"]["X-Error-Code"];
16024
+ "Retry-After": components["headers"]["Retry-After"];
15908
16025
  [name: string]: unknown;
15909
16026
  };
15910
16027
  content: {
@@ -16031,12 +16148,13 @@ interface operations {
16031
16148
  "application/json": components["schemas"]["InternalErrorRefusal"];
16032
16149
  };
16033
16150
  };
16034
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
16151
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
16035
16152
  503: {
16036
16153
  headers: {
16037
16154
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
16038
16155
  "X-Request-ID": components["headers"]["X-Request-ID"];
16039
16156
  "X-Error-Code": components["headers"]["X-Error-Code"];
16157
+ "Retry-After": components["headers"]["Retry-After"];
16040
16158
  [name: string]: unknown;
16041
16159
  };
16042
16160
  content: {
@@ -16178,12 +16296,13 @@ interface operations {
16178
16296
  "application/json": components["schemas"]["InternalErrorRefusal"];
16179
16297
  };
16180
16298
  };
16181
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
16299
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
16182
16300
  503: {
16183
16301
  headers: {
16184
16302
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
16185
16303
  "X-Request-ID": components["headers"]["X-Request-ID"];
16186
16304
  "X-Error-Code": components["headers"]["X-Error-Code"];
16305
+ "Retry-After": components["headers"]["Retry-After"];
16187
16306
  [name: string]: unknown;
16188
16307
  };
16189
16308
  content: {
@@ -16289,12 +16408,13 @@ interface operations {
16289
16408
  "application/json": components["schemas"]["InternalErrorRefusal"];
16290
16409
  };
16291
16410
  };
16292
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
16411
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
16293
16412
  503: {
16294
16413
  headers: {
16295
16414
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
16296
16415
  "X-Request-ID": components["headers"]["X-Request-ID"];
16297
16416
  "X-Error-Code": components["headers"]["X-Error-Code"];
16417
+ "Retry-After": components["headers"]["Retry-After"];
16298
16418
  [name: string]: unknown;
16299
16419
  };
16300
16420
  content: {
@@ -16463,12 +16583,13 @@ interface operations {
16463
16583
  "application/json": components["schemas"]["InternalErrorRefusal"];
16464
16584
  };
16465
16585
  };
16466
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
16586
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
16467
16587
  503: {
16468
16588
  headers: {
16469
16589
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
16470
16590
  "X-Request-ID": components["headers"]["X-Request-ID"];
16471
16591
  "X-Error-Code": components["headers"]["X-Error-Code"];
16592
+ "Retry-After": components["headers"]["Retry-After"];
16472
16593
  [name: string]: unknown;
16473
16594
  };
16474
16595
  content: {
@@ -16585,12 +16706,13 @@ interface operations {
16585
16706
  "application/json": components["schemas"]["InternalErrorRefusal"];
16586
16707
  };
16587
16708
  };
16588
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
16709
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
16589
16710
  503: {
16590
16711
  headers: {
16591
16712
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
16592
16713
  "X-Request-ID": components["headers"]["X-Request-ID"];
16593
16714
  "X-Error-Code": components["headers"]["X-Error-Code"];
16715
+ "Retry-After": components["headers"]["Retry-After"];
16594
16716
  [name: string]: unknown;
16595
16717
  };
16596
16718
  content: {
@@ -16778,12 +16900,13 @@ interface operations {
16778
16900
  "application/json": components["schemas"]["InternalErrorRefusal"];
16779
16901
  };
16780
16902
  };
16781
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
16903
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
16782
16904
  503: {
16783
16905
  headers: {
16784
16906
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
16785
16907
  "X-Request-ID": components["headers"]["X-Request-ID"];
16786
16908
  "X-Error-Code": components["headers"]["X-Error-Code"];
16909
+ "Retry-After": components["headers"]["Retry-After"];
16787
16910
  [name: string]: unknown;
16788
16911
  };
16789
16912
  content: {
@@ -16949,12 +17072,13 @@ interface operations {
16949
17072
  "application/json": components["schemas"]["InternalErrorRefusal"];
16950
17073
  };
16951
17074
  };
16952
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
17075
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
16953
17076
  503: {
16954
17077
  headers: {
16955
17078
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
16956
17079
  "X-Request-ID": components["headers"]["X-Request-ID"];
16957
17080
  "X-Error-Code": components["headers"]["X-Error-Code"];
17081
+ "Retry-After": components["headers"]["Retry-After"];
16958
17082
  [name: string]: unknown;
16959
17083
  };
16960
17084
  content: {
@@ -17144,12 +17268,13 @@ interface operations {
17144
17268
  "application/json": components["schemas"]["InternalErrorRefusal"];
17145
17269
  };
17146
17270
  };
17147
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
17271
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
17148
17272
  503: {
17149
17273
  headers: {
17150
17274
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
17151
17275
  "X-Request-ID": components["headers"]["X-Request-ID"];
17152
17276
  "X-Error-Code": components["headers"]["X-Error-Code"];
17277
+ "Retry-After": components["headers"]["Retry-After"];
17153
17278
  [name: string]: unknown;
17154
17279
  };
17155
17280
  content: {
@@ -17300,12 +17425,13 @@ interface operations {
17300
17425
  "application/json": components["schemas"]["InternalErrorRefusal"];
17301
17426
  };
17302
17427
  };
17303
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
17428
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
17304
17429
  503: {
17305
17430
  headers: {
17306
17431
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
17307
17432
  "X-Request-ID": components["headers"]["X-Request-ID"];
17308
17433
  "X-Error-Code": components["headers"]["X-Error-Code"];
17434
+ "Retry-After": components["headers"]["Retry-After"];
17309
17435
  [name: string]: unknown;
17310
17436
  };
17311
17437
  content: {
@@ -17471,12 +17597,13 @@ interface operations {
17471
17597
  "application/json": components["schemas"]["InternalErrorRefusal"];
17472
17598
  };
17473
17599
  };
17474
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
17600
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
17475
17601
  503: {
17476
17602
  headers: {
17477
17603
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
17478
17604
  "X-Request-ID": components["headers"]["X-Request-ID"];
17479
17605
  "X-Error-Code": components["headers"]["X-Error-Code"];
17606
+ "Retry-After": components["headers"]["Retry-After"];
17480
17607
  [name: string]: unknown;
17481
17608
  };
17482
17609
  content: {
@@ -17623,12 +17750,13 @@ interface operations {
17623
17750
  "application/json": components["schemas"]["InternalErrorRefusal"];
17624
17751
  };
17625
17752
  };
17626
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
17753
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
17627
17754
  503: {
17628
17755
  headers: {
17629
17756
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
17630
17757
  "X-Request-ID": components["headers"]["X-Request-ID"];
17631
17758
  "X-Error-Code": components["headers"]["X-Error-Code"];
17759
+ "Retry-After": components["headers"]["Retry-After"];
17632
17760
  [name: string]: unknown;
17633
17761
  };
17634
17762
  content: {
@@ -17734,12 +17862,13 @@ interface operations {
17734
17862
  "application/json": components["schemas"]["InternalErrorRefusal"];
17735
17863
  };
17736
17864
  };
17737
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
17865
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
17738
17866
  503: {
17739
17867
  headers: {
17740
17868
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
17741
17869
  "X-Request-ID": components["headers"]["X-Request-ID"];
17742
17870
  "X-Error-Code": components["headers"]["X-Error-Code"];
17871
+ "Retry-After": components["headers"]["Retry-After"];
17743
17872
  [name: string]: unknown;
17744
17873
  };
17745
17874
  content: {
@@ -17914,12 +18043,13 @@ interface operations {
17914
18043
  "application/json": components["schemas"]["InternalErrorRefusal"];
17915
18044
  };
17916
18045
  };
17917
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
18046
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
17918
18047
  503: {
17919
18048
  headers: {
17920
18049
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
17921
18050
  "X-Request-ID": components["headers"]["X-Request-ID"];
17922
18051
  "X-Error-Code": components["headers"]["X-Error-Code"];
18052
+ "Retry-After": components["headers"]["Retry-After"];
17923
18053
  [name: string]: unknown;
17924
18054
  };
17925
18055
  content: {
@@ -18069,12 +18199,13 @@ interface operations {
18069
18199
  "application/json": components["schemas"]["InternalErrorRefusal"];
18070
18200
  };
18071
18201
  };
18072
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
18202
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
18073
18203
  503: {
18074
18204
  headers: {
18075
18205
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
18076
18206
  "X-Request-ID": components["headers"]["X-Request-ID"];
18077
18207
  "X-Error-Code": components["headers"]["X-Error-Code"];
18208
+ "Retry-After": components["headers"]["Retry-After"];
18078
18209
  [name: string]: unknown;
18079
18210
  };
18080
18211
  content: {
@@ -18224,6 +18355,7 @@ interface operations {
18224
18355
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
18225
18356
  "X-Request-ID": components["headers"]["X-Request-ID"];
18226
18357
  "X-Error-Code": components["headers"]["X-Error-Code"];
18358
+ "Retry-After": components["headers"]["Retry-After"];
18227
18359
  [name: string]: unknown;
18228
18360
  };
18229
18361
  content: {
@@ -18392,6 +18524,7 @@ interface operations {
18392
18524
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
18393
18525
  "X-Request-ID": components["headers"]["X-Request-ID"];
18394
18526
  "X-Error-Code": components["headers"]["X-Error-Code"];
18527
+ "Retry-After": components["headers"]["Retry-After"];
18395
18528
  [name: string]: unknown;
18396
18529
  };
18397
18530
  content: {
@@ -18516,12 +18649,13 @@ interface operations {
18516
18649
  "application/json": components["schemas"]["InternalErrorRefusal"];
18517
18650
  };
18518
18651
  };
18519
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
18652
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
18520
18653
  503: {
18521
18654
  headers: {
18522
18655
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
18523
18656
  "X-Request-ID": components["headers"]["X-Request-ID"];
18524
18657
  "X-Error-Code": components["headers"]["X-Error-Code"];
18658
+ "Retry-After": components["headers"]["Retry-After"];
18525
18659
  [name: string]: unknown;
18526
18660
  };
18527
18661
  content: {
@@ -18638,12 +18772,13 @@ interface operations {
18638
18772
  "application/json": components["schemas"]["InternalErrorRefusal"];
18639
18773
  };
18640
18774
  };
18641
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
18775
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
18642
18776
  503: {
18643
18777
  headers: {
18644
18778
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
18645
18779
  "X-Request-ID": components["headers"]["X-Request-ID"];
18646
18780
  "X-Error-Code": components["headers"]["X-Error-Code"];
18781
+ "Retry-After": components["headers"]["Retry-After"];
18647
18782
  [name: string]: unknown;
18648
18783
  };
18649
18784
  content: {
@@ -18792,6 +18927,7 @@ interface operations {
18792
18927
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
18793
18928
  "X-Request-ID": components["headers"]["X-Request-ID"];
18794
18929
  "X-Error-Code": components["headers"]["X-Error-Code"];
18930
+ "Retry-After": components["headers"]["Retry-After"];
18795
18931
  [name: string]: unknown;
18796
18932
  };
18797
18933
  content: {
@@ -18893,12 +19029,13 @@ interface operations {
18893
19029
  "application/json": components["schemas"]["InternalErrorRefusal"];
18894
19030
  };
18895
19031
  };
18896
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
19032
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
18897
19033
  503: {
18898
19034
  headers: {
18899
19035
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
18900
19036
  "X-Request-ID": components["headers"]["X-Request-ID"];
18901
19037
  "X-Error-Code": components["headers"]["X-Error-Code"];
19038
+ "Retry-After": components["headers"]["Retry-After"];
18902
19039
  [name: string]: unknown;
18903
19040
  };
18904
19041
  content: {
@@ -19000,12 +19137,13 @@ interface operations {
19000
19137
  "application/json": components["schemas"]["InternalErrorRefusal"];
19001
19138
  };
19002
19139
  };
19003
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
19140
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
19004
19141
  503: {
19005
19142
  headers: {
19006
19143
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
19007
19144
  "X-Request-ID": components["headers"]["X-Request-ID"];
19008
19145
  "X-Error-Code": components["headers"]["X-Error-Code"];
19146
+ "Retry-After": components["headers"]["Retry-After"];
19009
19147
  [name: string]: unknown;
19010
19148
  };
19011
19149
  content: {
@@ -19162,6 +19300,7 @@ interface operations {
19162
19300
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
19163
19301
  "X-Request-ID": components["headers"]["X-Request-ID"];
19164
19302
  "X-Error-Code": components["headers"]["X-Error-Code"];
19303
+ "Retry-After": components["headers"]["Retry-After"];
19165
19304
  [name: string]: unknown;
19166
19305
  };
19167
19306
  content: {
@@ -19263,12 +19402,13 @@ interface operations {
19263
19402
  "application/json": components["schemas"]["InternalErrorRefusal"];
19264
19403
  };
19265
19404
  };
19266
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
19405
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
19267
19406
  503: {
19268
19407
  headers: {
19269
19408
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
19270
19409
  "X-Request-ID": components["headers"]["X-Request-ID"];
19271
19410
  "X-Error-Code": components["headers"]["X-Error-Code"];
19411
+ "Retry-After": components["headers"]["Retry-After"];
19272
19412
  [name: string]: unknown;
19273
19413
  };
19274
19414
  content: {
@@ -19428,12 +19568,13 @@ interface operations {
19428
19568
  "application/json": components["schemas"]["InternalErrorRefusal"];
19429
19569
  };
19430
19570
  };
19431
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
19571
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
19432
19572
  503: {
19433
19573
  headers: {
19434
19574
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
19435
19575
  "X-Request-ID": components["headers"]["X-Request-ID"];
19436
19576
  "X-Error-Code": components["headers"]["X-Error-Code"];
19577
+ "Retry-After": components["headers"]["Retry-After"];
19437
19578
  [name: string]: unknown;
19438
19579
  };
19439
19580
  content: {
@@ -19550,12 +19691,13 @@ interface operations {
19550
19691
  "application/json": components["schemas"]["InternalErrorRefusal"];
19551
19692
  };
19552
19693
  };
19553
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
19694
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
19554
19695
  503: {
19555
19696
  headers: {
19556
19697
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
19557
19698
  "X-Request-ID": components["headers"]["X-Request-ID"];
19558
19699
  "X-Error-Code": components["headers"]["X-Error-Code"];
19700
+ "Retry-After": components["headers"]["Retry-After"];
19559
19701
  [name: string]: unknown;
19560
19702
  };
19561
19703
  content: {
@@ -19699,12 +19841,13 @@ interface operations {
19699
19841
  "application/json": components["schemas"]["InternalErrorRefusal"];
19700
19842
  };
19701
19843
  };
19702
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
19844
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
19703
19845
  503: {
19704
19846
  headers: {
19705
19847
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
19706
19848
  "X-Request-ID": components["headers"]["X-Request-ID"];
19707
19849
  "X-Error-Code": components["headers"]["X-Error-Code"];
19850
+ "Retry-After": components["headers"]["Retry-After"];
19708
19851
  [name: string]: unknown;
19709
19852
  };
19710
19853
  content: {
@@ -19873,12 +20016,13 @@ interface operations {
19873
20016
  "application/json": components["schemas"]["InternalErrorRefusal"];
19874
20017
  };
19875
20018
  };
19876
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
20019
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
19877
20020
  503: {
19878
20021
  headers: {
19879
20022
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
19880
20023
  "X-Request-ID": components["headers"]["X-Request-ID"];
19881
20024
  "X-Error-Code": components["headers"]["X-Error-Code"];
20025
+ "Retry-After": components["headers"]["Retry-After"];
19882
20026
  [name: string]: unknown;
19883
20027
  };
19884
20028
  content: {
@@ -20000,12 +20144,13 @@ interface operations {
20000
20144
  "application/json": components["schemas"]["InternalErrorRefusal"];
20001
20145
  };
20002
20146
  };
20003
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
20147
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
20004
20148
  503: {
20005
20149
  headers: {
20006
20150
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20007
20151
  "X-Request-ID": components["headers"]["X-Request-ID"];
20008
20152
  "X-Error-Code": components["headers"]["X-Error-Code"];
20153
+ "Retry-After": components["headers"]["Retry-After"];
20009
20154
  [name: string]: unknown;
20010
20155
  };
20011
20156
  content: {
@@ -20151,12 +20296,13 @@ interface operations {
20151
20296
  "application/json": components["schemas"]["InternalErrorRefusal"];
20152
20297
  };
20153
20298
  };
20154
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
20299
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
20155
20300
  503: {
20156
20301
  headers: {
20157
20302
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20158
20303
  "X-Request-ID": components["headers"]["X-Request-ID"];
20159
20304
  "X-Error-Code": components["headers"]["X-Error-Code"];
20305
+ "Retry-After": components["headers"]["Retry-After"];
20160
20306
  [name: string]: unknown;
20161
20307
  };
20162
20308
  content: {
@@ -20263,12 +20409,13 @@ interface operations {
20263
20409
  "application/json": components["schemas"]["InternalErrorRefusal"];
20264
20410
  };
20265
20411
  };
20266
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
20412
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
20267
20413
  503: {
20268
20414
  headers: {
20269
20415
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20270
20416
  "X-Request-ID": components["headers"]["X-Request-ID"];
20271
20417
  "X-Error-Code": components["headers"]["X-Error-Code"];
20418
+ "Retry-After": components["headers"]["Retry-After"];
20272
20419
  [name: string]: unknown;
20273
20420
  };
20274
20421
  content: {
@@ -20464,13 +20611,14 @@ interface operations {
20464
20611
  "application/json": components["schemas"]["InternalErrorRefusal"];
20465
20612
  };
20466
20613
  };
20467
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
20614
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
20468
20615
  503: {
20469
20616
  headers: {
20470
20617
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20471
20618
  "X-Request-ID": components["headers"]["X-Request-ID"];
20472
20619
  "X-Error-Code": components["headers"]["X-Error-Code"];
20473
20620
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
20621
+ "Retry-After": components["headers"]["Retry-After"];
20474
20622
  [name: string]: unknown;
20475
20623
  };
20476
20624
  content: {
@@ -20690,13 +20838,14 @@ interface operations {
20690
20838
  "application/json": components["schemas"]["InternalErrorRefusal"];
20691
20839
  };
20692
20840
  };
20693
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
20841
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
20694
20842
  503: {
20695
20843
  headers: {
20696
20844
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20697
20845
  "X-Request-ID": components["headers"]["X-Request-ID"];
20698
20846
  "X-Error-Code": components["headers"]["X-Error-Code"];
20699
20847
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
20848
+ "Retry-After": components["headers"]["Retry-After"];
20700
20849
  [name: string]: unknown;
20701
20850
  };
20702
20851
  content: {
@@ -20870,13 +21019,14 @@ interface operations {
20870
21019
  "application/json": components["schemas"]["InternalErrorRefusal"];
20871
21020
  };
20872
21021
  };
20873
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
21022
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
20874
21023
  503: {
20875
21024
  headers: {
20876
21025
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
20877
21026
  "X-Request-ID": components["headers"]["X-Request-ID"];
20878
21027
  "X-Error-Code": components["headers"]["X-Error-Code"];
20879
21028
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
21029
+ "Retry-After": components["headers"]["Retry-After"];
20880
21030
  [name: string]: unknown;
20881
21031
  };
20882
21032
  content: {
@@ -21034,12 +21184,13 @@ interface operations {
21034
21184
  "application/json": components["schemas"]["InternalErrorRefusal"];
21035
21185
  };
21036
21186
  };
21037
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
21187
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
21038
21188
  503: {
21039
21189
  headers: {
21040
21190
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
21041
21191
  "X-Request-ID": components["headers"]["X-Request-ID"];
21042
21192
  "X-Error-Code": components["headers"]["X-Error-Code"];
21193
+ "Retry-After": components["headers"]["Retry-After"];
21043
21194
  [name: string]: unknown;
21044
21195
  };
21045
21196
  content: {
@@ -21213,12 +21364,13 @@ interface operations {
21213
21364
  "application/json": components["schemas"]["InternalErrorRefusal"];
21214
21365
  };
21215
21366
  };
21216
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
21367
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
21217
21368
  503: {
21218
21369
  headers: {
21219
21370
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
21220
21371
  "X-Request-ID": components["headers"]["X-Request-ID"];
21221
21372
  "X-Error-Code": components["headers"]["X-Error-Code"];
21373
+ "Retry-After": components["headers"]["Retry-After"];
21222
21374
  [name: string]: unknown;
21223
21375
  };
21224
21376
  content: {
@@ -21398,13 +21550,14 @@ interface operations {
21398
21550
  "application/json": components["schemas"]["InternalErrorRefusal"];
21399
21551
  };
21400
21552
  };
21401
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
21553
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
21402
21554
  503: {
21403
21555
  headers: {
21404
21556
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
21405
21557
  "X-Request-ID": components["headers"]["X-Request-ID"];
21406
21558
  "X-Error-Code": components["headers"]["X-Error-Code"];
21407
21559
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
21560
+ "Retry-After": components["headers"]["Retry-After"];
21408
21561
  [name: string]: unknown;
21409
21562
  };
21410
21563
  content: {
@@ -21534,12 +21687,13 @@ interface operations {
21534
21687
  "application/json": components["schemas"]["InternalErrorRefusal"];
21535
21688
  };
21536
21689
  };
21537
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
21690
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
21538
21691
  503: {
21539
21692
  headers: {
21540
21693
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
21541
21694
  "X-Request-ID": components["headers"]["X-Request-ID"];
21542
21695
  "X-Error-Code": components["headers"]["X-Error-Code"];
21696
+ "Retry-After": components["headers"]["Retry-After"];
21543
21697
  [name: string]: unknown;
21544
21698
  };
21545
21699
  content: {
@@ -21711,13 +21865,14 @@ interface operations {
21711
21865
  "application/json": components["schemas"]["InternalErrorRefusal"];
21712
21866
  };
21713
21867
  };
21714
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
21868
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
21715
21869
  503: {
21716
21870
  headers: {
21717
21871
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
21718
21872
  "X-Request-ID": components["headers"]["X-Request-ID"];
21719
21873
  "X-Error-Code": components["headers"]["X-Error-Code"];
21720
21874
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
21875
+ "Retry-After": components["headers"]["Retry-After"];
21721
21876
  [name: string]: unknown;
21722
21877
  };
21723
21878
  content: {
@@ -21922,13 +22077,14 @@ interface operations {
21922
22077
  "application/json": components["schemas"]["InternalErrorRefusal"];
21923
22078
  };
21924
22079
  };
21925
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
22080
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
21926
22081
  503: {
21927
22082
  headers: {
21928
22083
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
21929
22084
  "X-Request-ID": components["headers"]["X-Request-ID"];
21930
22085
  "X-Error-Code": components["headers"]["X-Error-Code"];
21931
22086
  "Idempotency-Replayed": components["headers"]["Idempotency-Replayed"];
22087
+ "Retry-After": components["headers"]["Retry-After"];
21932
22088
  [name: string]: unknown;
21933
22089
  };
21934
22090
  content: {
@@ -22019,12 +22175,13 @@ interface operations {
22019
22175
  "application/json": components["schemas"]["InternalErrorRefusal"];
22020
22176
  };
22021
22177
  };
22022
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
22178
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
22023
22179
  503: {
22024
22180
  headers: {
22025
22181
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22026
22182
  "X-Request-ID": components["headers"]["X-Request-ID"];
22027
22183
  "X-Error-Code": components["headers"]["X-Error-Code"];
22184
+ "Retry-After": components["headers"]["Retry-After"];
22028
22185
  [name: string]: unknown;
22029
22186
  };
22030
22187
  content: {
@@ -22190,12 +22347,13 @@ interface operations {
22190
22347
  "application/json": components["schemas"]["InternalErrorRefusal"];
22191
22348
  };
22192
22349
  };
22193
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
22350
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
22194
22351
  503: {
22195
22352
  headers: {
22196
22353
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22197
22354
  "X-Request-ID": components["headers"]["X-Request-ID"];
22198
22355
  "X-Error-Code": components["headers"]["X-Error-Code"];
22356
+ "Retry-After": components["headers"]["Retry-After"];
22199
22357
  [name: string]: unknown;
22200
22358
  };
22201
22359
  content: {
@@ -22300,12 +22458,13 @@ interface operations {
22300
22458
  "application/json": components["schemas"]["InternalErrorRefusal"];
22301
22459
  };
22302
22460
  };
22303
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
22461
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
22304
22462
  503: {
22305
22463
  headers: {
22306
22464
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22307
22465
  "X-Request-ID": components["headers"]["X-Request-ID"];
22308
22466
  "X-Error-Code": components["headers"]["X-Error-Code"];
22467
+ "Retry-After": components["headers"]["Retry-After"];
22309
22468
  [name: string]: unknown;
22310
22469
  };
22311
22470
  content: {
@@ -22449,12 +22608,13 @@ interface operations {
22449
22608
  "application/json": components["schemas"]["InternalErrorRefusal"];
22450
22609
  };
22451
22610
  };
22452
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
22611
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
22453
22612
  503: {
22454
22613
  headers: {
22455
22614
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22456
22615
  "X-Request-ID": components["headers"]["X-Request-ID"];
22457
22616
  "X-Error-Code": components["headers"]["X-Error-Code"];
22617
+ "Retry-After": components["headers"]["Retry-After"];
22458
22618
  [name: string]: unknown;
22459
22619
  };
22460
22620
  content: {
@@ -22598,12 +22758,13 @@ interface operations {
22598
22758
  "application/json": components["schemas"]["InternalErrorRefusal"];
22599
22759
  };
22600
22760
  };
22601
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
22761
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
22602
22762
  503: {
22603
22763
  headers: {
22604
22764
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22605
22765
  "X-Request-ID": components["headers"]["X-Request-ID"];
22606
22766
  "X-Error-Code": components["headers"]["X-Error-Code"];
22767
+ "Retry-After": components["headers"]["Retry-After"];
22607
22768
  [name: string]: unknown;
22608
22769
  };
22609
22770
  content: {
@@ -22777,12 +22938,13 @@ interface operations {
22777
22938
  "application/json": components["schemas"]["InternalErrorRefusal"];
22778
22939
  };
22779
22940
  };
22780
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
22941
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
22781
22942
  503: {
22782
22943
  headers: {
22783
22944
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22784
22945
  "X-Request-ID": components["headers"]["X-Request-ID"];
22785
22946
  "X-Error-Code": components["headers"]["X-Error-Code"];
22947
+ "Retry-After": components["headers"]["Retry-After"];
22786
22948
  [name: string]: unknown;
22787
22949
  };
22788
22950
  content: {
@@ -22892,12 +23054,13 @@ interface operations {
22892
23054
  "application/json": components["schemas"]["InternalErrorRefusal"];
22893
23055
  };
22894
23056
  };
22895
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
23057
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
22896
23058
  503: {
22897
23059
  headers: {
22898
23060
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
22899
23061
  "X-Request-ID": components["headers"]["X-Request-ID"];
22900
23062
  "X-Error-Code": components["headers"]["X-Error-Code"];
23063
+ "Retry-After": components["headers"]["Retry-After"];
22901
23064
  [name: string]: unknown;
22902
23065
  };
22903
23066
  content: {
@@ -23070,12 +23233,13 @@ interface operations {
23070
23233
  "application/json": components["schemas"]["InternalErrorRefusal"];
23071
23234
  };
23072
23235
  };
23073
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
23236
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
23074
23237
  503: {
23075
23238
  headers: {
23076
23239
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
23077
23240
  "X-Request-ID": components["headers"]["X-Request-ID"];
23078
23241
  "X-Error-Code": components["headers"]["X-Error-Code"];
23242
+ "Retry-After": components["headers"]["Retry-After"];
23079
23243
  [name: string]: unknown;
23080
23244
  };
23081
23245
  content: {
@@ -23225,12 +23389,13 @@ interface operations {
23225
23389
  "application/json": components["schemas"]["InternalErrorRefusal"];
23226
23390
  };
23227
23391
  };
23228
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
23392
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
23229
23393
  503: {
23230
23394
  headers: {
23231
23395
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
23232
23396
  "X-Request-ID": components["headers"]["X-Request-ID"];
23233
23397
  "X-Error-Code": components["headers"]["X-Error-Code"];
23398
+ "Retry-After": components["headers"]["Retry-After"];
23234
23399
  [name: string]: unknown;
23235
23400
  };
23236
23401
  content: {
@@ -23347,12 +23512,13 @@ interface operations {
23347
23512
  "application/json": components["schemas"]["InternalErrorRefusal"];
23348
23513
  };
23349
23514
  };
23350
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
23515
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
23351
23516
  503: {
23352
23517
  headers: {
23353
23518
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
23354
23519
  "X-Request-ID": components["headers"]["X-Request-ID"];
23355
23520
  "X-Error-Code": components["headers"]["X-Error-Code"];
23521
+ "Retry-After": components["headers"]["Retry-After"];
23356
23522
  [name: string]: unknown;
23357
23523
  };
23358
23524
  content: {
@@ -23531,12 +23697,13 @@ interface operations {
23531
23697
  "application/json": components["schemas"]["InternalErrorRefusal"];
23532
23698
  };
23533
23699
  };
23534
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
23700
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
23535
23701
  503: {
23536
23702
  headers: {
23537
23703
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
23538
23704
  "X-Request-ID": components["headers"]["X-Request-ID"];
23539
23705
  "X-Error-Code": components["headers"]["X-Error-Code"];
23706
+ "Retry-After": components["headers"]["Retry-After"];
23540
23707
  [name: string]: unknown;
23541
23708
  };
23542
23709
  content: {
@@ -23680,12 +23847,13 @@ interface operations {
23680
23847
  "application/json": components["schemas"]["InternalErrorRefusal"];
23681
23848
  };
23682
23849
  };
23683
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
23850
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
23684
23851
  503: {
23685
23852
  headers: {
23686
23853
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
23687
23854
  "X-Request-ID": components["headers"]["X-Request-ID"];
23688
23855
  "X-Error-Code": components["headers"]["X-Error-Code"];
23856
+ "Retry-After": components["headers"]["Retry-After"];
23689
23857
  [name: string]: unknown;
23690
23858
  };
23691
23859
  content: {
@@ -23809,12 +23977,13 @@ interface operations {
23809
23977
  "application/json": components["schemas"]["InternalErrorRefusal"];
23810
23978
  };
23811
23979
  };
23812
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
23980
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
23813
23981
  503: {
23814
23982
  headers: {
23815
23983
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
23816
23984
  "X-Request-ID": components["headers"]["X-Request-ID"];
23817
23985
  "X-Error-Code": components["headers"]["X-Error-Code"];
23986
+ "Retry-After": components["headers"]["Retry-After"];
23818
23987
  [name: string]: unknown;
23819
23988
  };
23820
23989
  content: {
@@ -24000,12 +24169,13 @@ interface operations {
24000
24169
  "application/json": components["schemas"]["InternalErrorRefusal"];
24001
24170
  };
24002
24171
  };
24003
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
24172
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
24004
24173
  503: {
24005
24174
  headers: {
24006
24175
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
24007
24176
  "X-Request-ID": components["headers"]["X-Request-ID"];
24008
24177
  "X-Error-Code": components["headers"]["X-Error-Code"];
24178
+ "Retry-After": components["headers"]["Retry-After"];
24009
24179
  [name: string]: unknown;
24010
24180
  };
24011
24181
  content: {
@@ -24174,12 +24344,13 @@ interface operations {
24174
24344
  "application/json": components["schemas"]["InternalErrorRefusal"];
24175
24345
  };
24176
24346
  };
24177
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
24347
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
24178
24348
  503: {
24179
24349
  headers: {
24180
24350
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
24181
24351
  "X-Request-ID": components["headers"]["X-Request-ID"];
24182
24352
  "X-Error-Code": components["headers"]["X-Error-Code"];
24353
+ "Retry-After": components["headers"]["Retry-After"];
24183
24354
  [name: string]: unknown;
24184
24355
  };
24185
24356
  content: {
@@ -24296,12 +24467,13 @@ interface operations {
24296
24467
  "application/json": components["schemas"]["InternalErrorRefusal"];
24297
24468
  };
24298
24469
  };
24299
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
24470
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
24300
24471
  503: {
24301
24472
  headers: {
24302
24473
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
24303
24474
  "X-Request-ID": components["headers"]["X-Request-ID"];
24304
24475
  "X-Error-Code": components["headers"]["X-Error-Code"];
24476
+ "Retry-After": components["headers"]["Retry-After"];
24305
24477
  [name: string]: unknown;
24306
24478
  };
24307
24479
  content: {
@@ -24466,12 +24638,13 @@ interface operations {
24466
24638
  "application/json": components["schemas"]["InternalErrorRefusal"];
24467
24639
  };
24468
24640
  };
24469
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
24641
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
24470
24642
  503: {
24471
24643
  headers: {
24472
24644
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
24473
24645
  "X-Request-ID": components["headers"]["X-Request-ID"];
24474
24646
  "X-Error-Code": components["headers"]["X-Error-Code"];
24647
+ "Retry-After": components["headers"]["Retry-After"];
24475
24648
  [name: string]: unknown;
24476
24649
  };
24477
24650
  content: {
@@ -24620,12 +24793,13 @@ interface operations {
24620
24793
  "application/json": components["schemas"]["InternalErrorRefusal"];
24621
24794
  };
24622
24795
  };
24623
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
24796
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
24624
24797
  503: {
24625
24798
  headers: {
24626
24799
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
24627
24800
  "X-Request-ID": components["headers"]["X-Request-ID"];
24628
24801
  "X-Error-Code": components["headers"]["X-Error-Code"];
24802
+ "Retry-After": components["headers"]["Retry-After"];
24629
24803
  [name: string]: unknown;
24630
24804
  };
24631
24805
  content: {
@@ -24751,12 +24925,13 @@ interface operations {
24751
24925
  "application/json": components["schemas"]["InternalErrorRefusal"];
24752
24926
  };
24753
24927
  };
24754
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
24928
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
24755
24929
  503: {
24756
24930
  headers: {
24757
24931
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
24758
24932
  "X-Request-ID": components["headers"]["X-Request-ID"];
24759
24933
  "X-Error-Code": components["headers"]["X-Error-Code"];
24934
+ "Retry-After": components["headers"]["Retry-After"];
24760
24935
  [name: string]: unknown;
24761
24936
  };
24762
24937
  content: {
@@ -24878,12 +25053,13 @@ interface operations {
24878
25053
  "application/json": components["schemas"]["InternalErrorRefusal"];
24879
25054
  };
24880
25055
  };
24881
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
25056
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
24882
25057
  503: {
24883
25058
  headers: {
24884
25059
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
24885
25060
  "X-Request-ID": components["headers"]["X-Request-ID"];
24886
25061
  "X-Error-Code": components["headers"]["X-Error-Code"];
25062
+ "Retry-After": components["headers"]["Retry-After"];
24887
25063
  [name: string]: unknown;
24888
25064
  };
24889
25065
  content: {
@@ -25060,12 +25236,13 @@ interface operations {
25060
25236
  "application/json": components["schemas"]["InternalErrorRefusal"];
25061
25237
  };
25062
25238
  };
25063
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
25239
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
25064
25240
  503: {
25065
25241
  headers: {
25066
25242
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
25067
25243
  "X-Request-ID": components["headers"]["X-Request-ID"];
25068
25244
  "X-Error-Code": components["headers"]["X-Error-Code"];
25245
+ "Retry-After": components["headers"]["Retry-After"];
25069
25246
  [name: string]: unknown;
25070
25247
  };
25071
25248
  content: {
@@ -25155,12 +25332,13 @@ interface operations {
25155
25332
  "application/json": components["schemas"]["InternalErrorRefusal"];
25156
25333
  };
25157
25334
  };
25158
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
25335
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
25159
25336
  503: {
25160
25337
  headers: {
25161
25338
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
25162
25339
  "X-Request-ID": components["headers"]["X-Request-ID"];
25163
25340
  "X-Error-Code": components["headers"]["X-Error-Code"];
25341
+ "Retry-After": components["headers"]["Retry-After"];
25164
25342
  [name: string]: unknown;
25165
25343
  };
25166
25344
  content: {
@@ -25268,12 +25446,13 @@ interface operations {
25268
25446
  "application/json": components["schemas"]["InternalErrorRefusal"];
25269
25447
  };
25270
25448
  };
25271
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
25449
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
25272
25450
  503: {
25273
25451
  headers: {
25274
25452
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
25275
25453
  "X-Request-ID": components["headers"]["X-Request-ID"];
25276
25454
  "X-Error-Code": components["headers"]["X-Error-Code"];
25455
+ "Retry-After": components["headers"]["Retry-After"];
25277
25456
  [name: string]: unknown;
25278
25457
  };
25279
25458
  content: {
@@ -25436,12 +25615,13 @@ interface operations {
25436
25615
  "application/json": components["schemas"]["InternalErrorRefusal"];
25437
25616
  };
25438
25617
  };
25439
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
25618
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
25440
25619
  503: {
25441
25620
  headers: {
25442
25621
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
25443
25622
  "X-Request-ID": components["headers"]["X-Request-ID"];
25444
25623
  "X-Error-Code": components["headers"]["X-Error-Code"];
25624
+ "Retry-After": components["headers"]["Retry-After"];
25445
25625
  [name: string]: unknown;
25446
25626
  };
25447
25627
  content: {
@@ -25543,12 +25723,13 @@ interface operations {
25543
25723
  "application/json": components["schemas"]["InternalErrorRefusal"];
25544
25724
  };
25545
25725
  };
25546
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
25726
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
25547
25727
  503: {
25548
25728
  headers: {
25549
25729
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
25550
25730
  "X-Request-ID": components["headers"]["X-Request-ID"];
25551
25731
  "X-Error-Code": components["headers"]["X-Error-Code"];
25732
+ "Retry-After": components["headers"]["Retry-After"];
25552
25733
  [name: string]: unknown;
25553
25734
  };
25554
25735
  content: {
@@ -25726,12 +25907,13 @@ interface operations {
25726
25907
  "application/json": components["schemas"]["InternalErrorRefusal"];
25727
25908
  };
25728
25909
  };
25729
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
25910
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
25730
25911
  503: {
25731
25912
  headers: {
25732
25913
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
25733
25914
  "X-Request-ID": components["headers"]["X-Request-ID"];
25734
25915
  "X-Error-Code": components["headers"]["X-Error-Code"];
25916
+ "Retry-After": components["headers"]["Retry-After"];
25735
25917
  [name: string]: unknown;
25736
25918
  };
25737
25919
  content: {
@@ -25850,12 +26032,13 @@ interface operations {
25850
26032
  "application/json": components["schemas"]["InternalErrorRefusal"];
25851
26033
  };
25852
26034
  };
25853
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
26035
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
25854
26036
  503: {
25855
26037
  headers: {
25856
26038
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
25857
26039
  "X-Request-ID": components["headers"]["X-Request-ID"];
25858
26040
  "X-Error-Code": components["headers"]["X-Error-Code"];
26041
+ "Retry-After": components["headers"]["Retry-After"];
25859
26042
  [name: string]: unknown;
25860
26043
  };
25861
26044
  content: {
@@ -25999,12 +26182,13 @@ interface operations {
25999
26182
  "application/json": components["schemas"]["InternalErrorRefusal"];
26000
26183
  };
26001
26184
  };
26002
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
26185
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
26003
26186
  503: {
26004
26187
  headers: {
26005
26188
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
26006
26189
  "X-Request-ID": components["headers"]["X-Request-ID"];
26007
26190
  "X-Error-Code": components["headers"]["X-Error-Code"];
26191
+ "Retry-After": components["headers"]["Retry-After"];
26008
26192
  [name: string]: unknown;
26009
26193
  };
26010
26194
  content: {
@@ -26200,12 +26384,13 @@ interface operations {
26200
26384
  "application/json": components["schemas"]["InternalErrorRefusal"];
26201
26385
  };
26202
26386
  };
26203
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
26387
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
26204
26388
  503: {
26205
26389
  headers: {
26206
26390
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
26207
26391
  "X-Request-ID": components["headers"]["X-Request-ID"];
26208
26392
  "X-Error-Code": components["headers"]["X-Error-Code"];
26393
+ "Retry-After": components["headers"]["Retry-After"];
26209
26394
  [name: string]: unknown;
26210
26395
  };
26211
26396
  content: {
@@ -26401,12 +26586,13 @@ interface operations {
26401
26586
  "application/json": components["schemas"]["RateLimitedRefusal"];
26402
26587
  };
26403
26588
  };
26404
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
26589
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
26405
26590
  503: {
26406
26591
  headers: {
26407
26592
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
26408
26593
  "X-Request-ID": components["headers"]["X-Request-ID"];
26409
26594
  "X-Error-Code": components["headers"]["X-Error-Code"];
26595
+ "Retry-After": components["headers"]["Retry-After"];
26410
26596
  [name: string]: unknown;
26411
26597
  };
26412
26598
  content: {
@@ -26496,12 +26682,13 @@ interface operations {
26496
26682
  "application/json": components["schemas"]["InternalErrorRefusal"];
26497
26683
  };
26498
26684
  };
26499
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
26685
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
26500
26686
  503: {
26501
26687
  headers: {
26502
26688
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
26503
26689
  "X-Request-ID": components["headers"]["X-Request-ID"];
26504
26690
  "X-Error-Code": components["headers"]["X-Error-Code"];
26691
+ "Retry-After": components["headers"]["Retry-After"];
26505
26692
  [name: string]: unknown;
26506
26693
  };
26507
26694
  content: {
@@ -26633,12 +26820,13 @@ interface operations {
26633
26820
  "application/json": components["schemas"]["InternalErrorRefusal"];
26634
26821
  };
26635
26822
  };
26636
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
26823
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
26637
26824
  503: {
26638
26825
  headers: {
26639
26826
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
26640
26827
  "X-Request-ID": components["headers"]["X-Request-ID"];
26641
26828
  "X-Error-Code": components["headers"]["X-Error-Code"];
26829
+ "Retry-After": components["headers"]["Retry-After"];
26642
26830
  [name: string]: unknown;
26643
26831
  };
26644
26832
  content: {
@@ -26803,12 +26991,13 @@ interface operations {
26803
26991
  "application/json": components["schemas"]["InternalErrorRefusal"];
26804
26992
  };
26805
26993
  };
26806
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
26994
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
26807
26995
  503: {
26808
26996
  headers: {
26809
26997
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
26810
26998
  "X-Request-ID": components["headers"]["X-Request-ID"];
26811
26999
  "X-Error-Code": components["headers"]["X-Error-Code"];
27000
+ "Retry-After": components["headers"]["Retry-After"];
26812
27001
  [name: string]: unknown;
26813
27002
  };
26814
27003
  content: {
@@ -26922,12 +27111,13 @@ interface operations {
26922
27111
  "application/json": components["schemas"]["InternalErrorRefusal"];
26923
27112
  };
26924
27113
  };
26925
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
27114
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
26926
27115
  503: {
26927
27116
  headers: {
26928
27117
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
26929
27118
  "X-Request-ID": components["headers"]["X-Request-ID"];
26930
27119
  "X-Error-Code": components["headers"]["X-Error-Code"];
27120
+ "Retry-After": components["headers"]["Retry-After"];
26931
27121
  [name: string]: unknown;
26932
27122
  };
26933
27123
  content: {
@@ -27232,12 +27422,13 @@ interface operations {
27232
27422
  "application/json": components["schemas"]["InternalErrorRefusal"];
27233
27423
  };
27234
27424
  };
27235
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
27425
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
27236
27426
  503: {
27237
27427
  headers: {
27238
27428
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
27239
27429
  "X-Request-ID": components["headers"]["X-Request-ID"];
27240
27430
  "X-Error-Code": components["headers"]["X-Error-Code"];
27431
+ "Retry-After": components["headers"]["Retry-After"];
27241
27432
  [name: string]: unknown;
27242
27433
  };
27243
27434
  content: {
@@ -27352,12 +27543,13 @@ interface operations {
27352
27543
  "application/json": components["schemas"]["InternalErrorRefusal"];
27353
27544
  };
27354
27545
  };
27355
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
27546
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
27356
27547
  503: {
27357
27548
  headers: {
27358
27549
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
27359
27550
  "X-Request-ID": components["headers"]["X-Request-ID"];
27360
27551
  "X-Error-Code": components["headers"]["X-Error-Code"];
27552
+ "Retry-After": components["headers"]["Retry-After"];
27361
27553
  [name: string]: unknown;
27362
27554
  };
27363
27555
  content: {
@@ -27519,12 +27711,13 @@ interface operations {
27519
27711
  "application/json": components["schemas"]["InternalErrorRefusal"];
27520
27712
  };
27521
27713
  };
27522
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
27714
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
27523
27715
  503: {
27524
27716
  headers: {
27525
27717
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
27526
27718
  "X-Request-ID": components["headers"]["X-Request-ID"];
27527
27719
  "X-Error-Code": components["headers"]["X-Error-Code"];
27720
+ "Retry-After": components["headers"]["Retry-After"];
27528
27721
  [name: string]: unknown;
27529
27722
  };
27530
27723
  content: {
@@ -27653,12 +27846,13 @@ interface operations {
27653
27846
  "application/json": components["schemas"]["InternalErrorRefusal"];
27654
27847
  };
27655
27848
  };
27656
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
27849
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
27657
27850
  503: {
27658
27851
  headers: {
27659
27852
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
27660
27853
  "X-Request-ID": components["headers"]["X-Request-ID"];
27661
27854
  "X-Error-Code": components["headers"]["X-Error-Code"];
27855
+ "Retry-After": components["headers"]["Retry-After"];
27662
27856
  [name: string]: unknown;
27663
27857
  };
27664
27858
  content: {
@@ -27816,12 +28010,13 @@ interface operations {
27816
28010
  "application/json": components["schemas"]["InternalErrorRefusal"];
27817
28011
  };
27818
28012
  };
27819
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
28013
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
27820
28014
  503: {
27821
28015
  headers: {
27822
28016
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
27823
28017
  "X-Request-ID": components["headers"]["X-Request-ID"];
27824
28018
  "X-Error-Code": components["headers"]["X-Error-Code"];
28019
+ "Retry-After": components["headers"]["Retry-After"];
27825
28020
  [name: string]: unknown;
27826
28021
  };
27827
28022
  content: {
@@ -27979,12 +28174,13 @@ interface operations {
27979
28174
  "application/json": components["schemas"]["InternalErrorRefusal"];
27980
28175
  };
27981
28176
  };
27982
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
28177
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
27983
28178
  503: {
27984
28179
  headers: {
27985
28180
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
27986
28181
  "X-Request-ID": components["headers"]["X-Request-ID"];
27987
28182
  "X-Error-Code": components["headers"]["X-Error-Code"];
28183
+ "Retry-After": components["headers"]["Retry-After"];
27988
28184
  [name: string]: unknown;
27989
28185
  };
27990
28186
  content: {
@@ -28086,12 +28282,13 @@ interface operations {
28086
28282
  "application/json": components["schemas"]["InternalErrorRefusal"];
28087
28283
  };
28088
28284
  };
28089
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
28285
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
28090
28286
  503: {
28091
28287
  headers: {
28092
28288
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
28093
28289
  "X-Request-ID": components["headers"]["X-Request-ID"];
28094
28290
  "X-Error-Code": components["headers"]["X-Error-Code"];
28291
+ "Retry-After": components["headers"]["Retry-After"];
28095
28292
  [name: string]: unknown;
28096
28293
  };
28097
28294
  content: {
@@ -28238,12 +28435,13 @@ interface operations {
28238
28435
  "application/json": components["schemas"]["InternalErrorRefusal"];
28239
28436
  };
28240
28437
  };
28241
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
28438
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
28242
28439
  503: {
28243
28440
  headers: {
28244
28441
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
28245
28442
  "X-Request-ID": components["headers"]["X-Request-ID"];
28246
28443
  "X-Error-Code": components["headers"]["X-Error-Code"];
28444
+ "Retry-After": components["headers"]["Retry-After"];
28247
28445
  [name: string]: unknown;
28248
28446
  };
28249
28447
  content: {
@@ -28412,12 +28610,13 @@ interface operations {
28412
28610
  "application/json": components["schemas"]["InternalErrorRefusal"];
28413
28611
  };
28414
28612
  };
28415
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
28613
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
28416
28614
  503: {
28417
28615
  headers: {
28418
28616
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
28419
28617
  "X-Request-ID": components["headers"]["X-Request-ID"];
28420
28618
  "X-Error-Code": components["headers"]["X-Error-Code"];
28619
+ "Retry-After": components["headers"]["Retry-After"];
28421
28620
  [name: string]: unknown;
28422
28621
  };
28423
28622
  content: {
@@ -28519,12 +28718,13 @@ interface operations {
28519
28718
  "application/json": components["schemas"]["InternalErrorRefusal"];
28520
28719
  };
28521
28720
  };
28522
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
28721
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
28523
28722
  503: {
28524
28723
  headers: {
28525
28724
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
28526
28725
  "X-Request-ID": components["headers"]["X-Request-ID"];
28527
28726
  "X-Error-Code": components["headers"]["X-Error-Code"];
28727
+ "Retry-After": components["headers"]["Retry-After"];
28528
28728
  [name: string]: unknown;
28529
28729
  };
28530
28730
  content: {
@@ -28668,12 +28868,13 @@ interface operations {
28668
28868
  "application/json": components["schemas"]["InternalErrorRefusal"];
28669
28869
  };
28670
28870
  };
28671
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
28871
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
28672
28872
  503: {
28673
28873
  headers: {
28674
28874
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
28675
28875
  "X-Request-ID": components["headers"]["X-Request-ID"];
28676
28876
  "X-Error-Code": components["headers"]["X-Error-Code"];
28877
+ "Retry-After": components["headers"]["Retry-After"];
28677
28878
  [name: string]: unknown;
28678
28879
  };
28679
28880
  content: {
@@ -28836,12 +29037,13 @@ interface operations {
28836
29037
  "application/json": components["schemas"]["InternalErrorRefusal"];
28837
29038
  };
28838
29039
  };
28839
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
29040
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
28840
29041
  503: {
28841
29042
  headers: {
28842
29043
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
28843
29044
  "X-Request-ID": components["headers"]["X-Request-ID"];
28844
29045
  "X-Error-Code": components["headers"]["X-Error-Code"];
29046
+ "Retry-After": components["headers"]["Retry-After"];
28845
29047
  [name: string]: unknown;
28846
29048
  };
28847
29049
  content: {
@@ -28977,12 +29179,13 @@ interface operations {
28977
29179
  "application/json": components["schemas"]["InternalErrorRefusal"];
28978
29180
  };
28979
29181
  };
28980
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
29182
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
28981
29183
  503: {
28982
29184
  headers: {
28983
29185
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
28984
29186
  "X-Request-ID": components["headers"]["X-Request-ID"];
28985
29187
  "X-Error-Code": components["headers"]["X-Error-Code"];
29188
+ "Retry-After": components["headers"]["Retry-After"];
28986
29189
  [name: string]: unknown;
28987
29190
  };
28988
29191
  content: {
@@ -29084,12 +29287,13 @@ interface operations {
29084
29287
  "application/json": components["schemas"]["InternalErrorRefusal"];
29085
29288
  };
29086
29289
  };
29087
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
29290
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
29088
29291
  503: {
29089
29292
  headers: {
29090
29293
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
29091
29294
  "X-Request-ID": components["headers"]["X-Request-ID"];
29092
29295
  "X-Error-Code": components["headers"]["X-Error-Code"];
29296
+ "Retry-After": components["headers"]["Retry-After"];
29093
29297
  [name: string]: unknown;
29094
29298
  };
29095
29299
  content: {
@@ -29186,7 +29390,7 @@ interface operations {
29186
29390
  };
29187
29391
  /**
29188
29392
  * @description - `missing_required_field`: a lever lacks `types` or `sources`.
29189
- * - `validation_error`: the body names a setting Marfa doesn't know, a value is out of range, the effective version windows are out of order, reporting is enabled without a configured receiver, the name is invalid, or `instance_id` names a different instance.
29393
+ * - `validation_error`: the body names a setting Marfa doesn't know, a value is out of range, the effective version windows are out of order, reporting is turned from off to on without a configured receiver, the name is invalid, or `instance_id` names a different instance.
29190
29394
  */
29191
29395
  400: {
29192
29396
  headers: {
@@ -29290,12 +29494,13 @@ interface operations {
29290
29494
  "application/json": components["schemas"]["InternalErrorRefusal"];
29291
29495
  };
29292
29496
  };
29293
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
29497
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
29294
29498
  503: {
29295
29499
  headers: {
29296
29500
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
29297
29501
  "X-Request-ID": components["headers"]["X-Request-ID"];
29298
29502
  "X-Error-Code": components["headers"]["X-Error-Code"];
29503
+ "Retry-After": components["headers"]["Retry-After"];
29299
29504
  [name: string]: unknown;
29300
29505
  };
29301
29506
  content: {
@@ -29392,7 +29597,7 @@ interface operations {
29392
29597
  };
29393
29598
  /**
29394
29599
  * @description - `missing_required_field`: a lever lacks `types` or `sources`.
29395
- * - `validation_error`: the body names a setting Marfa doesn't know, a value is out of range, the effective version windows are out of order, reporting is enabled without a configured receiver, the name is invalid, or `instance_id` names a different instance.
29600
+ * - `validation_error`: the body names a setting Marfa doesn't know, a value is out of range, the effective version windows are out of order, reporting is turned from off to on without a configured receiver, the name is invalid, or `instance_id` names a different instance.
29396
29601
  */
29397
29602
  400: {
29398
29603
  headers: {
@@ -29496,12 +29701,13 @@ interface operations {
29496
29701
  "application/json": components["schemas"]["InternalErrorRefusal"];
29497
29702
  };
29498
29703
  };
29499
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
29704
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
29500
29705
  503: {
29501
29706
  headers: {
29502
29707
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
29503
29708
  "X-Request-ID": components["headers"]["X-Request-ID"];
29504
29709
  "X-Error-Code": components["headers"]["X-Error-Code"];
29710
+ "Retry-After": components["headers"]["Retry-After"];
29505
29711
  [name: string]: unknown;
29506
29712
  };
29507
29713
  content: {
@@ -29603,12 +29809,13 @@ interface operations {
29603
29809
  "application/json": components["schemas"]["InternalErrorRefusal"];
29604
29810
  };
29605
29811
  };
29606
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
29812
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
29607
29813
  503: {
29608
29814
  headers: {
29609
29815
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
29610
29816
  "X-Request-ID": components["headers"]["X-Request-ID"];
29611
29817
  "X-Error-Code": components["headers"]["X-Error-Code"];
29818
+ "Retry-After": components["headers"]["Retry-After"];
29612
29819
  [name: string]: unknown;
29613
29820
  };
29614
29821
  content: {
@@ -29738,12 +29945,13 @@ interface operations {
29738
29945
  "application/json": components["schemas"]["InternalErrorRefusal"];
29739
29946
  };
29740
29947
  };
29741
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
29948
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
29742
29949
  503: {
29743
29950
  headers: {
29744
29951
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
29745
29952
  "X-Request-ID": components["headers"]["X-Request-ID"];
29746
29953
  "X-Error-Code": components["headers"]["X-Error-Code"];
29954
+ "Retry-After": components["headers"]["Retry-After"];
29747
29955
  [name: string]: unknown;
29748
29956
  };
29749
29957
  content: {
@@ -29903,12 +30111,13 @@ interface operations {
29903
30111
  "application/json": components["schemas"]["InternalErrorRefusal"];
29904
30112
  };
29905
30113
  };
29906
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
30114
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
29907
30115
  503: {
29908
30116
  headers: {
29909
30117
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
29910
30118
  "X-Request-ID": components["headers"]["X-Request-ID"];
29911
30119
  "X-Error-Code": components["headers"]["X-Error-Code"];
30120
+ "Retry-After": components["headers"]["Retry-After"];
29912
30121
  [name: string]: unknown;
29913
30122
  };
29914
30123
  content: {
@@ -30069,12 +30278,13 @@ interface operations {
30069
30278
  "application/json": components["schemas"]["InternalErrorRefusal"];
30070
30279
  };
30071
30280
  };
30072
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
30281
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
30073
30282
  503: {
30074
30283
  headers: {
30075
30284
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
30076
30285
  "X-Request-ID": components["headers"]["X-Request-ID"];
30077
30286
  "X-Error-Code": components["headers"]["X-Error-Code"];
30287
+ "Retry-After": components["headers"]["Retry-After"];
30078
30288
  [name: string]: unknown;
30079
30289
  };
30080
30290
  content: {
@@ -30195,12 +30405,13 @@ interface operations {
30195
30405
  "application/json": components["schemas"]["InternalErrorRefusal"];
30196
30406
  };
30197
30407
  };
30198
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
30408
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
30199
30409
  503: {
30200
30410
  headers: {
30201
30411
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
30202
30412
  "X-Request-ID": components["headers"]["X-Request-ID"];
30203
30413
  "X-Error-Code": components["headers"]["X-Error-Code"];
30414
+ "Retry-After": components["headers"]["Retry-After"];
30204
30415
  [name: string]: unknown;
30205
30416
  };
30206
30417
  content: {
@@ -30302,12 +30513,13 @@ interface operations {
30302
30513
  "application/json": components["schemas"]["InternalErrorRefusal"];
30303
30514
  };
30304
30515
  };
30305
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
30516
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
30306
30517
  503: {
30307
30518
  headers: {
30308
30519
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
30309
30520
  "X-Request-ID": components["headers"]["X-Request-ID"];
30310
30521
  "X-Error-Code": components["headers"]["X-Error-Code"];
30522
+ "Retry-After": components["headers"]["Retry-After"];
30311
30523
  [name: string]: unknown;
30312
30524
  };
30313
30525
  content: {
@@ -30451,12 +30663,13 @@ interface operations {
30451
30663
  "application/json": components["schemas"]["InternalErrorRefusal"];
30452
30664
  };
30453
30665
  };
30454
- /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. */
30666
+ /** @description `write_contention`: the database was busy, and Marfa couldn't complete the request in time. Nothing changed. Try the request again. While a restore runs, `details.reason` is `restore_running`. */
30455
30667
  503: {
30456
30668
  headers: {
30457
30669
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
30458
30670
  "X-Request-ID": components["headers"]["X-Request-ID"];
30459
30671
  "X-Error-Code": components["headers"]["X-Error-Code"];
30672
+ "Retry-After": components["headers"]["Retry-After"];
30460
30673
  [name: string]: unknown;
30461
30674
  };
30462
30675
  content: {
@@ -30490,9 +30703,9 @@ interface operations {
30490
30703
  occurred_after?: string;
30491
30704
  /** @description Only export items whose own time (`occurred_at`, else `created_at`) is before this time. */
30492
30705
  occurred_before?: string;
30493
- /** @description `ndjson` for lines of JSON, or `archive` for a tar file that `POST /restore` reads. Defaults to `ndjson`. An archive's `manifest.json` lists under `missing_blobs` each blob it doesn't hold, including a file's blob your credential can't read. */
30706
+ /** @description `ndjson` for lines of JSON, or `archive` for a tar file that `POST /restore` reads. Defaults to `ndjson`. An archive's `files.ndjson.gz` marks each file it doesn't carry `not_carried`, including one your credential can't read. */
30494
30707
  format?: "ndjson" | "archive";
30495
- /** @description With `format=archive`, `false` leaves out the bytes of files, which the manifest then names in `missing_blobs`. Defaults to `true`. `format=ndjson` carries no file bytes either way. */
30708
+ /** @description With `format=archive`, `false` leaves out the bytes of files, which `files.ndjson.gz` then marks `not_carried`. Defaults to `true`. `format=ndjson` carries no file bytes either way. */
30496
30709
  files?: "true" | "false";
30497
30710
  };
30498
30711
  header?: never;
@@ -30501,7 +30714,7 @@ interface operations {
30501
30714
  };
30502
30715
  requestBody?: never;
30503
30716
  responses: {
30504
- /** @description With `format=ndjson`, one JSON object per line: each item, then each readable edge between them. With `format=archive`, a tar of the manifest, compressed line files of your registrations and settings, items with their history, and edges, then the blobs. If the export fails partway or your credential ends or stops reading what it carries, the connection ends early and an archive won't unpack. */
30717
+ /** @description With `format=ndjson`, one JSON object per line: each item, then each readable edge between them. With `format=archive`, a tar of the manifest, compressed lines of its files, registrations and settings, items, versions, edges and table rows, then the blobs. If the export fails partway or your credential ends or stops reading what it carries, the connection ends early and an archive won't unpack. */
30505
30718
  200: {
30506
30719
  headers: {
30507
30720
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -30552,7 +30765,10 @@ interface operations {
30552
30765
  "application/json": components["schemas"]["TypeNotPermittedRefusal"];
30553
30766
  };
30554
30767
  };
30555
- /** @description - `export_entry_unrestorable`: with `format=archive`, a restore would refuse or skip an item or edge this instance holds, so no archive was sent. `details.entry` names it by `kind`, `id`, `type` and `field`, with the `code` a restore refuses it with or the reason it skips it. Correct it or its type, then export again. */
30768
+ /**
30769
+ * @description - `enforcement_unreadable`: with `format=archive`, the instance's enforcement settings do not read. Set them again with `PATCH /config`, then export again.
30770
+ * - `export_entry_unrestorable`: with `format=archive`, a restore would refuse or skip an item or edge, or its line is over the 64 MiB a restore reads. `details.entry` names it and why. Correct it or its type, then export again.
30771
+ */
30556
30772
  409: {
30557
30773
  headers: {
30558
30774
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
@@ -30561,7 +30777,7 @@ interface operations {
30561
30777
  [name: string]: unknown;
30562
30778
  };
30563
30779
  content: {
30564
- "application/json": components["schemas"]["ExportItemsUnrestorableRefusal"];
30780
+ "application/json": components["schemas"]["EnforcementUnreadableOrExportItemsUnrestorableRefusal"];
30565
30781
  };
30566
30782
  };
30567
30783
  /** @description `rate_limited`: you sent too many requests. Wait for the number of seconds in `Retry-After`, then try again. */
@@ -30598,6 +30814,7 @@ interface operations {
30598
30814
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
30599
30815
  "X-Request-ID": components["headers"]["X-Request-ID"];
30600
30816
  "X-Error-Code": components["headers"]["X-Error-Code"];
30817
+ "Retry-After": components["headers"]["Retry-After"];
30601
30818
  [name: string]: unknown;
30602
30819
  };
30603
30820
  content: {
@@ -30628,7 +30845,7 @@ interface operations {
30628
30845
  path?: never;
30629
30846
  cookie?: never;
30630
30847
  };
30631
- /** @description The archive file, as `GET /export?format=archive` returned it, with its `manifest.json`, `instance.ndjson.gz`, `items.ndjson.gz`, `edges.ndjson.gz` and `rows.ndjson.gz`. Only the build that wrote an archive is sure to read it. */
30848
+ /** @description The archive file, as `GET /export?format=archive` returned it, with its `manifest.json`, `files.ndjson.gz`, `instance.ndjson.gz`, `items.ndjson.gz`, `versions.ndjson.gz`, `edges.ndjson.gz` and `rows.ndjson.gz`, in that order. Only the build that wrote an archive is sure to read it. */
30632
30849
  requestBody: {
30633
30850
  content: {
30634
30851
  "application/x-tar": Blob | ArrayBuffer | ArrayBufferView | ReadableStream<Uint8Array>;
@@ -30658,6 +30875,10 @@ interface operations {
30658
30875
  };
30659
30876
  /** @description How many blobs the archive carried whose bytes match their hash, whether or not the instance already had them. */
30660
30877
  blobs_imported: number;
30878
+ /** @description The name of each archive entry Marfa doesn't know and skipped, such as one a tar tool adds, in the order the archive holds them. */
30879
+ entries_skipped: string[];
30880
+ /** @description Each kind of `instance.ndjson.gz` line Marfa doesn't know and skipped, such as one a later build of the same archive version adds, named once in the order the archive first holds it. */
30881
+ line_kinds_skipped: string[];
30661
30882
  /** @description The hashes of the blobs the archive names but doesn't carry with matching bytes, and that Marfa holds no copy of. Upload their bytes again with `POST /blobs` to restore them. */
30662
30883
  blobs_missing: string[];
30663
30884
  /** @description How many types Marfa registered. */
@@ -30690,6 +30911,12 @@ interface operations {
30690
30911
  settings_skipped: number;
30691
30912
  /** @description The names of the settings the archive carried that this instance does not have. Marfa left them out and stored nothing for them. */
30692
30913
  settings_dropped: string[];
30914
+ /** @description The reporting switches Marfa stored as on that send nothing, because no receiver is configured where Marfa runs: `heartbeat_enabled` and `error_reporting_enabled`. */
30915
+ settings_without_receiver: string[];
30916
+ /** @description The archive's enforcement settings Marfa stored, each one the instance didn't store. */
30917
+ enforcement_added: ("strict_mode" | "source_allowlist" | "source_filter")[];
30918
+ /** @description The archive's enforcement settings Marfa skipped, because the instance already stores each one or stores enforcement settings that don't read. */
30919
+ enforcement_skipped: ("strict_mode" | "source_allowlist" | "source_filter")[];
30693
30920
  /** @description How many connector state documents Marfa stored, for sources the instance held none for. */
30694
30921
  connector_states_added: number;
30695
30922
  /** @description How many connector state documents Marfa skipped because the instance already holds one for the source. */
@@ -30702,13 +30929,14 @@ interface operations {
30702
30929
  rows_imported: number;
30703
30930
  /** @description How many table rows Marfa skipped because their item was counted as a duplicate. */
30704
30931
  rows_skipped: number;
30705
- /** @description A sentence saying that an archive holds no sign-in, keys, apps or webhooks, so you set them up again on this instance. */
30706
- set_up_again: string;
30932
+ /** @description Each kind of thing an archive never holds, so the owner sets it up again on this instance: the owner's sign-in, keys, apps, webhooks, inbound endpoints, connector keys, the instance's addresses and name, and the logs. Then `enforcement` when the instance that wrote the archive couldn't read its enforcement settings, so the archive doesn't hold them. */
30933
+ not_restored: components["schemas"]["NotRestored"][];
30934
+ previous_instance?: components["schemas"]["PreviousInstance"];
30707
30935
  };
30708
30936
  };
30709
30937
  };
30710
30938
  /**
30711
- * @description - `validation_error`: the body isn't an archive, lacks or repeats an entry, is at another version, has an invalid line, or a line over 64 MiB.
30939
+ * @description - `validation_error`: the body isn't an archive, lacks or repeats an entry, is from before Marfa 0.1 or a later version, or has an invalid line or one over 64 MiB.
30712
30940
  * - `invalid_properties`: a `core` or `system` item breaks its type, or `strict_mode` refuses a property.
30713
30941
  * - `invalid_schema`, `inheritance_violation`, `property_shadows_field`: an archived type is refused as `POST /types` would refuse it.
30714
30942
  */
@@ -30832,6 +31060,7 @@ interface operations {
30832
31060
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
30833
31061
  "X-Request-ID": components["headers"]["X-Request-ID"];
30834
31062
  "X-Error-Code": components["headers"]["X-Error-Code"];
31063
+ "Retry-After": components["headers"]["Retry-After"];
30835
31064
  [name: string]: unknown;
30836
31065
  };
30837
31066
  content: {
@@ -31006,6 +31235,8 @@ interface operations {
31006
31235
  unremoved: number;
31007
31236
  /** @description The hashes of the files the backup names that no store could give when Marfa took it. A restore of the backup goes ahead without them, and `GET /health` answers `backups.status` `failing` until a backup is put without losing any. */
31008
31237
  blobs_lost: string[];
31238
+ /** @description How many files the backup names with no recorded copy in the destination, `blobs_lost` included. `blob-integrity` keeps the record true. A restore needs those files unless the restoring instance holds them or the backup lists them as lost. */
31239
+ blobs_waiting: number;
31009
31240
  };
31010
31241
  };
31011
31242
  };
@@ -31046,9 +31277,10 @@ interface operations {
31046
31277
  };
31047
31278
  };
31048
31279
  /**
31049
- * @description - `conflict`: a file the backup names was purged, or its copy where backups go was dropped, while the backup was read, or a backup by this name is already recorded. The next run takes the backup again.
31280
+ * @description - `conflict`: a file the backup names was purged or dropped while it was read, or the name is taken.
31281
+ * - `export_entry_unrestorable`: the backup would hold an item or edge that `GET /export` refuses, named in `details.entry`, so none was put.
31050
31282
  * - `housekeeping_job_running`: a backup is running. Try again once it ends.
31051
- * - `no_backup_destination`: the instance has nowhere to put backups, so it keeps none.
31283
+ * - `no_backup_destination`: the instance has nowhere to put backups.
31052
31284
  */
31053
31285
  409: {
31054
31286
  headers: {
@@ -31058,7 +31290,7 @@ interface operations {
31058
31290
  [name: string]: unknown;
31059
31291
  };
31060
31292
  content: {
31061
- "application/json": components["schemas"]["ConflictRefusal"] | components["schemas"]["HousekeepingJobRunningRefusal"] | components["schemas"]["NoBackupDestinationRefusal"];
31293
+ "application/json": components["schemas"]["ConflictRefusal"] | components["schemas"]["ExportItemsUnrestorableRefusal"] | components["schemas"]["HousekeepingJobRunningRefusal"] | components["schemas"]["NoBackupDestinationRefusal"];
31062
31294
  };
31063
31295
  };
31064
31296
  /** @description `rate_limited`: you sent too many requests. Wait for the number of seconds in `Retry-After`, then try again. */
@@ -31281,6 +31513,10 @@ interface operations {
31281
31513
  };
31282
31514
  /** @description How many blobs the archive carried whose bytes match their hash, whether or not the instance already had them. */
31283
31515
  blobs_imported: number;
31516
+ /** @description The name of each archive entry Marfa doesn't know and skipped, such as one a tar tool adds, in the order the archive holds them. */
31517
+ entries_skipped: string[];
31518
+ /** @description Each kind of `instance.ndjson.gz` line Marfa doesn't know and skipped, such as one a later build of the same archive version adds, named once in the order the archive first holds it. */
31519
+ line_kinds_skipped: string[];
31284
31520
  /** @description The hashes of the blobs the archive names but doesn't carry with matching bytes, and that Marfa holds no copy of. Upload their bytes again with `POST /blobs` to restore them. */
31285
31521
  blobs_missing: string[];
31286
31522
  /** @description How many types Marfa registered. */
@@ -31313,6 +31549,12 @@ interface operations {
31313
31549
  settings_skipped: number;
31314
31550
  /** @description The names of the settings the archive carried that this instance does not have. Marfa left them out and stored nothing for them. */
31315
31551
  settings_dropped: string[];
31552
+ /** @description The reporting switches Marfa stored as on that send nothing, because no receiver is configured where Marfa runs: `heartbeat_enabled` and `error_reporting_enabled`. */
31553
+ settings_without_receiver: string[];
31554
+ /** @description The archive's enforcement settings Marfa stored, each one the instance didn't store. */
31555
+ enforcement_added: ("strict_mode" | "source_allowlist" | "source_filter")[];
31556
+ /** @description The archive's enforcement settings Marfa skipped, because the instance already stores each one or stores enforcement settings that don't read. */
31557
+ enforcement_skipped: ("strict_mode" | "source_allowlist" | "source_filter")[];
31316
31558
  /** @description How many connector state documents Marfa stored, for sources the instance held none for. */
31317
31559
  connector_states_added: number;
31318
31560
  /** @description How many connector state documents Marfa skipped because the instance already holds one for the source. */
@@ -31325,8 +31567,9 @@ interface operations {
31325
31567
  rows_imported: number;
31326
31568
  /** @description How many table rows Marfa skipped because their item was counted as a duplicate. */
31327
31569
  rows_skipped: number;
31328
- /** @description A sentence saying that an archive holds no sign-in, keys, apps or webhooks, so you set them up again on this instance. */
31329
- set_up_again: string;
31570
+ /** @description Each kind of thing an archive never holds, so the owner sets it up again on this instance: the owner's sign-in, keys, apps, webhooks, inbound endpoints, connector keys, the instance's addresses and name, and the logs. Then `enforcement` when the instance that wrote the archive couldn't read its enforcement settings, so the archive doesn't hold them. */
31571
+ not_restored: components["schemas"]["NotRestored"][];
31572
+ previous_instance?: components["schemas"]["PreviousInstance"];
31330
31573
  /** @description The backup Marfa restored. */
31331
31574
  backup: {
31332
31575
  /** @description The backup's name. */
@@ -31341,7 +31584,7 @@ interface operations {
31341
31584
  };
31342
31585
  };
31343
31586
  /**
31344
- * @description - `validation_error`: the body isn't an archive, lacks or repeats an entry, is at another version, has an invalid line, or a line over 64 MiB.
31587
+ * @description - `validation_error`: the body isn't an archive, lacks or repeats an entry, is from before Marfa 0.1 or a later version, or has an invalid line or one over 64 MiB.
31345
31588
  * - `invalid_properties`: a `core` or `system` item breaks its type, or `strict_mode` refuses a property.
31346
31589
  * - `invalid_schema`, `inheritance_violation`, `property_shadows_field`: an archived type is refused as `POST /types` would refuse it.
31347
31590
  */
@@ -31393,7 +31636,7 @@ interface operations {
31393
31636
  };
31394
31637
  };
31395
31638
  /**
31396
- * @description - `backup_files_missing`: neither the folder nor this instance holds files it needs, named in `details.missing_blobs`. Nothing was restored.
31639
+ * @description - `backup_files_missing`: neither the destination nor this instance holds files it needs, in `details.missing_blobs`. Nothing was restored.
31397
31640
  * - `conflict`: the archive redefines a type registered here differently, carries a core edge type, or reuses a snapshot ID.
31398
31641
  * - `link_taken`: the archive's type names a `link_field` two items share.
31399
31642
  * - `no_backup_destination`: there is nowhere to put backups.
@@ -31467,6 +31710,7 @@ interface operations {
31467
31710
  "X-Marfa-Contract": components["headers"]["X-Marfa-Contract"];
31468
31711
  "X-Request-ID": components["headers"]["X-Request-ID"];
31469
31712
  "X-Error-Code": components["headers"]["X-Error-Code"];
31713
+ "Retry-After": components["headers"]["Retry-After"];
31470
31714
  [name: string]: unknown;
31471
31715
  };
31472
31716
  content: {