@soat/sdk 0.4.7 → 0.4.9
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 +16 -212
- package/dist/index.d.cts +27 -1
- package/dist/index.d.ts +27 -1
- package/dist/index.js +16 -212
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -921,10 +921,6 @@ var Actors = class {
|
|
|
921
921
|
*/
|
|
922
922
|
static listActors(options) {
|
|
923
923
|
return (options?.client ?? client).get({
|
|
924
|
-
security: [{
|
|
925
|
-
scheme: "bearer",
|
|
926
|
-
type: "http"
|
|
927
|
-
}],
|
|
928
924
|
url: "/api/v1/actors",
|
|
929
925
|
...options
|
|
930
926
|
});
|
|
@@ -936,10 +932,6 @@ var Actors = class {
|
|
|
936
932
|
*/
|
|
937
933
|
static createActor(options) {
|
|
938
934
|
return (options.client ?? client).post({
|
|
939
|
-
security: [{
|
|
940
|
-
scheme: "bearer",
|
|
941
|
-
type: "http"
|
|
942
|
-
}],
|
|
943
935
|
url: "/api/v1/actors",
|
|
944
936
|
...options,
|
|
945
937
|
headers: {
|
|
@@ -955,10 +947,6 @@ var Actors = class {
|
|
|
955
947
|
*/
|
|
956
948
|
static deleteActor(options) {
|
|
957
949
|
return (options.client ?? client).delete({
|
|
958
|
-
security: [{
|
|
959
|
-
scheme: "bearer",
|
|
960
|
-
type: "http"
|
|
961
|
-
}],
|
|
962
950
|
url: "/api/v1/actors/{actor_id}",
|
|
963
951
|
...options
|
|
964
952
|
});
|
|
@@ -970,10 +958,6 @@ var Actors = class {
|
|
|
970
958
|
*/
|
|
971
959
|
static getActor(options) {
|
|
972
960
|
return (options.client ?? client).get({
|
|
973
|
-
security: [{
|
|
974
|
-
scheme: "bearer",
|
|
975
|
-
type: "http"
|
|
976
|
-
}],
|
|
977
961
|
url: "/api/v1/actors/{actor_id}",
|
|
978
962
|
...options
|
|
979
963
|
});
|
|
@@ -985,10 +969,6 @@ var Actors = class {
|
|
|
985
969
|
*/
|
|
986
970
|
static updateActor(options) {
|
|
987
971
|
return (options.client ?? client).patch({
|
|
988
|
-
security: [{
|
|
989
|
-
scheme: "bearer",
|
|
990
|
-
type: "http"
|
|
991
|
-
}],
|
|
992
972
|
url: "/api/v1/actors/{actor_id}",
|
|
993
973
|
...options,
|
|
994
974
|
headers: {
|
|
@@ -1004,10 +984,6 @@ var Actors = class {
|
|
|
1004
984
|
*/
|
|
1005
985
|
static getActorTags(options) {
|
|
1006
986
|
return (options.client ?? client).get({
|
|
1007
|
-
security: [{
|
|
1008
|
-
scheme: "bearer",
|
|
1009
|
-
type: "http"
|
|
1010
|
-
}],
|
|
1011
987
|
url: "/api/v1/actors/{actor_id}/tags",
|
|
1012
988
|
...options
|
|
1013
989
|
});
|
|
@@ -1019,10 +995,6 @@ var Actors = class {
|
|
|
1019
995
|
*/
|
|
1020
996
|
static mergeActorTags(options) {
|
|
1021
997
|
return (options.client ?? client).patch({
|
|
1022
|
-
security: [{
|
|
1023
|
-
scheme: "bearer",
|
|
1024
|
-
type: "http"
|
|
1025
|
-
}],
|
|
1026
998
|
url: "/api/v1/actors/{actor_id}/tags",
|
|
1027
999
|
...options,
|
|
1028
1000
|
headers: {
|
|
@@ -1038,10 +1010,6 @@ var Actors = class {
|
|
|
1038
1010
|
*/
|
|
1039
1011
|
static replaceActorTags(options) {
|
|
1040
1012
|
return (options.client ?? client).put({
|
|
1041
|
-
security: [{
|
|
1042
|
-
scheme: "bearer",
|
|
1043
|
-
type: "http"
|
|
1044
|
-
}],
|
|
1045
1013
|
url: "/api/v1/actors/{actor_id}/tags",
|
|
1046
1014
|
...options,
|
|
1047
1015
|
headers: {
|
|
@@ -1062,10 +1030,6 @@ var AgentTools = class {
|
|
|
1062
1030
|
*/
|
|
1063
1031
|
static listAgentTools(options) {
|
|
1064
1032
|
return (options?.client ?? client).get({
|
|
1065
|
-
security: [{
|
|
1066
|
-
scheme: "bearer",
|
|
1067
|
-
type: "http"
|
|
1068
|
-
}],
|
|
1069
1033
|
url: "/api/v1/agents/tools",
|
|
1070
1034
|
...options
|
|
1071
1035
|
});
|
|
@@ -1077,10 +1041,6 @@ var AgentTools = class {
|
|
|
1077
1041
|
*/
|
|
1078
1042
|
static createAgentTool(options) {
|
|
1079
1043
|
return (options.client ?? client).post({
|
|
1080
|
-
security: [{
|
|
1081
|
-
scheme: "bearer",
|
|
1082
|
-
type: "http"
|
|
1083
|
-
}],
|
|
1084
1044
|
url: "/api/v1/agents/tools",
|
|
1085
1045
|
...options,
|
|
1086
1046
|
headers: {
|
|
@@ -1096,10 +1056,6 @@ var AgentTools = class {
|
|
|
1096
1056
|
*/
|
|
1097
1057
|
static deleteAgentTool(options) {
|
|
1098
1058
|
return (options.client ?? client).delete({
|
|
1099
|
-
security: [{
|
|
1100
|
-
scheme: "bearer",
|
|
1101
|
-
type: "http"
|
|
1102
|
-
}],
|
|
1103
1059
|
url: "/api/v1/agents/tools/{tool_id}",
|
|
1104
1060
|
...options
|
|
1105
1061
|
});
|
|
@@ -1111,10 +1067,6 @@ var AgentTools = class {
|
|
|
1111
1067
|
*/
|
|
1112
1068
|
static getAgentTool(options) {
|
|
1113
1069
|
return (options.client ?? client).get({
|
|
1114
|
-
security: [{
|
|
1115
|
-
scheme: "bearer",
|
|
1116
|
-
type: "http"
|
|
1117
|
-
}],
|
|
1118
1070
|
url: "/api/v1/agents/tools/{tool_id}",
|
|
1119
1071
|
...options
|
|
1120
1072
|
});
|
|
@@ -1126,10 +1078,6 @@ var AgentTools = class {
|
|
|
1126
1078
|
*/
|
|
1127
1079
|
static updateAgentTool(options) {
|
|
1128
1080
|
return (options.client ?? client).put({
|
|
1129
|
-
security: [{
|
|
1130
|
-
scheme: "bearer",
|
|
1131
|
-
type: "http"
|
|
1132
|
-
}],
|
|
1133
1081
|
url: "/api/v1/agents/tools/{tool_id}",
|
|
1134
1082
|
...options,
|
|
1135
1083
|
headers: {
|
|
@@ -1150,10 +1098,6 @@ var AgentTraces = class {
|
|
|
1150
1098
|
*/
|
|
1151
1099
|
static listAgentTraces(options) {
|
|
1152
1100
|
return (options?.client ?? client).get({
|
|
1153
|
-
security: [{
|
|
1154
|
-
scheme: "bearer",
|
|
1155
|
-
type: "http"
|
|
1156
|
-
}],
|
|
1157
1101
|
url: "/api/v1/agents/traces",
|
|
1158
1102
|
...options
|
|
1159
1103
|
});
|
|
@@ -1165,10 +1109,6 @@ var AgentTraces = class {
|
|
|
1165
1109
|
*/
|
|
1166
1110
|
static getAgentTrace(options) {
|
|
1167
1111
|
return (options.client ?? client).get({
|
|
1168
|
-
security: [{
|
|
1169
|
-
scheme: "bearer",
|
|
1170
|
-
type: "http"
|
|
1171
|
-
}],
|
|
1172
1112
|
url: "/api/v1/agents/traces/{trace_id}",
|
|
1173
1113
|
...options
|
|
1174
1114
|
});
|
|
@@ -1185,10 +1125,6 @@ var Agents = class {
|
|
|
1185
1125
|
*/
|
|
1186
1126
|
static listAgents(options) {
|
|
1187
1127
|
return (options?.client ?? client).get({
|
|
1188
|
-
security: [{
|
|
1189
|
-
scheme: "bearer",
|
|
1190
|
-
type: "http"
|
|
1191
|
-
}],
|
|
1192
1128
|
url: "/api/v1/agents",
|
|
1193
1129
|
...options
|
|
1194
1130
|
});
|
|
@@ -1200,10 +1136,6 @@ var Agents = class {
|
|
|
1200
1136
|
*/
|
|
1201
1137
|
static createAgent(options) {
|
|
1202
1138
|
return (options.client ?? client).post({
|
|
1203
|
-
security: [{
|
|
1204
|
-
scheme: "bearer",
|
|
1205
|
-
type: "http"
|
|
1206
|
-
}],
|
|
1207
1139
|
url: "/api/v1/agents",
|
|
1208
1140
|
...options,
|
|
1209
1141
|
headers: {
|
|
@@ -1219,10 +1151,6 @@ var Agents = class {
|
|
|
1219
1151
|
*/
|
|
1220
1152
|
static deleteAgent(options) {
|
|
1221
1153
|
return (options.client ?? client).delete({
|
|
1222
|
-
security: [{
|
|
1223
|
-
scheme: "bearer",
|
|
1224
|
-
type: "http"
|
|
1225
|
-
}],
|
|
1226
1154
|
url: "/api/v1/agents/{agent_id}",
|
|
1227
1155
|
...options
|
|
1228
1156
|
});
|
|
@@ -1234,10 +1162,6 @@ var Agents = class {
|
|
|
1234
1162
|
*/
|
|
1235
1163
|
static getAgent(options) {
|
|
1236
1164
|
return (options.client ?? client).get({
|
|
1237
|
-
security: [{
|
|
1238
|
-
scheme: "bearer",
|
|
1239
|
-
type: "http"
|
|
1240
|
-
}],
|
|
1241
1165
|
url: "/api/v1/agents/{agent_id}",
|
|
1242
1166
|
...options
|
|
1243
1167
|
});
|
|
@@ -1249,10 +1173,6 @@ var Agents = class {
|
|
|
1249
1173
|
*/
|
|
1250
1174
|
static updateAgent(options) {
|
|
1251
1175
|
return (options.client ?? client).put({
|
|
1252
|
-
security: [{
|
|
1253
|
-
scheme: "bearer",
|
|
1254
|
-
type: "http"
|
|
1255
|
-
}],
|
|
1256
1176
|
url: "/api/v1/agents/{agent_id}",
|
|
1257
1177
|
...options,
|
|
1258
1178
|
headers: {
|
|
@@ -1269,10 +1189,6 @@ var Agents = class {
|
|
|
1269
1189
|
*/
|
|
1270
1190
|
static createAgentGeneration(options) {
|
|
1271
1191
|
return (options.client ?? client).post({
|
|
1272
|
-
security: [{
|
|
1273
|
-
scheme: "bearer",
|
|
1274
|
-
type: "http"
|
|
1275
|
-
}],
|
|
1276
1192
|
url: "/api/v1/agents/{agent_id}/generate",
|
|
1277
1193
|
...options,
|
|
1278
1194
|
headers: {
|
|
@@ -1289,10 +1205,6 @@ var Agents = class {
|
|
|
1289
1205
|
*/
|
|
1290
1206
|
static submitAgentToolOutputs(options) {
|
|
1291
1207
|
return (options.client ?? client).post({
|
|
1292
|
-
security: [{
|
|
1293
|
-
scheme: "bearer",
|
|
1294
|
-
type: "http"
|
|
1295
|
-
}],
|
|
1296
1208
|
url: "/api/v1/agents/{agent_id}/generate/{generation_id}/tool-outputs",
|
|
1297
1209
|
...options,
|
|
1298
1210
|
headers: {
|
|
@@ -1390,17 +1302,29 @@ var ApiKeys = class {
|
|
|
1390
1302
|
__name(this, "ApiKeys");
|
|
1391
1303
|
}
|
|
1392
1304
|
/**
|
|
1393
|
-
*
|
|
1305
|
+
* List API keys
|
|
1394
1306
|
*
|
|
1395
|
-
*
|
|
1307
|
+
* Lists API keys accessible to the caller. - JWT admin: returns all API keys. - JWT regular user: returns only the user's own API keys. - API key scoped to a project: returns only API keys scoped to that project.
|
|
1396
1308
|
*
|
|
1397
1309
|
*/
|
|
1398
|
-
static
|
|
1399
|
-
return (options
|
|
1310
|
+
static listApiKeys(options) {
|
|
1311
|
+
return (options?.client ?? client).get({
|
|
1400
1312
|
security: [{
|
|
1401
1313
|
scheme: "bearer",
|
|
1402
1314
|
type: "http"
|
|
1403
1315
|
}],
|
|
1316
|
+
url: "/api/v1/api-keys",
|
|
1317
|
+
...options
|
|
1318
|
+
});
|
|
1319
|
+
}
|
|
1320
|
+
/**
|
|
1321
|
+
* Create an API key
|
|
1322
|
+
*
|
|
1323
|
+
* Creates a new API key for the authenticated user. - If `project_id` is provided, the key is scoped to that project. - If `policy_ids` is provided, the key's effective permissions are the intersection of the user's policies and the key's policies. - If neither is provided, the key inherits the user's full permissions.
|
|
1324
|
+
*
|
|
1325
|
+
*/
|
|
1326
|
+
static createApiKey(options) {
|
|
1327
|
+
return (options.client ?? client).post({
|
|
1404
1328
|
url: "/api/v1/api-keys",
|
|
1405
1329
|
...options,
|
|
1406
1330
|
headers: {
|
|
@@ -1416,10 +1340,6 @@ var ApiKeys = class {
|
|
|
1416
1340
|
*/
|
|
1417
1341
|
static deleteApiKey(options) {
|
|
1418
1342
|
return (options.client ?? client).delete({
|
|
1419
|
-
security: [{
|
|
1420
|
-
scheme: "bearer",
|
|
1421
|
-
type: "http"
|
|
1422
|
-
}],
|
|
1423
1343
|
url: "/api/v1/api-keys/{api_key_id}",
|
|
1424
1344
|
...options
|
|
1425
1345
|
});
|
|
@@ -1431,10 +1351,6 @@ var ApiKeys = class {
|
|
|
1431
1351
|
*/
|
|
1432
1352
|
static getApiKey(options) {
|
|
1433
1353
|
return (options.client ?? client).get({
|
|
1434
|
-
security: [{
|
|
1435
|
-
scheme: "bearer",
|
|
1436
|
-
type: "http"
|
|
1437
|
-
}],
|
|
1438
1354
|
url: "/api/v1/api-keys/{api_key_id}",
|
|
1439
1355
|
...options
|
|
1440
1356
|
});
|
|
@@ -1446,10 +1362,6 @@ var ApiKeys = class {
|
|
|
1446
1362
|
*/
|
|
1447
1363
|
static updateApiKey(options) {
|
|
1448
1364
|
return (options.client ?? client).put({
|
|
1449
|
-
security: [{
|
|
1450
|
-
scheme: "bearer",
|
|
1451
|
-
type: "http"
|
|
1452
|
-
}],
|
|
1453
1365
|
url: "/api/v1/api-keys/{api_key_id}",
|
|
1454
1366
|
...options,
|
|
1455
1367
|
headers: {
|
|
@@ -1470,10 +1382,6 @@ var Chats = class {
|
|
|
1470
1382
|
*/
|
|
1471
1383
|
static listChats(options) {
|
|
1472
1384
|
return (options?.client ?? client).get({
|
|
1473
|
-
security: [{
|
|
1474
|
-
scheme: "bearer",
|
|
1475
|
-
type: "http"
|
|
1476
|
-
}],
|
|
1477
1385
|
url: "/api/v1/chats",
|
|
1478
1386
|
...options
|
|
1479
1387
|
});
|
|
@@ -1485,10 +1393,6 @@ var Chats = class {
|
|
|
1485
1393
|
*/
|
|
1486
1394
|
static createChat(options) {
|
|
1487
1395
|
return (options.client ?? client).post({
|
|
1488
|
-
security: [{
|
|
1489
|
-
scheme: "bearer",
|
|
1490
|
-
type: "http"
|
|
1491
|
-
}],
|
|
1492
1396
|
url: "/api/v1/chats",
|
|
1493
1397
|
...options,
|
|
1494
1398
|
headers: {
|
|
@@ -1504,10 +1408,6 @@ var Chats = class {
|
|
|
1504
1408
|
*/
|
|
1505
1409
|
static deleteChat(options) {
|
|
1506
1410
|
return (options.client ?? client).delete({
|
|
1507
|
-
security: [{
|
|
1508
|
-
scheme: "bearer",
|
|
1509
|
-
type: "http"
|
|
1510
|
-
}],
|
|
1511
1411
|
url: "/api/v1/chats/{chat_id}",
|
|
1512
1412
|
...options
|
|
1513
1413
|
});
|
|
@@ -1519,10 +1419,6 @@ var Chats = class {
|
|
|
1519
1419
|
*/
|
|
1520
1420
|
static getChat(options) {
|
|
1521
1421
|
return (options.client ?? client).get({
|
|
1522
|
-
security: [{
|
|
1523
|
-
scheme: "bearer",
|
|
1524
|
-
type: "http"
|
|
1525
|
-
}],
|
|
1526
1422
|
url: "/api/v1/chats/{chat_id}",
|
|
1527
1423
|
...options
|
|
1528
1424
|
});
|
|
@@ -1535,10 +1431,6 @@ var Chats = class {
|
|
|
1535
1431
|
*/
|
|
1536
1432
|
static createChatCompletionForChat(options) {
|
|
1537
1433
|
return (options.client ?? client).post({
|
|
1538
|
-
security: [{
|
|
1539
|
-
scheme: "bearer",
|
|
1540
|
-
type: "http"
|
|
1541
|
-
}],
|
|
1542
1434
|
url: "/api/v1/chats/{chat_id}/completions",
|
|
1543
1435
|
...options,
|
|
1544
1436
|
headers: {
|
|
@@ -1555,10 +1447,6 @@ var Chats = class {
|
|
|
1555
1447
|
*/
|
|
1556
1448
|
static createChatCompletion(options) {
|
|
1557
1449
|
return (options.client ?? client).post({
|
|
1558
|
-
security: [{
|
|
1559
|
-
scheme: "bearer",
|
|
1560
|
-
type: "http"
|
|
1561
|
-
}],
|
|
1562
1450
|
url: "/api/v1/chats/completions",
|
|
1563
1451
|
...options,
|
|
1564
1452
|
headers: {
|
|
@@ -2056,10 +1944,6 @@ var Policies = class {
|
|
|
2056
1944
|
*/
|
|
2057
1945
|
static listPolicies(options) {
|
|
2058
1946
|
return (options?.client ?? client).get({
|
|
2059
|
-
security: [{
|
|
2060
|
-
scheme: "bearer",
|
|
2061
|
-
type: "http"
|
|
2062
|
-
}],
|
|
2063
1947
|
url: "/api/v1/policies",
|
|
2064
1948
|
...options
|
|
2065
1949
|
});
|
|
@@ -2071,10 +1955,6 @@ var Policies = class {
|
|
|
2071
1955
|
*/
|
|
2072
1956
|
static createPolicy(options) {
|
|
2073
1957
|
return (options.client ?? client).post({
|
|
2074
|
-
security: [{
|
|
2075
|
-
scheme: "bearer",
|
|
2076
|
-
type: "http"
|
|
2077
|
-
}],
|
|
2078
1958
|
url: "/api/v1/policies",
|
|
2079
1959
|
...options,
|
|
2080
1960
|
headers: {
|
|
@@ -2090,10 +1970,6 @@ var Policies = class {
|
|
|
2090
1970
|
*/
|
|
2091
1971
|
static deletePolicy(options) {
|
|
2092
1972
|
return (options.client ?? client).delete({
|
|
2093
|
-
security: [{
|
|
2094
|
-
scheme: "bearer",
|
|
2095
|
-
type: "http"
|
|
2096
|
-
}],
|
|
2097
1973
|
url: "/api/v1/policies/{policy_id}",
|
|
2098
1974
|
...options
|
|
2099
1975
|
});
|
|
@@ -2105,10 +1981,6 @@ var Policies = class {
|
|
|
2105
1981
|
*/
|
|
2106
1982
|
static getPolicy(options) {
|
|
2107
1983
|
return (options.client ?? client).get({
|
|
2108
|
-
security: [{
|
|
2109
|
-
scheme: "bearer",
|
|
2110
|
-
type: "http"
|
|
2111
|
-
}],
|
|
2112
1984
|
url: "/api/v1/policies/{policy_id}",
|
|
2113
1985
|
...options
|
|
2114
1986
|
});
|
|
@@ -2120,10 +1992,6 @@ var Policies = class {
|
|
|
2120
1992
|
*/
|
|
2121
1993
|
static updatePolicy(options) {
|
|
2122
1994
|
return (options.client ?? client).put({
|
|
2123
|
-
security: [{
|
|
2124
|
-
scheme: "bearer",
|
|
2125
|
-
type: "http"
|
|
2126
|
-
}],
|
|
2127
1995
|
url: "/api/v1/policies/{policy_id}",
|
|
2128
1996
|
...options,
|
|
2129
1997
|
headers: {
|
|
@@ -2159,10 +2027,6 @@ var Projects = class {
|
|
|
2159
2027
|
*/
|
|
2160
2028
|
static deleteProject(options) {
|
|
2161
2029
|
return (options.client ?? client).delete({
|
|
2162
|
-
security: [{
|
|
2163
|
-
scheme: "bearer",
|
|
2164
|
-
type: "http"
|
|
2165
|
-
}],
|
|
2166
2030
|
url: "/api/v1/projects/{project_id}",
|
|
2167
2031
|
...options
|
|
2168
2032
|
});
|
|
@@ -2174,10 +2038,6 @@ var Projects = class {
|
|
|
2174
2038
|
*/
|
|
2175
2039
|
static getProject(options) {
|
|
2176
2040
|
return (options.client ?? client).get({
|
|
2177
|
-
security: [{
|
|
2178
|
-
scheme: "bearer",
|
|
2179
|
-
type: "http"
|
|
2180
|
-
}],
|
|
2181
2041
|
url: "/api/v1/projects/{project_id}",
|
|
2182
2042
|
...options
|
|
2183
2043
|
});
|
|
@@ -2262,10 +2122,6 @@ var Sessions = class {
|
|
|
2262
2122
|
*/
|
|
2263
2123
|
static listAgentSessions(options) {
|
|
2264
2124
|
return (options.client ?? client).get({
|
|
2265
|
-
security: [{
|
|
2266
|
-
scheme: "bearer",
|
|
2267
|
-
type: "http"
|
|
2268
|
-
}],
|
|
2269
2125
|
url: "/api/v1/agents/{agent_id}/sessions",
|
|
2270
2126
|
...options
|
|
2271
2127
|
});
|
|
@@ -2278,10 +2134,6 @@ var Sessions = class {
|
|
|
2278
2134
|
*/
|
|
2279
2135
|
static createAgentSession(options) {
|
|
2280
2136
|
return (options.client ?? client).post({
|
|
2281
|
-
security: [{
|
|
2282
|
-
scheme: "bearer",
|
|
2283
|
-
type: "http"
|
|
2284
|
-
}],
|
|
2285
2137
|
url: "/api/v1/agents/{agent_id}/sessions",
|
|
2286
2138
|
...options,
|
|
2287
2139
|
headers: {
|
|
@@ -2297,10 +2149,6 @@ var Sessions = class {
|
|
|
2297
2149
|
*/
|
|
2298
2150
|
static deleteAgentSession(options) {
|
|
2299
2151
|
return (options.client ?? client).delete({
|
|
2300
|
-
security: [{
|
|
2301
|
-
scheme: "bearer",
|
|
2302
|
-
type: "http"
|
|
2303
|
-
}],
|
|
2304
2152
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}",
|
|
2305
2153
|
...options
|
|
2306
2154
|
});
|
|
@@ -2312,10 +2160,6 @@ var Sessions = class {
|
|
|
2312
2160
|
*/
|
|
2313
2161
|
static getAgentSession(options) {
|
|
2314
2162
|
return (options.client ?? client).get({
|
|
2315
|
-
security: [{
|
|
2316
|
-
scheme: "bearer",
|
|
2317
|
-
type: "http"
|
|
2318
|
-
}],
|
|
2319
2163
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}",
|
|
2320
2164
|
...options
|
|
2321
2165
|
});
|
|
@@ -2327,10 +2171,6 @@ var Sessions = class {
|
|
|
2327
2171
|
*/
|
|
2328
2172
|
static updateSession(options) {
|
|
2329
2173
|
return (options.client ?? client).patch({
|
|
2330
|
-
security: [{
|
|
2331
|
-
scheme: "bearer",
|
|
2332
|
-
type: "http"
|
|
2333
|
-
}],
|
|
2334
2174
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}",
|
|
2335
2175
|
...options,
|
|
2336
2176
|
headers: {
|
|
@@ -2347,10 +2187,6 @@ var Sessions = class {
|
|
|
2347
2187
|
*/
|
|
2348
2188
|
static listAgentSessionMessages(options) {
|
|
2349
2189
|
return (options.client ?? client).get({
|
|
2350
|
-
security: [{
|
|
2351
|
-
scheme: "bearer",
|
|
2352
|
-
type: "http"
|
|
2353
|
-
}],
|
|
2354
2190
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}/messages",
|
|
2355
2191
|
...options
|
|
2356
2192
|
});
|
|
@@ -2363,10 +2199,6 @@ var Sessions = class {
|
|
|
2363
2199
|
*/
|
|
2364
2200
|
static addSessionMessage(options) {
|
|
2365
2201
|
return (options.client ?? client).post({
|
|
2366
|
-
security: [{
|
|
2367
|
-
scheme: "bearer",
|
|
2368
|
-
type: "http"
|
|
2369
|
-
}],
|
|
2370
2202
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}/messages",
|
|
2371
2203
|
...options,
|
|
2372
2204
|
headers: {
|
|
@@ -2383,10 +2215,6 @@ var Sessions = class {
|
|
|
2383
2215
|
*/
|
|
2384
2216
|
static generateSessionResponse(options) {
|
|
2385
2217
|
return (options.client ?? client).post({
|
|
2386
|
-
security: [{
|
|
2387
|
-
scheme: "bearer",
|
|
2388
|
-
type: "http"
|
|
2389
|
-
}],
|
|
2390
2218
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}/generate",
|
|
2391
2219
|
...options,
|
|
2392
2220
|
headers: {
|
|
@@ -2403,10 +2231,6 @@ var Sessions = class {
|
|
|
2403
2231
|
*/
|
|
2404
2232
|
static submitSessionToolOutputs(options) {
|
|
2405
2233
|
return (options.client ?? client).post({
|
|
2406
|
-
security: [{
|
|
2407
|
-
scheme: "bearer",
|
|
2408
|
-
type: "http"
|
|
2409
|
-
}],
|
|
2410
2234
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tool-outputs",
|
|
2411
2235
|
...options,
|
|
2412
2236
|
headers: {
|
|
@@ -2422,10 +2246,6 @@ var Sessions = class {
|
|
|
2422
2246
|
*/
|
|
2423
2247
|
static getSessionTags(options) {
|
|
2424
2248
|
return (options.client ?? client).get({
|
|
2425
|
-
security: [{
|
|
2426
|
-
scheme: "bearer",
|
|
2427
|
-
type: "http"
|
|
2428
|
-
}],
|
|
2429
2249
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tags",
|
|
2430
2250
|
...options
|
|
2431
2251
|
});
|
|
@@ -2437,10 +2257,6 @@ var Sessions = class {
|
|
|
2437
2257
|
*/
|
|
2438
2258
|
static mergeSessionTags(options) {
|
|
2439
2259
|
return (options.client ?? client).patch({
|
|
2440
|
-
security: [{
|
|
2441
|
-
scheme: "bearer",
|
|
2442
|
-
type: "http"
|
|
2443
|
-
}],
|
|
2444
2260
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tags",
|
|
2445
2261
|
...options,
|
|
2446
2262
|
headers: {
|
|
@@ -2456,10 +2272,6 @@ var Sessions = class {
|
|
|
2456
2272
|
*/
|
|
2457
2273
|
static replaceSessionTags(options) {
|
|
2458
2274
|
return (options.client ?? client).put({
|
|
2459
|
-
security: [{
|
|
2460
|
-
scheme: "bearer",
|
|
2461
|
-
type: "http"
|
|
2462
|
-
}],
|
|
2463
2275
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tags",
|
|
2464
2276
|
...options,
|
|
2465
2277
|
headers: {
|
|
@@ -2558,10 +2370,6 @@ var Users = class {
|
|
|
2558
2370
|
*/
|
|
2559
2371
|
static getUserPolicies(options) {
|
|
2560
2372
|
return (options.client ?? client).get({
|
|
2561
|
-
security: [{
|
|
2562
|
-
scheme: "bearer",
|
|
2563
|
-
type: "http"
|
|
2564
|
-
}],
|
|
2565
2373
|
url: "/api/v1/users/{user_id}/policies",
|
|
2566
2374
|
...options
|
|
2567
2375
|
});
|
|
@@ -2573,10 +2381,6 @@ var Users = class {
|
|
|
2573
2381
|
*/
|
|
2574
2382
|
static attachUserPolicies(options) {
|
|
2575
2383
|
return (options.client ?? client).put({
|
|
2576
|
-
security: [{
|
|
2577
|
-
scheme: "bearer",
|
|
2578
|
-
type: "http"
|
|
2579
|
-
}],
|
|
2580
2384
|
url: "/api/v1/users/{user_id}/policies",
|
|
2581
2385
|
...options,
|
|
2582
2386
|
headers: {
|