@onesi/genesis 0.2.12 → 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/generated/operations.d.ts +1 -1
- package/dist/generated/operations.js +535 -171
- package/dist/generated/schema.d.ts +917 -223
- package/dist/genesis.openapi.json +2058 -631
- 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;
|
|
@@ -24412,6 +24360,238 @@ export interface paths {
|
|
|
24412
24360
|
patch?: never;
|
|
24413
24361
|
trace?: never;
|
|
24414
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
|
+
};
|
|
24415
24595
|
}
|
|
24416
24596
|
export type webhooks = Record<string, never>;
|
|
24417
24597
|
export interface components {
|
|
@@ -25525,16 +25705,6 @@ export interface components {
|
|
|
25525
25705
|
*/
|
|
25526
25706
|
ttl_secs?: number;
|
|
25527
25707
|
};
|
|
25528
|
-
"Hives.CreateSsoConnectionRequest": {
|
|
25529
|
-
/** @description IdP type hint */
|
|
25530
|
-
idp_type?: string | null;
|
|
25531
|
-
/** @description Raw IdP metadata XML (alternative to URL) */
|
|
25532
|
-
metadata_raw?: string | null;
|
|
25533
|
-
/** @description IdP metadata URL (e.g. Okta, Azure AD metadata endpoint) */
|
|
25534
|
-
metadata_url?: string | null;
|
|
25535
|
-
/** @description Connection name/label */
|
|
25536
|
-
name: string;
|
|
25537
|
-
};
|
|
25538
25708
|
/** @description Create terminal session request */
|
|
25539
25709
|
"Hives.CreateTerminalSessionRequest": {
|
|
25540
25710
|
/**
|
|
@@ -41002,6 +41172,248 @@ export interface components {
|
|
|
41002
41172
|
} & {
|
|
41003
41173
|
[key: string]: unknown;
|
|
41004
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
|
+
};
|
|
41005
41417
|
};
|
|
41006
41418
|
responses: {
|
|
41007
41419
|
/** @description Foundry API error. */
|
|
@@ -41472,6 +41884,69 @@ export interface components {
|
|
|
41472
41884
|
"application/json": components["schemas"]["Garden.Disbursement"];
|
|
41473
41885
|
};
|
|
41474
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
|
+
};
|
|
41475
41950
|
};
|
|
41476
41951
|
parameters: {
|
|
41477
41952
|
/** @description Zone name, e.g. example.com */
|
|
@@ -41662,6 +42137,14 @@ export interface components {
|
|
|
41662
42137
|
"Brews.DecisionId": string;
|
|
41663
42138
|
/** @description Stable key; a retry with it returns the original decision instead of creating another */
|
|
41664
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;
|
|
41665
42148
|
};
|
|
41666
42149
|
requestBodies: never;
|
|
41667
42150
|
headers: {
|
|
@@ -42755,29 +43238,6 @@ export interface operations {
|
|
|
42755
43238
|
default: components["responses"]["Foundry.Error"];
|
|
42756
43239
|
};
|
|
42757
43240
|
};
|
|
42758
|
-
foundry_downloadFile: {
|
|
42759
|
-
parameters: {
|
|
42760
|
-
query?: never;
|
|
42761
|
-
header?: never;
|
|
42762
|
-
path: {
|
|
42763
|
-
file_id: string;
|
|
42764
|
-
};
|
|
42765
|
-
cookie?: never;
|
|
42766
|
-
};
|
|
42767
|
-
requestBody?: never;
|
|
42768
|
-
responses: {
|
|
42769
|
-
/** @description File bytes. */
|
|
42770
|
-
200: {
|
|
42771
|
-
headers: {
|
|
42772
|
-
[name: string]: unknown;
|
|
42773
|
-
};
|
|
42774
|
-
content: {
|
|
42775
|
-
"application/json": string;
|
|
42776
|
-
};
|
|
42777
|
-
};
|
|
42778
|
-
default: components["responses"]["Foundry.Error"];
|
|
42779
|
-
};
|
|
42780
|
-
};
|
|
42781
43241
|
foundry_listFineTuningProviders: {
|
|
42782
43242
|
parameters: {
|
|
42783
43243
|
query?: never;
|
|
@@ -45403,144 +45863,6 @@ export interface operations {
|
|
|
45403
45863
|
};
|
|
45404
45864
|
};
|
|
45405
45865
|
};
|
|
45406
|
-
hives_get_sso_config: {
|
|
45407
|
-
parameters: {
|
|
45408
|
-
query?: never;
|
|
45409
|
-
header?: never;
|
|
45410
|
-
path: {
|
|
45411
|
-
/** @description Organization ID */
|
|
45412
|
-
org_id: string;
|
|
45413
|
-
};
|
|
45414
|
-
cookie?: never;
|
|
45415
|
-
};
|
|
45416
|
-
requestBody?: never;
|
|
45417
|
-
responses: {
|
|
45418
|
-
/** @description SSO configuration */
|
|
45419
|
-
200: {
|
|
45420
|
-
headers: {
|
|
45421
|
-
[name: string]: unknown;
|
|
45422
|
-
};
|
|
45423
|
-
content: {
|
|
45424
|
-
"application/json": Record<string, never>;
|
|
45425
|
-
};
|
|
45426
|
-
};
|
|
45427
|
-
/** @description Unauthorized */
|
|
45428
|
-
401: {
|
|
45429
|
-
headers: {
|
|
45430
|
-
[name: string]: unknown;
|
|
45431
|
-
};
|
|
45432
|
-
content?: never;
|
|
45433
|
-
};
|
|
45434
|
-
/** @description Organization not found */
|
|
45435
|
-
404: {
|
|
45436
|
-
headers: {
|
|
45437
|
-
[name: string]: unknown;
|
|
45438
|
-
};
|
|
45439
|
-
content?: never;
|
|
45440
|
-
};
|
|
45441
|
-
/** @description SSO service unavailable */
|
|
45442
|
-
503: {
|
|
45443
|
-
headers: {
|
|
45444
|
-
[name: string]: unknown;
|
|
45445
|
-
};
|
|
45446
|
-
content?: never;
|
|
45447
|
-
};
|
|
45448
|
-
};
|
|
45449
|
-
};
|
|
45450
|
-
hives_create_sso_connection: {
|
|
45451
|
-
parameters: {
|
|
45452
|
-
query?: never;
|
|
45453
|
-
header?: never;
|
|
45454
|
-
path: {
|
|
45455
|
-
/** @description Organization ID */
|
|
45456
|
-
org_id: string;
|
|
45457
|
-
};
|
|
45458
|
-
cookie?: never;
|
|
45459
|
-
};
|
|
45460
|
-
requestBody: {
|
|
45461
|
-
content: {
|
|
45462
|
-
"application/json": components["schemas"]["Hives.CreateSsoConnectionRequest"];
|
|
45463
|
-
};
|
|
45464
|
-
};
|
|
45465
|
-
responses: {
|
|
45466
|
-
/** @description SSO connection created */
|
|
45467
|
-
200: {
|
|
45468
|
-
headers: {
|
|
45469
|
-
[name: string]: unknown;
|
|
45470
|
-
};
|
|
45471
|
-
content: {
|
|
45472
|
-
"application/json": Record<string, never>;
|
|
45473
|
-
};
|
|
45474
|
-
};
|
|
45475
|
-
/** @description Unauthorized */
|
|
45476
|
-
401: {
|
|
45477
|
-
headers: {
|
|
45478
|
-
[name: string]: unknown;
|
|
45479
|
-
};
|
|
45480
|
-
content?: never;
|
|
45481
|
-
};
|
|
45482
|
-
/** @description Organization not found */
|
|
45483
|
-
404: {
|
|
45484
|
-
headers: {
|
|
45485
|
-
[name: string]: unknown;
|
|
45486
|
-
};
|
|
45487
|
-
content?: never;
|
|
45488
|
-
};
|
|
45489
|
-
/** @description SSO service unavailable */
|
|
45490
|
-
503: {
|
|
45491
|
-
headers: {
|
|
45492
|
-
[name: string]: unknown;
|
|
45493
|
-
};
|
|
45494
|
-
content?: never;
|
|
45495
|
-
};
|
|
45496
|
-
};
|
|
45497
|
-
};
|
|
45498
|
-
hives_delete_sso_connection: {
|
|
45499
|
-
parameters: {
|
|
45500
|
-
query?: never;
|
|
45501
|
-
header?: never;
|
|
45502
|
-
path: {
|
|
45503
|
-
/** @description Organization ID */
|
|
45504
|
-
org_id: string;
|
|
45505
|
-
/** @description SSO connection ID */
|
|
45506
|
-
connection_id: string;
|
|
45507
|
-
};
|
|
45508
|
-
cookie?: never;
|
|
45509
|
-
};
|
|
45510
|
-
requestBody?: never;
|
|
45511
|
-
responses: {
|
|
45512
|
-
/** @description SSO connection deleted */
|
|
45513
|
-
200: {
|
|
45514
|
-
headers: {
|
|
45515
|
-
[name: string]: unknown;
|
|
45516
|
-
};
|
|
45517
|
-
content: {
|
|
45518
|
-
"application/json": Record<string, never>;
|
|
45519
|
-
};
|
|
45520
|
-
};
|
|
45521
|
-
/** @description Unauthorized */
|
|
45522
|
-
401: {
|
|
45523
|
-
headers: {
|
|
45524
|
-
[name: string]: unknown;
|
|
45525
|
-
};
|
|
45526
|
-
content?: never;
|
|
45527
|
-
};
|
|
45528
|
-
/** @description Organization or connection not found */
|
|
45529
|
-
404: {
|
|
45530
|
-
headers: {
|
|
45531
|
-
[name: string]: unknown;
|
|
45532
|
-
};
|
|
45533
|
-
content?: never;
|
|
45534
|
-
};
|
|
45535
|
-
/** @description SSO service unavailable */
|
|
45536
|
-
503: {
|
|
45537
|
-
headers: {
|
|
45538
|
-
[name: string]: unknown;
|
|
45539
|
-
};
|
|
45540
|
-
content?: never;
|
|
45541
|
-
};
|
|
45542
|
-
};
|
|
45543
|
-
};
|
|
45544
45866
|
hives_get_org_usage: {
|
|
45545
45867
|
parameters: {
|
|
45546
45868
|
query?: never;
|
|
@@ -110048,4 +110370,376 @@ export interface operations {
|
|
|
110048
110370
|
};
|
|
110049
110371
|
};
|
|
110050
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
|
+
};
|
|
110051
110745
|
}
|