@onesi/genesis 0.2.11 → 0.2.13
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.
- package/README.md +1 -1
- package/dist/client.js +1 -1
- package/dist/flares.d.ts +9 -0
- package/dist/flares.js +1 -0
- package/dist/gateway.d.ts +47 -1
- package/dist/gateway.js +5 -1
- package/dist/generated/operations.d.ts +1 -1
- package/dist/generated/operations.js +899 -237
- package/dist/generated/schema.d.ts +1570 -264
- package/dist/genesis.d.ts +53 -0
- package/dist/genesis.openapi.json +2610 -440
- package/dist/iam.d.ts +1 -1
- package/dist/iam.js +1 -1
- package/package.json +1 -1
|
@@ -799,23 +799,6 @@ export interface paths {
|
|
|
799
799
|
patch?: never;
|
|
800
800
|
trace?: never;
|
|
801
801
|
};
|
|
802
|
-
"/v1/foundry/files/{file_id}/content": {
|
|
803
|
-
parameters: {
|
|
804
|
-
query?: never;
|
|
805
|
-
header?: never;
|
|
806
|
-
path?: never;
|
|
807
|
-
cookie?: never;
|
|
808
|
-
};
|
|
809
|
-
/** Download tenant file content */
|
|
810
|
-
get: operations["foundry_downloadFile"];
|
|
811
|
-
put?: never;
|
|
812
|
-
post?: never;
|
|
813
|
-
delete?: never;
|
|
814
|
-
options?: never;
|
|
815
|
-
head?: never;
|
|
816
|
-
patch?: never;
|
|
817
|
-
trace?: never;
|
|
818
|
-
};
|
|
819
802
|
"/v1/foundry/fine_tuning/providers": {
|
|
820
803
|
parameters: {
|
|
821
804
|
query?: never;
|
|
@@ -2307,41 +2290,6 @@ export interface paths {
|
|
|
2307
2290
|
patch?: never;
|
|
2308
2291
|
trace?: never;
|
|
2309
2292
|
};
|
|
2310
|
-
"/v1/hives/organizations/{org_id}/sso": {
|
|
2311
|
-
parameters: {
|
|
2312
|
-
query?: never;
|
|
2313
|
-
header?: never;
|
|
2314
|
-
path?: never;
|
|
2315
|
-
cookie?: never;
|
|
2316
|
-
};
|
|
2317
|
-
/** Get SSO configuration for an organization */
|
|
2318
|
-
get: operations["hives_get_sso_config"];
|
|
2319
|
-
put?: never;
|
|
2320
|
-
/** Create a new SSO connection */
|
|
2321
|
-
post: operations["hives_create_sso_connection"];
|
|
2322
|
-
delete?: never;
|
|
2323
|
-
options?: never;
|
|
2324
|
-
head?: never;
|
|
2325
|
-
patch?: never;
|
|
2326
|
-
trace?: never;
|
|
2327
|
-
};
|
|
2328
|
-
"/v1/hives/organizations/{org_id}/sso/{connection_id}": {
|
|
2329
|
-
parameters: {
|
|
2330
|
-
query?: never;
|
|
2331
|
-
header?: never;
|
|
2332
|
-
path?: never;
|
|
2333
|
-
cookie?: never;
|
|
2334
|
-
};
|
|
2335
|
-
get?: never;
|
|
2336
|
-
put?: never;
|
|
2337
|
-
post?: never;
|
|
2338
|
-
/** Delete an SSO connection */
|
|
2339
|
-
delete: operations["hives_delete_sso_connection"];
|
|
2340
|
-
options?: never;
|
|
2341
|
-
head?: never;
|
|
2342
|
-
patch?: never;
|
|
2343
|
-
trace?: never;
|
|
2344
|
-
};
|
|
2345
2293
|
"/v1/hives/organizations/{org_id}/usage": {
|
|
2346
2294
|
parameters: {
|
|
2347
2295
|
query?: never;
|
|
@@ -4335,7 +4283,11 @@ export interface paths {
|
|
|
4335
4283
|
get: operations["hives_get_flight"];
|
|
4336
4284
|
put?: never;
|
|
4337
4285
|
post?: never;
|
|
4338
|
-
|
|
4286
|
+
/**
|
|
4287
|
+
* Delete a Flight
|
|
4288
|
+
* @description Tombstones the Flight (status deleted). Its hostname stops routing, it leaves get and list, and it no longer blocks deleting the project. The deployment behind it keeps running until it is stopped; DNS records are not touched. A Flight of another organization, project or environment, or one already deleted, is 404.
|
|
4289
|
+
*/
|
|
4290
|
+
delete: operations["hives_delete_flight"];
|
|
4339
4291
|
options?: never;
|
|
4340
4292
|
head?: never;
|
|
4341
4293
|
patch?: never;
|
|
@@ -10914,8 +10866,8 @@ export interface paths {
|
|
|
10914
10866
|
*/
|
|
10915
10867
|
get: operations["minds_getEpisodicMemory"];
|
|
10916
10868
|
/**
|
|
10917
|
-
* Update content of
|
|
10918
|
-
* @description Original human Console authorization only (Sandbox, or Live). Requires the
|
|
10869
|
+
* Update content of a stored episodic event; event_id must equal storage_id
|
|
10870
|
+
* @description Original human Console authorization only (Sandbox, or Live). Requires `event_id` equal to the path `storage_id` (the persisted storage UUID that insert returns as `id`, not the caller event UUID); any other value answers 409 EVENT_ID_MISMATCH. Preserves all other stored metadata. No delete/recreate, automatic retry or atomic compare-and-swap guarantee. Reconcile an unknown result with get. Org API keys with a Sandbox or Live binding are admitted with `minds:write`. 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.
|
|
10919
10871
|
*/
|
|
10920
10872
|
put: operations["minds_updateEpisodicMemory"];
|
|
10921
10873
|
post?: never;
|
|
@@ -17017,6 +16969,26 @@ export interface paths {
|
|
|
17017
16969
|
patch?: never;
|
|
17018
16970
|
trace?: never;
|
|
17019
16971
|
};
|
|
16972
|
+
"/v1/flares/choreography/workflows/{workflow_id}": {
|
|
16973
|
+
parameters: {
|
|
16974
|
+
query?: never;
|
|
16975
|
+
header?: never;
|
|
16976
|
+
path?: never;
|
|
16977
|
+
cookie?: never;
|
|
16978
|
+
};
|
|
16979
|
+
get?: never;
|
|
16980
|
+
put?: never;
|
|
16981
|
+
post?: never;
|
|
16982
|
+
/**
|
|
16983
|
+
* Delete a tenant-scoped choreography workflow definition
|
|
16984
|
+
* @description Needs `flares:write` at the gateway (service scope `choreography.write`). Deletes one of the caller's workflow definitions in the caller's own organization, project and environment and returns it as `{id, deleted, workflow}`. Another organization's or environment's workflow is 404. A workflow with a pending, running or compensating execution is 409; cancel or finish those first. Finished, failed and cancelled executions stay readable.
|
|
16985
|
+
*/
|
|
16986
|
+
delete: operations["flares_deleteChoreographyWorkflow"];
|
|
16987
|
+
options?: never;
|
|
16988
|
+
head?: never;
|
|
16989
|
+
patch?: never;
|
|
16990
|
+
trace?: never;
|
|
16991
|
+
};
|
|
17020
16992
|
"/v1/flares/choreography/executions": {
|
|
17021
16993
|
parameters: {
|
|
17022
16994
|
query?: never;
|
|
@@ -19290,6 +19262,26 @@ export interface paths {
|
|
|
19290
19262
|
patch?: never;
|
|
19291
19263
|
trace?: never;
|
|
19292
19264
|
};
|
|
19265
|
+
"/v1/credits/catalog": {
|
|
19266
|
+
parameters: {
|
|
19267
|
+
query?: never;
|
|
19268
|
+
header?: never;
|
|
19269
|
+
path?: never;
|
|
19270
|
+
cookie?: never;
|
|
19271
|
+
};
|
|
19272
|
+
/**
|
|
19273
|
+
* The One credits catalog
|
|
19274
|
+
* @description Every price of the catalog (version `one-plans-20261021`) with its credits, computer hours, amount in US cents and interval, the pack rate (60 credits per dollar), the payment methods Checkout offers per mode (Apple Pay and Google Pay ride on `card`; `crypto` is USDC hosted by Stripe and offered for packs only), the `return_to` a checkout may use and the wallet-payment terms. Needs genesis.billing.read and no credits account: an organization that is not a One tenant can read it. Takes no query.
|
|
19275
|
+
*/
|
|
19276
|
+
get: operations["gateway_getCreditCatalog"];
|
|
19277
|
+
put?: never;
|
|
19278
|
+
post?: never;
|
|
19279
|
+
delete?: never;
|
|
19280
|
+
options?: never;
|
|
19281
|
+
head?: never;
|
|
19282
|
+
patch?: never;
|
|
19283
|
+
trace?: never;
|
|
19284
|
+
};
|
|
19293
19285
|
"/v1/credits/entries": {
|
|
19294
19286
|
parameters: {
|
|
19295
19287
|
query?: never;
|
|
@@ -19361,7 +19353,7 @@ export interface paths {
|
|
|
19361
19353
|
put?: never;
|
|
19362
19354
|
/**
|
|
19363
19355
|
* Start a Stripe Checkout for a plan, seats or a credit pack
|
|
19364
|
-
* @description Returns the hosted Stripe Checkout URL (test mode) for the items: a plan or seat price (`one_one_monthly`, `one_pro_monthly`, `one_operator_monthly`, ...) or a credit pack (`one_pack_10`, `one_pack_25`, `one_pack_50`). The URL is always on https://checkout.stripe.com and never a live-mode session. Nothing is charged until you pay on that page. Needs genesis.billing.manage and an Idempotency-Key.
|
|
19356
|
+
* @description Returns the hosted Stripe Checkout URL (test mode) for the items: a plan or seat price (`one_one_monthly`, `one_pro_monthly`, `one_operator_monthly`, ...) or a credit pack (`one_pack_10`, `one_pack_25`, `one_pack_50`). The URL is always on https://checkout.stripe.com and never a live-mode session. Nothing is charged until you pay on that page. Plans and seats take card, Link and ACH; packs also take crypto (USDC hosted by Stripe), and Apple Pay and Google Pay come with card. Pack credits are minted once the payment is paid: at once for card and Link, later for ACH and crypto. `return_to` (optional) sends the person back to https://chat.one.ml/pay or a path below it, with `?checkout=success&session_id=...` or `?checkout=cancel`. Needs genesis.billing.manage and an Idempotency-Key.
|
|
19365
19357
|
*/
|
|
19366
19358
|
post: operations["gateway_createCreditCheckout"];
|
|
19367
19359
|
delete?: never;
|
|
@@ -19370,6 +19362,26 @@ export interface paths {
|
|
|
19370
19362
|
patch?: never;
|
|
19371
19363
|
trace?: never;
|
|
19372
19364
|
};
|
|
19365
|
+
"/v1/credits/wallet-payment": {
|
|
19366
|
+
parameters: {
|
|
19367
|
+
query?: never;
|
|
19368
|
+
header?: never;
|
|
19369
|
+
path?: never;
|
|
19370
|
+
cookie?: never;
|
|
19371
|
+
};
|
|
19372
|
+
get?: never;
|
|
19373
|
+
put?: never;
|
|
19374
|
+
/**
|
|
19375
|
+
* Pay for a credit pack in USDC from a wallet
|
|
19376
|
+
* @description A pack ($10, $25 or $50) paid in USDC (1:1 with USD) on Base or Solana through a Stripe deposit-mode PaymentIntent (Stripe test mode: Base Sepolia, Solana devnet). Send exactly `amount_usdc_atomic` (6-decimal USDC units) of the token at `token_contract_address` to `deposit_address` before `expires_at` (30 minutes); after that the intent is canceled. Stripe matches a transfer by its exact amount, so when the pack's amount is already open the lowest free amount up to 99 cents higher is used (`jitter_cents`), and those cents buy credits at 60 per dollar, rounded down (`credits`). Credits are minted when the payment succeeds, as a pack lot that expires after 12 months. A payment from another wallet than `payer_address` is still credited and flagged for review. Refunds go back to the sending wallet. Needs genesis.billing.manage and an Idempotency-Key.
|
|
19377
|
+
*/
|
|
19378
|
+
post: operations["gateway_createCreditWalletPayment"];
|
|
19379
|
+
delete?: never;
|
|
19380
|
+
options?: never;
|
|
19381
|
+
head?: never;
|
|
19382
|
+
patch?: never;
|
|
19383
|
+
trace?: never;
|
|
19384
|
+
};
|
|
19373
19385
|
"/v1/credits/subscription": {
|
|
19374
19386
|
parameters: {
|
|
19375
19387
|
query?: never;
|
|
@@ -24148,6 +24160,46 @@ export interface paths {
|
|
|
24148
24160
|
patch?: never;
|
|
24149
24161
|
trace?: never;
|
|
24150
24162
|
};
|
|
24163
|
+
"/v1/brews/exchange/uninstall": {
|
|
24164
|
+
parameters: {
|
|
24165
|
+
query?: never;
|
|
24166
|
+
header?: never;
|
|
24167
|
+
path?: never;
|
|
24168
|
+
cookie?: never;
|
|
24169
|
+
};
|
|
24170
|
+
get?: never;
|
|
24171
|
+
put?: never;
|
|
24172
|
+
/**
|
|
24173
|
+
* Uninstall an exchange Brew from the selected project
|
|
24174
|
+
* @description Needs `brews:write`. Removes a Brew that installBrew put in the caller's organization, project and environment, and drops the source listing's install count. A Brew in another scope is 404 BREWS_E_NOT_FOUND; a Brew that was not installed from the exchange is 409 BREWS_E_NOT_AN_INSTALL.
|
|
24175
|
+
*/
|
|
24176
|
+
post: operations["brews_uninstallBrew"];
|
|
24177
|
+
delete?: never;
|
|
24178
|
+
options?: never;
|
|
24179
|
+
head?: never;
|
|
24180
|
+
patch?: never;
|
|
24181
|
+
trace?: never;
|
|
24182
|
+
};
|
|
24183
|
+
"/v1/brews/delete": {
|
|
24184
|
+
parameters: {
|
|
24185
|
+
query?: never;
|
|
24186
|
+
header?: never;
|
|
24187
|
+
path?: never;
|
|
24188
|
+
cookie?: never;
|
|
24189
|
+
};
|
|
24190
|
+
get?: never;
|
|
24191
|
+
put?: never;
|
|
24192
|
+
/**
|
|
24193
|
+
* Delete a Brew from the selected project
|
|
24194
|
+
* @description Needs `brews:write`. Deletes one Brew version from the caller's organization, project and environment and returns its digest; the version can be created again afterwards. A Brew in another scope is 404 BREWS_E_NOT_FOUND; an exchange install is 409 BREWS_E_EXCHANGE_INSTALL (use uninstallBrew).
|
|
24195
|
+
*/
|
|
24196
|
+
post: operations["brews_deleteBrew"];
|
|
24197
|
+
delete?: never;
|
|
24198
|
+
options?: never;
|
|
24199
|
+
head?: never;
|
|
24200
|
+
patch?: never;
|
|
24201
|
+
trace?: never;
|
|
24202
|
+
};
|
|
24151
24203
|
"/v1/brews/mcp": {
|
|
24152
24204
|
parameters: {
|
|
24153
24205
|
query?: never;
|
|
@@ -24159,7 +24211,7 @@ export interface paths {
|
|
|
24159
24211
|
put?: never;
|
|
24160
24212
|
/**
|
|
24161
24213
|
* Call a Brews MCP tool
|
|
24162
|
-
* @description One Brews tool call: brews.create, brews.run, brews.eval, brews.list, brews.get, brews.card, brews.compile, brews.bench.run, brews.exchange.list, brews.exchange.get, brews.exchange.install, or a typed brews.decision.v1 / brews.selection.v1 tool. Needs `brews:read`; tools that write need `brews:write`, checked by Brews per tool. `arguments.scope` is filled from the selection.
|
|
24214
|
+
* @description One Brews tool call: brews.create, brews.run, brews.eval, brews.list, brews.get, brews.card, brews.compile, brews.bench.run, brews.exchange.list, brews.exchange.get, brews.exchange.install, brews.exchange.uninstall, brews.delete, or a typed brews.decision.v1 / brews.selection.v1 tool. Needs `brews:read`; tools that write need `brews:write`, checked by Brews per tool. `arguments.scope` is filled from the selection.
|
|
24163
24215
|
*/
|
|
24164
24216
|
post: operations["brews_callTool"];
|
|
24165
24217
|
delete?: never;
|
|
@@ -24308,6 +24360,238 @@ export interface paths {
|
|
|
24308
24360
|
patch?: never;
|
|
24309
24361
|
trace?: never;
|
|
24310
24362
|
};
|
|
24363
|
+
"/v1/connections/catalog": {
|
|
24364
|
+
parameters: {
|
|
24365
|
+
query?: never;
|
|
24366
|
+
header?: never;
|
|
24367
|
+
path?: never;
|
|
24368
|
+
cookie?: never;
|
|
24369
|
+
};
|
|
24370
|
+
/**
|
|
24371
|
+
* List verified MCP servers in the catalog
|
|
24372
|
+
* @description Scope `connections:read`. Filter by OneOS plugin category (`plugin`, e.g. `scopes`). Suspended servers are listed with their `reason`.
|
|
24373
|
+
*/
|
|
24374
|
+
get: operations["connections_listCatalog"];
|
|
24375
|
+
put?: never;
|
|
24376
|
+
post?: never;
|
|
24377
|
+
delete?: never;
|
|
24378
|
+
options?: never;
|
|
24379
|
+
head?: never;
|
|
24380
|
+
patch?: never;
|
|
24381
|
+
trace?: never;
|
|
24382
|
+
};
|
|
24383
|
+
"/v1/connections/catalog/{server}": {
|
|
24384
|
+
parameters: {
|
|
24385
|
+
query?: never;
|
|
24386
|
+
header?: never;
|
|
24387
|
+
path: {
|
|
24388
|
+
/** @description Catalog server id, e.g. linear, neon, sentry */
|
|
24389
|
+
server: components["parameters"]["Connections.Server"];
|
|
24390
|
+
};
|
|
24391
|
+
cookie?: never;
|
|
24392
|
+
};
|
|
24393
|
+
/**
|
|
24394
|
+
* Get a catalog server with its pinned tool manifest
|
|
24395
|
+
* @description Scope `connections:read`.
|
|
24396
|
+
*/
|
|
24397
|
+
get: operations["connections_getCatalogServer"];
|
|
24398
|
+
put?: never;
|
|
24399
|
+
post?: never;
|
|
24400
|
+
delete?: never;
|
|
24401
|
+
options?: never;
|
|
24402
|
+
head?: never;
|
|
24403
|
+
patch?: never;
|
|
24404
|
+
trace?: never;
|
|
24405
|
+
};
|
|
24406
|
+
"/v1/connections": {
|
|
24407
|
+
parameters: {
|
|
24408
|
+
query?: never;
|
|
24409
|
+
header?: never;
|
|
24410
|
+
path?: never;
|
|
24411
|
+
cookie?: never;
|
|
24412
|
+
};
|
|
24413
|
+
/**
|
|
24414
|
+
* List your organization's connections
|
|
24415
|
+
* @description Scope `connections:read`. Connections of the selected environment, newest first (at most 200), optionally of one `status`.
|
|
24416
|
+
*/
|
|
24417
|
+
get: operations["connections_list"];
|
|
24418
|
+
put?: never;
|
|
24419
|
+
/**
|
|
24420
|
+
* Connect a catalog server
|
|
24421
|
+
* @description Scope `connections:write`. Creates a `pending_auth` connection and returns the `authorize_url` a person opens to consent at the vendor. `tools` picks the tools to enable (default: the manifest's defaults); only their scopes are requested. Unknown fields are refused (422). Enabling any `send`, `spend` or `destructive` tool needs an owner's approval (428). `auto_org` names the Auto org that governs the connection (its authority checks and approvals); a connect carrying `auto_org` always answers `428 APPROVAL_REQUIRED` first, so a person approves binding the connection to that Auto org.
|
|
24422
|
+
*/
|
|
24423
|
+
post: operations["connections_connect"];
|
|
24424
|
+
delete?: never;
|
|
24425
|
+
options?: never;
|
|
24426
|
+
head?: never;
|
|
24427
|
+
patch?: never;
|
|
24428
|
+
trace?: never;
|
|
24429
|
+
};
|
|
24430
|
+
"/v1/connections/{id}": {
|
|
24431
|
+
parameters: {
|
|
24432
|
+
query?: never;
|
|
24433
|
+
header?: never;
|
|
24434
|
+
path: {
|
|
24435
|
+
/** @description Connection id (conn_ followed by 32 hex) */
|
|
24436
|
+
id: components["parameters"]["Connections.Id"];
|
|
24437
|
+
};
|
|
24438
|
+
cookie?: never;
|
|
24439
|
+
};
|
|
24440
|
+
/**
|
|
24441
|
+
* Get a connection
|
|
24442
|
+
* @description Scope `connections:read`. Status, granted scopes and the pinned manifest hash.
|
|
24443
|
+
*/
|
|
24444
|
+
get: operations["connections_get"];
|
|
24445
|
+
put?: never;
|
|
24446
|
+
post?: never;
|
|
24447
|
+
/**
|
|
24448
|
+
* Revoke a connection
|
|
24449
|
+
* @description Scope `connections:write`. Never needs an approval. Blinds deletes the stored tokens and asks the vendor to revoke them (best effort, reported as `vendor_revoked`; `tokens_deleted` is false when Blinds did not confirm, and repeating the DELETE retries). The connection stays listed as `revoked`.
|
|
24450
|
+
*/
|
|
24451
|
+
delete: operations["connections_revoke"];
|
|
24452
|
+
options?: never;
|
|
24453
|
+
head?: never;
|
|
24454
|
+
patch?: never;
|
|
24455
|
+
trace?: never;
|
|
24456
|
+
};
|
|
24457
|
+
"/v1/connections/{id}/authorize": {
|
|
24458
|
+
parameters: {
|
|
24459
|
+
query?: never;
|
|
24460
|
+
header?: never;
|
|
24461
|
+
path: {
|
|
24462
|
+
/** @description Connection id (conn_ followed by 32 hex) */
|
|
24463
|
+
id: components["parameters"]["Connections.Id"];
|
|
24464
|
+
};
|
|
24465
|
+
cookie?: never;
|
|
24466
|
+
};
|
|
24467
|
+
get?: never;
|
|
24468
|
+
put?: never;
|
|
24469
|
+
/**
|
|
24470
|
+
* Get a new authorize URL for a person to open
|
|
24471
|
+
* @description Scope `connections:write`. Returns a fresh `authorize_url` (its `state` is single use and valid for 10 minutes). Human step: a person opens it in a browser. The hosted MCP refuses this operation for agents (human consent); use the CLI (`genesis connections authorize <id>`) or the Console.
|
|
24472
|
+
*/
|
|
24473
|
+
post: operations["connections_authorize"];
|
|
24474
|
+
delete?: never;
|
|
24475
|
+
options?: never;
|
|
24476
|
+
head?: never;
|
|
24477
|
+
patch?: never;
|
|
24478
|
+
trace?: never;
|
|
24479
|
+
};
|
|
24480
|
+
"/v1/connections/{id}/tools": {
|
|
24481
|
+
parameters: {
|
|
24482
|
+
query?: never;
|
|
24483
|
+
header?: never;
|
|
24484
|
+
path: {
|
|
24485
|
+
/** @description Connection id (conn_ followed by 32 hex) */
|
|
24486
|
+
id: components["parameters"]["Connections.Id"];
|
|
24487
|
+
};
|
|
24488
|
+
cookie?: never;
|
|
24489
|
+
};
|
|
24490
|
+
/**
|
|
24491
|
+
* List a connection's tools with their policy
|
|
24492
|
+
* @description Scope `connections:read`. The pinned manifest's tools, each with its effect, scopes, policy mode and the vendor's description and input schema (untrusted).
|
|
24493
|
+
*/
|
|
24494
|
+
get: operations["connections_listTools"];
|
|
24495
|
+
put?: never;
|
|
24496
|
+
post?: never;
|
|
24497
|
+
delete?: never;
|
|
24498
|
+
options?: never;
|
|
24499
|
+
head?: never;
|
|
24500
|
+
/**
|
|
24501
|
+
* Set tool policies (allow, approve or deny)
|
|
24502
|
+
* @description Scope `connections:write`. `tools` maps tool names to `allow`, `approve` or `deny`; `send`, `spend` and `destructive` tools take `approve` or `deny` only (422 for `allow`). Narrowing never needs an approval; widening (deny to approve or allow, approve to allow) needs an owner's approval (428) and Auto's `connections.widen` check. When the change needs scopes not yet granted, the answer carries `reauthorize`.
|
|
24503
|
+
*/
|
|
24504
|
+
patch: operations["connections_setToolPolicy"];
|
|
24505
|
+
trace?: never;
|
|
24506
|
+
};
|
|
24507
|
+
"/v1/connections/{id}/tools/{tool}/call": {
|
|
24508
|
+
parameters: {
|
|
24509
|
+
query?: never;
|
|
24510
|
+
header?: never;
|
|
24511
|
+
path: {
|
|
24512
|
+
/** @description Connection id (conn_ followed by 32 hex) */
|
|
24513
|
+
id: components["parameters"]["Connections.Id"];
|
|
24514
|
+
/** @description The tool's name in the pinned manifest */
|
|
24515
|
+
tool: components["parameters"]["Connections.Tool"];
|
|
24516
|
+
};
|
|
24517
|
+
cookie?: never;
|
|
24518
|
+
};
|
|
24519
|
+
get?: never;
|
|
24520
|
+
put?: never;
|
|
24521
|
+
/**
|
|
24522
|
+
* Call a connected tool
|
|
24523
|
+
* @description Scope `connections:write`. Runs Auto's `connections.call` check, then calls the tool through Blinds. The result is third-party content inside the `untrusted` wrapper. A tool whose policy is `approve`, or a write to another connection after this session read untrusted content, answers 428; retry with `OneOS-Approval`.
|
|
24524
|
+
*/
|
|
24525
|
+
post: operations["connections_call"];
|
|
24526
|
+
delete?: never;
|
|
24527
|
+
options?: never;
|
|
24528
|
+
head?: never;
|
|
24529
|
+
patch?: never;
|
|
24530
|
+
trace?: never;
|
|
24531
|
+
};
|
|
24532
|
+
"/v1/connections/{id}/activity": {
|
|
24533
|
+
parameters: {
|
|
24534
|
+
query?: never;
|
|
24535
|
+
header?: never;
|
|
24536
|
+
path: {
|
|
24537
|
+
/** @description Connection id (conn_ followed by 32 hex) */
|
|
24538
|
+
id: components["parameters"]["Connections.Id"];
|
|
24539
|
+
};
|
|
24540
|
+
cookie?: never;
|
|
24541
|
+
};
|
|
24542
|
+
/**
|
|
24543
|
+
* Read a connection's activity ledger
|
|
24544
|
+
* @description Scope `connections:read`. Append-only, hash-chained rows, oldest first; hashes only, never payloads. Page with `after` = `next_after`.
|
|
24545
|
+
*/
|
|
24546
|
+
get: operations["connections_activity"];
|
|
24547
|
+
put?: never;
|
|
24548
|
+
post?: never;
|
|
24549
|
+
delete?: never;
|
|
24550
|
+
options?: never;
|
|
24551
|
+
head?: never;
|
|
24552
|
+
patch?: never;
|
|
24553
|
+
trace?: never;
|
|
24554
|
+
};
|
|
24555
|
+
"/v1/connections/tools": {
|
|
24556
|
+
parameters: {
|
|
24557
|
+
query?: never;
|
|
24558
|
+
header?: never;
|
|
24559
|
+
path?: never;
|
|
24560
|
+
cookie?: never;
|
|
24561
|
+
};
|
|
24562
|
+
/**
|
|
24563
|
+
* Search the connected tools your organization may call
|
|
24564
|
+
* @description Scope `connections:read`. Connected tools of the selected environment whose policy is not `deny`, matched against `q` (at most 100). genesis-mcp's `genesis_search_tools` lists them by `name` (`conn.<connection>.<tool>`). `session_tainted` says whether this principal has read untrusted content.
|
|
24565
|
+
*/
|
|
24566
|
+
get: operations["connections_searchTools"];
|
|
24567
|
+
put?: never;
|
|
24568
|
+
post?: never;
|
|
24569
|
+
delete?: never;
|
|
24570
|
+
options?: never;
|
|
24571
|
+
head?: never;
|
|
24572
|
+
patch?: never;
|
|
24573
|
+
trace?: never;
|
|
24574
|
+
};
|
|
24575
|
+
"/v1/connections/oauth/callback": {
|
|
24576
|
+
parameters: {
|
|
24577
|
+
query?: never;
|
|
24578
|
+
header?: never;
|
|
24579
|
+
path?: never;
|
|
24580
|
+
cookie?: never;
|
|
24581
|
+
};
|
|
24582
|
+
/**
|
|
24583
|
+
* OAuth redirect target for a person's browser (anonymous)
|
|
24584
|
+
* @description Human browser only; anonymous. The vendor redirects the person here after consent. The gateway forwards it with no identity envelope and no credential; Connections authenticates it only by the single-use `state` (10 minutes, bound to the connection and its PKCE verifier) and hands the code to Blinds. Not an API for agents.
|
|
24585
|
+
*/
|
|
24586
|
+
get: operations["connections_oauthCallback"];
|
|
24587
|
+
put?: never;
|
|
24588
|
+
post?: never;
|
|
24589
|
+
delete?: never;
|
|
24590
|
+
options?: never;
|
|
24591
|
+
head?: never;
|
|
24592
|
+
patch?: never;
|
|
24593
|
+
trace?: never;
|
|
24594
|
+
};
|
|
24311
24595
|
}
|
|
24312
24596
|
export type webhooks = Record<string, never>;
|
|
24313
24597
|
export interface components {
|
|
@@ -25421,16 +25705,6 @@ export interface components {
|
|
|
25421
25705
|
*/
|
|
25422
25706
|
ttl_secs?: number;
|
|
25423
25707
|
};
|
|
25424
|
-
"Hives.CreateSsoConnectionRequest": {
|
|
25425
|
-
/** @description IdP type hint */
|
|
25426
|
-
idp_type?: string | null;
|
|
25427
|
-
/** @description Raw IdP metadata XML (alternative to URL) */
|
|
25428
|
-
metadata_raw?: string | null;
|
|
25429
|
-
/** @description IdP metadata URL (e.g. Okta, Azure AD metadata endpoint) */
|
|
25430
|
-
metadata_url?: string | null;
|
|
25431
|
-
/** @description Connection name/label */
|
|
25432
|
-
name: string;
|
|
25433
|
-
};
|
|
25434
25708
|
/** @description Create terminal session request */
|
|
25435
25709
|
"Hives.CreateTerminalSessionRequest": {
|
|
25436
25710
|
/**
|
|
@@ -28677,7 +28951,8 @@ export interface components {
|
|
|
28677
28951
|
escalation_policy_id?: string | null;
|
|
28678
28952
|
/** @default true */
|
|
28679
28953
|
enabled?: boolean;
|
|
28680
|
-
|
|
28954
|
+
/** @description Tenant user ids, at least one for a signed-in caller. An org API key has no users row: it must send [] (or omit members) and gets 400 for any user id; a signed-in member adds people later. */
|
|
28955
|
+
members?: string[];
|
|
28681
28956
|
/** @description Accepted but not stored */
|
|
28682
28957
|
allow_self_coverage?: boolean;
|
|
28683
28958
|
/** @description Accepted but not stored */
|
|
@@ -28686,7 +28961,7 @@ export interface components {
|
|
|
28686
28961
|
acknowledgement_timeout_minutes?: number;
|
|
28687
28962
|
/** @description Accepted but not stored */
|
|
28688
28963
|
auto_escalate?: boolean;
|
|
28689
|
-
/** @description
|
|
28964
|
+
/** @description Not supported on on-call schedules: send [] or omit it; a non-empty list is 400 (relays#53) */
|
|
28690
28965
|
alert_channel_ids?: string[];
|
|
28691
28966
|
};
|
|
28692
28967
|
"Relays.OncallOverrideInput": {
|
|
@@ -28710,7 +28985,7 @@ export interface components {
|
|
|
28710
28985
|
/** Format: uuid */
|
|
28711
28986
|
escalation_policy_id?: string | null;
|
|
28712
28987
|
enabled?: boolean;
|
|
28713
|
-
/** @description Replaces the whole rotation */
|
|
28988
|
+
/** @description Replaces the whole rotation (at least one member). Signed-in callers only: an org API key gets 400 for members (even []) and for create_override. */
|
|
28714
28989
|
members?: string[];
|
|
28715
28990
|
create_override?: components["schemas"]["Relays.OncallOverrideInput"];
|
|
28716
28991
|
/** Format: uuid */
|
|
@@ -37115,6 +37390,11 @@ export interface components {
|
|
|
37115
37390
|
pack: number | null;
|
|
37116
37391
|
monthly_ceiling_credits: number | null;
|
|
37117
37392
|
used_this_month_credits?: number;
|
|
37393
|
+
/**
|
|
37394
|
+
* @description Auto-refill is paused while a dispute on one of your charges is open
|
|
37395
|
+
* @enum {unknown}
|
|
37396
|
+
*/
|
|
37397
|
+
paused_reason?: "dispute_open" | null;
|
|
37118
37398
|
};
|
|
37119
37399
|
"Gateway.CreditBalance": {
|
|
37120
37400
|
org: string;
|
|
@@ -37219,6 +37499,103 @@ export interface components {
|
|
|
37219
37499
|
*/
|
|
37220
37500
|
url: string;
|
|
37221
37501
|
};
|
|
37502
|
+
"Gateway.CreditCheckoutRequest": {
|
|
37503
|
+
items: components["schemas"]["Gateway.CreditItem"][];
|
|
37504
|
+
/** @description Where Checkout sends the person back: https://chat.one.ml/pay or a path below it */
|
|
37505
|
+
return_to?: string;
|
|
37506
|
+
};
|
|
37507
|
+
"Gateway.CreditCatalogPrice": {
|
|
37508
|
+
lookup_key: string;
|
|
37509
|
+
/** @enum {string} */
|
|
37510
|
+
kind: "plan" | "seat" | "bundle" | "pack" | "refill";
|
|
37511
|
+
plan: string;
|
|
37512
|
+
/** @description Credits per unit per period (plans */
|
|
37513
|
+
credits: number;
|
|
37514
|
+
computer_hours: number;
|
|
37515
|
+
/** @description US cents */
|
|
37516
|
+
unit_amount: number;
|
|
37517
|
+
/** @enum {string|null} */
|
|
37518
|
+
interval: "month" | "year" | null;
|
|
37519
|
+
team: {
|
|
37520
|
+
[key: string]: number;
|
|
37521
|
+
} | null;
|
|
37522
|
+
/** @description false for the free price and the refill prices (auto-refill buys those) */
|
|
37523
|
+
purchasable: boolean;
|
|
37524
|
+
};
|
|
37525
|
+
"Gateway.CreditCatalog": {
|
|
37526
|
+
/** @constant */
|
|
37527
|
+
object: "credits_catalog";
|
|
37528
|
+
/** @description one-plans-20261021 */
|
|
37529
|
+
version: string;
|
|
37530
|
+
/** @enum {string} */
|
|
37531
|
+
billing_environment: "sandbox" | "live";
|
|
37532
|
+
test_mode: boolean;
|
|
37533
|
+
/** @constant */
|
|
37534
|
+
currency: "usd";
|
|
37535
|
+
/** @description Credits per dollar for packs */
|
|
37536
|
+
pack_credits_per_usd: number;
|
|
37537
|
+
prices: components["schemas"]["Gateway.CreditCatalogPrice"][];
|
|
37538
|
+
payment_methods: {
|
|
37539
|
+
/** @description card, link, us_bank_account, crypto */
|
|
37540
|
+
payment: string[];
|
|
37541
|
+
/** @description card, link, us_bank_account */
|
|
37542
|
+
subscription: string[];
|
|
37543
|
+
};
|
|
37544
|
+
return_to: {
|
|
37545
|
+
origin?: string;
|
|
37546
|
+
path_prefix?: string;
|
|
37547
|
+
};
|
|
37548
|
+
/** @description The terms of POST /v1/credits/wallet-payment */
|
|
37549
|
+
wallet?: {
|
|
37550
|
+
/** @constant */
|
|
37551
|
+
token?: "usdc";
|
|
37552
|
+
networks?: ("base" | "solana")[];
|
|
37553
|
+
packs?: (10 | 25 | 50)[];
|
|
37554
|
+
usdc_per_usd?: number;
|
|
37555
|
+
intent_minutes?: number;
|
|
37556
|
+
jitter_max_cents?: number;
|
|
37557
|
+
test_networks?: {
|
|
37558
|
+
[key: string]: string;
|
|
37559
|
+
};
|
|
37560
|
+
};
|
|
37561
|
+
};
|
|
37562
|
+
"Gateway.CreditWalletPaymentRequest": {
|
|
37563
|
+
/**
|
|
37564
|
+
* @description The pack in US dollars
|
|
37565
|
+
* @enum {integer}
|
|
37566
|
+
*/
|
|
37567
|
+
pack: 10 | 25 | 50;
|
|
37568
|
+
/** @enum {string} */
|
|
37569
|
+
network: "base" | "solana";
|
|
37570
|
+
/** @description The wallet you pay from. Base: 0x and 40 hex characters. Solana: base58, 32 to 44 characters. */
|
|
37571
|
+
payer_address: string;
|
|
37572
|
+
};
|
|
37573
|
+
"Gateway.CreditWalletPayment": {
|
|
37574
|
+
payment_intent: string;
|
|
37575
|
+
/** @constant */
|
|
37576
|
+
status: "requires_action";
|
|
37577
|
+
/** @enum {integer} */
|
|
37578
|
+
pack: 10 | 25 | 50;
|
|
37579
|
+
/** @enum {string} */
|
|
37580
|
+
network: "base" | "solana";
|
|
37581
|
+
/** @constant */
|
|
37582
|
+
token: "usdc";
|
|
37583
|
+
deposit_address: string;
|
|
37584
|
+
token_contract_address: string;
|
|
37585
|
+
/** @description The exact amount to send */
|
|
37586
|
+
amount_cents: number;
|
|
37587
|
+
/** @description amount_cents as dollars, for example 10.03 */
|
|
37588
|
+
amount_usd: string;
|
|
37589
|
+
/** @description amount_cents x 10^4: the exact 6-decimal USDC units to send, for example 10030000 */
|
|
37590
|
+
amount_usdc_atomic: string;
|
|
37591
|
+
/** @description Cents added to the pack's amount so Stripe can match the transfer */
|
|
37592
|
+
jitter_cents: number;
|
|
37593
|
+
/** @description The pack's credits plus jitter_cents x 0.6, rounded down */
|
|
37594
|
+
credits: number;
|
|
37595
|
+
payer_address: string;
|
|
37596
|
+
/** Format: date-time */
|
|
37597
|
+
expires_at: string;
|
|
37598
|
+
};
|
|
37222
37599
|
"Gateway.CreditSubscriptionResult": {
|
|
37223
37600
|
plan?: string;
|
|
37224
37601
|
subscription: components["schemas"]["Gateway.CreditSubscription"] | null;
|
|
@@ -40766,6 +41143,19 @@ export interface components {
|
|
|
40766
41143
|
} & {
|
|
40767
41144
|
[key: string]: unknown;
|
|
40768
41145
|
};
|
|
41146
|
+
"Brews.DeleteBrew": {
|
|
41147
|
+
scope?: components["schemas"]["Brews.Scope"];
|
|
41148
|
+
brewUri: string;
|
|
41149
|
+
reason?: string;
|
|
41150
|
+
} & {
|
|
41151
|
+
[key: string]: unknown;
|
|
41152
|
+
};
|
|
41153
|
+
"Brews.UninstallBrew": {
|
|
41154
|
+
scope?: components["schemas"]["Brews.Scope"];
|
|
41155
|
+
installedUri: string;
|
|
41156
|
+
} & {
|
|
41157
|
+
[key: string]: unknown;
|
|
41158
|
+
};
|
|
40769
41159
|
"Brews.ToolCall": {
|
|
40770
41160
|
tool: string;
|
|
40771
41161
|
arguments: {
|
|
@@ -40782,6 +41172,248 @@ export interface components {
|
|
|
40782
41172
|
} & {
|
|
40783
41173
|
[key: string]: unknown;
|
|
40784
41174
|
};
|
|
41175
|
+
/** @enum {string} */
|
|
41176
|
+
"Connections.Tier": "verified" | "suspended" | "pending";
|
|
41177
|
+
/** @enum {string} */
|
|
41178
|
+
"Connections.Effect": "read" | "write" | "send" | "spend" | "destructive";
|
|
41179
|
+
/** @enum {string} */
|
|
41180
|
+
"Connections.Mode": "allow" | "approve" | "deny";
|
|
41181
|
+
/** @enum {string} */
|
|
41182
|
+
"Connections.ConnectionStatus": "pending_auth" | "active" | "needs_reauth" | "revoked";
|
|
41183
|
+
/** @description Codes include TOOL_DENIED, AUTHORITY_DENIED (with `reasons`), APPROVAL_UNAVAILABLE (403), TOOL_CHANGED_PENDING_REVIEW (410), APPROVAL_CONSUMED, APPROVAL_NOT_APPROVED, APPROVAL_MISMATCH, revoked, conflict (409) and invalid (422). */
|
|
41184
|
+
"Connections.Error": {
|
|
41185
|
+
error: {
|
|
41186
|
+
code: string;
|
|
41187
|
+
message: string;
|
|
41188
|
+
request_id?: string;
|
|
41189
|
+
};
|
|
41190
|
+
/** @description Auto's reasons on 403 AUTHORITY_DENIED */
|
|
41191
|
+
reasons?: unknown[];
|
|
41192
|
+
auto_check_id?: string;
|
|
41193
|
+
};
|
|
41194
|
+
"Connections.ApprovalRequired": {
|
|
41195
|
+
error: {
|
|
41196
|
+
/** @constant */
|
|
41197
|
+
code: "APPROVAL_REQUIRED";
|
|
41198
|
+
message: string;
|
|
41199
|
+
request_id?: string;
|
|
41200
|
+
};
|
|
41201
|
+
approval_request_id: string;
|
|
41202
|
+
/** @description Read the approval here, e.g. /v1/auto/approvals/apr_… */
|
|
41203
|
+
poll_url: string;
|
|
41204
|
+
/** Format: date-time */
|
|
41205
|
+
expires_at: string | null;
|
|
41206
|
+
};
|
|
41207
|
+
"Connections.NeedsReauth": {
|
|
41208
|
+
error: {
|
|
41209
|
+
/** @constant */
|
|
41210
|
+
code: "CONNECTION_NEEDS_REAUTH";
|
|
41211
|
+
message: string;
|
|
41212
|
+
request_id?: string;
|
|
41213
|
+
};
|
|
41214
|
+
/**
|
|
41215
|
+
* Format: uri
|
|
41216
|
+
* @description A person opens this to re-authorize
|
|
41217
|
+
*/
|
|
41218
|
+
authorize_url: string;
|
|
41219
|
+
};
|
|
41220
|
+
"Connections.Source": {
|
|
41221
|
+
connection?: string;
|
|
41222
|
+
server?: string;
|
|
41223
|
+
tool?: string;
|
|
41224
|
+
tier?: components["schemas"]["Connections.Tier"];
|
|
41225
|
+
};
|
|
41226
|
+
/** @description A vendor-written text (a tool description), sanitized and flagged. Data, never instructions. */
|
|
41227
|
+
"Connections.UntrustedText": {
|
|
41228
|
+
/** @constant */
|
|
41229
|
+
untrusted: true;
|
|
41230
|
+
source?: components["schemas"]["Connections.Source"];
|
|
41231
|
+
text: string;
|
|
41232
|
+
sanitized?: number;
|
|
41233
|
+
flags?: string[];
|
|
41234
|
+
};
|
|
41235
|
+
/** @description A tool's output (MCP content blocks), sanitized, credential-redacted and flagged. Third-party data, never instructions. */
|
|
41236
|
+
"Connections.UntrustedResult": {
|
|
41237
|
+
/** @constant */
|
|
41238
|
+
untrusted: true;
|
|
41239
|
+
source: components["schemas"]["Connections.Source"];
|
|
41240
|
+
flags?: string[];
|
|
41241
|
+
sanitized?: number;
|
|
41242
|
+
credentials_redacted?: number;
|
|
41243
|
+
truncated?: boolean;
|
|
41244
|
+
content: unknown[];
|
|
41245
|
+
structuredContent?: unknown;
|
|
41246
|
+
isError?: boolean;
|
|
41247
|
+
};
|
|
41248
|
+
"Connections.CatalogServer": {
|
|
41249
|
+
id: string;
|
|
41250
|
+
vendor?: string;
|
|
41251
|
+
display: string;
|
|
41252
|
+
plugins?: string[];
|
|
41253
|
+
url?: string;
|
|
41254
|
+
docs?: string;
|
|
41255
|
+
auth?: string;
|
|
41256
|
+
tier: components["schemas"]["Connections.Tier"];
|
|
41257
|
+
/** @description Why a suspended server is paused */
|
|
41258
|
+
reason?: string | null;
|
|
41259
|
+
/** @description Number of tools in the pinned manifest */
|
|
41260
|
+
tools?: number;
|
|
41261
|
+
};
|
|
41262
|
+
"Connections.CatalogTool": {
|
|
41263
|
+
name: string;
|
|
41264
|
+
effect: components["schemas"]["Connections.Effect"];
|
|
41265
|
+
scopes?: string[];
|
|
41266
|
+
description?: components["schemas"]["Connections.UntrustedText"];
|
|
41267
|
+
};
|
|
41268
|
+
"Connections.CatalogServerDetail": {
|
|
41269
|
+
id: string;
|
|
41270
|
+
vendor?: string;
|
|
41271
|
+
display: string;
|
|
41272
|
+
plugins?: string[];
|
|
41273
|
+
url?: string;
|
|
41274
|
+
docs?: string;
|
|
41275
|
+
auth?: string;
|
|
41276
|
+
tier: components["schemas"]["Connections.Tier"];
|
|
41277
|
+
reason?: string | null;
|
|
41278
|
+
manifest_sha256?: string | null;
|
|
41279
|
+
tools: components["schemas"]["Connections.CatalogTool"][];
|
|
41280
|
+
};
|
|
41281
|
+
"Connections.Connection": {
|
|
41282
|
+
id: string;
|
|
41283
|
+
server: string;
|
|
41284
|
+
url?: string;
|
|
41285
|
+
status: components["schemas"]["Connections.ConnectionStatus"];
|
|
41286
|
+
/** @description The Auto org that governs the connection, if one was named at connect */
|
|
41287
|
+
auto_org?: string | null;
|
|
41288
|
+
tier?: components["schemas"]["Connections.Tier"];
|
|
41289
|
+
server_status?: components["schemas"]["Connections.Tier"];
|
|
41290
|
+
policy?: {
|
|
41291
|
+
[key: string]: components["schemas"]["Connections.Mode"];
|
|
41292
|
+
};
|
|
41293
|
+
scopes_requested?: string[];
|
|
41294
|
+
scopes_granted?: string[];
|
|
41295
|
+
/** Format: date-time */
|
|
41296
|
+
token_expires_at?: string | null;
|
|
41297
|
+
created_by?: string;
|
|
41298
|
+
/** Format: date-time */
|
|
41299
|
+
created_at?: string;
|
|
41300
|
+
/** Format: date-time */
|
|
41301
|
+
updated_at?: string;
|
|
41302
|
+
/** Format: date-time */
|
|
41303
|
+
revoked_at?: string | null;
|
|
41304
|
+
};
|
|
41305
|
+
"Connections.ConnectRequest": {
|
|
41306
|
+
server: string;
|
|
41307
|
+
/** @description Tools to enable (default: the manifest defaults) */
|
|
41308
|
+
tools?: string[];
|
|
41309
|
+
/** @description The Auto org that governs the connection. A connect carrying it always answers 428 APPROVAL_REQUIRED first. */
|
|
41310
|
+
auto_org?: string;
|
|
41311
|
+
};
|
|
41312
|
+
"Connections.ConnectResponse": {
|
|
41313
|
+
connection: components["schemas"]["Connections.Connection"];
|
|
41314
|
+
/**
|
|
41315
|
+
* Format: uri
|
|
41316
|
+
* @description A person opens this to consent at the vendor
|
|
41317
|
+
*/
|
|
41318
|
+
authorize_url: string;
|
|
41319
|
+
next?: string;
|
|
41320
|
+
};
|
|
41321
|
+
"Connections.AuthorizeResponse": {
|
|
41322
|
+
/** Format: uri */
|
|
41323
|
+
authorize_url: string;
|
|
41324
|
+
next?: string;
|
|
41325
|
+
};
|
|
41326
|
+
"Connections.ConnectionTool": {
|
|
41327
|
+
name: string;
|
|
41328
|
+
effect: components["schemas"]["Connections.Effect"];
|
|
41329
|
+
mode: components["schemas"]["Connections.Mode"];
|
|
41330
|
+
stored_mode?: components["schemas"]["Connections.Mode"];
|
|
41331
|
+
scopes?: string[];
|
|
41332
|
+
description?: components["schemas"]["Connections.UntrustedText"];
|
|
41333
|
+
inputSchema?: unknown;
|
|
41334
|
+
schema_flags?: string[];
|
|
41335
|
+
};
|
|
41336
|
+
"Connections.ToolList": {
|
|
41337
|
+
connection: string;
|
|
41338
|
+
server: string;
|
|
41339
|
+
tier?: components["schemas"]["Connections.Tier"];
|
|
41340
|
+
server_status?: components["schemas"]["Connections.Tier"];
|
|
41341
|
+
manifest_sha256?: string | null;
|
|
41342
|
+
tools: components["schemas"]["Connections.ConnectionTool"][];
|
|
41343
|
+
};
|
|
41344
|
+
"Connections.ToolPolicyRequest": {
|
|
41345
|
+
/** @description Tool name to mode, e.g. {"create_issue": "approve"} */
|
|
41346
|
+
tools: {
|
|
41347
|
+
[key: string]: components["schemas"]["Connections.Mode"];
|
|
41348
|
+
};
|
|
41349
|
+
};
|
|
41350
|
+
"Connections.ToolPolicyResponse": {
|
|
41351
|
+
connection: components["schemas"]["Connections.Connection"];
|
|
41352
|
+
changed: {
|
|
41353
|
+
name?: string;
|
|
41354
|
+
effect?: components["schemas"]["Connections.Effect"];
|
|
41355
|
+
from?: components["schemas"]["Connections.Mode"];
|
|
41356
|
+
to?: components["schemas"]["Connections.Mode"];
|
|
41357
|
+
}[];
|
|
41358
|
+
reauthorize?: {
|
|
41359
|
+
missing_scopes?: string[];
|
|
41360
|
+
/** Format: uri */
|
|
41361
|
+
authorize_url?: string;
|
|
41362
|
+
};
|
|
41363
|
+
};
|
|
41364
|
+
"Connections.CallRequest": {
|
|
41365
|
+
/** @description The tool's arguments, as its inputSchema describes */
|
|
41366
|
+
arguments: {
|
|
41367
|
+
[key: string]: unknown;
|
|
41368
|
+
};
|
|
41369
|
+
};
|
|
41370
|
+
"Connections.CallResult": {
|
|
41371
|
+
call_id: string;
|
|
41372
|
+
/** @enum {string} */
|
|
41373
|
+
outcome: "ok" | "tool_error";
|
|
41374
|
+
result: components["schemas"]["Connections.UntrustedResult"];
|
|
41375
|
+
auto_check_id?: string | null;
|
|
41376
|
+
/** @description Auto's signed receipt (JWS) */
|
|
41377
|
+
auto_receipt?: string | null;
|
|
41378
|
+
approval_id?: string | null;
|
|
41379
|
+
};
|
|
41380
|
+
"Connections.RevokeResponse": {
|
|
41381
|
+
connection: components["schemas"]["Connections.Connection"];
|
|
41382
|
+
vendor_revoked?: boolean;
|
|
41383
|
+
tokens_deleted?: boolean;
|
|
41384
|
+
};
|
|
41385
|
+
"Connections.ActivityRow": {
|
|
41386
|
+
seq: number;
|
|
41387
|
+
/** Format: date-time */
|
|
41388
|
+
at?: string;
|
|
41389
|
+
kind: string;
|
|
41390
|
+
connection_id?: string | null;
|
|
41391
|
+
principal?: string | null;
|
|
41392
|
+
tool?: string | null;
|
|
41393
|
+
args_sha256?: string | null;
|
|
41394
|
+
result_sha256?: string | null;
|
|
41395
|
+
outcome: string;
|
|
41396
|
+
prev_hash?: string;
|
|
41397
|
+
hash: string;
|
|
41398
|
+
} & {
|
|
41399
|
+
[key: string]: unknown;
|
|
41400
|
+
};
|
|
41401
|
+
"Connections.ConnectedTool": {
|
|
41402
|
+
/** @description conn.<connection>.<tool> */
|
|
41403
|
+
name: string;
|
|
41404
|
+
connection: string;
|
|
41405
|
+
server: string;
|
|
41406
|
+
tool: string;
|
|
41407
|
+
effect: components["schemas"]["Connections.Effect"];
|
|
41408
|
+
mode?: components["schemas"]["Connections.Mode"];
|
|
41409
|
+
description?: components["schemas"]["Connections.UntrustedText"];
|
|
41410
|
+
inputSchema?: unknown;
|
|
41411
|
+
schema_flags?: string[];
|
|
41412
|
+
};
|
|
41413
|
+
"Connections.SearchToolsResponse": {
|
|
41414
|
+
data: components["schemas"]["Connections.ConnectedTool"][];
|
|
41415
|
+
session_tainted?: boolean;
|
|
41416
|
+
};
|
|
40785
41417
|
};
|
|
40786
41418
|
responses: {
|
|
40787
41419
|
/** @description Foundry API error. */
|
|
@@ -41252,6 +41884,69 @@ export interface components {
|
|
|
41252
41884
|
"application/json": components["schemas"]["Garden.Disbursement"];
|
|
41253
41885
|
};
|
|
41254
41886
|
};
|
|
41887
|
+
/** @description Missing scope; `TOOL_DENIED` (policy deny or not in the manifest); `AUTHORITY_DENIED` with `reasons` (Auto denied); `APPROVAL_UNAVAILABLE` (an approval is needed but the org has no Auto org) */
|
|
41888
|
+
"Connections.Forbidden": {
|
|
41889
|
+
headers: {
|
|
41890
|
+
[name: string]: unknown;
|
|
41891
|
+
};
|
|
41892
|
+
content: {
|
|
41893
|
+
"application/json": components["schemas"]["Connections.Error"];
|
|
41894
|
+
};
|
|
41895
|
+
};
|
|
41896
|
+
/** @description Not found in your organization and environment */
|
|
41897
|
+
"Connections.NotFound": {
|
|
41898
|
+
headers: {
|
|
41899
|
+
[name: string]: unknown;
|
|
41900
|
+
};
|
|
41901
|
+
content: {
|
|
41902
|
+
"application/json": components["schemas"]["Connections.Error"];
|
|
41903
|
+
};
|
|
41904
|
+
};
|
|
41905
|
+
/** @description `revoked`, `conflict` (the policy changed meanwhile), or an approval refusal: `APPROVAL_CONSUMED`, `APPROVAL_NOT_APPROVED`, `APPROVAL_MISMATCH` */
|
|
41906
|
+
"Connections.Conflict": {
|
|
41907
|
+
headers: {
|
|
41908
|
+
[name: string]: unknown;
|
|
41909
|
+
};
|
|
41910
|
+
content: {
|
|
41911
|
+
"application/json": components["schemas"]["Connections.Error"];
|
|
41912
|
+
};
|
|
41913
|
+
};
|
|
41914
|
+
/** @description `CONNECTION_NEEDS_REAUTH`: a person opens the fresh `authorize_url` (an approval refusal or `revoked` is also a 409, without it) */
|
|
41915
|
+
"Connections.NeedsReauth": {
|
|
41916
|
+
headers: {
|
|
41917
|
+
[name: string]: unknown;
|
|
41918
|
+
};
|
|
41919
|
+
content: {
|
|
41920
|
+
"application/json": components["schemas"]["Connections.NeedsReauth"];
|
|
41921
|
+
};
|
|
41922
|
+
};
|
|
41923
|
+
/** @description `TOOL_CHANGED_PENDING_REVIEW`: the server's live tools differ from its pinned manifest; it is suspended for every organization until re-verified */
|
|
41924
|
+
"Connections.ToolChanged": {
|
|
41925
|
+
headers: {
|
|
41926
|
+
[name: string]: unknown;
|
|
41927
|
+
};
|
|
41928
|
+
content: {
|
|
41929
|
+
"application/json": components["schemas"]["Connections.Error"];
|
|
41930
|
+
};
|
|
41931
|
+
};
|
|
41932
|
+
/** @description Invalid request body or parameters */
|
|
41933
|
+
"Connections.Invalid": {
|
|
41934
|
+
headers: {
|
|
41935
|
+
[name: string]: unknown;
|
|
41936
|
+
};
|
|
41937
|
+
content: {
|
|
41938
|
+
"application/json": components["schemas"]["Connections.Error"];
|
|
41939
|
+
};
|
|
41940
|
+
};
|
|
41941
|
+
/** @description `APPROVAL_REQUIRED`: a human approves `approval_request_id` in Auto; then retry the same request with `OneOS-Approval` */
|
|
41942
|
+
"Connections.ApprovalRequired": {
|
|
41943
|
+
headers: {
|
|
41944
|
+
[name: string]: unknown;
|
|
41945
|
+
};
|
|
41946
|
+
content: {
|
|
41947
|
+
"application/json": components["schemas"]["Connections.ApprovalRequired"];
|
|
41948
|
+
};
|
|
41949
|
+
};
|
|
41255
41950
|
};
|
|
41256
41951
|
parameters: {
|
|
41257
41952
|
/** @description Zone name, e.g. example.com */
|
|
@@ -41442,6 +42137,14 @@ export interface components {
|
|
|
41442
42137
|
"Brews.DecisionId": string;
|
|
41443
42138
|
/** @description Stable key; a retry with it returns the original decision instead of creating another */
|
|
41444
42139
|
"Brews.RequiredIdempotencyKey": string;
|
|
42140
|
+
/** @description Connection id (conn_ followed by 32 hex) */
|
|
42141
|
+
"Connections.Id": string;
|
|
42142
|
+
/** @description Catalog server id, e.g. linear, neon, sentry */
|
|
42143
|
+
"Connections.Server": string;
|
|
42144
|
+
/** @description The tool's name in the pinned manifest */
|
|
42145
|
+
"Connections.Tool": string;
|
|
42146
|
+
/** @description An approved approval id (`apr_…`) from an earlier 428, to retry the same request */
|
|
42147
|
+
"Connections.Approval": string;
|
|
41445
42148
|
};
|
|
41446
42149
|
requestBodies: never;
|
|
41447
42150
|
headers: {
|
|
@@ -42535,29 +43238,6 @@ export interface operations {
|
|
|
42535
43238
|
default: components["responses"]["Foundry.Error"];
|
|
42536
43239
|
};
|
|
42537
43240
|
};
|
|
42538
|
-
foundry_downloadFile: {
|
|
42539
|
-
parameters: {
|
|
42540
|
-
query?: never;
|
|
42541
|
-
header?: never;
|
|
42542
|
-
path: {
|
|
42543
|
-
file_id: string;
|
|
42544
|
-
};
|
|
42545
|
-
cookie?: never;
|
|
42546
|
-
};
|
|
42547
|
-
requestBody?: never;
|
|
42548
|
-
responses: {
|
|
42549
|
-
/** @description File bytes. */
|
|
42550
|
-
200: {
|
|
42551
|
-
headers: {
|
|
42552
|
-
[name: string]: unknown;
|
|
42553
|
-
};
|
|
42554
|
-
content: {
|
|
42555
|
-
"application/json": string;
|
|
42556
|
-
};
|
|
42557
|
-
};
|
|
42558
|
-
default: components["responses"]["Foundry.Error"];
|
|
42559
|
-
};
|
|
42560
|
-
};
|
|
42561
43241
|
foundry_listFineTuningProviders: {
|
|
42562
43242
|
parameters: {
|
|
42563
43243
|
query?: never;
|
|
@@ -45183,7 +45863,7 @@ export interface operations {
|
|
|
45183
45863
|
};
|
|
45184
45864
|
};
|
|
45185
45865
|
};
|
|
45186
|
-
|
|
45866
|
+
hives_get_org_usage: {
|
|
45187
45867
|
parameters: {
|
|
45188
45868
|
query?: never;
|
|
45189
45869
|
header?: never;
|
|
@@ -45195,7 +45875,7 @@ export interface operations {
|
|
|
45195
45875
|
};
|
|
45196
45876
|
requestBody?: never;
|
|
45197
45877
|
responses: {
|
|
45198
|
-
/** @description
|
|
45878
|
+
/** @description Organization usage summary */
|
|
45199
45879
|
200: {
|
|
45200
45880
|
headers: {
|
|
45201
45881
|
[name: string]: unknown;
|
|
@@ -45218,7 +45898,7 @@ export interface operations {
|
|
|
45218
45898
|
};
|
|
45219
45899
|
content?: never;
|
|
45220
45900
|
};
|
|
45221
|
-
/** @description
|
|
45901
|
+
/** @description Billing service unavailable */
|
|
45222
45902
|
503: {
|
|
45223
45903
|
headers: {
|
|
45224
45904
|
[name: string]: unknown;
|
|
@@ -45227,23 +45907,20 @@ export interface operations {
|
|
|
45227
45907
|
};
|
|
45228
45908
|
};
|
|
45229
45909
|
};
|
|
45230
|
-
|
|
45910
|
+
hives_create_checkout: {
|
|
45231
45911
|
parameters: {
|
|
45232
45912
|
query?: never;
|
|
45233
45913
|
header?: never;
|
|
45234
|
-
path
|
|
45235
|
-
/** @description Organization ID */
|
|
45236
|
-
org_id: string;
|
|
45237
|
-
};
|
|
45914
|
+
path?: never;
|
|
45238
45915
|
cookie?: never;
|
|
45239
45916
|
};
|
|
45240
45917
|
requestBody: {
|
|
45241
45918
|
content: {
|
|
45242
|
-
"application/json": components["schemas"]["Hives.
|
|
45919
|
+
"application/json": components["schemas"]["Hives.CreateCheckoutRequest"];
|
|
45243
45920
|
};
|
|
45244
45921
|
};
|
|
45245
45922
|
responses: {
|
|
45246
|
-
/** @description
|
|
45923
|
+
/** @description Checkout session created */
|
|
45247
45924
|
200: {
|
|
45248
45925
|
headers: {
|
|
45249
45926
|
[name: string]: unknown;
|
|
@@ -45259,14 +45936,7 @@ export interface operations {
|
|
|
45259
45936
|
};
|
|
45260
45937
|
content?: never;
|
|
45261
45938
|
};
|
|
45262
|
-
/** @description
|
|
45263
|
-
404: {
|
|
45264
|
-
headers: {
|
|
45265
|
-
[name: string]: unknown;
|
|
45266
|
-
};
|
|
45267
|
-
content?: never;
|
|
45268
|
-
};
|
|
45269
|
-
/** @description SSO service unavailable */
|
|
45939
|
+
/** @description Payments service unavailable */
|
|
45270
45940
|
503: {
|
|
45271
45941
|
headers: {
|
|
45272
45942
|
[name: string]: unknown;
|
|
@@ -45275,21 +45945,16 @@ export interface operations {
|
|
|
45275
45945
|
};
|
|
45276
45946
|
};
|
|
45277
45947
|
};
|
|
45278
|
-
|
|
45948
|
+
hives_list_payment_methods: {
|
|
45279
45949
|
parameters: {
|
|
45280
45950
|
query?: never;
|
|
45281
45951
|
header?: never;
|
|
45282
|
-
path
|
|
45283
|
-
/** @description Organization ID */
|
|
45284
|
-
org_id: string;
|
|
45285
|
-
/** @description SSO connection ID */
|
|
45286
|
-
connection_id: string;
|
|
45287
|
-
};
|
|
45952
|
+
path?: never;
|
|
45288
45953
|
cookie?: never;
|
|
45289
45954
|
};
|
|
45290
45955
|
requestBody?: never;
|
|
45291
45956
|
responses: {
|
|
45292
|
-
/** @description
|
|
45957
|
+
/** @description Payment methods */
|
|
45293
45958
|
200: {
|
|
45294
45959
|
headers: {
|
|
45295
45960
|
[name: string]: unknown;
|
|
@@ -45305,14 +45970,7 @@ export interface operations {
|
|
|
45305
45970
|
};
|
|
45306
45971
|
content?: never;
|
|
45307
45972
|
};
|
|
45308
|
-
/** @description
|
|
45309
|
-
404: {
|
|
45310
|
-
headers: {
|
|
45311
|
-
[name: string]: unknown;
|
|
45312
|
-
};
|
|
45313
|
-
content?: never;
|
|
45314
|
-
};
|
|
45315
|
-
/** @description SSO service unavailable */
|
|
45973
|
+
/** @description Payments service unavailable */
|
|
45316
45974
|
503: {
|
|
45317
45975
|
headers: {
|
|
45318
45976
|
[name: string]: unknown;
|
|
@@ -45321,19 +45979,20 @@ export interface operations {
|
|
|
45321
45979
|
};
|
|
45322
45980
|
};
|
|
45323
45981
|
};
|
|
45324
|
-
|
|
45982
|
+
hives_add_payment_method: {
|
|
45325
45983
|
parameters: {
|
|
45326
45984
|
query?: never;
|
|
45327
45985
|
header?: never;
|
|
45328
|
-
path
|
|
45329
|
-
/** @description Organization ID */
|
|
45330
|
-
org_id: string;
|
|
45331
|
-
};
|
|
45986
|
+
path?: never;
|
|
45332
45987
|
cookie?: never;
|
|
45333
45988
|
};
|
|
45334
|
-
requestBody
|
|
45989
|
+
requestBody: {
|
|
45990
|
+
content: {
|
|
45991
|
+
"application/json": components["schemas"]["Hives.AddPaymentMethodRequest"];
|
|
45992
|
+
};
|
|
45993
|
+
};
|
|
45335
45994
|
responses: {
|
|
45336
|
-
/** @description
|
|
45995
|
+
/** @description Payment method added */
|
|
45337
45996
|
200: {
|
|
45338
45997
|
headers: {
|
|
45339
45998
|
[name: string]: unknown;
|
|
@@ -45349,14 +46008,7 @@ export interface operations {
|
|
|
45349
46008
|
};
|
|
45350
46009
|
content?: never;
|
|
45351
46010
|
};
|
|
45352
|
-
/** @description
|
|
45353
|
-
404: {
|
|
45354
|
-
headers: {
|
|
45355
|
-
[name: string]: unknown;
|
|
45356
|
-
};
|
|
45357
|
-
content?: never;
|
|
45358
|
-
};
|
|
45359
|
-
/** @description Billing service unavailable */
|
|
46011
|
+
/** @description Payments service unavailable */
|
|
45360
46012
|
503: {
|
|
45361
46013
|
headers: {
|
|
45362
46014
|
[name: string]: unknown;
|
|
@@ -45365,126 +46017,16 @@ export interface operations {
|
|
|
45365
46017
|
};
|
|
45366
46018
|
};
|
|
45367
46019
|
};
|
|
45368
|
-
|
|
46020
|
+
hives_get_billing_portal: {
|
|
45369
46021
|
parameters: {
|
|
45370
46022
|
query?: never;
|
|
45371
46023
|
header?: never;
|
|
45372
46024
|
path?: never;
|
|
45373
46025
|
cookie?: never;
|
|
45374
46026
|
};
|
|
45375
|
-
requestBody
|
|
45376
|
-
content: {
|
|
45377
|
-
"application/json": components["schemas"]["Hives.CreateCheckoutRequest"];
|
|
45378
|
-
};
|
|
45379
|
-
};
|
|
46027
|
+
requestBody?: never;
|
|
45380
46028
|
responses: {
|
|
45381
|
-
/** @description
|
|
45382
|
-
200: {
|
|
45383
|
-
headers: {
|
|
45384
|
-
[name: string]: unknown;
|
|
45385
|
-
};
|
|
45386
|
-
content: {
|
|
45387
|
-
"application/json": Record<string, never>;
|
|
45388
|
-
};
|
|
45389
|
-
};
|
|
45390
|
-
/** @description Unauthorized */
|
|
45391
|
-
401: {
|
|
45392
|
-
headers: {
|
|
45393
|
-
[name: string]: unknown;
|
|
45394
|
-
};
|
|
45395
|
-
content?: never;
|
|
45396
|
-
};
|
|
45397
|
-
/** @description Payments service unavailable */
|
|
45398
|
-
503: {
|
|
45399
|
-
headers: {
|
|
45400
|
-
[name: string]: unknown;
|
|
45401
|
-
};
|
|
45402
|
-
content?: never;
|
|
45403
|
-
};
|
|
45404
|
-
};
|
|
45405
|
-
};
|
|
45406
|
-
hives_list_payment_methods: {
|
|
45407
|
-
parameters: {
|
|
45408
|
-
query?: never;
|
|
45409
|
-
header?: never;
|
|
45410
|
-
path?: never;
|
|
45411
|
-
cookie?: never;
|
|
45412
|
-
};
|
|
45413
|
-
requestBody?: never;
|
|
45414
|
-
responses: {
|
|
45415
|
-
/** @description Payment methods */
|
|
45416
|
-
200: {
|
|
45417
|
-
headers: {
|
|
45418
|
-
[name: string]: unknown;
|
|
45419
|
-
};
|
|
45420
|
-
content: {
|
|
45421
|
-
"application/json": Record<string, never>;
|
|
45422
|
-
};
|
|
45423
|
-
};
|
|
45424
|
-
/** @description Unauthorized */
|
|
45425
|
-
401: {
|
|
45426
|
-
headers: {
|
|
45427
|
-
[name: string]: unknown;
|
|
45428
|
-
};
|
|
45429
|
-
content?: never;
|
|
45430
|
-
};
|
|
45431
|
-
/** @description Payments service unavailable */
|
|
45432
|
-
503: {
|
|
45433
|
-
headers: {
|
|
45434
|
-
[name: string]: unknown;
|
|
45435
|
-
};
|
|
45436
|
-
content?: never;
|
|
45437
|
-
};
|
|
45438
|
-
};
|
|
45439
|
-
};
|
|
45440
|
-
hives_add_payment_method: {
|
|
45441
|
-
parameters: {
|
|
45442
|
-
query?: never;
|
|
45443
|
-
header?: never;
|
|
45444
|
-
path?: never;
|
|
45445
|
-
cookie?: never;
|
|
45446
|
-
};
|
|
45447
|
-
requestBody: {
|
|
45448
|
-
content: {
|
|
45449
|
-
"application/json": components["schemas"]["Hives.AddPaymentMethodRequest"];
|
|
45450
|
-
};
|
|
45451
|
-
};
|
|
45452
|
-
responses: {
|
|
45453
|
-
/** @description Payment method added */
|
|
45454
|
-
200: {
|
|
45455
|
-
headers: {
|
|
45456
|
-
[name: string]: unknown;
|
|
45457
|
-
};
|
|
45458
|
-
content: {
|
|
45459
|
-
"application/json": Record<string, never>;
|
|
45460
|
-
};
|
|
45461
|
-
};
|
|
45462
|
-
/** @description Unauthorized */
|
|
45463
|
-
401: {
|
|
45464
|
-
headers: {
|
|
45465
|
-
[name: string]: unknown;
|
|
45466
|
-
};
|
|
45467
|
-
content?: never;
|
|
45468
|
-
};
|
|
45469
|
-
/** @description Payments service unavailable */
|
|
45470
|
-
503: {
|
|
45471
|
-
headers: {
|
|
45472
|
-
[name: string]: unknown;
|
|
45473
|
-
};
|
|
45474
|
-
content?: never;
|
|
45475
|
-
};
|
|
45476
|
-
};
|
|
45477
|
-
};
|
|
45478
|
-
hives_get_billing_portal: {
|
|
45479
|
-
parameters: {
|
|
45480
|
-
query?: never;
|
|
45481
|
-
header?: never;
|
|
45482
|
-
path?: never;
|
|
45483
|
-
cookie?: never;
|
|
45484
|
-
};
|
|
45485
|
-
requestBody?: never;
|
|
45486
|
-
responses: {
|
|
45487
|
-
/** @description Billing portal URL */
|
|
46029
|
+
/** @description Billing portal URL */
|
|
45488
46030
|
200: {
|
|
45489
46031
|
headers: {
|
|
45490
46032
|
[name: string]: unknown;
|
|
@@ -54333,6 +54875,52 @@ export interface operations {
|
|
|
54333
54875
|
};
|
|
54334
54876
|
};
|
|
54335
54877
|
};
|
|
54878
|
+
hives_delete_flight: {
|
|
54879
|
+
parameters: {
|
|
54880
|
+
query?: never;
|
|
54881
|
+
header?: never;
|
|
54882
|
+
path: {
|
|
54883
|
+
/** @description Hives project id (prj_…) */
|
|
54884
|
+
project_id: string;
|
|
54885
|
+
/** @description Flight ID */
|
|
54886
|
+
flight_id: string;
|
|
54887
|
+
};
|
|
54888
|
+
cookie?: never;
|
|
54889
|
+
};
|
|
54890
|
+
requestBody?: never;
|
|
54891
|
+
responses: {
|
|
54892
|
+
/** @description The deleted Flight (status deleted) */
|
|
54893
|
+
200: {
|
|
54894
|
+
headers: {
|
|
54895
|
+
[name: string]: unknown;
|
|
54896
|
+
};
|
|
54897
|
+
content: {
|
|
54898
|
+
"application/json": components["schemas"]["Hives.FlightResponse"];
|
|
54899
|
+
};
|
|
54900
|
+
};
|
|
54901
|
+
/** @description Unauthorized */
|
|
54902
|
+
401: {
|
|
54903
|
+
headers: {
|
|
54904
|
+
[name: string]: unknown;
|
|
54905
|
+
};
|
|
54906
|
+
content?: never;
|
|
54907
|
+
};
|
|
54908
|
+
/** @description Permission denied */
|
|
54909
|
+
403: {
|
|
54910
|
+
headers: {
|
|
54911
|
+
[name: string]: unknown;
|
|
54912
|
+
};
|
|
54913
|
+
content?: never;
|
|
54914
|
+
};
|
|
54915
|
+
/** @description Project or Flight not found, or already deleted */
|
|
54916
|
+
404: {
|
|
54917
|
+
headers: {
|
|
54918
|
+
[name: string]: unknown;
|
|
54919
|
+
};
|
|
54920
|
+
content?: never;
|
|
54921
|
+
};
|
|
54922
|
+
};
|
|
54923
|
+
};
|
|
54336
54924
|
hives_list_flight_files: {
|
|
54337
54925
|
parameters: {
|
|
54338
54926
|
query?: {
|
|
@@ -90144,6 +90732,75 @@ export interface operations {
|
|
|
90144
90732
|
};
|
|
90145
90733
|
};
|
|
90146
90734
|
};
|
|
90735
|
+
flares_deleteChoreographyWorkflow: {
|
|
90736
|
+
parameters: {
|
|
90737
|
+
query?: never;
|
|
90738
|
+
header: {
|
|
90739
|
+
/** @description Stable key; reuse it to replay instead of acting twice */
|
|
90740
|
+
"Idempotency-Key": components["parameters"]["Flares.IdempotencyKey"];
|
|
90741
|
+
};
|
|
90742
|
+
path: {
|
|
90743
|
+
workflow_id: string;
|
|
90744
|
+
};
|
|
90745
|
+
cookie?: never;
|
|
90746
|
+
};
|
|
90747
|
+
requestBody?: never;
|
|
90748
|
+
responses: {
|
|
90749
|
+
/** @description Deleted */
|
|
90750
|
+
200: {
|
|
90751
|
+
headers: {
|
|
90752
|
+
[name: string]: unknown;
|
|
90753
|
+
};
|
|
90754
|
+
content: {
|
|
90755
|
+
"application/json": {
|
|
90756
|
+
/** Format: uuid */
|
|
90757
|
+
id: string;
|
|
90758
|
+
deleted: boolean;
|
|
90759
|
+
workflow: {
|
|
90760
|
+
[key: string]: unknown;
|
|
90761
|
+
};
|
|
90762
|
+
} & {
|
|
90763
|
+
[key: string]: unknown;
|
|
90764
|
+
};
|
|
90765
|
+
};
|
|
90766
|
+
};
|
|
90767
|
+
/** @description Noncanonical request, invalid JSON or missing Idempotency-Key */
|
|
90768
|
+
400: {
|
|
90769
|
+
headers: {
|
|
90770
|
+
[name: string]: unknown;
|
|
90771
|
+
};
|
|
90772
|
+
content?: never;
|
|
90773
|
+
};
|
|
90774
|
+
/** @description Interactive One account login with a current Sandbox selection required */
|
|
90775
|
+
401: {
|
|
90776
|
+
headers: {
|
|
90777
|
+
[name: string]: unknown;
|
|
90778
|
+
};
|
|
90779
|
+
content?: never;
|
|
90780
|
+
};
|
|
90781
|
+
/** @description Flares grant missing or a scope hint names another organization or project */
|
|
90782
|
+
403: {
|
|
90783
|
+
headers: {
|
|
90784
|
+
[name: string]: unknown;
|
|
90785
|
+
};
|
|
90786
|
+
content?: never;
|
|
90787
|
+
};
|
|
90788
|
+
/** @description No workflow with this id in the caller's organization, project and environment */
|
|
90789
|
+
404: {
|
|
90790
|
+
headers: {
|
|
90791
|
+
[name: string]: unknown;
|
|
90792
|
+
};
|
|
90793
|
+
content?: never;
|
|
90794
|
+
};
|
|
90795
|
+
/** @description The workflow has a pending, running or compensating execution */
|
|
90796
|
+
409: {
|
|
90797
|
+
headers: {
|
|
90798
|
+
[name: string]: unknown;
|
|
90799
|
+
};
|
|
90800
|
+
content?: never;
|
|
90801
|
+
};
|
|
90802
|
+
};
|
|
90803
|
+
};
|
|
90147
90804
|
flares_listChoreographyExecutions: {
|
|
90148
90805
|
parameters: {
|
|
90149
90806
|
query?: never;
|
|
@@ -95082,6 +95739,68 @@ export interface operations {
|
|
|
95082
95739
|
};
|
|
95083
95740
|
};
|
|
95084
95741
|
};
|
|
95742
|
+
gateway_getCreditCatalog: {
|
|
95743
|
+
parameters: {
|
|
95744
|
+
query?: never;
|
|
95745
|
+
header?: never;
|
|
95746
|
+
path?: never;
|
|
95747
|
+
cookie?: never;
|
|
95748
|
+
};
|
|
95749
|
+
requestBody?: never;
|
|
95750
|
+
responses: {
|
|
95751
|
+
/** @description The catalog */
|
|
95752
|
+
200: {
|
|
95753
|
+
headers: {
|
|
95754
|
+
[name: string]: unknown;
|
|
95755
|
+
};
|
|
95756
|
+
content: {
|
|
95757
|
+
"application/json": components["schemas"]["Gateway.CreditCatalog"];
|
|
95758
|
+
};
|
|
95759
|
+
};
|
|
95760
|
+
/** @description invalid_request */
|
|
95761
|
+
400: {
|
|
95762
|
+
headers: {
|
|
95763
|
+
[name: string]: unknown;
|
|
95764
|
+
};
|
|
95765
|
+
content?: never;
|
|
95766
|
+
};
|
|
95767
|
+
/** @description unauthorized */
|
|
95768
|
+
401: {
|
|
95769
|
+
headers: {
|
|
95770
|
+
[name: string]: unknown;
|
|
95771
|
+
};
|
|
95772
|
+
content?: never;
|
|
95773
|
+
};
|
|
95774
|
+
/** @description forbidden (an M2M token, or a key without genesis.billing.read) */
|
|
95775
|
+
403: {
|
|
95776
|
+
headers: {
|
|
95777
|
+
[name: string]: unknown;
|
|
95778
|
+
};
|
|
95779
|
+
content?: never;
|
|
95780
|
+
};
|
|
95781
|
+
/** @description ENVIRONMENT_NOT_AVAILABLE (a Live selection) */
|
|
95782
|
+
409: {
|
|
95783
|
+
headers: {
|
|
95784
|
+
[name: string]: unknown;
|
|
95785
|
+
};
|
|
95786
|
+
content?: never;
|
|
95787
|
+
};
|
|
95788
|
+
/** @description invalid_response */
|
|
95789
|
+
502: {
|
|
95790
|
+
headers: {
|
|
95791
|
+
[name: string]: unknown;
|
|
95792
|
+
};
|
|
95793
|
+
content?: never;
|
|
95794
|
+
};
|
|
95795
|
+
/** @description credits_unavailable */
|
|
95796
|
+
503: {
|
|
95797
|
+
headers: {
|
|
95798
|
+
[name: string]: unknown;
|
|
95799
|
+
};
|
|
95800
|
+
content?: never;
|
|
95801
|
+
};
|
|
95802
|
+
};
|
|
95803
|
+
};
|
|
95085
95804
|
gateway_listCreditEntries: {
|
|
95086
95805
|
parameters: {
|
|
95087
95806
|
query?: {
|
|
@@ -95323,7 +96042,7 @@ export interface operations {
|
|
|
95323
96042
|
};
|
|
95324
96043
|
requestBody: {
|
|
95325
96044
|
content: {
|
|
95326
|
-
"application/json": components["schemas"]["Gateway.
|
|
96045
|
+
"application/json": components["schemas"]["Gateway.CreditCheckoutRequest"];
|
|
95327
96046
|
};
|
|
95328
96047
|
};
|
|
95329
96048
|
responses: {
|
|
@@ -95394,6 +96113,89 @@ export interface operations {
|
|
|
95394
96113
|
};
|
|
95395
96114
|
};
|
|
95396
96115
|
};
|
|
96116
|
+
gateway_createCreditWalletPayment: {
|
|
96117
|
+
parameters: {
|
|
96118
|
+
query?: never;
|
|
96119
|
+
header: {
|
|
96120
|
+
/** @description Stable key (8-128 letters, digits, - _ : or .); reuse it to replay instead of acting twice */
|
|
96121
|
+
"Idempotency-Key": components["parameters"]["Gateway.IdempotencyKey"];
|
|
96122
|
+
};
|
|
96123
|
+
path?: never;
|
|
96124
|
+
cookie?: never;
|
|
96125
|
+
};
|
|
96126
|
+
requestBody: {
|
|
96127
|
+
content: {
|
|
96128
|
+
"application/json": components["schemas"]["Gateway.CreditWalletPaymentRequest"];
|
|
96129
|
+
};
|
|
96130
|
+
};
|
|
96131
|
+
responses: {
|
|
96132
|
+
/** @description The deposit instructions */
|
|
96133
|
+
200: {
|
|
96134
|
+
headers: {
|
|
96135
|
+
[name: string]: unknown;
|
|
96136
|
+
};
|
|
96137
|
+
content: {
|
|
96138
|
+
"application/json": components["schemas"]["Gateway.CreditWalletPayment"];
|
|
96139
|
+
};
|
|
96140
|
+
};
|
|
96141
|
+
/** @description invalid_request, idempotency_key_required or a pack, network or address the service refuses */
|
|
96142
|
+
400: {
|
|
96143
|
+
headers: {
|
|
96144
|
+
[name: string]: unknown;
|
|
96145
|
+
};
|
|
96146
|
+
content?: never;
|
|
96147
|
+
};
|
|
96148
|
+
/** @description unauthorized */
|
|
96149
|
+
401: {
|
|
96150
|
+
headers: {
|
|
96151
|
+
[name: string]: unknown;
|
|
96152
|
+
};
|
|
96153
|
+
content?: never;
|
|
96154
|
+
};
|
|
96155
|
+
/** @description forbidden (needs genesis.billing.manage) */
|
|
96156
|
+
403: {
|
|
96157
|
+
headers: {
|
|
96158
|
+
[name: string]: unknown;
|
|
96159
|
+
};
|
|
96160
|
+
content?: never;
|
|
96161
|
+
};
|
|
96162
|
+
/** @description credits_account_not_found */
|
|
96163
|
+
404: {
|
|
96164
|
+
headers: {
|
|
96165
|
+
[name: string]: unknown;
|
|
96166
|
+
};
|
|
96167
|
+
content?: never;
|
|
96168
|
+
};
|
|
96169
|
+
/** @description wallet_amount_busy (every amount from the pack's up to 99 cents higher is open), the Idempotency-Key was used for a different request, or ENVIRONMENT_NOT_AVAILABLE (a Live selection) */
|
|
96170
|
+
409: {
|
|
96171
|
+
headers: {
|
|
96172
|
+
[name: string]: unknown;
|
|
96173
|
+
};
|
|
96174
|
+
content?: never;
|
|
96175
|
+
};
|
|
96176
|
+
/** @description body_too_large (16 KiB) */
|
|
96177
|
+
413: {
|
|
96178
|
+
headers: {
|
|
96179
|
+
[name: string]: unknown;
|
|
96180
|
+
};
|
|
96181
|
+
content?: never;
|
|
96182
|
+
};
|
|
96183
|
+
/** @description invalid_response */
|
|
96184
|
+
502: {
|
|
96185
|
+
headers: {
|
|
96186
|
+
[name: string]: unknown;
|
|
96187
|
+
};
|
|
96188
|
+
content?: never;
|
|
96189
|
+
};
|
|
96190
|
+
/** @description credits_unavailable, billing_unavailable or wallet_unavailable */
|
|
96191
|
+
503: {
|
|
96192
|
+
headers: {
|
|
96193
|
+
[name: string]: unknown;
|
|
96194
|
+
};
|
|
96195
|
+
content?: never;
|
|
96196
|
+
};
|
|
96197
|
+
};
|
|
96198
|
+
};
|
|
95397
96199
|
gateway_changeCreditSubscription: {
|
|
95398
96200
|
parameters: {
|
|
95399
96201
|
query?: never;
|
|
@@ -108834,7 +109636,125 @@ export interface operations {
|
|
|
108834
109636
|
};
|
|
108835
109637
|
};
|
|
108836
109638
|
};
|
|
108837
|
-
brews_getExchangeListing: {
|
|
109639
|
+
brews_getExchangeListing: {
|
|
109640
|
+
parameters: {
|
|
109641
|
+
query?: never;
|
|
109642
|
+
header?: never;
|
|
109643
|
+
path?: never;
|
|
109644
|
+
cookie?: never;
|
|
109645
|
+
};
|
|
109646
|
+
requestBody: {
|
|
109647
|
+
content: {
|
|
109648
|
+
"application/json": components["schemas"]["Brews.BrewRef"];
|
|
109649
|
+
};
|
|
109650
|
+
};
|
|
109651
|
+
responses: {
|
|
109652
|
+
/** @description Brews result envelope */
|
|
109653
|
+
200: {
|
|
109654
|
+
headers: {
|
|
109655
|
+
[name: string]: unknown;
|
|
109656
|
+
};
|
|
109657
|
+
content: {
|
|
109658
|
+
"application/json": components["schemas"]["Brews.Result"];
|
|
109659
|
+
};
|
|
109660
|
+
};
|
|
109661
|
+
/** @description BREWS_E_BAD_REQUEST or a scope error */
|
|
109662
|
+
400: {
|
|
109663
|
+
headers: {
|
|
109664
|
+
[name: string]: unknown;
|
|
109665
|
+
};
|
|
109666
|
+
content?: never;
|
|
109667
|
+
};
|
|
109668
|
+
/** @description Credential missing or invalid */
|
|
109669
|
+
401: {
|
|
109670
|
+
headers: {
|
|
109671
|
+
[name: string]: unknown;
|
|
109672
|
+
};
|
|
109673
|
+
content?: never;
|
|
109674
|
+
};
|
|
109675
|
+
/** @description SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH */
|
|
109676
|
+
403: {
|
|
109677
|
+
headers: {
|
|
109678
|
+
[name: string]: unknown;
|
|
109679
|
+
};
|
|
109680
|
+
content?: never;
|
|
109681
|
+
};
|
|
109682
|
+
/** @description Not found */
|
|
109683
|
+
404: {
|
|
109684
|
+
headers: {
|
|
109685
|
+
[name: string]: unknown;
|
|
109686
|
+
};
|
|
109687
|
+
content?: never;
|
|
109688
|
+
};
|
|
109689
|
+
/** @description Brews unavailable */
|
|
109690
|
+
503: {
|
|
109691
|
+
headers: {
|
|
109692
|
+
[name: string]: unknown;
|
|
109693
|
+
};
|
|
109694
|
+
content?: never;
|
|
109695
|
+
};
|
|
109696
|
+
};
|
|
109697
|
+
};
|
|
109698
|
+
brews_installBrew: {
|
|
109699
|
+
parameters: {
|
|
109700
|
+
query?: never;
|
|
109701
|
+
header?: never;
|
|
109702
|
+
path?: never;
|
|
109703
|
+
cookie?: never;
|
|
109704
|
+
};
|
|
109705
|
+
requestBody: {
|
|
109706
|
+
content: {
|
|
109707
|
+
"application/json": components["schemas"]["Brews.InstallBrew"];
|
|
109708
|
+
};
|
|
109709
|
+
};
|
|
109710
|
+
responses: {
|
|
109711
|
+
/** @description Brews result envelope */
|
|
109712
|
+
200: {
|
|
109713
|
+
headers: {
|
|
109714
|
+
[name: string]: unknown;
|
|
109715
|
+
};
|
|
109716
|
+
content: {
|
|
109717
|
+
"application/json": components["schemas"]["Brews.Result"];
|
|
109718
|
+
};
|
|
109719
|
+
};
|
|
109720
|
+
/** @description BREWS_E_BAD_REQUEST or a scope error */
|
|
109721
|
+
400: {
|
|
109722
|
+
headers: {
|
|
109723
|
+
[name: string]: unknown;
|
|
109724
|
+
};
|
|
109725
|
+
content?: never;
|
|
109726
|
+
};
|
|
109727
|
+
/** @description Credential missing or invalid */
|
|
109728
|
+
401: {
|
|
109729
|
+
headers: {
|
|
109730
|
+
[name: string]: unknown;
|
|
109731
|
+
};
|
|
109732
|
+
content?: never;
|
|
109733
|
+
};
|
|
109734
|
+
/** @description SCOPE_MISSING, BREWS_E_ACCESS_DENIED or BREWS_E_SCOPE_MISMATCH */
|
|
109735
|
+
403: {
|
|
109736
|
+
headers: {
|
|
109737
|
+
[name: string]: unknown;
|
|
109738
|
+
};
|
|
109739
|
+
content?: never;
|
|
109740
|
+
};
|
|
109741
|
+
/** @description Not found */
|
|
109742
|
+
404: {
|
|
109743
|
+
headers: {
|
|
109744
|
+
[name: string]: unknown;
|
|
109745
|
+
};
|
|
109746
|
+
content?: never;
|
|
109747
|
+
};
|
|
109748
|
+
/** @description Brews unavailable */
|
|
109749
|
+
503: {
|
|
109750
|
+
headers: {
|
|
109751
|
+
[name: string]: unknown;
|
|
109752
|
+
};
|
|
109753
|
+
content?: never;
|
|
109754
|
+
};
|
|
109755
|
+
};
|
|
109756
|
+
};
|
|
109757
|
+
brews_uninstallBrew: {
|
|
108838
109758
|
parameters: {
|
|
108839
109759
|
query?: never;
|
|
108840
109760
|
header?: never;
|
|
@@ -108843,7 +109763,7 @@ export interface operations {
|
|
|
108843
109763
|
};
|
|
108844
109764
|
requestBody: {
|
|
108845
109765
|
content: {
|
|
108846
|
-
"application/json": components["schemas"]["Brews.
|
|
109766
|
+
"application/json": components["schemas"]["Brews.UninstallBrew"];
|
|
108847
109767
|
};
|
|
108848
109768
|
};
|
|
108849
109769
|
responses: {
|
|
@@ -108856,7 +109776,7 @@ export interface operations {
|
|
|
108856
109776
|
"application/json": components["schemas"]["Brews.Result"];
|
|
108857
109777
|
};
|
|
108858
109778
|
};
|
|
108859
|
-
/** @description BREWS_E_BAD_REQUEST
|
|
109779
|
+
/** @description BREWS_E_BAD_REQUEST */
|
|
108860
109780
|
400: {
|
|
108861
109781
|
headers: {
|
|
108862
109782
|
[name: string]: unknown;
|
|
@@ -108877,13 +109797,20 @@ export interface operations {
|
|
|
108877
109797
|
};
|
|
108878
109798
|
content?: never;
|
|
108879
109799
|
};
|
|
108880
|
-
/** @description
|
|
109800
|
+
/** @description BREWS_E_NOT_FOUND: no such Brew in the selected organization, project and environment */
|
|
108881
109801
|
404: {
|
|
108882
109802
|
headers: {
|
|
108883
109803
|
[name: string]: unknown;
|
|
108884
109804
|
};
|
|
108885
109805
|
content?: never;
|
|
108886
109806
|
};
|
|
109807
|
+
/** @description BREWS_E_EXCHANGE_INSTALL or BREWS_E_NOT_AN_INSTALL: the other removal applies */
|
|
109808
|
+
409: {
|
|
109809
|
+
headers: {
|
|
109810
|
+
[name: string]: unknown;
|
|
109811
|
+
};
|
|
109812
|
+
content?: never;
|
|
109813
|
+
};
|
|
108887
109814
|
/** @description Brews unavailable */
|
|
108888
109815
|
503: {
|
|
108889
109816
|
headers: {
|
|
@@ -108893,7 +109820,7 @@ export interface operations {
|
|
|
108893
109820
|
};
|
|
108894
109821
|
};
|
|
108895
109822
|
};
|
|
108896
|
-
|
|
109823
|
+
brews_deleteBrew: {
|
|
108897
109824
|
parameters: {
|
|
108898
109825
|
query?: never;
|
|
108899
109826
|
header?: never;
|
|
@@ -108902,7 +109829,7 @@ export interface operations {
|
|
|
108902
109829
|
};
|
|
108903
109830
|
requestBody: {
|
|
108904
109831
|
content: {
|
|
108905
|
-
"application/json": components["schemas"]["Brews.
|
|
109832
|
+
"application/json": components["schemas"]["Brews.DeleteBrew"];
|
|
108906
109833
|
};
|
|
108907
109834
|
};
|
|
108908
109835
|
responses: {
|
|
@@ -108915,7 +109842,7 @@ export interface operations {
|
|
|
108915
109842
|
"application/json": components["schemas"]["Brews.Result"];
|
|
108916
109843
|
};
|
|
108917
109844
|
};
|
|
108918
|
-
/** @description BREWS_E_BAD_REQUEST
|
|
109845
|
+
/** @description BREWS_E_BAD_REQUEST */
|
|
108919
109846
|
400: {
|
|
108920
109847
|
headers: {
|
|
108921
109848
|
[name: string]: unknown;
|
|
@@ -108936,13 +109863,20 @@ export interface operations {
|
|
|
108936
109863
|
};
|
|
108937
109864
|
content?: never;
|
|
108938
109865
|
};
|
|
108939
|
-
/** @description
|
|
109866
|
+
/** @description BREWS_E_NOT_FOUND: no such Brew in the selected organization, project and environment */
|
|
108940
109867
|
404: {
|
|
108941
109868
|
headers: {
|
|
108942
109869
|
[name: string]: unknown;
|
|
108943
109870
|
};
|
|
108944
109871
|
content?: never;
|
|
108945
109872
|
};
|
|
109873
|
+
/** @description BREWS_E_EXCHANGE_INSTALL or BREWS_E_NOT_AN_INSTALL: the other removal applies */
|
|
109874
|
+
409: {
|
|
109875
|
+
headers: {
|
|
109876
|
+
[name: string]: unknown;
|
|
109877
|
+
};
|
|
109878
|
+
content?: never;
|
|
109879
|
+
};
|
|
108946
109880
|
/** @description Brews unavailable */
|
|
108947
109881
|
503: {
|
|
108948
109882
|
headers: {
|
|
@@ -109436,4 +110370,376 @@ export interface operations {
|
|
|
109436
110370
|
};
|
|
109437
110371
|
};
|
|
109438
110372
|
};
|
|
110373
|
+
connections_listCatalog: {
|
|
110374
|
+
parameters: {
|
|
110375
|
+
query?: {
|
|
110376
|
+
/** @description OneOS plugin category the server competes in, e.g. scopes, silos, traces */
|
|
110377
|
+
plugin?: string;
|
|
110378
|
+
};
|
|
110379
|
+
header?: never;
|
|
110380
|
+
path?: never;
|
|
110381
|
+
cookie?: never;
|
|
110382
|
+
};
|
|
110383
|
+
requestBody?: never;
|
|
110384
|
+
responses: {
|
|
110385
|
+
/** @description Catalog servers */
|
|
110386
|
+
200: {
|
|
110387
|
+
headers: {
|
|
110388
|
+
[name: string]: unknown;
|
|
110389
|
+
};
|
|
110390
|
+
content: {
|
|
110391
|
+
"application/json": {
|
|
110392
|
+
data: components["schemas"]["Connections.CatalogServer"][];
|
|
110393
|
+
};
|
|
110394
|
+
};
|
|
110395
|
+
};
|
|
110396
|
+
403: components["responses"]["Connections.Forbidden"];
|
|
110397
|
+
};
|
|
110398
|
+
};
|
|
110399
|
+
connections_getCatalogServer: {
|
|
110400
|
+
parameters: {
|
|
110401
|
+
query?: never;
|
|
110402
|
+
header?: never;
|
|
110403
|
+
path: {
|
|
110404
|
+
/** @description Catalog server id, e.g. linear, neon, sentry */
|
|
110405
|
+
server: components["parameters"]["Connections.Server"];
|
|
110406
|
+
};
|
|
110407
|
+
cookie?: never;
|
|
110408
|
+
};
|
|
110409
|
+
requestBody?: never;
|
|
110410
|
+
responses: {
|
|
110411
|
+
/** @description The server and its pinned manifest */
|
|
110412
|
+
200: {
|
|
110413
|
+
headers: {
|
|
110414
|
+
[name: string]: unknown;
|
|
110415
|
+
};
|
|
110416
|
+
content: {
|
|
110417
|
+
"application/json": components["schemas"]["Connections.CatalogServerDetail"];
|
|
110418
|
+
};
|
|
110419
|
+
};
|
|
110420
|
+
404: components["responses"]["Connections.NotFound"];
|
|
110421
|
+
};
|
|
110422
|
+
};
|
|
110423
|
+
connections_list: {
|
|
110424
|
+
parameters: {
|
|
110425
|
+
query?: {
|
|
110426
|
+
status?: "pending_auth" | "active" | "needs_reauth" | "revoked";
|
|
110427
|
+
};
|
|
110428
|
+
header?: never;
|
|
110429
|
+
path?: never;
|
|
110430
|
+
cookie?: never;
|
|
110431
|
+
};
|
|
110432
|
+
requestBody?: never;
|
|
110433
|
+
responses: {
|
|
110434
|
+
/** @description Connections */
|
|
110435
|
+
200: {
|
|
110436
|
+
headers: {
|
|
110437
|
+
[name: string]: unknown;
|
|
110438
|
+
};
|
|
110439
|
+
content: {
|
|
110440
|
+
"application/json": {
|
|
110441
|
+
data: components["schemas"]["Connections.Connection"][];
|
|
110442
|
+
};
|
|
110443
|
+
};
|
|
110444
|
+
};
|
|
110445
|
+
403: components["responses"]["Connections.Forbidden"];
|
|
110446
|
+
};
|
|
110447
|
+
};
|
|
110448
|
+
connections_connect: {
|
|
110449
|
+
parameters: {
|
|
110450
|
+
query?: never;
|
|
110451
|
+
header?: {
|
|
110452
|
+
/** @description An approved approval id (`apr_…`) from an earlier 428, to retry the same request */
|
|
110453
|
+
"OneOS-Approval"?: components["parameters"]["Connections.Approval"];
|
|
110454
|
+
};
|
|
110455
|
+
path?: never;
|
|
110456
|
+
cookie?: never;
|
|
110457
|
+
};
|
|
110458
|
+
requestBody: {
|
|
110459
|
+
content: {
|
|
110460
|
+
"application/json": components["schemas"]["Connections.ConnectRequest"];
|
|
110461
|
+
};
|
|
110462
|
+
};
|
|
110463
|
+
responses: {
|
|
110464
|
+
/** @description Connection created, waiting for a person to authorize it */
|
|
110465
|
+
201: {
|
|
110466
|
+
headers: {
|
|
110467
|
+
[name: string]: unknown;
|
|
110468
|
+
};
|
|
110469
|
+
content: {
|
|
110470
|
+
"application/json": components["schemas"]["Connections.ConnectResponse"];
|
|
110471
|
+
};
|
|
110472
|
+
};
|
|
110473
|
+
403: components["responses"]["Connections.Forbidden"];
|
|
110474
|
+
404: components["responses"]["Connections.NotFound"];
|
|
110475
|
+
409: components["responses"]["Connections.Conflict"];
|
|
110476
|
+
410: components["responses"]["Connections.ToolChanged"];
|
|
110477
|
+
422: components["responses"]["Connections.Invalid"];
|
|
110478
|
+
428: components["responses"]["Connections.ApprovalRequired"];
|
|
110479
|
+
};
|
|
110480
|
+
};
|
|
110481
|
+
connections_get: {
|
|
110482
|
+
parameters: {
|
|
110483
|
+
query?: never;
|
|
110484
|
+
header?: never;
|
|
110485
|
+
path: {
|
|
110486
|
+
/** @description Connection id (conn_ followed by 32 hex) */
|
|
110487
|
+
id: components["parameters"]["Connections.Id"];
|
|
110488
|
+
};
|
|
110489
|
+
cookie?: never;
|
|
110490
|
+
};
|
|
110491
|
+
requestBody?: never;
|
|
110492
|
+
responses: {
|
|
110493
|
+
/** @description The connection */
|
|
110494
|
+
200: {
|
|
110495
|
+
headers: {
|
|
110496
|
+
[name: string]: unknown;
|
|
110497
|
+
};
|
|
110498
|
+
content: {
|
|
110499
|
+
"application/json": components["schemas"]["Connections.Connection"];
|
|
110500
|
+
};
|
|
110501
|
+
};
|
|
110502
|
+
404: components["responses"]["Connections.NotFound"];
|
|
110503
|
+
};
|
|
110504
|
+
};
|
|
110505
|
+
connections_revoke: {
|
|
110506
|
+
parameters: {
|
|
110507
|
+
query?: never;
|
|
110508
|
+
header?: never;
|
|
110509
|
+
path: {
|
|
110510
|
+
/** @description Connection id (conn_ followed by 32 hex) */
|
|
110511
|
+
id: components["parameters"]["Connections.Id"];
|
|
110512
|
+
};
|
|
110513
|
+
cookie?: never;
|
|
110514
|
+
};
|
|
110515
|
+
requestBody?: never;
|
|
110516
|
+
responses: {
|
|
110517
|
+
/** @description Revoked */
|
|
110518
|
+
200: {
|
|
110519
|
+
headers: {
|
|
110520
|
+
[name: string]: unknown;
|
|
110521
|
+
};
|
|
110522
|
+
content: {
|
|
110523
|
+
"application/json": components["schemas"]["Connections.RevokeResponse"];
|
|
110524
|
+
};
|
|
110525
|
+
};
|
|
110526
|
+
403: components["responses"]["Connections.Forbidden"];
|
|
110527
|
+
404: components["responses"]["Connections.NotFound"];
|
|
110528
|
+
};
|
|
110529
|
+
};
|
|
110530
|
+
connections_authorize: {
|
|
110531
|
+
parameters: {
|
|
110532
|
+
query?: never;
|
|
110533
|
+
header?: never;
|
|
110534
|
+
path: {
|
|
110535
|
+
/** @description Connection id (conn_ followed by 32 hex) */
|
|
110536
|
+
id: components["parameters"]["Connections.Id"];
|
|
110537
|
+
};
|
|
110538
|
+
cookie?: never;
|
|
110539
|
+
};
|
|
110540
|
+
requestBody?: never;
|
|
110541
|
+
responses: {
|
|
110542
|
+
/** @description The URL a person opens to consent at the vendor */
|
|
110543
|
+
200: {
|
|
110544
|
+
headers: {
|
|
110545
|
+
[name: string]: unknown;
|
|
110546
|
+
};
|
|
110547
|
+
content: {
|
|
110548
|
+
"application/json": components["schemas"]["Connections.AuthorizeResponse"];
|
|
110549
|
+
};
|
|
110550
|
+
};
|
|
110551
|
+
403: components["responses"]["Connections.Forbidden"];
|
|
110552
|
+
404: components["responses"]["Connections.NotFound"];
|
|
110553
|
+
409: components["responses"]["Connections.Conflict"];
|
|
110554
|
+
};
|
|
110555
|
+
};
|
|
110556
|
+
connections_listTools: {
|
|
110557
|
+
parameters: {
|
|
110558
|
+
query?: never;
|
|
110559
|
+
header?: never;
|
|
110560
|
+
path: {
|
|
110561
|
+
/** @description Connection id (conn_ followed by 32 hex) */
|
|
110562
|
+
id: components["parameters"]["Connections.Id"];
|
|
110563
|
+
};
|
|
110564
|
+
cookie?: never;
|
|
110565
|
+
};
|
|
110566
|
+
requestBody?: never;
|
|
110567
|
+
responses: {
|
|
110568
|
+
/** @description Tools */
|
|
110569
|
+
200: {
|
|
110570
|
+
headers: {
|
|
110571
|
+
[name: string]: unknown;
|
|
110572
|
+
};
|
|
110573
|
+
content: {
|
|
110574
|
+
"application/json": components["schemas"]["Connections.ToolList"];
|
|
110575
|
+
};
|
|
110576
|
+
};
|
|
110577
|
+
404: components["responses"]["Connections.NotFound"];
|
|
110578
|
+
410: components["responses"]["Connections.ToolChanged"];
|
|
110579
|
+
};
|
|
110580
|
+
};
|
|
110581
|
+
connections_setToolPolicy: {
|
|
110582
|
+
parameters: {
|
|
110583
|
+
query?: never;
|
|
110584
|
+
header?: {
|
|
110585
|
+
/** @description An approved approval id (`apr_…`) from an earlier 428, to retry the same request */
|
|
110586
|
+
"OneOS-Approval"?: components["parameters"]["Connections.Approval"];
|
|
110587
|
+
};
|
|
110588
|
+
path: {
|
|
110589
|
+
/** @description Connection id (conn_ followed by 32 hex) */
|
|
110590
|
+
id: components["parameters"]["Connections.Id"];
|
|
110591
|
+
};
|
|
110592
|
+
cookie?: never;
|
|
110593
|
+
};
|
|
110594
|
+
requestBody: {
|
|
110595
|
+
content: {
|
|
110596
|
+
"application/json": components["schemas"]["Connections.ToolPolicyRequest"];
|
|
110597
|
+
};
|
|
110598
|
+
};
|
|
110599
|
+
responses: {
|
|
110600
|
+
/** @description The connection with its new policy and the changes made */
|
|
110601
|
+
200: {
|
|
110602
|
+
headers: {
|
|
110603
|
+
[name: string]: unknown;
|
|
110604
|
+
};
|
|
110605
|
+
content: {
|
|
110606
|
+
"application/json": components["schemas"]["Connections.ToolPolicyResponse"];
|
|
110607
|
+
};
|
|
110608
|
+
};
|
|
110609
|
+
403: components["responses"]["Connections.Forbidden"];
|
|
110610
|
+
404: components["responses"]["Connections.NotFound"];
|
|
110611
|
+
409: components["responses"]["Connections.Conflict"];
|
|
110612
|
+
422: components["responses"]["Connections.Invalid"];
|
|
110613
|
+
428: components["responses"]["Connections.ApprovalRequired"];
|
|
110614
|
+
};
|
|
110615
|
+
};
|
|
110616
|
+
connections_call: {
|
|
110617
|
+
parameters: {
|
|
110618
|
+
query?: never;
|
|
110619
|
+
header?: {
|
|
110620
|
+
/** @description An approved approval id (`apr_…`) from an earlier 428, to retry the same request */
|
|
110621
|
+
"OneOS-Approval"?: components["parameters"]["Connections.Approval"];
|
|
110622
|
+
};
|
|
110623
|
+
path: {
|
|
110624
|
+
/** @description Connection id (conn_ followed by 32 hex) */
|
|
110625
|
+
id: components["parameters"]["Connections.Id"];
|
|
110626
|
+
/** @description The tool's name in the pinned manifest */
|
|
110627
|
+
tool: components["parameters"]["Connections.Tool"];
|
|
110628
|
+
};
|
|
110629
|
+
cookie?: never;
|
|
110630
|
+
};
|
|
110631
|
+
requestBody: {
|
|
110632
|
+
content: {
|
|
110633
|
+
"application/json": components["schemas"]["Connections.CallRequest"];
|
|
110634
|
+
};
|
|
110635
|
+
};
|
|
110636
|
+
responses: {
|
|
110637
|
+
/** @description The call's outcome and its wrapped result */
|
|
110638
|
+
200: {
|
|
110639
|
+
headers: {
|
|
110640
|
+
[name: string]: unknown;
|
|
110641
|
+
};
|
|
110642
|
+
content: {
|
|
110643
|
+
"application/json": components["schemas"]["Connections.CallResult"];
|
|
110644
|
+
};
|
|
110645
|
+
};
|
|
110646
|
+
403: components["responses"]["Connections.Forbidden"];
|
|
110647
|
+
404: components["responses"]["Connections.NotFound"];
|
|
110648
|
+
409: components["responses"]["Connections.NeedsReauth"];
|
|
110649
|
+
410: components["responses"]["Connections.ToolChanged"];
|
|
110650
|
+
422: components["responses"]["Connections.Invalid"];
|
|
110651
|
+
428: components["responses"]["Connections.ApprovalRequired"];
|
|
110652
|
+
};
|
|
110653
|
+
};
|
|
110654
|
+
connections_activity: {
|
|
110655
|
+
parameters: {
|
|
110656
|
+
query?: {
|
|
110657
|
+
/** @description Return rows with a larger `seq` (default 0) */
|
|
110658
|
+
after?: number;
|
|
110659
|
+
/** @description Page size, 1-500 (default 100) */
|
|
110660
|
+
limit?: number;
|
|
110661
|
+
};
|
|
110662
|
+
header?: never;
|
|
110663
|
+
path: {
|
|
110664
|
+
/** @description Connection id (conn_ followed by 32 hex) */
|
|
110665
|
+
id: components["parameters"]["Connections.Id"];
|
|
110666
|
+
};
|
|
110667
|
+
cookie?: never;
|
|
110668
|
+
};
|
|
110669
|
+
requestBody?: never;
|
|
110670
|
+
responses: {
|
|
110671
|
+
/** @description Ledger rows */
|
|
110672
|
+
200: {
|
|
110673
|
+
headers: {
|
|
110674
|
+
[name: string]: unknown;
|
|
110675
|
+
};
|
|
110676
|
+
content: {
|
|
110677
|
+
"application/json": {
|
|
110678
|
+
data: components["schemas"]["Connections.ActivityRow"][];
|
|
110679
|
+
next_after?: number | null;
|
|
110680
|
+
};
|
|
110681
|
+
};
|
|
110682
|
+
};
|
|
110683
|
+
404: components["responses"]["Connections.NotFound"];
|
|
110684
|
+
};
|
|
110685
|
+
};
|
|
110686
|
+
connections_searchTools: {
|
|
110687
|
+
parameters: {
|
|
110688
|
+
query?: {
|
|
110689
|
+
/** @description Keywords */
|
|
110690
|
+
q?: string;
|
|
110691
|
+
};
|
|
110692
|
+
header?: never;
|
|
110693
|
+
path?: never;
|
|
110694
|
+
cookie?: never;
|
|
110695
|
+
};
|
|
110696
|
+
requestBody?: never;
|
|
110697
|
+
responses: {
|
|
110698
|
+
/** @description Matching connected tools */
|
|
110699
|
+
200: {
|
|
110700
|
+
headers: {
|
|
110701
|
+
[name: string]: unknown;
|
|
110702
|
+
};
|
|
110703
|
+
content: {
|
|
110704
|
+
"application/json": components["schemas"]["Connections.SearchToolsResponse"];
|
|
110705
|
+
};
|
|
110706
|
+
};
|
|
110707
|
+
403: components["responses"]["Connections.Forbidden"];
|
|
110708
|
+
};
|
|
110709
|
+
};
|
|
110710
|
+
connections_oauthCallback: {
|
|
110711
|
+
parameters: {
|
|
110712
|
+
query?: {
|
|
110713
|
+
state?: string;
|
|
110714
|
+
code?: string;
|
|
110715
|
+
iss?: string;
|
|
110716
|
+
error?: string;
|
|
110717
|
+
error_description?: string;
|
|
110718
|
+
};
|
|
110719
|
+
header?: never;
|
|
110720
|
+
path?: never;
|
|
110721
|
+
cookie?: never;
|
|
110722
|
+
};
|
|
110723
|
+
requestBody?: never;
|
|
110724
|
+
responses: {
|
|
110725
|
+
/** @description A page telling the person the connection is ready (or what failed) */
|
|
110726
|
+
200: {
|
|
110727
|
+
headers: {
|
|
110728
|
+
[name: string]: unknown;
|
|
110729
|
+
};
|
|
110730
|
+
content: {
|
|
110731
|
+
"text/html": string;
|
|
110732
|
+
};
|
|
110733
|
+
};
|
|
110734
|
+
/** @description Unknown, used or expired state */
|
|
110735
|
+
400: {
|
|
110736
|
+
headers: {
|
|
110737
|
+
[name: string]: unknown;
|
|
110738
|
+
};
|
|
110739
|
+
content: {
|
|
110740
|
+
"text/html": string;
|
|
110741
|
+
};
|
|
110742
|
+
};
|
|
110743
|
+
};
|
|
110744
|
+
};
|
|
109439
110745
|
}
|