@soat/sdk 0.4.6 → 0.4.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -907,9 +907,7 @@ var createClient = /* @__PURE__ */__name((config = {}) => {
907
907
  }, "createClient");
908
908
 
909
909
  // src/generated/client.gen.ts
910
- var client = createClient(createConfig({
911
- baseUrl: "/api/v1"
912
- }));
910
+ var client = createClient(createConfig());
913
911
 
914
912
  // src/generated/sdk.gen.ts
915
913
  var Actors = class {
@@ -923,7 +921,7 @@ var Actors = class {
923
921
  */
924
922
  static listActors(options) {
925
923
  return (options?.client ?? client).get({
926
- url: "/actors",
924
+ url: "/api/v1/actors",
927
925
  ...options
928
926
  });
929
927
  }
@@ -934,7 +932,7 @@ var Actors = class {
934
932
  */
935
933
  static createActor(options) {
936
934
  return (options.client ?? client).post({
937
- url: "/actors",
935
+ url: "/api/v1/actors",
938
936
  ...options,
939
937
  headers: {
940
938
  "Content-Type": "application/json",
@@ -949,7 +947,7 @@ var Actors = class {
949
947
  */
950
948
  static deleteActor(options) {
951
949
  return (options.client ?? client).delete({
952
- url: "/actors/{actor_id}",
950
+ url: "/api/v1/actors/{actor_id}",
953
951
  ...options
954
952
  });
955
953
  }
@@ -960,7 +958,7 @@ var Actors = class {
960
958
  */
961
959
  static getActor(options) {
962
960
  return (options.client ?? client).get({
963
- url: "/actors/{actor_id}",
961
+ url: "/api/v1/actors/{actor_id}",
964
962
  ...options
965
963
  });
966
964
  }
@@ -971,7 +969,7 @@ var Actors = class {
971
969
  */
972
970
  static updateActor(options) {
973
971
  return (options.client ?? client).patch({
974
- url: "/actors/{actor_id}",
972
+ url: "/api/v1/actors/{actor_id}",
975
973
  ...options,
976
974
  headers: {
977
975
  "Content-Type": "application/json",
@@ -986,7 +984,7 @@ var Actors = class {
986
984
  */
987
985
  static getActorTags(options) {
988
986
  return (options.client ?? client).get({
989
- url: "/actors/{actor_id}/tags",
987
+ url: "/api/v1/actors/{actor_id}/tags",
990
988
  ...options
991
989
  });
992
990
  }
@@ -997,7 +995,7 @@ var Actors = class {
997
995
  */
998
996
  static mergeActorTags(options) {
999
997
  return (options.client ?? client).patch({
1000
- url: "/actors/{actor_id}/tags",
998
+ url: "/api/v1/actors/{actor_id}/tags",
1001
999
  ...options,
1002
1000
  headers: {
1003
1001
  "Content-Type": "application/json",
@@ -1012,7 +1010,7 @@ var Actors = class {
1012
1010
  */
1013
1011
  static replaceActorTags(options) {
1014
1012
  return (options.client ?? client).put({
1015
- url: "/actors/{actor_id}/tags",
1013
+ url: "/api/v1/actors/{actor_id}/tags",
1016
1014
  ...options,
1017
1015
  headers: {
1018
1016
  "Content-Type": "application/json",
@@ -1032,11 +1030,7 @@ var AgentTools = class {
1032
1030
  */
1033
1031
  static listAgentTools(options) {
1034
1032
  return (options?.client ?? client).get({
1035
- security: [{
1036
- scheme: "bearer",
1037
- type: "http"
1038
- }],
1039
- url: "/agents/tools",
1033
+ url: "/api/v1/agents/tools",
1040
1034
  ...options
1041
1035
  });
1042
1036
  }
@@ -1047,11 +1041,7 @@ var AgentTools = class {
1047
1041
  */
1048
1042
  static createAgentTool(options) {
1049
1043
  return (options.client ?? client).post({
1050
- security: [{
1051
- scheme: "bearer",
1052
- type: "http"
1053
- }],
1054
- url: "/agents/tools",
1044
+ url: "/api/v1/agents/tools",
1055
1045
  ...options,
1056
1046
  headers: {
1057
1047
  "Content-Type": "application/json",
@@ -1066,11 +1056,7 @@ var AgentTools = class {
1066
1056
  */
1067
1057
  static deleteAgentTool(options) {
1068
1058
  return (options.client ?? client).delete({
1069
- security: [{
1070
- scheme: "bearer",
1071
- type: "http"
1072
- }],
1073
- url: "/agents/tools/{tool_id}",
1059
+ url: "/api/v1/agents/tools/{tool_id}",
1074
1060
  ...options
1075
1061
  });
1076
1062
  }
@@ -1081,11 +1067,7 @@ var AgentTools = class {
1081
1067
  */
1082
1068
  static getAgentTool(options) {
1083
1069
  return (options.client ?? client).get({
1084
- security: [{
1085
- scheme: "bearer",
1086
- type: "http"
1087
- }],
1088
- url: "/agents/tools/{tool_id}",
1070
+ url: "/api/v1/agents/tools/{tool_id}",
1089
1071
  ...options
1090
1072
  });
1091
1073
  }
@@ -1096,11 +1078,7 @@ var AgentTools = class {
1096
1078
  */
1097
1079
  static updateAgentTool(options) {
1098
1080
  return (options.client ?? client).put({
1099
- security: [{
1100
- scheme: "bearer",
1101
- type: "http"
1102
- }],
1103
- url: "/agents/tools/{tool_id}",
1081
+ url: "/api/v1/agents/tools/{tool_id}",
1104
1082
  ...options,
1105
1083
  headers: {
1106
1084
  "Content-Type": "application/json",
@@ -1120,11 +1098,7 @@ var AgentTraces = class {
1120
1098
  */
1121
1099
  static listAgentTraces(options) {
1122
1100
  return (options?.client ?? client).get({
1123
- security: [{
1124
- scheme: "bearer",
1125
- type: "http"
1126
- }],
1127
- url: "/agents/traces",
1101
+ url: "/api/v1/agents/traces",
1128
1102
  ...options
1129
1103
  });
1130
1104
  }
@@ -1135,11 +1109,7 @@ var AgentTraces = class {
1135
1109
  */
1136
1110
  static getAgentTrace(options) {
1137
1111
  return (options.client ?? client).get({
1138
- security: [{
1139
- scheme: "bearer",
1140
- type: "http"
1141
- }],
1142
- url: "/agents/traces/{trace_id}",
1112
+ url: "/api/v1/agents/traces/{trace_id}",
1143
1113
  ...options
1144
1114
  });
1145
1115
  }
@@ -1155,11 +1125,7 @@ var Agents = class {
1155
1125
  */
1156
1126
  static listAgents(options) {
1157
1127
  return (options?.client ?? client).get({
1158
- security: [{
1159
- scheme: "bearer",
1160
- type: "http"
1161
- }],
1162
- url: "/agents",
1128
+ url: "/api/v1/agents",
1163
1129
  ...options
1164
1130
  });
1165
1131
  }
@@ -1170,11 +1136,7 @@ var Agents = class {
1170
1136
  */
1171
1137
  static createAgent(options) {
1172
1138
  return (options.client ?? client).post({
1173
- security: [{
1174
- scheme: "bearer",
1175
- type: "http"
1176
- }],
1177
- url: "/agents",
1139
+ url: "/api/v1/agents",
1178
1140
  ...options,
1179
1141
  headers: {
1180
1142
  "Content-Type": "application/json",
@@ -1189,11 +1151,7 @@ var Agents = class {
1189
1151
  */
1190
1152
  static deleteAgent(options) {
1191
1153
  return (options.client ?? client).delete({
1192
- security: [{
1193
- scheme: "bearer",
1194
- type: "http"
1195
- }],
1196
- url: "/agents/{agent_id}",
1154
+ url: "/api/v1/agents/{agent_id}",
1197
1155
  ...options
1198
1156
  });
1199
1157
  }
@@ -1204,11 +1162,7 @@ var Agents = class {
1204
1162
  */
1205
1163
  static getAgent(options) {
1206
1164
  return (options.client ?? client).get({
1207
- security: [{
1208
- scheme: "bearer",
1209
- type: "http"
1210
- }],
1211
- url: "/agents/{agent_id}",
1165
+ url: "/api/v1/agents/{agent_id}",
1212
1166
  ...options
1213
1167
  });
1214
1168
  }
@@ -1219,11 +1173,7 @@ var Agents = class {
1219
1173
  */
1220
1174
  static updateAgent(options) {
1221
1175
  return (options.client ?? client).put({
1222
- security: [{
1223
- scheme: "bearer",
1224
- type: "http"
1225
- }],
1226
- url: "/agents/{agent_id}",
1176
+ url: "/api/v1/agents/{agent_id}",
1227
1177
  ...options,
1228
1178
  headers: {
1229
1179
  "Content-Type": "application/json",
@@ -1239,11 +1189,7 @@ var Agents = class {
1239
1189
  */
1240
1190
  static createAgentGeneration(options) {
1241
1191
  return (options.client ?? client).post({
1242
- security: [{
1243
- scheme: "bearer",
1244
- type: "http"
1245
- }],
1246
- url: "/agents/{agent_id}/generate",
1192
+ url: "/api/v1/agents/{agent_id}/generate",
1247
1193
  ...options,
1248
1194
  headers: {
1249
1195
  "Content-Type": "application/json",
@@ -1259,11 +1205,7 @@ var Agents = class {
1259
1205
  */
1260
1206
  static submitAgentToolOutputs(options) {
1261
1207
  return (options.client ?? client).post({
1262
- security: [{
1263
- scheme: "bearer",
1264
- type: "http"
1265
- }],
1266
- url: "/agents/{agent_id}/generate/{generation_id}/tool-outputs",
1208
+ url: "/api/v1/agents/{agent_id}/generate/{generation_id}/tool-outputs",
1267
1209
  ...options,
1268
1210
  headers: {
1269
1211
  "Content-Type": "application/json",
@@ -1278,7 +1220,7 @@ var Agents = class {
1278
1220
  */
1279
1221
  static createAgentActor(options) {
1280
1222
  return (options.client ?? client).post({
1281
- url: "/agents/{agent_id}/actors",
1223
+ url: "/api/v1/agents/{agent_id}/actors",
1282
1224
  ...options,
1283
1225
  headers: {
1284
1226
  "Content-Type": "application/json",
@@ -1298,7 +1240,7 @@ var AiProviders = class {
1298
1240
  */
1299
1241
  static listAiProviders(options) {
1300
1242
  return (options?.client ?? client).get({
1301
- url: "/ai-providers",
1243
+ url: "/api/v1/ai-providers",
1302
1244
  ...options
1303
1245
  });
1304
1246
  }
@@ -1309,7 +1251,7 @@ var AiProviders = class {
1309
1251
  */
1310
1252
  static createAiProvider(options) {
1311
1253
  return (options.client ?? client).post({
1312
- url: "/ai-providers",
1254
+ url: "/api/v1/ai-providers",
1313
1255
  ...options,
1314
1256
  headers: {
1315
1257
  "Content-Type": "application/json",
@@ -1324,7 +1266,7 @@ var AiProviders = class {
1324
1266
  */
1325
1267
  static deleteAiProvider(options) {
1326
1268
  return (options.client ?? client).delete({
1327
- url: "/ai-providers/{ai_provider_id}",
1269
+ url: "/api/v1/ai-providers/{ai_provider_id}",
1328
1270
  ...options
1329
1271
  });
1330
1272
  }
@@ -1335,7 +1277,7 @@ var AiProviders = class {
1335
1277
  */
1336
1278
  static getAiProvider(options) {
1337
1279
  return (options.client ?? client).get({
1338
- url: "/ai-providers/{ai_provider_id}",
1280
+ url: "/api/v1/ai-providers/{ai_provider_id}",
1339
1281
  ...options
1340
1282
  });
1341
1283
  }
@@ -1346,7 +1288,7 @@ var AiProviders = class {
1346
1288
  */
1347
1289
  static updateAiProvider(options) {
1348
1290
  return (options.client ?? client).patch({
1349
- url: "/ai-providers/{ai_provider_id}",
1291
+ url: "/api/v1/ai-providers/{ai_provider_id}",
1350
1292
  ...options,
1351
1293
  headers: {
1352
1294
  "Content-Type": "application/json",
@@ -1360,18 +1302,30 @@ var ApiKeys = class {
1360
1302
  __name(this, "ApiKeys");
1361
1303
  }
1362
1304
  /**
1363
- * Create an API key
1305
+ * List API keys
1364
1306
  *
1365
- * 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.
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.
1366
1308
  *
1367
1309
  */
1368
- static createApiKey(options) {
1369
- return (options.client ?? client).post({
1310
+ static listApiKeys(options) {
1311
+ return (options?.client ?? client).get({
1370
1312
  security: [{
1371
1313
  scheme: "bearer",
1372
1314
  type: "http"
1373
1315
  }],
1374
- url: "/api-keys",
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({
1328
+ url: "/api/v1/api-keys",
1375
1329
  ...options,
1376
1330
  headers: {
1377
1331
  "Content-Type": "application/json",
@@ -1386,11 +1340,7 @@ var ApiKeys = class {
1386
1340
  */
1387
1341
  static deleteApiKey(options) {
1388
1342
  return (options.client ?? client).delete({
1389
- security: [{
1390
- scheme: "bearer",
1391
- type: "http"
1392
- }],
1393
- url: "/api-keys/{api_key_id}",
1343
+ url: "/api/v1/api-keys/{api_key_id}",
1394
1344
  ...options
1395
1345
  });
1396
1346
  }
@@ -1401,11 +1351,7 @@ var ApiKeys = class {
1401
1351
  */
1402
1352
  static getApiKey(options) {
1403
1353
  return (options.client ?? client).get({
1404
- security: [{
1405
- scheme: "bearer",
1406
- type: "http"
1407
- }],
1408
- url: "/api-keys/{api_key_id}",
1354
+ url: "/api/v1/api-keys/{api_key_id}",
1409
1355
  ...options
1410
1356
  });
1411
1357
  }
@@ -1416,11 +1362,7 @@ var ApiKeys = class {
1416
1362
  */
1417
1363
  static updateApiKey(options) {
1418
1364
  return (options.client ?? client).put({
1419
- security: [{
1420
- scheme: "bearer",
1421
- type: "http"
1422
- }],
1423
- url: "/api-keys/{api_key_id}",
1365
+ url: "/api/v1/api-keys/{api_key_id}",
1424
1366
  ...options,
1425
1367
  headers: {
1426
1368
  "Content-Type": "application/json",
@@ -1440,11 +1382,7 @@ var Chats = class {
1440
1382
  */
1441
1383
  static listChats(options) {
1442
1384
  return (options?.client ?? client).get({
1443
- security: [{
1444
- scheme: "bearer",
1445
- type: "http"
1446
- }],
1447
- url: "/chats",
1385
+ url: "/api/v1/chats",
1448
1386
  ...options
1449
1387
  });
1450
1388
  }
@@ -1455,11 +1393,7 @@ var Chats = class {
1455
1393
  */
1456
1394
  static createChat(options) {
1457
1395
  return (options.client ?? client).post({
1458
- security: [{
1459
- scheme: "bearer",
1460
- type: "http"
1461
- }],
1462
- url: "/chats",
1396
+ url: "/api/v1/chats",
1463
1397
  ...options,
1464
1398
  headers: {
1465
1399
  "Content-Type": "application/json",
@@ -1474,11 +1408,7 @@ var Chats = class {
1474
1408
  */
1475
1409
  static deleteChat(options) {
1476
1410
  return (options.client ?? client).delete({
1477
- security: [{
1478
- scheme: "bearer",
1479
- type: "http"
1480
- }],
1481
- url: "/chats/{chat_id}",
1411
+ url: "/api/v1/chats/{chat_id}",
1482
1412
  ...options
1483
1413
  });
1484
1414
  }
@@ -1489,11 +1419,7 @@ var Chats = class {
1489
1419
  */
1490
1420
  static getChat(options) {
1491
1421
  return (options.client ?? client).get({
1492
- security: [{
1493
- scheme: "bearer",
1494
- type: "http"
1495
- }],
1496
- url: "/chats/{chat_id}",
1422
+ url: "/api/v1/chats/{chat_id}",
1497
1423
  ...options
1498
1424
  });
1499
1425
  }
@@ -1505,11 +1431,7 @@ var Chats = class {
1505
1431
  */
1506
1432
  static createChatCompletionForChat(options) {
1507
1433
  return (options.client ?? client).post({
1508
- security: [{
1509
- scheme: "bearer",
1510
- type: "http"
1511
- }],
1512
- url: "/chats/{chat_id}/completions",
1434
+ url: "/api/v1/chats/{chat_id}/completions",
1513
1435
  ...options,
1514
1436
  headers: {
1515
1437
  "Content-Type": "application/json",
@@ -1525,11 +1447,7 @@ var Chats = class {
1525
1447
  */
1526
1448
  static createChatCompletion(options) {
1527
1449
  return (options.client ?? client).post({
1528
- security: [{
1529
- scheme: "bearer",
1530
- type: "http"
1531
- }],
1532
- url: "/chats/completions",
1450
+ url: "/api/v1/chats/completions",
1533
1451
  ...options,
1534
1452
  headers: {
1535
1453
  "Content-Type": "application/json",
@@ -1544,7 +1462,7 @@ var Chats = class {
1544
1462
  */
1545
1463
  static createChatActor(options) {
1546
1464
  return (options.client ?? client).post({
1547
- url: "/chats/{chat_id}/actors",
1465
+ url: "/api/v1/chats/{chat_id}/actors",
1548
1466
  ...options,
1549
1467
  headers: {
1550
1468
  "Content-Type": "application/json",
@@ -1564,7 +1482,7 @@ var Conversations = class {
1564
1482
  */
1565
1483
  static listConversations(options) {
1566
1484
  return (options?.client ?? client).get({
1567
- url: "/conversations",
1485
+ url: "/api/v1/conversations",
1568
1486
  ...options
1569
1487
  });
1570
1488
  }
@@ -1575,7 +1493,7 @@ var Conversations = class {
1575
1493
  */
1576
1494
  static createConversation(options) {
1577
1495
  return (options.client ?? client).post({
1578
- url: "/conversations",
1496
+ url: "/api/v1/conversations",
1579
1497
  ...options,
1580
1498
  headers: {
1581
1499
  "Content-Type": "application/json",
@@ -1590,7 +1508,7 @@ var Conversations = class {
1590
1508
  */
1591
1509
  static deleteConversation(options) {
1592
1510
  return (options.client ?? client).delete({
1593
- url: "/conversations/{conversation_id}",
1511
+ url: "/api/v1/conversations/{conversation_id}",
1594
1512
  ...options
1595
1513
  });
1596
1514
  }
@@ -1601,7 +1519,7 @@ var Conversations = class {
1601
1519
  */
1602
1520
  static getConversation(options) {
1603
1521
  return (options.client ?? client).get({
1604
- url: "/conversations/{conversation_id}",
1522
+ url: "/api/v1/conversations/{conversation_id}",
1605
1523
  ...options
1606
1524
  });
1607
1525
  }
@@ -1612,7 +1530,7 @@ var Conversations = class {
1612
1530
  */
1613
1531
  static updateConversation(options) {
1614
1532
  return (options.client ?? client).patch({
1615
- url: "/conversations/{conversation_id}",
1533
+ url: "/api/v1/conversations/{conversation_id}",
1616
1534
  ...options,
1617
1535
  headers: {
1618
1536
  "Content-Type": "application/json",
@@ -1627,7 +1545,7 @@ var Conversations = class {
1627
1545
  */
1628
1546
  static listConversationMessages(options) {
1629
1547
  return (options.client ?? client).get({
1630
- url: "/conversations/{conversation_id}/messages",
1548
+ url: "/api/v1/conversations/{conversation_id}/messages",
1631
1549
  ...options
1632
1550
  });
1633
1551
  }
@@ -1638,7 +1556,7 @@ var Conversations = class {
1638
1556
  */
1639
1557
  static addConversationMessage(options) {
1640
1558
  return (options.client ?? client).post({
1641
- url: "/conversations/{conversation_id}/messages",
1559
+ url: "/api/v1/conversations/{conversation_id}/messages",
1642
1560
  ...options,
1643
1561
  headers: {
1644
1562
  "Content-Type": "application/json",
@@ -1657,7 +1575,7 @@ var Conversations = class {
1657
1575
  */
1658
1576
  static generateConversationMessage(options) {
1659
1577
  return (options.client ?? client).post({
1660
- url: "/conversations/{conversation_id}/generate",
1578
+ url: "/api/v1/conversations/{conversation_id}/generate",
1661
1579
  ...options,
1662
1580
  headers: {
1663
1581
  "Content-Type": "application/json",
@@ -1672,7 +1590,7 @@ var Conversations = class {
1672
1590
  */
1673
1591
  static listConversationActors(options) {
1674
1592
  return (options.client ?? client).get({
1675
- url: "/conversations/{conversation_id}/actors",
1593
+ url: "/api/v1/conversations/{conversation_id}/actors",
1676
1594
  ...options
1677
1595
  });
1678
1596
  }
@@ -1683,7 +1601,7 @@ var Conversations = class {
1683
1601
  */
1684
1602
  static removeConversationMessage(options) {
1685
1603
  return (options.client ?? client).delete({
1686
- url: "/conversations/{conversation_id}/messages/{document_id}",
1604
+ url: "/api/v1/conversations/{conversation_id}/messages/{document_id}",
1687
1605
  ...options
1688
1606
  });
1689
1607
  }
@@ -1694,7 +1612,7 @@ var Conversations = class {
1694
1612
  */
1695
1613
  static getConversationTags(options) {
1696
1614
  return (options.client ?? client).get({
1697
- url: "/conversations/{conversation_id}/tags",
1615
+ url: "/api/v1/conversations/{conversation_id}/tags",
1698
1616
  ...options
1699
1617
  });
1700
1618
  }
@@ -1705,7 +1623,7 @@ var Conversations = class {
1705
1623
  */
1706
1624
  static mergeConversationTags(options) {
1707
1625
  return (options.client ?? client).patch({
1708
- url: "/conversations/{conversation_id}/tags",
1626
+ url: "/api/v1/conversations/{conversation_id}/tags",
1709
1627
  ...options,
1710
1628
  headers: {
1711
1629
  "Content-Type": "application/json",
@@ -1720,7 +1638,7 @@ var Conversations = class {
1720
1638
  */
1721
1639
  static replaceConversationTags(options) {
1722
1640
  return (options.client ?? client).put({
1723
- url: "/conversations/{conversation_id}/tags",
1641
+ url: "/api/v1/conversations/{conversation_id}/tags",
1724
1642
  ...options,
1725
1643
  headers: {
1726
1644
  "Content-Type": "application/json",
@@ -1740,7 +1658,7 @@ var Documents = class {
1740
1658
  */
1741
1659
  static listDocuments(options) {
1742
1660
  return (options?.client ?? client).get({
1743
- url: "/documents",
1661
+ url: "/api/v1/documents",
1744
1662
  ...options
1745
1663
  });
1746
1664
  }
@@ -1751,7 +1669,7 @@ var Documents = class {
1751
1669
  */
1752
1670
  static createDocument(options) {
1753
1671
  return (options.client ?? client).post({
1754
- url: "/documents",
1672
+ url: "/api/v1/documents",
1755
1673
  ...options,
1756
1674
  headers: {
1757
1675
  "Content-Type": "application/json",
@@ -1766,7 +1684,7 @@ var Documents = class {
1766
1684
  */
1767
1685
  static deleteDocument(options) {
1768
1686
  return (options.client ?? client).delete({
1769
- url: "/documents/{document_id}",
1687
+ url: "/api/v1/documents/{document_id}",
1770
1688
  ...options
1771
1689
  });
1772
1690
  }
@@ -1777,7 +1695,7 @@ var Documents = class {
1777
1695
  */
1778
1696
  static getDocument(options) {
1779
1697
  return (options.client ?? client).get({
1780
- url: "/documents/{document_id}",
1698
+ url: "/api/v1/documents/{document_id}",
1781
1699
  ...options
1782
1700
  });
1783
1701
  }
@@ -1788,7 +1706,7 @@ var Documents = class {
1788
1706
  */
1789
1707
  static updateDocument(options) {
1790
1708
  return (options.client ?? client).patch({
1791
- url: "/documents/{document_id}",
1709
+ url: "/api/v1/documents/{document_id}",
1792
1710
  ...options,
1793
1711
  headers: {
1794
1712
  "Content-Type": "application/json",
@@ -1803,7 +1721,7 @@ var Documents = class {
1803
1721
  */
1804
1722
  static getDocumentTags(options) {
1805
1723
  return (options.client ?? client).get({
1806
- url: "/documents/{document_id}/tags",
1724
+ url: "/api/v1/documents/{document_id}/tags",
1807
1725
  ...options
1808
1726
  });
1809
1727
  }
@@ -1814,7 +1732,7 @@ var Documents = class {
1814
1732
  */
1815
1733
  static mergeDocumentTags(options) {
1816
1734
  return (options.client ?? client).patch({
1817
- url: "/documents/{document_id}/tags",
1735
+ url: "/api/v1/documents/{document_id}/tags",
1818
1736
  ...options,
1819
1737
  headers: {
1820
1738
  "Content-Type": "application/json",
@@ -1829,7 +1747,7 @@ var Documents = class {
1829
1747
  */
1830
1748
  static replaceDocumentTags(options) {
1831
1749
  return (options.client ?? client).put({
1832
- url: "/documents/{document_id}/tags",
1750
+ url: "/api/v1/documents/{document_id}/tags",
1833
1751
  ...options,
1834
1752
  headers: {
1835
1753
  "Content-Type": "application/json",
@@ -1844,7 +1762,7 @@ var Documents = class {
1844
1762
  */
1845
1763
  static searchDocuments(options) {
1846
1764
  return (options.client ?? client).post({
1847
- url: "/documents/search",
1765
+ url: "/api/v1/documents/search",
1848
1766
  ...options,
1849
1767
  headers: {
1850
1768
  "Content-Type": "application/json",
@@ -1864,7 +1782,7 @@ var Files = class {
1864
1782
  */
1865
1783
  static listFiles(options) {
1866
1784
  return (options?.client ?? client).get({
1867
- url: "/files",
1785
+ url: "/api/v1/files",
1868
1786
  ...options
1869
1787
  });
1870
1788
  }
@@ -1875,7 +1793,7 @@ var Files = class {
1875
1793
  */
1876
1794
  static createFile(options) {
1877
1795
  return (options.client ?? client).post({
1878
- url: "/files",
1796
+ url: "/api/v1/files",
1879
1797
  ...options,
1880
1798
  headers: {
1881
1799
  "Content-Type": "application/json",
@@ -1891,7 +1809,7 @@ var Files = class {
1891
1809
  static uploadFile(options) {
1892
1810
  return (options.client ?? client).post({
1893
1811
  ...formDataBodySerializer,
1894
- url: "/files/upload",
1812
+ url: "/api/v1/files/upload",
1895
1813
  ...options,
1896
1814
  headers: {
1897
1815
  "Content-Type": null,
@@ -1906,7 +1824,7 @@ var Files = class {
1906
1824
  */
1907
1825
  static uploadFileBase64(options) {
1908
1826
  return (options.client ?? client).post({
1909
- url: "/files/upload/base64",
1827
+ url: "/api/v1/files/upload/base64",
1910
1828
  ...options,
1911
1829
  headers: {
1912
1830
  "Content-Type": "application/json",
@@ -1921,7 +1839,7 @@ var Files = class {
1921
1839
  */
1922
1840
  static deleteFile(options) {
1923
1841
  return (options.client ?? client).delete({
1924
- url: "/files/{file_id}",
1842
+ url: "/api/v1/files/{file_id}",
1925
1843
  ...options
1926
1844
  });
1927
1845
  }
@@ -1932,7 +1850,7 @@ var Files = class {
1932
1850
  */
1933
1851
  static getFile(options) {
1934
1852
  return (options.client ?? client).get({
1935
- url: "/files/{file_id}",
1853
+ url: "/api/v1/files/{file_id}",
1936
1854
  ...options
1937
1855
  });
1938
1856
  }
@@ -1943,7 +1861,7 @@ var Files = class {
1943
1861
  */
1944
1862
  static downloadFile(options) {
1945
1863
  return (options.client ?? client).get({
1946
- url: "/files/{file_id}/download",
1864
+ url: "/api/v1/files/{file_id}/download",
1947
1865
  ...options
1948
1866
  });
1949
1867
  }
@@ -1954,7 +1872,7 @@ var Files = class {
1954
1872
  */
1955
1873
  static updateFileMetadata(options) {
1956
1874
  return (options.client ?? client).patch({
1957
- url: "/files/{file_id}/metadata",
1875
+ url: "/api/v1/files/{file_id}/metadata",
1958
1876
  ...options,
1959
1877
  headers: {
1960
1878
  "Content-Type": "application/json",
@@ -1969,7 +1887,7 @@ var Files = class {
1969
1887
  */
1970
1888
  static downloadFileBase64(options) {
1971
1889
  return (options.client ?? client).get({
1972
- url: "/files/{file_id}/download/base64",
1890
+ url: "/api/v1/files/{file_id}/download/base64",
1973
1891
  ...options
1974
1892
  });
1975
1893
  }
@@ -1980,7 +1898,7 @@ var Files = class {
1980
1898
  */
1981
1899
  static getFileTags(options) {
1982
1900
  return (options.client ?? client).get({
1983
- url: "/files/{file_id}/tags",
1901
+ url: "/api/v1/files/{file_id}/tags",
1984
1902
  ...options
1985
1903
  });
1986
1904
  }
@@ -1991,7 +1909,7 @@ var Files = class {
1991
1909
  */
1992
1910
  static mergeFileTags(options) {
1993
1911
  return (options.client ?? client).patch({
1994
- url: "/files/{file_id}/tags",
1912
+ url: "/api/v1/files/{file_id}/tags",
1995
1913
  ...options,
1996
1914
  headers: {
1997
1915
  "Content-Type": "application/json",
@@ -2006,7 +1924,7 @@ var Files = class {
2006
1924
  */
2007
1925
  static replaceFileTags(options) {
2008
1926
  return (options.client ?? client).put({
2009
- url: "/files/{file_id}/tags",
1927
+ url: "/api/v1/files/{file_id}/tags",
2010
1928
  ...options,
2011
1929
  headers: {
2012
1930
  "Content-Type": "application/json",
@@ -2026,11 +1944,7 @@ var Policies = class {
2026
1944
  */
2027
1945
  static listPolicies(options) {
2028
1946
  return (options?.client ?? client).get({
2029
- security: [{
2030
- scheme: "bearer",
2031
- type: "http"
2032
- }],
2033
- url: "/policies",
1947
+ url: "/api/v1/policies",
2034
1948
  ...options
2035
1949
  });
2036
1950
  }
@@ -2041,11 +1955,7 @@ var Policies = class {
2041
1955
  */
2042
1956
  static createPolicy(options) {
2043
1957
  return (options.client ?? client).post({
2044
- security: [{
2045
- scheme: "bearer",
2046
- type: "http"
2047
- }],
2048
- url: "/policies",
1958
+ url: "/api/v1/policies",
2049
1959
  ...options,
2050
1960
  headers: {
2051
1961
  "Content-Type": "application/json",
@@ -2060,11 +1970,7 @@ var Policies = class {
2060
1970
  */
2061
1971
  static deletePolicy(options) {
2062
1972
  return (options.client ?? client).delete({
2063
- security: [{
2064
- scheme: "bearer",
2065
- type: "http"
2066
- }],
2067
- url: "/policies/{policy_id}",
1973
+ url: "/api/v1/policies/{policy_id}",
2068
1974
  ...options
2069
1975
  });
2070
1976
  }
@@ -2075,11 +1981,7 @@ var Policies = class {
2075
1981
  */
2076
1982
  static getPolicy(options) {
2077
1983
  return (options.client ?? client).get({
2078
- security: [{
2079
- scheme: "bearer",
2080
- type: "http"
2081
- }],
2082
- url: "/policies/{policy_id}",
1984
+ url: "/api/v1/policies/{policy_id}",
2083
1985
  ...options
2084
1986
  });
2085
1987
  }
@@ -2090,11 +1992,7 @@ var Policies = class {
2090
1992
  */
2091
1993
  static updatePolicy(options) {
2092
1994
  return (options.client ?? client).put({
2093
- security: [{
2094
- scheme: "bearer",
2095
- type: "http"
2096
- }],
2097
- url: "/policies/{policy_id}",
1995
+ url: "/api/v1/policies/{policy_id}",
2098
1996
  ...options,
2099
1997
  headers: {
2100
1998
  "Content-Type": "application/json",
@@ -2114,7 +2012,7 @@ var Projects = class {
2114
2012
  */
2115
2013
  static createProject(options) {
2116
2014
  return (options.client ?? client).post({
2117
- url: "/projects",
2015
+ url: "/api/v1/projects",
2118
2016
  ...options,
2119
2017
  headers: {
2120
2018
  "Content-Type": "application/json",
@@ -2129,11 +2027,7 @@ var Projects = class {
2129
2027
  */
2130
2028
  static deleteProject(options) {
2131
2029
  return (options.client ?? client).delete({
2132
- security: [{
2133
- scheme: "bearer",
2134
- type: "http"
2135
- }],
2136
- url: "/projects/{project_id}",
2030
+ url: "/api/v1/projects/{project_id}",
2137
2031
  ...options
2138
2032
  });
2139
2033
  }
@@ -2144,11 +2038,7 @@ var Projects = class {
2144
2038
  */
2145
2039
  static getProject(options) {
2146
2040
  return (options.client ?? client).get({
2147
- security: [{
2148
- scheme: "bearer",
2149
- type: "http"
2150
- }],
2151
- url: "/projects/{project_id}",
2041
+ url: "/api/v1/projects/{project_id}",
2152
2042
  ...options
2153
2043
  });
2154
2044
  }
@@ -2164,7 +2054,7 @@ var Secrets = class {
2164
2054
  */
2165
2055
  static listSecrets(options) {
2166
2056
  return (options?.client ?? client).get({
2167
- url: "/secrets",
2057
+ url: "/api/v1/secrets",
2168
2058
  ...options
2169
2059
  });
2170
2060
  }
@@ -2175,7 +2065,7 @@ var Secrets = class {
2175
2065
  */
2176
2066
  static createSecret(options) {
2177
2067
  return (options.client ?? client).post({
2178
- url: "/secrets",
2068
+ url: "/api/v1/secrets",
2179
2069
  ...options,
2180
2070
  headers: {
2181
2071
  "Content-Type": "application/json",
@@ -2190,7 +2080,7 @@ var Secrets = class {
2190
2080
  */
2191
2081
  static deleteSecret(options) {
2192
2082
  return (options.client ?? client).delete({
2193
- url: "/secrets/{secret_id}",
2083
+ url: "/api/v1/secrets/{secret_id}",
2194
2084
  ...options
2195
2085
  });
2196
2086
  }
@@ -2201,7 +2091,7 @@ var Secrets = class {
2201
2091
  */
2202
2092
  static getSecret(options) {
2203
2093
  return (options.client ?? client).get({
2204
- url: "/secrets/{secret_id}",
2094
+ url: "/api/v1/secrets/{secret_id}",
2205
2095
  ...options
2206
2096
  });
2207
2097
  }
@@ -2212,7 +2102,7 @@ var Secrets = class {
2212
2102
  */
2213
2103
  static updateSecret(options) {
2214
2104
  return (options.client ?? client).patch({
2215
- url: "/secrets/{secret_id}",
2105
+ url: "/api/v1/secrets/{secret_id}",
2216
2106
  ...options,
2217
2107
  headers: {
2218
2108
  "Content-Type": "application/json",
@@ -2232,11 +2122,7 @@ var Sessions = class {
2232
2122
  */
2233
2123
  static listAgentSessions(options) {
2234
2124
  return (options.client ?? client).get({
2235
- security: [{
2236
- scheme: "bearer",
2237
- type: "http"
2238
- }],
2239
- url: "/agents/{agent_id}/sessions",
2125
+ url: "/api/v1/agents/{agent_id}/sessions",
2240
2126
  ...options
2241
2127
  });
2242
2128
  }
@@ -2248,11 +2134,7 @@ var Sessions = class {
2248
2134
  */
2249
2135
  static createAgentSession(options) {
2250
2136
  return (options.client ?? client).post({
2251
- security: [{
2252
- scheme: "bearer",
2253
- type: "http"
2254
- }],
2255
- url: "/agents/{agent_id}/sessions",
2137
+ url: "/api/v1/agents/{agent_id}/sessions",
2256
2138
  ...options,
2257
2139
  headers: {
2258
2140
  "Content-Type": "application/json",
@@ -2267,11 +2149,7 @@ var Sessions = class {
2267
2149
  */
2268
2150
  static deleteAgentSession(options) {
2269
2151
  return (options.client ?? client).delete({
2270
- security: [{
2271
- scheme: "bearer",
2272
- type: "http"
2273
- }],
2274
- url: "/agents/{agent_id}/sessions/{session_id}",
2152
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}",
2275
2153
  ...options
2276
2154
  });
2277
2155
  }
@@ -2282,11 +2160,7 @@ var Sessions = class {
2282
2160
  */
2283
2161
  static getAgentSession(options) {
2284
2162
  return (options.client ?? client).get({
2285
- security: [{
2286
- scheme: "bearer",
2287
- type: "http"
2288
- }],
2289
- url: "/agents/{agent_id}/sessions/{session_id}",
2163
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}",
2290
2164
  ...options
2291
2165
  });
2292
2166
  }
@@ -2297,11 +2171,7 @@ var Sessions = class {
2297
2171
  */
2298
2172
  static updateSession(options) {
2299
2173
  return (options.client ?? client).patch({
2300
- security: [{
2301
- scheme: "bearer",
2302
- type: "http"
2303
- }],
2304
- url: "/agents/{agent_id}/sessions/{session_id}",
2174
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}",
2305
2175
  ...options,
2306
2176
  headers: {
2307
2177
  "Content-Type": "application/json",
@@ -2317,11 +2187,7 @@ var Sessions = class {
2317
2187
  */
2318
2188
  static listAgentSessionMessages(options) {
2319
2189
  return (options.client ?? client).get({
2320
- security: [{
2321
- scheme: "bearer",
2322
- type: "http"
2323
- }],
2324
- url: "/agents/{agent_id}/sessions/{session_id}/messages",
2190
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}/messages",
2325
2191
  ...options
2326
2192
  });
2327
2193
  }
@@ -2333,11 +2199,7 @@ var Sessions = class {
2333
2199
  */
2334
2200
  static addSessionMessage(options) {
2335
2201
  return (options.client ?? client).post({
2336
- security: [{
2337
- scheme: "bearer",
2338
- type: "http"
2339
- }],
2340
- url: "/agents/{agent_id}/sessions/{session_id}/messages",
2202
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}/messages",
2341
2203
  ...options,
2342
2204
  headers: {
2343
2205
  "Content-Type": "application/json",
@@ -2353,11 +2215,7 @@ var Sessions = class {
2353
2215
  */
2354
2216
  static generateSessionResponse(options) {
2355
2217
  return (options.client ?? client).post({
2356
- security: [{
2357
- scheme: "bearer",
2358
- type: "http"
2359
- }],
2360
- url: "/agents/{agent_id}/sessions/{session_id}/generate",
2218
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}/generate",
2361
2219
  ...options,
2362
2220
  headers: {
2363
2221
  "Content-Type": "application/json",
@@ -2373,11 +2231,7 @@ var Sessions = class {
2373
2231
  */
2374
2232
  static submitSessionToolOutputs(options) {
2375
2233
  return (options.client ?? client).post({
2376
- security: [{
2377
- scheme: "bearer",
2378
- type: "http"
2379
- }],
2380
- url: "/agents/{agent_id}/sessions/{session_id}/tool-outputs",
2234
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tool-outputs",
2381
2235
  ...options,
2382
2236
  headers: {
2383
2237
  "Content-Type": "application/json",
@@ -2392,11 +2246,7 @@ var Sessions = class {
2392
2246
  */
2393
2247
  static getSessionTags(options) {
2394
2248
  return (options.client ?? client).get({
2395
- security: [{
2396
- scheme: "bearer",
2397
- type: "http"
2398
- }],
2399
- url: "/agents/{agent_id}/sessions/{session_id}/tags",
2249
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tags",
2400
2250
  ...options
2401
2251
  });
2402
2252
  }
@@ -2407,11 +2257,7 @@ var Sessions = class {
2407
2257
  */
2408
2258
  static mergeSessionTags(options) {
2409
2259
  return (options.client ?? client).patch({
2410
- security: [{
2411
- scheme: "bearer",
2412
- type: "http"
2413
- }],
2414
- url: "/agents/{agent_id}/sessions/{session_id}/tags",
2260
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tags",
2415
2261
  ...options,
2416
2262
  headers: {
2417
2263
  "Content-Type": "application/json",
@@ -2426,11 +2272,7 @@ var Sessions = class {
2426
2272
  */
2427
2273
  static replaceSessionTags(options) {
2428
2274
  return (options.client ?? client).put({
2429
- security: [{
2430
- scheme: "bearer",
2431
- type: "http"
2432
- }],
2433
- url: "/agents/{agent_id}/sessions/{session_id}/tags",
2275
+ url: "/api/v1/agents/{agent_id}/sessions/{session_id}/tags",
2434
2276
  ...options,
2435
2277
  headers: {
2436
2278
  "Content-Type": "application/json",
@@ -2450,7 +2292,7 @@ var Users = class {
2450
2292
  */
2451
2293
  static listUsers(options) {
2452
2294
  return (options?.client ?? client).get({
2453
- url: "/users",
2295
+ url: "/api/v1/users",
2454
2296
  ...options
2455
2297
  });
2456
2298
  }
@@ -2461,7 +2303,7 @@ var Users = class {
2461
2303
  */
2462
2304
  static createUser(options) {
2463
2305
  return (options.client ?? client).post({
2464
- url: "/users",
2306
+ url: "/api/v1/users",
2465
2307
  ...options,
2466
2308
  headers: {
2467
2309
  "Content-Type": "application/json",
@@ -2476,7 +2318,7 @@ var Users = class {
2476
2318
  */
2477
2319
  static deleteUser(options) {
2478
2320
  return (options.client ?? client).delete({
2479
- url: "/users/{user_id}",
2321
+ url: "/api/v1/users/{user_id}",
2480
2322
  ...options
2481
2323
  });
2482
2324
  }
@@ -2487,7 +2329,7 @@ var Users = class {
2487
2329
  */
2488
2330
  static getUser(options) {
2489
2331
  return (options.client ?? client).get({
2490
- url: "/users/{user_id}",
2332
+ url: "/api/v1/users/{user_id}",
2491
2333
  ...options
2492
2334
  });
2493
2335
  }
@@ -2498,7 +2340,7 @@ var Users = class {
2498
2340
  */
2499
2341
  static bootstrapUser(options) {
2500
2342
  return (options.client ?? client).post({
2501
- url: "/users/bootstrap",
2343
+ url: "/api/v1/users/bootstrap",
2502
2344
  ...options,
2503
2345
  headers: {
2504
2346
  "Content-Type": "application/json",
@@ -2513,7 +2355,7 @@ var Users = class {
2513
2355
  */
2514
2356
  static loginUser(options) {
2515
2357
  return (options.client ?? client).post({
2516
- url: "/users/login",
2358
+ url: "/api/v1/users/login",
2517
2359
  ...options,
2518
2360
  headers: {
2519
2361
  "Content-Type": "application/json",
@@ -2528,11 +2370,7 @@ var Users = class {
2528
2370
  */
2529
2371
  static getUserPolicies(options) {
2530
2372
  return (options.client ?? client).get({
2531
- security: [{
2532
- scheme: "bearer",
2533
- type: "http"
2534
- }],
2535
- url: "/users/{user_id}/policies",
2373
+ url: "/api/v1/users/{user_id}/policies",
2536
2374
  ...options
2537
2375
  });
2538
2376
  }
@@ -2543,11 +2381,7 @@ var Users = class {
2543
2381
  */
2544
2382
  static attachUserPolicies(options) {
2545
2383
  return (options.client ?? client).put({
2546
- security: [{
2547
- scheme: "bearer",
2548
- type: "http"
2549
- }],
2550
- url: "/users/{user_id}/policies",
2384
+ url: "/api/v1/users/{user_id}/policies",
2551
2385
  ...options,
2552
2386
  headers: {
2553
2387
  "Content-Type": "application/json",
@@ -2567,7 +2401,7 @@ var Webhooks = class {
2567
2401
  */
2568
2402
  static listWebhooks(options) {
2569
2403
  return (options.client ?? client).get({
2570
- url: "/projects/{project_id}/webhooks",
2404
+ url: "/api/v1/projects/{project_id}/webhooks",
2571
2405
  ...options
2572
2406
  });
2573
2407
  }
@@ -2578,7 +2412,7 @@ var Webhooks = class {
2578
2412
  */
2579
2413
  static createWebhook(options) {
2580
2414
  return (options.client ?? client).post({
2581
- url: "/projects/{project_id}/webhooks",
2415
+ url: "/api/v1/projects/{project_id}/webhooks",
2582
2416
  ...options,
2583
2417
  headers: {
2584
2418
  "Content-Type": "application/json",
@@ -2593,7 +2427,7 @@ var Webhooks = class {
2593
2427
  */
2594
2428
  static deleteWebhook(options) {
2595
2429
  return (options.client ?? client).delete({
2596
- url: "/projects/{project_id}/webhooks/{webhook_id}",
2430
+ url: "/api/v1/projects/{project_id}/webhooks/{webhook_id}",
2597
2431
  ...options
2598
2432
  });
2599
2433
  }
@@ -2604,7 +2438,7 @@ var Webhooks = class {
2604
2438
  */
2605
2439
  static getWebhook(options) {
2606
2440
  return (options.client ?? client).get({
2607
- url: "/projects/{project_id}/webhooks/{webhook_id}",
2441
+ url: "/api/v1/projects/{project_id}/webhooks/{webhook_id}",
2608
2442
  ...options
2609
2443
  });
2610
2444
  }
@@ -2615,7 +2449,7 @@ var Webhooks = class {
2615
2449
  */
2616
2450
  static updateWebhook(options) {
2617
2451
  return (options.client ?? client).put({
2618
- url: "/projects/{project_id}/webhooks/{webhook_id}",
2452
+ url: "/api/v1/projects/{project_id}/webhooks/{webhook_id}",
2619
2453
  ...options,
2620
2454
  headers: {
2621
2455
  "Content-Type": "application/json",
@@ -2630,7 +2464,7 @@ var Webhooks = class {
2630
2464
  */
2631
2465
  static listWebhookDeliveries(options) {
2632
2466
  return (options.client ?? client).get({
2633
- url: "/projects/{project_id}/webhooks/{webhook_id}/deliveries",
2467
+ url: "/api/v1/projects/{project_id}/webhooks/{webhook_id}/deliveries",
2634
2468
  ...options
2635
2469
  });
2636
2470
  }
@@ -2641,7 +2475,7 @@ var Webhooks = class {
2641
2475
  */
2642
2476
  static getWebhookDelivery(options) {
2643
2477
  return (options.client ?? client).get({
2644
- url: "/projects/{project_id}/webhooks/{webhook_id}/deliveries/{delivery_id}",
2478
+ url: "/api/v1/projects/{project_id}/webhooks/{webhook_id}/deliveries/{delivery_id}",
2645
2479
  ...options
2646
2480
  });
2647
2481
  }
@@ -2652,7 +2486,7 @@ var Webhooks = class {
2652
2486
  */
2653
2487
  static rotateWebhookSecret(options) {
2654
2488
  return (options.client ?? client).post({
2655
- url: "/projects/{project_id}/webhooks/{webhook_id}/rotate-secret",
2489
+ url: "/api/v1/projects/{project_id}/webhooks/{webhook_id}/rotate-secret",
2656
2490
  ...options
2657
2491
  });
2658
2492
  }
@@ -2704,7 +2538,7 @@ var SoatClient = class {
2704
2538
  Authorization: `Bearer ${token}`
2705
2539
  } : {};
2706
2540
  const httpClient = createClient(createConfig({
2707
- baseUrl: baseUrl ?? "/api/v1",
2541
+ baseUrl: baseUrl ?? "",
2708
2542
  headers: {
2709
2543
  ...authHeaders,
2710
2544
  ...headers