@soat/sdk 0.4.17 → 0.4.18
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 +84 -1
- package/dist/index.d.cts +325 -1
- package/dist/index.d.ts +325 -1
- package/dist/index.js +85 -0
- package/package.json +1 -1
package/dist/esm/index.js
CHANGED
|
@@ -1885,6 +1885,89 @@ var Files = class {
|
|
|
1885
1885
|
});
|
|
1886
1886
|
}
|
|
1887
1887
|
};
|
|
1888
|
+
var Memories = class {
|
|
1889
|
+
static {
|
|
1890
|
+
__name(this, "Memories");
|
|
1891
|
+
}
|
|
1892
|
+
/**
|
|
1893
|
+
* List memories
|
|
1894
|
+
*
|
|
1895
|
+
* Returns a list of memory configurations for a project
|
|
1896
|
+
*/
|
|
1897
|
+
static listMemories(options) {
|
|
1898
|
+
return (options?.client ?? client).get({
|
|
1899
|
+
url: "/api/v1/memories",
|
|
1900
|
+
...options
|
|
1901
|
+
});
|
|
1902
|
+
}
|
|
1903
|
+
/**
|
|
1904
|
+
* Create a memory
|
|
1905
|
+
*
|
|
1906
|
+
* Creates a new memory configuration in a project
|
|
1907
|
+
*/
|
|
1908
|
+
static createMemory(options) {
|
|
1909
|
+
return (options.client ?? client).post({
|
|
1910
|
+
url: "/api/v1/memories",
|
|
1911
|
+
...options,
|
|
1912
|
+
headers: {
|
|
1913
|
+
"Content-Type": "application/json",
|
|
1914
|
+
...options.headers
|
|
1915
|
+
}
|
|
1916
|
+
});
|
|
1917
|
+
}
|
|
1918
|
+
/**
|
|
1919
|
+
* Delete a memory
|
|
1920
|
+
*
|
|
1921
|
+
* Deletes a memory configuration
|
|
1922
|
+
*/
|
|
1923
|
+
static deleteMemory(options) {
|
|
1924
|
+
return (options.client ?? client).delete({
|
|
1925
|
+
url: "/api/v1/memories/{memory_id}",
|
|
1926
|
+
...options
|
|
1927
|
+
});
|
|
1928
|
+
}
|
|
1929
|
+
/**
|
|
1930
|
+
* Get a memory
|
|
1931
|
+
*
|
|
1932
|
+
* Returns a single memory configuration by ID
|
|
1933
|
+
*/
|
|
1934
|
+
static getMemory(options) {
|
|
1935
|
+
return (options.client ?? client).get({
|
|
1936
|
+
url: "/api/v1/memories/{memory_id}",
|
|
1937
|
+
...options
|
|
1938
|
+
});
|
|
1939
|
+
}
|
|
1940
|
+
/**
|
|
1941
|
+
* Update a memory
|
|
1942
|
+
*
|
|
1943
|
+
* Updates an existing memory configuration
|
|
1944
|
+
*/
|
|
1945
|
+
static updateMemory(options) {
|
|
1946
|
+
return (options.client ?? client).put({
|
|
1947
|
+
url: "/api/v1/memories/{memory_id}",
|
|
1948
|
+
...options,
|
|
1949
|
+
headers: {
|
|
1950
|
+
"Content-Type": "application/json",
|
|
1951
|
+
...options.headers
|
|
1952
|
+
}
|
|
1953
|
+
});
|
|
1954
|
+
}
|
|
1955
|
+
/**
|
|
1956
|
+
* Search memory documents
|
|
1957
|
+
*
|
|
1958
|
+
* Runs a document search using the memory's stored configuration, with optional field overrides in the request body
|
|
1959
|
+
*/
|
|
1960
|
+
static searchMemory(options) {
|
|
1961
|
+
return (options.client ?? client).post({
|
|
1962
|
+
url: "/api/v1/memories/{memory_id}/search",
|
|
1963
|
+
...options,
|
|
1964
|
+
headers: {
|
|
1965
|
+
"Content-Type": "application/json",
|
|
1966
|
+
...options.headers
|
|
1967
|
+
}
|
|
1968
|
+
});
|
|
1969
|
+
}
|
|
1970
|
+
};
|
|
1888
1971
|
var Policies = class {
|
|
1889
1972
|
static {
|
|
1890
1973
|
__name(this, "Policies");
|
|
@@ -2514,4 +2597,4 @@ var SoatClient = class {
|
|
|
2514
2597
|
this.webhooks = bindResource(Webhooks, httpClient);
|
|
2515
2598
|
}
|
|
2516
2599
|
};
|
|
2517
|
-
export { Actors, AgentTools, AgentTraces, Agents, AiProviders, ApiKeys, Chats, Conversations, Documents, Files, Policies, Projects, Secrets, Sessions, SoatClient, Users, Webhooks, createClient, createConfig };
|
|
2600
|
+
export { Actors, AgentTools, AgentTraces, Agents, AiProviders, ApiKeys, Chats, Conversations, Documents, Files, Memories, Policies, Projects, Secrets, Sessions, SoatClient, Users, Webhooks, createClient, createConfig };
|
package/dist/index.d.cts
CHANGED
|
@@ -391,6 +391,12 @@ type AgentTool = {
|
|
|
391
391
|
* SOAT platform actions to expose
|
|
392
392
|
*/
|
|
393
393
|
actions?: Array<string> | null;
|
|
394
|
+
/**
|
|
395
|
+
* 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.
|
|
396
|
+
*/
|
|
397
|
+
preset_parameters?: {
|
|
398
|
+
[key: string]: unknown;
|
|
399
|
+
} | null;
|
|
394
400
|
created_at?: Date;
|
|
395
401
|
updated_at?: Date;
|
|
396
402
|
};
|
|
@@ -434,6 +440,12 @@ type CreateAgentToolRequest = {
|
|
|
434
440
|
* SOAT platform actions
|
|
435
441
|
*/
|
|
436
442
|
actions?: Array<string>;
|
|
443
|
+
/**
|
|
444
|
+
* 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.
|
|
445
|
+
*/
|
|
446
|
+
preset_parameters?: {
|
|
447
|
+
[key: string]: unknown;
|
|
448
|
+
};
|
|
437
449
|
};
|
|
438
450
|
type UpdateAgentToolRequest = {
|
|
439
451
|
name?: string;
|
|
@@ -453,6 +465,12 @@ type UpdateAgentToolRequest = {
|
|
|
453
465
|
[key: string]: unknown;
|
|
454
466
|
} | null;
|
|
455
467
|
actions?: Array<string> | null;
|
|
468
|
+
/**
|
|
469
|
+
* 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.
|
|
470
|
+
*/
|
|
471
|
+
preset_parameters?: {
|
|
472
|
+
[key: string]: unknown;
|
|
473
|
+
} | null;
|
|
456
474
|
};
|
|
457
475
|
type Agent = {
|
|
458
476
|
/**
|
|
@@ -1039,6 +1057,40 @@ type FileRecord = {
|
|
|
1039
1057
|
*/
|
|
1040
1058
|
updated_at?: Date;
|
|
1041
1059
|
};
|
|
1060
|
+
/**
|
|
1061
|
+
* Configuration for document retrieval. At least one of search, paths, or document_ids must be provided when creating a memory.
|
|
1062
|
+
*/
|
|
1063
|
+
type MemoryConfig = {
|
|
1064
|
+
/**
|
|
1065
|
+
* Semantic search query string
|
|
1066
|
+
*/
|
|
1067
|
+
search?: string;
|
|
1068
|
+
/**
|
|
1069
|
+
* Minimum relevance score threshold (only used when search is set)
|
|
1070
|
+
*/
|
|
1071
|
+
min_score?: number;
|
|
1072
|
+
/**
|
|
1073
|
+
* Maximum number of documents to return
|
|
1074
|
+
*/
|
|
1075
|
+
limit?: number;
|
|
1076
|
+
/**
|
|
1077
|
+
* Filter documents to files whose path starts with one of these prefixes
|
|
1078
|
+
*/
|
|
1079
|
+
paths?: Array<string>;
|
|
1080
|
+
/**
|
|
1081
|
+
* Filter to specific document IDs
|
|
1082
|
+
*/
|
|
1083
|
+
document_ids?: Array<string>;
|
|
1084
|
+
};
|
|
1085
|
+
type Memory = {
|
|
1086
|
+
id?: string;
|
|
1087
|
+
project_id?: string;
|
|
1088
|
+
name?: string;
|
|
1089
|
+
description?: string | null;
|
|
1090
|
+
config?: MemoryConfig;
|
|
1091
|
+
created_at?: Date;
|
|
1092
|
+
updated_at?: Date;
|
|
1093
|
+
};
|
|
1042
1094
|
type PolicyStatement = {
|
|
1043
1095
|
effect: 'Allow' | 'Deny';
|
|
1044
1096
|
action: Array<string>;
|
|
@@ -4096,6 +4148,240 @@ type ReplaceFileTagsResponses = {
|
|
|
4096
4148
|
};
|
|
4097
4149
|
};
|
|
4098
4150
|
type ReplaceFileTagsResponse = ReplaceFileTagsResponses[keyof ReplaceFileTagsResponses];
|
|
4151
|
+
type ListMemoriesData = {
|
|
4152
|
+
body?: never;
|
|
4153
|
+
path?: never;
|
|
4154
|
+
query?: {
|
|
4155
|
+
/**
|
|
4156
|
+
* Project ID (required if not using project key auth)
|
|
4157
|
+
*/
|
|
4158
|
+
project_id?: string;
|
|
4159
|
+
};
|
|
4160
|
+
url: '/api/v1/memories';
|
|
4161
|
+
};
|
|
4162
|
+
type ListMemoriesErrors = {
|
|
4163
|
+
/**
|
|
4164
|
+
* Unauthorized
|
|
4165
|
+
*/
|
|
4166
|
+
401: unknown;
|
|
4167
|
+
/**
|
|
4168
|
+
* Forbidden
|
|
4169
|
+
*/
|
|
4170
|
+
403: unknown;
|
|
4171
|
+
/**
|
|
4172
|
+
* Internal server error
|
|
4173
|
+
*/
|
|
4174
|
+
500: unknown;
|
|
4175
|
+
};
|
|
4176
|
+
type ListMemoriesResponses = {
|
|
4177
|
+
/**
|
|
4178
|
+
* List of memories
|
|
4179
|
+
*/
|
|
4180
|
+
200: Array<Memory>;
|
|
4181
|
+
};
|
|
4182
|
+
type ListMemoriesResponse = ListMemoriesResponses[keyof ListMemoriesResponses];
|
|
4183
|
+
type CreateMemoryData = {
|
|
4184
|
+
body: {
|
|
4185
|
+
/**
|
|
4186
|
+
* Project ID (required if not using project key auth)
|
|
4187
|
+
*/
|
|
4188
|
+
project_id?: string;
|
|
4189
|
+
/**
|
|
4190
|
+
* Memory name
|
|
4191
|
+
*/
|
|
4192
|
+
name: string;
|
|
4193
|
+
/**
|
|
4194
|
+
* Optional description
|
|
4195
|
+
*/
|
|
4196
|
+
description?: string;
|
|
4197
|
+
config: MemoryConfig;
|
|
4198
|
+
};
|
|
4199
|
+
path?: never;
|
|
4200
|
+
query?: never;
|
|
4201
|
+
url: '/api/v1/memories';
|
|
4202
|
+
};
|
|
4203
|
+
type CreateMemoryErrors = {
|
|
4204
|
+
/**
|
|
4205
|
+
* Bad request (missing required fields or invalid config)
|
|
4206
|
+
*/
|
|
4207
|
+
400: unknown;
|
|
4208
|
+
/**
|
|
4209
|
+
* Unauthorized
|
|
4210
|
+
*/
|
|
4211
|
+
401: unknown;
|
|
4212
|
+
/**
|
|
4213
|
+
* Forbidden
|
|
4214
|
+
*/
|
|
4215
|
+
403: unknown;
|
|
4216
|
+
/**
|
|
4217
|
+
* Internal server error
|
|
4218
|
+
*/
|
|
4219
|
+
500: unknown;
|
|
4220
|
+
};
|
|
4221
|
+
type CreateMemoryResponses = {
|
|
4222
|
+
/**
|
|
4223
|
+
* Memory created
|
|
4224
|
+
*/
|
|
4225
|
+
201: Memory;
|
|
4226
|
+
};
|
|
4227
|
+
type CreateMemoryResponse = CreateMemoryResponses[keyof CreateMemoryResponses];
|
|
4228
|
+
type DeleteMemoryData = {
|
|
4229
|
+
body?: never;
|
|
4230
|
+
path: {
|
|
4231
|
+
memory_id: string;
|
|
4232
|
+
};
|
|
4233
|
+
query?: never;
|
|
4234
|
+
url: '/api/v1/memories/{memory_id}';
|
|
4235
|
+
};
|
|
4236
|
+
type DeleteMemoryErrors = {
|
|
4237
|
+
/**
|
|
4238
|
+
* Unauthorized
|
|
4239
|
+
*/
|
|
4240
|
+
401: unknown;
|
|
4241
|
+
/**
|
|
4242
|
+
* Forbidden
|
|
4243
|
+
*/
|
|
4244
|
+
403: unknown;
|
|
4245
|
+
/**
|
|
4246
|
+
* Memory not found
|
|
4247
|
+
*/
|
|
4248
|
+
404: unknown;
|
|
4249
|
+
/**
|
|
4250
|
+
* Internal server error
|
|
4251
|
+
*/
|
|
4252
|
+
500: unknown;
|
|
4253
|
+
};
|
|
4254
|
+
type DeleteMemoryResponses = {
|
|
4255
|
+
/**
|
|
4256
|
+
* Memory deleted
|
|
4257
|
+
*/
|
|
4258
|
+
204: void;
|
|
4259
|
+
};
|
|
4260
|
+
type DeleteMemoryResponse = DeleteMemoryResponses[keyof DeleteMemoryResponses];
|
|
4261
|
+
type GetMemoryData = {
|
|
4262
|
+
body?: never;
|
|
4263
|
+
path: {
|
|
4264
|
+
memory_id: string;
|
|
4265
|
+
};
|
|
4266
|
+
query?: never;
|
|
4267
|
+
url: '/api/v1/memories/{memory_id}';
|
|
4268
|
+
};
|
|
4269
|
+
type GetMemoryErrors = {
|
|
4270
|
+
/**
|
|
4271
|
+
* Unauthorized
|
|
4272
|
+
*/
|
|
4273
|
+
401: unknown;
|
|
4274
|
+
/**
|
|
4275
|
+
* Forbidden
|
|
4276
|
+
*/
|
|
4277
|
+
403: unknown;
|
|
4278
|
+
/**
|
|
4279
|
+
* Memory not found
|
|
4280
|
+
*/
|
|
4281
|
+
404: unknown;
|
|
4282
|
+
/**
|
|
4283
|
+
* Internal server error
|
|
4284
|
+
*/
|
|
4285
|
+
500: unknown;
|
|
4286
|
+
};
|
|
4287
|
+
type GetMemoryResponses = {
|
|
4288
|
+
/**
|
|
4289
|
+
* Memory found
|
|
4290
|
+
*/
|
|
4291
|
+
200: Memory;
|
|
4292
|
+
};
|
|
4293
|
+
type GetMemoryResponse = GetMemoryResponses[keyof GetMemoryResponses];
|
|
4294
|
+
type UpdateMemoryData = {
|
|
4295
|
+
body: {
|
|
4296
|
+
/**
|
|
4297
|
+
* Memory name
|
|
4298
|
+
*/
|
|
4299
|
+
name?: string;
|
|
4300
|
+
/**
|
|
4301
|
+
* Optional description
|
|
4302
|
+
*/
|
|
4303
|
+
description?: string | null;
|
|
4304
|
+
config?: MemoryConfig;
|
|
4305
|
+
};
|
|
4306
|
+
path: {
|
|
4307
|
+
memory_id: string;
|
|
4308
|
+
};
|
|
4309
|
+
query?: never;
|
|
4310
|
+
url: '/api/v1/memories/{memory_id}';
|
|
4311
|
+
};
|
|
4312
|
+
type UpdateMemoryErrors = {
|
|
4313
|
+
/**
|
|
4314
|
+
* Unauthorized
|
|
4315
|
+
*/
|
|
4316
|
+
401: unknown;
|
|
4317
|
+
/**
|
|
4318
|
+
* Forbidden
|
|
4319
|
+
*/
|
|
4320
|
+
403: unknown;
|
|
4321
|
+
/**
|
|
4322
|
+
* Memory not found
|
|
4323
|
+
*/
|
|
4324
|
+
404: unknown;
|
|
4325
|
+
/**
|
|
4326
|
+
* Internal server error
|
|
4327
|
+
*/
|
|
4328
|
+
500: unknown;
|
|
4329
|
+
};
|
|
4330
|
+
type UpdateMemoryResponses = {
|
|
4331
|
+
/**
|
|
4332
|
+
* Memory updated
|
|
4333
|
+
*/
|
|
4334
|
+
200: Memory;
|
|
4335
|
+
};
|
|
4336
|
+
type UpdateMemoryResponse = UpdateMemoryResponses[keyof UpdateMemoryResponses];
|
|
4337
|
+
type SearchMemoryData = {
|
|
4338
|
+
body?: MemoryConfig;
|
|
4339
|
+
path: {
|
|
4340
|
+
memory_id: string;
|
|
4341
|
+
};
|
|
4342
|
+
query?: never;
|
|
4343
|
+
url: '/api/v1/memories/{memory_id}/search';
|
|
4344
|
+
};
|
|
4345
|
+
type SearchMemoryErrors = {
|
|
4346
|
+
/**
|
|
4347
|
+
* Unauthorized
|
|
4348
|
+
*/
|
|
4349
|
+
401: unknown;
|
|
4350
|
+
/**
|
|
4351
|
+
* Forbidden
|
|
4352
|
+
*/
|
|
4353
|
+
403: unknown;
|
|
4354
|
+
/**
|
|
4355
|
+
* Memory not found
|
|
4356
|
+
*/
|
|
4357
|
+
404: unknown;
|
|
4358
|
+
/**
|
|
4359
|
+
* Internal server error
|
|
4360
|
+
*/
|
|
4361
|
+
500: unknown;
|
|
4362
|
+
};
|
|
4363
|
+
type SearchMemoryResponses = {
|
|
4364
|
+
/**
|
|
4365
|
+
* Search results
|
|
4366
|
+
*/
|
|
4367
|
+
200: {
|
|
4368
|
+
documents?: Array<{
|
|
4369
|
+
id?: string;
|
|
4370
|
+
file_id?: string;
|
|
4371
|
+
project_id?: string;
|
|
4372
|
+
filename?: string;
|
|
4373
|
+
title?: string;
|
|
4374
|
+
content?: string | null;
|
|
4375
|
+
/**
|
|
4376
|
+
* Relevance score (0-1); only present when search is used
|
|
4377
|
+
*/
|
|
4378
|
+
score?: number;
|
|
4379
|
+
created_at?: Date;
|
|
4380
|
+
updated_at?: Date;
|
|
4381
|
+
}>;
|
|
4382
|
+
};
|
|
4383
|
+
};
|
|
4384
|
+
type SearchMemoryResponse = SearchMemoryResponses[keyof SearchMemoryResponses];
|
|
4099
4385
|
type ListPoliciesData = {
|
|
4100
4386
|
body?: never;
|
|
4101
4387
|
path?: never;
|
|
@@ -6013,6 +6299,44 @@ declare class Files {
|
|
|
6013
6299
|
*/
|
|
6014
6300
|
static replaceFileTags<ThrowOnError extends boolean = false>(options: Options<ReplaceFileTagsData, ThrowOnError>): RequestResult<ReplaceFileTagsResponses, ReplaceFileTagsErrors, ThrowOnError, "fields">;
|
|
6015
6301
|
}
|
|
6302
|
+
declare class Memories {
|
|
6303
|
+
/**
|
|
6304
|
+
* List memories
|
|
6305
|
+
*
|
|
6306
|
+
* Returns a list of memory configurations for a project
|
|
6307
|
+
*/
|
|
6308
|
+
static listMemories<ThrowOnError extends boolean = false>(options?: Options<ListMemoriesData, ThrowOnError>): RequestResult<ListMemoriesResponses, ListMemoriesErrors, ThrowOnError, "fields">;
|
|
6309
|
+
/**
|
|
6310
|
+
* Create a memory
|
|
6311
|
+
*
|
|
6312
|
+
* Creates a new memory configuration in a project
|
|
6313
|
+
*/
|
|
6314
|
+
static createMemory<ThrowOnError extends boolean = false>(options: Options<CreateMemoryData, ThrowOnError>): RequestResult<CreateMemoryResponses, CreateMemoryErrors, ThrowOnError, "fields">;
|
|
6315
|
+
/**
|
|
6316
|
+
* Delete a memory
|
|
6317
|
+
*
|
|
6318
|
+
* Deletes a memory configuration
|
|
6319
|
+
*/
|
|
6320
|
+
static deleteMemory<ThrowOnError extends boolean = false>(options: Options<DeleteMemoryData, ThrowOnError>): RequestResult<DeleteMemoryResponses, DeleteMemoryErrors, ThrowOnError, "fields">;
|
|
6321
|
+
/**
|
|
6322
|
+
* Get a memory
|
|
6323
|
+
*
|
|
6324
|
+
* Returns a single memory configuration by ID
|
|
6325
|
+
*/
|
|
6326
|
+
static getMemory<ThrowOnError extends boolean = false>(options: Options<GetMemoryData, ThrowOnError>): RequestResult<GetMemoryResponses, GetMemoryErrors, ThrowOnError, "fields">;
|
|
6327
|
+
/**
|
|
6328
|
+
* Update a memory
|
|
6329
|
+
*
|
|
6330
|
+
* Updates an existing memory configuration
|
|
6331
|
+
*/
|
|
6332
|
+
static updateMemory<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryData, ThrowOnError>): RequestResult<UpdateMemoryResponses, UpdateMemoryErrors, ThrowOnError, "fields">;
|
|
6333
|
+
/**
|
|
6334
|
+
* Search memory documents
|
|
6335
|
+
*
|
|
6336
|
+
* Runs a document search using the memory's stored configuration, with optional field overrides in the request body
|
|
6337
|
+
*/
|
|
6338
|
+
static searchMemory<ThrowOnError extends boolean = false>(options: Options<SearchMemoryData, ThrowOnError>): RequestResult<SearchMemoryResponses, SearchMemoryErrors, ThrowOnError, "fields">;
|
|
6339
|
+
}
|
|
6016
6340
|
declare class Policies {
|
|
6017
6341
|
/**
|
|
6018
6342
|
* List all policies
|
|
@@ -6337,4 +6661,4 @@ declare class SoatClient {
|
|
|
6337
6661
|
constructor({ baseUrl, token, headers }?: SoatClientOptions);
|
|
6338
6662
|
}
|
|
6339
6663
|
|
|
6340
|
-
export { type ActorRecord, 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 AgentTool, AgentTools, type AgentTrace, AgentTraces, Agents, AiProviders, type ApiKeyCreated, type ApiKeyRecord, 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, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, 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 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 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 DocumentRecord, 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, Files, 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 GetAgentTraceData, type GetAgentTraceError, type GetAgentTraceErrors, type GetAgentTraceResponse, type GetAgentTraceResponses, 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 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 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 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 ListAgentTracesData, type ListAgentTracesError, type ListAgentTracesErrors, type ListAgentTracesResponse, type ListAgentTracesResponses, 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 ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, 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, 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, Policies, type PolicyDocument, type PolicyRecord, 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 RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type SearchDocumentsData, type SearchDocumentsError, type SearchDocumentsErrors, type SearchDocumentsResponse, type SearchDocumentsResponses, Secrets, type SendSessionMessageResponse, type SessionId, type SessionMessage, type SessionRecord, 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 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 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 Webhook, type WebhookWithSecret, Webhooks, createClient, createConfig };
|
|
6664
|
+
export { type ActorRecord, 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 AgentTool, AgentTools, type AgentTrace, AgentTraces, Agents, AiProviders, type ApiKeyCreated, type ApiKeyRecord, 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, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, 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 CreateMemoryData, 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 DeleteMemoryData, 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 DocumentRecord, 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, Files, 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 GetAgentTraceData, type GetAgentTraceError, type GetAgentTraceErrors, type GetAgentTraceResponse, type GetAgentTraceResponses, 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 GetMemoryData, 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 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 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 ListAgentTracesData, type ListAgentTracesError, type ListAgentTracesErrors, type ListAgentTracesResponse, type ListAgentTracesResponses, 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 ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, 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, type MemoryConfig, 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, Policies, type PolicyDocument, type PolicyRecord, 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 RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type SearchDocumentsData, type SearchDocumentsError, type SearchDocumentsErrors, type SearchDocumentsResponse, type SearchDocumentsResponses, type SearchMemoryData, type SearchMemoryErrors, type SearchMemoryResponse, type SearchMemoryResponses, Secrets, type SendSessionMessageResponse, type SessionId, type SessionMessage, type SessionRecord, 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 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 UpdateMemoryData, 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 Webhook, type WebhookWithSecret, Webhooks, createClient, createConfig };
|
package/dist/index.d.ts
CHANGED
|
@@ -391,6 +391,12 @@ type AgentTool = {
|
|
|
391
391
|
* SOAT platform actions to expose
|
|
392
392
|
*/
|
|
393
393
|
actions?: Array<string> | null;
|
|
394
|
+
/**
|
|
395
|
+
* 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.
|
|
396
|
+
*/
|
|
397
|
+
preset_parameters?: {
|
|
398
|
+
[key: string]: unknown;
|
|
399
|
+
} | null;
|
|
394
400
|
created_at?: Date;
|
|
395
401
|
updated_at?: Date;
|
|
396
402
|
};
|
|
@@ -434,6 +440,12 @@ type CreateAgentToolRequest = {
|
|
|
434
440
|
* SOAT platform actions
|
|
435
441
|
*/
|
|
436
442
|
actions?: Array<string>;
|
|
443
|
+
/**
|
|
444
|
+
* 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.
|
|
445
|
+
*/
|
|
446
|
+
preset_parameters?: {
|
|
447
|
+
[key: string]: unknown;
|
|
448
|
+
};
|
|
437
449
|
};
|
|
438
450
|
type UpdateAgentToolRequest = {
|
|
439
451
|
name?: string;
|
|
@@ -453,6 +465,12 @@ type UpdateAgentToolRequest = {
|
|
|
453
465
|
[key: string]: unknown;
|
|
454
466
|
} | null;
|
|
455
467
|
actions?: Array<string> | null;
|
|
468
|
+
/**
|
|
469
|
+
* 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.
|
|
470
|
+
*/
|
|
471
|
+
preset_parameters?: {
|
|
472
|
+
[key: string]: unknown;
|
|
473
|
+
} | null;
|
|
456
474
|
};
|
|
457
475
|
type Agent = {
|
|
458
476
|
/**
|
|
@@ -1039,6 +1057,40 @@ type FileRecord = {
|
|
|
1039
1057
|
*/
|
|
1040
1058
|
updated_at?: Date;
|
|
1041
1059
|
};
|
|
1060
|
+
/**
|
|
1061
|
+
* Configuration for document retrieval. At least one of search, paths, or document_ids must be provided when creating a memory.
|
|
1062
|
+
*/
|
|
1063
|
+
type MemoryConfig = {
|
|
1064
|
+
/**
|
|
1065
|
+
* Semantic search query string
|
|
1066
|
+
*/
|
|
1067
|
+
search?: string;
|
|
1068
|
+
/**
|
|
1069
|
+
* Minimum relevance score threshold (only used when search is set)
|
|
1070
|
+
*/
|
|
1071
|
+
min_score?: number;
|
|
1072
|
+
/**
|
|
1073
|
+
* Maximum number of documents to return
|
|
1074
|
+
*/
|
|
1075
|
+
limit?: number;
|
|
1076
|
+
/**
|
|
1077
|
+
* Filter documents to files whose path starts with one of these prefixes
|
|
1078
|
+
*/
|
|
1079
|
+
paths?: Array<string>;
|
|
1080
|
+
/**
|
|
1081
|
+
* Filter to specific document IDs
|
|
1082
|
+
*/
|
|
1083
|
+
document_ids?: Array<string>;
|
|
1084
|
+
};
|
|
1085
|
+
type Memory = {
|
|
1086
|
+
id?: string;
|
|
1087
|
+
project_id?: string;
|
|
1088
|
+
name?: string;
|
|
1089
|
+
description?: string | null;
|
|
1090
|
+
config?: MemoryConfig;
|
|
1091
|
+
created_at?: Date;
|
|
1092
|
+
updated_at?: Date;
|
|
1093
|
+
};
|
|
1042
1094
|
type PolicyStatement = {
|
|
1043
1095
|
effect: 'Allow' | 'Deny';
|
|
1044
1096
|
action: Array<string>;
|
|
@@ -4096,6 +4148,240 @@ type ReplaceFileTagsResponses = {
|
|
|
4096
4148
|
};
|
|
4097
4149
|
};
|
|
4098
4150
|
type ReplaceFileTagsResponse = ReplaceFileTagsResponses[keyof ReplaceFileTagsResponses];
|
|
4151
|
+
type ListMemoriesData = {
|
|
4152
|
+
body?: never;
|
|
4153
|
+
path?: never;
|
|
4154
|
+
query?: {
|
|
4155
|
+
/**
|
|
4156
|
+
* Project ID (required if not using project key auth)
|
|
4157
|
+
*/
|
|
4158
|
+
project_id?: string;
|
|
4159
|
+
};
|
|
4160
|
+
url: '/api/v1/memories';
|
|
4161
|
+
};
|
|
4162
|
+
type ListMemoriesErrors = {
|
|
4163
|
+
/**
|
|
4164
|
+
* Unauthorized
|
|
4165
|
+
*/
|
|
4166
|
+
401: unknown;
|
|
4167
|
+
/**
|
|
4168
|
+
* Forbidden
|
|
4169
|
+
*/
|
|
4170
|
+
403: unknown;
|
|
4171
|
+
/**
|
|
4172
|
+
* Internal server error
|
|
4173
|
+
*/
|
|
4174
|
+
500: unknown;
|
|
4175
|
+
};
|
|
4176
|
+
type ListMemoriesResponses = {
|
|
4177
|
+
/**
|
|
4178
|
+
* List of memories
|
|
4179
|
+
*/
|
|
4180
|
+
200: Array<Memory>;
|
|
4181
|
+
};
|
|
4182
|
+
type ListMemoriesResponse = ListMemoriesResponses[keyof ListMemoriesResponses];
|
|
4183
|
+
type CreateMemoryData = {
|
|
4184
|
+
body: {
|
|
4185
|
+
/**
|
|
4186
|
+
* Project ID (required if not using project key auth)
|
|
4187
|
+
*/
|
|
4188
|
+
project_id?: string;
|
|
4189
|
+
/**
|
|
4190
|
+
* Memory name
|
|
4191
|
+
*/
|
|
4192
|
+
name: string;
|
|
4193
|
+
/**
|
|
4194
|
+
* Optional description
|
|
4195
|
+
*/
|
|
4196
|
+
description?: string;
|
|
4197
|
+
config: MemoryConfig;
|
|
4198
|
+
};
|
|
4199
|
+
path?: never;
|
|
4200
|
+
query?: never;
|
|
4201
|
+
url: '/api/v1/memories';
|
|
4202
|
+
};
|
|
4203
|
+
type CreateMemoryErrors = {
|
|
4204
|
+
/**
|
|
4205
|
+
* Bad request (missing required fields or invalid config)
|
|
4206
|
+
*/
|
|
4207
|
+
400: unknown;
|
|
4208
|
+
/**
|
|
4209
|
+
* Unauthorized
|
|
4210
|
+
*/
|
|
4211
|
+
401: unknown;
|
|
4212
|
+
/**
|
|
4213
|
+
* Forbidden
|
|
4214
|
+
*/
|
|
4215
|
+
403: unknown;
|
|
4216
|
+
/**
|
|
4217
|
+
* Internal server error
|
|
4218
|
+
*/
|
|
4219
|
+
500: unknown;
|
|
4220
|
+
};
|
|
4221
|
+
type CreateMemoryResponses = {
|
|
4222
|
+
/**
|
|
4223
|
+
* Memory created
|
|
4224
|
+
*/
|
|
4225
|
+
201: Memory;
|
|
4226
|
+
};
|
|
4227
|
+
type CreateMemoryResponse = CreateMemoryResponses[keyof CreateMemoryResponses];
|
|
4228
|
+
type DeleteMemoryData = {
|
|
4229
|
+
body?: never;
|
|
4230
|
+
path: {
|
|
4231
|
+
memory_id: string;
|
|
4232
|
+
};
|
|
4233
|
+
query?: never;
|
|
4234
|
+
url: '/api/v1/memories/{memory_id}';
|
|
4235
|
+
};
|
|
4236
|
+
type DeleteMemoryErrors = {
|
|
4237
|
+
/**
|
|
4238
|
+
* Unauthorized
|
|
4239
|
+
*/
|
|
4240
|
+
401: unknown;
|
|
4241
|
+
/**
|
|
4242
|
+
* Forbidden
|
|
4243
|
+
*/
|
|
4244
|
+
403: unknown;
|
|
4245
|
+
/**
|
|
4246
|
+
* Memory not found
|
|
4247
|
+
*/
|
|
4248
|
+
404: unknown;
|
|
4249
|
+
/**
|
|
4250
|
+
* Internal server error
|
|
4251
|
+
*/
|
|
4252
|
+
500: unknown;
|
|
4253
|
+
};
|
|
4254
|
+
type DeleteMemoryResponses = {
|
|
4255
|
+
/**
|
|
4256
|
+
* Memory deleted
|
|
4257
|
+
*/
|
|
4258
|
+
204: void;
|
|
4259
|
+
};
|
|
4260
|
+
type DeleteMemoryResponse = DeleteMemoryResponses[keyof DeleteMemoryResponses];
|
|
4261
|
+
type GetMemoryData = {
|
|
4262
|
+
body?: never;
|
|
4263
|
+
path: {
|
|
4264
|
+
memory_id: string;
|
|
4265
|
+
};
|
|
4266
|
+
query?: never;
|
|
4267
|
+
url: '/api/v1/memories/{memory_id}';
|
|
4268
|
+
};
|
|
4269
|
+
type GetMemoryErrors = {
|
|
4270
|
+
/**
|
|
4271
|
+
* Unauthorized
|
|
4272
|
+
*/
|
|
4273
|
+
401: unknown;
|
|
4274
|
+
/**
|
|
4275
|
+
* Forbidden
|
|
4276
|
+
*/
|
|
4277
|
+
403: unknown;
|
|
4278
|
+
/**
|
|
4279
|
+
* Memory not found
|
|
4280
|
+
*/
|
|
4281
|
+
404: unknown;
|
|
4282
|
+
/**
|
|
4283
|
+
* Internal server error
|
|
4284
|
+
*/
|
|
4285
|
+
500: unknown;
|
|
4286
|
+
};
|
|
4287
|
+
type GetMemoryResponses = {
|
|
4288
|
+
/**
|
|
4289
|
+
* Memory found
|
|
4290
|
+
*/
|
|
4291
|
+
200: Memory;
|
|
4292
|
+
};
|
|
4293
|
+
type GetMemoryResponse = GetMemoryResponses[keyof GetMemoryResponses];
|
|
4294
|
+
type UpdateMemoryData = {
|
|
4295
|
+
body: {
|
|
4296
|
+
/**
|
|
4297
|
+
* Memory name
|
|
4298
|
+
*/
|
|
4299
|
+
name?: string;
|
|
4300
|
+
/**
|
|
4301
|
+
* Optional description
|
|
4302
|
+
*/
|
|
4303
|
+
description?: string | null;
|
|
4304
|
+
config?: MemoryConfig;
|
|
4305
|
+
};
|
|
4306
|
+
path: {
|
|
4307
|
+
memory_id: string;
|
|
4308
|
+
};
|
|
4309
|
+
query?: never;
|
|
4310
|
+
url: '/api/v1/memories/{memory_id}';
|
|
4311
|
+
};
|
|
4312
|
+
type UpdateMemoryErrors = {
|
|
4313
|
+
/**
|
|
4314
|
+
* Unauthorized
|
|
4315
|
+
*/
|
|
4316
|
+
401: unknown;
|
|
4317
|
+
/**
|
|
4318
|
+
* Forbidden
|
|
4319
|
+
*/
|
|
4320
|
+
403: unknown;
|
|
4321
|
+
/**
|
|
4322
|
+
* Memory not found
|
|
4323
|
+
*/
|
|
4324
|
+
404: unknown;
|
|
4325
|
+
/**
|
|
4326
|
+
* Internal server error
|
|
4327
|
+
*/
|
|
4328
|
+
500: unknown;
|
|
4329
|
+
};
|
|
4330
|
+
type UpdateMemoryResponses = {
|
|
4331
|
+
/**
|
|
4332
|
+
* Memory updated
|
|
4333
|
+
*/
|
|
4334
|
+
200: Memory;
|
|
4335
|
+
};
|
|
4336
|
+
type UpdateMemoryResponse = UpdateMemoryResponses[keyof UpdateMemoryResponses];
|
|
4337
|
+
type SearchMemoryData = {
|
|
4338
|
+
body?: MemoryConfig;
|
|
4339
|
+
path: {
|
|
4340
|
+
memory_id: string;
|
|
4341
|
+
};
|
|
4342
|
+
query?: never;
|
|
4343
|
+
url: '/api/v1/memories/{memory_id}/search';
|
|
4344
|
+
};
|
|
4345
|
+
type SearchMemoryErrors = {
|
|
4346
|
+
/**
|
|
4347
|
+
* Unauthorized
|
|
4348
|
+
*/
|
|
4349
|
+
401: unknown;
|
|
4350
|
+
/**
|
|
4351
|
+
* Forbidden
|
|
4352
|
+
*/
|
|
4353
|
+
403: unknown;
|
|
4354
|
+
/**
|
|
4355
|
+
* Memory not found
|
|
4356
|
+
*/
|
|
4357
|
+
404: unknown;
|
|
4358
|
+
/**
|
|
4359
|
+
* Internal server error
|
|
4360
|
+
*/
|
|
4361
|
+
500: unknown;
|
|
4362
|
+
};
|
|
4363
|
+
type SearchMemoryResponses = {
|
|
4364
|
+
/**
|
|
4365
|
+
* Search results
|
|
4366
|
+
*/
|
|
4367
|
+
200: {
|
|
4368
|
+
documents?: Array<{
|
|
4369
|
+
id?: string;
|
|
4370
|
+
file_id?: string;
|
|
4371
|
+
project_id?: string;
|
|
4372
|
+
filename?: string;
|
|
4373
|
+
title?: string;
|
|
4374
|
+
content?: string | null;
|
|
4375
|
+
/**
|
|
4376
|
+
* Relevance score (0-1); only present when search is used
|
|
4377
|
+
*/
|
|
4378
|
+
score?: number;
|
|
4379
|
+
created_at?: Date;
|
|
4380
|
+
updated_at?: Date;
|
|
4381
|
+
}>;
|
|
4382
|
+
};
|
|
4383
|
+
};
|
|
4384
|
+
type SearchMemoryResponse = SearchMemoryResponses[keyof SearchMemoryResponses];
|
|
4099
4385
|
type ListPoliciesData = {
|
|
4100
4386
|
body?: never;
|
|
4101
4387
|
path?: never;
|
|
@@ -6013,6 +6299,44 @@ declare class Files {
|
|
|
6013
6299
|
*/
|
|
6014
6300
|
static replaceFileTags<ThrowOnError extends boolean = false>(options: Options<ReplaceFileTagsData, ThrowOnError>): RequestResult<ReplaceFileTagsResponses, ReplaceFileTagsErrors, ThrowOnError, "fields">;
|
|
6015
6301
|
}
|
|
6302
|
+
declare class Memories {
|
|
6303
|
+
/**
|
|
6304
|
+
* List memories
|
|
6305
|
+
*
|
|
6306
|
+
* Returns a list of memory configurations for a project
|
|
6307
|
+
*/
|
|
6308
|
+
static listMemories<ThrowOnError extends boolean = false>(options?: Options<ListMemoriesData, ThrowOnError>): RequestResult<ListMemoriesResponses, ListMemoriesErrors, ThrowOnError, "fields">;
|
|
6309
|
+
/**
|
|
6310
|
+
* Create a memory
|
|
6311
|
+
*
|
|
6312
|
+
* Creates a new memory configuration in a project
|
|
6313
|
+
*/
|
|
6314
|
+
static createMemory<ThrowOnError extends boolean = false>(options: Options<CreateMemoryData, ThrowOnError>): RequestResult<CreateMemoryResponses, CreateMemoryErrors, ThrowOnError, "fields">;
|
|
6315
|
+
/**
|
|
6316
|
+
* Delete a memory
|
|
6317
|
+
*
|
|
6318
|
+
* Deletes a memory configuration
|
|
6319
|
+
*/
|
|
6320
|
+
static deleteMemory<ThrowOnError extends boolean = false>(options: Options<DeleteMemoryData, ThrowOnError>): RequestResult<DeleteMemoryResponses, DeleteMemoryErrors, ThrowOnError, "fields">;
|
|
6321
|
+
/**
|
|
6322
|
+
* Get a memory
|
|
6323
|
+
*
|
|
6324
|
+
* Returns a single memory configuration by ID
|
|
6325
|
+
*/
|
|
6326
|
+
static getMemory<ThrowOnError extends boolean = false>(options: Options<GetMemoryData, ThrowOnError>): RequestResult<GetMemoryResponses, GetMemoryErrors, ThrowOnError, "fields">;
|
|
6327
|
+
/**
|
|
6328
|
+
* Update a memory
|
|
6329
|
+
*
|
|
6330
|
+
* Updates an existing memory configuration
|
|
6331
|
+
*/
|
|
6332
|
+
static updateMemory<ThrowOnError extends boolean = false>(options: Options<UpdateMemoryData, ThrowOnError>): RequestResult<UpdateMemoryResponses, UpdateMemoryErrors, ThrowOnError, "fields">;
|
|
6333
|
+
/**
|
|
6334
|
+
* Search memory documents
|
|
6335
|
+
*
|
|
6336
|
+
* Runs a document search using the memory's stored configuration, with optional field overrides in the request body
|
|
6337
|
+
*/
|
|
6338
|
+
static searchMemory<ThrowOnError extends boolean = false>(options: Options<SearchMemoryData, ThrowOnError>): RequestResult<SearchMemoryResponses, SearchMemoryErrors, ThrowOnError, "fields">;
|
|
6339
|
+
}
|
|
6016
6340
|
declare class Policies {
|
|
6017
6341
|
/**
|
|
6018
6342
|
* List all policies
|
|
@@ -6337,4 +6661,4 @@ declare class SoatClient {
|
|
|
6337
6661
|
constructor({ baseUrl, token, headers }?: SoatClientOptions);
|
|
6338
6662
|
}
|
|
6339
6663
|
|
|
6340
|
-
export { type ActorRecord, 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 AgentTool, AgentTools, type AgentTrace, AgentTraces, Agents, AiProviders, type ApiKeyCreated, type ApiKeyRecord, 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, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, 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 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 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 DocumentRecord, 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, Files, 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 GetAgentTraceData, type GetAgentTraceError, type GetAgentTraceErrors, type GetAgentTraceResponse, type GetAgentTraceResponses, 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 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 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 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 ListAgentTracesData, type ListAgentTracesError, type ListAgentTracesErrors, type ListAgentTracesResponse, type ListAgentTracesResponses, 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 ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, 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, 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, Policies, type PolicyDocument, type PolicyRecord, 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 RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type SearchDocumentsData, type SearchDocumentsError, type SearchDocumentsErrors, type SearchDocumentsResponse, type SearchDocumentsResponses, Secrets, type SendSessionMessageResponse, type SessionId, type SessionMessage, type SessionRecord, 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 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 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 Webhook, type WebhookWithSecret, Webhooks, createClient, createConfig };
|
|
6664
|
+
export { type ActorRecord, 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 AgentTool, AgentTools, type AgentTrace, AgentTraces, Agents, AiProviders, type ApiKeyCreated, type ApiKeyRecord, 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, Chats, type ClientOptions, type ConversationActorRecord, type ConversationMessageRecord, type ConversationRecord, 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 CreateMemoryData, 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 DeleteMemoryData, 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 DocumentRecord, 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, Files, 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 GetAgentTraceData, type GetAgentTraceError, type GetAgentTraceErrors, type GetAgentTraceResponse, type GetAgentTraceResponses, 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 GetMemoryData, 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 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 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 ListAgentTracesData, type ListAgentTracesError, type ListAgentTracesErrors, type ListAgentTracesResponse, type ListAgentTracesResponses, 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 ListMemoriesData, type ListMemoriesErrors, type ListMemoriesResponse, type ListMemoriesResponses, type ListPoliciesData, type ListPoliciesErrors, type ListPoliciesResponse, type ListPoliciesResponses, type ListSecretsData, type ListSecretsErrors, type ListSecretsResponse, type ListSecretsResponses, 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, type MemoryConfig, 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, Policies, type PolicyDocument, type PolicyRecord, 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 RotateWebhookSecretData, type RotateWebhookSecretErrors, type RotateWebhookSecretResponse, type RotateWebhookSecretResponses, type SearchDocumentsData, type SearchDocumentsError, type SearchDocumentsErrors, type SearchDocumentsResponse, type SearchDocumentsResponses, type SearchMemoryData, type SearchMemoryErrors, type SearchMemoryResponse, type SearchMemoryResponses, Secrets, type SendSessionMessageResponse, type SessionId, type SessionMessage, type SessionRecord, 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 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 UpdateMemoryData, 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 Webhook, type WebhookWithSecret, Webhooks, createClient, createConfig };
|
package/dist/index.js
CHANGED
|
@@ -41,6 +41,7 @@ __export(index_exports, {
|
|
|
41
41
|
Conversations: () => Conversations,
|
|
42
42
|
Documents: () => Documents,
|
|
43
43
|
Files: () => Files,
|
|
44
|
+
Memories: () => Memories,
|
|
44
45
|
Policies: () => Policies,
|
|
45
46
|
Projects: () => Projects,
|
|
46
47
|
Secrets: () => Secrets,
|
|
@@ -1933,6 +1934,89 @@ var Files = class {
|
|
|
1933
1934
|
});
|
|
1934
1935
|
}
|
|
1935
1936
|
};
|
|
1937
|
+
var Memories = class {
|
|
1938
|
+
static {
|
|
1939
|
+
__name(this, "Memories");
|
|
1940
|
+
}
|
|
1941
|
+
/**
|
|
1942
|
+
* List memories
|
|
1943
|
+
*
|
|
1944
|
+
* Returns a list of memory configurations for a project
|
|
1945
|
+
*/
|
|
1946
|
+
static listMemories(options) {
|
|
1947
|
+
return (options?.client ?? client).get({
|
|
1948
|
+
url: "/api/v1/memories",
|
|
1949
|
+
...options
|
|
1950
|
+
});
|
|
1951
|
+
}
|
|
1952
|
+
/**
|
|
1953
|
+
* Create a memory
|
|
1954
|
+
*
|
|
1955
|
+
* Creates a new memory configuration in a project
|
|
1956
|
+
*/
|
|
1957
|
+
static createMemory(options) {
|
|
1958
|
+
return (options.client ?? client).post({
|
|
1959
|
+
url: "/api/v1/memories",
|
|
1960
|
+
...options,
|
|
1961
|
+
headers: {
|
|
1962
|
+
"Content-Type": "application/json",
|
|
1963
|
+
...options.headers
|
|
1964
|
+
}
|
|
1965
|
+
});
|
|
1966
|
+
}
|
|
1967
|
+
/**
|
|
1968
|
+
* Delete a memory
|
|
1969
|
+
*
|
|
1970
|
+
* Deletes a memory configuration
|
|
1971
|
+
*/
|
|
1972
|
+
static deleteMemory(options) {
|
|
1973
|
+
return (options.client ?? client).delete({
|
|
1974
|
+
url: "/api/v1/memories/{memory_id}",
|
|
1975
|
+
...options
|
|
1976
|
+
});
|
|
1977
|
+
}
|
|
1978
|
+
/**
|
|
1979
|
+
* Get a memory
|
|
1980
|
+
*
|
|
1981
|
+
* Returns a single memory configuration by ID
|
|
1982
|
+
*/
|
|
1983
|
+
static getMemory(options) {
|
|
1984
|
+
return (options.client ?? client).get({
|
|
1985
|
+
url: "/api/v1/memories/{memory_id}",
|
|
1986
|
+
...options
|
|
1987
|
+
});
|
|
1988
|
+
}
|
|
1989
|
+
/**
|
|
1990
|
+
* Update a memory
|
|
1991
|
+
*
|
|
1992
|
+
* Updates an existing memory configuration
|
|
1993
|
+
*/
|
|
1994
|
+
static updateMemory(options) {
|
|
1995
|
+
return (options.client ?? client).put({
|
|
1996
|
+
url: "/api/v1/memories/{memory_id}",
|
|
1997
|
+
...options,
|
|
1998
|
+
headers: {
|
|
1999
|
+
"Content-Type": "application/json",
|
|
2000
|
+
...options.headers
|
|
2001
|
+
}
|
|
2002
|
+
});
|
|
2003
|
+
}
|
|
2004
|
+
/**
|
|
2005
|
+
* Search memory documents
|
|
2006
|
+
*
|
|
2007
|
+
* Runs a document search using the memory's stored configuration, with optional field overrides in the request body
|
|
2008
|
+
*/
|
|
2009
|
+
static searchMemory(options) {
|
|
2010
|
+
return (options.client ?? client).post({
|
|
2011
|
+
url: "/api/v1/memories/{memory_id}/search",
|
|
2012
|
+
...options,
|
|
2013
|
+
headers: {
|
|
2014
|
+
"Content-Type": "application/json",
|
|
2015
|
+
...options.headers
|
|
2016
|
+
}
|
|
2017
|
+
});
|
|
2018
|
+
}
|
|
2019
|
+
};
|
|
1936
2020
|
var Policies = class {
|
|
1937
2021
|
static {
|
|
1938
2022
|
__name(this, "Policies");
|
|
@@ -2574,6 +2658,7 @@ var SoatClient = class {
|
|
|
2574
2658
|
Conversations,
|
|
2575
2659
|
Documents,
|
|
2576
2660
|
Files,
|
|
2661
|
+
Memories,
|
|
2577
2662
|
Policies,
|
|
2578
2663
|
Projects,
|
|
2579
2664
|
Secrets,
|