@onesi/genesis 0.2.7 → 0.2.8

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.
@@ -8040,6 +8040,410 @@ export interface paths {
8040
8040
  patch?: never;
8041
8041
  trace?: never;
8042
8042
  };
8043
+ "/v1/fleets/seats/plans": {
8044
+ parameters: {
8045
+ query?: never;
8046
+ header?: never;
8047
+ path?: never;
8048
+ cookie?: never;
8049
+ };
8050
+ /**
8051
+ * List the seat plans (helper, operator, always_on)
8052
+ * @description Display data only. Each plan names its credit allowance and computer entitlement; the price is shown for information and is never charged by Fleets.
8053
+ */
8054
+ get: operations["fleets_listSeatPlans"];
8055
+ put?: never;
8056
+ post?: never;
8057
+ delete?: never;
8058
+ options?: never;
8059
+ head?: never;
8060
+ patch?: never;
8061
+ trace?: never;
8062
+ };
8063
+ "/v1/fleets/seats": {
8064
+ parameters: {
8065
+ query?: never;
8066
+ header?: never;
8067
+ path?: never;
8068
+ cookie?: never;
8069
+ };
8070
+ /** List the organization's agent seats */
8071
+ get: operations["fleets_listSeats"];
8072
+ put?: never;
8073
+ /**
8074
+ * Hire an agent seat
8075
+ * @description Creates a persistent Henry agent (files memory, the organization's connection model) with a Henry purse and the plan's computer entitlement. With fund omitted or true the purse opens at the plan's credits; with fund false it opens empty and is funded by top-up. With pool_id the seat's purse is carved under that pool (uncapped, bounded by the pool) and its computer minutes count against the pool; a pooled seat takes no borrow_ceiling_credits (422). Reusing idempotency_key with the same body returns the first seat; with a different body it is a 409 (code idempotency_conflict).
8076
+ */
8077
+ post: operations["fleets_hireSeat"];
8078
+ delete?: never;
8079
+ options?: never;
8080
+ head?: never;
8081
+ patch?: never;
8082
+ trace?: never;
8083
+ };
8084
+ "/v1/fleets/seats/{seat_id}": {
8085
+ parameters: {
8086
+ query?: never;
8087
+ header?: never;
8088
+ path: {
8089
+ seat_id: components["parameters"]["Fleets.SeatId"];
8090
+ };
8091
+ cookie?: never;
8092
+ };
8093
+ /** Read an agent seat, its purse and its computer use */
8094
+ get: operations["fleets_getSeat"];
8095
+ put?: never;
8096
+ post?: never;
8097
+ delete?: never;
8098
+ options?: never;
8099
+ head?: never;
8100
+ /**
8101
+ * Rename a seat or change its borrow ceiling
8102
+ * @description Raising borrow_ceiling_credits on a seat paused with purse_empty un-parks it. A pooled seat takes no borrow_ceiling_credits (422).
8103
+ */
8104
+ patch: operations["fleets_updateSeat"];
8105
+ trace?: never;
8106
+ };
8107
+ "/v1/fleets/seats/{seat_id}/top-up": {
8108
+ parameters: {
8109
+ query?: never;
8110
+ header?: never;
8111
+ path: {
8112
+ seat_id: components["parameters"]["Fleets.SeatId"];
8113
+ };
8114
+ cookie?: never;
8115
+ };
8116
+ get?: never;
8117
+ put?: never;
8118
+ /**
8119
+ * Add credits to a seat's purse
8120
+ * @description Repays any overdraft first, then adds to the available credits. A seat's computer minutes come from its plan (upgrade it, or use a pool). A seat paused with purse_empty resumes when credits are available again. Reusing idempotency_key returns the first result. A pooled seat answers 409 (code pooled_seat); top up the pool.
8121
+ */
8122
+ post: operations["fleets_topUpSeat"];
8123
+ delete?: never;
8124
+ options?: never;
8125
+ head?: never;
8126
+ patch?: never;
8127
+ trace?: never;
8128
+ };
8129
+ "/v1/fleets/seats/{seat_id}/upgrade": {
8130
+ parameters: {
8131
+ query?: never;
8132
+ header?: never;
8133
+ path: {
8134
+ seat_id: components["parameters"]["Fleets.SeatId"];
8135
+ };
8136
+ cookie?: never;
8137
+ };
8138
+ get?: never;
8139
+ put?: never;
8140
+ /**
8141
+ * Upgrade a seat to a larger plan
8142
+ * @description Adds the allowance difference and the larger computer entitlement. There is no downgrade (409).
8143
+ */
8144
+ post: operations["fleets_upgradeSeat"];
8145
+ delete?: never;
8146
+ options?: never;
8147
+ head?: never;
8148
+ patch?: never;
8149
+ trace?: never;
8150
+ };
8151
+ "/v1/fleets/seats/{seat_id}/hold": {
8152
+ parameters: {
8153
+ query?: never;
8154
+ header?: never;
8155
+ path: {
8156
+ seat_id: components["parameters"]["Fleets.SeatId"];
8157
+ };
8158
+ cookie?: never;
8159
+ };
8160
+ get?: never;
8161
+ put?: never;
8162
+ /** Hold a seat (no new work; a running task is cancelled with a signed receipt) */
8163
+ post: operations["fleets_holdSeat"];
8164
+ delete?: never;
8165
+ options?: never;
8166
+ head?: never;
8167
+ patch?: never;
8168
+ trace?: never;
8169
+ };
8170
+ "/v1/fleets/seats/{seat_id}/resume": {
8171
+ parameters: {
8172
+ query?: never;
8173
+ header?: never;
8174
+ path: {
8175
+ seat_id: components["parameters"]["Fleets.SeatId"];
8176
+ };
8177
+ cookie?: never;
8178
+ };
8179
+ get?: never;
8180
+ put?: never;
8181
+ /** Resume a held or killed seat */
8182
+ post: operations["fleets_resumeSeat"];
8183
+ delete?: never;
8184
+ options?: never;
8185
+ head?: never;
8186
+ patch?: never;
8187
+ trace?: never;
8188
+ };
8189
+ "/v1/fleets/seats/{seat_id}/kill": {
8190
+ parameters: {
8191
+ query?: never;
8192
+ header?: never;
8193
+ path: {
8194
+ seat_id: components["parameters"]["Fleets.SeatId"];
8195
+ };
8196
+ cookie?: never;
8197
+ };
8198
+ get?: never;
8199
+ put?: never;
8200
+ /** Kill a seat (cancel running work now and stop the agent; resume is allowed) */
8201
+ post: operations["fleets_killSeat"];
8202
+ delete?: never;
8203
+ options?: never;
8204
+ head?: never;
8205
+ patch?: never;
8206
+ trace?: never;
8207
+ };
8208
+ "/v1/fleets/seats/{seat_id}/release": {
8209
+ parameters: {
8210
+ query?: never;
8211
+ header?: never;
8212
+ path: {
8213
+ seat_id: components["parameters"]["Fleets.SeatId"];
8214
+ };
8215
+ cookie?: never;
8216
+ };
8217
+ get?: never;
8218
+ put?: never;
8219
+ /**
8220
+ * Release a seat (settle the purse, delete the agent; terminal)
8221
+ * @description Answers the settlement (returned_credits, returned_computer_minutes, unpaid_overdraft_credits, spent_credits, agent_deleted, released_at). Idempotent by seat ID; a repeat returns the same settlement. While it runs the seat is releasing, and every other write answers 409. 409 tasks_settling while work is outstanding; retry.
8222
+ */
8223
+ post: operations["fleets_releaseSeat"];
8224
+ delete?: never;
8225
+ options?: never;
8226
+ head?: never;
8227
+ patch?: never;
8228
+ trace?: never;
8229
+ };
8230
+ "/v1/fleets/seats/{seat_id}/tasks": {
8231
+ parameters: {
8232
+ query?: never;
8233
+ header?: never;
8234
+ path: {
8235
+ seat_id: components["parameters"]["Fleets.SeatId"];
8236
+ };
8237
+ cookie?: never;
8238
+ };
8239
+ /** List a seat's tasks */
8240
+ get: operations["fleets_listSeatTasks"];
8241
+ put?: never;
8242
+ /**
8243
+ * Give a seat a task
8244
+ * @description Reserves the task's expected credits and runs it on the seat's agent. A computer task opens a Panes or Shells session through the Genesis gateway and needs an approval unless approve_computer is true. 402 (code purse_empty) when the purse and borrow ceiling are exhausted; 403 (code computer_not_entitled) for a computer task on a helper seat; 409 (code seat_not_active) when the seat is held, killed, releasing or released. Other codes: computer_minutes_exhausted, computer_not_connected, model_unpriced. kind defaults to research. A computer task reserves its credits when its open_computer approval is granted.
8245
+ */
8246
+ post: operations["fleets_submitSeatTask"];
8247
+ delete?: never;
8248
+ options?: never;
8249
+ head?: never;
8250
+ patch?: never;
8251
+ trace?: never;
8252
+ };
8253
+ "/v1/fleets/seats/{seat_id}/tasks/{task_id}": {
8254
+ parameters: {
8255
+ query?: never;
8256
+ header?: never;
8257
+ path: {
8258
+ seat_id: components["parameters"]["Fleets.SeatId"];
8259
+ task_id: components["parameters"]["Fleets.SeatTaskId"];
8260
+ };
8261
+ cookie?: never;
8262
+ };
8263
+ /**
8264
+ * Read a seat task, its approvals and its credits
8265
+ * @description The signed Henry receipt is at receipt_url (GET /v1/fleets/tasks/{task_id}/receipt).
8266
+ */
8267
+ get: operations["fleets_getSeatTask"];
8268
+ put?: never;
8269
+ post?: never;
8270
+ delete?: never;
8271
+ options?: never;
8272
+ head?: never;
8273
+ patch?: never;
8274
+ trace?: never;
8275
+ };
8276
+ "/v1/fleets/seats/{seat_id}/tasks/{task_id}/approvals/{approval_id}": {
8277
+ parameters: {
8278
+ query?: never;
8279
+ header?: never;
8280
+ path: {
8281
+ seat_id: components["parameters"]["Fleets.SeatId"];
8282
+ task_id: components["parameters"]["Fleets.SeatTaskId"];
8283
+ approval_id: string;
8284
+ };
8285
+ cookie?: never;
8286
+ };
8287
+ get?: never;
8288
+ put?: never;
8289
+ /**
8290
+ * Approve or deny an action a seat task is waiting on
8291
+ * @description An approval that is already decided answers 200 with the task.
8292
+ */
8293
+ post: operations["fleets_decideSeatTaskApproval"];
8294
+ delete?: never;
8295
+ options?: never;
8296
+ head?: never;
8297
+ patch?: never;
8298
+ trace?: never;
8299
+ };
8300
+ "/v1/fleets/seats/{seat_id}/ledger": {
8301
+ parameters: {
8302
+ query?: never;
8303
+ header?: never;
8304
+ path: {
8305
+ seat_id: components["parameters"]["Fleets.SeatId"];
8306
+ };
8307
+ cookie?: never;
8308
+ };
8309
+ /** Read a seat's purse ledger (hire, reserve, commit, top_up, borrow, release) */
8310
+ get: operations["fleets_getSeatLedger"];
8311
+ put?: never;
8312
+ post?: never;
8313
+ delete?: never;
8314
+ options?: never;
8315
+ head?: never;
8316
+ patch?: never;
8317
+ trace?: never;
8318
+ };
8319
+ "/v1/fleets/pools": {
8320
+ parameters: {
8321
+ query?: never;
8322
+ header?: never;
8323
+ path?: never;
8324
+ cookie?: never;
8325
+ };
8326
+ /** List the organization's seat pools */
8327
+ get: operations["fleets_listPools"];
8328
+ put?: never;
8329
+ /**
8330
+ * Create a seat pool (a shared top purse and computer minutes)
8331
+ * @description Seats hired with this pool_id draw credits and computer minutes from it. Reusing idempotency_key with the same body returns the first pool.
8332
+ */
8333
+ post: operations["fleets_createPool"];
8334
+ delete?: never;
8335
+ options?: never;
8336
+ head?: never;
8337
+ patch?: never;
8338
+ trace?: never;
8339
+ };
8340
+ "/v1/fleets/pools/{pool_id}": {
8341
+ parameters: {
8342
+ query?: never;
8343
+ header?: never;
8344
+ path: {
8345
+ pool_id: components["parameters"]["Fleets.PoolId"];
8346
+ };
8347
+ cookie?: never;
8348
+ };
8349
+ /** Read a seat pool */
8350
+ get: operations["fleets_getPool"];
8351
+ put?: never;
8352
+ post?: never;
8353
+ delete?: never;
8354
+ options?: never;
8355
+ head?: never;
8356
+ patch?: never;
8357
+ trace?: never;
8358
+ };
8359
+ "/v1/fleets/pools/{pool_id}/top-up": {
8360
+ parameters: {
8361
+ query?: never;
8362
+ header?: never;
8363
+ path: {
8364
+ pool_id: components["parameters"]["Fleets.PoolId"];
8365
+ };
8366
+ cookie?: never;
8367
+ };
8368
+ get?: never;
8369
+ put?: never;
8370
+ /**
8371
+ * Add credits (and optionally computer minutes) to a pool
8372
+ * @description At least one of credits and computer_minutes must be above 0 (422 otherwise).
8373
+ */
8374
+ post: operations["fleets_topUpPool"];
8375
+ delete?: never;
8376
+ options?: never;
8377
+ head?: never;
8378
+ patch?: never;
8379
+ trace?: never;
8380
+ };
8381
+ "/v1/fleets/pools/{pool_id}/release": {
8382
+ parameters: {
8383
+ query?: never;
8384
+ header?: never;
8385
+ path: {
8386
+ pool_id: components["parameters"]["Fleets.PoolId"];
8387
+ };
8388
+ cookie?: never;
8389
+ };
8390
+ get?: never;
8391
+ put?: never;
8392
+ /**
8393
+ * Release a pool (settle its purse; terminal)
8394
+ * @description Answers the settlement (returned_credits, returned_computer_minutes, unpaid_overdraft_credits, spent_credits, released_at). Idempotent by pool ID. 409 pool_has_seats while seats under it are not released.
8395
+ */
8396
+ post: operations["fleets_releasePool"];
8397
+ delete?: never;
8398
+ options?: never;
8399
+ head?: never;
8400
+ patch?: never;
8401
+ trace?: never;
8402
+ };
8403
+ "/v1/fleets/pools/{pool_id}/ledger": {
8404
+ parameters: {
8405
+ query?: never;
8406
+ header?: never;
8407
+ path: {
8408
+ pool_id: components["parameters"]["Fleets.PoolId"];
8409
+ };
8410
+ cookie?: never;
8411
+ };
8412
+ /** Read a pool's purse ledger */
8413
+ get: operations["fleets_getPoolLedger"];
8414
+ put?: never;
8415
+ post?: never;
8416
+ delete?: never;
8417
+ options?: never;
8418
+ head?: never;
8419
+ patch?: never;
8420
+ trace?: never;
8421
+ };
8422
+ "/v1/fleets/computer-connection": {
8423
+ parameters: {
8424
+ query?: never;
8425
+ header?: never;
8426
+ path?: never;
8427
+ cookie?: never;
8428
+ };
8429
+ /**
8430
+ * Read whether the organization's computer credential is set
8431
+ * @description Secret-free status. The credential is never returned.
8432
+ */
8433
+ get: operations["fleets_getComputerConnection"];
8434
+ /**
8435
+ * Store the organization's computer credential, encrypted with Genesis KMS
8436
+ * @description The key that seat computer tasks use to call Panes and Shells through the Genesis gateway. It is encrypted like the Foundry connection and never returned.
8437
+ */
8438
+ put: operations["fleets_putComputerConnection"];
8439
+ post?: never;
8440
+ /** Remove the organization's computer credential */
8441
+ delete: operations["fleets_deleteComputerConnection"];
8442
+ options?: never;
8443
+ head?: never;
8444
+ patch?: never;
8445
+ trace?: never;
8446
+ };
8043
8447
  "/v1/flocks/nodes/enroll": {
8044
8448
  parameters: {
8045
8449
  query?: never;
@@ -29850,6 +30254,28 @@ export interface components {
29850
30254
  custody?: "reveal" | "blinds";
29851
30255
  /** Format: date-time */
29852
30256
  expires_at?: string;
30257
+ binding?: components["schemas"]["Iam.ApiKeyBindingRequest"];
30258
+ };
30259
+ /** @description The tenant the key is bound to, chosen once at creation. Omitted fields mean the organization's default project, its workspace and sandbox. A key's environment never changes: a Live key needs resourceEnvironment live here. */
30260
+ "Iam.ApiKeyBindingRequest": {
30261
+ projectId?: string;
30262
+ workspaceId?: string;
30263
+ /** @enum {string} */
30264
+ resourceEnvironment?: "sandbox" | "live";
30265
+ };
30266
+ "Iam.ApiKeyBinding": {
30267
+ organizationId: string;
30268
+ projectId: string;
30269
+ platformId: string;
30270
+ workspaceId?: string | null;
30271
+ fleetId?: string | null;
30272
+ /** @enum {string} */
30273
+ resourceEnvironment: "sandbox" | "live";
30274
+ /**
30275
+ * @description key: recorded at creation. organization_default: no recorded binding; the organization default project in sandbox.
30276
+ * @enum {string}
30277
+ */
30278
+ source: "key" | "organization_default";
29853
30279
  };
29854
30280
  "Iam.CreateApiKeyResponse": {
29855
30281
  id: string;
@@ -29862,6 +30288,7 @@ export interface components {
29862
30288
  expires_at?: string | null;
29863
30289
  /** Format: date-time */
29864
30290
  created_at: string;
30291
+ binding?: components["schemas"]["Iam.ApiKeyBinding"] | null;
29865
30292
  };
29866
30293
  "Iam.ApiKeyMetadata": {
29867
30294
  id: string;
@@ -29876,6 +30303,7 @@ export interface components {
29876
30303
  created_at: string;
29877
30304
  /** Format: date-time */
29878
30305
  updated_at: string;
30306
+ binding?: components["schemas"]["Iam.ApiKeyBinding"] | null;
29879
30307
  };
29880
30308
  "Iam.ApiKeyList": {
29881
30309
  /** @enum {string} */
@@ -31097,6 +31525,253 @@ export interface components {
31097
31525
  /** @description Pass as after to read the next page */
31098
31526
  next_after: number | null;
31099
31527
  };
31528
+ /** @enum {string} */
31529
+ "Fleets.SeatType": "helper" | "operator" | "always_on";
31530
+ /** @description Stable key (required); reuse it to replay instead of acting twice */
31531
+ "Fleets.IdempotencyKey": string;
31532
+ "Fleets.SeatPlan": {
31533
+ type: components["schemas"]["Fleets.SeatType"];
31534
+ /** @description Purse allowance in credits (1 credit = 1 US cent of cost) */
31535
+ credits: number;
31536
+ /** @description Computer entitlement in minutes (0 for helper) */
31537
+ computer_minutes: number;
31538
+ /** @description Whether the plan includes a computer */
31539
+ computer?: boolean;
31540
+ /** @description Display only; Fleets never charges money */
31541
+ price_usd?: number;
31542
+ };
31543
+ "Fleets.SeatPlanList": {
31544
+ plans: components["schemas"]["Fleets.SeatPlan"][];
31545
+ /** @description What one credit is */
31546
+ credit?: {
31547
+ unit?: string;
31548
+ value_usd?: number;
31549
+ meaning?: string;
31550
+ };
31551
+ };
31552
+ "Fleets.Purse": {
31553
+ /** @description Plan allowance in credits (seats) */
31554
+ allowance?: number;
31555
+ /** @description Credits granted so far (hire and top-ups; 0 for a pooled seat) */
31556
+ granted?: number;
31557
+ /** @description Credits available now (for a pooled seat, the pool's) */
31558
+ available: number;
31559
+ reserved: number;
31560
+ spent: number;
31561
+ /** @description Credits borrowed and not yet repaid */
31562
+ overdraft: number;
31563
+ /** @description Overdraft allowed */
31564
+ borrow_ceiling?: number;
31565
+ /** @description Credits carved out to seats (pools) */
31566
+ carved?: number;
31567
+ /** @description The pool a pooled seat draws on */
31568
+ pool_id?: string;
31569
+ };
31570
+ "Fleets.Computer": {
31571
+ entitled_minutes: number;
31572
+ used_minutes: number;
31573
+ };
31574
+ "Fleets.Seat": {
31575
+ id: string;
31576
+ /** @enum {string} */
31577
+ object: "fleets.seat";
31578
+ type: components["schemas"]["Fleets.SeatType"];
31579
+ name?: string;
31580
+ /**
31581
+ * @description releasing: between release start and released; every write but release answers 409
31582
+ * @enum {string}
31583
+ */
31584
+ state: "active" | "paused" | "held" | "killed" | "releasing" | "released";
31585
+ /** @description Why the seat is paused, for example purse_empty */
31586
+ pause_reason?: string;
31587
+ agent_id?: string | null;
31588
+ pool_id?: string | null;
31589
+ purse: components["schemas"]["Fleets.Purse"];
31590
+ computer: components["schemas"]["Fleets.Computer"];
31591
+ release?: components["schemas"]["Fleets.SeatRelease"];
31592
+ created_at?: string;
31593
+ updated_at?: string;
31594
+ };
31595
+ "Fleets.SeatStop": components["schemas"]["Fleets.Seat"] & {
31596
+ /** @description Tasks cancelled with a signed cancelled receipt */
31597
+ cancelled_tasks: string[];
31598
+ /** @description The agent's state after kill (kill only) */
31599
+ agent_state?: string;
31600
+ };
31601
+ "Fleets.SeatRelease": {
31602
+ id: string;
31603
+ /** @enum {string} */
31604
+ object: "fleets.seat.release";
31605
+ seat_id?: string;
31606
+ /** @enum {string} */
31607
+ state: "released";
31608
+ /** @description Credits returned when the purse was settled */
31609
+ returned_credits: number;
31610
+ returned_computer_minutes: number;
31611
+ /** @description Overdraft left unpaid at release; the billing ledger settles it */
31612
+ unpaid_overdraft_credits?: number;
31613
+ spent_credits?: number;
31614
+ pool_id?: string | null;
31615
+ agent_deleted?: boolean;
31616
+ released_at?: string;
31617
+ };
31618
+ "Fleets.SeatList": {
31619
+ seats: components["schemas"]["Fleets.Seat"][];
31620
+ };
31621
+ "Fleets.SeatHireInput": {
31622
+ type: components["schemas"]["Fleets.SeatType"];
31623
+ name?: string;
31624
+ /**
31625
+ * @description Overdraft the seat may run up before it pauses; not with pool_id (422)
31626
+ * @default 0
31627
+ */
31628
+ borrow_ceiling_credits?: number;
31629
+ /** @description Carve the seat's purse under this pool; a pooled seat is funded by its pool, so fund: true with pool_id is a 422 */
31630
+ pool_id?: string;
31631
+ /**
31632
+ * @description false opens the purse empty, to be funded by top-up
31633
+ * @default true
31634
+ */
31635
+ fund?: boolean;
31636
+ idempotency_key: components["schemas"]["Fleets.IdempotencyKey"];
31637
+ };
31638
+ "Fleets.SeatUpdateInput": {
31639
+ name?: string;
31640
+ /** @description Not for a pooled seat (422) */
31641
+ borrow_ceiling_credits?: number;
31642
+ };
31643
+ "Fleets.SeatTopUpInput": {
31644
+ credits: number;
31645
+ idempotency_key: components["schemas"]["Fleets.IdempotencyKey"];
31646
+ };
31647
+ "Fleets.SeatUpgradeInput": {
31648
+ type: components["schemas"]["Fleets.SeatType"];
31649
+ };
31650
+ "Fleets.SeatTaskInput": {
31651
+ /** @description Task text: 1-65536 UTF-8 bytes without NUL. */
31652
+ input: string;
31653
+ /**
31654
+ * @default research
31655
+ * @enum {string}
31656
+ */
31657
+ kind?: "research" | "computer";
31658
+ timeout_seconds?: number;
31659
+ /**
31660
+ * @description Open the computer without a separate approval
31661
+ * @default false
31662
+ */
31663
+ approve_computer?: boolean;
31664
+ idempotency_key: components["schemas"]["Fleets.IdempotencyKey"];
31665
+ };
31666
+ "Fleets.SeatApproval": {
31667
+ id: string;
31668
+ /** @description For example open_computer */
31669
+ action?: string;
31670
+ detail?: string;
31671
+ status: string;
31672
+ };
31673
+ "Fleets.SeatTask": {
31674
+ /** Format: uuid */
31675
+ task_id: string;
31676
+ /** @enum {string} */
31677
+ object?: "fleets.seat.task";
31678
+ seat_id: string;
31679
+ /** @enum {string} */
31680
+ kind: "research" | "computer";
31681
+ /** @enum {string} */
31682
+ state: "pending" | "running" | "awaiting_approval" | "completed" | "failed" | "cancelled" | "timed_out";
31683
+ output?: string | null;
31684
+ error?: string | null;
31685
+ approvals?: components["schemas"]["Fleets.SeatApproval"][];
31686
+ credits?: {
31687
+ reserved?: number;
31688
+ /** @description null until the task settles */
31689
+ charged?: number | null;
31690
+ borrowed?: number;
31691
+ };
31692
+ computer_minutes?: number;
31693
+ computer_minutes_allowed?: number;
31694
+ /** @description The task's credits are committed and the rest returned */
31695
+ settled?: boolean;
31696
+ receipt_url?: string;
31697
+ submitted_at?: string;
31698
+ completed_at?: string | null;
31699
+ };
31700
+ "Fleets.SeatTaskList": {
31701
+ tasks: components["schemas"]["Fleets.SeatTask"][];
31702
+ };
31703
+ "Fleets.SeatApprovalDecision": {
31704
+ /** @enum {string} */
31705
+ decision: "approve" | "deny";
31706
+ };
31707
+ "Fleets.SeatLedgerEntry": {
31708
+ seq: number;
31709
+ at_ms?: number;
31710
+ /** @description hire, pool_open, reserve, commit, top_up, borrow, repay, upgrade, hold, resume, kill or release */
31711
+ kind: string;
31712
+ credits: number;
31713
+ minutes?: number;
31714
+ task_id?: string;
31715
+ available?: number;
31716
+ reserved?: number;
31717
+ spent?: number;
31718
+ overdraft?: number;
31719
+ };
31720
+ "Fleets.SeatLedger": {
31721
+ /** @description The seat or pool ID */
31722
+ id?: string;
31723
+ entries: components["schemas"]["Fleets.SeatLedgerEntry"][];
31724
+ };
31725
+ "Fleets.Pool": {
31726
+ id: string;
31727
+ /** @enum {string} */
31728
+ object: "fleets.pool";
31729
+ name?: string;
31730
+ state?: string;
31731
+ purse: components["schemas"]["Fleets.Purse"];
31732
+ computer: components["schemas"]["Fleets.Computer"];
31733
+ /** @description Seats under the pool that are not released */
31734
+ seats?: string[];
31735
+ release?: components["schemas"]["Fleets.PoolRelease"];
31736
+ created_at?: string;
31737
+ updated_at?: string;
31738
+ };
31739
+ "Fleets.PoolRelease": {
31740
+ id: string;
31741
+ /** @enum {string} */
31742
+ object: "fleets.pool.release";
31743
+ pool_id?: string;
31744
+ /** @enum {string} */
31745
+ state: "released";
31746
+ returned_credits: number;
31747
+ returned_computer_minutes: number;
31748
+ unpaid_overdraft_credits?: number;
31749
+ spent_credits?: number;
31750
+ released_at?: string;
31751
+ };
31752
+ "Fleets.PoolList": {
31753
+ pools: components["schemas"]["Fleets.Pool"][];
31754
+ };
31755
+ "Fleets.PoolCreateInput": {
31756
+ name?: string;
31757
+ credits: number;
31758
+ /** @default 0 */
31759
+ computer_minutes?: number;
31760
+ idempotency_key: components["schemas"]["Fleets.IdempotencyKey"];
31761
+ };
31762
+ "Fleets.PoolTopUpInput": {
31763
+ credits: number;
31764
+ computer_minutes?: number;
31765
+ idempotency_key: components["schemas"]["Fleets.IdempotencyKey"];
31766
+ };
31767
+ "Fleets.ComputerConnection": {
31768
+ connected: boolean;
31769
+ updated_at?: number;
31770
+ };
31771
+ "Fleets.ComputerConnectionInput": {
31772
+ /** @description Genesis key of this organization with panes:write and shells:write; 1-4096 UTF-8 bytes without CR, LF or NUL. Never returned. */
31773
+ api_key: string;
31774
+ };
31100
31775
  "Flocks.NativeCredential": {
31101
31776
  /** Format: uuid */
31102
31777
  node_id: string;
@@ -40182,6 +40857,9 @@ export interface components {
40182
40857
  "Beacons.DashboardResourceFamily": "gateways" | "private-gateways" | "sims";
40183
40858
  /** @description Nonzero lowercase record UUID returned by create or list. */
40184
40859
  "Beacons.DashboardResourceId": string;
40860
+ "Fleets.SeatId": string;
40861
+ "Fleets.SeatTaskId": string;
40862
+ "Fleets.PoolId": string;
40185
40863
  "Runner.JobId": components["schemas"]["Runner.SafeOpaqueRef"];
40186
40864
  /** @description `ended` also lists ended Rigs (`cancelled`, `terminated`, `failed` or `succeeded`; `orphaned` counts as active). Omit it to list live Rigs only. */
40187
40865
  "Rigs.IncludeEnded": "ended";
@@ -58583,7 +59261,7 @@ export interface operations {
58583
59261
  path: {
58584
59262
  /** @description The organization you are signed in to */
58585
59263
  org_id: components["parameters"]["Iam.DirectoryOrgIdPath"];
58586
- /** @description The agent DID (did:oas:<kind>:<ulid>) */
59264
+ /** @description The agent's DID (did:oas:<kind>:<ulid>) or its IAM id (a_<ulid>, the `id` every agent list returns); both name the same agent. */
58587
59265
  agent_did: string;
58588
59266
  };
58589
59267
  cookie?: never;
@@ -58613,7 +59291,7 @@ export interface operations {
58613
59291
  path: {
58614
59292
  /** @description The organization you are signed in to */
58615
59293
  org_id: components["parameters"]["Iam.DirectoryOrgIdPath"];
58616
- /** @description The agent DID (did:oas:<kind>:<ulid>) */
59294
+ /** @description The agent's DID (did:oas:<kind>:<ulid>) or its IAM id (a_<ulid>, the `id` every agent list returns); both name the same agent. */
58617
59295
  agent_did: string;
58618
59296
  };
58619
59297
  cookie?: never;
@@ -58643,7 +59321,7 @@ export interface operations {
58643
59321
  path: {
58644
59322
  /** @description The organization you are signed in to */
58645
59323
  org_id: components["parameters"]["Iam.DirectoryOrgIdPath"];
58646
- /** @description The agent DID (did:oas:<kind>:<ulid>) */
59324
+ /** @description The agent's DID (did:oas:<kind>:<ulid>) or its IAM id (a_<ulid>, the `id` every agent list returns); both name the same agent. */
58647
59325
  agent_did: string;
58648
59326
  };
58649
59327
  cookie?: never;
@@ -58673,7 +59351,7 @@ export interface operations {
58673
59351
  path: {
58674
59352
  /** @description The organization you are signed in to */
58675
59353
  org_id: components["parameters"]["Iam.DirectoryOrgIdPath"];
58676
- /** @description The agent DID (did:oas:<kind>:<ulid>) */
59354
+ /** @description The agent's DID (did:oas:<kind>:<ulid>) or its IAM id (a_<ulid>, the `id` every agent list returns); both name the same agent. */
58677
59355
  agent_did: string;
58678
59356
  };
58679
59357
  cookie?: never;
@@ -58703,7 +59381,7 @@ export interface operations {
58703
59381
  path: {
58704
59382
  /** @description The organization you are signed in to */
58705
59383
  org_id: components["parameters"]["Iam.DirectoryOrgIdPath"];
58706
- /** @description The agent DID (did:oas:<kind>:<ulid>) */
59384
+ /** @description The agent DID (did:oas:<kind>:<ulid>). This operation answers with the DID only, so it takes only the DID, not the a_ id. */
58707
59385
  agent_did: string;
58708
59386
  };
58709
59387
  cookie?: never;
@@ -58737,7 +59415,7 @@ export interface operations {
58737
59415
  path: {
58738
59416
  /** @description The organization you are signed in to */
58739
59417
  org_id: components["parameters"]["Iam.DirectoryOrgIdPath"];
58740
- /** @description The agent DID (did:oas:<kind>:<ulid>) */
59418
+ /** @description The agent's DID (did:oas:<kind>:<ulid>) or its IAM id (a_<ulid>, the `id` every agent list returns); both name the same agent. */
58741
59419
  agent_did: string;
58742
59420
  };
58743
59421
  cookie?: never;
@@ -58767,7 +59445,7 @@ export interface operations {
58767
59445
  path: {
58768
59446
  /** @description The organization you are signed in to */
58769
59447
  org_id: components["parameters"]["Iam.DirectoryOrgIdPath"];
58770
- /** @description The agent DID (did:oas:<kind>:<ulid>) */
59448
+ /** @description The agent DID (did:oas:<kind>:<ulid>). This operation answers with the DID only, so it takes only the DID, not the a_ id. */
58771
59449
  agent_did: string;
58772
59450
  };
58773
59451
  cookie?: never;
@@ -61869,6 +62547,1251 @@ export interface operations {
61869
62547
  };
61870
62548
  };
61871
62549
  };
62550
+ fleets_listSeatPlans: {
62551
+ parameters: {
62552
+ query?: never;
62553
+ header?: never;
62554
+ path?: never;
62555
+ cookie?: never;
62556
+ };
62557
+ requestBody?: never;
62558
+ responses: {
62559
+ /** @description Seat plans */
62560
+ 200: {
62561
+ headers: {
62562
+ [name: string]: unknown;
62563
+ };
62564
+ content: {
62565
+ "application/json": components["schemas"]["Fleets.SeatPlanList"];
62566
+ };
62567
+ };
62568
+ /** @description Verified Genesis identity required */
62569
+ 401: {
62570
+ headers: {
62571
+ [name: string]: unknown;
62572
+ };
62573
+ content?: never;
62574
+ };
62575
+ /** @description Insufficient scope (fleets:read) */
62576
+ 403: {
62577
+ headers: {
62578
+ [name: string]: unknown;
62579
+ };
62580
+ content?: never;
62581
+ };
62582
+ };
62583
+ };
62584
+ fleets_listSeats: {
62585
+ parameters: {
62586
+ query?: never;
62587
+ header?: never;
62588
+ path?: never;
62589
+ cookie?: never;
62590
+ };
62591
+ requestBody?: never;
62592
+ responses: {
62593
+ /** @description Seats */
62594
+ 200: {
62595
+ headers: {
62596
+ [name: string]: unknown;
62597
+ };
62598
+ content: {
62599
+ "application/json": components["schemas"]["Fleets.SeatList"];
62600
+ };
62601
+ };
62602
+ /** @description Verified Genesis identity required */
62603
+ 401: {
62604
+ headers: {
62605
+ [name: string]: unknown;
62606
+ };
62607
+ content?: never;
62608
+ };
62609
+ /** @description Insufficient scope (fleets:read) */
62610
+ 403: {
62611
+ headers: {
62612
+ [name: string]: unknown;
62613
+ };
62614
+ content?: never;
62615
+ };
62616
+ };
62617
+ };
62618
+ fleets_hireSeat: {
62619
+ parameters: {
62620
+ query?: never;
62621
+ header?: never;
62622
+ path?: never;
62623
+ cookie?: never;
62624
+ };
62625
+ requestBody: {
62626
+ content: {
62627
+ "application/json": components["schemas"]["Fleets.SeatHireInput"];
62628
+ };
62629
+ };
62630
+ responses: {
62631
+ /** @description Seat hired */
62632
+ 201: {
62633
+ headers: {
62634
+ [name: string]: unknown;
62635
+ };
62636
+ content: {
62637
+ "application/json": components["schemas"]["Fleets.Seat"];
62638
+ };
62639
+ };
62640
+ /** @description Verified Genesis identity required */
62641
+ 401: {
62642
+ headers: {
62643
+ [name: string]: unknown;
62644
+ };
62645
+ content?: never;
62646
+ };
62647
+ /** @description Insufficient scope (fleets:write) */
62648
+ 403: {
62649
+ headers: {
62650
+ [name: string]: unknown;
62651
+ };
62652
+ content?: never;
62653
+ };
62654
+ /** @description Pool is missing or belongs to another organization */
62655
+ 404: {
62656
+ headers: {
62657
+ [name: string]: unknown;
62658
+ };
62659
+ content?: never;
62660
+ };
62661
+ /** @description Idempotency conflict */
62662
+ 409: {
62663
+ headers: {
62664
+ [name: string]: unknown;
62665
+ };
62666
+ content?: never;
62667
+ };
62668
+ /** @description Invalid input */
62669
+ 422: {
62670
+ headers: {
62671
+ [name: string]: unknown;
62672
+ };
62673
+ content?: never;
62674
+ };
62675
+ /** @description Henry runtime or seat storage unavailable */
62676
+ 503: {
62677
+ headers: {
62678
+ [name: string]: unknown;
62679
+ };
62680
+ content?: never;
62681
+ };
62682
+ };
62683
+ };
62684
+ fleets_getSeat: {
62685
+ parameters: {
62686
+ query?: never;
62687
+ header?: never;
62688
+ path: {
62689
+ seat_id: components["parameters"]["Fleets.SeatId"];
62690
+ };
62691
+ cookie?: never;
62692
+ };
62693
+ requestBody?: never;
62694
+ responses: {
62695
+ /** @description Seat */
62696
+ 200: {
62697
+ headers: {
62698
+ [name: string]: unknown;
62699
+ };
62700
+ content: {
62701
+ "application/json": components["schemas"]["Fleets.Seat"];
62702
+ };
62703
+ };
62704
+ /** @description Verified Genesis identity required */
62705
+ 401: {
62706
+ headers: {
62707
+ [name: string]: unknown;
62708
+ };
62709
+ content?: never;
62710
+ };
62711
+ /** @description Insufficient scope (fleets:read) */
62712
+ 403: {
62713
+ headers: {
62714
+ [name: string]: unknown;
62715
+ };
62716
+ content?: never;
62717
+ };
62718
+ /** @description Seat is missing or belongs to another organization */
62719
+ 404: {
62720
+ headers: {
62721
+ [name: string]: unknown;
62722
+ };
62723
+ content?: never;
62724
+ };
62725
+ };
62726
+ };
62727
+ fleets_updateSeat: {
62728
+ parameters: {
62729
+ query?: never;
62730
+ header?: never;
62731
+ path: {
62732
+ seat_id: components["parameters"]["Fleets.SeatId"];
62733
+ };
62734
+ cookie?: never;
62735
+ };
62736
+ requestBody: {
62737
+ content: {
62738
+ "application/json": components["schemas"]["Fleets.SeatUpdateInput"];
62739
+ };
62740
+ };
62741
+ responses: {
62742
+ /** @description Seat */
62743
+ 200: {
62744
+ headers: {
62745
+ [name: string]: unknown;
62746
+ };
62747
+ content: {
62748
+ "application/json": components["schemas"]["Fleets.Seat"];
62749
+ };
62750
+ };
62751
+ /** @description Verified Genesis identity required */
62752
+ 401: {
62753
+ headers: {
62754
+ [name: string]: unknown;
62755
+ };
62756
+ content?: never;
62757
+ };
62758
+ /** @description Insufficient scope (fleets:write) */
62759
+ 403: {
62760
+ headers: {
62761
+ [name: string]: unknown;
62762
+ };
62763
+ content?: never;
62764
+ };
62765
+ /** @description Seat is missing or belongs to another organization */
62766
+ 404: {
62767
+ headers: {
62768
+ [name: string]: unknown;
62769
+ };
62770
+ content?: never;
62771
+ };
62772
+ /** @description Seat is releasing or released (code seat_released) */
62773
+ 409: {
62774
+ headers: {
62775
+ [name: string]: unknown;
62776
+ };
62777
+ content?: never;
62778
+ };
62779
+ /** @description Invalid input */
62780
+ 422: {
62781
+ headers: {
62782
+ [name: string]: unknown;
62783
+ };
62784
+ content?: never;
62785
+ };
62786
+ };
62787
+ };
62788
+ fleets_topUpSeat: {
62789
+ parameters: {
62790
+ query?: never;
62791
+ header?: never;
62792
+ path: {
62793
+ seat_id: components["parameters"]["Fleets.SeatId"];
62794
+ };
62795
+ cookie?: never;
62796
+ };
62797
+ requestBody: {
62798
+ content: {
62799
+ "application/json": components["schemas"]["Fleets.SeatTopUpInput"];
62800
+ };
62801
+ };
62802
+ responses: {
62803
+ /** @description Seat */
62804
+ 200: {
62805
+ headers: {
62806
+ [name: string]: unknown;
62807
+ };
62808
+ content: {
62809
+ "application/json": components["schemas"]["Fleets.Seat"];
62810
+ };
62811
+ };
62812
+ /** @description Verified Genesis identity required */
62813
+ 401: {
62814
+ headers: {
62815
+ [name: string]: unknown;
62816
+ };
62817
+ content?: never;
62818
+ };
62819
+ /** @description Insufficient scope (fleets:write) */
62820
+ 403: {
62821
+ headers: {
62822
+ [name: string]: unknown;
62823
+ };
62824
+ content?: never;
62825
+ };
62826
+ /** @description Seat is missing or belongs to another organization */
62827
+ 404: {
62828
+ headers: {
62829
+ [name: string]: unknown;
62830
+ };
62831
+ content?: never;
62832
+ };
62833
+ /** @description Seat is releasing or released */
62834
+ 409: {
62835
+ headers: {
62836
+ [name: string]: unknown;
62837
+ };
62838
+ content?: never;
62839
+ };
62840
+ /** @description Invalid input */
62841
+ 422: {
62842
+ headers: {
62843
+ [name: string]: unknown;
62844
+ };
62845
+ content?: never;
62846
+ };
62847
+ };
62848
+ };
62849
+ fleets_upgradeSeat: {
62850
+ parameters: {
62851
+ query?: never;
62852
+ header?: never;
62853
+ path: {
62854
+ seat_id: components["parameters"]["Fleets.SeatId"];
62855
+ };
62856
+ cookie?: never;
62857
+ };
62858
+ requestBody: {
62859
+ content: {
62860
+ "application/json": components["schemas"]["Fleets.SeatUpgradeInput"];
62861
+ };
62862
+ };
62863
+ responses: {
62864
+ /** @description Seat */
62865
+ 200: {
62866
+ headers: {
62867
+ [name: string]: unknown;
62868
+ };
62869
+ content: {
62870
+ "application/json": components["schemas"]["Fleets.Seat"];
62871
+ };
62872
+ };
62873
+ /** @description Verified Genesis identity required */
62874
+ 401: {
62875
+ headers: {
62876
+ [name: string]: unknown;
62877
+ };
62878
+ content?: never;
62879
+ };
62880
+ /** @description Insufficient scope (fleets:write) */
62881
+ 403: {
62882
+ headers: {
62883
+ [name: string]: unknown;
62884
+ };
62885
+ content?: never;
62886
+ };
62887
+ /** @description Seat is missing or belongs to another organization */
62888
+ 404: {
62889
+ headers: {
62890
+ [name: string]: unknown;
62891
+ };
62892
+ content?: never;
62893
+ };
62894
+ /** @description Not an upgrade */
62895
+ 409: {
62896
+ headers: {
62897
+ [name: string]: unknown;
62898
+ };
62899
+ content?: never;
62900
+ };
62901
+ /** @description Invalid input */
62902
+ 422: {
62903
+ headers: {
62904
+ [name: string]: unknown;
62905
+ };
62906
+ content?: never;
62907
+ };
62908
+ };
62909
+ };
62910
+ fleets_holdSeat: {
62911
+ parameters: {
62912
+ query?: never;
62913
+ header?: never;
62914
+ path: {
62915
+ seat_id: components["parameters"]["Fleets.SeatId"];
62916
+ };
62917
+ cookie?: never;
62918
+ };
62919
+ requestBody?: never;
62920
+ responses: {
62921
+ /** @description Seat with the tasks it cancelled */
62922
+ 200: {
62923
+ headers: {
62924
+ [name: string]: unknown;
62925
+ };
62926
+ content: {
62927
+ "application/json": components["schemas"]["Fleets.SeatStop"];
62928
+ };
62929
+ };
62930
+ /** @description Verified Genesis identity required */
62931
+ 401: {
62932
+ headers: {
62933
+ [name: string]: unknown;
62934
+ };
62935
+ content?: never;
62936
+ };
62937
+ /** @description Insufficient scope (fleets:write) */
62938
+ 403: {
62939
+ headers: {
62940
+ [name: string]: unknown;
62941
+ };
62942
+ content?: never;
62943
+ };
62944
+ /** @description Seat is missing or belongs to another organization */
62945
+ 404: {
62946
+ headers: {
62947
+ [name: string]: unknown;
62948
+ };
62949
+ content?: never;
62950
+ };
62951
+ /** @description Seat is releasing or released (code seat_released) */
62952
+ 409: {
62953
+ headers: {
62954
+ [name: string]: unknown;
62955
+ };
62956
+ content?: never;
62957
+ };
62958
+ };
62959
+ };
62960
+ fleets_resumeSeat: {
62961
+ parameters: {
62962
+ query?: never;
62963
+ header?: never;
62964
+ path: {
62965
+ seat_id: components["parameters"]["Fleets.SeatId"];
62966
+ };
62967
+ cookie?: never;
62968
+ };
62969
+ requestBody?: never;
62970
+ responses: {
62971
+ /** @description Seat */
62972
+ 200: {
62973
+ headers: {
62974
+ [name: string]: unknown;
62975
+ };
62976
+ content: {
62977
+ "application/json": components["schemas"]["Fleets.Seat"];
62978
+ };
62979
+ };
62980
+ /** @description Verified Genesis identity required */
62981
+ 401: {
62982
+ headers: {
62983
+ [name: string]: unknown;
62984
+ };
62985
+ content?: never;
62986
+ };
62987
+ /** @description Insufficient scope (fleets:write) */
62988
+ 403: {
62989
+ headers: {
62990
+ [name: string]: unknown;
62991
+ };
62992
+ content?: never;
62993
+ };
62994
+ /** @description Seat is missing or belongs to another organization */
62995
+ 404: {
62996
+ headers: {
62997
+ [name: string]: unknown;
62998
+ };
62999
+ content?: never;
63000
+ };
63001
+ /** @description Seat is releasing or released (code seat_released) */
63002
+ 409: {
63003
+ headers: {
63004
+ [name: string]: unknown;
63005
+ };
63006
+ content?: never;
63007
+ };
63008
+ };
63009
+ };
63010
+ fleets_killSeat: {
63011
+ parameters: {
63012
+ query?: never;
63013
+ header?: never;
63014
+ path: {
63015
+ seat_id: components["parameters"]["Fleets.SeatId"];
63016
+ };
63017
+ cookie?: never;
63018
+ };
63019
+ requestBody?: never;
63020
+ responses: {
63021
+ /** @description Seat with the tasks it cancelled and the agent state */
63022
+ 200: {
63023
+ headers: {
63024
+ [name: string]: unknown;
63025
+ };
63026
+ content: {
63027
+ "application/json": components["schemas"]["Fleets.SeatStop"];
63028
+ };
63029
+ };
63030
+ /** @description Verified Genesis identity required */
63031
+ 401: {
63032
+ headers: {
63033
+ [name: string]: unknown;
63034
+ };
63035
+ content?: never;
63036
+ };
63037
+ /** @description Insufficient scope (fleets:write) */
63038
+ 403: {
63039
+ headers: {
63040
+ [name: string]: unknown;
63041
+ };
63042
+ content?: never;
63043
+ };
63044
+ /** @description Seat is missing or belongs to another organization */
63045
+ 404: {
63046
+ headers: {
63047
+ [name: string]: unknown;
63048
+ };
63049
+ content?: never;
63050
+ };
63051
+ /** @description Seat is releasing or released (code seat_released) */
63052
+ 409: {
63053
+ headers: {
63054
+ [name: string]: unknown;
63055
+ };
63056
+ content?: never;
63057
+ };
63058
+ };
63059
+ };
63060
+ fleets_releaseSeat: {
63061
+ parameters: {
63062
+ query?: never;
63063
+ header?: never;
63064
+ path: {
63065
+ seat_id: components["parameters"]["Fleets.SeatId"];
63066
+ };
63067
+ cookie?: never;
63068
+ };
63069
+ requestBody?: never;
63070
+ responses: {
63071
+ /** @description Released seat */
63072
+ 200: {
63073
+ headers: {
63074
+ [name: string]: unknown;
63075
+ };
63076
+ content: {
63077
+ "application/json": components["schemas"]["Fleets.SeatRelease"];
63078
+ };
63079
+ };
63080
+ /** @description Verified Genesis identity required */
63081
+ 401: {
63082
+ headers: {
63083
+ [name: string]: unknown;
63084
+ };
63085
+ content?: never;
63086
+ };
63087
+ /** @description Insufficient scope (fleets:write) */
63088
+ 403: {
63089
+ headers: {
63090
+ [name: string]: unknown;
63091
+ };
63092
+ content?: never;
63093
+ };
63094
+ /** @description Seat is missing or belongs to another organization */
63095
+ 404: {
63096
+ headers: {
63097
+ [name: string]: unknown;
63098
+ };
63099
+ content?: never;
63100
+ };
63101
+ /** @description Work is still settling (code tasks_settling); retry */
63102
+ 409: {
63103
+ headers: {
63104
+ [name: string]: unknown;
63105
+ };
63106
+ content?: never;
63107
+ };
63108
+ };
63109
+ };
63110
+ fleets_listSeatTasks: {
63111
+ parameters: {
63112
+ query?: never;
63113
+ header?: never;
63114
+ path: {
63115
+ seat_id: components["parameters"]["Fleets.SeatId"];
63116
+ };
63117
+ cookie?: never;
63118
+ };
63119
+ requestBody?: never;
63120
+ responses: {
63121
+ /** @description Seat tasks */
63122
+ 200: {
63123
+ headers: {
63124
+ [name: string]: unknown;
63125
+ };
63126
+ content: {
63127
+ "application/json": components["schemas"]["Fleets.SeatTaskList"];
63128
+ };
63129
+ };
63130
+ /** @description Verified Genesis identity required */
63131
+ 401: {
63132
+ headers: {
63133
+ [name: string]: unknown;
63134
+ };
63135
+ content?: never;
63136
+ };
63137
+ /** @description Insufficient scope (fleets:read) */
63138
+ 403: {
63139
+ headers: {
63140
+ [name: string]: unknown;
63141
+ };
63142
+ content?: never;
63143
+ };
63144
+ /** @description Seat is missing or belongs to another organization */
63145
+ 404: {
63146
+ headers: {
63147
+ [name: string]: unknown;
63148
+ };
63149
+ content?: never;
63150
+ };
63151
+ };
63152
+ };
63153
+ fleets_submitSeatTask: {
63154
+ parameters: {
63155
+ query?: never;
63156
+ header?: never;
63157
+ path: {
63158
+ seat_id: components["parameters"]["Fleets.SeatId"];
63159
+ };
63160
+ cookie?: never;
63161
+ };
63162
+ requestBody: {
63163
+ content: {
63164
+ "application/json": components["schemas"]["Fleets.SeatTaskInput"];
63165
+ };
63166
+ };
63167
+ responses: {
63168
+ /** @description Task accepted */
63169
+ 202: {
63170
+ headers: {
63171
+ [name: string]: unknown;
63172
+ };
63173
+ content: {
63174
+ "application/json": components["schemas"]["Fleets.SeatTask"];
63175
+ };
63176
+ };
63177
+ /** @description Verified Genesis identity required */
63178
+ 401: {
63179
+ headers: {
63180
+ [name: string]: unknown;
63181
+ };
63182
+ content?: never;
63183
+ };
63184
+ /** @description Purse empty (code purse_empty) */
63185
+ 402: {
63186
+ headers: {
63187
+ [name: string]: unknown;
63188
+ };
63189
+ content?: never;
63190
+ };
63191
+ /** @description Insufficient scope (fleets:write) */
63192
+ 403: {
63193
+ headers: {
63194
+ [name: string]: unknown;
63195
+ };
63196
+ content?: never;
63197
+ };
63198
+ /** @description Seat is missing or belongs to another organization */
63199
+ 404: {
63200
+ headers: {
63201
+ [name: string]: unknown;
63202
+ };
63203
+ content?: never;
63204
+ };
63205
+ /** @description Seat is held */
63206
+ 409: {
63207
+ headers: {
63208
+ [name: string]: unknown;
63209
+ };
63210
+ content?: never;
63211
+ };
63212
+ /** @description Invalid input */
63213
+ 422: {
63214
+ headers: {
63215
+ [name: string]: unknown;
63216
+ };
63217
+ content?: never;
63218
+ };
63219
+ };
63220
+ };
63221
+ fleets_getSeatTask: {
63222
+ parameters: {
63223
+ query?: never;
63224
+ header?: never;
63225
+ path: {
63226
+ seat_id: components["parameters"]["Fleets.SeatId"];
63227
+ task_id: components["parameters"]["Fleets.SeatTaskId"];
63228
+ };
63229
+ cookie?: never;
63230
+ };
63231
+ requestBody?: never;
63232
+ responses: {
63233
+ /** @description Seat task */
63234
+ 200: {
63235
+ headers: {
63236
+ [name: string]: unknown;
63237
+ };
63238
+ content: {
63239
+ "application/json": components["schemas"]["Fleets.SeatTask"];
63240
+ };
63241
+ };
63242
+ /** @description Verified Genesis identity required */
63243
+ 401: {
63244
+ headers: {
63245
+ [name: string]: unknown;
63246
+ };
63247
+ content?: never;
63248
+ };
63249
+ /** @description Insufficient scope (fleets:read) */
63250
+ 403: {
63251
+ headers: {
63252
+ [name: string]: unknown;
63253
+ };
63254
+ content?: never;
63255
+ };
63256
+ /** @description Seat or task is missing or belongs to another organization */
63257
+ 404: {
63258
+ headers: {
63259
+ [name: string]: unknown;
63260
+ };
63261
+ content?: never;
63262
+ };
63263
+ };
63264
+ };
63265
+ fleets_decideSeatTaskApproval: {
63266
+ parameters: {
63267
+ query?: never;
63268
+ header?: never;
63269
+ path: {
63270
+ seat_id: components["parameters"]["Fleets.SeatId"];
63271
+ task_id: components["parameters"]["Fleets.SeatTaskId"];
63272
+ approval_id: string;
63273
+ };
63274
+ cookie?: never;
63275
+ };
63276
+ requestBody: {
63277
+ content: {
63278
+ "application/json": components["schemas"]["Fleets.SeatApprovalDecision"];
63279
+ };
63280
+ };
63281
+ responses: {
63282
+ /** @description Seat task */
63283
+ 200: {
63284
+ headers: {
63285
+ [name: string]: unknown;
63286
+ };
63287
+ content: {
63288
+ "application/json": components["schemas"]["Fleets.SeatTask"];
63289
+ };
63290
+ };
63291
+ /** @description Verified Genesis identity required */
63292
+ 401: {
63293
+ headers: {
63294
+ [name: string]: unknown;
63295
+ };
63296
+ content?: never;
63297
+ };
63298
+ /** @description Granting open_computer could not reserve credits (code purse_empty) */
63299
+ 402: {
63300
+ headers: {
63301
+ [name: string]: unknown;
63302
+ };
63303
+ content?: never;
63304
+ };
63305
+ /** @description Insufficient scope (fleets:write) */
63306
+ 403: {
63307
+ headers: {
63308
+ [name: string]: unknown;
63309
+ };
63310
+ content?: never;
63311
+ };
63312
+ /** @description Seat */
63313
+ 404: {
63314
+ headers: {
63315
+ [name: string]: unknown;
63316
+ };
63317
+ content?: never;
63318
+ };
63319
+ /** @description Seat is held */
63320
+ 409: {
63321
+ headers: {
63322
+ [name: string]: unknown;
63323
+ };
63324
+ content?: never;
63325
+ };
63326
+ /** @description Invalid input */
63327
+ 422: {
63328
+ headers: {
63329
+ [name: string]: unknown;
63330
+ };
63331
+ content?: never;
63332
+ };
63333
+ };
63334
+ };
63335
+ fleets_getSeatLedger: {
63336
+ parameters: {
63337
+ query?: never;
63338
+ header?: never;
63339
+ path: {
63340
+ seat_id: components["parameters"]["Fleets.SeatId"];
63341
+ };
63342
+ cookie?: never;
63343
+ };
63344
+ requestBody?: never;
63345
+ responses: {
63346
+ /** @description Purse entries */
63347
+ 200: {
63348
+ headers: {
63349
+ [name: string]: unknown;
63350
+ };
63351
+ content: {
63352
+ "application/json": components["schemas"]["Fleets.SeatLedger"];
63353
+ };
63354
+ };
63355
+ /** @description Verified Genesis identity required */
63356
+ 401: {
63357
+ headers: {
63358
+ [name: string]: unknown;
63359
+ };
63360
+ content?: never;
63361
+ };
63362
+ /** @description Insufficient scope (fleets:read) */
63363
+ 403: {
63364
+ headers: {
63365
+ [name: string]: unknown;
63366
+ };
63367
+ content?: never;
63368
+ };
63369
+ /** @description Seat is missing or belongs to another organization */
63370
+ 404: {
63371
+ headers: {
63372
+ [name: string]: unknown;
63373
+ };
63374
+ content?: never;
63375
+ };
63376
+ };
63377
+ };
63378
+ fleets_listPools: {
63379
+ parameters: {
63380
+ query?: never;
63381
+ header?: never;
63382
+ path?: never;
63383
+ cookie?: never;
63384
+ };
63385
+ requestBody?: never;
63386
+ responses: {
63387
+ /** @description Pools */
63388
+ 200: {
63389
+ headers: {
63390
+ [name: string]: unknown;
63391
+ };
63392
+ content: {
63393
+ "application/json": components["schemas"]["Fleets.PoolList"];
63394
+ };
63395
+ };
63396
+ /** @description Verified Genesis identity required */
63397
+ 401: {
63398
+ headers: {
63399
+ [name: string]: unknown;
63400
+ };
63401
+ content?: never;
63402
+ };
63403
+ /** @description Insufficient scope (fleets:read) */
63404
+ 403: {
63405
+ headers: {
63406
+ [name: string]: unknown;
63407
+ };
63408
+ content?: never;
63409
+ };
63410
+ };
63411
+ };
63412
+ fleets_createPool: {
63413
+ parameters: {
63414
+ query?: never;
63415
+ header?: never;
63416
+ path?: never;
63417
+ cookie?: never;
63418
+ };
63419
+ requestBody: {
63420
+ content: {
63421
+ "application/json": components["schemas"]["Fleets.PoolCreateInput"];
63422
+ };
63423
+ };
63424
+ responses: {
63425
+ /** @description Pool created */
63426
+ 201: {
63427
+ headers: {
63428
+ [name: string]: unknown;
63429
+ };
63430
+ content: {
63431
+ "application/json": components["schemas"]["Fleets.Pool"];
63432
+ };
63433
+ };
63434
+ /** @description Verified Genesis identity required */
63435
+ 401: {
63436
+ headers: {
63437
+ [name: string]: unknown;
63438
+ };
63439
+ content?: never;
63440
+ };
63441
+ /** @description Insufficient scope (fleets:write) */
63442
+ 403: {
63443
+ headers: {
63444
+ [name: string]: unknown;
63445
+ };
63446
+ content?: never;
63447
+ };
63448
+ /** @description Idempotency conflict */
63449
+ 409: {
63450
+ headers: {
63451
+ [name: string]: unknown;
63452
+ };
63453
+ content?: never;
63454
+ };
63455
+ /** @description Invalid input */
63456
+ 422: {
63457
+ headers: {
63458
+ [name: string]: unknown;
63459
+ };
63460
+ content?: never;
63461
+ };
63462
+ };
63463
+ };
63464
+ fleets_getPool: {
63465
+ parameters: {
63466
+ query?: never;
63467
+ header?: never;
63468
+ path: {
63469
+ pool_id: components["parameters"]["Fleets.PoolId"];
63470
+ };
63471
+ cookie?: never;
63472
+ };
63473
+ requestBody?: never;
63474
+ responses: {
63475
+ /** @description Pool */
63476
+ 200: {
63477
+ headers: {
63478
+ [name: string]: unknown;
63479
+ };
63480
+ content: {
63481
+ "application/json": components["schemas"]["Fleets.Pool"];
63482
+ };
63483
+ };
63484
+ /** @description Verified Genesis identity required */
63485
+ 401: {
63486
+ headers: {
63487
+ [name: string]: unknown;
63488
+ };
63489
+ content?: never;
63490
+ };
63491
+ /** @description Insufficient scope (fleets:read) */
63492
+ 403: {
63493
+ headers: {
63494
+ [name: string]: unknown;
63495
+ };
63496
+ content?: never;
63497
+ };
63498
+ /** @description Pool is missing or belongs to another organization */
63499
+ 404: {
63500
+ headers: {
63501
+ [name: string]: unknown;
63502
+ };
63503
+ content?: never;
63504
+ };
63505
+ };
63506
+ };
63507
+ fleets_topUpPool: {
63508
+ parameters: {
63509
+ query?: never;
63510
+ header?: never;
63511
+ path: {
63512
+ pool_id: components["parameters"]["Fleets.PoolId"];
63513
+ };
63514
+ cookie?: never;
63515
+ };
63516
+ requestBody: {
63517
+ content: {
63518
+ "application/json": components["schemas"]["Fleets.PoolTopUpInput"];
63519
+ };
63520
+ };
63521
+ responses: {
63522
+ /** @description Pool */
63523
+ 200: {
63524
+ headers: {
63525
+ [name: string]: unknown;
63526
+ };
63527
+ content: {
63528
+ "application/json": components["schemas"]["Fleets.Pool"];
63529
+ };
63530
+ };
63531
+ /** @description Verified Genesis identity required */
63532
+ 401: {
63533
+ headers: {
63534
+ [name: string]: unknown;
63535
+ };
63536
+ content?: never;
63537
+ };
63538
+ /** @description Insufficient scope (fleets:write) */
63539
+ 403: {
63540
+ headers: {
63541
+ [name: string]: unknown;
63542
+ };
63543
+ content?: never;
63544
+ };
63545
+ /** @description Pool is missing or belongs to another organization */
63546
+ 404: {
63547
+ headers: {
63548
+ [name: string]: unknown;
63549
+ };
63550
+ content?: never;
63551
+ };
63552
+ /** @description Pool is released (code pool_released) */
63553
+ 409: {
63554
+ headers: {
63555
+ [name: string]: unknown;
63556
+ };
63557
+ content?: never;
63558
+ };
63559
+ /** @description Invalid input */
63560
+ 422: {
63561
+ headers: {
63562
+ [name: string]: unknown;
63563
+ };
63564
+ content?: never;
63565
+ };
63566
+ };
63567
+ };
63568
+ fleets_releasePool: {
63569
+ parameters: {
63570
+ query?: never;
63571
+ header?: never;
63572
+ path: {
63573
+ pool_id: components["parameters"]["Fleets.PoolId"];
63574
+ };
63575
+ cookie?: never;
63576
+ };
63577
+ requestBody?: never;
63578
+ responses: {
63579
+ /** @description Released pool */
63580
+ 200: {
63581
+ headers: {
63582
+ [name: string]: unknown;
63583
+ };
63584
+ content: {
63585
+ "application/json": components["schemas"]["Fleets.PoolRelease"];
63586
+ };
63587
+ };
63588
+ /** @description Verified Genesis identity required */
63589
+ 401: {
63590
+ headers: {
63591
+ [name: string]: unknown;
63592
+ };
63593
+ content?: never;
63594
+ };
63595
+ /** @description Insufficient scope (fleets:write) */
63596
+ 403: {
63597
+ headers: {
63598
+ [name: string]: unknown;
63599
+ };
63600
+ content?: never;
63601
+ };
63602
+ /** @description Pool is missing or belongs to another organization */
63603
+ 404: {
63604
+ headers: {
63605
+ [name: string]: unknown;
63606
+ };
63607
+ content?: never;
63608
+ };
63609
+ /** @description Seats under the pool are not released (code pool_has_seats) */
63610
+ 409: {
63611
+ headers: {
63612
+ [name: string]: unknown;
63613
+ };
63614
+ content?: never;
63615
+ };
63616
+ };
63617
+ };
63618
+ fleets_getPoolLedger: {
63619
+ parameters: {
63620
+ query?: never;
63621
+ header?: never;
63622
+ path: {
63623
+ pool_id: components["parameters"]["Fleets.PoolId"];
63624
+ };
63625
+ cookie?: never;
63626
+ };
63627
+ requestBody?: never;
63628
+ responses: {
63629
+ /** @description Purse entries */
63630
+ 200: {
63631
+ headers: {
63632
+ [name: string]: unknown;
63633
+ };
63634
+ content: {
63635
+ "application/json": components["schemas"]["Fleets.SeatLedger"];
63636
+ };
63637
+ };
63638
+ /** @description Verified Genesis identity required */
63639
+ 401: {
63640
+ headers: {
63641
+ [name: string]: unknown;
63642
+ };
63643
+ content?: never;
63644
+ };
63645
+ /** @description Insufficient scope (fleets:read) */
63646
+ 403: {
63647
+ headers: {
63648
+ [name: string]: unknown;
63649
+ };
63650
+ content?: never;
63651
+ };
63652
+ /** @description Pool is missing or belongs to another organization */
63653
+ 404: {
63654
+ headers: {
63655
+ [name: string]: unknown;
63656
+ };
63657
+ content?: never;
63658
+ };
63659
+ };
63660
+ };
63661
+ fleets_getComputerConnection: {
63662
+ parameters: {
63663
+ query?: never;
63664
+ header?: never;
63665
+ path?: never;
63666
+ cookie?: never;
63667
+ };
63668
+ requestBody?: never;
63669
+ responses: {
63670
+ /** @description Secret-free status */
63671
+ 200: {
63672
+ headers: {
63673
+ [name: string]: unknown;
63674
+ };
63675
+ content: {
63676
+ "application/json": components["schemas"]["Fleets.ComputerConnection"];
63677
+ };
63678
+ };
63679
+ /** @description Verified Genesis identity required */
63680
+ 401: {
63681
+ headers: {
63682
+ [name: string]: unknown;
63683
+ };
63684
+ content?: never;
63685
+ };
63686
+ /** @description Insufficient scope (fleets:read) */
63687
+ 403: {
63688
+ headers: {
63689
+ [name: string]: unknown;
63690
+ };
63691
+ content?: never;
63692
+ };
63693
+ /** @description Connection storage unavailable */
63694
+ 503: {
63695
+ headers: {
63696
+ [name: string]: unknown;
63697
+ };
63698
+ content?: never;
63699
+ };
63700
+ };
63701
+ };
63702
+ fleets_putComputerConnection: {
63703
+ parameters: {
63704
+ query?: never;
63705
+ header?: never;
63706
+ path?: never;
63707
+ cookie?: never;
63708
+ };
63709
+ requestBody: {
63710
+ content: {
63711
+ "application/json": components["schemas"]["Fleets.ComputerConnectionInput"];
63712
+ };
63713
+ };
63714
+ responses: {
63715
+ /** @description Secret-free status */
63716
+ 200: {
63717
+ headers: {
63718
+ [name: string]: unknown;
63719
+ };
63720
+ content: {
63721
+ "application/json": components["schemas"]["Fleets.ComputerConnection"];
63722
+ };
63723
+ };
63724
+ /** @description Verified Genesis identity required */
63725
+ 401: {
63726
+ headers: {
63727
+ [name: string]: unknown;
63728
+ };
63729
+ content?: never;
63730
+ };
63731
+ /** @description Insufficient scope (fleets:write) */
63732
+ 403: {
63733
+ headers: {
63734
+ [name: string]: unknown;
63735
+ };
63736
+ content?: never;
63737
+ };
63738
+ /** @description Invalid or foreign-organization credential */
63739
+ 422: {
63740
+ headers: {
63741
+ [name: string]: unknown;
63742
+ };
63743
+ content?: never;
63744
+ };
63745
+ /** @description Connection storage unavailable */
63746
+ 503: {
63747
+ headers: {
63748
+ [name: string]: unknown;
63749
+ };
63750
+ content?: never;
63751
+ };
63752
+ };
63753
+ };
63754
+ fleets_deleteComputerConnection: {
63755
+ parameters: {
63756
+ query?: never;
63757
+ header?: never;
63758
+ path?: never;
63759
+ cookie?: never;
63760
+ };
63761
+ requestBody?: never;
63762
+ responses: {
63763
+ /** @description Secret-free status */
63764
+ 200: {
63765
+ headers: {
63766
+ [name: string]: unknown;
63767
+ };
63768
+ content: {
63769
+ "application/json": components["schemas"]["Fleets.ComputerConnection"];
63770
+ };
63771
+ };
63772
+ /** @description Verified Genesis identity required */
63773
+ 401: {
63774
+ headers: {
63775
+ [name: string]: unknown;
63776
+ };
63777
+ content?: never;
63778
+ };
63779
+ /** @description Insufficient scope (fleets:write) */
63780
+ 403: {
63781
+ headers: {
63782
+ [name: string]: unknown;
63783
+ };
63784
+ content?: never;
63785
+ };
63786
+ /** @description Connection storage unavailable */
63787
+ 503: {
63788
+ headers: {
63789
+ [name: string]: unknown;
63790
+ };
63791
+ content?: never;
63792
+ };
63793
+ };
63794
+ };
61872
63795
  flocks_exchangeJoinToken: {
61873
63796
  parameters: {
61874
63797
  query?: never;