@soat/sdk 0.5.7 → 0.5.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/index.js +108 -71
- package/dist/index.d.cts +471 -358
- package/dist/index.d.ts +471 -358
- package/dist/index.js +109 -72
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -351,131 +351,6 @@ type ActorRecord = {
|
|
|
351
351
|
type ErrorResponse = {
|
|
352
352
|
error?: string;
|
|
353
353
|
};
|
|
354
|
-
type AgentTool = {
|
|
355
|
-
/**
|
|
356
|
-
* Public ID of the agent tool
|
|
357
|
-
*/
|
|
358
|
-
id?: string;
|
|
359
|
-
/**
|
|
360
|
-
* Public ID of the owning project
|
|
361
|
-
*/
|
|
362
|
-
project_id?: string;
|
|
363
|
-
/**
|
|
364
|
-
* Tool name
|
|
365
|
-
*/
|
|
366
|
-
name?: string;
|
|
367
|
-
/**
|
|
368
|
-
* Tool type
|
|
369
|
-
*/
|
|
370
|
-
type?: 'http' | 'client' | 'mcp' | 'soat';
|
|
371
|
-
/**
|
|
372
|
-
* What the tool does (sent to the model)
|
|
373
|
-
*/
|
|
374
|
-
description?: string | null;
|
|
375
|
-
/**
|
|
376
|
-
* JSON Schema for tool input
|
|
377
|
-
*/
|
|
378
|
-
parameters?: {
|
|
379
|
-
[key: string]: unknown;
|
|
380
|
-
} | null;
|
|
381
|
-
/**
|
|
382
|
-
* Execution config for http tools. Supported fields: `url` (required), `method` (default `POST`), and `headers`. The `url` may contain `{paramName}` placeholders (e.g. `/users/{userId}`) that are replaced at call time with the corresponding tool argument value (URL-encoded). Arguments consumed as path parameters are excluded from the query string and request body.
|
|
383
|
-
*
|
|
384
|
-
*/
|
|
385
|
-
execute?: {
|
|
386
|
-
[key: string]: unknown;
|
|
387
|
-
} | null;
|
|
388
|
-
/**
|
|
389
|
-
* MCP server config (url, headers)
|
|
390
|
-
*/
|
|
391
|
-
mcp?: {
|
|
392
|
-
[key: string]: unknown;
|
|
393
|
-
} | null;
|
|
394
|
-
/**
|
|
395
|
-
* SOAT platform actions to expose
|
|
396
|
-
*/
|
|
397
|
-
actions?: Array<string> | null;
|
|
398
|
-
/**
|
|
399
|
-
* Fixed parameters merged into every soat tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.
|
|
400
|
-
*/
|
|
401
|
-
preset_parameters?: {
|
|
402
|
-
[key: string]: unknown;
|
|
403
|
-
} | null;
|
|
404
|
-
created_at?: Date;
|
|
405
|
-
updated_at?: Date;
|
|
406
|
-
};
|
|
407
|
-
type CreateAgentToolRequest = {
|
|
408
|
-
/**
|
|
409
|
-
* Public ID of the project
|
|
410
|
-
*/
|
|
411
|
-
project_id?: string;
|
|
412
|
-
/**
|
|
413
|
-
* Tool name
|
|
414
|
-
*/
|
|
415
|
-
name: string;
|
|
416
|
-
/**
|
|
417
|
-
* Tool type (default http)
|
|
418
|
-
*/
|
|
419
|
-
type?: 'http' | 'client' | 'mcp' | 'soat';
|
|
420
|
-
/**
|
|
421
|
-
* What the tool does
|
|
422
|
-
*/
|
|
423
|
-
description?: string;
|
|
424
|
-
/**
|
|
425
|
-
* JSON Schema for tool input
|
|
426
|
-
*/
|
|
427
|
-
parameters?: {
|
|
428
|
-
[key: string]: unknown;
|
|
429
|
-
};
|
|
430
|
-
/**
|
|
431
|
-
* Execution config for http tools. Supported fields: `url` (required), `method` (default `POST`), and `headers`. The `url` may contain `{paramName}` placeholders (e.g. `/users/{userId}`) that are replaced at call time with the corresponding tool argument value (URL-encoded). Arguments consumed as path parameters are excluded from the query string and request body.
|
|
432
|
-
*
|
|
433
|
-
*/
|
|
434
|
-
execute?: {
|
|
435
|
-
[key: string]: unknown;
|
|
436
|
-
};
|
|
437
|
-
/**
|
|
438
|
-
* MCP server config (url, headers)
|
|
439
|
-
*/
|
|
440
|
-
mcp?: {
|
|
441
|
-
[key: string]: unknown;
|
|
442
|
-
};
|
|
443
|
-
/**
|
|
444
|
-
* SOAT platform actions
|
|
445
|
-
*/
|
|
446
|
-
actions?: Array<string>;
|
|
447
|
-
/**
|
|
448
|
-
* Fixed parameters merged into every soat tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.
|
|
449
|
-
*/
|
|
450
|
-
preset_parameters?: {
|
|
451
|
-
[key: string]: unknown;
|
|
452
|
-
};
|
|
453
|
-
};
|
|
454
|
-
type UpdateAgentToolRequest = {
|
|
455
|
-
name?: string;
|
|
456
|
-
type?: 'http' | 'client' | 'mcp' | 'soat';
|
|
457
|
-
description?: string | null;
|
|
458
|
-
parameters?: {
|
|
459
|
-
[key: string]: unknown;
|
|
460
|
-
} | null;
|
|
461
|
-
/**
|
|
462
|
-
* Execution config for http tools. Supported fields: `url` (required), `method` (default `POST`), and `headers`. The `url` may contain `{paramName}` placeholders (e.g. `/users/{userId}`) that are replaced at call time with the corresponding tool argument value (URL-encoded). Arguments consumed as path parameters are excluded from the query string and request body.
|
|
463
|
-
*
|
|
464
|
-
*/
|
|
465
|
-
execute?: {
|
|
466
|
-
[key: string]: unknown;
|
|
467
|
-
} | null;
|
|
468
|
-
mcp?: {
|
|
469
|
-
[key: string]: unknown;
|
|
470
|
-
} | null;
|
|
471
|
-
actions?: Array<string> | null;
|
|
472
|
-
/**
|
|
473
|
-
* Fixed parameters merged into every soat tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.
|
|
474
|
-
*/
|
|
475
|
-
preset_parameters?: {
|
|
476
|
-
[key: string]: unknown;
|
|
477
|
-
} | null;
|
|
478
|
-
};
|
|
479
354
|
type Agent = {
|
|
480
355
|
/**
|
|
481
356
|
* Public ID of the agent
|
|
@@ -1342,7 +1217,7 @@ type AiProviderResourceProperties = {
|
|
|
1342
1217
|
/**
|
|
1343
1218
|
* Defines a tool (HTTP endpoint, MCP server, or SOAT action) that agents can invoke during a generation.
|
|
1344
1219
|
*/
|
|
1345
|
-
type
|
|
1220
|
+
type ToolResourceProperties = {
|
|
1346
1221
|
/**
|
|
1347
1222
|
* Tool display name
|
|
1348
1223
|
*/
|
|
@@ -1641,16 +1516,21 @@ type ResourceDeclaration = {
|
|
|
1641
1516
|
/**
|
|
1642
1517
|
* Resource type
|
|
1643
1518
|
*/
|
|
1644
|
-
type: 'ai_provider' | '
|
|
1519
|
+
type: 'ai_provider' | 'tool' | 'agent' | 'actor' | 'api_key' | 'chat' | 'conversation' | 'document' | 'file' | 'memory' | 'memory_entry' | 'policy' | 'secret' | 'session' | 'webhook';
|
|
1645
1520
|
/**
|
|
1646
1521
|
* Resource properties. Values may use `{ "ref": "logicalId" }` to reference physical IDs of other resources in the template, `{ "param": "ParamName" }` to substitute a parameter value, or `{ "sub": "text ${ParamName}" }` to interpolate parameter values into a string.
|
|
1647
1522
|
*
|
|
1648
1523
|
*/
|
|
1649
|
-
properties: AgentResourceProperties | ActorResourceProperties | AiProviderResourceProperties |
|
|
1524
|
+
properties: AgentResourceProperties | ActorResourceProperties | AiProviderResourceProperties | ToolResourceProperties | ApiKeyResourceProperties | ChatResourceProperties | ConversationResourceProperties | DocumentResourceProperties | FileResourceProperties | MemoryResourceProperties | MemoryEntryResourceProperties | PolicyResourceProperties | SecretResourceProperties | SessionResourceProperties | WebhookResourceProperties;
|
|
1650
1525
|
/**
|
|
1651
1526
|
* Explicit dependency list. In addition to implicit `ref` dependencies.
|
|
1652
1527
|
*/
|
|
1653
1528
|
depends_on?: Array<string> | null;
|
|
1529
|
+
/**
|
|
1530
|
+
* Controls what happens to the physical resource when it is removed from the stack. `delete` (default) deletes the physical resource. `retain` keeps the physical resource alive and only removes the formation record.
|
|
1531
|
+
*
|
|
1532
|
+
*/
|
|
1533
|
+
deletion_policy?: 'delete' | 'retain';
|
|
1654
1534
|
metadata?: {
|
|
1655
1535
|
[key: string]: unknown;
|
|
1656
1536
|
} | null;
|
|
@@ -2086,6 +1966,145 @@ type SubmitSessionToolOutputsRequest = {
|
|
|
2086
1966
|
output: unknown;
|
|
2087
1967
|
}>;
|
|
2088
1968
|
};
|
|
1969
|
+
type Tool = {
|
|
1970
|
+
/**
|
|
1971
|
+
* Public ID of the tool
|
|
1972
|
+
*/
|
|
1973
|
+
id?: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* Public ID of the owning project
|
|
1976
|
+
*/
|
|
1977
|
+
project_id?: string;
|
|
1978
|
+
/**
|
|
1979
|
+
* Tool name
|
|
1980
|
+
*/
|
|
1981
|
+
name?: string;
|
|
1982
|
+
/**
|
|
1983
|
+
* Tool type
|
|
1984
|
+
*/
|
|
1985
|
+
type?: 'http' | 'client' | 'mcp' | 'soat';
|
|
1986
|
+
/**
|
|
1987
|
+
* What the tool does (sent to the model)
|
|
1988
|
+
*/
|
|
1989
|
+
description?: string | null;
|
|
1990
|
+
/**
|
|
1991
|
+
* JSON Schema for tool input
|
|
1992
|
+
*/
|
|
1993
|
+
parameters?: {
|
|
1994
|
+
[key: string]: unknown;
|
|
1995
|
+
} | null;
|
|
1996
|
+
/**
|
|
1997
|
+
* Execution config for http tools. Supported fields: `url` (required), `method` (default `POST`), and `headers`. The `url` may contain `{paramName}` placeholders (e.g. `/users/{userId}`) that are replaced at call time with the corresponding tool argument value (URL-encoded). Arguments consumed as path parameters are excluded from the query string and request body.
|
|
1998
|
+
*
|
|
1999
|
+
*/
|
|
2000
|
+
execute?: {
|
|
2001
|
+
[key: string]: unknown;
|
|
2002
|
+
} | null;
|
|
2003
|
+
/**
|
|
2004
|
+
* MCP server config (url, headers)
|
|
2005
|
+
*/
|
|
2006
|
+
mcp?: {
|
|
2007
|
+
[key: string]: unknown;
|
|
2008
|
+
} | null;
|
|
2009
|
+
/**
|
|
2010
|
+
* SOAT platform actions to expose
|
|
2011
|
+
*/
|
|
2012
|
+
actions?: Array<string> | null;
|
|
2013
|
+
/**
|
|
2014
|
+
* Fixed parameters merged into every soat tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.
|
|
2015
|
+
*/
|
|
2016
|
+
preset_parameters?: {
|
|
2017
|
+
[key: string]: unknown;
|
|
2018
|
+
} | null;
|
|
2019
|
+
created_at?: Date;
|
|
2020
|
+
updated_at?: Date;
|
|
2021
|
+
};
|
|
2022
|
+
type CreateToolRequest = {
|
|
2023
|
+
/**
|
|
2024
|
+
* Public ID of the project
|
|
2025
|
+
*/
|
|
2026
|
+
project_id?: string;
|
|
2027
|
+
/**
|
|
2028
|
+
* Tool name
|
|
2029
|
+
*/
|
|
2030
|
+
name: string;
|
|
2031
|
+
/**
|
|
2032
|
+
* Tool type (default http)
|
|
2033
|
+
*/
|
|
2034
|
+
type?: 'http' | 'client' | 'mcp' | 'soat';
|
|
2035
|
+
/**
|
|
2036
|
+
* What the tool does
|
|
2037
|
+
*/
|
|
2038
|
+
description?: string;
|
|
2039
|
+
/**
|
|
2040
|
+
* JSON Schema for tool input
|
|
2041
|
+
*/
|
|
2042
|
+
parameters?: {
|
|
2043
|
+
[key: string]: unknown;
|
|
2044
|
+
};
|
|
2045
|
+
/**
|
|
2046
|
+
* Execution config for http tools. Supported fields: `url` (required), `method` (default `POST`), and `headers`. The `url` may contain `{paramName}` placeholders (e.g. `/users/{userId}`) that are replaced at call time with the corresponding tool argument value (URL-encoded). Arguments consumed as path parameters are excluded from the query string and request body.
|
|
2047
|
+
*
|
|
2048
|
+
*/
|
|
2049
|
+
execute?: {
|
|
2050
|
+
[key: string]: unknown;
|
|
2051
|
+
};
|
|
2052
|
+
/**
|
|
2053
|
+
* MCP server config (url, headers)
|
|
2054
|
+
*/
|
|
2055
|
+
mcp?: {
|
|
2056
|
+
[key: string]: unknown;
|
|
2057
|
+
};
|
|
2058
|
+
/**
|
|
2059
|
+
* SOAT platform actions
|
|
2060
|
+
*/
|
|
2061
|
+
actions?: Array<string>;
|
|
2062
|
+
/**
|
|
2063
|
+
* Fixed parameters merged into every soat tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.
|
|
2064
|
+
*/
|
|
2065
|
+
preset_parameters?: {
|
|
2066
|
+
[key: string]: unknown;
|
|
2067
|
+
};
|
|
2068
|
+
};
|
|
2069
|
+
type UpdateToolRequest = {
|
|
2070
|
+
name?: string;
|
|
2071
|
+
type?: 'http' | 'client' | 'mcp' | 'soat';
|
|
2072
|
+
description?: string | null;
|
|
2073
|
+
parameters?: {
|
|
2074
|
+
[key: string]: unknown;
|
|
2075
|
+
} | null;
|
|
2076
|
+
/**
|
|
2077
|
+
* Execution config for http tools. Supported fields: `url` (required), `method` (default `POST`), and `headers`. The `url` may contain `{paramName}` placeholders (e.g. `/users/{userId}`) that are replaced at call time with the corresponding tool argument value (URL-encoded). Arguments consumed as path parameters are excluded from the query string and request body.
|
|
2078
|
+
*
|
|
2079
|
+
*/
|
|
2080
|
+
execute?: {
|
|
2081
|
+
[key: string]: unknown;
|
|
2082
|
+
} | null;
|
|
2083
|
+
mcp?: {
|
|
2084
|
+
[key: string]: unknown;
|
|
2085
|
+
} | null;
|
|
2086
|
+
actions?: Array<string> | null;
|
|
2087
|
+
/**
|
|
2088
|
+
* Fixed parameters merged into every soat tool call. Keys matching fields in the action's input schema are removed from the schema shown to the model and injected automatically at execution time.
|
|
2089
|
+
*/
|
|
2090
|
+
preset_parameters?: {
|
|
2091
|
+
[key: string]: unknown;
|
|
2092
|
+
} | null;
|
|
2093
|
+
};
|
|
2094
|
+
type CallToolRequest = {
|
|
2095
|
+
/**
|
|
2096
|
+
* For `soat` tools: the action name (must be in the tool's `actions` list). For `mcp` tools: the MCP tool name to invoke. Ignored for `http` tools.
|
|
2097
|
+
*
|
|
2098
|
+
*/
|
|
2099
|
+
action?: string;
|
|
2100
|
+
/**
|
|
2101
|
+
* Input parameters for the tool call. These are merged with the tool's `preset_parameters` before execution (caller-supplied values take precedence).
|
|
2102
|
+
*
|
|
2103
|
+
*/
|
|
2104
|
+
input?: {
|
|
2105
|
+
[key: string]: unknown;
|
|
2106
|
+
};
|
|
2107
|
+
};
|
|
2089
2108
|
type Trace = {
|
|
2090
2109
|
/**
|
|
2091
2110
|
* Public ID of the trace
|
|
@@ -2192,6 +2211,9 @@ type UpdateWebhookRequest = {
|
|
|
2192
2211
|
active?: boolean;
|
|
2193
2212
|
policy_id?: string | null;
|
|
2194
2213
|
};
|
|
2214
|
+
type WebhookSecretResponse = {
|
|
2215
|
+
secret?: string;
|
|
2216
|
+
};
|
|
2195
2217
|
type Delivery = {
|
|
2196
2218
|
id?: string;
|
|
2197
2219
|
event_type?: string;
|
|
@@ -2432,177 +2454,14 @@ type GetActorTagsData = {
|
|
|
2432
2454
|
body?: never;
|
|
2433
2455
|
path: {
|
|
2434
2456
|
/**
|
|
2435
|
-
* Actor ID
|
|
2436
|
-
*/
|
|
2437
|
-
actor_id: string;
|
|
2438
|
-
};
|
|
2439
|
-
query?: never;
|
|
2440
|
-
url: '/api/v1/actors/{actor_id}/tags';
|
|
2441
|
-
};
|
|
2442
|
-
type GetActorTagsErrors = {
|
|
2443
|
-
/**
|
|
2444
|
-
* Unauthorized
|
|
2445
|
-
*/
|
|
2446
|
-
401: ErrorResponse;
|
|
2447
|
-
/**
|
|
2448
|
-
* Forbidden
|
|
2449
|
-
*/
|
|
2450
|
-
403: ErrorResponse;
|
|
2451
|
-
/**
|
|
2452
|
-
* Actor not found
|
|
2453
|
-
*/
|
|
2454
|
-
404: ErrorResponse;
|
|
2455
|
-
};
|
|
2456
|
-
type GetActorTagsError = GetActorTagsErrors[keyof GetActorTagsErrors];
|
|
2457
|
-
type GetActorTagsResponses = {
|
|
2458
|
-
/**
|
|
2459
|
-
* Actor tags
|
|
2460
|
-
*/
|
|
2461
|
-
200: {
|
|
2462
|
-
[key: string]: string;
|
|
2463
|
-
};
|
|
2464
|
-
};
|
|
2465
|
-
type GetActorTagsResponse = GetActorTagsResponses[keyof GetActorTagsResponses];
|
|
2466
|
-
type MergeActorTagsData = {
|
|
2467
|
-
body: {
|
|
2468
|
-
[key: string]: string;
|
|
2469
|
-
};
|
|
2470
|
-
path: {
|
|
2471
|
-
/**
|
|
2472
|
-
* Actor ID
|
|
2473
|
-
*/
|
|
2474
|
-
actor_id: string;
|
|
2475
|
-
};
|
|
2476
|
-
query?: never;
|
|
2477
|
-
url: '/api/v1/actors/{actor_id}/tags';
|
|
2478
|
-
};
|
|
2479
|
-
type MergeActorTagsErrors = {
|
|
2480
|
-
/**
|
|
2481
|
-
* Unauthorized
|
|
2482
|
-
*/
|
|
2483
|
-
401: ErrorResponse;
|
|
2484
|
-
/**
|
|
2485
|
-
* Forbidden
|
|
2486
|
-
*/
|
|
2487
|
-
403: ErrorResponse;
|
|
2488
|
-
/**
|
|
2489
|
-
* Actor not found
|
|
2490
|
-
*/
|
|
2491
|
-
404: ErrorResponse;
|
|
2492
|
-
};
|
|
2493
|
-
type MergeActorTagsError = MergeActorTagsErrors[keyof MergeActorTagsErrors];
|
|
2494
|
-
type MergeActorTagsResponses = {
|
|
2495
|
-
/**
|
|
2496
|
-
* Tags merged
|
|
2497
|
-
*/
|
|
2498
|
-
200: {
|
|
2499
|
-
[key: string]: string;
|
|
2500
|
-
};
|
|
2501
|
-
};
|
|
2502
|
-
type MergeActorTagsResponse = MergeActorTagsResponses[keyof MergeActorTagsResponses];
|
|
2503
|
-
type ReplaceActorTagsData = {
|
|
2504
|
-
body: {
|
|
2505
|
-
[key: string]: string;
|
|
2506
|
-
};
|
|
2507
|
-
path: {
|
|
2508
|
-
/**
|
|
2509
|
-
* Actor ID
|
|
2510
|
-
*/
|
|
2511
|
-
actor_id: string;
|
|
2512
|
-
};
|
|
2513
|
-
query?: never;
|
|
2514
|
-
url: '/api/v1/actors/{actor_id}/tags';
|
|
2515
|
-
};
|
|
2516
|
-
type ReplaceActorTagsErrors = {
|
|
2517
|
-
/**
|
|
2518
|
-
* Unauthorized
|
|
2519
|
-
*/
|
|
2520
|
-
401: ErrorResponse;
|
|
2521
|
-
/**
|
|
2522
|
-
* Forbidden
|
|
2523
|
-
*/
|
|
2524
|
-
403: ErrorResponse;
|
|
2525
|
-
/**
|
|
2526
|
-
* Actor not found
|
|
2527
|
-
*/
|
|
2528
|
-
404: ErrorResponse;
|
|
2529
|
-
};
|
|
2530
|
-
type ReplaceActorTagsError = ReplaceActorTagsErrors[keyof ReplaceActorTagsErrors];
|
|
2531
|
-
type ReplaceActorTagsResponses = {
|
|
2532
|
-
/**
|
|
2533
|
-
* Tags replaced
|
|
2534
|
-
*/
|
|
2535
|
-
200: {
|
|
2536
|
-
[key: string]: string;
|
|
2537
|
-
};
|
|
2538
|
-
};
|
|
2539
|
-
type ReplaceActorTagsResponse = ReplaceActorTagsResponses[keyof ReplaceActorTagsResponses];
|
|
2540
|
-
type ListAgentToolsData = {
|
|
2541
|
-
body?: never;
|
|
2542
|
-
path?: never;
|
|
2543
|
-
query?: {
|
|
2544
|
-
/**
|
|
2545
|
-
* Project public ID to filter by
|
|
2546
|
-
*/
|
|
2547
|
-
project_id?: string;
|
|
2548
|
-
};
|
|
2549
|
-
url: '/api/v1/agents/tools';
|
|
2550
|
-
};
|
|
2551
|
-
type ListAgentToolsErrors = {
|
|
2552
|
-
/**
|
|
2553
|
-
* Unauthorized
|
|
2554
|
-
*/
|
|
2555
|
-
401: ErrorResponse;
|
|
2556
|
-
/**
|
|
2557
|
-
* Forbidden
|
|
2558
|
-
*/
|
|
2559
|
-
403: ErrorResponse;
|
|
2560
|
-
};
|
|
2561
|
-
type ListAgentToolsError = ListAgentToolsErrors[keyof ListAgentToolsErrors];
|
|
2562
|
-
type ListAgentToolsResponses = {
|
|
2563
|
-
/**
|
|
2564
|
-
* List of agent tools
|
|
2565
|
-
*/
|
|
2566
|
-
200: Array<AgentTool>;
|
|
2567
|
-
};
|
|
2568
|
-
type ListAgentToolsResponse = ListAgentToolsResponses[keyof ListAgentToolsResponses];
|
|
2569
|
-
type CreateAgentToolData = {
|
|
2570
|
-
body: CreateAgentToolRequest;
|
|
2571
|
-
path?: never;
|
|
2572
|
-
query?: never;
|
|
2573
|
-
url: '/api/v1/agents/tools';
|
|
2574
|
-
};
|
|
2575
|
-
type CreateAgentToolErrors = {
|
|
2576
|
-
/**
|
|
2577
|
-
* Bad Request
|
|
2578
|
-
*/
|
|
2579
|
-
400: ErrorResponse;
|
|
2580
|
-
/**
|
|
2581
|
-
* Unauthorized
|
|
2582
|
-
*/
|
|
2583
|
-
401: ErrorResponse;
|
|
2584
|
-
/**
|
|
2585
|
-
* Forbidden
|
|
2586
|
-
*/
|
|
2587
|
-
403: ErrorResponse;
|
|
2588
|
-
};
|
|
2589
|
-
type CreateAgentToolError = CreateAgentToolErrors[keyof CreateAgentToolErrors];
|
|
2590
|
-
type CreateAgentToolResponses = {
|
|
2591
|
-
/**
|
|
2592
|
-
* Agent tool created
|
|
2593
|
-
*/
|
|
2594
|
-
201: AgentTool;
|
|
2595
|
-
};
|
|
2596
|
-
type CreateAgentToolResponse = CreateAgentToolResponses[keyof CreateAgentToolResponses];
|
|
2597
|
-
type DeleteAgentToolData = {
|
|
2598
|
-
body?: never;
|
|
2599
|
-
path: {
|
|
2600
|
-
tool_id: string;
|
|
2457
|
+
* Actor ID
|
|
2458
|
+
*/
|
|
2459
|
+
actor_id: string;
|
|
2601
2460
|
};
|
|
2602
2461
|
query?: never;
|
|
2603
|
-
url: '/api/v1/
|
|
2462
|
+
url: '/api/v1/actors/{actor_id}/tags';
|
|
2604
2463
|
};
|
|
2605
|
-
type
|
|
2464
|
+
type GetActorTagsErrors = {
|
|
2606
2465
|
/**
|
|
2607
2466
|
* Unauthorized
|
|
2608
2467
|
*/
|
|
@@ -2612,27 +2471,34 @@ type DeleteAgentToolErrors = {
|
|
|
2612
2471
|
*/
|
|
2613
2472
|
403: ErrorResponse;
|
|
2614
2473
|
/**
|
|
2615
|
-
*
|
|
2474
|
+
* Actor not found
|
|
2616
2475
|
*/
|
|
2617
2476
|
404: ErrorResponse;
|
|
2618
2477
|
};
|
|
2619
|
-
type
|
|
2620
|
-
type
|
|
2478
|
+
type GetActorTagsError = GetActorTagsErrors[keyof GetActorTagsErrors];
|
|
2479
|
+
type GetActorTagsResponses = {
|
|
2621
2480
|
/**
|
|
2622
|
-
*
|
|
2481
|
+
* Actor tags
|
|
2623
2482
|
*/
|
|
2624
|
-
|
|
2483
|
+
200: {
|
|
2484
|
+
[key: string]: string;
|
|
2485
|
+
};
|
|
2625
2486
|
};
|
|
2626
|
-
type
|
|
2627
|
-
type
|
|
2628
|
-
body
|
|
2487
|
+
type GetActorTagsResponse = GetActorTagsResponses[keyof GetActorTagsResponses];
|
|
2488
|
+
type MergeActorTagsData = {
|
|
2489
|
+
body: {
|
|
2490
|
+
[key: string]: string;
|
|
2491
|
+
};
|
|
2629
2492
|
path: {
|
|
2630
|
-
|
|
2493
|
+
/**
|
|
2494
|
+
* Actor ID
|
|
2495
|
+
*/
|
|
2496
|
+
actor_id: string;
|
|
2631
2497
|
};
|
|
2632
2498
|
query?: never;
|
|
2633
|
-
url: '/api/v1/
|
|
2499
|
+
url: '/api/v1/actors/{actor_id}/tags';
|
|
2634
2500
|
};
|
|
2635
|
-
type
|
|
2501
|
+
type MergeActorTagsErrors = {
|
|
2636
2502
|
/**
|
|
2637
2503
|
* Unauthorized
|
|
2638
2504
|
*/
|
|
@@ -2642,27 +2508,34 @@ type GetAgentToolErrors = {
|
|
|
2642
2508
|
*/
|
|
2643
2509
|
403: ErrorResponse;
|
|
2644
2510
|
/**
|
|
2645
|
-
*
|
|
2511
|
+
* Actor not found
|
|
2646
2512
|
*/
|
|
2647
2513
|
404: ErrorResponse;
|
|
2648
2514
|
};
|
|
2649
|
-
type
|
|
2650
|
-
type
|
|
2515
|
+
type MergeActorTagsError = MergeActorTagsErrors[keyof MergeActorTagsErrors];
|
|
2516
|
+
type MergeActorTagsResponses = {
|
|
2651
2517
|
/**
|
|
2652
|
-
*
|
|
2518
|
+
* Tags merged
|
|
2653
2519
|
*/
|
|
2654
|
-
200:
|
|
2520
|
+
200: {
|
|
2521
|
+
[key: string]: string;
|
|
2522
|
+
};
|
|
2655
2523
|
};
|
|
2656
|
-
type
|
|
2657
|
-
type
|
|
2658
|
-
body:
|
|
2524
|
+
type MergeActorTagsResponse = MergeActorTagsResponses[keyof MergeActorTagsResponses];
|
|
2525
|
+
type ReplaceActorTagsData = {
|
|
2526
|
+
body: {
|
|
2527
|
+
[key: string]: string;
|
|
2528
|
+
};
|
|
2659
2529
|
path: {
|
|
2660
|
-
|
|
2530
|
+
/**
|
|
2531
|
+
* Actor ID
|
|
2532
|
+
*/
|
|
2533
|
+
actor_id: string;
|
|
2661
2534
|
};
|
|
2662
2535
|
query?: never;
|
|
2663
|
-
url: '/api/v1/
|
|
2536
|
+
url: '/api/v1/actors/{actor_id}/tags';
|
|
2664
2537
|
};
|
|
2665
|
-
type
|
|
2538
|
+
type ReplaceActorTagsErrors = {
|
|
2666
2539
|
/**
|
|
2667
2540
|
* Unauthorized
|
|
2668
2541
|
*/
|
|
@@ -2672,18 +2545,20 @@ type UpdateAgentToolErrors = {
|
|
|
2672
2545
|
*/
|
|
2673
2546
|
403: ErrorResponse;
|
|
2674
2547
|
/**
|
|
2675
|
-
*
|
|
2548
|
+
* Actor not found
|
|
2676
2549
|
*/
|
|
2677
2550
|
404: ErrorResponse;
|
|
2678
2551
|
};
|
|
2679
|
-
type
|
|
2680
|
-
type
|
|
2552
|
+
type ReplaceActorTagsError = ReplaceActorTagsErrors[keyof ReplaceActorTagsErrors];
|
|
2553
|
+
type ReplaceActorTagsResponses = {
|
|
2681
2554
|
/**
|
|
2682
|
-
*
|
|
2555
|
+
* Tags replaced
|
|
2683
2556
|
*/
|
|
2684
|
-
200:
|
|
2557
|
+
200: {
|
|
2558
|
+
[key: string]: string;
|
|
2559
|
+
};
|
|
2685
2560
|
};
|
|
2686
|
-
type
|
|
2561
|
+
type ReplaceActorTagsResponse = ReplaceActorTagsResponses[keyof ReplaceActorTagsResponses];
|
|
2687
2562
|
type ListAgentsData = {
|
|
2688
2563
|
body?: never;
|
|
2689
2564
|
path?: never;
|
|
@@ -6564,6 +6439,195 @@ type ReplaceSessionTagsResponses = {
|
|
|
6564
6439
|
};
|
|
6565
6440
|
};
|
|
6566
6441
|
type ReplaceSessionTagsResponse = ReplaceSessionTagsResponses[keyof ReplaceSessionTagsResponses];
|
|
6442
|
+
type ListToolsData = {
|
|
6443
|
+
body?: never;
|
|
6444
|
+
path?: never;
|
|
6445
|
+
query?: {
|
|
6446
|
+
/**
|
|
6447
|
+
* Project public ID to filter by
|
|
6448
|
+
*/
|
|
6449
|
+
project_id?: string;
|
|
6450
|
+
};
|
|
6451
|
+
url: '/api/v1/tools';
|
|
6452
|
+
};
|
|
6453
|
+
type ListToolsErrors = {
|
|
6454
|
+
/**
|
|
6455
|
+
* Unauthorized
|
|
6456
|
+
*/
|
|
6457
|
+
401: ErrorResponse;
|
|
6458
|
+
/**
|
|
6459
|
+
* Forbidden
|
|
6460
|
+
*/
|
|
6461
|
+
403: ErrorResponse;
|
|
6462
|
+
};
|
|
6463
|
+
type ListToolsError = ListToolsErrors[keyof ListToolsErrors];
|
|
6464
|
+
type ListToolsResponses = {
|
|
6465
|
+
/**
|
|
6466
|
+
* List of tools
|
|
6467
|
+
*/
|
|
6468
|
+
200: {
|
|
6469
|
+
data?: Array<Tool>;
|
|
6470
|
+
};
|
|
6471
|
+
};
|
|
6472
|
+
type ListToolsResponse = ListToolsResponses[keyof ListToolsResponses];
|
|
6473
|
+
type CreateToolData = {
|
|
6474
|
+
body: CreateToolRequest;
|
|
6475
|
+
path?: never;
|
|
6476
|
+
query?: never;
|
|
6477
|
+
url: '/api/v1/tools';
|
|
6478
|
+
};
|
|
6479
|
+
type CreateToolErrors = {
|
|
6480
|
+
/**
|
|
6481
|
+
* Bad Request
|
|
6482
|
+
*/
|
|
6483
|
+
400: ErrorResponse;
|
|
6484
|
+
/**
|
|
6485
|
+
* Unauthorized
|
|
6486
|
+
*/
|
|
6487
|
+
401: ErrorResponse;
|
|
6488
|
+
/**
|
|
6489
|
+
* Forbidden
|
|
6490
|
+
*/
|
|
6491
|
+
403: ErrorResponse;
|
|
6492
|
+
};
|
|
6493
|
+
type CreateToolError = CreateToolErrors[keyof CreateToolErrors];
|
|
6494
|
+
type CreateToolResponses = {
|
|
6495
|
+
/**
|
|
6496
|
+
* Tool created
|
|
6497
|
+
*/
|
|
6498
|
+
201: Tool;
|
|
6499
|
+
};
|
|
6500
|
+
type CreateToolResponse = CreateToolResponses[keyof CreateToolResponses];
|
|
6501
|
+
type DeleteToolData = {
|
|
6502
|
+
body?: never;
|
|
6503
|
+
path: {
|
|
6504
|
+
tool_id: string;
|
|
6505
|
+
};
|
|
6506
|
+
query?: never;
|
|
6507
|
+
url: '/api/v1/tools/{tool_id}';
|
|
6508
|
+
};
|
|
6509
|
+
type DeleteToolErrors = {
|
|
6510
|
+
/**
|
|
6511
|
+
* Unauthorized
|
|
6512
|
+
*/
|
|
6513
|
+
401: ErrorResponse;
|
|
6514
|
+
/**
|
|
6515
|
+
* Forbidden
|
|
6516
|
+
*/
|
|
6517
|
+
403: ErrorResponse;
|
|
6518
|
+
/**
|
|
6519
|
+
* Not found
|
|
6520
|
+
*/
|
|
6521
|
+
404: ErrorResponse;
|
|
6522
|
+
};
|
|
6523
|
+
type DeleteToolError = DeleteToolErrors[keyof DeleteToolErrors];
|
|
6524
|
+
type DeleteToolResponses = {
|
|
6525
|
+
/**
|
|
6526
|
+
* Deleted
|
|
6527
|
+
*/
|
|
6528
|
+
204: void;
|
|
6529
|
+
};
|
|
6530
|
+
type DeleteToolResponse = DeleteToolResponses[keyof DeleteToolResponses];
|
|
6531
|
+
type GetToolData = {
|
|
6532
|
+
body?: never;
|
|
6533
|
+
path: {
|
|
6534
|
+
tool_id: string;
|
|
6535
|
+
};
|
|
6536
|
+
query?: never;
|
|
6537
|
+
url: '/api/v1/tools/{tool_id}';
|
|
6538
|
+
};
|
|
6539
|
+
type GetToolErrors = {
|
|
6540
|
+
/**
|
|
6541
|
+
* Unauthorized
|
|
6542
|
+
*/
|
|
6543
|
+
401: ErrorResponse;
|
|
6544
|
+
/**
|
|
6545
|
+
* Forbidden
|
|
6546
|
+
*/
|
|
6547
|
+
403: ErrorResponse;
|
|
6548
|
+
/**
|
|
6549
|
+
* Not found
|
|
6550
|
+
*/
|
|
6551
|
+
404: ErrorResponse;
|
|
6552
|
+
};
|
|
6553
|
+
type GetToolError = GetToolErrors[keyof GetToolErrors];
|
|
6554
|
+
type GetToolResponses = {
|
|
6555
|
+
/**
|
|
6556
|
+
* Tool
|
|
6557
|
+
*/
|
|
6558
|
+
200: Tool;
|
|
6559
|
+
};
|
|
6560
|
+
type GetToolResponse = GetToolResponses[keyof GetToolResponses];
|
|
6561
|
+
type UpdateToolData = {
|
|
6562
|
+
body: UpdateToolRequest;
|
|
6563
|
+
path: {
|
|
6564
|
+
tool_id: string;
|
|
6565
|
+
};
|
|
6566
|
+
query?: never;
|
|
6567
|
+
url: '/api/v1/tools/{tool_id}';
|
|
6568
|
+
};
|
|
6569
|
+
type UpdateToolErrors = {
|
|
6570
|
+
/**
|
|
6571
|
+
* Unauthorized
|
|
6572
|
+
*/
|
|
6573
|
+
401: ErrorResponse;
|
|
6574
|
+
/**
|
|
6575
|
+
* Forbidden
|
|
6576
|
+
*/
|
|
6577
|
+
403: ErrorResponse;
|
|
6578
|
+
/**
|
|
6579
|
+
* Not found
|
|
6580
|
+
*/
|
|
6581
|
+
404: ErrorResponse;
|
|
6582
|
+
};
|
|
6583
|
+
type UpdateToolError = UpdateToolErrors[keyof UpdateToolErrors];
|
|
6584
|
+
type UpdateToolResponses = {
|
|
6585
|
+
/**
|
|
6586
|
+
* Tool updated
|
|
6587
|
+
*/
|
|
6588
|
+
200: Tool;
|
|
6589
|
+
};
|
|
6590
|
+
type UpdateToolResponse = UpdateToolResponses[keyof UpdateToolResponses];
|
|
6591
|
+
type CallToolData = {
|
|
6592
|
+
body?: CallToolRequest;
|
|
6593
|
+
path: {
|
|
6594
|
+
tool_id: string;
|
|
6595
|
+
};
|
|
6596
|
+
query?: never;
|
|
6597
|
+
url: '/api/v1/tools/{tool_id}/call';
|
|
6598
|
+
};
|
|
6599
|
+
type CallToolErrors = {
|
|
6600
|
+
/**
|
|
6601
|
+
* Bad Request — invalid input or unknown action
|
|
6602
|
+
*/
|
|
6603
|
+
400: ErrorResponse;
|
|
6604
|
+
/**
|
|
6605
|
+
* Unauthorized
|
|
6606
|
+
*/
|
|
6607
|
+
401: ErrorResponse;
|
|
6608
|
+
/**
|
|
6609
|
+
* Forbidden
|
|
6610
|
+
*/
|
|
6611
|
+
403: ErrorResponse;
|
|
6612
|
+
/**
|
|
6613
|
+
* Tool not found
|
|
6614
|
+
*/
|
|
6615
|
+
404: ErrorResponse;
|
|
6616
|
+
/**
|
|
6617
|
+
* Unprocessable — tool type cannot be invoked server-side
|
|
6618
|
+
*/
|
|
6619
|
+
422: ErrorResponse;
|
|
6620
|
+
};
|
|
6621
|
+
type CallToolError = CallToolErrors[keyof CallToolErrors];
|
|
6622
|
+
type CallToolResponses = {
|
|
6623
|
+
/**
|
|
6624
|
+
* The raw output returned by the tool
|
|
6625
|
+
*/
|
|
6626
|
+
200: {
|
|
6627
|
+
[key: string]: unknown;
|
|
6628
|
+
};
|
|
6629
|
+
};
|
|
6630
|
+
type CallToolResponse = CallToolResponses[keyof CallToolResponses];
|
|
6567
6631
|
type ListTracesData = {
|
|
6568
6632
|
body?: never;
|
|
6569
6633
|
path?: never;
|
|
@@ -7118,6 +7182,36 @@ type GetWebhookDeliveryResponses = {
|
|
|
7118
7182
|
200: Delivery;
|
|
7119
7183
|
};
|
|
7120
7184
|
type GetWebhookDeliveryResponse = GetWebhookDeliveryResponses[keyof GetWebhookDeliveryResponses];
|
|
7185
|
+
type GetWebhookSecretData = {
|
|
7186
|
+
body?: never;
|
|
7187
|
+
path: {
|
|
7188
|
+
project_id: string;
|
|
7189
|
+
webhook_id: string;
|
|
7190
|
+
};
|
|
7191
|
+
query?: never;
|
|
7192
|
+
url: '/api/v1/projects/{project_id}/webhooks/{webhook_id}/secret';
|
|
7193
|
+
};
|
|
7194
|
+
type GetWebhookSecretErrors = {
|
|
7195
|
+
/**
|
|
7196
|
+
* Unauthorized
|
|
7197
|
+
*/
|
|
7198
|
+
401: unknown;
|
|
7199
|
+
/**
|
|
7200
|
+
* Forbidden
|
|
7201
|
+
*/
|
|
7202
|
+
403: unknown;
|
|
7203
|
+
/**
|
|
7204
|
+
* Webhook not found
|
|
7205
|
+
*/
|
|
7206
|
+
404: unknown;
|
|
7207
|
+
};
|
|
7208
|
+
type GetWebhookSecretResponses = {
|
|
7209
|
+
/**
|
|
7210
|
+
* Webhook secret
|
|
7211
|
+
*/
|
|
7212
|
+
200: WebhookSecretResponse;
|
|
7213
|
+
};
|
|
7214
|
+
type GetWebhookSecretResponse = GetWebhookSecretResponses[keyof GetWebhookSecretResponses];
|
|
7121
7215
|
type RotateWebhookSecretData = {
|
|
7122
7216
|
body?: never;
|
|
7123
7217
|
path: {
|
|
@@ -7212,38 +7306,6 @@ declare class Actors {
|
|
|
7212
7306
|
*/
|
|
7213
7307
|
static replaceActorTags<ThrowOnError extends boolean = false>(options: Options<ReplaceActorTagsData, ThrowOnError>): RequestResult<ReplaceActorTagsResponses, ReplaceActorTagsErrors, ThrowOnError, "fields">;
|
|
7214
7308
|
}
|
|
7215
|
-
declare class AgentTools {
|
|
7216
|
-
/**
|
|
7217
|
-
* List agent tools
|
|
7218
|
-
*
|
|
7219
|
-
* Returns all agent tools in the project.
|
|
7220
|
-
*/
|
|
7221
|
-
static listAgentTools<ThrowOnError extends boolean = false>(options?: Options<ListAgentToolsData, ThrowOnError>): RequestResult<ListAgentToolsResponses, ListAgentToolsErrors, ThrowOnError, "fields">;
|
|
7222
|
-
/**
|
|
7223
|
-
* Create an agent tool
|
|
7224
|
-
*
|
|
7225
|
-
* Creates a new agent tool in the project.
|
|
7226
|
-
*/
|
|
7227
|
-
static createAgentTool<ThrowOnError extends boolean = false>(options: Options<CreateAgentToolData, ThrowOnError>): RequestResult<CreateAgentToolResponses, CreateAgentToolErrors, ThrowOnError, "fields">;
|
|
7228
|
-
/**
|
|
7229
|
-
* Delete an agent tool
|
|
7230
|
-
*
|
|
7231
|
-
* Deletes an agent tool by ID.
|
|
7232
|
-
*/
|
|
7233
|
-
static deleteAgentTool<ThrowOnError extends boolean = false>(options: Options<DeleteAgentToolData, ThrowOnError>): RequestResult<DeleteAgentToolResponses, DeleteAgentToolErrors, ThrowOnError, "fields">;
|
|
7234
|
-
/**
|
|
7235
|
-
* Get an agent tool
|
|
7236
|
-
*
|
|
7237
|
-
* Returns a single agent tool by ID.
|
|
7238
|
-
*/
|
|
7239
|
-
static getAgentTool<ThrowOnError extends boolean = false>(options: Options<GetAgentToolData, ThrowOnError>): RequestResult<GetAgentToolResponses, GetAgentToolErrors, ThrowOnError, "fields">;
|
|
7240
|
-
/**
|
|
7241
|
-
* Update an agent tool
|
|
7242
|
-
*
|
|
7243
|
-
* Updates an existing agent tool.
|
|
7244
|
-
*/
|
|
7245
|
-
static updateAgentTool<ThrowOnError extends boolean = false>(options: Options<UpdateAgentToolData, ThrowOnError>): RequestResult<UpdateAgentToolResponses, UpdateAgentToolErrors, ThrowOnError, "fields">;
|
|
7246
|
-
}
|
|
7247
7309
|
declare class Agents {
|
|
7248
7310
|
/**
|
|
7249
7311
|
* List agents
|
|
@@ -7907,6 +7969,47 @@ declare class Sessions {
|
|
|
7907
7969
|
*/
|
|
7908
7970
|
static replaceSessionTags<ThrowOnError extends boolean = false>(options: Options<ReplaceSessionTagsData, ThrowOnError>): RequestResult<ReplaceSessionTagsResponses, ReplaceSessionTagsErrors, ThrowOnError, "fields">;
|
|
7909
7971
|
}
|
|
7972
|
+
declare class Tools {
|
|
7973
|
+
/**
|
|
7974
|
+
* List tools
|
|
7975
|
+
*
|
|
7976
|
+
* Returns all tools in the project.
|
|
7977
|
+
*/
|
|
7978
|
+
static listTools<ThrowOnError extends boolean = false>(options?: Options<ListToolsData, ThrowOnError>): RequestResult<ListToolsResponses, ListToolsErrors, ThrowOnError, "fields">;
|
|
7979
|
+
/**
|
|
7980
|
+
* Create a tool
|
|
7981
|
+
*
|
|
7982
|
+
* Creates a new tool in the project.
|
|
7983
|
+
*/
|
|
7984
|
+
static createTool<ThrowOnError extends boolean = false>(options: Options<CreateToolData, ThrowOnError>): RequestResult<CreateToolResponses, CreateToolErrors, ThrowOnError, "fields">;
|
|
7985
|
+
/**
|
|
7986
|
+
* Delete a tool
|
|
7987
|
+
*
|
|
7988
|
+
* Deletes a tool by ID.
|
|
7989
|
+
*/
|
|
7990
|
+
static deleteTool<ThrowOnError extends boolean = false>(options: Options<DeleteToolData, ThrowOnError>): RequestResult<DeleteToolResponses, DeleteToolErrors, ThrowOnError, "fields">;
|
|
7991
|
+
/**
|
|
7992
|
+
* Get a tool
|
|
7993
|
+
*
|
|
7994
|
+
* Returns a single tool by ID.
|
|
7995
|
+
*/
|
|
7996
|
+
static getTool<ThrowOnError extends boolean = false>(options: Options<GetToolData, ThrowOnError>): RequestResult<GetToolResponses, GetToolErrors, ThrowOnError, "fields">;
|
|
7997
|
+
/**
|
|
7998
|
+
* Update a tool
|
|
7999
|
+
*
|
|
8000
|
+
* Updates an existing tool.
|
|
8001
|
+
*/
|
|
8002
|
+
static updateTool<ThrowOnError extends boolean = false>(options: Options<UpdateToolData, ThrowOnError>): RequestResult<UpdateToolResponses, UpdateToolErrors, ThrowOnError, "fields">;
|
|
8003
|
+
/**
|
|
8004
|
+
* Call a tool
|
|
8005
|
+
*
|
|
8006
|
+
* Directly invokes a tool and returns its output. Supported for `http`, `soat`, and `mcp` tools. `client` tools cannot be invoked server-side and will return 422.
|
|
8007
|
+
* For `soat` and `mcp` tools the `action` field is required and identifies which action (SOAT) or tool name (MCP) to invoke. For `http` tools `action` is ignored.
|
|
8008
|
+
* `preset_parameters` stored on the tool are merged with the caller-supplied `input` before execution; preset keys take lower precedence.
|
|
8009
|
+
*
|
|
8010
|
+
*/
|
|
8011
|
+
static callTool<ThrowOnError extends boolean = false>(options: Options<CallToolData, ThrowOnError>): RequestResult<CallToolResponses, CallToolErrors, ThrowOnError, "fields">;
|
|
8012
|
+
}
|
|
7910
8013
|
declare class Traces {
|
|
7911
8014
|
/**
|
|
7912
8015
|
* List traces
|
|
@@ -8021,6 +8124,12 @@ declare class Webhooks {
|
|
|
8021
8124
|
* Retrieves the details of a specific webhook delivery
|
|
8022
8125
|
*/
|
|
8023
8126
|
static getWebhookDelivery<ThrowOnError extends boolean = false>(options: Options<GetWebhookDeliveryData, ThrowOnError>): RequestResult<GetWebhookDeliveryResponses, GetWebhookDeliveryErrors, ThrowOnError, "fields">;
|
|
8127
|
+
/**
|
|
8128
|
+
* Get webhook secret
|
|
8129
|
+
*
|
|
8130
|
+
* Retrieves the signing secret for the specified webhook
|
|
8131
|
+
*/
|
|
8132
|
+
static getWebhookSecret<ThrowOnError extends boolean = false>(options: Options<GetWebhookSecretData, ThrowOnError>): RequestResult<GetWebhookSecretResponses, GetWebhookSecretErrors, ThrowOnError, "fields">;
|
|
8024
8133
|
/**
|
|
8025
8134
|
* Rotate webhook secret
|
|
8026
8135
|
*
|
|
@@ -8071,7 +8180,6 @@ interface SoatClientOptions {
|
|
|
8071
8180
|
*/
|
|
8072
8181
|
declare class SoatClient {
|
|
8073
8182
|
readonly actors: typeof Actors;
|
|
8074
|
-
readonly agentTools: typeof AgentTools;
|
|
8075
8183
|
readonly agents: typeof Agents;
|
|
8076
8184
|
readonly aiProviders: typeof AiProviders;
|
|
8077
8185
|
readonly apiKeys: typeof ApiKeys;
|
|
@@ -8079,14 +8187,19 @@ declare class SoatClient {
|
|
|
8079
8187
|
readonly conversations: typeof Conversations;
|
|
8080
8188
|
readonly documents: typeof Documents;
|
|
8081
8189
|
readonly files: typeof Files;
|
|
8190
|
+
readonly formations: typeof Formations;
|
|
8191
|
+
readonly knowledge: typeof Knowledge;
|
|
8192
|
+
readonly memories: typeof Memories;
|
|
8193
|
+
readonly memoryEntries: typeof MemoryEntries;
|
|
8082
8194
|
readonly policies: typeof Policies;
|
|
8083
8195
|
readonly projects: typeof Projects;
|
|
8084
8196
|
readonly secrets: typeof Secrets;
|
|
8085
8197
|
readonly sessions: typeof Sessions;
|
|
8198
|
+
readonly tools: typeof Tools;
|
|
8086
8199
|
readonly traces: typeof Traces;
|
|
8087
8200
|
readonly users: typeof Users;
|
|
8088
8201
|
readonly webhooks: typeof Webhooks;
|
|
8089
8202
|
constructor({ baseUrl, token, headers }?: SoatClientOptions);
|
|
8090
8203
|
}
|
|
8091
8204
|
|
|
8092
|
-
export { type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentId, type AgentResourceProperties, type AgentTool, type AgentToolResourceProperties, AgentTools, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentActorData, type CreateAgentActorError, type CreateAgentActorErrors, type CreateAgentActorResponse, type CreateAgentActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAgentSessionData, type CreateAgentSessionError, type CreateAgentSessionErrors, type CreateAgentSessionResponse, type CreateAgentSessionResponses, type CreateAgentToolData, type CreateAgentToolError, type CreateAgentToolErrors, type CreateAgentToolRequest, type CreateAgentToolResponse, type CreateAgentToolResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatActorData, type CreateChatActorError, type CreateChatActorErrors, type CreateChatActorResponse, type CreateChatActorResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionRequest, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAgentSessionData, type DeleteAgentSessionError, type DeleteAgentSessionErrors, type DeleteAgentSessionResponse, type DeleteAgentSessionResponses, type DeleteAgentToolData, type DeleteAgentToolError, type DeleteAgentToolErrors, type DeleteAgentToolResponse, type DeleteAgentToolResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DocumentKnowledgeResult, type DocumentRecord, type DocumentResourceProperties, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, type ErrorResponse, type FileRecord, type FileResourceProperties, Files, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAgentSessionData, type GetAgentSessionError, type GetAgentSessionErrors, type GetAgentSessionResponse, type GetAgentSessionResponses, type GetAgentToolData, type GetAgentToolError, type GetAgentToolErrors, type GetAgentToolResponse, type GetAgentToolResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetProjectData, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserPoliciesData, type GetUserPoliciesErrors, type GetUserPoliciesResponse, type GetUserPoliciesResponses, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentSessionMessagesData, type ListAgentSessionMessagesError, type ListAgentSessionMessagesErrors, type ListAgentSessionMessagesResponse, type ListAgentSessionMessagesResponses, type ListAgentSessionsData, type ListAgentSessionsError, type ListAgentSessionsErrors, type ListAgentSessionsResponse, type ListAgentSessionsResponses, type ListAgentToolsData, type ListAgentToolsError, type ListAgentToolsErrors, type ListAgentToolsResponse, type ListAgentToolsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationActorsData, type ListConversationActorsError, type ListConversationActorsErrors, type ListConversationActorsResponse, type ListConversationActorsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type Options, type ParameterDeclaration, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type ProjectRecord, Projects, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type ResourceDeclaration, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionMessage, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type Trace, type TraceTreeNode, Traces, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAgentToolData, type UpdateAgentToolError, type UpdateAgentToolErrors, type UpdateAgentToolRequest, type UpdateAgentToolResponse, type UpdateAgentToolResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookWithSecret, Webhooks, createClient, createConfig };
|
|
8205
|
+
export { type ActorRecord, type ActorResourceProperties, Actors, type AddConversationMessageData, type AddConversationMessageError, type AddConversationMessageErrors, type AddConversationMessageResponse, type AddConversationMessageResponses, type AddSessionMessageData, type AddSessionMessageError, type AddSessionMessageErrors, type AddSessionMessageRequest, type AddSessionMessageResponse, type AddSessionMessageResponse2, type AddSessionMessageResponses, type AddSessionMessageSaved, type Agent, type AgentGenerationResponse, type AgentId, type AgentResourceProperties, Agents, type AiProviderResourceProperties, AiProviders, type ApiKeyCreated, type ApiKeyRecord, type ApiKeyResourceProperties, ApiKeys, type AttachUserPoliciesData, type AttachUserPoliciesError, type AttachUserPoliciesErrors, type AttachUserPoliciesResponse, type AttachUserPoliciesResponses, type BootstrapUserData, type BootstrapUserError, type BootstrapUserErrors, type BootstrapUserResponse, type BootstrapUserResponses, type CallToolData, type CallToolError, type CallToolErrors, type CallToolRequest, type CallToolResponse, type CallToolResponses, type Chat, type ChatCompletionChoice, type ChatCompletionForChatRequest, type ChatCompletionRequest, type ChatCompletionResponse, type ChatCompletionResponseMessage, type ChatMessage, type ChatMessageInput, type ChatResourceProperties, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, type ConversationResourceProperties, Conversations, type CreateActorData, type CreateActorError, type CreateActorErrors, type CreateActorResponse, type CreateActorResponses, type CreateAgentActorData, type CreateAgentActorError, type CreateAgentActorErrors, type CreateAgentActorResponse, type CreateAgentActorResponses, type CreateAgentData, type CreateAgentError, type CreateAgentErrors, type CreateAgentGenerationData, type CreateAgentGenerationError, type CreateAgentGenerationErrors, type CreateAgentGenerationRequest, type CreateAgentGenerationResponse, type CreateAgentGenerationResponses, type CreateAgentRequest, type CreateAgentResponse, type CreateAgentResponses, type CreateAgentSessionData, type CreateAgentSessionError, type CreateAgentSessionErrors, type CreateAgentSessionResponse, type CreateAgentSessionResponses, type CreateAiProviderData, type CreateAiProviderErrors, type CreateAiProviderResponse, type CreateAiProviderResponses, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateChatActorData, type CreateChatActorError, type CreateChatActorErrors, type CreateChatActorResponse, type CreateChatActorResponses, type CreateChatCompletionData, type CreateChatCompletionError, type CreateChatCompletionErrors, type CreateChatCompletionForChatData, type CreateChatCompletionForChatError, type CreateChatCompletionForChatErrors, type CreateChatCompletionForChatResponse, type CreateChatCompletionForChatResponses, type CreateChatCompletionResponse, type CreateChatCompletionResponses, type CreateChatData, type CreateChatError, type CreateChatErrors, type CreateChatRequest, type CreateChatResponse, type CreateChatResponses, type CreateConversationData, type CreateConversationError, type CreateConversationErrors, type CreateConversationResponse, type CreateConversationResponses, type CreateDocumentData, type CreateDocumentError, type CreateDocumentErrors, type CreateDocumentResponse, type CreateDocumentResponses, type CreateFileData, type CreateFileError, type CreateFileErrors, type CreateFileResponse, type CreateFileResponses, type CreateFormationData, type CreateFormationErrors, type CreateFormationResponse, type CreateFormationResponses, type CreateMemoryData, type CreateMemoryEntryData, type CreateMemoryEntryErrors, type CreateMemoryEntryResponse, type CreateMemoryEntryResponses, type CreateMemoryErrors, type CreateMemoryResponse, type CreateMemoryResponses, type CreatePolicyData, type CreatePolicyError, type CreatePolicyErrors, type CreatePolicyResponse, type CreatePolicyResponses, type CreateProjectData, type CreateProjectErrors, type CreateProjectResponse, type CreateProjectResponses, type CreateSecretData, type CreateSecretErrors, type CreateSecretResponse, type CreateSecretResponses, type CreateSessionRequest, type CreateToolData, type CreateToolError, type CreateToolErrors, type CreateToolRequest, type CreateToolResponse, type CreateToolResponses, type CreateUserData, type CreateUserError, type CreateUserErrors, type CreateUserResponse, type CreateUserResponses, type CreateWebhookData, type CreateWebhookErrors, type CreateWebhookRequest, type CreateWebhookResponse, type CreateWebhookResponses, type DeleteActorData, type DeleteActorError, type DeleteActorErrors, type DeleteActorResponse, type DeleteActorResponses, type DeleteAgentData, type DeleteAgentError, type DeleteAgentErrors, type DeleteAgentResponse, type DeleteAgentResponses, type DeleteAgentSessionData, type DeleteAgentSessionError, type DeleteAgentSessionErrors, type DeleteAgentSessionResponse, type DeleteAgentSessionResponses, type DeleteAiProviderData, type DeleteAiProviderErrors, type DeleteAiProviderResponses, type DeleteApiKeyData, type DeleteApiKeyErrors, type DeleteApiKeyResponse, type DeleteApiKeyResponses, type DeleteChatData, type DeleteChatError, type DeleteChatErrors, type DeleteChatResponse, type DeleteChatResponses, type DeleteConversationData, type DeleteConversationError, type DeleteConversationErrors, type DeleteConversationResponse, type DeleteConversationResponses, type DeleteDocumentData, type DeleteDocumentError, type DeleteDocumentErrors, type DeleteDocumentResponse, type DeleteDocumentResponses, type DeleteFileData, type DeleteFileError, type DeleteFileErrors, type DeleteFileResponse, type DeleteFileResponses, type DeleteFormationData, type DeleteFormationErrors, type DeleteFormationResponse, type DeleteFormationResponses, type DeleteMemoryData, type DeleteMemoryEntryData, type DeleteMemoryEntryErrors, type DeleteMemoryEntryResponse, type DeleteMemoryEntryResponses, type DeleteMemoryErrors, type DeleteMemoryResponse, type DeleteMemoryResponses, type DeletePolicyData, type DeletePolicyErrors, type DeletePolicyResponse, type DeletePolicyResponses, type DeleteProjectData, type DeleteProjectErrors, type DeleteProjectResponse, type DeleteProjectResponses, type DeleteSecretData, type DeleteSecretErrors, type DeleteSecretResponses, type DeleteToolData, type DeleteToolError, type DeleteToolErrors, type DeleteToolResponse, type DeleteToolResponses, type DeleteUserData, type DeleteUserError, type DeleteUserErrors, type DeleteUserResponse, type DeleteUserResponses, type DeleteWebhookData, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type Delivery, type DeliveryListResponse, type DocumentKnowledgeResult, type DocumentRecord, type DocumentResourceProperties, Documents, type DownloadFileBase64Data, type DownloadFileBase64Error, type DownloadFileBase64Errors, type DownloadFileBase64Response, type DownloadFileBase64Responses, type DownloadFileData, type DownloadFileError, type DownloadFileErrors, type DownloadFileResponse, type DownloadFileResponses, type ErrorResponse, type FileRecord, type FileResourceProperties, Files, type Formation, type FormationEvent, type FormationOperation, type FormationResource, type FormationTemplate, type FormationTemplateInput, Formations, type GenerateConversationMessageCompleted, type GenerateConversationMessageData, type GenerateConversationMessageError, type GenerateConversationMessageErrors, type GenerateConversationMessageRequiresAction, type GenerateConversationMessageResponse, type GenerateConversationMessageResponse2, type GenerateConversationMessageResponses, type GenerateSessionRequest, type GenerateSessionResponse, type GenerateSessionResponseData, type GenerateSessionResponseError, type GenerateSessionResponseErrors, type GenerateSessionResponseResponse, type GenerateSessionResponseResponses, type GetActorData, type GetActorError, type GetActorErrors, type GetActorResponse, type GetActorResponses, type GetActorTagsData, type GetActorTagsError, type GetActorTagsErrors, type GetActorTagsResponse, type GetActorTagsResponses, type GetAgentData, type GetAgentError, type GetAgentErrors, type GetAgentResponse, type GetAgentResponses, type GetAgentSessionData, type GetAgentSessionError, type GetAgentSessionErrors, type GetAgentSessionResponse, type GetAgentSessionResponses, type GetAiProviderData, type GetAiProviderErrors, type GetAiProviderResponse, type GetAiProviderResponses, type GetApiKeyData, type GetApiKeyErrors, type GetApiKeyResponse, type GetApiKeyResponses, type GetChatData, type GetChatError, type GetChatErrors, type GetChatResponse, type GetChatResponses, type GetConversationData, type GetConversationError, type GetConversationErrors, type GetConversationResponse, type GetConversationResponses, type GetConversationTagsData, type GetConversationTagsError, type GetConversationTagsErrors, type GetConversationTagsResponse, type GetConversationTagsResponses, type GetDocumentData, type GetDocumentError, type GetDocumentErrors, type GetDocumentResponse, type GetDocumentResponses, type GetDocumentTagsData, type GetDocumentTagsError, type GetDocumentTagsErrors, type GetDocumentTagsResponse, type GetDocumentTagsResponses, type GetFileData, type GetFileError, type GetFileErrors, type GetFileResponse, type GetFileResponses, type GetFileTagsData, type GetFileTagsError, type GetFileTagsErrors, type GetFileTagsResponse, type GetFileTagsResponses, type GetFormationData, type GetFormationErrors, type GetFormationResponse, type GetFormationResponses, type GetMemoryData, type GetMemoryEntryData, type GetMemoryEntryErrors, type GetMemoryEntryResponse, type GetMemoryEntryResponses, type GetMemoryErrors, type GetMemoryResponse, type GetMemoryResponses, type GetPolicyData, type GetPolicyErrors, type GetPolicyResponse, type GetPolicyResponses, type GetProjectData, type GetProjectErrors, type GetProjectResponse, type GetProjectResponses, type GetSecretData, type GetSecretErrors, type GetSecretResponse, type GetSecretResponses, type GetSessionTagsData, type GetSessionTagsError, type GetSessionTagsErrors, type GetSessionTagsResponse, type GetSessionTagsResponses, type GetToolData, type GetToolError, type GetToolErrors, type GetToolResponse, type GetToolResponses, type GetTraceData, type GetTraceError, type GetTraceErrors, type GetTraceResponse, type GetTraceResponses, type GetTraceTreeData, type GetTraceTreeError, type GetTraceTreeErrors, type GetTraceTreeResponse, type GetTraceTreeResponses, type GetUserData, type GetUserError, type GetUserErrors, type GetUserPoliciesData, type GetUserPoliciesErrors, type GetUserPoliciesResponse, type GetUserPoliciesResponses, type GetUserResponse, type GetUserResponses, type GetWebhookData, type GetWebhookDeliveryData, type GetWebhookDeliveryErrors, type GetWebhookDeliveryResponse, type GetWebhookDeliveryResponses, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookSecretData, type GetWebhookSecretErrors, type GetWebhookSecretResponse, type GetWebhookSecretResponses, Knowledge, type KnowledgeResult, type ListActorsData, type ListActorsError, type ListActorsErrors, type ListActorsResponse, type ListActorsResponses, type ListAgentSessionMessagesData, type ListAgentSessionMessagesError, type ListAgentSessionMessagesErrors, type ListAgentSessionMessagesResponse, type ListAgentSessionMessagesResponses, type ListAgentSessionsData, type ListAgentSessionsError, type ListAgentSessionsErrors, type ListAgentSessionsResponse, type ListAgentSessionsResponses, type ListAgentsData, type ListAgentsError, type ListAgentsErrors, type ListAgentsResponse, type ListAgentsResponses, type ListAiProvidersData, type ListAiProvidersErrors, type ListAiProvidersResponse, type ListAiProvidersResponses, type ListApiKeysData, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListChatsData, type ListChatsError, type ListChatsErrors, type ListChatsResponse, type ListChatsResponses, type ListConversationActorsData, type ListConversationActorsError, type ListConversationActorsErrors, type ListConversationActorsResponse, type ListConversationActorsResponses, type ListConversationMessagesData, type ListConversationMessagesError, type ListConversationMessagesErrors, type ListConversationMessagesResponse, type ListConversationMessagesResponses, type ListConversationsData, type ListConversationsError, type ListConversationsErrors, type ListConversationsResponse, type ListConversationsResponses, type ListDocumentsData, type ListDocumentsError, type ListDocumentsErrors, type ListDocumentsResponse, type ListDocumentsResponses, type ListFilesData, type ListFilesError, type ListFilesErrors, type ListFilesResponse, type ListFilesResponses, type ListFormationEventsData, type ListFormationEventsErrors, type ListFormationEventsResponse, type ListFormationEventsResponses, type ListFormationsData, type ListFormationsErrors, type ListFormationsResponse, type ListFormationsResponses, type ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListMemoryEntriesData, type ListMemoryEntriesErrors, type ListMemoryEntriesResponse, type ListMemoryEntriesResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, type ListToolsData, type ListToolsError, type ListToolsErrors, type ListToolsResponse, type ListToolsResponses, type ListTracesData, type ListTracesError, type ListTracesErrors, type ListTracesResponse, type ListTracesResponses, type ListUsersData, type ListUsersError, type ListUsersErrors, type ListUsersResponse, type ListUsersResponses, type ListWebhookDeliveriesData, type ListWebhookDeliveriesErrors, type ListWebhookDeliveriesResponse, type ListWebhookDeliveriesResponses, type ListWebhooksData, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, type LoginResponse, type LoginUserData, type LoginUserError, type LoginUserErrors, type LoginUserResponse, type LoginUserResponses, Memories, type Memory, MemoryEntries, type MemoryEntry, type MemoryEntryResourceProperties, type MemoryEntryWriteResult, type MemoryKnowledgeResult, type MemoryResourceProperties, type MergeActorTagsData, type MergeActorTagsError, type MergeActorTagsErrors, type MergeActorTagsResponse, type MergeActorTagsResponses, type MergeConversationTagsData, type MergeConversationTagsError, type MergeConversationTagsErrors, type MergeConversationTagsResponse, type MergeConversationTagsResponses, type MergeDocumentTagsData, type MergeDocumentTagsError, type MergeDocumentTagsErrors, type MergeDocumentTagsResponse, type MergeDocumentTagsResponses, type MergeFileTagsData, type MergeFileTagsError, type MergeFileTagsErrors, type MergeFileTagsResponse, type MergeFileTagsResponses, type MergeSessionTagsData, type MergeSessionTagsError, type MergeSessionTagsErrors, type MergeSessionTagsResponse, type MergeSessionTagsResponses, type Options, type ParameterDeclaration, type PlanChange, type PlanFormationData, type PlanFormationErrors, type PlanFormationResponse, type PlanFormationResponses, type PlanResult, Policies, type PolicyDocument, type PolicyRecord, type PolicyResourceProperties, type PolicyStatement, type ProjectRecord, Projects, type RemoveConversationMessageData, type RemoveConversationMessageError, type RemoveConversationMessageErrors, type RemoveConversationMessageResponse, type RemoveConversationMessageResponses, type ReplaceActorTagsData, type ReplaceActorTagsError, type ReplaceActorTagsErrors, type ReplaceActorTagsResponse, type ReplaceActorTagsResponses, type ReplaceConversationTagsData, type ReplaceConversationTagsError, type ReplaceConversationTagsErrors, type ReplaceConversationTagsResponse, type ReplaceConversationTagsResponses, type ReplaceDocumentTagsData, type ReplaceDocumentTagsError, type ReplaceDocumentTagsErrors, type ReplaceDocumentTagsResponse, type ReplaceDocumentTagsResponses, type ReplaceFileTagsData, type ReplaceFileTagsError, type ReplaceFileTagsErrors, type ReplaceFileTagsResponse, type ReplaceFileTagsResponses, type ReplaceSessionTagsData, type ReplaceSessionTagsError, type ReplaceSessionTagsErrors, type ReplaceSessionTagsResponse, type ReplaceSessionTagsResponses, type ResourceDeclaration, type RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SecretResourceProperties, Secrets, type SendSessionMessageResponse, type SessionId, type SessionMessage, type SessionRecord, type SessionResourceProperties, Sessions, SoatClient, type SoatClientOptions, type SubmitAgentToolOutputsData, type SubmitAgentToolOutputsError, type SubmitAgentToolOutputsErrors, type SubmitAgentToolOutputsResponse, type SubmitAgentToolOutputsResponses, type SubmitSessionToolOutputsData, type SubmitSessionToolOutputsError, type SubmitSessionToolOutputsErrors, type SubmitSessionToolOutputsRequest, type SubmitSessionToolOutputsResponse, type SubmitSessionToolOutputsResponses, type SubmitToolOutputsRequest, type Tool, type ToolResourceProperties, Tools, type Trace, type TraceTreeNode, Traces, type UpdateActorData, type UpdateActorError, type UpdateActorErrors, type UpdateActorResponse, type UpdateActorResponses, type UpdateAgentData, type UpdateAgentError, type UpdateAgentErrors, type UpdateAgentRequest, type UpdateAgentResponse, type UpdateAgentResponses, type UpdateAiProviderData, type UpdateAiProviderErrors, type UpdateAiProviderResponses, type UpdateApiKeyData, type UpdateApiKeyError, type UpdateApiKeyErrors, type UpdateApiKeyResponse, type UpdateApiKeyResponses, type UpdateConversationData, type UpdateConversationError, type UpdateConversationErrors, type UpdateConversationResponse, type UpdateConversationResponses, type UpdateDocumentData, type UpdateDocumentError, type UpdateDocumentErrors, type UpdateDocumentResponse, type UpdateDocumentResponses, type UpdateFileMetadataData, type UpdateFileMetadataError, type UpdateFileMetadataErrors, type UpdateFileMetadataResponse, type UpdateFileMetadataResponses, type UpdateFormationData, type UpdateFormationErrors, type UpdateFormationResponse, type UpdateFormationResponses, type UpdateMemoryData, type UpdateMemoryEntryData, type UpdateMemoryEntryErrors, type UpdateMemoryEntryResponse, type UpdateMemoryEntryResponses, type UpdateMemoryErrors, type UpdateMemoryResponse, type UpdateMemoryResponses, type UpdatePolicyData, type UpdatePolicyError, type UpdatePolicyErrors, type UpdatePolicyResponse, type UpdatePolicyResponses, type UpdateSecretData, type UpdateSecretErrors, type UpdateSecretResponses, type UpdateSessionData, type UpdateSessionError, type UpdateSessionErrors, type UpdateSessionRequest, type UpdateSessionResponse, type UpdateSessionResponses, type UpdateToolData, type UpdateToolError, type UpdateToolErrors, type UpdateToolRequest, type UpdateToolResponse, type UpdateToolResponses, type UpdateWebhookData, type UpdateWebhookErrors, type UpdateWebhookRequest, type UpdateWebhookResponse, type UpdateWebhookResponses, type UploadFileBase64Data, type UploadFileBase64Error, type UploadFileBase64Errors, type UploadFileBase64Request, type UploadFileBase64Response, type UploadFileBase64Responses, type UploadFileData, type UploadFileError, type UploadFileErrors, type UploadFileResponse, type UploadFileResponses, type UserRecord, Users, type ValidateFormationData, type ValidateFormationErrors, type ValidateFormationResponse, type ValidateFormationResponses, type ValidationError, type ValidationResult, type Webhook, type WebhookResourceProperties, type WebhookSecretResponse, type WebhookWithSecret, Webhooks, createClient, createConfig };
|