@onesi/genesis 0.2.13 → 0.2.15

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.
@@ -2434,6 +2434,113 @@ export interface paths {
2434
2434
  patch?: never;
2435
2435
  trace?: never;
2436
2436
  };
2437
+ "/v1/hives/projects/{project_id}/timers": {
2438
+ parameters: {
2439
+ query?: never;
2440
+ header?: never;
2441
+ path?: never;
2442
+ cookie?: never;
2443
+ };
2444
+ /**
2445
+ * List one-shot timers
2446
+ * @description Lists this project's timers in the caller's environment, newest first. Hives answers 404 until its timers engine is enabled.
2447
+ */
2448
+ get: operations["hives_listTimers"];
2449
+ put?: never;
2450
+ /**
2451
+ * Create a one-shot timer
2452
+ * @description Schedules one signed callback to a registered target at `at`. The same idempotency_key with the same body returns the same timer (200); with a different body it is 409 idempotency_conflict. Hives answers 404 until its timers engine is enabled.
2453
+ */
2454
+ post: operations["hives_createTimer"];
2455
+ delete?: never;
2456
+ options?: never;
2457
+ head?: never;
2458
+ patch?: never;
2459
+ trace?: never;
2460
+ };
2461
+ "/v1/hives/projects/{project_id}/timers/{timer_id}": {
2462
+ parameters: {
2463
+ query?: never;
2464
+ header?: never;
2465
+ path?: never;
2466
+ cookie?: never;
2467
+ };
2468
+ /** Get a timer */
2469
+ get: operations["hives_getTimer"];
2470
+ put?: never;
2471
+ post?: never;
2472
+ /**
2473
+ * Cancel a timer
2474
+ * @description Cancels a scheduled timer. A timer already fired or failed is returned unchanged, so cancelling twice is safe.
2475
+ */
2476
+ delete: operations["hives_cancelTimer"];
2477
+ options?: never;
2478
+ head?: never;
2479
+ patch?: never;
2480
+ trace?: never;
2481
+ };
2482
+ "/v1/hives/projects/{project_id}/timer-targets": {
2483
+ parameters: {
2484
+ query?: never;
2485
+ header?: never;
2486
+ path?: never;
2487
+ cookie?: never;
2488
+ };
2489
+ /**
2490
+ * List timer targets
2491
+ * @description Lists the registered callback targets. The signing secret is never part of a list or get.
2492
+ */
2493
+ get: operations["hives_listTimerTargets"];
2494
+ put?: never;
2495
+ /**
2496
+ * Register a timer target
2497
+ * @description Registers an https callback URL and returns its signing secret. The signing secret is shown ONCE in this answer and never again; store it immediately. Hives signs every callback with it (hives-callback-v1).
2498
+ */
2499
+ post: operations["hives_createTimerTarget"];
2500
+ delete?: never;
2501
+ options?: never;
2502
+ head?: never;
2503
+ patch?: never;
2504
+ trace?: never;
2505
+ };
2506
+ "/v1/hives/projects/{project_id}/timer-targets/{target_id}": {
2507
+ parameters: {
2508
+ query?: never;
2509
+ header?: never;
2510
+ path?: never;
2511
+ cookie?: never;
2512
+ };
2513
+ /** Get a timer target */
2514
+ get: operations["hives_getTimerTarget"];
2515
+ put?: never;
2516
+ post?: never;
2517
+ /** Delete a timer target */
2518
+ delete: operations["hives_deleteTimerTarget"];
2519
+ options?: never;
2520
+ head?: never;
2521
+ patch?: never;
2522
+ trace?: never;
2523
+ };
2524
+ "/v1/hives/projects/{project_id}/timer-targets/{target_id}/rotate": {
2525
+ parameters: {
2526
+ query?: never;
2527
+ header?: never;
2528
+ path?: never;
2529
+ cookie?: never;
2530
+ };
2531
+ get?: never;
2532
+ put?: never;
2533
+ /**
2534
+ * Rotate a timer target's signing secret
2535
+ * @description Issues a new signing secret, shown ONCE in this answer. Hives signs with the new secret immediately; receivers may still verify the old one until previous_valid_until (24 hours).
2536
+ */
2537
+ post: operations["hives_rotateTimerTarget"];
2538
+ delete?: never;
2539
+ options?: never;
2540
+ head?: never;
2541
+ patch?: never;
2542
+ trace?: never;
2543
+ };
2437
2544
  "/v1/hives/projects/{project_id}/deployments": {
2438
2545
  parameters: {
2439
2546
  query?: never;
@@ -8444,6 +8551,31 @@ export interface paths {
8444
8551
  patch?: never;
8445
8552
  trace?: never;
8446
8553
  };
8554
+ "/v1/fleets/web-connection": {
8555
+ parameters: {
8556
+ query?: never;
8557
+ header?: never;
8558
+ path?: never;
8559
+ cookie?: never;
8560
+ };
8561
+ /**
8562
+ * Read whether the organization's seat web credential is set
8563
+ * @description Secret-free status with the key's scopes. The credential is never returned. This is its own slot, never the computer credential.
8564
+ */
8565
+ get: operations["fleets_getWebConnection"];
8566
+ /**
8567
+ * Store the organization's seat web credential, encrypted with Genesis KMS
8568
+ * @description A key of this organization and environment whose scopes are exactly traces:read. Seat research tasks use it to search and read public pages through Traces, so Traces meters each call to this organization. Encrypted like the Foundry connection and never returned. Dark until Fleets turns seat web on.
8569
+ */
8570
+ put: operations["fleets_putWebConnection"];
8571
+ post?: never;
8572
+ /** Remove the organization's seat web credential */
8573
+ delete: operations["fleets_deleteWebConnection"];
8574
+ options?: never;
8575
+ head?: never;
8576
+ patch?: never;
8577
+ trace?: never;
8578
+ };
8447
8579
  "/v1/flocks/nodes/enroll": {
8448
8580
  parameters: {
8449
8581
  query?: never;
@@ -9950,6 +10082,26 @@ export interface paths {
9950
10082
  patch?: never;
9951
10083
  trace?: never;
9952
10084
  };
10085
+ "/v1/dials/workflows/{workflow_id}": {
10086
+ parameters: {
10087
+ query?: never;
10088
+ header?: never;
10089
+ path?: never;
10090
+ cookie?: never;
10091
+ };
10092
+ get?: never;
10093
+ put?: never;
10094
+ post?: never;
10095
+ /**
10096
+ * Delete an owned workflow and its routing descriptor
10097
+ * @description Needs `dials:write`. Deletes the workflow with this id (the `id` you deployed it with) and every routing-rule descriptor row it was deployed as, in the verified org/workspace/project/environment only, and records a `workflows.delete` audit event whose actor is the verified gateway identity. Another organization's, workspace's, project's or environment's workflow, and a repeat delete, are 404 `workflow_not_found`. If a held (not released) number is assigned to the workflow (kind `workflow` or `routing_rule`), the delete is refused with 409 `workflow_number_attached` and nothing changes: unassign the number first with `assignNumber` and no resource. Managed inbound policies (`/v1/routing/rules`) are never deleted here. Scope is required in the JSON body, not query parameters.
10098
+ */
10099
+ delete: operations["dials_deleteWorkflow"];
10100
+ options?: never;
10101
+ head?: never;
10102
+ patch?: never;
10103
+ trace?: never;
10104
+ };
9953
10105
  "/v1/dials/numbers/{number_id}": {
9954
10106
  parameters: {
9955
10107
  query?: never;
@@ -10034,6 +10186,90 @@ export interface paths {
10034
10186
  patch?: never;
10035
10187
  trace?: never;
10036
10188
  };
10189
+ "/v1/dials/numbers/voice-handler": {
10190
+ parameters: {
10191
+ query?: never;
10192
+ header?: never;
10193
+ path?: never;
10194
+ cookie?: never;
10195
+ };
10196
+ get?: never;
10197
+ /**
10198
+ * Set which voice handler answers an owned number
10199
+ * @description Needs `dials:write`. Points the inbound voice webhook of one owned SignalWire number at a Dials handler: `one_phone` (the One phone line, `POST /v1/webhooks/signalwire/voice/one-phone`) or `default` (the deployment's configured handler). Dials updates that number's `call_handler` (`laml_webhooks`) and `call_request_url` at SignalWire, in the verified org/workspace/project/environment only. SignalWire numbers only: a number held through another carrier (BulkVS) is refused with 409. Repeating the same handler is idempotent. Backend: Dials D3 (ONE-PHONE-DESIGN, contract C-3).
10200
+ */
10201
+ put: operations["dials_setNumberVoiceHandler"];
10202
+ post?: never;
10203
+ delete?: never;
10204
+ options?: never;
10205
+ head?: never;
10206
+ patch?: never;
10207
+ trace?: never;
10208
+ };
10209
+ "/v1/dials/one-numbers/suggestions": {
10210
+ parameters: {
10211
+ query?: never;
10212
+ header?: never;
10213
+ path?: never;
10214
+ cookie?: never;
10215
+ };
10216
+ get?: never;
10217
+ put?: never;
10218
+ /**
10219
+ * Suggest phone numbers for your One
10220
+ * @description Up to five available local numbers the person can choose for their own One. The body is a JSON object `{areaCode?, text?, lat?, lng?}`; `lat` and `lng` travel in the body, never in the URL or query, and a lone `lat` or `lng` is 400. With an empty body (`{}`) Dials uses the area code of the person's verified phone, then the city of the sign-in IP address (resolved from the request and never stored), else answers `none_found`; `areaCode` searches that area code; `text` searches numbers matching the text; `lat` with `lng` uses device coordinates only when the app sends them after the operating system's permission. Searches the carrier only: nothing is ordered or held. A person's own One number: the gateway admits the person's own token (a signed-in person, scope as the generic Dials lane forwards: `dials:write` for a POST); Dials keys the number to the verified person. Backend: Dials D5 (ONE-PHONE-CONTRACTS Delta 2); Dials must accept this POST body.
10221
+ */
10222
+ post: operations["dials_listOneNumberSuggestions"];
10223
+ delete?: never;
10224
+ options?: never;
10225
+ head?: never;
10226
+ patch?: never;
10227
+ trace?: never;
10228
+ };
10229
+ "/v1/dials/one-numbers/choose": {
10230
+ parameters: {
10231
+ query?: never;
10232
+ header?: never;
10233
+ path?: never;
10234
+ cookie?: never;
10235
+ };
10236
+ get?: never;
10237
+ put?: never;
10238
+ /**
10239
+ * Choose the phone number for your One
10240
+ * @description Makes `e164` (a number from the suggestions) the person's own One number. One active number per person and one person per number; choosing again replaces the person's number once the new one is active. Idempotent on `idempotencyKey`. While Dials number provisioning is off (`DIALS_ONE_NUMBERS_PROVISION_ENABLED`), the choice is recorded as `reserved_intent` (202) and no order is placed. 409 `taken`, 429 `provisioning_cap`, 503 `carrier_limit`. The person chooses; an agent never chooses for them (the MCP refuses this operation as human consent). A person's own One number: the gateway admits the person's own token (a signed-in person, scope as the generic Dials lane forwards: `dials:read` for GET, `dials:write` otherwise); Dials keys the number to the verified person. Backend: Dials D5 (ONE-PHONE-CONTRACTS Delta 2).
10241
+ */
10242
+ post: operations["dials_chooseOneNumber"];
10243
+ delete?: never;
10244
+ options?: never;
10245
+ head?: never;
10246
+ patch?: never;
10247
+ trace?: never;
10248
+ };
10249
+ "/v1/dials/one-numbers/mine": {
10250
+ parameters: {
10251
+ query?: never;
10252
+ header?: never;
10253
+ path?: never;
10254
+ cookie?: never;
10255
+ };
10256
+ /**
10257
+ * Get the phone number of your One
10258
+ * @description The person's own One number (or null), their plan, days since the last call, and when an idle Free number is released. A person's own One number: the gateway admits the person's own token (a signed-in person, scope as the generic Dials lane forwards: `dials:read` for GET, `dials:write` otherwise); Dials keys the number to the verified person. Backend: Dials D5 (ONE-PHONE-CONTRACTS Delta 2).
10259
+ */
10260
+ get: operations["dials_getMyOneNumber"];
10261
+ put?: never;
10262
+ post?: never;
10263
+ /**
10264
+ * Release the phone number of your One
10265
+ * @description Releases the person's own One number at the carrier. The number cannot be recovered once released. The person releases it; an agent never does (the MCP refuses this operation as human consent). A person's own One number: the gateway admits the person's own token (a signed-in person, scope as the generic Dials lane forwards: `dials:read` for GET, `dials:write` otherwise); Dials keys the number to the verified person. Backend: Dials D5 (ONE-PHONE-CONTRACTS Delta 2).
10266
+ */
10267
+ delete: operations["dials_releaseMyOneNumber"];
10268
+ options?: never;
10269
+ head?: never;
10270
+ patch?: never;
10271
+ trace?: never;
10272
+ };
10037
10273
  "/v1/silos/instances": {
10038
10274
  parameters: {
10039
10275
  query?: never;
@@ -11229,6 +11465,70 @@ export interface paths {
11229
11465
  patch?: never;
11230
11466
  trace?: never;
11231
11467
  };
11468
+ "/v1/minds/profiles": {
11469
+ parameters: {
11470
+ query?: never;
11471
+ header?: never;
11472
+ path?: never;
11473
+ cookie?: never;
11474
+ };
11475
+ /**
11476
+ * List the Mind instance profiles, with the plans and environments each is offered in
11477
+ * @description Served only when the gateway enables MINDS_SCALING_V1 (default off; until then this path answers 404 NOT_FOUND like any unknown Minds path) and the Minds controller enables MINDS_SCALING_POLICY. An original human One account session with a verified pf_console selection (Sandbox, or Live), or an org API key with a Sandbox or Live binding and `minds:read` (or `minds:write`). The fixed profiles a Mind can run (F1, D1, D2) with their vCPU, memory and disk, the plans and environments that may request each (Live is F1 only today), and whether changing it restarts the Mind. `price` is null until the profile is live-metered in that environment. P1 is not listed, because no plan can request it. Size changes stay on `minds_resizeMind`. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation. A Mind in another organization, project or environment answers 404.
11478
+ */
11479
+ get: operations["minds_listProfiles"];
11480
+ put?: never;
11481
+ post?: never;
11482
+ delete?: never;
11483
+ options?: never;
11484
+ head?: never;
11485
+ patch?: never;
11486
+ trace?: never;
11487
+ };
11488
+ "/v1/minds/services/{mind_id}/scaling": {
11489
+ parameters: {
11490
+ query?: never;
11491
+ header?: never;
11492
+ path?: never;
11493
+ cookie?: never;
11494
+ };
11495
+ /**
11496
+ * Read a Mind's scaling policy and current scaling state
11497
+ * @description Served only when the gateway enables MINDS_SCALING_V1 (default off; until then this path answers 404 NOT_FOUND like any unknown Minds path) and the Minds controller enables MINDS_SCALING_POLICY. An original human One account session with a verified pf_console selection (Sandbox, or Live), or an org API key with a Sandbox or Live binding and `minds:read` (or `minds:write`). With no stored policy the answer is the effective default: generation 0, the current profile and disk, the global idle window, and scale_to_zero false only for an always-on Mind. `state.bodies` is 1 while the Mind runs and 0 while it is stopped. `budget` and `burn_usd_per_hour` are null until scaling budgets arrive. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation. A Mind in another organization, project or environment answers 404.
11498
+ */
11499
+ get: operations["minds_getScaling"];
11500
+ /**
11501
+ * Set a Mind's scaling policy (idle window, scale to zero), guarded by its policy generation
11502
+ * @description Served only when the gateway enables MINDS_SCALING_V1 (default off; until then this path answers 404 NOT_FOUND like any unknown Minds path) and the Minds controller enables MINDS_SCALING_POLICY. Org API keys with `minds:manage` only (Sandbox or Live binding); Console sessions get 403 MINDS_MANAGE_KEY_REQUIRED before any delegation, exactly as for resize. `minds:manage` does not imply read. `generation` must equal the stored policy generation (0 when none is stored), otherwise 409 SCALING_GENERATION_CONFLICT with the stored generation as the integer `current_generation`. The body is at most 8 KiB. What this release accepts: `vertical.mode` manual with the current profile and disk (a different profile or disk is 422 SCALING_USE_RESIZE: use `minds_resizeMind`); `vertical.mode` auto is 422 SCALING_BUDGET_REQUIRED; `horizontal.min` 0 or 1 and `horizontal.max` 1 (a larger max, `horizontal.targets` or a `schedule` is 422 SCALING_FIELD_UNSUPPORTED with `field`); any `budget` is 422 SCALING_BUDGET_UNAVAILABLE; `idle.idle_seconds` 60 to 86400 replaces the global idle window for this Mind; `idle.scale_to_zero` false and `horizontal.min` 1 need an always-on Mind (422 SCALING_ALWAYS_ON_REQUIRED); `idle.wake` is on_request. An unknown field is 422 SCALING_FIELD_UNKNOWN and a value out of range or of the wrong type 422 SCALING_FIELD_INVALID, both with `field`. `vertical.apply` is stored and has no effect yet. Every applied or refused set is recorded as a scaling event. An optional Idempotency-Key (UUID4) is forwarded; the generation already makes a repeated set a conflict rather than a second change. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation. A Mind in another organization, project or environment answers 404.
11503
+ */
11504
+ put: operations["minds_setScaling"];
11505
+ post?: never;
11506
+ delete?: never;
11507
+ options?: never;
11508
+ head?: never;
11509
+ patch?: never;
11510
+ trace?: never;
11511
+ };
11512
+ "/v1/minds/services/{mind_id}/scaling/events": {
11513
+ parameters: {
11514
+ query?: never;
11515
+ header?: never;
11516
+ path?: never;
11517
+ cookie?: never;
11518
+ };
11519
+ /**
11520
+ * List a Mind's scaling decisions, newest first
11521
+ * @description Served only when the gateway enables MINDS_SCALING_V1 (default off; until then this path answers 404 NOT_FOUND like any unknown Minds path) and the Minds controller enables MINDS_SCALING_POLICY. An original human One account session with a verified pf_console selection (Sandbox, or Live), or an org API key with a Sandbox or Live binding and `minds:read` (or `minds:write`). Every policy set (applied or refused), idle stop, wake and manual resize, newest first, kept for 90 days. `limit` is 1 to 100 (default 50); pass `next_cursor` back as `cursor` for the next page. Live selections reach Live Minds only when the gateway lists Minds as Live (GENESIS_LIVE_SERVICES); the verified environment is forwarded and never falls back to Sandbox. Until then a Live selection answers 409 ENVIRONMENT_NOT_AVAILABLE before any delegation. A Mind in another organization, project or environment answers 404.
11522
+ */
11523
+ get: operations["minds_listScalingEvents"];
11524
+ put?: never;
11525
+ post?: never;
11526
+ delete?: never;
11527
+ options?: never;
11528
+ head?: never;
11529
+ patch?: never;
11530
+ trace?: never;
11531
+ };
11232
11532
  "/v1/minds/services/{mind_id}/engine/v1/{keyspace}": {
11233
11533
  parameters: {
11234
11534
  query?: never;
@@ -15716,6 +16016,123 @@ export interface paths {
15716
16016
  patch?: never;
15717
16017
  trace?: never;
15718
16018
  };
16019
+ "/v1/shells/shells/{id}/egress": {
16020
+ parameters: {
16021
+ query?: never;
16022
+ header?: never;
16023
+ path: {
16024
+ /** @description The Shell's id (an Omega deployment UUID) */
16025
+ id: string;
16026
+ };
16027
+ cookie?: never;
16028
+ };
16029
+ /**
16030
+ * Read a Shell's network access
16031
+ * @description The Shell's egress state: its tier (`sealed`, `packages`, `custom` or `internet`), the extra hosts it was widened to and until when, today's usage and the limits. Read only. Needs `shells:write` (the same permission as a Shell action). Answers 404 until the owner switches Shells egress operations on.
16032
+ */
16033
+ get: operations["shells_getShellEgress"];
16034
+ put?: never;
16035
+ post?: never;
16036
+ delete?: never;
16037
+ options?: never;
16038
+ head?: never;
16039
+ patch?: never;
16040
+ trace?: never;
16041
+ };
16042
+ "/v1/shells/shells/{id}/egress/log": {
16043
+ parameters: {
16044
+ query?: never;
16045
+ header?: never;
16046
+ path: {
16047
+ /** @description The Shell's id (an Omega deployment UUID) */
16048
+ id: string;
16049
+ };
16050
+ cookie?: never;
16051
+ };
16052
+ /**
16053
+ * Read a Shell's recent network decisions
16054
+ * @description The proxy's most recent decisions for this Shell (allowed, refused and why). Hosts the Shell was refused are shown so you can see what to ask for; no payload is ever recorded. `limit` is 1 to 100 (default the proxy's page). Needs `shells:write`.
16055
+ */
16056
+ get: operations["shells_getShellEgressLog"];
16057
+ put?: never;
16058
+ post?: never;
16059
+ delete?: never;
16060
+ options?: never;
16061
+ head?: never;
16062
+ patch?: never;
16063
+ trace?: never;
16064
+ };
16065
+ "/v1/shells/shells/{id}/egress/requests": {
16066
+ parameters: {
16067
+ query?: never;
16068
+ header?: never;
16069
+ path: {
16070
+ /** @description The Shell's id (an Omega deployment UUID) */
16071
+ id: string;
16072
+ };
16073
+ cookie?: never;
16074
+ };
16075
+ get?: never;
16076
+ put?: never;
16077
+ /**
16078
+ * Ask for more network access for a Shell
16079
+ * @description Files a request to let this one Shell reach up to 8 extra hosts for at most 59 minutes. Nothing is widened by this call: Shells creates a confirmation for the person who created the Shell, they decide in Taps or the Console, and the widening is applied when the confirmed request is read (`getShellEgressRequest`). Only the Shell's creator can ask. Needs `shells:write`. Idempotency-Key is required.
16080
+ */
16081
+ post: operations["shells_requestShellEgress"];
16082
+ delete?: never;
16083
+ options?: never;
16084
+ head?: never;
16085
+ patch?: never;
16086
+ trace?: never;
16087
+ };
16088
+ "/v1/shells/shells/{id}/egress/requests/{requestId}": {
16089
+ parameters: {
16090
+ query?: never;
16091
+ header?: never;
16092
+ path: {
16093
+ /** @description The Shell's id (an Omega deployment UUID) */
16094
+ id: string;
16095
+ /** @description The request id returned when it was filed */
16096
+ requestId: string;
16097
+ };
16098
+ cookie?: never;
16099
+ };
16100
+ /**
16101
+ * Read a network access request
16102
+ * @description The request's status: `pending`, `approved`, `declined`, `expired` or `applied`. If the person confirmed it and nobody has applied it yet, this read applies it once (`applied_now`). A declined or expired request stays final. Needs `shells:write`.
16103
+ */
16104
+ get: operations["shells_getShellEgressRequest"];
16105
+ put?: never;
16106
+ post?: never;
16107
+ delete?: never;
16108
+ options?: never;
16109
+ head?: never;
16110
+ patch?: never;
16111
+ trace?: never;
16112
+ };
16113
+ "/v1/shells/shells/{id}/egress/revoke": {
16114
+ parameters: {
16115
+ query?: never;
16116
+ header?: never;
16117
+ path: {
16118
+ /** @description The Shell's id (an Omega deployment UUID) */
16119
+ id: string;
16120
+ };
16121
+ cookie?: never;
16122
+ };
16123
+ get?: never;
16124
+ put?: never;
16125
+ /**
16126
+ * Take a Shell's extra network access away
16127
+ * @description Removes any widening now: the Shell goes back to its default tier and its open tunnels close. Needs `shells:write`. Idempotency-Key is required. The body is empty or `{}`.
16128
+ */
16129
+ post: operations["shells_revokeShellEgress"];
16130
+ delete?: never;
16131
+ options?: never;
16132
+ head?: never;
16133
+ patch?: never;
16134
+ trace?: never;
16135
+ };
15719
16136
  "/v1/gears/workflows": {
15720
16137
  parameters: {
15721
16138
  query?: never;
@@ -19118,6 +19535,70 @@ export interface paths {
19118
19535
  patch?: never;
19119
19536
  trace?: never;
19120
19537
  };
19538
+ "/v1/orgs/{org}/billing/payment-methods/setup-session": {
19539
+ parameters: {
19540
+ query?: never;
19541
+ header?: never;
19542
+ path?: never;
19543
+ cookie?: never;
19544
+ };
19545
+ get?: never;
19546
+ put?: never;
19547
+ /**
19548
+ * Start a card setup on your billing account
19549
+ * @description Hosted Stripe Checkout in setup mode on your billing account's customer; the card is set up for off-session payments (the SetupIntent it creates has usage off_session), so a card that needs your bank's approval is approved here, once. Send the customer to `url`. `return_url` and `cancel_url` must be os.one.ml Console billing/payment-methods pages (https; `return_url` may carry only `session_id={CHECKOUT_SESSION_ID}` and `setup`). Create the billing account first. Needs genesis.billing.manage and an Idempotency-Key.
19550
+ */
19551
+ post: operations["gateway_createBillingCardSetupSession"];
19552
+ delete?: never;
19553
+ options?: never;
19554
+ head?: never;
19555
+ patch?: never;
19556
+ trace?: never;
19557
+ };
19558
+ "/v1/orgs/{org}/billing/payment-methods/default": {
19559
+ parameters: {
19560
+ query?: never;
19561
+ header?: never;
19562
+ path?: never;
19563
+ cookie?: never;
19564
+ };
19565
+ get?: never;
19566
+ put?: never;
19567
+ /**
19568
+ * Make the card from a completed setup the default
19569
+ * @description After the customer returns from the hosted page, send the `session_id` from the return URL. The session must be complete, on your billing account's customer, and its SetupIntent must have succeeded with usage off_session; only then is the card made the default. Answers the card's brand, last four digits and expiry only. Needs genesis.billing.manage and an Idempotency-Key.
19570
+ */
19571
+ post: operations["gateway_setBillingDefaultPaymentMethod"];
19572
+ delete?: never;
19573
+ options?: never;
19574
+ head?: never;
19575
+ patch?: never;
19576
+ trace?: never;
19577
+ };
19578
+ "/v1/orgs/{org}/billing/subscription": {
19579
+ parameters: {
19580
+ query?: never;
19581
+ header?: never;
19582
+ path?: never;
19583
+ cookie?: never;
19584
+ };
19585
+ /**
19586
+ * Your Genesis Pro subscription and entitlement
19587
+ * @description The OneOS Pro subscription for your organization in the environment of your credentials (status, prices, period, latest invoice) and whether Pro is entitled. subscription is null until you subscribe. Needs genesis.billing.read. Takes no query. 503 billing_unavailable while Genesis Pro is not switched on in the environment.
19588
+ */
19589
+ get: operations["gateway_getGenesisProSubscription"];
19590
+ put?: never;
19591
+ /**
19592
+ * Subscribe to OneOS Pro
19593
+ * @description Starts the OneOS Pro subscription on your billing account (create it first with updateBillingAccount): the plan price plus the per-meter prices for inference, computer time, runner job time and browser time. If an open subscription exists it is returned (200) instead of a second one. With no saved payment method the subscription stays incomplete and latest_invoice carries the hosted invoice to pay; entitlement follows only Stripe's verified webhook. Sandbox is test money. Stripe ids (account, customer, subscription, invoice) and Stripe-hosted URLs are never returned; they come back null. Needs genesis.billing.manage and an Idempotency-Key.
19594
+ */
19595
+ post: operations["gateway_createGenesisProSubscription"];
19596
+ delete?: never;
19597
+ options?: never;
19598
+ head?: never;
19599
+ patch?: never;
19600
+ trace?: never;
19601
+ };
19121
19602
  "/v1/orgs/{org}/quotas": {
19122
19603
  parameters: {
19123
19604
  query?: never;
@@ -19242,6 +19723,26 @@ export interface paths {
19242
19723
  patch?: never;
19243
19724
  trace?: never;
19244
19725
  };
19726
+ "/v1/billing/pricing": {
19727
+ parameters: {
19728
+ query?: never;
19729
+ header?: never;
19730
+ path?: never;
19731
+ cookie?: never;
19732
+ };
19733
+ /**
19734
+ * The OneOS Pro pricing catalog
19735
+ * @description Public, no credential (any credential is ignored and never forwarded). The OneOS Pro plans (Hobby, OneOS Pro monthly and annual, Enterprise), the usage each includes, and every meter's rate, built from genesis-billing's code catalog. `live_metered` on a rate (and `live_priced` on a plan price) is true only when that price is billed in Live: Stripe live mode, OneOS Pro on in Live, and the exact price active in the live account. Render a rate only when `live_metered` is true. Cached for 5 minutes with an ETag; a matching If-None-Match answers 304. Answers 404 until public pricing is switched on.
19736
+ */
19737
+ get: operations["gateway_getBillingPricing"];
19738
+ put?: never;
19739
+ post?: never;
19740
+ delete?: never;
19741
+ options?: never;
19742
+ head?: never;
19743
+ patch?: never;
19744
+ trace?: never;
19745
+ };
19245
19746
  "/v1/credits": {
19246
19747
  parameters: {
19247
19748
  query?: never;
@@ -19337,7 +19838,7 @@ export interface paths {
19337
19838
  head?: never;
19338
19839
  /**
19339
19840
  * Change your borrow ceiling and auto-refill
19340
- * @description Changes only the settings you send: `borrow_ceiling_credits` (how many credits your agents' seats may borrow from your balance in a period) and `auto_refill` (`enabled`, `pack` 10, 25 or 50, `monthly_ceiling_credits`). Unknown fields are refused. Needs genesis.billing.manage and an Idempotency-Key; reuse the key to replay.
19841
+ * @description Changes only the settings you send: `borrow_ceiling_credits` (how many credits your agents' seats may borrow from your balance in a period), `auto_refill` (`enabled`, `pack` 10, 25 or 50, `monthly_ceiling_credits`) and, once One plans are on, `daily_limit_credits` (paid plans; null clears it) and `always_on_one`. Unknown fields are refused. Needs genesis.billing.manage and an Idempotency-Key; reuse the key to replay.
19341
19842
  */
19342
19843
  patch: operations["gateway_updateCreditSettings"];
19343
19844
  trace?: never;
@@ -24592,6 +25093,150 @@ export interface paths {
24592
25093
  patch?: never;
24593
25094
  trace?: never;
24594
25095
  };
25096
+ "/v1/agents/search": {
25097
+ parameters: {
25098
+ query?: never;
25099
+ header?: never;
25100
+ path?: never;
25101
+ cookie?: never;
25102
+ };
25103
+ /**
25104
+ * Search public agents
25105
+ * @description Public, no credential. Ranked full-text search over public Live agents: matches in the name rank above the organization name, then the description, then the agent id; every word must match, as a prefix. An exact agent id ranks that agent first. GET only, no body, no other query key. Cached at the edge for up to 30 seconds. Rate limited per client address (429 RATE_LIMITED with Retry-After).
25106
+ */
25107
+ get: operations["agents_search"];
25108
+ put?: never;
25109
+ post?: never;
25110
+ delete?: never;
25111
+ options?: never;
25112
+ head?: never;
25113
+ patch?: never;
25114
+ trace?: never;
25115
+ };
25116
+ "/v1/agents/sitemap": {
25117
+ parameters: {
25118
+ query?: never;
25119
+ header?: never;
25120
+ path?: never;
25121
+ cookie?: never;
25122
+ };
25123
+ /**
25124
+ * List every public agent for crawlers
25125
+ * @description Public, no credential. Every public Live agent id (at most 50,000) with when its public content last changed, for sitemaps and spiders. GET only, no query string, no body. Cached at the edge for up to 5 minutes. Rate limited per client address.
25126
+ */
25127
+ get: operations["agents_sitemap"];
25128
+ put?: never;
25129
+ post?: never;
25130
+ delete?: never;
25131
+ options?: never;
25132
+ head?: never;
25133
+ patch?: never;
25134
+ trace?: never;
25135
+ };
25136
+ "/v1/one/instance": {
25137
+ parameters: {
25138
+ query?: never;
25139
+ header?: never;
25140
+ path?: never;
25141
+ cookie?: never;
25142
+ };
25143
+ /**
25144
+ * Read your own One instance
25145
+ * @description Your One's state, goals, bound connections, heartbeat and newest checkpoint. `instance` is null before your One exists. Snapshot contents are never returned. Needs `one:read`.
25146
+ */
25147
+ get: operations["one_getInstance"];
25148
+ put?: never;
25149
+ post?: never;
25150
+ delete?: never;
25151
+ options?: never;
25152
+ head?: never;
25153
+ patch?: never;
25154
+ trace?: never;
25155
+ };
25156
+ "/v1/one/instance/stop": {
25157
+ parameters: {
25158
+ query?: never;
25159
+ header?: never;
25160
+ path?: never;
25161
+ cookie?: never;
25162
+ };
25163
+ get?: never;
25164
+ put?: never;
25165
+ /**
25166
+ * Stop your One
25167
+ * @description "Stop One", by the person only. Halts your One, stops the reply being written and asks Henry to cancel every run of yours from the last 24 hours that may still be going. While halted your own messages are still answered, but One starts no agents. Works even when you are signed out of One (Henry's runs are then reported unconfirmed). Needs `one:write`. Human consent: the MCP never calls it for an agent.
25168
+ */
25169
+ post: operations["one_stopInstance"];
25170
+ delete?: never;
25171
+ options?: never;
25172
+ head?: never;
25173
+ patch?: never;
25174
+ trace?: never;
25175
+ };
25176
+ "/v1/one/instance/resume": {
25177
+ parameters: {
25178
+ query?: never;
25179
+ header?: never;
25180
+ path?: never;
25181
+ cookie?: never;
25182
+ };
25183
+ get?: never;
25184
+ put?: never;
25185
+ /**
25186
+ * Resume your halted One
25187
+ * @description Resumes your halted One (state `asleep`); `resumed` is false when it was not halted. Only you can resume it. Needs `one:write`. Human consent: the MCP never calls it for an agent.
25188
+ */
25189
+ post: operations["one_resumeInstance"];
25190
+ delete?: never;
25191
+ options?: never;
25192
+ head?: never;
25193
+ patch?: never;
25194
+ trace?: never;
25195
+ };
25196
+ "/v1/one/instance/wakeups": {
25197
+ parameters: {
25198
+ query?: never;
25199
+ header?: never;
25200
+ path?: never;
25201
+ cookie?: never;
25202
+ };
25203
+ /**
25204
+ * List your One's wakes
25205
+ * @description What is still to come, then what each wake did (ran, parked for sign-in, halted, failed). Needs `one:read`.
25206
+ */
25207
+ get: operations["one_listWakeups"];
25208
+ put?: never;
25209
+ /**
25210
+ * Set a wake for your One
25211
+ * @description At `at`, your One runs with your words as a structured event (never as your message) and its reply shows "Woken by your schedule". Only you set wakes. A wake that finds no live One sign-in is `needs_sign_in` and runs again after your next turn; a halted One runs none. Needs `one:write`. Human consent: the MCP never calls it for an agent.
25212
+ */
25213
+ post: operations["one_createWakeup"];
25214
+ delete?: never;
25215
+ options?: never;
25216
+ head?: never;
25217
+ patch?: never;
25218
+ trace?: never;
25219
+ };
25220
+ "/v1/one/instance/wakeups/{id}": {
25221
+ parameters: {
25222
+ query?: never;
25223
+ header?: never;
25224
+ path?: never;
25225
+ cookie?: never;
25226
+ };
25227
+ get?: never;
25228
+ put?: never;
25229
+ post?: never;
25230
+ /**
25231
+ * Cancel one of your wakes
25232
+ * @description Cancels a wake of yours that has not run. Needs `one:write`.
25233
+ */
25234
+ delete: operations["one_cancelWakeup"];
25235
+ options?: never;
25236
+ head?: never;
25237
+ patch?: never;
25238
+ trace?: never;
25239
+ };
24595
25240
  }
24596
25241
  export type webhooks = Record<string, never>;
24597
25242
  export interface components {
@@ -25580,12 +26225,102 @@ export interface components {
25580
26225
  plan_id: string;
25581
26226
  success_url?: string | null;
25582
26227
  };
26228
+ /** @description A cron handler that fires the signed hives-callback-v1 callback at a registered timer target instead of running a function. */
26229
+ "Hives.CallbackCronHandler": {
26230
+ /** @enum {string} */
26231
+ type: "callback";
26232
+ /** @description Timer target ID (tgt_…) in the same project and environment */
26233
+ target_id: string;
26234
+ /** @description Opaque JSON object, at most 1024 bytes serialized */
26235
+ payload?: Record<string, never>;
26236
+ };
26237
+ "Hives.CreateTimerRequest": {
26238
+ /**
26239
+ * Format: date-time
26240
+ * @description RFC 3339 with offset; after now and at most 400 days ahead
26241
+ */
26242
+ at: string;
26243
+ /** @description Timer target ID (tgt_…) in the same project and environment */
26244
+ target_id: string;
26245
+ /** @description Opaque JSON object, at most 1024 bytes serialized */
26246
+ payload?: Record<string, never>;
26247
+ /** @description Unique per project and environment */
26248
+ idempotency_key: string;
26249
+ };
26250
+ "Hives.Timer": {
26251
+ /** @description tmr_ plus a UUIDv7 */
26252
+ id: string;
26253
+ project_id: string;
26254
+ /** @enum {string} */
26255
+ environment: "sandbox" | "live";
26256
+ target_id: string;
26257
+ /** Format: date-time */
26258
+ at: string;
26259
+ /** @enum {string} */
26260
+ state: "scheduled" | "firing" | "fired" | "failed" | "cancelled";
26261
+ attempts: number;
26262
+ last_status?: number | null;
26263
+ /** Format: date-time */
26264
+ fired_at?: string | null;
26265
+ /** Format: date-time */
26266
+ cancelled_at?: string | null;
26267
+ /** Format: date-time */
26268
+ created_at: string;
26269
+ idempotency_key: string;
26270
+ payload?: Record<string, never>;
26271
+ };
26272
+ "Hives.TimerList": {
26273
+ timers: components["schemas"]["Hives.Timer"][];
26274
+ next_cursor?: string | null;
26275
+ };
26276
+ "Hives.CreateTimerTargetRequest": {
26277
+ /** @description https URL, no userinfo, port 443 or none, public host. Checked again when a callback fires. */
26278
+ url: string;
26279
+ name?: string;
26280
+ };
26281
+ /** @description A registered callback target. It never carries the signing secret. */
26282
+ "Hives.TimerTarget": {
26283
+ /** @description tgt_ plus a UUIDv7 */
26284
+ id: string;
26285
+ project_id: string;
26286
+ /** @enum {string} */
26287
+ environment: "sandbox" | "live";
26288
+ url: string;
26289
+ name?: string | null;
26290
+ /** Format: date-time */
26291
+ created_at: string;
26292
+ /** Format: date-time */
26293
+ rotated_at?: string | null;
26294
+ };
26295
+ "Hives.TimerTargetList": {
26296
+ targets: components["schemas"]["Hives.TimerTarget"][];
26297
+ };
26298
+ /** @description The created target with its signing secret. The secret is shown once and never again. */
26299
+ "Hives.TimerTargetCreated": {
26300
+ target_id: string;
26301
+ url: string;
26302
+ name?: string | null;
26303
+ /** Format: date-time */
26304
+ created_at: string;
26305
+ /** @description hcs_ plus base64url of 32 random bytes. Shown once; store it immediately. Never logged by Genesis. */
26306
+ signing_secret: string;
26307
+ };
26308
+ "Hives.TimerTargetRotated": {
26309
+ target_id: string;
26310
+ /** @description The new signing secret. Shown once; store it immediately. Never logged by Genesis. */
26311
+ signing_secret: string;
26312
+ /**
26313
+ * Format: date-time
26314
+ * @description Receivers may still verify the previous secret until this time (24 hours)
26315
+ */
26316
+ previous_valid_until: string;
26317
+ };
25583
26318
  /** @description Create cron job request */
25584
26319
  "Hives.CreateCronRequest": {
25585
26320
  /** @description Whether the job is enabled */
25586
26321
  enabled?: boolean;
25587
- /** @description Handler function ID or name */
25588
- handler: string;
26322
+ /** @description Handler function ID or name (a string), or a callback handler object that fires the signed hives-callback-v1 callback at a timer target on every occurrence */
26323
+ handler: string | components["schemas"]["Hives.CallbackCronHandler"];
25589
26324
  /** @description Job name */
25590
26325
  name: string;
25591
26326
  /** @description Cron schedule expression */
@@ -26650,8 +27385,8 @@ export interface components {
26650
27385
  "Hives.UpdateCronRequest": {
26651
27386
  /** @description Whether the job is enabled */
26652
27387
  enabled?: boolean | null;
26653
- /** @description Handler function */
26654
- handler?: string | null;
27388
+ /** @description Handler function ID (a string), or a callback handler object */
27389
+ handler?: string | components["schemas"]["Hives.CallbackCronHandler"] | null;
26655
27390
  /** @description Job name */
26656
27391
  name?: string | null;
26657
27392
  /** @description Cron schedule expression */
@@ -32359,6 +33094,15 @@ export interface components {
32359
33094
  /** @description Genesis key of this organization with panes:write and shells:write; 1-4096 UTF-8 bytes without CR, LF or NUL. Never returned. */
32360
33095
  api_key: string;
32361
33096
  };
33097
+ "Fleets.WebConnection": {
33098
+ connected: boolean;
33099
+ updated_at?: number;
33100
+ scopes?: "traces:read"[];
33101
+ };
33102
+ "Fleets.WebConnectionInput": {
33103
+ /** @description Genesis key of this organization whose scopes are exactly traces:read; 1-4096 UTF-8 bytes without CR, LF or NUL. Never returned. */
33104
+ api_key: string;
33105
+ };
32362
33106
  "Flocks.NativeCredential": {
32363
33107
  /** Format: uuid */
32364
33108
  node_id: string;
@@ -33144,9 +33888,9 @@ export interface components {
33144
33888
  */
33145
33889
  platformId?: "dials";
33146
33890
  organizationId: string;
33147
- workspaceId: string;
33148
- projectId: string;
33149
- environmentId: string;
33891
+ workspaceId?: string;
33892
+ projectId?: string;
33893
+ environmentId?: string;
33150
33894
  };
33151
33895
  "Dials.Number": {
33152
33896
  id: string;
@@ -33795,6 +34539,24 @@ export interface components {
33795
34539
  actorId: string;
33796
34540
  workflow: components["schemas"]["Dials.WorkflowDocument"];
33797
34541
  };
34542
+ "Dials.DeleteWorkflow": {
34543
+ scope: components["schemas"]["Dials.Scope"];
34544
+ /** @description Optional compatibility field; the actual actor comes from the verified gateway identity. */
34545
+ actorId?: string | null;
34546
+ };
34547
+ /** @description The deleted workflow as it was, with status "deleted". */
34548
+ "Dials.DeleteWorkflowReceipt": {
34549
+ /** @constant */
34550
+ ok: true;
34551
+ /** @constant */
34552
+ deleted: true;
34553
+ workflow: components["schemas"]["Dials.WorkflowDocument"];
34554
+ /** @description The routing-rule descriptor ids that were deleted. */
34555
+ routeIds: string[];
34556
+ auditId: string;
34557
+ /** @constant */
34558
+ next: "workflow_deleted";
34559
+ };
33798
34560
  /** @description Saved call session. Admission/recovery receipts return this session without the separate carrier outcome fields in calls.list. */
33799
34561
  "Dials.CallSession": {
33800
34562
  id: string;
@@ -33877,6 +34639,87 @@ export interface components {
33877
34639
  auditId: string | null;
33878
34640
  idempotentReplay: boolean;
33879
34641
  };
34642
+ "Dials.SetNumberVoiceHandler": {
34643
+ scope: components["schemas"]["Dials.Scope"];
34644
+ phoneNumberId: string;
34645
+ /** @enum {string} */
34646
+ handler: "one_phone" | "default";
34647
+ };
34648
+ "Dials.NumberVoiceHandlerReceipt": {
34649
+ /** @constant */
34650
+ ok: true;
34651
+ phoneNumberId: string;
34652
+ /** @enum {string} */
34653
+ handler: "one_phone" | "default";
34654
+ auditId?: string;
34655
+ next?: string;
34656
+ } & {
34657
+ [key: string]: unknown;
34658
+ };
34659
+ "Dials.OneNumberCandidate": {
34660
+ /** @description E.164 North American number. */
34661
+ e164: string;
34662
+ display: string;
34663
+ locality?: string;
34664
+ region?: string;
34665
+ };
34666
+ "Dials.OneNumberSuggestions": {
34667
+ /** @enum {string} */
34668
+ state: "suggestions" | "none_found";
34669
+ /** @enum {string} */
34670
+ source: "verified_phone" | "ip_city" | "device" | "search";
34671
+ areaCode?: string | null;
34672
+ city?: string | null;
34673
+ numbers: components["schemas"]["Dials.OneNumberCandidate"][];
34674
+ };
34675
+ "Dials.ChooseOneNumber": {
34676
+ /** @description E.164 North American number. */
34677
+ e164: string;
34678
+ idempotencyKey: string;
34679
+ };
34680
+ "Dials.OneNumber": {
34681
+ /** @description E.164 North American number. */
34682
+ e164: string;
34683
+ display?: string;
34684
+ locality?: string;
34685
+ region?: string;
34686
+ /** @enum {string} */
34687
+ state: "reserved_intent" | "active" | "releasing" | "released";
34688
+ /** Format: date-time */
34689
+ chosenAt?: string | null;
34690
+ } & {
34691
+ [key: string]: unknown;
34692
+ };
34693
+ "Dials.OneNumberChoice": {
34694
+ /** @enum {string} */
34695
+ state: "chosen" | "reserved_intent";
34696
+ number?: components["schemas"]["Dials.OneNumber"];
34697
+ } & {
34698
+ [key: string]: unknown;
34699
+ };
34700
+ "Dials.MyOneNumber": {
34701
+ number: components["schemas"]["Dials.OneNumber"] | null;
34702
+ plan?: string;
34703
+ idleDays?: number | null;
34704
+ /** Format: date-time */
34705
+ releaseAt?: string | null;
34706
+ } & {
34707
+ [key: string]: unknown;
34708
+ };
34709
+ "Dials.OneNumberRelease": {
34710
+ /** @enum {string} */
34711
+ state: "releasing" | "released";
34712
+ number?: components["schemas"]["Dials.OneNumber"] | null;
34713
+ } & {
34714
+ [key: string]: unknown;
34715
+ };
34716
+ /** @description All fields optional. `lat` and `lng` go together: one without the other is 400. Coordinates are never sent in the URL. */
34717
+ "Dials.OneNumberSuggestionsRequest": {
34718
+ areaCode?: string;
34719
+ text?: string;
34720
+ lat?: number;
34721
+ lng?: number;
34722
+ };
33880
34723
  "Silos.Instance": {
33881
34724
  /** Format: uuid */
33882
34725
  id: string;
@@ -34794,6 +35637,159 @@ export interface components {
34794
35637
  */
34795
35638
  profile_id: "F1" | "D1" | "D2";
34796
35639
  };
35640
+ "Minds.MindsProfile": {
35641
+ /** @enum {string} */
35642
+ profile_id: "F1" | "D1" | "D2";
35643
+ vcpu: number;
35644
+ memory_mb: number;
35645
+ base_disk_gb: number;
35646
+ max_disk_gb: number;
35647
+ plans: ("free" | "pro")[];
35648
+ /** @description Environments where this profile may be requested. */
35649
+ environments: ("sandbox" | "live")[];
35650
+ /** @description Whether changing each dimension applies live or restarts the Mind. */
35651
+ apply_class: {
35652
+ /** @enum {string} */
35653
+ vcpu: "live" | "restart";
35654
+ /** @enum {string} */
35655
+ memory: "live" | "restart";
35656
+ /** @enum {string} */
35657
+ disk: "live" | "restart";
35658
+ };
35659
+ /** @description Null until the profile is live-metered in this environment. */
35660
+ price: null;
35661
+ };
35662
+ "Minds.MindsProfiles": {
35663
+ profiles: components["schemas"]["Minds.MindsProfile"][];
35664
+ };
35665
+ "Minds.Scaling": {
35666
+ policy: components["schemas"]["Minds.ScalingPolicy"];
35667
+ state: components["schemas"]["Minds.ScalingState"];
35668
+ };
35669
+ "Minds.SetScaling": {
35670
+ /** @description The stored policy generation from a fresh getScaling (0 when none is stored). */
35671
+ generation: number;
35672
+ policy: components["schemas"]["Minds.ScalingPolicyInput"];
35673
+ };
35674
+ "Minds.ScalingDecisionPage": {
35675
+ items: components["schemas"]["Minds.ScalingDecision"][];
35676
+ next_cursor: string | null;
35677
+ };
35678
+ "Minds.ScalingPolicy": {
35679
+ /** @description Optimistic generation; 0 when no policy is stored (the effective default). */
35680
+ generation: number;
35681
+ vertical: {
35682
+ /**
35683
+ * @description manual: size changes only through resize. auto is refused (422 SCALING_BUDGET_REQUIRED) until scaling budgets arrive.
35684
+ * @enum {string}
35685
+ */
35686
+ mode: "manual" | "auto";
35687
+ /**
35688
+ * @description Must equal the current profile; change it with resize (otherwise 422 SCALING_USE_RESIZE).
35689
+ * @enum {string}
35690
+ */
35691
+ profile: "F1" | "D1" | "D2";
35692
+ /** @description Must equal the current disk; change it with resize (otherwise 422 SCALING_USE_RESIZE). */
35693
+ disk_gb: number;
35694
+ /**
35695
+ * @description When a size change may apply. Stored; no effect yet.
35696
+ * @enum {string}
35697
+ */
35698
+ apply: "idle_only" | "window" | "restart_ok";
35699
+ };
35700
+ horizontal: {
35701
+ /** @description 1 means never idle-stop, and needs an always-on Mind (422 SCALING_ALWAYS_ON_REQUIRED). */
35702
+ min: number;
35703
+ /** @description 1 today; more bodies are refused (422 SCALING_FIELD_UNSUPPORTED). */
35704
+ max: number;
35705
+ };
35706
+ idle: {
35707
+ /** @description false needs an always-on Mind (422 SCALING_ALWAYS_ON_REQUIRED). */
35708
+ scale_to_zero: boolean;
35709
+ /** @description Idle window before the Mind is stopped; replaces the global window for this Mind. */
35710
+ idle_seconds: number;
35711
+ /** @enum {string} */
35712
+ wake: "on_request";
35713
+ };
35714
+ };
35715
+ /** @description The policy to store. Fields beyond these (budget, schedule, horizontal.targets) are refused with a coded 422 in this release. */
35716
+ "Minds.ScalingPolicyInput": {
35717
+ vertical: {
35718
+ /**
35719
+ * @description manual: size changes only through resize. auto is refused (422 SCALING_BUDGET_REQUIRED) until scaling budgets arrive.
35720
+ * @enum {string}
35721
+ */
35722
+ mode: "manual" | "auto";
35723
+ /**
35724
+ * @description Must equal the current profile; change it with resize (otherwise 422 SCALING_USE_RESIZE).
35725
+ * @enum {string}
35726
+ */
35727
+ profile: "F1" | "D1" | "D2";
35728
+ /** @description Must equal the current disk; change it with resize (otherwise 422 SCALING_USE_RESIZE). */
35729
+ disk_gb: number;
35730
+ /**
35731
+ * @description When a size change may apply. Stored; no effect yet.
35732
+ * @enum {string}
35733
+ */
35734
+ apply: "idle_only" | "window" | "restart_ok";
35735
+ };
35736
+ horizontal: {
35737
+ /** @description 1 means never idle-stop, and needs an always-on Mind (422 SCALING_ALWAYS_ON_REQUIRED). */
35738
+ min: number;
35739
+ /** @description 1 today; more bodies are refused (422 SCALING_FIELD_UNSUPPORTED). */
35740
+ max: number;
35741
+ };
35742
+ idle: {
35743
+ /** @description false needs an always-on Mind (422 SCALING_ALWAYS_ON_REQUIRED). */
35744
+ scale_to_zero: boolean;
35745
+ /** @description Idle window before the Mind is stopped; replaces the global window for this Mind. */
35746
+ idle_seconds: number;
35747
+ /** @enum {string} */
35748
+ wake: "on_request";
35749
+ };
35750
+ };
35751
+ "Minds.ScalingState": {
35752
+ current: {
35753
+ /** @enum {string} */
35754
+ profile: "F1" | "D1" | "D2";
35755
+ disk_gb: number;
35756
+ /** @description 1 while running, 0 while stopped. */
35757
+ bodies: number;
35758
+ region: string;
35759
+ /** @enum {string} */
35760
+ desired_state: "running" | "stopped" | "deleted";
35761
+ };
35762
+ blocked_reason: string | null;
35763
+ last_decision: components["schemas"]["Minds.ScalingDecision"] | null;
35764
+ /** @description Null until scaling budgets arrive. */
35765
+ budget: null;
35766
+ /** @description Null until the instance is live-metered. */
35767
+ burn_usd_per_hour: null;
35768
+ };
35769
+ "Minds.ScalingDecision": {
35770
+ decision_id: string;
35771
+ /** Format: uuid */
35772
+ mind_id: string;
35773
+ organization_id: string;
35774
+ project_id: string;
35775
+ /** @enum {string} */
35776
+ environment: "sandbox" | "live";
35777
+ /** Format: date-time */
35778
+ at: string;
35779
+ /** @enum {string} */
35780
+ trigger: "policy" | "idle" | "wake" | "manual";
35781
+ inputs: Record<string, never>;
35782
+ /** @description The state before the decision; null on a refused policy set. */
35783
+ from: Record<string, never> | null;
35784
+ /** @description The state after the decision (or the requested policy on a refusal). */
35785
+ to: Record<string, never> | null;
35786
+ /** @enum {string} */
35787
+ outcome: "applied" | "refused" | "deferred" | "failed";
35788
+ reason_code: string | null;
35789
+ /** @description The principal id, or autoscaler for the idle sweep. */
35790
+ actor: string;
35791
+ approval_request_id: string | null;
35792
+ };
34797
35793
  "Minds.EngineError": {
34798
35794
  error: {
34799
35795
  type: string;
@@ -35305,6 +36301,87 @@ export interface components {
35305
36301
  } & {
35306
36302
  [key: string]: unknown;
35307
36303
  };
36304
+ "Shells.EgressStateResponse": {
36305
+ ok: boolean;
36306
+ product: string;
36307
+ id: string;
36308
+ /** @description The Shell's tier, extra hosts, expiry, usage and limits as the proxy reports them */
36309
+ egress: {
36310
+ [key: string]: unknown;
36311
+ } | null;
36312
+ } & {
36313
+ [key: string]: unknown;
36314
+ };
36315
+ "Shells.EgressLogResponse": {
36316
+ ok: boolean;
36317
+ product: string;
36318
+ id: string;
36319
+ /** @description The recent decisions */
36320
+ log: {
36321
+ [key: string]: unknown;
36322
+ } | unknown[] | null;
36323
+ } & {
36324
+ [key: string]: unknown;
36325
+ };
36326
+ "Shells.EgressRequestBody": {
36327
+ hosts: string[];
36328
+ ttl_seconds: number;
36329
+ reason: string;
36330
+ };
36331
+ "Shells.EgressRequestFiled": {
36332
+ ok: boolean;
36333
+ product: string;
36334
+ request: {
36335
+ /** Format: uuid */
36336
+ request_id: string;
36337
+ /** @constant */
36338
+ status: "pending";
36339
+ shell_id: string;
36340
+ hosts: string[];
36341
+ /** Format: date-time */
36342
+ expires_at: string;
36343
+ expires_at_epoch?: number;
36344
+ reason?: string;
36345
+ digest: string;
36346
+ /** @description The exact sentence the person is asked to confirm */
36347
+ sentence: string;
36348
+ } & {
36349
+ [key: string]: unknown;
36350
+ };
36351
+ } & {
36352
+ [key: string]: unknown;
36353
+ };
36354
+ "Shells.EgressRequestStatus": {
36355
+ ok: boolean;
36356
+ product: string;
36357
+ request: {
36358
+ /** Format: uuid */
36359
+ request_id: string;
36360
+ shell_id: string;
36361
+ hosts: string[];
36362
+ /** Format: date-time */
36363
+ expires_at: string;
36364
+ digest: string;
36365
+ /** @enum {string} */
36366
+ status: "pending" | "approved" | "declined" | "expired" | "applied";
36367
+ /** Format: date-time */
36368
+ applied_at?: string | null;
36369
+ } & {
36370
+ [key: string]: unknown;
36371
+ };
36372
+ } & {
36373
+ [key: string]: unknown;
36374
+ };
36375
+ "Shells.EgressRevokeResponse": {
36376
+ ok: boolean;
36377
+ product: string;
36378
+ id: string;
36379
+ result?: {
36380
+ [key: string]: unknown;
36381
+ } | null;
36382
+ } & {
36383
+ [key: string]: unknown;
36384
+ };
35308
36385
  /** @description The 503 answer to a native `snapshot` while Omega has no snapshot executor. */
35309
36386
  "Shells.SnapshotUnavailable": {
35310
36387
  error: {
@@ -35384,15 +36461,17 @@ export interface components {
35384
36461
  /** @description Launch options; the Shells facade validates them. */
35385
36462
  "Shells.ShellLaunch": {
35386
36463
  name?: string;
35387
- /** @description wasm (default), container or microvm */
36464
+ /** @description container (the default; the only runtime the native producer runs). Anything else is 422 OMEGA_NATIVE_UNSUPPORTED_PROFILE. */
35388
36465
  runtime?: string;
35389
- /** @description Default bash */
36466
+ /** @description bash (default), node or python */
35390
36467
  language?: string;
35391
36468
  /**
35392
- * @description Default sealed
36469
+ * @description Default sealed. The native producer runs sealed only until per-tenant egress ships; anything else is 422 OMEGA_NATIVE_UNSUPPORTED_PROFILE.
35393
36470
  * @enum {string}
35394
36471
  */
35395
36472
  network?: "sealed" | "localhost" | "internet";
36473
+ /** @description Sandbox lifetime in seconds, 60 to 1800 (default 1800). Omega stops the Shell when it runs out. Anything else is 422 OMEGA_NATIVE_UNSUPPORTED_PROFILE. */
36474
+ timeoutSeconds?: number;
35396
36475
  } & {
35397
36476
  [key: string]: unknown;
35398
36477
  };
@@ -36923,6 +38002,8 @@ export interface components {
36923
38002
  ref: components["schemas"]["Scopes.Ref"];
36924
38003
  principal?: components["schemas"]["Scopes.Ref"];
36925
38004
  name?: string;
38005
+ /** @description The agent's OpenAgentID DID */
38006
+ did?: string;
36926
38007
  } | {
36927
38008
  /** @enum {string} */
36928
38009
  kind: "person";
@@ -36939,6 +38020,13 @@ export interface components {
36939
38020
  /** @description The linked Auto org; assignments then pass Auto's authority check */
36940
38021
  auto_org_id: string | null;
36941
38022
  lead: string | null;
38023
+ /** @description The signed principal that created the project. Only the owner can read or change it; anyone else in the organization */
38024
+ readonly owner: string | null;
38025
+ /**
38026
+ * @description 'one' when the gateway's signed selected context named One's platform when the project was created; set by the server, never from a request body
38027
+ * @enum {string|null}
38028
+ */
38029
+ readonly origin: "one" | null;
36942
38030
  /** Format: date */
36943
38031
  target_on: string | null;
36944
38032
  task_count: number;
@@ -37142,6 +38230,77 @@ export interface components {
37142
38230
  /** @description The projects the assignee's open tasks are in */
37143
38231
  projects: unknown;
37144
38232
  };
38233
+ "Gateway.BillingPricing": {
38234
+ /** @constant */
38235
+ object: "billing_pricing";
38236
+ /** @description Bumps on any change; compare before using an older copy */
38237
+ version: string;
38238
+ /** Format: date-time */
38239
+ generated_at: string;
38240
+ source: {
38241
+ service: string;
38242
+ commit: string | null;
38243
+ /** @enum {string} */
38244
+ stripe_mode: "live" | "test" | "off";
38245
+ };
38246
+ /** @constant */
38247
+ currency: "usd";
38248
+ plans: {
38249
+ /** @enum {string} */
38250
+ id: "hobby" | "genesis_pro" | "enterprise";
38251
+ name: string;
38252
+ /** @description Decimal string in USD */
38253
+ price_usd_month: string | null;
38254
+ /** @description Usage included each month */
38255
+ included_usage_usd?: string;
38256
+ card_required?: boolean;
38257
+ stripe_lookup_key?: string;
38258
+ live_priced?: boolean;
38259
+ annual?: {
38260
+ price_usd_year?: string;
38261
+ stripe_lookup_key?: string;
38262
+ live_priced?: boolean;
38263
+ };
38264
+ limits?: {
38265
+ [key: string]: unknown;
38266
+ };
38267
+ contact?: string;
38268
+ }[];
38269
+ rates: {
38270
+ service: string;
38271
+ service_name: string;
38272
+ category?: string | null;
38273
+ meters: string[];
38274
+ label: string;
38275
+ unit?: string | null;
38276
+ granularity?: string | null;
38277
+ /** @description Null for a meter with no price. Otherwise fixed (usd_per_unit per `per`) or list_plus_bps (provider list price plus bps). */
38278
+ rate: {
38279
+ /** @enum {string} */
38280
+ kind?: "fixed" | "list_plus_bps";
38281
+ /** @constant */
38282
+ currency?: "usd";
38283
+ usd_per_unit?: string;
38284
+ per?: string;
38285
+ bps?: number;
38286
+ base?: string;
38287
+ } | null;
38288
+ included?: {
38289
+ [key: string]: unknown;
38290
+ };
38291
+ allowance?: {
38292
+ [key: string]: unknown;
38293
+ };
38294
+ stripe_lookup_key?: string | null;
38295
+ /** @description Stripe unit amount in cents */
38296
+ stripe_unit_amount_decimal?: string | null;
38297
+ /** @description True only when this rate is billed in Live */
38298
+ live_metered: boolean;
38299
+ example?: {
38300
+ [key: string]: unknown;
38301
+ } | null;
38302
+ }[];
38303
+ };
37145
38304
  "Gateway.StatusReport": {
37146
38305
  /** @constant */
37147
38306
  object: "gateway_status";
@@ -37223,7 +38382,9 @@ export interface components {
37223
38382
  memo?: string | null;
37224
38383
  };
37225
38384
  stripe?: {
37226
- account_id?: string;
38385
+ /** @description Always null: Stripe ids are never returned */
38386
+ account_id?: string | null;
38387
+ /** @description Always null: Stripe ids are never returned */
37227
38388
  customer_id?: string | null;
37228
38389
  livemode?: boolean;
37229
38390
  };
@@ -37261,6 +38422,23 @@ export interface components {
37261
38422
  object: "list";
37262
38423
  data: components["schemas"]["Gateway.BillingContact"][];
37263
38424
  };
38425
+ "Gateway.BillingSetupSession": {
38426
+ /** @constant */
38427
+ object: "billing_setup_session";
38428
+ /** @description The hosted Stripe page where the customer enters the card. The one Stripe URL this API returns. */
38429
+ url: string;
38430
+ expires_at: string;
38431
+ };
38432
+ "Gateway.BillingPaymentMethod": {
38433
+ /** @constant */
38434
+ object: "billing_payment_method";
38435
+ brand?: string | null;
38436
+ last4?: string | null;
38437
+ exp_month?: number | null;
38438
+ exp_year?: number | null;
38439
+ /** @constant */
38440
+ default: true;
38441
+ };
37264
38442
  "Gateway.BillingTaxId": {
37265
38443
  /** @constant */
37266
38444
  object: "billing_tax_id";
@@ -37302,6 +38480,41 @@ export interface components {
37302
38480
  stripe_request_id?: string | null;
37303
38481
  }[];
37304
38482
  };
38483
+ "Gateway.GenesisProSubscription": {
38484
+ /** @constant */
38485
+ object: "genesis_pro_subscription";
38486
+ org_id: string;
38487
+ /** @enum {string} */
38488
+ environment: "sandbox" | "live";
38489
+ /** @constant */
38490
+ plan: "genesis_pro";
38491
+ created?: boolean;
38492
+ enabled?: boolean;
38493
+ stripe?: {
38494
+ /** @description Always null: Stripe ids are never returned on this resource */
38495
+ account_id?: string | null;
38496
+ mode?: string;
38497
+ livemode?: boolean;
38498
+ test_mode?: boolean;
38499
+ };
38500
+ subscription: {
38501
+ /** @description Always null: Stripe ids are never returned on this resource */
38502
+ id: string | null;
38503
+ status: string;
38504
+ prices: string[];
38505
+ current_period_start?: string | null;
38506
+ current_period_end?: string | null;
38507
+ latest_invoice?: {
38508
+ id?: string | null;
38509
+ status?: string | null;
38510
+ hosted_invoice_url?: string | null;
38511
+ amount_due?: number | null;
38512
+ } | null;
38513
+ } | null;
38514
+ entitlement: {
38515
+ [key: string]: unknown;
38516
+ };
38517
+ };
37305
38518
  "Gateway.OrgQuotas": {
37306
38519
  /** @constant */
37307
38520
  object: "org_quotas";
@@ -37437,6 +38650,57 @@ export interface components {
37437
38650
  status: string;
37438
38651
  granted_micro_usd: number;
37439
38652
  };
38653
+ one_plan?: components["schemas"]["Gateway.CreditOnePlan"];
38654
+ };
38655
+ /** @description What your plan includes and where you stand (catalog one-plans-20261025). Present once One plans v2 is on. Agents at once counts every agent working at the same moment, One included; the daily limit resets at midnight UTC. */
38656
+ "Gateway.CreditOnePlan": {
38657
+ /** @description one-plans-20261025 */
38658
+ catalog_version: string;
38659
+ /** @enum {string} */
38660
+ plan: "free" | "one" | "pro" | "max";
38661
+ agents_at_once: {
38662
+ limit: number;
38663
+ working: number;
38664
+ };
38665
+ always_on_one: {
38666
+ /** @description The plan includes it (Max) */
38667
+ included: boolean;
38668
+ /** @description The plan includes it */
38669
+ available: boolean;
38670
+ active: boolean;
38671
+ /** @enum {string|null} */
38672
+ source: "plan" | "agent" | null;
38673
+ };
38674
+ always_on_agents: {
38675
+ total: number;
38676
+ used_by_one: number;
38677
+ };
38678
+ memory: {
38679
+ limit_gb: number;
38680
+ };
38681
+ devices: {
38682
+ limit: number;
38683
+ };
38684
+ computer: {
38685
+ /** @constant */
38686
+ draws_from_allowance: true;
38687
+ /** @description Plan computer hours this period (Pro 60, Max 150); null: bounded by the allowance only */
38688
+ ceiling_hours: number | null;
38689
+ used_seconds: number;
38690
+ remaining_seconds: number | null;
38691
+ };
38692
+ daily_limit: {
38693
+ limit_credits: number | null;
38694
+ used_today_credits: number;
38695
+ resets_at: string;
38696
+ reached: boolean;
38697
+ };
38698
+ schedules: {
38699
+ limit: number | null;
38700
+ };
38701
+ top_ups: {
38702
+ available: boolean;
38703
+ };
37440
38704
  };
37441
38705
  "Gateway.CreditEntry": {
37442
38706
  id: string;
@@ -37486,11 +38750,16 @@ export interface components {
37486
38750
  pack?: 10 | 25 | 50;
37487
38751
  monthly_ceiling_credits?: number;
37488
38752
  };
38753
+ /** @description One plans: a daily limit for everything One and your agents do (paid plans); null clears it */
38754
+ daily_limit_credits?: number | null;
38755
+ /** @description One plans: make your One always on (Max includes it; otherwise with an Always-on agent) */
38756
+ always_on_one?: boolean;
37489
38757
  };
37490
38758
  "Gateway.CreditSettings": {
37491
38759
  org: string;
37492
38760
  borrow: components["schemas"]["Gateway.CreditBorrow"];
37493
38761
  auto_refill: components["schemas"]["Gateway.CreditAutoRefill"];
38762
+ one_plan?: components["schemas"]["Gateway.CreditOnePlan"];
37494
38763
  };
37495
38764
  "Gateway.CreditCheckout": {
37496
38765
  /**
@@ -41414,6 +42683,116 @@ export interface components {
41414
42683
  data: components["schemas"]["Connections.ConnectedTool"][];
41415
42684
  session_tainted?: boolean;
41416
42685
  };
42686
+ "Agents.AgentSearchResults": {
42687
+ results: components["schemas"]["Agents.AgentSearchHit"][];
42688
+ };
42689
+ /** @description One public agent. Optional keys are omitted when the owner did not disclose them. */
42690
+ "Agents.AgentSearchHit": {
42691
+ /** @description The agent's IAM id (a_...) */
42692
+ agentId: string;
42693
+ /** @description The agent's canonical DID (did:oas:agent:...) */
42694
+ did: string;
42695
+ /**
42696
+ * @description IAM vouches for this public identity
42697
+ * @constant
42698
+ */
42699
+ verified: true;
42700
+ /**
42701
+ * @description Always live; Sandbox agents are never indexed
42702
+ * @constant
42703
+ */
42704
+ environment: "live";
42705
+ /** @description The agent's name (when disclosed) */
42706
+ name?: string;
42707
+ /** @description The owning organization (when its name is disclosed). Never a person. */
42708
+ owner?: {
42709
+ name: string;
42710
+ };
42711
+ /** @description The owner's public description (when disclosed) */
42712
+ description?: string;
42713
+ /** @description When the agent was created */
42714
+ createdAt?: number;
42715
+ };
42716
+ "Agents.AgentSitemap": {
42717
+ agents: {
42718
+ agentId: string;
42719
+ /** @description When the agent's public content last changed */
42720
+ updatedAt: number;
42721
+ }[];
42722
+ };
42723
+ /** @enum {string} */
42724
+ "One.InstanceState": "asleep" | "waking" | "awake" | "always_on" | "halted";
42725
+ "One.Goal": {
42726
+ id: string;
42727
+ words: string;
42728
+ /** Format: date-time */
42729
+ createdAt: string;
42730
+ };
42731
+ "One.Checkpoint": {
42732
+ seq: number;
42733
+ sha256: string;
42734
+ /** Format: date-time */
42735
+ at: string;
42736
+ };
42737
+ "One.Instance": {
42738
+ state: components["schemas"]["One.InstanceState"];
42739
+ goals: components["schemas"]["One.Goal"][];
42740
+ /** @description Connections bound to your One (names only) */
42741
+ bound: string[];
42742
+ /** Format: date-time */
42743
+ heartbeatAt: string | null;
42744
+ checkpoint: components["schemas"]["One.Checkpoint"] | null;
42745
+ /** Format: date-time */
42746
+ createdAt: string;
42747
+ };
42748
+ "One.InstanceEnvelope": {
42749
+ instance: components["schemas"]["One.Instance"] | null;
42750
+ };
42751
+ "One.StopReport": {
42752
+ /** @enum {string} */
42753
+ state: "halted";
42754
+ /** @description The reply One was writing was stopped (what was written is kept) */
42755
+ replyStopped: boolean;
42756
+ /** @description Henry runs cancelled */
42757
+ runsCancelled: number;
42758
+ /** @description Runs whose cancel Henry did not confirm */
42759
+ runsUnconfirmed: number;
42760
+ };
42761
+ "One.ResumeResult": {
42762
+ /** @enum {string|null} */
42763
+ state: "asleep" | null;
42764
+ resumed: boolean;
42765
+ };
42766
+ "One.CreateWakeRequest": {
42767
+ /**
42768
+ * Format: date-time
42769
+ * @description When to wake, an ISO time with offset, in the future
42770
+ */
42771
+ at: string;
42772
+ /** @description What One should do when it wakes */
42773
+ words: string;
42774
+ /** @description IANA time zone, for example America/Chicago */
42775
+ timeZone?: string;
42776
+ };
42777
+ /** @enum {string} */
42778
+ "One.WakeStatus": "pending" | "claiming" | "done" | "cancelled" | "needs_sign_in" | "halted" | "failed";
42779
+ "One.Wake": {
42780
+ /** @description wk_ followed by a UUID v4 */
42781
+ id: string;
42782
+ /** @enum {string} */
42783
+ source: "schedule" | "callback";
42784
+ words: string;
42785
+ /** Format: date-time */
42786
+ dueAt: string;
42787
+ status: components["schemas"]["One.WakeStatus"];
42788
+ outcome: string | null;
42789
+ replyId: string | null;
42790
+ /** Format: date-time */
42791
+ doneAt: string | null;
42792
+ };
42793
+ "One.WakeList": {
42794
+ wakeups: components["schemas"]["One.Wake"][];
42795
+ };
41417
42796
  };
41418
42797
  responses: {
41419
42798
  /** @description Foundry API error. */
@@ -46486,6 +47865,471 @@ export interface operations {
46486
47865
  };
46487
47866
  };
46488
47867
  };
47868
+ hives_listTimers: {
47869
+ parameters: {
47870
+ query?: {
47871
+ /** @description Only the timer created with this idempotency key */
47872
+ idempotency_key?: string;
47873
+ /** @description Only timers in this state */
47874
+ state?: "scheduled" | "firing" | "fired" | "failed" | "cancelled";
47875
+ /** @description Page size, 1 to 100 (default 50) */
47876
+ limit?: number;
47877
+ /** @description next_cursor from the previous page */
47878
+ cursor?: string;
47879
+ };
47880
+ header?: never;
47881
+ path: {
47882
+ /** @description Hives project id (prj_…) */
47883
+ project_id: string;
47884
+ };
47885
+ cookie?: never;
47886
+ };
47887
+ requestBody?: never;
47888
+ responses: {
47889
+ /** @description A page of timers */
47890
+ 200: {
47891
+ headers: {
47892
+ [name: string]: unknown;
47893
+ };
47894
+ content: {
47895
+ "application/json": components["schemas"]["Hives.TimerList"];
47896
+ };
47897
+ };
47898
+ /** @description Invalid filter or cursor */
47899
+ 400: {
47900
+ headers: {
47901
+ [name: string]: unknown;
47902
+ };
47903
+ content?: never;
47904
+ };
47905
+ /** @description Unauthorized */
47906
+ 401: {
47907
+ headers: {
47908
+ [name: string]: unknown;
47909
+ };
47910
+ content?: never;
47911
+ };
47912
+ /** @description Project not found, or timers are not enabled */
47913
+ 404: {
47914
+ headers: {
47915
+ [name: string]: unknown;
47916
+ };
47917
+ content?: never;
47918
+ };
47919
+ /** @description Scheduler unavailable */
47920
+ 503: {
47921
+ headers: {
47922
+ [name: string]: unknown;
47923
+ };
47924
+ content?: never;
47925
+ };
47926
+ };
47927
+ };
47928
+ hives_createTimer: {
47929
+ parameters: {
47930
+ query?: never;
47931
+ header?: never;
47932
+ path: {
47933
+ /** @description Hives project id (prj_…) */
47934
+ project_id: string;
47935
+ };
47936
+ cookie?: never;
47937
+ };
47938
+ requestBody: {
47939
+ content: {
47940
+ "application/json": components["schemas"]["Hives.CreateTimerRequest"];
47941
+ };
47942
+ };
47943
+ responses: {
47944
+ /** @description The timer already created with this idempotency key and body */
47945
+ 200: {
47946
+ headers: {
47947
+ [name: string]: unknown;
47948
+ };
47949
+ content: {
47950
+ "application/json": components["schemas"]["Hives.Timer"];
47951
+ };
47952
+ };
47953
+ /** @description Timer created */
47954
+ 201: {
47955
+ headers: {
47956
+ [name: string]: unknown;
47957
+ };
47958
+ content: {
47959
+ "application/json": components["schemas"]["Hives.Timer"];
47960
+ };
47961
+ };
47962
+ /** @description invalid_at or payload_too_large or invalid fields */
47963
+ 400: {
47964
+ headers: {
47965
+ [name: string]: unknown;
47966
+ };
47967
+ content?: never;
47968
+ };
47969
+ /** @description Unauthorized */
47970
+ 401: {
47971
+ headers: {
47972
+ [name: string]: unknown;
47973
+ };
47974
+ content?: never;
47975
+ };
47976
+ /** @description Project or target_not_found, or timers are not enabled */
47977
+ 404: {
47978
+ headers: {
47979
+ [name: string]: unknown;
47980
+ };
47981
+ content?: never;
47982
+ };
47983
+ /** @description idempotency_conflict */
47984
+ 409: {
47985
+ headers: {
47986
+ [name: string]: unknown;
47987
+ };
47988
+ content?: never;
47989
+ };
47990
+ /** @description Scheduler unavailable */
47991
+ 503: {
47992
+ headers: {
47993
+ [name: string]: unknown;
47994
+ };
47995
+ content?: never;
47996
+ };
47997
+ };
47998
+ };
47999
+ hives_getTimer: {
48000
+ parameters: {
48001
+ query?: never;
48002
+ header?: never;
48003
+ path: {
48004
+ /** @description Hives project id (prj_…) */
48005
+ project_id: string;
48006
+ /** @description Timer ID (tmr_…) */
48007
+ timer_id: string;
48008
+ };
48009
+ cookie?: never;
48010
+ };
48011
+ requestBody?: never;
48012
+ responses: {
48013
+ /** @description The timer */
48014
+ 200: {
48015
+ headers: {
48016
+ [name: string]: unknown;
48017
+ };
48018
+ content: {
48019
+ "application/json": components["schemas"]["Hives.Timer"];
48020
+ };
48021
+ };
48022
+ /** @description Unauthorized */
48023
+ 401: {
48024
+ headers: {
48025
+ [name: string]: unknown;
48026
+ };
48027
+ content?: never;
48028
+ };
48029
+ /** @description Timer not found, or timers are not enabled */
48030
+ 404: {
48031
+ headers: {
48032
+ [name: string]: unknown;
48033
+ };
48034
+ content?: never;
48035
+ };
48036
+ /** @description Scheduler unavailable */
48037
+ 503: {
48038
+ headers: {
48039
+ [name: string]: unknown;
48040
+ };
48041
+ content?: never;
48042
+ };
48043
+ };
48044
+ };
48045
+ hives_cancelTimer: {
48046
+ parameters: {
48047
+ query?: never;
48048
+ header?: never;
48049
+ path: {
48050
+ /** @description Hives project id (prj_…) */
48051
+ project_id: string;
48052
+ /** @description Timer ID (tmr_…) */
48053
+ timer_id: string;
48054
+ };
48055
+ cookie?: never;
48056
+ };
48057
+ requestBody?: never;
48058
+ responses: {
48059
+ /** @description The timer (cancelled, or unchanged when already fired or failed) */
48060
+ 200: {
48061
+ headers: {
48062
+ [name: string]: unknown;
48063
+ };
48064
+ content: {
48065
+ "application/json": components["schemas"]["Hives.Timer"];
48066
+ };
48067
+ };
48068
+ /** @description Unauthorized */
48069
+ 401: {
48070
+ headers: {
48071
+ [name: string]: unknown;
48072
+ };
48073
+ content?: never;
48074
+ };
48075
+ /** @description Timer not found, or timers are not enabled */
48076
+ 404: {
48077
+ headers: {
48078
+ [name: string]: unknown;
48079
+ };
48080
+ content?: never;
48081
+ };
48082
+ /** @description Scheduler unavailable */
48083
+ 503: {
48084
+ headers: {
48085
+ [name: string]: unknown;
48086
+ };
48087
+ content?: never;
48088
+ };
48089
+ };
48090
+ };
48091
+ hives_listTimerTargets: {
48092
+ parameters: {
48093
+ query?: never;
48094
+ header?: never;
48095
+ path: {
48096
+ /** @description Hives project id (prj_…) */
48097
+ project_id: string;
48098
+ };
48099
+ cookie?: never;
48100
+ };
48101
+ requestBody?: never;
48102
+ responses: {
48103
+ /** @description The targets */
48104
+ 200: {
48105
+ headers: {
48106
+ [name: string]: unknown;
48107
+ };
48108
+ content: {
48109
+ "application/json": components["schemas"]["Hives.TimerTargetList"];
48110
+ };
48111
+ };
48112
+ /** @description Unauthorized */
48113
+ 401: {
48114
+ headers: {
48115
+ [name: string]: unknown;
48116
+ };
48117
+ content?: never;
48118
+ };
48119
+ /** @description Project not found, or timers are not enabled */
48120
+ 404: {
48121
+ headers: {
48122
+ [name: string]: unknown;
48123
+ };
48124
+ content?: never;
48125
+ };
48126
+ /** @description Scheduler unavailable */
48127
+ 503: {
48128
+ headers: {
48129
+ [name: string]: unknown;
48130
+ };
48131
+ content?: never;
48132
+ };
48133
+ };
48134
+ };
48135
+ hives_createTimerTarget: {
48136
+ parameters: {
48137
+ query?: never;
48138
+ header?: never;
48139
+ path: {
48140
+ /** @description Hives project id (prj_…) */
48141
+ project_id: string;
48142
+ };
48143
+ cookie?: never;
48144
+ };
48145
+ requestBody: {
48146
+ content: {
48147
+ "application/json": components["schemas"]["Hives.CreateTimerTargetRequest"];
48148
+ };
48149
+ };
48150
+ responses: {
48151
+ /** @description Target created; signing_secret is shown once */
48152
+ 201: {
48153
+ headers: {
48154
+ [name: string]: unknown;
48155
+ };
48156
+ content: {
48157
+ "application/json": components["schemas"]["Hives.TimerTargetCreated"];
48158
+ };
48159
+ };
48160
+ /** @description Invalid url */
48161
+ 400: {
48162
+ headers: {
48163
+ [name: string]: unknown;
48164
+ };
48165
+ content?: never;
48166
+ };
48167
+ /** @description Unauthorized */
48168
+ 401: {
48169
+ headers: {
48170
+ [name: string]: unknown;
48171
+ };
48172
+ content?: never;
48173
+ };
48174
+ /** @description Project not found, or timers are not enabled */
48175
+ 404: {
48176
+ headers: {
48177
+ [name: string]: unknown;
48178
+ };
48179
+ content?: never;
48180
+ };
48181
+ /** @description Scheduler unavailable */
48182
+ 503: {
48183
+ headers: {
48184
+ [name: string]: unknown;
48185
+ };
48186
+ content?: never;
48187
+ };
48188
+ };
48189
+ };
48190
+ hives_getTimerTarget: {
48191
+ parameters: {
48192
+ query?: never;
48193
+ header?: never;
48194
+ path: {
48195
+ /** @description Hives project id (prj_…) */
48196
+ project_id: string;
48197
+ /** @description Target ID (tgt_…) */
48198
+ target_id: string;
48199
+ };
48200
+ cookie?: never;
48201
+ };
48202
+ requestBody?: never;
48203
+ responses: {
48204
+ /** @description The target (no signing secret) */
48205
+ 200: {
48206
+ headers: {
48207
+ [name: string]: unknown;
48208
+ };
48209
+ content: {
48210
+ "application/json": components["schemas"]["Hives.TimerTarget"];
48211
+ };
48212
+ };
48213
+ /** @description Unauthorized */
48214
+ 401: {
48215
+ headers: {
48216
+ [name: string]: unknown;
48217
+ };
48218
+ content?: never;
48219
+ };
48220
+ /** @description Target not found, or timers are not enabled */
48221
+ 404: {
48222
+ headers: {
48223
+ [name: string]: unknown;
48224
+ };
48225
+ content?: never;
48226
+ };
48227
+ /** @description Scheduler unavailable */
48228
+ 503: {
48229
+ headers: {
48230
+ [name: string]: unknown;
48231
+ };
48232
+ content?: never;
48233
+ };
48234
+ };
48235
+ };
48236
+ hives_deleteTimerTarget: {
48237
+ parameters: {
48238
+ query?: never;
48239
+ header?: never;
48240
+ path: {
48241
+ /** @description Hives project id (prj_…) */
48242
+ project_id: string;
48243
+ /** @description Target ID (tgt_…) */
48244
+ target_id: string;
48245
+ };
48246
+ cookie?: never;
48247
+ };
48248
+ requestBody?: never;
48249
+ responses: {
48250
+ /** @description Deleted */
48251
+ 204: {
48252
+ headers: {
48253
+ [name: string]: unknown;
48254
+ };
48255
+ content?: never;
48256
+ };
48257
+ /** @description Unauthorized */
48258
+ 401: {
48259
+ headers: {
48260
+ [name: string]: unknown;
48261
+ };
48262
+ content?: never;
48263
+ };
48264
+ /** @description Target not found, or timers are not enabled */
48265
+ 404: {
48266
+ headers: {
48267
+ [name: string]: unknown;
48268
+ };
48269
+ content?: never;
48270
+ };
48271
+ /** @description target_in_use, while a scheduled timer or an enabled cron references it */
48272
+ 409: {
48273
+ headers: {
48274
+ [name: string]: unknown;
48275
+ };
48276
+ content?: never;
48277
+ };
48278
+ /** @description Scheduler unavailable */
48279
+ 503: {
48280
+ headers: {
48281
+ [name: string]: unknown;
48282
+ };
48283
+ content?: never;
48284
+ };
48285
+ };
48286
+ };
48287
+ hives_rotateTimerTarget: {
48288
+ parameters: {
48289
+ query?: never;
48290
+ header?: never;
48291
+ path: {
48292
+ /** @description Hives project id (prj_…) */
48293
+ project_id: string;
48294
+ /** @description Target ID (tgt_…) */
48295
+ target_id: string;
48296
+ };
48297
+ cookie?: never;
48298
+ };
48299
+ requestBody?: never;
48300
+ responses: {
48301
+ /** @description The new signing secret, shown once */
48302
+ 200: {
48303
+ headers: {
48304
+ [name: string]: unknown;
48305
+ };
48306
+ content: {
48307
+ "application/json": components["schemas"]["Hives.TimerTargetRotated"];
48308
+ };
48309
+ };
48310
+ /** @description Unauthorized */
48311
+ 401: {
48312
+ headers: {
48313
+ [name: string]: unknown;
48314
+ };
48315
+ content?: never;
48316
+ };
48317
+ /** @description Target not found, or timers are not enabled */
48318
+ 404: {
48319
+ headers: {
48320
+ [name: string]: unknown;
48321
+ };
48322
+ content?: never;
48323
+ };
48324
+ /** @description Scheduler unavailable */
48325
+ 503: {
48326
+ headers: {
48327
+ [name: string]: unknown;
48328
+ };
48329
+ content?: never;
48330
+ };
48331
+ };
48332
+ };
46489
48333
  hives_list_deployments: {
46490
48334
  parameters: {
46491
48335
  query?: {
@@ -52295,14 +54139,7 @@ export interface operations {
52295
54139
  };
52296
54140
  requestBody?: never;
52297
54141
  responses: {
52298
- /** @description Exact empty acknowledgement */
52299
- 200: {
52300
- headers: {
52301
- [name: string]: unknown;
52302
- };
52303
- content?: never;
52304
- };
52305
- /** @description Empty compatible acknowledgement */
54142
+ /** @description Exact empty acknowledgement; no response body (the object is deleted, or was already absent) */
52306
54143
  204: {
52307
54144
  headers: {
52308
54145
  [name: string]: unknown;
@@ -52561,114 +54398,13 @@ export interface operations {
52561
54398
  };
52562
54399
  };
52563
54400
  };
52564
- hives_upload_object: {
52565
- parameters: {
52566
- query?: never;
52567
- header?: {
52568
- /** @description Required for a funded object write (Genesis-required mode). Printable ASCII, 1-128 bytes; a retry with the same key and bytes returns the original operation. The SDK, CLI and MCP send a fresh key when none is given. */
52569
- "Idempotency-Key"?: string;
52570
- };
52571
- path: {
52572
- /** @description Hives project id (prj_…) */
52573
- project_id: string;
52574
- /** @description Bucket ID */
52575
- bucket_id: string;
52576
- /** @description Object key */
52577
- key: string;
52578
- };
52579
- cookie?: never;
52580
- };
52581
- /** @description Object body */
52582
- requestBody: {
52583
- content: {
52584
- "application/octet-stream": string;
52585
- };
52586
- };
52587
- responses: {
52588
- /** @description Object uploaded (unfunded mode), or the original settled receipt without `result` for a same-key replay */
52589
- 200: {
52590
- headers: {
52591
- [name: string]: unknown;
52592
- };
52593
- content: {
52594
- "application/json": components["schemas"]["Hives.CloudResource_GenesisCellsObjectAcknowledgement"] | components["schemas"]["Hives.CloudResource_GenesisCellsStorageWriteReceipt"];
52595
- };
52596
- };
52597
- /** @description Funded write settled; the receipt carries the object acknowledgement as `result` */
52598
- 201: {
52599
- headers: {
52600
- [name: string]: unknown;
52601
- };
52602
- content: {
52603
- "application/json": components["schemas"]["Hives.CloudResource_GenesisCellsStorageWriteReceipt"];
52604
- };
52605
- };
52606
- /** @description Funded write not settled yet; replay the same Idempotency-Key to read its outcome */
52607
- 202: {
52608
- headers: {
52609
- [name: string]: unknown;
52610
- };
52611
- content: {
52612
- "application/json": components["schemas"]["Hives.CloudResource_GenesisCellsStorageWriteReceipt"];
52613
- };
52614
- };
52615
- /** @description Unauthorized */
52616
- 401: {
52617
- headers: {
52618
- [name: string]: unknown;
52619
- };
52620
- content?: never;
52621
- };
52622
- /** @description Funded write denied; the receipt's state is final */
52623
- 402: {
52624
- headers: {
52625
- [name: string]: unknown;
52626
- };
52627
- content: {
52628
- "application/json": components["schemas"]["Hives.CloudResource_GenesisCellsStorageWriteReceipt"];
52629
- };
52630
- };
52631
- /** @description Bucket not found */
52632
- 404: {
52633
- headers: {
52634
- [name: string]: unknown;
52635
- };
52636
- content?: never;
52637
- };
52638
- /** @description Idempotency-Key reused with a different body, or the write conflicted with admission */
52639
- 409: {
52640
- headers: {
52641
- [name: string]: unknown;
52642
- };
52643
- content?: never;
52644
- };
52645
- /** @description Payload too large */
52646
- 413: {
52647
- headers: {
52648
- [name: string]: unknown;
52649
- };
52650
- content?: never;
52651
- };
52652
- /** @description Internal server error */
52653
- 500: {
52654
- headers: {
52655
- [name: string]: unknown;
52656
- };
52657
- content?: never;
52658
- };
52659
- /** @description Object storage provider is unavailable */
52660
- 503: {
52661
- headers: {
52662
- [name: string]: unknown;
52663
- };
52664
- content?: never;
52665
- };
52666
- };
52667
- };
52668
- hives_delete_object: {
54401
+ hives_upload_object: {
52669
54402
  parameters: {
52670
54403
  query?: never;
52671
- header?: never;
54404
+ header?: {
54405
+ /** @description Required for a funded object write (Genesis-required mode). Printable ASCII, 1-128 bytes; a retry with the same key and bytes returns the original operation. The SDK, CLI and MCP send a fresh key when none is given. */
54406
+ "Idempotency-Key"?: string;
54407
+ };
52672
54408
  path: {
52673
54409
  /** @description Hives project id (prj_…) */
52674
54410
  project_id: string;
@@ -52679,16 +54415,110 @@ export interface operations {
52679
54415
  };
52680
54416
  cookie?: never;
52681
54417
  };
52682
- requestBody?: never;
54418
+ /** @description Object body */
54419
+ requestBody: {
54420
+ content: {
54421
+ "application/octet-stream": string;
54422
+ };
54423
+ };
52683
54424
  responses: {
52684
- /** @description Exact empty acknowledgement */
54425
+ /** @description Object uploaded (unfunded mode), or the original settled receipt without `result` for a same-key replay */
52685
54426
  200: {
54427
+ headers: {
54428
+ [name: string]: unknown;
54429
+ };
54430
+ content: {
54431
+ "application/json": components["schemas"]["Hives.CloudResource_GenesisCellsObjectAcknowledgement"] | components["schemas"]["Hives.CloudResource_GenesisCellsStorageWriteReceipt"];
54432
+ };
54433
+ };
54434
+ /** @description Funded write settled; the receipt carries the object acknowledgement as `result` */
54435
+ 201: {
54436
+ headers: {
54437
+ [name: string]: unknown;
54438
+ };
54439
+ content: {
54440
+ "application/json": components["schemas"]["Hives.CloudResource_GenesisCellsStorageWriteReceipt"];
54441
+ };
54442
+ };
54443
+ /** @description Funded write not settled yet; replay the same Idempotency-Key to read its outcome */
54444
+ 202: {
54445
+ headers: {
54446
+ [name: string]: unknown;
54447
+ };
54448
+ content: {
54449
+ "application/json": components["schemas"]["Hives.CloudResource_GenesisCellsStorageWriteReceipt"];
54450
+ };
54451
+ };
54452
+ /** @description Unauthorized */
54453
+ 401: {
52686
54454
  headers: {
52687
54455
  [name: string]: unknown;
52688
54456
  };
52689
54457
  content?: never;
52690
54458
  };
52691
- /** @description Empty compatible acknowledgement */
54459
+ /** @description Funded write denied; the receipt's state is final */
54460
+ 402: {
54461
+ headers: {
54462
+ [name: string]: unknown;
54463
+ };
54464
+ content: {
54465
+ "application/json": components["schemas"]["Hives.CloudResource_GenesisCellsStorageWriteReceipt"];
54466
+ };
54467
+ };
54468
+ /** @description Bucket not found */
54469
+ 404: {
54470
+ headers: {
54471
+ [name: string]: unknown;
54472
+ };
54473
+ content?: never;
54474
+ };
54475
+ /** @description Idempotency-Key reused with a different body, or the write conflicted with admission */
54476
+ 409: {
54477
+ headers: {
54478
+ [name: string]: unknown;
54479
+ };
54480
+ content?: never;
54481
+ };
54482
+ /** @description Payload too large */
54483
+ 413: {
54484
+ headers: {
54485
+ [name: string]: unknown;
54486
+ };
54487
+ content?: never;
54488
+ };
54489
+ /** @description Internal server error */
54490
+ 500: {
54491
+ headers: {
54492
+ [name: string]: unknown;
54493
+ };
54494
+ content?: never;
54495
+ };
54496
+ /** @description Object storage provider is unavailable */
54497
+ 503: {
54498
+ headers: {
54499
+ [name: string]: unknown;
54500
+ };
54501
+ content?: never;
54502
+ };
54503
+ };
54504
+ };
54505
+ hives_delete_object: {
54506
+ parameters: {
54507
+ query?: never;
54508
+ header?: never;
54509
+ path: {
54510
+ /** @description Hives project id (prj_…) */
54511
+ project_id: string;
54512
+ /** @description Bucket ID */
54513
+ bucket_id: string;
54514
+ /** @description Object key */
54515
+ key: string;
54516
+ };
54517
+ cookie?: never;
54518
+ };
54519
+ requestBody?: never;
54520
+ responses: {
54521
+ /** @description Exact empty acknowledgement; no response body (the object is deleted, or was already absent) */
52692
54522
  204: {
52693
54523
  headers: {
52694
54524
  [name: string]: unknown;
@@ -64957,6 +66787,140 @@ export interface operations {
64957
66787
  };
64958
66788
  };
64959
66789
  };
66790
+ fleets_getWebConnection: {
66791
+ parameters: {
66792
+ query?: never;
66793
+ header?: never;
66794
+ path?: never;
66795
+ cookie?: never;
66796
+ };
66797
+ requestBody?: never;
66798
+ responses: {
66799
+ /** @description Secret-free status */
66800
+ 200: {
66801
+ headers: {
66802
+ [name: string]: unknown;
66803
+ };
66804
+ content: {
66805
+ "application/json": components["schemas"]["Fleets.WebConnection"];
66806
+ };
66807
+ };
66808
+ /** @description Verified Genesis identity required */
66809
+ 401: {
66810
+ headers: {
66811
+ [name: string]: unknown;
66812
+ };
66813
+ content?: never;
66814
+ };
66815
+ /** @description Insufficient scope (fleets:read) */
66816
+ 403: {
66817
+ headers: {
66818
+ [name: string]: unknown;
66819
+ };
66820
+ content?: never;
66821
+ };
66822
+ /** @description Connection storage unavailable */
66823
+ 503: {
66824
+ headers: {
66825
+ [name: string]: unknown;
66826
+ };
66827
+ content?: never;
66828
+ };
66829
+ };
66830
+ };
66831
+ fleets_putWebConnection: {
66832
+ parameters: {
66833
+ query?: never;
66834
+ header?: never;
66835
+ path?: never;
66836
+ cookie?: never;
66837
+ };
66838
+ requestBody: {
66839
+ content: {
66840
+ "application/json": components["schemas"]["Fleets.WebConnectionInput"];
66841
+ };
66842
+ };
66843
+ responses: {
66844
+ /** @description Secret-free status */
66845
+ 200: {
66846
+ headers: {
66847
+ [name: string]: unknown;
66848
+ };
66849
+ content: {
66850
+ "application/json": components["schemas"]["Fleets.WebConnection"];
66851
+ };
66852
+ };
66853
+ /** @description Invalid body (invalid_request), a key the gateway refused (web_credential_invalid), scopes other than exactly traces:read (web_credential_scope), or a key of another organization or environment (web_credential_org) */
66854
+ 400: {
66855
+ headers: {
66856
+ [name: string]: unknown;
66857
+ };
66858
+ content?: never;
66859
+ };
66860
+ /** @description Verified Genesis identity required */
66861
+ 401: {
66862
+ headers: {
66863
+ [name: string]: unknown;
66864
+ };
66865
+ content?: never;
66866
+ };
66867
+ /** @description Insufficient scope (fleets:write) */
66868
+ 403: {
66869
+ headers: {
66870
+ [name: string]: unknown;
66871
+ };
66872
+ content?: never;
66873
+ };
66874
+ /** @description Connection storage unavailable */
66875
+ 503: {
66876
+ headers: {
66877
+ [name: string]: unknown;
66878
+ };
66879
+ content?: never;
66880
+ };
66881
+ };
66882
+ };
66883
+ fleets_deleteWebConnection: {
66884
+ parameters: {
66885
+ query?: never;
66886
+ header?: never;
66887
+ path?: never;
66888
+ cookie?: never;
66889
+ };
66890
+ requestBody?: never;
66891
+ responses: {
66892
+ /** @description Secret-free status */
66893
+ 200: {
66894
+ headers: {
66895
+ [name: string]: unknown;
66896
+ };
66897
+ content: {
66898
+ "application/json": components["schemas"]["Fleets.WebConnection"];
66899
+ };
66900
+ };
66901
+ /** @description Verified Genesis identity required */
66902
+ 401: {
66903
+ headers: {
66904
+ [name: string]: unknown;
66905
+ };
66906
+ content?: never;
66907
+ };
66908
+ /** @description Insufficient scope (fleets:write) */
66909
+ 403: {
66910
+ headers: {
66911
+ [name: string]: unknown;
66912
+ };
66913
+ content?: never;
66914
+ };
66915
+ /** @description Connection storage unavailable */
66916
+ 503: {
66917
+ headers: {
66918
+ [name: string]: unknown;
66919
+ };
66920
+ content?: never;
66921
+ };
66922
+ };
66923
+ };
64960
66924
  flocks_exchangeJoinToken: {
64961
66925
  parameters: {
64962
66926
  query?: never;
@@ -68626,12 +70590,12 @@ export interface operations {
68626
70590
  query: {
68627
70591
  /** @description Must match the authenticated organization. */
68628
70592
  organizationId: string;
68629
- /** @description Selected Dials scope. */
68630
- workspaceId: string;
68631
- /** @description Selected Dials scope. */
68632
- projectId: string;
68633
- /** @description Selected Dials scope. */
68634
- environmentId: string;
70593
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
70594
+ workspaceId?: string;
70595
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
70596
+ projectId?: string;
70597
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
70598
+ environmentId?: string;
68635
70599
  };
68636
70600
  header?: never;
68637
70601
  path?: never;
@@ -68679,12 +70643,12 @@ export interface operations {
68679
70643
  query: {
68680
70644
  /** @description Must match the authenticated organization. */
68681
70645
  organizationId: string;
68682
- /** @description Selected Dials scope. */
68683
- workspaceId: string;
68684
- /** @description Selected Dials scope. */
68685
- projectId: string;
68686
- /** @description Selected Dials scope. */
68687
- environmentId: string;
70646
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
70647
+ workspaceId?: string;
70648
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
70649
+ projectId?: string;
70650
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
70651
+ environmentId?: string;
68688
70652
  areaCode?: string;
68689
70653
  exchangeCode?: string;
68690
70654
  /** @description At least three national digits; SignalWire receives at most seven and the full requested prefix is checked locally. */
@@ -68900,12 +70864,12 @@ export interface operations {
68900
70864
  query: {
68901
70865
  /** @description Must match the authenticated organization. */
68902
70866
  organizationId: string;
68903
- /** @description Selected Dials scope. */
68904
- workspaceId: string;
68905
- /** @description Selected Dials scope. */
68906
- projectId: string;
68907
- /** @description Selected Dials scope. */
68908
- environmentId: string;
70867
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
70868
+ workspaceId?: string;
70869
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
70870
+ projectId?: string;
70871
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
70872
+ environmentId?: string;
68909
70873
  };
68910
70874
  header?: never;
68911
70875
  path?: never;
@@ -69225,12 +71189,12 @@ export interface operations {
69225
71189
  query: {
69226
71190
  /** @description Must match the authenticated organization. */
69227
71191
  organizationId: string;
69228
- /** @description Selected Dials scope. */
69229
- workspaceId: string;
69230
- /** @description Selected Dials scope. */
69231
- projectId: string;
69232
- /** @description Selected Dials scope. */
69233
- environmentId: string;
71192
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71193
+ workspaceId?: string;
71194
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71195
+ projectId?: string;
71196
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71197
+ environmentId?: string;
69234
71198
  };
69235
71199
  header?: never;
69236
71200
  path?: never;
@@ -69278,12 +71242,12 @@ export interface operations {
69278
71242
  query: {
69279
71243
  /** @description Must match the authenticated organization. */
69280
71244
  organizationId: string;
69281
- /** @description Selected Dials scope. */
69282
- workspaceId: string;
69283
- /** @description Selected Dials scope. */
69284
- projectId: string;
69285
- /** @description Selected Dials scope. */
69286
- environmentId: string;
71245
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71246
+ workspaceId?: string;
71247
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71248
+ projectId?: string;
71249
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71250
+ environmentId?: string;
69287
71251
  };
69288
71252
  header?: never;
69289
71253
  path?: never;
@@ -69331,12 +71295,12 @@ export interface operations {
69331
71295
  query: {
69332
71296
  /** @description Must match the authenticated organization. */
69333
71297
  organizationId: string;
69334
- /** @description Selected Dials scope. */
69335
- workspaceId: string;
69336
- /** @description Selected Dials scope. */
69337
- projectId: string;
69338
- /** @description Selected Dials scope. */
69339
- environmentId: string;
71298
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71299
+ workspaceId?: string;
71300
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71301
+ projectId?: string;
71302
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71303
+ environmentId?: string;
69340
71304
  };
69341
71305
  header?: never;
69342
71306
  path?: never;
@@ -69381,12 +71345,12 @@ export interface operations {
69381
71345
  query: {
69382
71346
  /** @description Must match the authenticated organization. */
69383
71347
  organizationId: string;
69384
- /** @description Selected Dials scope. */
69385
- workspaceId: string;
69386
- /** @description Selected Dials scope. */
69387
- projectId: string;
69388
- /** @description Selected Dials scope. */
69389
- environmentId: string;
71348
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71349
+ workspaceId?: string;
71350
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71351
+ projectId?: string;
71352
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71353
+ environmentId?: string;
69390
71354
  };
69391
71355
  header?: never;
69392
71356
  path?: never;
@@ -69438,12 +71402,12 @@ export interface operations {
69438
71402
  query: {
69439
71403
  /** @description Must match the authenticated organization. */
69440
71404
  organizationId: string;
69441
- /** @description Selected Dials scope. */
69442
- workspaceId: string;
69443
- /** @description Selected Dials scope. */
69444
- projectId: string;
69445
- /** @description Selected Dials scope. */
69446
- environmentId: string;
71405
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71406
+ workspaceId?: string;
71407
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71408
+ projectId?: string;
71409
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71410
+ environmentId?: string;
69447
71411
  };
69448
71412
  header?: never;
69449
71413
  path?: never;
@@ -69549,12 +71513,12 @@ export interface operations {
69549
71513
  query: {
69550
71514
  /** @description Must match the authenticated organization. */
69551
71515
  organizationId: string;
69552
- /** @description Selected Dials scope. */
69553
- workspaceId: string;
69554
- /** @description Selected Dials scope. */
69555
- projectId: string;
69556
- /** @description Selected Dials scope. */
69557
- environmentId: string;
71516
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71517
+ workspaceId?: string;
71518
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71519
+ projectId?: string;
71520
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71521
+ environmentId?: string;
69558
71522
  };
69559
71523
  header?: never;
69560
71524
  path?: never;
@@ -69660,12 +71624,12 @@ export interface operations {
69660
71624
  query: {
69661
71625
  /** @description Must match the authenticated organization. */
69662
71626
  organizationId: string;
69663
- /** @description Selected Dials scope. */
69664
- workspaceId: string;
69665
- /** @description Selected Dials scope. */
69666
- projectId: string;
69667
- /** @description Selected Dials scope. */
69668
- environmentId: string;
71627
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71628
+ workspaceId?: string;
71629
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71630
+ projectId?: string;
71631
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71632
+ environmentId?: string;
69669
71633
  };
69670
71634
  header?: never;
69671
71635
  path?: never;
@@ -69771,12 +71735,12 @@ export interface operations {
69771
71735
  query: {
69772
71736
  /** @description Must match the authenticated organization. */
69773
71737
  organizationId: string;
69774
- /** @description Selected Dials scope. */
69775
- workspaceId: string;
69776
- /** @description Selected Dials scope. */
69777
- projectId: string;
69778
- /** @description Selected Dials scope. */
69779
- environmentId: string;
71738
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71739
+ workspaceId?: string;
71740
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71741
+ projectId?: string;
71742
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71743
+ environmentId?: string;
69780
71744
  /** @description Selected data platform. Omitted defaults to dials in the backend; selection does not grant organization authority. */
69781
71745
  platformId?: string;
69782
71746
  };
@@ -69953,12 +71917,12 @@ export interface operations {
69953
71917
  query: {
69954
71918
  /** @description Must match the authenticated organization. */
69955
71919
  organizationId: string;
69956
- /** @description Selected Dials scope. */
69957
- workspaceId: string;
69958
- /** @description Selected Dials scope. */
69959
- projectId: string;
69960
- /** @description Selected Dials scope. */
69961
- environmentId: string;
71920
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71921
+ workspaceId?: string;
71922
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71923
+ projectId?: string;
71924
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
71925
+ environmentId?: string;
69962
71926
  /** @description Selected data platform. Omitted defaults to dials in the backend; selection does not grant organization authority. */
69963
71927
  platformId?: string;
69964
71928
  };
@@ -70116,12 +72080,12 @@ export interface operations {
70116
72080
  query: {
70117
72081
  /** @description Must match the authenticated organization. */
70118
72082
  organizationId: string;
70119
- /** @description Selected Dials scope. */
70120
- workspaceId: string;
70121
- /** @description Selected Dials scope. */
70122
- projectId: string;
70123
- /** @description Selected Dials scope. */
70124
- environmentId: string;
72083
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
72084
+ workspaceId?: string;
72085
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
72086
+ projectId?: string;
72087
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
72088
+ environmentId?: string;
70125
72089
  /** @description Selected data platform. Omitted defaults to dials in the backend; selection does not grant organization authority. */
70126
72090
  platformId?: string;
70127
72091
  };
@@ -70287,12 +72251,12 @@ export interface operations {
70287
72251
  query: {
70288
72252
  /** @description Must match the authenticated organization. */
70289
72253
  organizationId: string;
70290
- /** @description Selected Dials scope. */
70291
- workspaceId: string;
70292
- /** @description Selected Dials scope. */
70293
- projectId: string;
70294
- /** @description Selected Dials scope. */
70295
- environmentId: string;
72254
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
72255
+ workspaceId?: string;
72256
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
72257
+ projectId?: string;
72258
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
72259
+ environmentId?: string;
70296
72260
  /** @description Selected data platform. Omitted defaults to dials in the backend; selection does not grant organization authority. */
70297
72261
  platformId?: string;
70298
72262
  };
@@ -70562,12 +72526,12 @@ export interface operations {
70562
72526
  query: {
70563
72527
  /** @description Must match the authenticated organization. */
70564
72528
  organizationId: string;
70565
- /** @description Selected Dials scope. */
70566
- workspaceId: string;
70567
- /** @description Selected Dials scope. */
70568
- projectId: string;
70569
- /** @description Selected Dials scope. */
70570
- environmentId: string;
72529
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
72530
+ workspaceId?: string;
72531
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
72532
+ projectId?: string;
72533
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
72534
+ environmentId?: string;
70571
72535
  /** @description Selected data platform. Omitted defaults to dials in the backend; selection does not grant organization authority. */
70572
72536
  platformId?: string;
70573
72537
  };
@@ -70721,17 +72685,106 @@ export interface operations {
70721
72685
  };
70722
72686
  };
70723
72687
  };
72688
+ dials_deleteWorkflow: {
72689
+ parameters: {
72690
+ query?: never;
72691
+ header?: never;
72692
+ path: {
72693
+ workflow_id: string;
72694
+ };
72695
+ cookie?: never;
72696
+ };
72697
+ requestBody: {
72698
+ content: {
72699
+ "application/json": components["schemas"]["Dials.DeleteWorkflow"];
72700
+ };
72701
+ };
72702
+ responses: {
72703
+ /** @description Deleted. The descriptor rows are gone; audit records are kept. */
72704
+ 200: {
72705
+ headers: {
72706
+ [name: string]: unknown;
72707
+ };
72708
+ content: {
72709
+ "application/json": components["schemas"]["Dials.DeleteWorkflowReceipt"];
72710
+ };
72711
+ };
72712
+ /** @description Invalid scope or request shape. */
72713
+ 400: {
72714
+ headers: {
72715
+ [name: string]: unknown;
72716
+ };
72717
+ content: {
72718
+ "application/json": components["schemas"]["Dials.CustomerError"];
72719
+ };
72720
+ };
72721
+ /** @description Missing or invalid verified identity. */
72722
+ 401: {
72723
+ headers: {
72724
+ [name: string]: unknown;
72725
+ };
72726
+ content: {
72727
+ "application/json": components["schemas"]["Dials.CustomerError"];
72728
+ };
72729
+ };
72730
+ /** @description Selected scope is not authorized by signed identity or lacks the required Dials grant. */
72731
+ 403: {
72732
+ headers: {
72733
+ [name: string]: unknown;
72734
+ };
72735
+ content: {
72736
+ "application/json": components["schemas"]["Dials.CustomerError"];
72737
+ };
72738
+ };
72739
+ /** @description No workflow with this id in the authorized scope (workflow_not_found). */
72740
+ 404: {
72741
+ headers: {
72742
+ [name: string]: unknown;
72743
+ };
72744
+ content: {
72745
+ "application/json": components["schemas"]["Dials.CustomerError"];
72746
+ };
72747
+ };
72748
+ /** @description A held number is assigned to this workflow (workflow_number_attached); unassign it first. */
72749
+ 409: {
72750
+ headers: {
72751
+ [name: string]: unknown;
72752
+ };
72753
+ content: {
72754
+ "application/json": components["schemas"]["Dials.CustomerError"];
72755
+ };
72756
+ };
72757
+ /** @description Durable store failed. */
72758
+ 500: {
72759
+ headers: {
72760
+ [name: string]: unknown;
72761
+ };
72762
+ content: {
72763
+ "application/json": components["schemas"]["Dials.CustomerError"];
72764
+ };
72765
+ };
72766
+ /** @description Backend is not ready. */
72767
+ 503: {
72768
+ headers: {
72769
+ [name: string]: unknown;
72770
+ };
72771
+ content: {
72772
+ "application/json": components["schemas"]["Dials.CustomerError"];
72773
+ };
72774
+ };
72775
+ };
72776
+ };
70724
72777
  dials_deleteNumber: {
70725
72778
  parameters: {
70726
72779
  query: {
70727
72780
  /** @description Must match the authenticated organization. */
70728
72781
  organizationId: string;
70729
- /** @description Selected Dials scope. */
70730
- workspaceId: string;
70731
- /** @description Selected Dials scope. */
70732
- projectId: string;
70733
- /** @description Selected Dials scope. */
70734
- environmentId: string;
72782
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
72783
+ workspaceId?: string;
72784
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
72785
+ projectId?: string;
72786
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
72787
+ environmentId?: string;
70735
72788
  actorId: string;
70736
72789
  reason?: string;
70737
72790
  /** @description Selected data platform. Omitted defaults to dials in the backend; selection does not grant organization authority. */
@@ -70953,12 +73006,12 @@ export interface operations {
70953
73006
  query: {
70954
73007
  /** @description Must match the authenticated organization. */
70955
73008
  organizationId: string;
70956
- /** @description Selected Dials scope. */
70957
- workspaceId: string;
70958
- /** @description Selected Dials scope. */
70959
- projectId: string;
70960
- /** @description Selected Dials scope. */
70961
- environmentId: string;
73009
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
73010
+ workspaceId?: string;
73011
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
73012
+ projectId?: string;
73013
+ /** @description Optional with an org API key: Dials fills it from the key's signed binding, and a value that differs from the binding is refused. A login session with a selected project is pinned to that selection. */
73014
+ environmentId?: string;
70962
73015
  /** @description Selected data platform. Omitted defaults to dials in the backend; selection does not grant organization authority. */
70963
73016
  platformId?: string;
70964
73017
  };
@@ -71181,6 +73234,334 @@ export interface operations {
71181
73234
  };
71182
73235
  };
71183
73236
  };
73237
+ dials_setNumberVoiceHandler: {
73238
+ parameters: {
73239
+ query?: never;
73240
+ header?: never;
73241
+ path?: never;
73242
+ cookie?: never;
73243
+ };
73244
+ requestBody: {
73245
+ content: {
73246
+ "application/json": components["schemas"]["Dials.SetNumberVoiceHandler"];
73247
+ };
73248
+ };
73249
+ responses: {
73250
+ /** @description The number's voice handler as Dials set it at SignalWire. */
73251
+ 200: {
73252
+ headers: {
73253
+ [name: string]: unknown;
73254
+ };
73255
+ content: {
73256
+ "application/json": components["schemas"]["Dials.NumberVoiceHandlerReceipt"];
73257
+ };
73258
+ };
73259
+ /** @description Invalid scope, number id or handler. */
73260
+ 400: {
73261
+ headers: {
73262
+ [name: string]: unknown;
73263
+ };
73264
+ content: {
73265
+ "application/json": components["schemas"]["Dials.CustomerError"];
73266
+ };
73267
+ };
73268
+ /** @description Missing or invalid verified identity. */
73269
+ 401: {
73270
+ headers: {
73271
+ [name: string]: unknown;
73272
+ };
73273
+ content: {
73274
+ "application/json": components["schemas"]["Dials.CustomerError"];
73275
+ };
73276
+ };
73277
+ /** @description Selected scope is not authorized by signed identity or lacks dials:write. */
73278
+ 403: {
73279
+ headers: {
73280
+ [name: string]: unknown;
73281
+ };
73282
+ content: {
73283
+ "application/json": components["schemas"]["Dials.CustomerError"];
73284
+ };
73285
+ };
73286
+ /** @description No number with this id in the authorized scope. */
73287
+ 404: {
73288
+ headers: {
73289
+ [name: string]: unknown;
73290
+ };
73291
+ content: {
73292
+ "application/json": components["schemas"]["Dials.CustomerError"];
73293
+ };
73294
+ };
73295
+ /** @description The number is not a SignalWire number (for example BulkVS), or it is released. */
73296
+ 409: {
73297
+ headers: {
73298
+ [name: string]: unknown;
73299
+ };
73300
+ content: {
73301
+ "application/json": components["schemas"]["Dials.CustomerError"];
73302
+ };
73303
+ };
73304
+ /** @description Backend or carrier unavailable. */
73305
+ 503: {
73306
+ headers: {
73307
+ [name: string]: unknown;
73308
+ };
73309
+ content: {
73310
+ "application/json": components["schemas"]["Dials.CustomerError"];
73311
+ };
73312
+ };
73313
+ };
73314
+ };
73315
+ dials_listOneNumberSuggestions: {
73316
+ parameters: {
73317
+ query?: never;
73318
+ header?: never;
73319
+ path?: never;
73320
+ cookie?: never;
73321
+ };
73322
+ requestBody: {
73323
+ content: {
73324
+ "application/json": components["schemas"]["Dials.OneNumberSuggestionsRequest"];
73325
+ };
73326
+ };
73327
+ responses: {
73328
+ /** @description Suggestions, or none_found. */
73329
+ 200: {
73330
+ headers: {
73331
+ [name: string]: unknown;
73332
+ };
73333
+ content: {
73334
+ "application/json": components["schemas"]["Dials.OneNumberSuggestions"];
73335
+ };
73336
+ };
73337
+ /** @description Invalid area code, text or coordinates (a lone lat or lng, or any coordinate outside the range). */
73338
+ 400: {
73339
+ headers: {
73340
+ [name: string]: unknown;
73341
+ };
73342
+ content: {
73343
+ "application/json": components["schemas"]["Dials.CustomerError"];
73344
+ };
73345
+ };
73346
+ /** @description Missing or invalid verified identity. */
73347
+ 401: {
73348
+ headers: {
73349
+ [name: string]: unknown;
73350
+ };
73351
+ content: {
73352
+ "application/json": components["schemas"]["Dials.CustomerError"];
73353
+ };
73354
+ };
73355
+ /** @description Not a person's own token, or the Dials grant is missing. */
73356
+ 403: {
73357
+ headers: {
73358
+ [name: string]: unknown;
73359
+ };
73360
+ content: {
73361
+ "application/json": components["schemas"]["Dials.CustomerError"];
73362
+ };
73363
+ };
73364
+ /** @description Backend or carrier unavailable. */
73365
+ 503: {
73366
+ headers: {
73367
+ [name: string]: unknown;
73368
+ };
73369
+ content: {
73370
+ "application/json": components["schemas"]["Dials.CustomerError"];
73371
+ };
73372
+ };
73373
+ };
73374
+ };
73375
+ dials_chooseOneNumber: {
73376
+ parameters: {
73377
+ query?: never;
73378
+ header?: never;
73379
+ path?: never;
73380
+ cookie?: never;
73381
+ };
73382
+ requestBody: {
73383
+ content: {
73384
+ "application/json": components["schemas"]["Dials.ChooseOneNumber"];
73385
+ };
73386
+ };
73387
+ responses: {
73388
+ /** @description Chosen and active. */
73389
+ 200: {
73390
+ headers: {
73391
+ [name: string]: unknown;
73392
+ };
73393
+ content: {
73394
+ "application/json": components["schemas"]["Dials.OneNumberChoice"];
73395
+ };
73396
+ };
73397
+ /** @description Recorded as reserved_intent while provisioning is off; no order was placed. */
73398
+ 202: {
73399
+ headers: {
73400
+ [name: string]: unknown;
73401
+ };
73402
+ content: {
73403
+ "application/json": components["schemas"]["Dials.OneNumberChoice"];
73404
+ };
73405
+ };
73406
+ /** @description Invalid e164 or idempotency key. */
73407
+ 400: {
73408
+ headers: {
73409
+ [name: string]: unknown;
73410
+ };
73411
+ content: {
73412
+ "application/json": components["schemas"]["Dials.CustomerError"];
73413
+ };
73414
+ };
73415
+ /** @description Missing or invalid verified identity. */
73416
+ 401: {
73417
+ headers: {
73418
+ [name: string]: unknown;
73419
+ };
73420
+ content: {
73421
+ "application/json": components["schemas"]["Dials.CustomerError"];
73422
+ };
73423
+ };
73424
+ /** @description Not a person's own token, or the Dials grant is missing. */
73425
+ 403: {
73426
+ headers: {
73427
+ [name: string]: unknown;
73428
+ };
73429
+ content: {
73430
+ "application/json": components["schemas"]["Dials.CustomerError"];
73431
+ };
73432
+ };
73433
+ /** @description The number was taken (taken). */
73434
+ 409: {
73435
+ headers: {
73436
+ [name: string]: unknown;
73437
+ };
73438
+ content: {
73439
+ "application/json": components["schemas"]["Dials.CustomerError"];
73440
+ };
73441
+ };
73442
+ /** @description The daily provisioning cap is reached (provisioning_cap). */
73443
+ 429: {
73444
+ headers: {
73445
+ [name: string]: unknown;
73446
+ };
73447
+ content: {
73448
+ "application/json": components["schemas"]["Dials.CustomerError"];
73449
+ };
73450
+ };
73451
+ /** @description The carrier account's number limit is reached (carrier_limit), or the backend is unavailable. */
73452
+ 503: {
73453
+ headers: {
73454
+ [name: string]: unknown;
73455
+ };
73456
+ content: {
73457
+ "application/json": components["schemas"]["Dials.CustomerError"];
73458
+ };
73459
+ };
73460
+ };
73461
+ };
73462
+ dials_getMyOneNumber: {
73463
+ parameters: {
73464
+ query?: never;
73465
+ header?: never;
73466
+ path?: never;
73467
+ cookie?: never;
73468
+ };
73469
+ requestBody?: never;
73470
+ responses: {
73471
+ /** @description Your One number, or null. */
73472
+ 200: {
73473
+ headers: {
73474
+ [name: string]: unknown;
73475
+ };
73476
+ content: {
73477
+ "application/json": components["schemas"]["Dials.MyOneNumber"];
73478
+ };
73479
+ };
73480
+ /** @description Missing or invalid verified identity. */
73481
+ 401: {
73482
+ headers: {
73483
+ [name: string]: unknown;
73484
+ };
73485
+ content: {
73486
+ "application/json": components["schemas"]["Dials.CustomerError"];
73487
+ };
73488
+ };
73489
+ /** @description Not a person's own token, or the Dials grant is missing. */
73490
+ 403: {
73491
+ headers: {
73492
+ [name: string]: unknown;
73493
+ };
73494
+ content: {
73495
+ "application/json": components["schemas"]["Dials.CustomerError"];
73496
+ };
73497
+ };
73498
+ /** @description Backend unavailable. */
73499
+ 503: {
73500
+ headers: {
73501
+ [name: string]: unknown;
73502
+ };
73503
+ content: {
73504
+ "application/json": components["schemas"]["Dials.CustomerError"];
73505
+ };
73506
+ };
73507
+ };
73508
+ };
73509
+ dials_releaseMyOneNumber: {
73510
+ parameters: {
73511
+ query?: never;
73512
+ header?: never;
73513
+ path?: never;
73514
+ cookie?: never;
73515
+ };
73516
+ requestBody?: never;
73517
+ responses: {
73518
+ /** @description Releasing or released. */
73519
+ 200: {
73520
+ headers: {
73521
+ [name: string]: unknown;
73522
+ };
73523
+ content: {
73524
+ "application/json": components["schemas"]["Dials.OneNumberRelease"];
73525
+ };
73526
+ };
73527
+ /** @description Missing or invalid verified identity. */
73528
+ 401: {
73529
+ headers: {
73530
+ [name: string]: unknown;
73531
+ };
73532
+ content: {
73533
+ "application/json": components["schemas"]["Dials.CustomerError"];
73534
+ };
73535
+ };
73536
+ /** @description Not a person's own token, or the Dials grant is missing. */
73537
+ 403: {
73538
+ headers: {
73539
+ [name: string]: unknown;
73540
+ };
73541
+ content: {
73542
+ "application/json": components["schemas"]["Dials.CustomerError"];
73543
+ };
73544
+ };
73545
+ /** @description The person has no One number. */
73546
+ 404: {
73547
+ headers: {
73548
+ [name: string]: unknown;
73549
+ };
73550
+ content: {
73551
+ "application/json": components["schemas"]["Dials.CustomerError"];
73552
+ };
73553
+ };
73554
+ /** @description Backend or carrier unavailable. */
73555
+ 503: {
73556
+ headers: {
73557
+ [name: string]: unknown;
73558
+ };
73559
+ content: {
73560
+ "application/json": components["schemas"]["Dials.CustomerError"];
73561
+ };
73562
+ };
73563
+ };
73564
+ };
71184
73565
  silos_listInstances: {
71185
73566
  parameters: {
71186
73567
  query?: never;
@@ -75081,6 +77462,112 @@ export interface operations {
75081
77462
  403: components["responses"]["Minds.MindsHumanSelectionRequired"];
75082
77463
  };
75083
77464
  };
77465
+ minds_listProfiles: {
77466
+ parameters: {
77467
+ query?: never;
77468
+ header?: never;
77469
+ path?: never;
77470
+ cookie?: never;
77471
+ };
77472
+ requestBody?: never;
77473
+ responses: {
77474
+ /** @description The profile list. */
77475
+ 200: {
77476
+ headers: {
77477
+ [name: string]: unknown;
77478
+ };
77479
+ content: {
77480
+ "application/json": components["schemas"]["Minds.MindsProfiles"];
77481
+ };
77482
+ };
77483
+ 403: components["responses"]["Minds.MindsHumanSelectionRequired"];
77484
+ };
77485
+ };
77486
+ minds_getScaling: {
77487
+ parameters: {
77488
+ query?: never;
77489
+ header?: never;
77490
+ path: {
77491
+ mind_id: string;
77492
+ };
77493
+ cookie?: never;
77494
+ };
77495
+ requestBody?: never;
77496
+ responses: {
77497
+ /** @description The stored (or effective default) policy and the read-only state. */
77498
+ 200: {
77499
+ headers: {
77500
+ [name: string]: unknown;
77501
+ };
77502
+ content: {
77503
+ "application/json": components["schemas"]["Minds.Scaling"];
77504
+ };
77505
+ };
77506
+ 403: components["responses"]["Minds.MindsHumanSelectionRequired"];
77507
+ 404: components["responses"]["Minds.MindsRefusal"];
77508
+ };
77509
+ };
77510
+ minds_setScaling: {
77511
+ parameters: {
77512
+ query?: never;
77513
+ header?: {
77514
+ "idempotency-key"?: string;
77515
+ };
77516
+ path: {
77517
+ mind_id: string;
77518
+ };
77519
+ cookie?: never;
77520
+ };
77521
+ requestBody: {
77522
+ content: {
77523
+ "application/json": components["schemas"]["Minds.SetScaling"];
77524
+ };
77525
+ };
77526
+ responses: {
77527
+ /** @description The policy was applied; the answer carries the stored policy with its new generation and the state. */
77528
+ 200: {
77529
+ headers: {
77530
+ [name: string]: unknown;
77531
+ };
77532
+ content: {
77533
+ "application/json": components["schemas"]["Minds.Scaling"];
77534
+ };
77535
+ };
77536
+ 403: components["responses"]["Minds.MindsHumanSelectionRequired"];
77537
+ 404: components["responses"]["Minds.MindsRefusal"];
77538
+ 409: components["responses"]["Minds.MindsRefusal"];
77539
+ 413: components["responses"]["Minds.MindsRefusal"];
77540
+ 422: components["responses"]["Minds.MindsRefusal"];
77541
+ };
77542
+ };
77543
+ minds_listScalingEvents: {
77544
+ parameters: {
77545
+ query?: {
77546
+ /** @description Opaque next_cursor from the previous page. */
77547
+ cursor?: string;
77548
+ limit?: number;
77549
+ };
77550
+ header?: never;
77551
+ path: {
77552
+ mind_id: string;
77553
+ };
77554
+ cookie?: never;
77555
+ };
77556
+ requestBody?: never;
77557
+ responses: {
77558
+ /** @description One page of scaling decisions. */
77559
+ 200: {
77560
+ headers: {
77561
+ [name: string]: unknown;
77562
+ };
77563
+ content: {
77564
+ "application/json": components["schemas"]["Minds.ScalingDecisionPage"];
77565
+ };
77566
+ };
77567
+ 403: components["responses"]["Minds.MindsHumanSelectionRequired"];
77568
+ 404: components["responses"]["Minds.MindsRefusal"];
77569
+ };
77570
+ };
75084
77571
  minds_engineKeyValuePostKeyspace: {
75085
77572
  parameters: {
75086
77573
  query?: never;
@@ -87615,6 +90102,289 @@ export interface operations {
87615
90102
  };
87616
90103
  };
87617
90104
  };
90105
+ shells_getShellEgress: {
90106
+ parameters: {
90107
+ query?: never;
90108
+ header?: never;
90109
+ path: {
90110
+ /** @description The Shell's id (an Omega deployment UUID) */
90111
+ id: string;
90112
+ };
90113
+ cookie?: never;
90114
+ };
90115
+ requestBody?: never;
90116
+ responses: {
90117
+ /** @description The egress state */
90118
+ 200: {
90119
+ headers: {
90120
+ [name: string]: unknown;
90121
+ };
90122
+ content: {
90123
+ "application/json": components["schemas"]["Shells.EgressStateResponse"];
90124
+ };
90125
+ };
90126
+ /** @description A non-UUID id */
90127
+ 400: {
90128
+ headers: {
90129
+ [name: string]: unknown;
90130
+ };
90131
+ content?: never;
90132
+ };
90133
+ /** @description Signed organization and project selection */
90134
+ 403: {
90135
+ headers: {
90136
+ [name: string]: unknown;
90137
+ };
90138
+ content?: never;
90139
+ };
90140
+ /** @description Not found, or egress operations are not on */
90141
+ 404: {
90142
+ headers: {
90143
+ [name: string]: unknown;
90144
+ };
90145
+ content?: never;
90146
+ };
90147
+ /** @description The Shell is not routed or not reachable */
90148
+ 409: {
90149
+ headers: {
90150
+ [name: string]: unknown;
90151
+ };
90152
+ content?: never;
90153
+ };
90154
+ /** @description The Shells facade or Omega is unavailable */
90155
+ 503: {
90156
+ headers: {
90157
+ [name: string]: unknown;
90158
+ };
90159
+ content?: never;
90160
+ };
90161
+ };
90162
+ };
90163
+ shells_getShellEgressLog: {
90164
+ parameters: {
90165
+ query?: {
90166
+ limit?: number;
90167
+ };
90168
+ header?: never;
90169
+ path: {
90170
+ /** @description The Shell's id (an Omega deployment UUID) */
90171
+ id: string;
90172
+ };
90173
+ cookie?: never;
90174
+ };
90175
+ requestBody?: never;
90176
+ responses: {
90177
+ /** @description The recent decisions */
90178
+ 200: {
90179
+ headers: {
90180
+ [name: string]: unknown;
90181
+ };
90182
+ content: {
90183
+ "application/json": components["schemas"]["Shells.EgressLogResponse"];
90184
+ };
90185
+ };
90186
+ /** @description A non-UUID id or a limit outside 1 to 100 */
90187
+ 400: {
90188
+ headers: {
90189
+ [name: string]: unknown;
90190
+ };
90191
+ content?: never;
90192
+ };
90193
+ /** @description Signed organization and project selection */
90194
+ 403: {
90195
+ headers: {
90196
+ [name: string]: unknown;
90197
+ };
90198
+ content?: never;
90199
+ };
90200
+ /** @description Not found, or egress operations are not on */
90201
+ 404: {
90202
+ headers: {
90203
+ [name: string]: unknown;
90204
+ };
90205
+ content?: never;
90206
+ };
90207
+ /** @description The Shells facade or Omega is unavailable */
90208
+ 503: {
90209
+ headers: {
90210
+ [name: string]: unknown;
90211
+ };
90212
+ content?: never;
90213
+ };
90214
+ };
90215
+ };
90216
+ shells_requestShellEgress: {
90217
+ parameters: {
90218
+ query?: never;
90219
+ header: {
90220
+ /** @description Required. A stable key for this one create. The gateway derives the operation key from it (with your organization, principal, method and path); reuse the same key to retry and the original result is replayed instead of creating twice. */
90221
+ "Idempotency-Key": components["parameters"]["Shells.IdempotencyKeyRequired"];
90222
+ };
90223
+ path: {
90224
+ /** @description The Shell's id (an Omega deployment UUID) */
90225
+ id: string;
90226
+ };
90227
+ cookie?: never;
90228
+ };
90229
+ requestBody: {
90230
+ content: {
90231
+ "application/json": components["schemas"]["Shells.EgressRequestBody"];
90232
+ };
90233
+ };
90234
+ responses: {
90235
+ /** @description The request is filed and waiting for the person */
90236
+ 202: {
90237
+ headers: {
90238
+ [name: string]: unknown;
90239
+ };
90240
+ content: {
90241
+ "application/json": components["schemas"]["Shells.EgressRequestFiled"];
90242
+ };
90243
+ };
90244
+ /** @description INVALID_ARGUMENT, a missing Idempotency-Key, or a non-UUID id */
90245
+ 400: {
90246
+ headers: {
90247
+ [name: string]: unknown;
90248
+ };
90249
+ content?: never;
90250
+ };
90251
+ /** @description Signed selection or write scope required, or the caller is not the Shell's creator (EGRESS_NOT_CREATOR) */
90252
+ 403: {
90253
+ headers: {
90254
+ [name: string]: unknown;
90255
+ };
90256
+ content?: never;
90257
+ };
90258
+ /** @description Not found, or egress operations are not on */
90259
+ 404: {
90260
+ headers: {
90261
+ [name: string]: unknown;
90262
+ };
90263
+ content?: never;
90264
+ };
90265
+ /** @description The Shell has no network access to widen (EGRESS_NOT_ROUTED) */
90266
+ 409: {
90267
+ headers: {
90268
+ [name: string]: unknown;
90269
+ };
90270
+ content?: never;
90271
+ };
90272
+ /** @description Taps or the Shells facade is unavailable */
90273
+ 503: {
90274
+ headers: {
90275
+ [name: string]: unknown;
90276
+ };
90277
+ content?: never;
90278
+ };
90279
+ };
90280
+ };
90281
+ shells_getShellEgressRequest: {
90282
+ parameters: {
90283
+ query?: never;
90284
+ header?: never;
90285
+ path: {
90286
+ /** @description The Shell's id (an Omega deployment UUID) */
90287
+ id: string;
90288
+ /** @description The request id returned when it was filed */
90289
+ requestId: string;
90290
+ };
90291
+ cookie?: never;
90292
+ };
90293
+ requestBody?: never;
90294
+ responses: {
90295
+ /** @description The request and its status */
90296
+ 200: {
90297
+ headers: {
90298
+ [name: string]: unknown;
90299
+ };
90300
+ content: {
90301
+ "application/json": components["schemas"]["Shells.EgressRequestStatus"];
90302
+ };
90303
+ };
90304
+ /** @description A non-UUID id */
90305
+ 400: {
90306
+ headers: {
90307
+ [name: string]: unknown;
90308
+ };
90309
+ content?: never;
90310
+ };
90311
+ /** @description Signed selection or write scope required */
90312
+ 403: {
90313
+ headers: {
90314
+ [name: string]: unknown;
90315
+ };
90316
+ content?: never;
90317
+ };
90318
+ /** @description Not found, or egress operations are not on */
90319
+ 404: {
90320
+ headers: {
90321
+ [name: string]: unknown;
90322
+ };
90323
+ content?: never;
90324
+ };
90325
+ /** @description Taps or the Shells facade is unavailable */
90326
+ 503: {
90327
+ headers: {
90328
+ [name: string]: unknown;
90329
+ };
90330
+ content?: never;
90331
+ };
90332
+ };
90333
+ };
90334
+ shells_revokeShellEgress: {
90335
+ parameters: {
90336
+ query?: never;
90337
+ header: {
90338
+ /** @description Required. A stable key for this one create. The gateway derives the operation key from it (with your organization, principal, method and path); reuse the same key to retry and the original result is replayed instead of creating twice. */
90339
+ "Idempotency-Key": components["parameters"]["Shells.IdempotencyKeyRequired"];
90340
+ };
90341
+ path: {
90342
+ /** @description The Shell's id (an Omega deployment UUID) */
90343
+ id: string;
90344
+ };
90345
+ cookie?: never;
90346
+ };
90347
+ requestBody?: never;
90348
+ responses: {
90349
+ /** @description The result */
90350
+ 200: {
90351
+ headers: {
90352
+ [name: string]: unknown;
90353
+ };
90354
+ content: {
90355
+ "application/json": components["schemas"]["Shells.EgressRevokeResponse"];
90356
+ };
90357
+ };
90358
+ /** @description A non-UUID id, a body other than {}, or a missing Idempotency-Key */
90359
+ 400: {
90360
+ headers: {
90361
+ [name: string]: unknown;
90362
+ };
90363
+ content?: never;
90364
+ };
90365
+ /** @description Signed selection or write scope required */
90366
+ 403: {
90367
+ headers: {
90368
+ [name: string]: unknown;
90369
+ };
90370
+ content?: never;
90371
+ };
90372
+ /** @description Not found, or egress operations are not on */
90373
+ 404: {
90374
+ headers: {
90375
+ [name: string]: unknown;
90376
+ };
90377
+ content?: never;
90378
+ };
90379
+ /** @description The Shells facade or Omega is unavailable */
90380
+ 503: {
90381
+ headers: {
90382
+ [name: string]: unknown;
90383
+ };
90384
+ content?: never;
90385
+ };
90386
+ };
90387
+ };
87618
90388
  gears_listWorkflows: {
87619
90389
  parameters: {
87620
90390
  query?: never;
@@ -94838,28 +97608,348 @@ export interface operations {
94838
97608
  };
94839
97609
  };
94840
97610
  };
94841
- gateway_listBillingContacts: {
97611
+ gateway_listBillingContacts: {
97612
+ parameters: {
97613
+ query?: never;
97614
+ header?: never;
97615
+ path: {
97616
+ /** @description Your organization id (must be your login session's or your API key's organization) */
97617
+ org: components["parameters"]["Gateway.Org"];
97618
+ };
97619
+ cookie?: never;
97620
+ };
97621
+ requestBody?: never;
97622
+ responses: {
97623
+ /** @description Billing contacts */
97624
+ 200: {
97625
+ headers: {
97626
+ [name: string]: unknown;
97627
+ };
97628
+ content: {
97629
+ "application/json": components["schemas"]["Gateway.BillingContactList"];
97630
+ };
97631
+ };
97632
+ /** @description invalid_request */
97633
+ 400: {
97634
+ headers: {
97635
+ [name: string]: unknown;
97636
+ };
97637
+ content?: never;
97638
+ };
97639
+ /** @description unauthorized */
97640
+ 401: {
97641
+ headers: {
97642
+ [name: string]: unknown;
97643
+ };
97644
+ content?: never;
97645
+ };
97646
+ /** @description forbidden */
97647
+ 403: {
97648
+ headers: {
97649
+ [name: string]: unknown;
97650
+ };
97651
+ content?: never;
97652
+ };
97653
+ /** @description billing_unavailable */
97654
+ 503: {
97655
+ headers: {
97656
+ [name: string]: unknown;
97657
+ };
97658
+ content?: never;
97659
+ };
97660
+ };
97661
+ };
97662
+ gateway_createBillingContact: {
97663
+ parameters: {
97664
+ query?: never;
97665
+ header: {
97666
+ /** @description Stable key (8-128 letters, digits, - _ : or .); reuse it to replay instead of acting twice */
97667
+ "Idempotency-Key": components["parameters"]["Gateway.IdempotencyKey"];
97668
+ };
97669
+ path: {
97670
+ /** @description Your organization id (must be your login session's or your API key's organization) */
97671
+ org: components["parameters"]["Gateway.Org"];
97672
+ };
97673
+ cookie?: never;
97674
+ };
97675
+ requestBody: {
97676
+ content: {
97677
+ "application/json": {
97678
+ email: string;
97679
+ name?: string | null;
97680
+ };
97681
+ };
97682
+ };
97683
+ responses: {
97684
+ /** @description The new contact */
97685
+ 201: {
97686
+ headers: {
97687
+ [name: string]: unknown;
97688
+ };
97689
+ content: {
97690
+ "application/json": components["schemas"]["Gateway.BillingContact"];
97691
+ };
97692
+ };
97693
+ /** @description invalid_request, idempotency_key_required or bad_request */
97694
+ 400: {
97695
+ headers: {
97696
+ [name: string]: unknown;
97697
+ };
97698
+ content?: never;
97699
+ };
97700
+ /** @description unauthorized */
97701
+ 401: {
97702
+ headers: {
97703
+ [name: string]: unknown;
97704
+ };
97705
+ content?: never;
97706
+ };
97707
+ /** @description forbidden (needs genesis.billing.manage) */
97708
+ 403: {
97709
+ headers: {
97710
+ [name: string]: unknown;
97711
+ };
97712
+ content?: never;
97713
+ };
97714
+ /** @description conflict (contact limit, or the Idempotency-Key was used for a different request) */
97715
+ 409: {
97716
+ headers: {
97717
+ [name: string]: unknown;
97718
+ };
97719
+ content?: never;
97720
+ };
97721
+ /** @description body_too_large (16 KiB) */
97722
+ 413: {
97723
+ headers: {
97724
+ [name: string]: unknown;
97725
+ };
97726
+ content?: never;
97727
+ };
97728
+ /** @description billing_unavailable */
97729
+ 503: {
97730
+ headers: {
97731
+ [name: string]: unknown;
97732
+ };
97733
+ content?: never;
97734
+ };
97735
+ };
97736
+ };
97737
+ gateway_deleteBillingContact: {
97738
+ parameters: {
97739
+ query?: never;
97740
+ header: {
97741
+ /** @description Stable key (8-128 letters, digits, - _ : or .); reuse it to replay instead of acting twice */
97742
+ "Idempotency-Key": components["parameters"]["Gateway.IdempotencyKey"];
97743
+ };
97744
+ path: {
97745
+ /** @description Your organization id (must be your login session's or your API key's organization) */
97746
+ org: components["parameters"]["Gateway.Org"];
97747
+ /** @description The contact id (bc_...) */
97748
+ contact_id: string;
97749
+ };
97750
+ cookie?: never;
97751
+ };
97752
+ requestBody?: never;
97753
+ responses: {
97754
+ /** @description The removed contact */
97755
+ 200: {
97756
+ headers: {
97757
+ [name: string]: unknown;
97758
+ };
97759
+ content: {
97760
+ "application/json": components["schemas"]["Gateway.BillingDeleted"];
97761
+ };
97762
+ };
97763
+ /** @description invalid_request or idempotency_key_required */
97764
+ 400: {
97765
+ headers: {
97766
+ [name: string]: unknown;
97767
+ };
97768
+ content?: never;
97769
+ };
97770
+ /** @description unauthorized */
97771
+ 401: {
97772
+ headers: {
97773
+ [name: string]: unknown;
97774
+ };
97775
+ content?: never;
97776
+ };
97777
+ /** @description forbidden (needs genesis.billing.manage) */
97778
+ 403: {
97779
+ headers: {
97780
+ [name: string]: unknown;
97781
+ };
97782
+ content?: never;
97783
+ };
97784
+ /** @description not_found */
97785
+ 404: {
97786
+ headers: {
97787
+ [name: string]: unknown;
97788
+ };
97789
+ content?: never;
97790
+ };
97791
+ /** @description billing_unavailable */
97792
+ 503: {
97793
+ headers: {
97794
+ [name: string]: unknown;
97795
+ };
97796
+ content?: never;
97797
+ };
97798
+ };
97799
+ };
97800
+ gateway_listBillingTaxIds: {
97801
+ parameters: {
97802
+ query?: never;
97803
+ header?: never;
97804
+ path: {
97805
+ /** @description Your organization id (must be your login session's or your API key's organization) */
97806
+ org: components["parameters"]["Gateway.Org"];
97807
+ };
97808
+ cookie?: never;
97809
+ };
97810
+ requestBody?: never;
97811
+ responses: {
97812
+ /** @description Tax IDs */
97813
+ 200: {
97814
+ headers: {
97815
+ [name: string]: unknown;
97816
+ };
97817
+ content: {
97818
+ "application/json": components["schemas"]["Gateway.BillingTaxIdList"];
97819
+ };
97820
+ };
97821
+ /** @description invalid_request */
97822
+ 400: {
97823
+ headers: {
97824
+ [name: string]: unknown;
97825
+ };
97826
+ content?: never;
97827
+ };
97828
+ /** @description unauthorized */
97829
+ 401: {
97830
+ headers: {
97831
+ [name: string]: unknown;
97832
+ };
97833
+ content?: never;
97834
+ };
97835
+ /** @description forbidden */
97836
+ 403: {
97837
+ headers: {
97838
+ [name: string]: unknown;
97839
+ };
97840
+ content?: never;
97841
+ };
97842
+ /** @description billing_unavailable */
97843
+ 503: {
97844
+ headers: {
97845
+ [name: string]: unknown;
97846
+ };
97847
+ content?: never;
97848
+ };
97849
+ };
97850
+ };
97851
+ gateway_createBillingTaxId: {
97852
+ parameters: {
97853
+ query?: never;
97854
+ header: {
97855
+ /** @description Stable key (8-128 letters, digits, - _ : or .); reuse it to replay instead of acting twice */
97856
+ "Idempotency-Key": components["parameters"]["Gateway.IdempotencyKey"];
97857
+ };
97858
+ path: {
97859
+ /** @description Your organization id (must be your login session's or your API key's organization) */
97860
+ org: components["parameters"]["Gateway.Org"];
97861
+ };
97862
+ cookie?: never;
97863
+ };
97864
+ requestBody: {
97865
+ content: {
97866
+ "application/json": {
97867
+ type: string;
97868
+ value: string;
97869
+ };
97870
+ };
97871
+ };
97872
+ responses: {
97873
+ /** @description The new tax ID */
97874
+ 201: {
97875
+ headers: {
97876
+ [name: string]: unknown;
97877
+ };
97878
+ content: {
97879
+ "application/json": components["schemas"]["Gateway.BillingTaxId"];
97880
+ };
97881
+ };
97882
+ /** @description invalid_request, idempotency_key_required, bad_request or rejected_by_stripe */
97883
+ 400: {
97884
+ headers: {
97885
+ [name: string]: unknown;
97886
+ };
97887
+ content?: never;
97888
+ };
97889
+ /** @description unauthorized */
97890
+ 401: {
97891
+ headers: {
97892
+ [name: string]: unknown;
97893
+ };
97894
+ content?: never;
97895
+ };
97896
+ /** @description forbidden (needs genesis.billing.manage) */
97897
+ 403: {
97898
+ headers: {
97899
+ [name: string]: unknown;
97900
+ };
97901
+ content?: never;
97902
+ };
97903
+ /** @description conflict (tax ID limit, or the Idempotency-Key was used for a different request) */
97904
+ 409: {
97905
+ headers: {
97906
+ [name: string]: unknown;
97907
+ };
97908
+ content?: never;
97909
+ };
97910
+ /** @description body_too_large (16 KiB) */
97911
+ 413: {
97912
+ headers: {
97913
+ [name: string]: unknown;
97914
+ };
97915
+ content?: never;
97916
+ };
97917
+ /** @description billing_unavailable */
97918
+ 503: {
97919
+ headers: {
97920
+ [name: string]: unknown;
97921
+ };
97922
+ content?: never;
97923
+ };
97924
+ };
97925
+ };
97926
+ gateway_deleteBillingTaxId: {
94842
97927
  parameters: {
94843
97928
  query?: never;
94844
- header?: never;
97929
+ header: {
97930
+ /** @description Stable key (8-128 letters, digits, - _ : or .); reuse it to replay instead of acting twice */
97931
+ "Idempotency-Key": components["parameters"]["Gateway.IdempotencyKey"];
97932
+ };
94845
97933
  path: {
94846
97934
  /** @description Your organization id (must be your login session's or your API key's organization) */
94847
97935
  org: components["parameters"]["Gateway.Org"];
97936
+ /** @description The tax ID id (txi_...) */
97937
+ tax_id: string;
94848
97938
  };
94849
97939
  cookie?: never;
94850
97940
  };
94851
97941
  requestBody?: never;
94852
97942
  responses: {
94853
- /** @description Billing contacts */
97943
+ /** @description The removed tax ID */
94854
97944
  200: {
94855
97945
  headers: {
94856
97946
  [name: string]: unknown;
94857
97947
  };
94858
97948
  content: {
94859
- "application/json": components["schemas"]["Gateway.BillingContactList"];
97949
+ "application/json": components["schemas"]["Gateway.BillingDeleted"];
94860
97950
  };
94861
97951
  };
94862
- /** @description invalid_request */
97952
+ /** @description invalid_request or idempotency_key_required */
94863
97953
  400: {
94864
97954
  headers: {
94865
97955
  [name: string]: unknown;
@@ -94873,13 +97963,20 @@ export interface operations {
94873
97963
  };
94874
97964
  content?: never;
94875
97965
  };
94876
- /** @description forbidden */
97966
+ /** @description forbidden (needs genesis.billing.manage) */
94877
97967
  403: {
94878
97968
  headers: {
94879
97969
  [name: string]: unknown;
94880
97970
  };
94881
97971
  content?: never;
94882
97972
  };
97973
+ /** @description not_found */
97974
+ 404: {
97975
+ headers: {
97976
+ [name: string]: unknown;
97977
+ };
97978
+ content?: never;
97979
+ };
94883
97980
  /** @description billing_unavailable */
94884
97981
  503: {
94885
97982
  headers: {
@@ -94889,38 +97986,28 @@ export interface operations {
94889
97986
  };
94890
97987
  };
94891
97988
  };
94892
- gateway_createBillingContact: {
97989
+ gateway_listBillingActivity: {
94893
97990
  parameters: {
94894
97991
  query?: never;
94895
- header: {
94896
- /** @description Stable key (8-128 letters, digits, - _ : or .); reuse it to replay instead of acting twice */
94897
- "Idempotency-Key": components["parameters"]["Gateway.IdempotencyKey"];
94898
- };
97992
+ header?: never;
94899
97993
  path: {
94900
97994
  /** @description Your organization id (must be your login session's or your API key's organization) */
94901
97995
  org: components["parameters"]["Gateway.Org"];
94902
97996
  };
94903
97997
  cookie?: never;
94904
97998
  };
94905
- requestBody: {
94906
- content: {
94907
- "application/json": {
94908
- email: string;
94909
- name?: string | null;
94910
- };
94911
- };
94912
- };
97999
+ requestBody?: never;
94913
98000
  responses: {
94914
- /** @description The new contact */
94915
- 201: {
98001
+ /** @description Activity, newest first */
98002
+ 200: {
94916
98003
  headers: {
94917
98004
  [name: string]: unknown;
94918
98005
  };
94919
98006
  content: {
94920
- "application/json": components["schemas"]["Gateway.BillingContact"];
98007
+ "application/json": components["schemas"]["Gateway.BillingActivityList"];
94921
98008
  };
94922
98009
  };
94923
- /** @description invalid_request, idempotency_key_required or bad_request */
98010
+ /** @description invalid_request */
94924
98011
  400: {
94925
98012
  headers: {
94926
98013
  [name: string]: unknown;
@@ -94934,27 +98021,13 @@ export interface operations {
94934
98021
  };
94935
98022
  content?: never;
94936
98023
  };
94937
- /** @description forbidden (needs genesis.billing.manage) */
98024
+ /** @description forbidden */
94938
98025
  403: {
94939
98026
  headers: {
94940
98027
  [name: string]: unknown;
94941
98028
  };
94942
98029
  content?: never;
94943
98030
  };
94944
- /** @description conflict (contact limit, or the Idempotency-Key was used for a different request) */
94945
- 409: {
94946
- headers: {
94947
- [name: string]: unknown;
94948
- };
94949
- content?: never;
94950
- };
94951
- /** @description body_too_large (16 KiB) */
94952
- 413: {
94953
- headers: {
94954
- [name: string]: unknown;
94955
- };
94956
- content?: never;
94957
- };
94958
98031
  /** @description billing_unavailable */
94959
98032
  503: {
94960
98033
  headers: {
@@ -94964,7 +98037,7 @@ export interface operations {
94964
98037
  };
94965
98038
  };
94966
98039
  };
94967
- gateway_deleteBillingContact: {
98040
+ gateway_createBillingCardSetupSession: {
94968
98041
  parameters: {
94969
98042
  query?: never;
94970
98043
  header: {
@@ -94974,23 +98047,28 @@ export interface operations {
94974
98047
  path: {
94975
98048
  /** @description Your organization id (must be your login session's or your API key's organization) */
94976
98049
  org: components["parameters"]["Gateway.Org"];
94977
- /** @description The contact id (bc_...) */
94978
- contact_id: string;
94979
98050
  };
94980
98051
  cookie?: never;
94981
98052
  };
94982
- requestBody?: never;
98053
+ requestBody: {
98054
+ content: {
98055
+ "application/json": {
98056
+ return_url: string;
98057
+ cancel_url: string;
98058
+ };
98059
+ };
98060
+ };
94983
98061
  responses: {
94984
- /** @description The removed contact */
94985
- 200: {
98062
+ /** @description The hosted card setup page */
98063
+ 201: {
94986
98064
  headers: {
94987
98065
  [name: string]: unknown;
94988
98066
  };
94989
98067
  content: {
94990
- "application/json": components["schemas"]["Gateway.BillingDeleted"];
98068
+ "application/json": components["schemas"]["Gateway.BillingSetupSession"];
94991
98069
  };
94992
98070
  };
94993
- /** @description invalid_request or idempotency_key_required */
98071
+ /** @description invalid_request, idempotency_key_required or bad_request (a URL outside the allow-list) */
94994
98072
  400: {
94995
98073
  headers: {
94996
98074
  [name: string]: unknown;
@@ -95011,59 +98089,15 @@ export interface operations {
95011
98089
  };
95012
98090
  content?: never;
95013
98091
  };
95014
- /** @description not_found */
95015
- 404: {
95016
- headers: {
95017
- [name: string]: unknown;
95018
- };
95019
- content?: never;
95020
- };
95021
- /** @description billing_unavailable */
95022
- 503: {
95023
- headers: {
95024
- [name: string]: unknown;
95025
- };
95026
- content?: never;
95027
- };
95028
- };
95029
- };
95030
- gateway_listBillingTaxIds: {
95031
- parameters: {
95032
- query?: never;
95033
- header?: never;
95034
- path: {
95035
- /** @description Your organization id (must be your login session's or your API key's organization) */
95036
- org: components["parameters"]["Gateway.Org"];
95037
- };
95038
- cookie?: never;
95039
- };
95040
- requestBody?: never;
95041
- responses: {
95042
- /** @description Tax IDs */
95043
- 200: {
95044
- headers: {
95045
- [name: string]: unknown;
95046
- };
95047
- content: {
95048
- "application/json": components["schemas"]["Gateway.BillingTaxIdList"];
95049
- };
95050
- };
95051
- /** @description invalid_request */
95052
- 400: {
95053
- headers: {
95054
- [name: string]: unknown;
95055
- };
95056
- content?: never;
95057
- };
95058
- /** @description unauthorized */
95059
- 401: {
98092
+ /** @description billing_account_required, or the Idempotency-Key was used for a different request */
98093
+ 409: {
95060
98094
  headers: {
95061
98095
  [name: string]: unknown;
95062
98096
  };
95063
98097
  content?: never;
95064
98098
  };
95065
- /** @description forbidden */
95066
- 403: {
98099
+ /** @description body_too_large (16 KiB) */
98100
+ 413: {
95067
98101
  headers: {
95068
98102
  [name: string]: unknown;
95069
98103
  };
@@ -95078,7 +98112,7 @@ export interface operations {
95078
98112
  };
95079
98113
  };
95080
98114
  };
95081
- gateway_createBillingTaxId: {
98115
+ gateway_setBillingDefaultPaymentMethod: {
95082
98116
  parameters: {
95083
98117
  query?: never;
95084
98118
  header: {
@@ -95094,22 +98128,21 @@ export interface operations {
95094
98128
  requestBody: {
95095
98129
  content: {
95096
98130
  "application/json": {
95097
- type: string;
95098
- value: string;
98131
+ session_id: string;
95099
98132
  };
95100
98133
  };
95101
98134
  };
95102
98135
  responses: {
95103
- /** @description The new tax ID */
95104
- 201: {
98136
+ /** @description The default card */
98137
+ 200: {
95105
98138
  headers: {
95106
98139
  [name: string]: unknown;
95107
98140
  };
95108
98141
  content: {
95109
- "application/json": components["schemas"]["Gateway.BillingTaxId"];
98142
+ "application/json": components["schemas"]["Gateway.BillingPaymentMethod"];
95110
98143
  };
95111
98144
  };
95112
- /** @description invalid_request, idempotency_key_required, bad_request or rejected_by_stripe */
98145
+ /** @description invalid_request, idempotency_key_required or bad_request */
95113
98146
  400: {
95114
98147
  headers: {
95115
98148
  [name: string]: unknown;
@@ -95130,15 +98163,15 @@ export interface operations {
95130
98163
  };
95131
98164
  content?: never;
95132
98165
  };
95133
- /** @description conflict (tax ID limit, or the Idempotency-Key was used for a different request) */
95134
- 409: {
98166
+ /** @description not_found (no such card setup) */
98167
+ 404: {
95135
98168
  headers: {
95136
98169
  [name: string]: unknown;
95137
98170
  };
95138
98171
  content?: never;
95139
98172
  };
95140
- /** @description body_too_large (16 KiB) */
95141
- 413: {
98173
+ /** @description billing_account_required, setup_incomplete, setup_mismatch, setup_not_off_session, or the Idempotency-Key was used for a different request */
98174
+ 409: {
95142
98175
  headers: {
95143
98176
  [name: string]: unknown;
95144
98177
  };
@@ -95153,33 +98186,28 @@ export interface operations {
95153
98186
  };
95154
98187
  };
95155
98188
  };
95156
- gateway_deleteBillingTaxId: {
98189
+ gateway_getGenesisProSubscription: {
95157
98190
  parameters: {
95158
98191
  query?: never;
95159
- header: {
95160
- /** @description Stable key (8-128 letters, digits, - _ : or .); reuse it to replay instead of acting twice */
95161
- "Idempotency-Key": components["parameters"]["Gateway.IdempotencyKey"];
95162
- };
98192
+ header?: never;
95163
98193
  path: {
95164
98194
  /** @description Your organization id (must be your login session's or your API key's organization) */
95165
98195
  org: components["parameters"]["Gateway.Org"];
95166
- /** @description The tax ID id (txi_...) */
95167
- tax_id: string;
95168
98196
  };
95169
98197
  cookie?: never;
95170
98198
  };
95171
98199
  requestBody?: never;
95172
98200
  responses: {
95173
- /** @description The removed tax ID */
98201
+ /** @description The subscription view */
95174
98202
  200: {
95175
98203
  headers: {
95176
98204
  [name: string]: unknown;
95177
98205
  };
95178
98206
  content: {
95179
- "application/json": components["schemas"]["Gateway.BillingDeleted"];
98207
+ "application/json": components["schemas"]["Gateway.GenesisProSubscription"];
95180
98208
  };
95181
98209
  };
95182
- /** @description invalid_request or idempotency_key_required */
98210
+ /** @description invalid_request */
95183
98211
  400: {
95184
98212
  headers: {
95185
98213
  [name: string]: unknown;
@@ -95193,20 +98221,13 @@ export interface operations {
95193
98221
  };
95194
98222
  content?: never;
95195
98223
  };
95196
- /** @description forbidden (needs genesis.billing.manage) */
98224
+ /** @description forbidden */
95197
98225
  403: {
95198
98226
  headers: {
95199
98227
  [name: string]: unknown;
95200
98228
  };
95201
98229
  content?: never;
95202
98230
  };
95203
- /** @description not_found */
95204
- 404: {
95205
- headers: {
95206
- [name: string]: unknown;
95207
- };
95208
- content?: never;
95209
- };
95210
98231
  /** @description billing_unavailable */
95211
98232
  503: {
95212
98233
  headers: {
@@ -95216,28 +98237,52 @@ export interface operations {
95216
98237
  };
95217
98238
  };
95218
98239
  };
95219
- gateway_listBillingActivity: {
98240
+ gateway_createGenesisProSubscription: {
95220
98241
  parameters: {
95221
98242
  query?: never;
95222
- header?: never;
98243
+ header: {
98244
+ /** @description Stable key (8-128 letters, digits, - _ : or .); reuse it to replay instead of acting twice */
98245
+ "Idempotency-Key": components["parameters"]["Gateway.IdempotencyKey"];
98246
+ };
95223
98247
  path: {
95224
98248
  /** @description Your organization id (must be your login session's or your API key's organization) */
95225
98249
  org: components["parameters"]["Gateway.Org"];
95226
98250
  };
95227
98251
  cookie?: never;
95228
98252
  };
95229
- requestBody?: never;
98253
+ requestBody: {
98254
+ content: {
98255
+ "application/json": {
98256
+ /** @constant */
98257
+ plan: "genesis_pro";
98258
+ /**
98259
+ * @description year only where the annual plan is switched on
98260
+ * @enum {string}
98261
+ */
98262
+ interval?: "month" | "year";
98263
+ };
98264
+ };
98265
+ };
95230
98266
  responses: {
95231
- /** @description Activity, newest first */
98267
+ /** @description An open subscription already exists (or the Idempotency-Key replayed) */
95232
98268
  200: {
95233
98269
  headers: {
95234
98270
  [name: string]: unknown;
95235
98271
  };
95236
98272
  content: {
95237
- "application/json": components["schemas"]["Gateway.BillingActivityList"];
98273
+ "application/json": components["schemas"]["Gateway.GenesisProSubscription"];
95238
98274
  };
95239
98275
  };
95240
- /** @description invalid_request */
98276
+ /** @description The new subscription */
98277
+ 201: {
98278
+ headers: {
98279
+ [name: string]: unknown;
98280
+ };
98281
+ content: {
98282
+ "application/json": components["schemas"]["Gateway.GenesisProSubscription"];
98283
+ };
98284
+ };
98285
+ /** @description invalid_request, idempotency_key_required or bad_request */
95241
98286
  400: {
95242
98287
  headers: {
95243
98288
  [name: string]: unknown;
@@ -95251,13 +98296,34 @@ export interface operations {
95251
98296
  };
95252
98297
  content?: never;
95253
98298
  };
95254
- /** @description forbidden */
98299
+ /** @description payment_failed: the card on file was declined; nothing is left open */
98300
+ 402: {
98301
+ headers: {
98302
+ [name: string]: unknown;
98303
+ };
98304
+ content?: never;
98305
+ };
98306
+ /** @description forbidden (needs genesis.billing.manage) */
95255
98307
  403: {
95256
98308
  headers: {
95257
98309
  [name: string]: unknown;
95258
98310
  };
95259
98311
  content?: never;
95260
98312
  };
98313
+ /** @description billing_account_required, payment_method_required, payment_action_required (finish the payment in the Console under Billing), environment_mismatch, or the Idempotency-Key was used for a different request */
98314
+ 409: {
98315
+ headers: {
98316
+ [name: string]: unknown;
98317
+ };
98318
+ content?: never;
98319
+ };
98320
+ /** @description body_too_large (16 KiB) */
98321
+ 413: {
98322
+ headers: {
98323
+ [name: string]: unknown;
98324
+ };
98325
+ content?: never;
98326
+ };
95261
98327
  /** @description billing_unavailable */
95262
98328
  503: {
95263
98329
  headers: {
@@ -95670,6 +98736,65 @@ export interface operations {
95670
98736
  };
95671
98737
  };
95672
98738
  };
98739
+ gateway_getBillingPricing: {
98740
+ parameters: {
98741
+ query?: never;
98742
+ header?: {
98743
+ "If-None-Match"?: string;
98744
+ };
98745
+ path?: never;
98746
+ cookie?: never;
98747
+ };
98748
+ requestBody?: never;
98749
+ responses: {
98750
+ /** @description The catalog */
98751
+ 200: {
98752
+ headers: {
98753
+ ETag?: string;
98754
+ "Cache-Control"?: string;
98755
+ [name: string]: unknown;
98756
+ };
98757
+ content: {
98758
+ "application/json": components["schemas"]["Gateway.BillingPricing"];
98759
+ };
98760
+ };
98761
+ /** @description Not modified (the ETag matched) */
98762
+ 304: {
98763
+ headers: {
98764
+ [name: string]: unknown;
98765
+ };
98766
+ content?: never;
98767
+ };
98768
+ /** @description invalid_request (a query string) */
98769
+ 400: {
98770
+ headers: {
98771
+ [name: string]: unknown;
98772
+ };
98773
+ content?: never;
98774
+ };
98775
+ /** @description not_found (public pricing is not switched on) */
98776
+ 404: {
98777
+ headers: {
98778
+ [name: string]: unknown;
98779
+ };
98780
+ content?: never;
98781
+ };
98782
+ /** @description rate_limited */
98783
+ 429: {
98784
+ headers: {
98785
+ [name: string]: unknown;
98786
+ };
98787
+ content?: never;
98788
+ };
98789
+ /** @description billing_unavailable */
98790
+ 503: {
98791
+ headers: {
98792
+ [name: string]: unknown;
98793
+ };
98794
+ content?: never;
98795
+ };
98796
+ };
98797
+ };
95673
98798
  gateway_getCredits: {
95674
98799
  parameters: {
95675
98800
  query?: never;
@@ -110742,4 +113867,349 @@ export interface operations {
110742
113867
  };
110743
113868
  };
110744
113869
  };
113870
+ agents_search: {
113871
+ parameters: {
113872
+ query: {
113873
+ /** @description What to search for, 1 to 200 characters. */
113874
+ q: string;
113875
+ /** @description Most results to return, 1 to 20 (default 20). */
113876
+ limit?: number;
113877
+ };
113878
+ header?: never;
113879
+ path?: never;
113880
+ cookie?: never;
113881
+ };
113882
+ requestBody?: never;
113883
+ responses: {
113884
+ /** @description Matching public agents, best first */
113885
+ 200: {
113886
+ headers: {
113887
+ [name: string]: unknown;
113888
+ };
113889
+ content: {
113890
+ "application/json": components["schemas"]["Agents.AgentSearchResults"];
113891
+ };
113892
+ };
113893
+ /** @description INVALID_QUERY (q or limit out of range) or INVALID_REQUEST (another query key */
113894
+ 400: {
113895
+ headers: {
113896
+ [name: string]: unknown;
113897
+ };
113898
+ content?: never;
113899
+ };
113900
+ /** @description METHOD_NOT_ALLOWED (after a credential verifies; without one */
113901
+ 405: {
113902
+ headers: {
113903
+ [name: string]: unknown;
113904
+ };
113905
+ content?: never;
113906
+ };
113907
+ /** @description RATE_LIMITED */
113908
+ 429: {
113909
+ headers: {
113910
+ [name: string]: unknown;
113911
+ };
113912
+ content?: never;
113913
+ };
113914
+ /** @description BAD_GATEWAY (the index answered outside its contract; nothing is passed through) */
113915
+ 502: {
113916
+ headers: {
113917
+ [name: string]: unknown;
113918
+ };
113919
+ content?: never;
113920
+ };
113921
+ /** @description AGENT_INDEX_UNAVAILABLE or SERVICE_DISABLED */
113922
+ 503: {
113923
+ headers: {
113924
+ [name: string]: unknown;
113925
+ };
113926
+ content?: never;
113927
+ };
113928
+ };
113929
+ };
113930
+ agents_sitemap: {
113931
+ parameters: {
113932
+ query?: never;
113933
+ header?: never;
113934
+ path?: never;
113935
+ cookie?: never;
113936
+ };
113937
+ requestBody?: never;
113938
+ responses: {
113939
+ /** @description Public agent ids */
113940
+ 200: {
113941
+ headers: {
113942
+ [name: string]: unknown;
113943
+ };
113944
+ content: {
113945
+ "application/json": components["schemas"]["Agents.AgentSitemap"];
113946
+ };
113947
+ };
113948
+ /** @description INVALID_REQUEST (a query string or a body) */
113949
+ 400: {
113950
+ headers: {
113951
+ [name: string]: unknown;
113952
+ };
113953
+ content?: never;
113954
+ };
113955
+ /** @description METHOD_NOT_ALLOWED (after a credential verifies; without one */
113956
+ 405: {
113957
+ headers: {
113958
+ [name: string]: unknown;
113959
+ };
113960
+ content?: never;
113961
+ };
113962
+ /** @description RATE_LIMITED */
113963
+ 429: {
113964
+ headers: {
113965
+ [name: string]: unknown;
113966
+ };
113967
+ content?: never;
113968
+ };
113969
+ /** @description BAD_GATEWAY */
113970
+ 502: {
113971
+ headers: {
113972
+ [name: string]: unknown;
113973
+ };
113974
+ content?: never;
113975
+ };
113976
+ /** @description AGENT_INDEX_UNAVAILABLE or SERVICE_DISABLED */
113977
+ 503: {
113978
+ headers: {
113979
+ [name: string]: unknown;
113980
+ };
113981
+ content?: never;
113982
+ };
113983
+ };
113984
+ };
113985
+ one_getInstance: {
113986
+ parameters: {
113987
+ query?: never;
113988
+ header?: never;
113989
+ path?: never;
113990
+ cookie?: never;
113991
+ };
113992
+ requestBody?: never;
113993
+ responses: {
113994
+ /** @description Your One instance (or null) */
113995
+ 200: {
113996
+ headers: {
113997
+ [name: string]: unknown;
113998
+ };
113999
+ content: {
114000
+ "application/json": components["schemas"]["One.InstanceEnvelope"];
114001
+ };
114002
+ };
114003
+ /** @description person_required (not a person signed in with genesis login) or one_sign_in_required */
114004
+ 403: {
114005
+ headers: {
114006
+ [name: string]: unknown;
114007
+ };
114008
+ content?: never;
114009
+ };
114010
+ /** @description instances_off */
114011
+ 404: {
114012
+ headers: {
114013
+ [name: string]: unknown;
114014
+ };
114015
+ content?: never;
114016
+ };
114017
+ };
114018
+ };
114019
+ one_stopInstance: {
114020
+ parameters: {
114021
+ query?: never;
114022
+ header?: never;
114023
+ path?: never;
114024
+ cookie?: never;
114025
+ };
114026
+ requestBody?: never;
114027
+ responses: {
114028
+ /** @description Your One is halted */
114029
+ 200: {
114030
+ headers: {
114031
+ [name: string]: unknown;
114032
+ };
114033
+ content: {
114034
+ "application/json": components["schemas"]["One.StopReport"];
114035
+ };
114036
+ };
114037
+ /** @description person_required */
114038
+ 403: {
114039
+ headers: {
114040
+ [name: string]: unknown;
114041
+ };
114042
+ content?: never;
114043
+ };
114044
+ /** @description instances_off */
114045
+ 404: {
114046
+ headers: {
114047
+ [name: string]: unknown;
114048
+ };
114049
+ content?: never;
114050
+ };
114051
+ };
114052
+ };
114053
+ one_resumeInstance: {
114054
+ parameters: {
114055
+ query?: never;
114056
+ header?: never;
114057
+ path?: never;
114058
+ cookie?: never;
114059
+ };
114060
+ requestBody?: never;
114061
+ responses: {
114062
+ /** @description Resume outcome */
114063
+ 200: {
114064
+ headers: {
114065
+ [name: string]: unknown;
114066
+ };
114067
+ content: {
114068
+ "application/json": components["schemas"]["One.ResumeResult"];
114069
+ };
114070
+ };
114071
+ /** @description person_required or one_sign_in_required */
114072
+ 403: {
114073
+ headers: {
114074
+ [name: string]: unknown;
114075
+ };
114076
+ content?: never;
114077
+ };
114078
+ /** @description instances_off */
114079
+ 404: {
114080
+ headers: {
114081
+ [name: string]: unknown;
114082
+ };
114083
+ content?: never;
114084
+ };
114085
+ };
114086
+ };
114087
+ one_listWakeups: {
114088
+ parameters: {
114089
+ query?: never;
114090
+ header?: never;
114091
+ path?: never;
114092
+ cookie?: never;
114093
+ };
114094
+ requestBody?: never;
114095
+ responses: {
114096
+ /** @description Your wakes */
114097
+ 200: {
114098
+ headers: {
114099
+ [name: string]: unknown;
114100
+ };
114101
+ content: {
114102
+ "application/json": components["schemas"]["One.WakeList"];
114103
+ };
114104
+ };
114105
+ /** @description person_required or one_sign_in_required */
114106
+ 403: {
114107
+ headers: {
114108
+ [name: string]: unknown;
114109
+ };
114110
+ content?: never;
114111
+ };
114112
+ /** @description instances_off */
114113
+ 404: {
114114
+ headers: {
114115
+ [name: string]: unknown;
114116
+ };
114117
+ content?: never;
114118
+ };
114119
+ };
114120
+ };
114121
+ one_createWakeup: {
114122
+ parameters: {
114123
+ query?: never;
114124
+ header?: never;
114125
+ path?: never;
114126
+ cookie?: never;
114127
+ };
114128
+ requestBody: {
114129
+ content: {
114130
+ "application/json": components["schemas"]["One.CreateWakeRequest"];
114131
+ };
114132
+ };
114133
+ responses: {
114134
+ /** @description Wake set */
114135
+ 201: {
114136
+ headers: {
114137
+ [name: string]: unknown;
114138
+ };
114139
+ content: {
114140
+ "application/json": components["schemas"]["One.Wake"];
114141
+ };
114142
+ };
114143
+ /** @description invalid_request, wake_past or wake_empty */
114144
+ 400: {
114145
+ headers: {
114146
+ [name: string]: unknown;
114147
+ };
114148
+ content?: never;
114149
+ };
114150
+ /** @description person_required or one_sign_in_required */
114151
+ 403: {
114152
+ headers: {
114153
+ [name: string]: unknown;
114154
+ };
114155
+ content?: never;
114156
+ };
114157
+ /** @description instances_off */
114158
+ 404: {
114159
+ headers: {
114160
+ [name: string]: unknown;
114161
+ };
114162
+ content?: never;
114163
+ };
114164
+ /** @description wake_too_many (50 waiting) */
114165
+ 409: {
114166
+ headers: {
114167
+ [name: string]: unknown;
114168
+ };
114169
+ content?: never;
114170
+ };
114171
+ };
114172
+ };
114173
+ one_cancelWakeup: {
114174
+ parameters: {
114175
+ query?: never;
114176
+ header?: never;
114177
+ path: {
114178
+ /** @description Wake id: wk_ followed by a lowercase UUID v4 */
114179
+ id: string;
114180
+ };
114181
+ cookie?: never;
114182
+ };
114183
+ requestBody?: never;
114184
+ responses: {
114185
+ /** @description Cancelled */
114186
+ 204: {
114187
+ headers: {
114188
+ [name: string]: unknown;
114189
+ };
114190
+ content?: never;
114191
+ };
114192
+ /** @description person_required or one_sign_in_required */
114193
+ 403: {
114194
+ headers: {
114195
+ [name: string]: unknown;
114196
+ };
114197
+ content?: never;
114198
+ };
114199
+ /** @description wake_not_found or instances_off */
114200
+ 404: {
114201
+ headers: {
114202
+ [name: string]: unknown;
114203
+ };
114204
+ content?: never;
114205
+ };
114206
+ /** @description wake_not_pending */
114207
+ 409: {
114208
+ headers: {
114209
+ [name: string]: unknown;
114210
+ };
114211
+ content?: never;
114212
+ };
114213
+ };
114214
+ };
110745
114215
  }