@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/esm/index.js
CHANGED
|
@@ -873,10 +873,6 @@ var Actors = class {
|
|
|
873
873
|
*/
|
|
874
874
|
static listActors(options) {
|
|
875
875
|
return (options?.client ?? client).get({
|
|
876
|
-
security: [{
|
|
877
|
-
scheme: "bearer",
|
|
878
|
-
type: "http"
|
|
879
|
-
}],
|
|
880
876
|
url: "/api/v1/actors",
|
|
881
877
|
...options
|
|
882
878
|
});
|
|
@@ -888,10 +884,6 @@ var Actors = class {
|
|
|
888
884
|
*/
|
|
889
885
|
static createActor(options) {
|
|
890
886
|
return (options.client ?? client).post({
|
|
891
|
-
security: [{
|
|
892
|
-
scheme: "bearer",
|
|
893
|
-
type: "http"
|
|
894
|
-
}],
|
|
895
887
|
url: "/api/v1/actors",
|
|
896
888
|
...options,
|
|
897
889
|
headers: {
|
|
@@ -907,10 +899,6 @@ var Actors = class {
|
|
|
907
899
|
*/
|
|
908
900
|
static deleteActor(options) {
|
|
909
901
|
return (options.client ?? client).delete({
|
|
910
|
-
security: [{
|
|
911
|
-
scheme: "bearer",
|
|
912
|
-
type: "http"
|
|
913
|
-
}],
|
|
914
902
|
url: "/api/v1/actors/{actor_id}",
|
|
915
903
|
...options
|
|
916
904
|
});
|
|
@@ -922,10 +910,6 @@ var Actors = class {
|
|
|
922
910
|
*/
|
|
923
911
|
static getActor(options) {
|
|
924
912
|
return (options.client ?? client).get({
|
|
925
|
-
security: [{
|
|
926
|
-
scheme: "bearer",
|
|
927
|
-
type: "http"
|
|
928
|
-
}],
|
|
929
913
|
url: "/api/v1/actors/{actor_id}",
|
|
930
914
|
...options
|
|
931
915
|
});
|
|
@@ -937,10 +921,6 @@ var Actors = class {
|
|
|
937
921
|
*/
|
|
938
922
|
static updateActor(options) {
|
|
939
923
|
return (options.client ?? client).patch({
|
|
940
|
-
security: [{
|
|
941
|
-
scheme: "bearer",
|
|
942
|
-
type: "http"
|
|
943
|
-
}],
|
|
944
924
|
url: "/api/v1/actors/{actor_id}",
|
|
945
925
|
...options,
|
|
946
926
|
headers: {
|
|
@@ -956,10 +936,6 @@ var Actors = class {
|
|
|
956
936
|
*/
|
|
957
937
|
static getActorTags(options) {
|
|
958
938
|
return (options.client ?? client).get({
|
|
959
|
-
security: [{
|
|
960
|
-
scheme: "bearer",
|
|
961
|
-
type: "http"
|
|
962
|
-
}],
|
|
963
939
|
url: "/api/v1/actors/{actor_id}/tags",
|
|
964
940
|
...options
|
|
965
941
|
});
|
|
@@ -971,10 +947,6 @@ var Actors = class {
|
|
|
971
947
|
*/
|
|
972
948
|
static mergeActorTags(options) {
|
|
973
949
|
return (options.client ?? client).patch({
|
|
974
|
-
security: [{
|
|
975
|
-
scheme: "bearer",
|
|
976
|
-
type: "http"
|
|
977
|
-
}],
|
|
978
950
|
url: "/api/v1/actors/{actor_id}/tags",
|
|
979
951
|
...options,
|
|
980
952
|
headers: {
|
|
@@ -990,10 +962,6 @@ var Actors = class {
|
|
|
990
962
|
*/
|
|
991
963
|
static replaceActorTags(options) {
|
|
992
964
|
return (options.client ?? client).put({
|
|
993
|
-
security: [{
|
|
994
|
-
scheme: "bearer",
|
|
995
|
-
type: "http"
|
|
996
|
-
}],
|
|
997
965
|
url: "/api/v1/actors/{actor_id}/tags",
|
|
998
966
|
...options,
|
|
999
967
|
headers: {
|
|
@@ -1014,10 +982,6 @@ var AgentTools = class {
|
|
|
1014
982
|
*/
|
|
1015
983
|
static listAgentTools(options) {
|
|
1016
984
|
return (options?.client ?? client).get({
|
|
1017
|
-
security: [{
|
|
1018
|
-
scheme: "bearer",
|
|
1019
|
-
type: "http"
|
|
1020
|
-
}],
|
|
1021
985
|
url: "/api/v1/agents/tools",
|
|
1022
986
|
...options
|
|
1023
987
|
});
|
|
@@ -1029,10 +993,6 @@ var AgentTools = class {
|
|
|
1029
993
|
*/
|
|
1030
994
|
static createAgentTool(options) {
|
|
1031
995
|
return (options.client ?? client).post({
|
|
1032
|
-
security: [{
|
|
1033
|
-
scheme: "bearer",
|
|
1034
|
-
type: "http"
|
|
1035
|
-
}],
|
|
1036
996
|
url: "/api/v1/agents/tools",
|
|
1037
997
|
...options,
|
|
1038
998
|
headers: {
|
|
@@ -1048,10 +1008,6 @@ var AgentTools = class {
|
|
|
1048
1008
|
*/
|
|
1049
1009
|
static deleteAgentTool(options) {
|
|
1050
1010
|
return (options.client ?? client).delete({
|
|
1051
|
-
security: [{
|
|
1052
|
-
scheme: "bearer",
|
|
1053
|
-
type: "http"
|
|
1054
|
-
}],
|
|
1055
1011
|
url: "/api/v1/agents/tools/{tool_id}",
|
|
1056
1012
|
...options
|
|
1057
1013
|
});
|
|
@@ -1063,10 +1019,6 @@ var AgentTools = class {
|
|
|
1063
1019
|
*/
|
|
1064
1020
|
static getAgentTool(options) {
|
|
1065
1021
|
return (options.client ?? client).get({
|
|
1066
|
-
security: [{
|
|
1067
|
-
scheme: "bearer",
|
|
1068
|
-
type: "http"
|
|
1069
|
-
}],
|
|
1070
1022
|
url: "/api/v1/agents/tools/{tool_id}",
|
|
1071
1023
|
...options
|
|
1072
1024
|
});
|
|
@@ -1078,10 +1030,6 @@ var AgentTools = class {
|
|
|
1078
1030
|
*/
|
|
1079
1031
|
static updateAgentTool(options) {
|
|
1080
1032
|
return (options.client ?? client).put({
|
|
1081
|
-
security: [{
|
|
1082
|
-
scheme: "bearer",
|
|
1083
|
-
type: "http"
|
|
1084
|
-
}],
|
|
1085
1033
|
url: "/api/v1/agents/tools/{tool_id}",
|
|
1086
1034
|
...options,
|
|
1087
1035
|
headers: {
|
|
@@ -1102,10 +1050,6 @@ var AgentTraces = class {
|
|
|
1102
1050
|
*/
|
|
1103
1051
|
static listAgentTraces(options) {
|
|
1104
1052
|
return (options?.client ?? client).get({
|
|
1105
|
-
security: [{
|
|
1106
|
-
scheme: "bearer",
|
|
1107
|
-
type: "http"
|
|
1108
|
-
}],
|
|
1109
1053
|
url: "/api/v1/agents/traces",
|
|
1110
1054
|
...options
|
|
1111
1055
|
});
|
|
@@ -1117,10 +1061,6 @@ var AgentTraces = class {
|
|
|
1117
1061
|
*/
|
|
1118
1062
|
static getAgentTrace(options) {
|
|
1119
1063
|
return (options.client ?? client).get({
|
|
1120
|
-
security: [{
|
|
1121
|
-
scheme: "bearer",
|
|
1122
|
-
type: "http"
|
|
1123
|
-
}],
|
|
1124
1064
|
url: "/api/v1/agents/traces/{trace_id}",
|
|
1125
1065
|
...options
|
|
1126
1066
|
});
|
|
@@ -1137,10 +1077,6 @@ var Agents = class {
|
|
|
1137
1077
|
*/
|
|
1138
1078
|
static listAgents(options) {
|
|
1139
1079
|
return (options?.client ?? client).get({
|
|
1140
|
-
security: [{
|
|
1141
|
-
scheme: "bearer",
|
|
1142
|
-
type: "http"
|
|
1143
|
-
}],
|
|
1144
1080
|
url: "/api/v1/agents",
|
|
1145
1081
|
...options
|
|
1146
1082
|
});
|
|
@@ -1152,10 +1088,6 @@ var Agents = class {
|
|
|
1152
1088
|
*/
|
|
1153
1089
|
static createAgent(options) {
|
|
1154
1090
|
return (options.client ?? client).post({
|
|
1155
|
-
security: [{
|
|
1156
|
-
scheme: "bearer",
|
|
1157
|
-
type: "http"
|
|
1158
|
-
}],
|
|
1159
1091
|
url: "/api/v1/agents",
|
|
1160
1092
|
...options,
|
|
1161
1093
|
headers: {
|
|
@@ -1171,10 +1103,6 @@ var Agents = class {
|
|
|
1171
1103
|
*/
|
|
1172
1104
|
static deleteAgent(options) {
|
|
1173
1105
|
return (options.client ?? client).delete({
|
|
1174
|
-
security: [{
|
|
1175
|
-
scheme: "bearer",
|
|
1176
|
-
type: "http"
|
|
1177
|
-
}],
|
|
1178
1106
|
url: "/api/v1/agents/{agent_id}",
|
|
1179
1107
|
...options
|
|
1180
1108
|
});
|
|
@@ -1186,10 +1114,6 @@ var Agents = class {
|
|
|
1186
1114
|
*/
|
|
1187
1115
|
static getAgent(options) {
|
|
1188
1116
|
return (options.client ?? client).get({
|
|
1189
|
-
security: [{
|
|
1190
|
-
scheme: "bearer",
|
|
1191
|
-
type: "http"
|
|
1192
|
-
}],
|
|
1193
1117
|
url: "/api/v1/agents/{agent_id}",
|
|
1194
1118
|
...options
|
|
1195
1119
|
});
|
|
@@ -1201,10 +1125,6 @@ var Agents = class {
|
|
|
1201
1125
|
*/
|
|
1202
1126
|
static updateAgent(options) {
|
|
1203
1127
|
return (options.client ?? client).put({
|
|
1204
|
-
security: [{
|
|
1205
|
-
scheme: "bearer",
|
|
1206
|
-
type: "http"
|
|
1207
|
-
}],
|
|
1208
1128
|
url: "/api/v1/agents/{agent_id}",
|
|
1209
1129
|
...options,
|
|
1210
1130
|
headers: {
|
|
@@ -1221,10 +1141,6 @@ var Agents = class {
|
|
|
1221
1141
|
*/
|
|
1222
1142
|
static createAgentGeneration(options) {
|
|
1223
1143
|
return (options.client ?? client).post({
|
|
1224
|
-
security: [{
|
|
1225
|
-
scheme: "bearer",
|
|
1226
|
-
type: "http"
|
|
1227
|
-
}],
|
|
1228
1144
|
url: "/api/v1/agents/{agent_id}/generate",
|
|
1229
1145
|
...options,
|
|
1230
1146
|
headers: {
|
|
@@ -1241,10 +1157,6 @@ var Agents = class {
|
|
|
1241
1157
|
*/
|
|
1242
1158
|
static submitAgentToolOutputs(options) {
|
|
1243
1159
|
return (options.client ?? client).post({
|
|
1244
|
-
security: [{
|
|
1245
|
-
scheme: "bearer",
|
|
1246
|
-
type: "http"
|
|
1247
|
-
}],
|
|
1248
1160
|
url: "/api/v1/agents/{agent_id}/generate/{generation_id}/tool-outputs",
|
|
1249
1161
|
...options,
|
|
1250
1162
|
headers: {
|
|
@@ -1342,17 +1254,29 @@ var ApiKeys = class {
|
|
|
1342
1254
|
__name(this, "ApiKeys");
|
|
1343
1255
|
}
|
|
1344
1256
|
/**
|
|
1345
|
-
*
|
|
1257
|
+
* List API keys
|
|
1346
1258
|
*
|
|
1347
|
-
*
|
|
1259
|
+
* 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.
|
|
1348
1260
|
*
|
|
1349
1261
|
*/
|
|
1350
|
-
static
|
|
1351
|
-
return (options
|
|
1262
|
+
static listApiKeys(options) {
|
|
1263
|
+
return (options?.client ?? client).get({
|
|
1352
1264
|
security: [{
|
|
1353
1265
|
scheme: "bearer",
|
|
1354
1266
|
type: "http"
|
|
1355
1267
|
}],
|
|
1268
|
+
url: "/api/v1/api-keys",
|
|
1269
|
+
...options
|
|
1270
|
+
});
|
|
1271
|
+
}
|
|
1272
|
+
/**
|
|
1273
|
+
* Create an API key
|
|
1274
|
+
*
|
|
1275
|
+
* 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.
|
|
1276
|
+
*
|
|
1277
|
+
*/
|
|
1278
|
+
static createApiKey(options) {
|
|
1279
|
+
return (options.client ?? client).post({
|
|
1356
1280
|
url: "/api/v1/api-keys",
|
|
1357
1281
|
...options,
|
|
1358
1282
|
headers: {
|
|
@@ -1368,10 +1292,6 @@ var ApiKeys = class {
|
|
|
1368
1292
|
*/
|
|
1369
1293
|
static deleteApiKey(options) {
|
|
1370
1294
|
return (options.client ?? client).delete({
|
|
1371
|
-
security: [{
|
|
1372
|
-
scheme: "bearer",
|
|
1373
|
-
type: "http"
|
|
1374
|
-
}],
|
|
1375
1295
|
url: "/api/v1/api-keys/{api_key_id}",
|
|
1376
1296
|
...options
|
|
1377
1297
|
});
|
|
@@ -1383,10 +1303,6 @@ var ApiKeys = class {
|
|
|
1383
1303
|
*/
|
|
1384
1304
|
static getApiKey(options) {
|
|
1385
1305
|
return (options.client ?? client).get({
|
|
1386
|
-
security: [{
|
|
1387
|
-
scheme: "bearer",
|
|
1388
|
-
type: "http"
|
|
1389
|
-
}],
|
|
1390
1306
|
url: "/api/v1/api-keys/{api_key_id}",
|
|
1391
1307
|
...options
|
|
1392
1308
|
});
|
|
@@ -1398,10 +1314,6 @@ var ApiKeys = class {
|
|
|
1398
1314
|
*/
|
|
1399
1315
|
static updateApiKey(options) {
|
|
1400
1316
|
return (options.client ?? client).put({
|
|
1401
|
-
security: [{
|
|
1402
|
-
scheme: "bearer",
|
|
1403
|
-
type: "http"
|
|
1404
|
-
}],
|
|
1405
1317
|
url: "/api/v1/api-keys/{api_key_id}",
|
|
1406
1318
|
...options,
|
|
1407
1319
|
headers: {
|
|
@@ -1422,10 +1334,6 @@ var Chats = class {
|
|
|
1422
1334
|
*/
|
|
1423
1335
|
static listChats(options) {
|
|
1424
1336
|
return (options?.client ?? client).get({
|
|
1425
|
-
security: [{
|
|
1426
|
-
scheme: "bearer",
|
|
1427
|
-
type: "http"
|
|
1428
|
-
}],
|
|
1429
1337
|
url: "/api/v1/chats",
|
|
1430
1338
|
...options
|
|
1431
1339
|
});
|
|
@@ -1437,10 +1345,6 @@ var Chats = class {
|
|
|
1437
1345
|
*/
|
|
1438
1346
|
static createChat(options) {
|
|
1439
1347
|
return (options.client ?? client).post({
|
|
1440
|
-
security: [{
|
|
1441
|
-
scheme: "bearer",
|
|
1442
|
-
type: "http"
|
|
1443
|
-
}],
|
|
1444
1348
|
url: "/api/v1/chats",
|
|
1445
1349
|
...options,
|
|
1446
1350
|
headers: {
|
|
@@ -1456,10 +1360,6 @@ var Chats = class {
|
|
|
1456
1360
|
*/
|
|
1457
1361
|
static deleteChat(options) {
|
|
1458
1362
|
return (options.client ?? client).delete({
|
|
1459
|
-
security: [{
|
|
1460
|
-
scheme: "bearer",
|
|
1461
|
-
type: "http"
|
|
1462
|
-
}],
|
|
1463
1363
|
url: "/api/v1/chats/{chat_id}",
|
|
1464
1364
|
...options
|
|
1465
1365
|
});
|
|
@@ -1471,10 +1371,6 @@ var Chats = class {
|
|
|
1471
1371
|
*/
|
|
1472
1372
|
static getChat(options) {
|
|
1473
1373
|
return (options.client ?? client).get({
|
|
1474
|
-
security: [{
|
|
1475
|
-
scheme: "bearer",
|
|
1476
|
-
type: "http"
|
|
1477
|
-
}],
|
|
1478
1374
|
url: "/api/v1/chats/{chat_id}",
|
|
1479
1375
|
...options
|
|
1480
1376
|
});
|
|
@@ -1487,10 +1383,6 @@ var Chats = class {
|
|
|
1487
1383
|
*/
|
|
1488
1384
|
static createChatCompletionForChat(options) {
|
|
1489
1385
|
return (options.client ?? client).post({
|
|
1490
|
-
security: [{
|
|
1491
|
-
scheme: "bearer",
|
|
1492
|
-
type: "http"
|
|
1493
|
-
}],
|
|
1494
1386
|
url: "/api/v1/chats/{chat_id}/completions",
|
|
1495
1387
|
...options,
|
|
1496
1388
|
headers: {
|
|
@@ -1507,10 +1399,6 @@ var Chats = class {
|
|
|
1507
1399
|
*/
|
|
1508
1400
|
static createChatCompletion(options) {
|
|
1509
1401
|
return (options.client ?? client).post({
|
|
1510
|
-
security: [{
|
|
1511
|
-
scheme: "bearer",
|
|
1512
|
-
type: "http"
|
|
1513
|
-
}],
|
|
1514
1402
|
url: "/api/v1/chats/completions",
|
|
1515
1403
|
...options,
|
|
1516
1404
|
headers: {
|
|
@@ -2008,10 +1896,6 @@ var Policies = class {
|
|
|
2008
1896
|
*/
|
|
2009
1897
|
static listPolicies(options) {
|
|
2010
1898
|
return (options?.client ?? client).get({
|
|
2011
|
-
security: [{
|
|
2012
|
-
scheme: "bearer",
|
|
2013
|
-
type: "http"
|
|
2014
|
-
}],
|
|
2015
1899
|
url: "/api/v1/policies",
|
|
2016
1900
|
...options
|
|
2017
1901
|
});
|
|
@@ -2023,10 +1907,6 @@ var Policies = class {
|
|
|
2023
1907
|
*/
|
|
2024
1908
|
static createPolicy(options) {
|
|
2025
1909
|
return (options.client ?? client).post({
|
|
2026
|
-
security: [{
|
|
2027
|
-
scheme: "bearer",
|
|
2028
|
-
type: "http"
|
|
2029
|
-
}],
|
|
2030
1910
|
url: "/api/v1/policies",
|
|
2031
1911
|
...options,
|
|
2032
1912
|
headers: {
|
|
@@ -2042,10 +1922,6 @@ var Policies = class {
|
|
|
2042
1922
|
*/
|
|
2043
1923
|
static deletePolicy(options) {
|
|
2044
1924
|
return (options.client ?? client).delete({
|
|
2045
|
-
security: [{
|
|
2046
|
-
scheme: "bearer",
|
|
2047
|
-
type: "http"
|
|
2048
|
-
}],
|
|
2049
1925
|
url: "/api/v1/policies/{policy_id}",
|
|
2050
1926
|
...options
|
|
2051
1927
|
});
|
|
@@ -2057,10 +1933,6 @@ var Policies = class {
|
|
|
2057
1933
|
*/
|
|
2058
1934
|
static getPolicy(options) {
|
|
2059
1935
|
return (options.client ?? client).get({
|
|
2060
|
-
security: [{
|
|
2061
|
-
scheme: "bearer",
|
|
2062
|
-
type: "http"
|
|
2063
|
-
}],
|
|
2064
1936
|
url: "/api/v1/policies/{policy_id}",
|
|
2065
1937
|
...options
|
|
2066
1938
|
});
|
|
@@ -2072,10 +1944,6 @@ var Policies = class {
|
|
|
2072
1944
|
*/
|
|
2073
1945
|
static updatePolicy(options) {
|
|
2074
1946
|
return (options.client ?? client).put({
|
|
2075
|
-
security: [{
|
|
2076
|
-
scheme: "bearer",
|
|
2077
|
-
type: "http"
|
|
2078
|
-
}],
|
|
2079
1947
|
url: "/api/v1/policies/{policy_id}",
|
|
2080
1948
|
...options,
|
|
2081
1949
|
headers: {
|
|
@@ -2111,10 +1979,6 @@ var Projects = class {
|
|
|
2111
1979
|
*/
|
|
2112
1980
|
static deleteProject(options) {
|
|
2113
1981
|
return (options.client ?? client).delete({
|
|
2114
|
-
security: [{
|
|
2115
|
-
scheme: "bearer",
|
|
2116
|
-
type: "http"
|
|
2117
|
-
}],
|
|
2118
1982
|
url: "/api/v1/projects/{project_id}",
|
|
2119
1983
|
...options
|
|
2120
1984
|
});
|
|
@@ -2126,10 +1990,6 @@ var Projects = class {
|
|
|
2126
1990
|
*/
|
|
2127
1991
|
static getProject(options) {
|
|
2128
1992
|
return (options.client ?? client).get({
|
|
2129
|
-
security: [{
|
|
2130
|
-
scheme: "bearer",
|
|
2131
|
-
type: "http"
|
|
2132
|
-
}],
|
|
2133
1993
|
url: "/api/v1/projects/{project_id}",
|
|
2134
1994
|
...options
|
|
2135
1995
|
});
|
|
@@ -2214,10 +2074,6 @@ var Sessions = class {
|
|
|
2214
2074
|
*/
|
|
2215
2075
|
static listAgentSessions(options) {
|
|
2216
2076
|
return (options.client ?? client).get({
|
|
2217
|
-
security: [{
|
|
2218
|
-
scheme: "bearer",
|
|
2219
|
-
type: "http"
|
|
2220
|
-
}],
|
|
2221
2077
|
url: "/api/v1/agents/{agent_id}/sessions",
|
|
2222
2078
|
...options
|
|
2223
2079
|
});
|
|
@@ -2230,10 +2086,6 @@ var Sessions = class {
|
|
|
2230
2086
|
*/
|
|
2231
2087
|
static createAgentSession(options) {
|
|
2232
2088
|
return (options.client ?? client).post({
|
|
2233
|
-
security: [{
|
|
2234
|
-
scheme: "bearer",
|
|
2235
|
-
type: "http"
|
|
2236
|
-
}],
|
|
2237
2089
|
url: "/api/v1/agents/{agent_id}/sessions",
|
|
2238
2090
|
...options,
|
|
2239
2091
|
headers: {
|
|
@@ -2249,10 +2101,6 @@ var Sessions = class {
|
|
|
2249
2101
|
*/
|
|
2250
2102
|
static deleteAgentSession(options) {
|
|
2251
2103
|
return (options.client ?? client).delete({
|
|
2252
|
-
security: [{
|
|
2253
|
-
scheme: "bearer",
|
|
2254
|
-
type: "http"
|
|
2255
|
-
}],
|
|
2256
2104
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}",
|
|
2257
2105
|
...options
|
|
2258
2106
|
});
|
|
@@ -2264,10 +2112,6 @@ var Sessions = class {
|
|
|
2264
2112
|
*/
|
|
2265
2113
|
static getAgentSession(options) {
|
|
2266
2114
|
return (options.client ?? client).get({
|
|
2267
|
-
security: [{
|
|
2268
|
-
scheme: "bearer",
|
|
2269
|
-
type: "http"
|
|
2270
|
-
}],
|
|
2271
2115
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}",
|
|
2272
2116
|
...options
|
|
2273
2117
|
});
|
|
@@ -2279,10 +2123,6 @@ var Sessions = class {
|
|
|
2279
2123
|
*/
|
|
2280
2124
|
static updateSession(options) {
|
|
2281
2125
|
return (options.client ?? client).patch({
|
|
2282
|
-
security: [{
|
|
2283
|
-
scheme: "bearer",
|
|
2284
|
-
type: "http"
|
|
2285
|
-
}],
|
|
2286
2126
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}",
|
|
2287
2127
|
...options,
|
|
2288
2128
|
headers: {
|
|
@@ -2299,10 +2139,6 @@ var Sessions = class {
|
|
|
2299
2139
|
*/
|
|
2300
2140
|
static listAgentSessionMessages(options) {
|
|
2301
2141
|
return (options.client ?? client).get({
|
|
2302
|
-
security: [{
|
|
2303
|
-
scheme: "bearer",
|
|
2304
|
-
type: "http"
|
|
2305
|
-
}],
|
|
2306
2142
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}/messages",
|
|
2307
2143
|
...options
|
|
2308
2144
|
});
|
|
@@ -2315,10 +2151,6 @@ var Sessions = class {
|
|
|
2315
2151
|
*/
|
|
2316
2152
|
static addSessionMessage(options) {
|
|
2317
2153
|
return (options.client ?? client).post({
|
|
2318
|
-
security: [{
|
|
2319
|
-
scheme: "bearer",
|
|
2320
|
-
type: "http"
|
|
2321
|
-
}],
|
|
2322
2154
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}/messages",
|
|
2323
2155
|
...options,
|
|
2324
2156
|
headers: {
|
|
@@ -2335,10 +2167,6 @@ var Sessions = class {
|
|
|
2335
2167
|
*/
|
|
2336
2168
|
static generateSessionResponse(options) {
|
|
2337
2169
|
return (options.client ?? client).post({
|
|
2338
|
-
security: [{
|
|
2339
|
-
scheme: "bearer",
|
|
2340
|
-
type: "http"
|
|
2341
|
-
}],
|
|
2342
2170
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}/generate",
|
|
2343
2171
|
...options,
|
|
2344
2172
|
headers: {
|
|
@@ -2355,10 +2183,6 @@ var Sessions = class {
|
|
|
2355
2183
|
*/
|
|
2356
2184
|
static submitSessionToolOutputs(options) {
|
|
2357
2185
|
return (options.client ?? client).post({
|
|
2358
|
-
security: [{
|
|
2359
|
-
scheme: "bearer",
|
|
2360
|
-
type: "http"
|
|
2361
|
-
}],
|
|
2362
2186
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tool-outputs",
|
|
2363
2187
|
...options,
|
|
2364
2188
|
headers: {
|
|
@@ -2374,10 +2198,6 @@ var Sessions = class {
|
|
|
2374
2198
|
*/
|
|
2375
2199
|
static getSessionTags(options) {
|
|
2376
2200
|
return (options.client ?? client).get({
|
|
2377
|
-
security: [{
|
|
2378
|
-
scheme: "bearer",
|
|
2379
|
-
type: "http"
|
|
2380
|
-
}],
|
|
2381
2201
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tags",
|
|
2382
2202
|
...options
|
|
2383
2203
|
});
|
|
@@ -2389,10 +2209,6 @@ var Sessions = class {
|
|
|
2389
2209
|
*/
|
|
2390
2210
|
static mergeSessionTags(options) {
|
|
2391
2211
|
return (options.client ?? client).patch({
|
|
2392
|
-
security: [{
|
|
2393
|
-
scheme: "bearer",
|
|
2394
|
-
type: "http"
|
|
2395
|
-
}],
|
|
2396
2212
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tags",
|
|
2397
2213
|
...options,
|
|
2398
2214
|
headers: {
|
|
@@ -2408,10 +2224,6 @@ var Sessions = class {
|
|
|
2408
2224
|
*/
|
|
2409
2225
|
static replaceSessionTags(options) {
|
|
2410
2226
|
return (options.client ?? client).put({
|
|
2411
|
-
security: [{
|
|
2412
|
-
scheme: "bearer",
|
|
2413
|
-
type: "http"
|
|
2414
|
-
}],
|
|
2415
2227
|
url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tags",
|
|
2416
2228
|
...options,
|
|
2417
2229
|
headers: {
|
|
@@ -2510,10 +2322,6 @@ var Users = class {
|
|
|
2510
2322
|
*/
|
|
2511
2323
|
static getUserPolicies(options) {
|
|
2512
2324
|
return (options.client ?? client).get({
|
|
2513
|
-
security: [{
|
|
2514
|
-
scheme: "bearer",
|
|
2515
|
-
type: "http"
|
|
2516
|
-
}],
|
|
2517
2325
|
url: "/api/v1/users/{user_id}/policies",
|
|
2518
2326
|
...options
|
|
2519
2327
|
});
|
|
@@ -2525,10 +2333,6 @@ var Users = class {
|
|
|
2525
2333
|
*/
|
|
2526
2334
|
static attachUserPolicies(options) {
|
|
2527
2335
|
return (options.client ?? client).put({
|
|
2528
|
-
security: [{
|
|
2529
|
-
scheme: "bearer",
|
|
2530
|
-
type: "http"
|
|
2531
|
-
}],
|
|
2532
2336
|
url: "/api/v1/users/{user_id}/policies",
|
|
2533
2337
|
...options,
|
|
2534
2338
|
headers: {
|