@deepraxis/sdk 0.1.0-dev.a5cf3ce → 0.1.0-dev.b7ae389
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/METHODS.md +152 -1
- package/dist/core/client.d.ts +5 -1
- package/dist/core/client.js +3 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +343 -19
- package/dist/generated/sdk.gen.js +1053 -18
- package/dist/generated/types.gen.d.ts +26651 -21213
- package/dist/helpers/file-upload.d.ts +24 -0
- package/dist/helpers/file-upload.js +113 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -0
- package/dist/operations.generated.d.ts +1541 -28
- package/dist/operations.generated.js +1957 -61
- package/dist/resources.generated.d.ts +651 -0
- package/dist/resources.generated.js +97 -0
- package/package.json +1 -1
|
@@ -27,6 +27,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
27
27
|
type: "agent";
|
|
28
28
|
updated_at: string;
|
|
29
29
|
version: number;
|
|
30
|
+
active_version: number;
|
|
31
|
+
created_by: {
|
|
32
|
+
type: "user";
|
|
33
|
+
id: string;
|
|
34
|
+
name?: string;
|
|
35
|
+
} | {
|
|
36
|
+
type: "api_key";
|
|
37
|
+
id: string;
|
|
38
|
+
} | null;
|
|
39
|
+
note: string | null;
|
|
40
|
+
bindings: Array<{
|
|
41
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
42
|
+
id: string;
|
|
43
|
+
access: "read_only" | "read_write" | "invoke";
|
|
44
|
+
instructions?: string;
|
|
45
|
+
enabled?: boolean;
|
|
46
|
+
} | {
|
|
47
|
+
type: "search" | "browser";
|
|
48
|
+
enabled?: boolean;
|
|
49
|
+
}>;
|
|
30
50
|
kind: "personal" | "service";
|
|
31
51
|
computer_id?: string;
|
|
32
52
|
subagent_model?: string | null;
|
|
@@ -132,6 +152,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
132
152
|
models?: {
|
|
133
153
|
allowed: Array<string>;
|
|
134
154
|
};
|
|
155
|
+
avatar: string | null;
|
|
156
|
+
environment_id?: string | null;
|
|
135
157
|
status: "active" | "archived";
|
|
136
158
|
}>;
|
|
137
159
|
create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
|
|
@@ -158,6 +180,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
158
180
|
type: "agent";
|
|
159
181
|
updated_at: string;
|
|
160
182
|
version: number;
|
|
183
|
+
active_version: number;
|
|
184
|
+
created_by: {
|
|
185
|
+
type: "user";
|
|
186
|
+
id: string;
|
|
187
|
+
name?: string;
|
|
188
|
+
} | {
|
|
189
|
+
type: "api_key";
|
|
190
|
+
id: string;
|
|
191
|
+
} | null;
|
|
192
|
+
note: string | null;
|
|
193
|
+
bindings: Array<{
|
|
194
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
195
|
+
id: string;
|
|
196
|
+
access: "read_only" | "read_write" | "invoke";
|
|
197
|
+
instructions?: string;
|
|
198
|
+
enabled?: boolean;
|
|
199
|
+
} | {
|
|
200
|
+
type: "search" | "browser";
|
|
201
|
+
enabled?: boolean;
|
|
202
|
+
}>;
|
|
161
203
|
kind: "personal" | "service";
|
|
162
204
|
computer_id?: string;
|
|
163
205
|
subagent_model?: string | null;
|
|
@@ -263,6 +305,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
263
305
|
models?: {
|
|
264
306
|
allowed: Array<string>;
|
|
265
307
|
};
|
|
308
|
+
avatar: string | null;
|
|
309
|
+
environment_id?: string | null;
|
|
266
310
|
status: "active" | "archived";
|
|
267
311
|
}>;
|
|
268
312
|
endUsers: {
|
|
@@ -362,6 +406,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
362
406
|
type: "agent";
|
|
363
407
|
updated_at: string;
|
|
364
408
|
version: number;
|
|
409
|
+
active_version: number;
|
|
410
|
+
created_by: {
|
|
411
|
+
type: "user";
|
|
412
|
+
id: string;
|
|
413
|
+
name?: string;
|
|
414
|
+
} | {
|
|
415
|
+
type: "api_key";
|
|
416
|
+
id: string;
|
|
417
|
+
} | null;
|
|
418
|
+
note: string | null;
|
|
419
|
+
bindings: Array<{
|
|
420
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
421
|
+
id: string;
|
|
422
|
+
access: "read_only" | "read_write" | "invoke";
|
|
423
|
+
instructions?: string;
|
|
424
|
+
enabled?: boolean;
|
|
425
|
+
} | {
|
|
426
|
+
type: "search" | "browser";
|
|
427
|
+
enabled?: boolean;
|
|
428
|
+
}>;
|
|
365
429
|
kind: "personal" | "service";
|
|
366
430
|
computer_id?: string;
|
|
367
431
|
subagent_model?: string | null;
|
|
@@ -467,6 +531,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
467
531
|
models?: {
|
|
468
532
|
allowed: Array<string>;
|
|
469
533
|
};
|
|
534
|
+
avatar: string | null;
|
|
535
|
+
environment_id?: string | null;
|
|
470
536
|
status: "active" | "archived";
|
|
471
537
|
}>;
|
|
472
538
|
next_page: string | null;
|
|
@@ -495,6 +561,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
495
561
|
type: "agent";
|
|
496
562
|
updated_at: string;
|
|
497
563
|
version: number;
|
|
564
|
+
active_version: number;
|
|
565
|
+
created_by: {
|
|
566
|
+
type: "user";
|
|
567
|
+
id: string;
|
|
568
|
+
name?: string;
|
|
569
|
+
} | {
|
|
570
|
+
type: "api_key";
|
|
571
|
+
id: string;
|
|
572
|
+
} | null;
|
|
573
|
+
note: string | null;
|
|
574
|
+
bindings: Array<{
|
|
575
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
576
|
+
id: string;
|
|
577
|
+
access: "read_only" | "read_write" | "invoke";
|
|
578
|
+
instructions?: string;
|
|
579
|
+
enabled?: boolean;
|
|
580
|
+
} | {
|
|
581
|
+
type: "search" | "browser";
|
|
582
|
+
enabled?: boolean;
|
|
583
|
+
}>;
|
|
498
584
|
kind: "personal" | "service";
|
|
499
585
|
computer_id?: string;
|
|
500
586
|
subagent_model?: string | null;
|
|
@@ -600,6 +686,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
600
686
|
models?: {
|
|
601
687
|
allowed: Array<string>;
|
|
602
688
|
};
|
|
689
|
+
avatar: string | null;
|
|
690
|
+
environment_id?: string | null;
|
|
603
691
|
status: "active" | "archived";
|
|
604
692
|
}>;
|
|
605
693
|
unarchive: {
|
|
@@ -829,6 +917,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
829
917
|
type: "agent";
|
|
830
918
|
updated_at: string;
|
|
831
919
|
version: number;
|
|
920
|
+
active_version: number;
|
|
921
|
+
created_by: {
|
|
922
|
+
type: "user";
|
|
923
|
+
id: string;
|
|
924
|
+
name?: string;
|
|
925
|
+
} | {
|
|
926
|
+
type: "api_key";
|
|
927
|
+
id: string;
|
|
928
|
+
} | null;
|
|
929
|
+
note: string | null;
|
|
930
|
+
bindings: Array<{
|
|
931
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
932
|
+
id: string;
|
|
933
|
+
access: "read_only" | "read_write" | "invoke";
|
|
934
|
+
instructions?: string;
|
|
935
|
+
enabled?: boolean;
|
|
936
|
+
} | {
|
|
937
|
+
type: "search" | "browser";
|
|
938
|
+
enabled?: boolean;
|
|
939
|
+
}>;
|
|
832
940
|
kind: "personal" | "service";
|
|
833
941
|
computer_id?: string;
|
|
834
942
|
subagent_model?: string | null;
|
|
@@ -934,6 +1042,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
934
1042
|
models?: {
|
|
935
1043
|
allowed: Array<string>;
|
|
936
1044
|
};
|
|
1045
|
+
avatar: string | null;
|
|
1046
|
+
environment_id?: string | null;
|
|
937
1047
|
status: "active" | "archived";
|
|
938
1048
|
}>;
|
|
939
1049
|
};
|
|
@@ -961,6 +1071,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
961
1071
|
type: "agent";
|
|
962
1072
|
updated_at: string;
|
|
963
1073
|
version: number;
|
|
1074
|
+
active_version: number;
|
|
1075
|
+
created_by: {
|
|
1076
|
+
type: "user";
|
|
1077
|
+
id: string;
|
|
1078
|
+
name?: string;
|
|
1079
|
+
} | {
|
|
1080
|
+
type: "api_key";
|
|
1081
|
+
id: string;
|
|
1082
|
+
} | null;
|
|
1083
|
+
note: string | null;
|
|
1084
|
+
bindings: Array<{
|
|
1085
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1086
|
+
id: string;
|
|
1087
|
+
access: "read_only" | "read_write" | "invoke";
|
|
1088
|
+
instructions?: string;
|
|
1089
|
+
enabled?: boolean;
|
|
1090
|
+
} | {
|
|
1091
|
+
type: "search" | "browser";
|
|
1092
|
+
enabled?: boolean;
|
|
1093
|
+
}>;
|
|
964
1094
|
kind: "personal" | "service";
|
|
965
1095
|
computer_id?: string;
|
|
966
1096
|
subagent_model?: string | null;
|
|
@@ -1066,9 +1196,366 @@ export declare function createAgent(transport: Transport): {
|
|
|
1066
1196
|
models?: {
|
|
1067
1197
|
allowed: Array<string>;
|
|
1068
1198
|
};
|
|
1199
|
+
avatar: string | null;
|
|
1200
|
+
environment_id?: string | null;
|
|
1069
1201
|
status: "active" | "archived";
|
|
1070
1202
|
}>;
|
|
1071
1203
|
versions: {
|
|
1204
|
+
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1205
|
+
id: string;
|
|
1206
|
+
archived_at: null | string;
|
|
1207
|
+
created_at: string;
|
|
1208
|
+
description: null | string;
|
|
1209
|
+
mcp_servers: Array<{
|
|
1210
|
+
type: "url";
|
|
1211
|
+
name: string;
|
|
1212
|
+
url: string;
|
|
1213
|
+
headers?: {
|
|
1214
|
+
[key: string]: string;
|
|
1215
|
+
};
|
|
1216
|
+
timeout_ms?: number;
|
|
1217
|
+
} | {
|
|
1218
|
+
type: "sse";
|
|
1219
|
+
name: string;
|
|
1220
|
+
url: string;
|
|
1221
|
+
headers?: {
|
|
1222
|
+
[key: string]: string;
|
|
1223
|
+
};
|
|
1224
|
+
timeout_ms?: number;
|
|
1225
|
+
} | {
|
|
1226
|
+
type: "stdio";
|
|
1227
|
+
name: string;
|
|
1228
|
+
command: string;
|
|
1229
|
+
args?: Array<string>;
|
|
1230
|
+
env?: {
|
|
1231
|
+
[key: string]: string;
|
|
1232
|
+
};
|
|
1233
|
+
timeout_ms?: number;
|
|
1234
|
+
}>;
|
|
1235
|
+
metadata: {
|
|
1236
|
+
[key: string]: string;
|
|
1237
|
+
};
|
|
1238
|
+
model: {
|
|
1239
|
+
id: "claude-opus-5-5" | "claude-fable-5-1" | "claude-sonnet-5" | "claude-fable-5" | "claude-opus-5" | "claude-opus-4-8" | "claude-opus-4-7" | "claude-opus-4-6" | "claude-sonnet-4-6" | "claude-haiku-4-5" | "claude-haiku-4-5-20251001" | "claude-opus-4-5" | "claude-opus-4-5-20251101" | "claude-sonnet-4-5" | "claude-sonnet-4-5-20250929" | string;
|
|
1240
|
+
effort?: {
|
|
1241
|
+
type: "low";
|
|
1242
|
+
} | {
|
|
1243
|
+
type: "medium";
|
|
1244
|
+
} | {
|
|
1245
|
+
type: "high";
|
|
1246
|
+
} | {
|
|
1247
|
+
type: "xhigh";
|
|
1248
|
+
} | {
|
|
1249
|
+
type: "max";
|
|
1250
|
+
};
|
|
1251
|
+
inference_geo?: string;
|
|
1252
|
+
speed?: "standard" | "fast";
|
|
1253
|
+
settings?: {
|
|
1254
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1255
|
+
};
|
|
1256
|
+
};
|
|
1257
|
+
multiagent: null | {
|
|
1258
|
+
agents: Array<{
|
|
1259
|
+
id: string;
|
|
1260
|
+
type: "agent";
|
|
1261
|
+
version: number;
|
|
1262
|
+
} | {
|
|
1263
|
+
model: string;
|
|
1264
|
+
type: "advisor";
|
|
1265
|
+
}>;
|
|
1266
|
+
type: "coordinator";
|
|
1267
|
+
};
|
|
1268
|
+
name: string;
|
|
1269
|
+
skills: Array<{
|
|
1270
|
+
skill_id: string;
|
|
1271
|
+
type: "anthropic";
|
|
1272
|
+
version: string;
|
|
1273
|
+
} | {
|
|
1274
|
+
skill_id: string;
|
|
1275
|
+
type: "custom";
|
|
1276
|
+
version: string;
|
|
1277
|
+
}>;
|
|
1278
|
+
system: null | string;
|
|
1279
|
+
tools: Array<{
|
|
1280
|
+
configs: Array<{
|
|
1281
|
+
enabled: boolean;
|
|
1282
|
+
name: "bash";
|
|
1283
|
+
permission_policy: {
|
|
1284
|
+
type: "always_allow";
|
|
1285
|
+
} | {
|
|
1286
|
+
type: "always_ask";
|
|
1287
|
+
} | {
|
|
1288
|
+
type: "auto";
|
|
1289
|
+
};
|
|
1290
|
+
type: "bash";
|
|
1291
|
+
} | {
|
|
1292
|
+
enabled: boolean;
|
|
1293
|
+
name: "edit";
|
|
1294
|
+
permission_policy: {
|
|
1295
|
+
type: "always_allow";
|
|
1296
|
+
} | {
|
|
1297
|
+
type: "always_ask";
|
|
1298
|
+
} | {
|
|
1299
|
+
type: "auto";
|
|
1300
|
+
};
|
|
1301
|
+
type: "edit";
|
|
1302
|
+
} | {
|
|
1303
|
+
enabled: boolean;
|
|
1304
|
+
name: "read";
|
|
1305
|
+
permission_policy: {
|
|
1306
|
+
type: "always_allow";
|
|
1307
|
+
} | {
|
|
1308
|
+
type: "always_ask";
|
|
1309
|
+
} | {
|
|
1310
|
+
type: "auto";
|
|
1311
|
+
};
|
|
1312
|
+
type: "read";
|
|
1313
|
+
} | {
|
|
1314
|
+
enabled: boolean;
|
|
1315
|
+
name: "write";
|
|
1316
|
+
permission_policy: {
|
|
1317
|
+
type: "always_allow";
|
|
1318
|
+
} | {
|
|
1319
|
+
type: "always_ask";
|
|
1320
|
+
} | {
|
|
1321
|
+
type: "auto";
|
|
1322
|
+
};
|
|
1323
|
+
type: "write";
|
|
1324
|
+
} | {
|
|
1325
|
+
enabled: boolean;
|
|
1326
|
+
name: "glob";
|
|
1327
|
+
permission_policy: {
|
|
1328
|
+
type: "always_allow";
|
|
1329
|
+
} | {
|
|
1330
|
+
type: "always_ask";
|
|
1331
|
+
} | {
|
|
1332
|
+
type: "auto";
|
|
1333
|
+
};
|
|
1334
|
+
type: "glob";
|
|
1335
|
+
} | {
|
|
1336
|
+
enabled: boolean;
|
|
1337
|
+
name: "grep";
|
|
1338
|
+
permission_policy: {
|
|
1339
|
+
type: "always_allow";
|
|
1340
|
+
} | {
|
|
1341
|
+
type: "always_ask";
|
|
1342
|
+
} | {
|
|
1343
|
+
type: "auto";
|
|
1344
|
+
};
|
|
1345
|
+
type: "grep";
|
|
1346
|
+
} | {
|
|
1347
|
+
enabled: boolean;
|
|
1348
|
+
name: "web_fetch";
|
|
1349
|
+
permission_policy: {
|
|
1350
|
+
type: "always_allow";
|
|
1351
|
+
} | {
|
|
1352
|
+
type: "always_ask";
|
|
1353
|
+
} | {
|
|
1354
|
+
type: "auto";
|
|
1355
|
+
};
|
|
1356
|
+
type: "web_fetch";
|
|
1357
|
+
allowed_domains?: Array<string>;
|
|
1358
|
+
blocked_domains?: Array<string>;
|
|
1359
|
+
max_content_tokens?: null | number;
|
|
1360
|
+
} | {
|
|
1361
|
+
enabled: boolean;
|
|
1362
|
+
name: "web_search";
|
|
1363
|
+
permission_policy: {
|
|
1364
|
+
type: "always_allow";
|
|
1365
|
+
} | {
|
|
1366
|
+
type: "always_ask";
|
|
1367
|
+
} | {
|
|
1368
|
+
type: "auto";
|
|
1369
|
+
};
|
|
1370
|
+
type: "web_search";
|
|
1371
|
+
allowed_domains?: Array<string>;
|
|
1372
|
+
blocked_domains?: Array<string>;
|
|
1373
|
+
user_location?: null | {
|
|
1374
|
+
type: "approximate";
|
|
1375
|
+
city?: null | string;
|
|
1376
|
+
country?: null | string;
|
|
1377
|
+
region?: null | string;
|
|
1378
|
+
timezone?: null | string;
|
|
1379
|
+
};
|
|
1380
|
+
} | {
|
|
1381
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1382
|
+
enabled: boolean;
|
|
1383
|
+
permission_policy: {
|
|
1384
|
+
type: "always_allow" | "always_ask";
|
|
1385
|
+
};
|
|
1386
|
+
}>;
|
|
1387
|
+
default_config: {
|
|
1388
|
+
enabled: boolean;
|
|
1389
|
+
permission_policy: {
|
|
1390
|
+
type: "always_allow";
|
|
1391
|
+
} | {
|
|
1392
|
+
type: "always_ask";
|
|
1393
|
+
} | {
|
|
1394
|
+
type: "auto";
|
|
1395
|
+
};
|
|
1396
|
+
};
|
|
1397
|
+
type: "agent_toolset_20260401";
|
|
1398
|
+
} | {
|
|
1399
|
+
type: "mcp_toolset";
|
|
1400
|
+
mcp_server_name: string;
|
|
1401
|
+
default_config?: {
|
|
1402
|
+
enabled?: boolean | null;
|
|
1403
|
+
permission_policy?: null | {
|
|
1404
|
+
type: "always_allow" | "always_ask";
|
|
1405
|
+
};
|
|
1406
|
+
} | null;
|
|
1407
|
+
configs?: Array<{
|
|
1408
|
+
name: string;
|
|
1409
|
+
enabled?: boolean | null;
|
|
1410
|
+
permission_policy?: null | {
|
|
1411
|
+
type: "always_allow" | "always_ask";
|
|
1412
|
+
};
|
|
1413
|
+
}> | null;
|
|
1414
|
+
} | {
|
|
1415
|
+
description: string;
|
|
1416
|
+
input_schema: {
|
|
1417
|
+
type: "object";
|
|
1418
|
+
properties?: null | {
|
|
1419
|
+
[key: string]: unknown;
|
|
1420
|
+
};
|
|
1421
|
+
required?: null | Array<string>;
|
|
1422
|
+
[key: string]: unknown;
|
|
1423
|
+
};
|
|
1424
|
+
name: string;
|
|
1425
|
+
type: "custom";
|
|
1426
|
+
}>;
|
|
1427
|
+
type: "agent";
|
|
1428
|
+
updated_at: string;
|
|
1429
|
+
version: number;
|
|
1430
|
+
active_version: number;
|
|
1431
|
+
created_by: {
|
|
1432
|
+
type: "user";
|
|
1433
|
+
id: string;
|
|
1434
|
+
name?: string;
|
|
1435
|
+
} | {
|
|
1436
|
+
type: "api_key";
|
|
1437
|
+
id: string;
|
|
1438
|
+
} | null;
|
|
1439
|
+
note: string | null;
|
|
1440
|
+
bindings: Array<{
|
|
1441
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1442
|
+
id: string;
|
|
1443
|
+
access: "read_only" | "read_write" | "invoke";
|
|
1444
|
+
instructions?: string;
|
|
1445
|
+
enabled?: boolean;
|
|
1446
|
+
} | {
|
|
1447
|
+
type: "search" | "browser";
|
|
1448
|
+
enabled?: boolean;
|
|
1449
|
+
}>;
|
|
1450
|
+
kind: "personal" | "service";
|
|
1451
|
+
computer_id?: string;
|
|
1452
|
+
subagent_model?: string | null;
|
|
1453
|
+
subagents?: Array<{
|
|
1454
|
+
name: string;
|
|
1455
|
+
description: string;
|
|
1456
|
+
prompt: string;
|
|
1457
|
+
tools?: Array<string>;
|
|
1458
|
+
disallowed_tools?: Array<string>;
|
|
1459
|
+
model?: string;
|
|
1460
|
+
}> | null;
|
|
1461
|
+
commands?: Array<{
|
|
1462
|
+
name: string;
|
|
1463
|
+
description?: string;
|
|
1464
|
+
argument_hint?: string;
|
|
1465
|
+
prompt: string;
|
|
1466
|
+
}> | null;
|
|
1467
|
+
settings?: {
|
|
1468
|
+
hooks?: {
|
|
1469
|
+
SessionStart?: Array<{
|
|
1470
|
+
matcher?: string;
|
|
1471
|
+
hooks: Array<{
|
|
1472
|
+
type: "command";
|
|
1473
|
+
command: string;
|
|
1474
|
+
timeout?: number;
|
|
1475
|
+
async?: boolean;
|
|
1476
|
+
enabled?: boolean;
|
|
1477
|
+
}>;
|
|
1478
|
+
}>;
|
|
1479
|
+
UserPromptSubmit?: Array<{
|
|
1480
|
+
matcher?: string;
|
|
1481
|
+
hooks: Array<{
|
|
1482
|
+
type: "command";
|
|
1483
|
+
command: string;
|
|
1484
|
+
timeout?: number;
|
|
1485
|
+
async?: boolean;
|
|
1486
|
+
enabled?: boolean;
|
|
1487
|
+
}>;
|
|
1488
|
+
}>;
|
|
1489
|
+
PreToolUse?: Array<{
|
|
1490
|
+
matcher?: string;
|
|
1491
|
+
hooks: Array<{
|
|
1492
|
+
type: "command";
|
|
1493
|
+
command: string;
|
|
1494
|
+
timeout?: number;
|
|
1495
|
+
async?: boolean;
|
|
1496
|
+
enabled?: boolean;
|
|
1497
|
+
}>;
|
|
1498
|
+
}>;
|
|
1499
|
+
PermissionRequest?: Array<{
|
|
1500
|
+
matcher?: string;
|
|
1501
|
+
hooks: Array<{
|
|
1502
|
+
type: "command";
|
|
1503
|
+
command: string;
|
|
1504
|
+
timeout?: number;
|
|
1505
|
+
async?: boolean;
|
|
1506
|
+
enabled?: boolean;
|
|
1507
|
+
}>;
|
|
1508
|
+
}>;
|
|
1509
|
+
PostToolUse?: Array<{
|
|
1510
|
+
matcher?: string;
|
|
1511
|
+
hooks: Array<{
|
|
1512
|
+
type: "command";
|
|
1513
|
+
command: string;
|
|
1514
|
+
timeout?: number;
|
|
1515
|
+
async?: boolean;
|
|
1516
|
+
enabled?: boolean;
|
|
1517
|
+
}>;
|
|
1518
|
+
}>;
|
|
1519
|
+
PostToolUseFailure?: Array<{
|
|
1520
|
+
matcher?: string;
|
|
1521
|
+
hooks: Array<{
|
|
1522
|
+
type: "command";
|
|
1523
|
+
command: string;
|
|
1524
|
+
timeout?: number;
|
|
1525
|
+
async?: boolean;
|
|
1526
|
+
enabled?: boolean;
|
|
1527
|
+
}>;
|
|
1528
|
+
}>;
|
|
1529
|
+
Stop?: Array<{
|
|
1530
|
+
matcher?: string;
|
|
1531
|
+
hooks: Array<{
|
|
1532
|
+
type: "command";
|
|
1533
|
+
command: string;
|
|
1534
|
+
timeout?: number;
|
|
1535
|
+
async?: boolean;
|
|
1536
|
+
enabled?: boolean;
|
|
1537
|
+
}>;
|
|
1538
|
+
}>;
|
|
1539
|
+
};
|
|
1540
|
+
allowManagedHooksOnly?: boolean;
|
|
1541
|
+
allowManagedMcpServersOnly?: boolean;
|
|
1542
|
+
allowManagedPermissionRulesOnly?: boolean;
|
|
1543
|
+
autoMemoryEnabled?: boolean;
|
|
1544
|
+
disabled?: {
|
|
1545
|
+
subagents?: Array<string>;
|
|
1546
|
+
commands?: Array<string>;
|
|
1547
|
+
skills?: Array<string>;
|
|
1548
|
+
mcpServers?: Array<string>;
|
|
1549
|
+
hooks?: Array<string>;
|
|
1550
|
+
};
|
|
1551
|
+
} | null;
|
|
1552
|
+
models?: {
|
|
1553
|
+
allowed: Array<string>;
|
|
1554
|
+
};
|
|
1555
|
+
avatar: string | null;
|
|
1556
|
+
environment_id?: string | null;
|
|
1557
|
+
status: "active" | "archived";
|
|
1558
|
+
}>;
|
|
1072
1559
|
list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
|
|
1073
1560
|
data: Array<{
|
|
1074
1561
|
id: string;
|
|
@@ -1094,6 +1581,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
1094
1581
|
type: "agent";
|
|
1095
1582
|
updated_at: string;
|
|
1096
1583
|
version: number;
|
|
1584
|
+
active_version: number;
|
|
1585
|
+
created_by: {
|
|
1586
|
+
type: "user";
|
|
1587
|
+
id: string;
|
|
1588
|
+
name?: string;
|
|
1589
|
+
} | {
|
|
1590
|
+
type: "api_key";
|
|
1591
|
+
id: string;
|
|
1592
|
+
} | null;
|
|
1593
|
+
note: string | null;
|
|
1594
|
+
bindings: Array<{
|
|
1595
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1596
|
+
id: string;
|
|
1597
|
+
access: "read_only" | "read_write" | "invoke";
|
|
1598
|
+
instructions?: string;
|
|
1599
|
+
enabled?: boolean;
|
|
1600
|
+
} | {
|
|
1601
|
+
type: "search" | "browser";
|
|
1602
|
+
enabled?: boolean;
|
|
1603
|
+
}>;
|
|
1097
1604
|
kind: "personal" | "service";
|
|
1098
1605
|
computer_id?: string;
|
|
1099
1606
|
subagent_model?: string | null;
|
|
@@ -1199,6 +1706,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1199
1706
|
models?: {
|
|
1200
1707
|
allowed: Array<string>;
|
|
1201
1708
|
};
|
|
1709
|
+
avatar: string | null;
|
|
1710
|
+
environment_id?: string | null;
|
|
1202
1711
|
status: "active" | "archived";
|
|
1203
1712
|
}>;
|
|
1204
1713
|
next_page: string | null;
|
|
@@ -3125,6 +3634,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
3125
3634
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3126
3635
|
}>;
|
|
3127
3636
|
};
|
|
3637
|
+
skills: {
|
|
3638
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SkillsCreateData>) => Promise<Types.AgentManaged308>;
|
|
3639
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.SkillsDeleteData>) => Promise<Types.AgentManaged310>;
|
|
3640
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.SkillsListData> | undefined) => Promise<{
|
|
3641
|
+
data: Array<Types.AgentManaged308>;
|
|
3642
|
+
next_page: string | null;
|
|
3643
|
+
}>;
|
|
3644
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.SkillsRetrieveData>) => Promise<Types.AgentManaged308>;
|
|
3645
|
+
versions: {
|
|
3646
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsCreateData>) => Promise<Types.AgentManaged311>;
|
|
3647
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsDeleteData>) => Promise<Types.AgentManaged312>;
|
|
3648
|
+
list: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsListData>) => Promise<{
|
|
3649
|
+
data: Array<Types.AgentManaged311>;
|
|
3650
|
+
next_page: string | null;
|
|
3651
|
+
}>;
|
|
3652
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsRetrieveData>) => Promise<Types.AgentManaged311>;
|
|
3653
|
+
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.SkillsVersionsDownloadData>) => Promise<Blob | File>;
|
|
3654
|
+
};
|
|
3655
|
+
};
|
|
3128
3656
|
toolsets: {
|
|
3129
3657
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListToolsetsData> | undefined) => Promise<{
|
|
3130
3658
|
data: Array<{
|
|
@@ -3455,6 +3983,14 @@ export declare function createFile(transport: Transport): {
|
|
|
3455
3983
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
3456
3984
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveFileContentData>) => Promise<Blob | File>;
|
|
3457
3985
|
};
|
|
3986
|
+
uploads: {
|
|
3987
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3988
|
+
complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3989
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
3990
|
+
parts: {
|
|
3991
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
|
|
3992
|
+
};
|
|
3993
|
+
};
|
|
3458
3994
|
};
|
|
3459
3995
|
export declare function createKnowledge(transport: Transport): {
|
|
3460
3996
|
vectorStores: {
|
|
@@ -4498,6 +5034,120 @@ export declare function createSearch(transport: Transport): {
|
|
|
4498
5034
|
}>;
|
|
4499
5035
|
};
|
|
4500
5036
|
};
|
|
5037
|
+
export declare function createTicket(transport: Transport): {
|
|
5038
|
+
activity: {
|
|
5039
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.TicketGetActivityData> | undefined) => Promise<{
|
|
5040
|
+
activity: Array<Types.TicketActivity>;
|
|
5041
|
+
next_page_token: string;
|
|
5042
|
+
}>;
|
|
5043
|
+
};
|
|
5044
|
+
comments: {
|
|
5045
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdData>) => Promise<void>;
|
|
5046
|
+
reactions: {
|
|
5047
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostCommentsIdReactionsData>) => Promise<Types.TicketReactionSummary>;
|
|
5048
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteCommentsIdReactionsContentData>) => Promise<Types.TicketReactionSummary>;
|
|
5049
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdReactionsData>) => Promise<{
|
|
5050
|
+
reactions: Array<Types.TicketReaction>;
|
|
5051
|
+
next_page_token: string;
|
|
5052
|
+
}>;
|
|
5053
|
+
};
|
|
5054
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetCommentsIdData>) => Promise<Types.TicketComment>;
|
|
5055
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchCommentsIdData>) => Promise<Types.TicketComment>;
|
|
5056
|
+
};
|
|
5057
|
+
labels: {
|
|
5058
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostLabelsData>) => Promise<Types.TicketLabel>;
|
|
5059
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteLabelsNameData>) => Promise<void>;
|
|
5060
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetLabelsData> | undefined) => Promise<{
|
|
5061
|
+
labels: Array<Types.TicketLabel>;
|
|
5062
|
+
next_page_token: string;
|
|
5063
|
+
}>;
|
|
5064
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchLabelsNameData>) => Promise<Types.TicketLabel>;
|
|
5065
|
+
};
|
|
5066
|
+
milestones: {
|
|
5067
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostMilestonesData>) => Promise<Types.TicketMilestone>;
|
|
5068
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteMilestonesNumberData>) => Promise<void>;
|
|
5069
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesData> | undefined) => Promise<{
|
|
5070
|
+
milestones: Array<Types.TicketMilestone>;
|
|
5071
|
+
next_page_token: string;
|
|
5072
|
+
}>;
|
|
5073
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetMilestonesNumberData>) => Promise<Types.TicketMilestone>;
|
|
5074
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchMilestonesNumberData>) => Promise<Types.TicketMilestone>;
|
|
5075
|
+
};
|
|
5076
|
+
repositories: {
|
|
5077
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetRepositoriesData> | undefined) => Promise<{
|
|
5078
|
+
repositories: Array<Types.TicketRepository>;
|
|
5079
|
+
next_page_token: string;
|
|
5080
|
+
}>;
|
|
5081
|
+
};
|
|
5082
|
+
tickets: {
|
|
5083
|
+
comments: {
|
|
5084
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberCommentsData>) => Promise<Types.TicketComment>;
|
|
5085
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberCommentsData>) => Promise<{
|
|
5086
|
+
comments: Array<Types.TicketComment>;
|
|
5087
|
+
next_page_token: string;
|
|
5088
|
+
}>;
|
|
5089
|
+
};
|
|
5090
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsData>) => Promise<Types.TicketRecord>;
|
|
5091
|
+
deleteLock: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberLockData>) => Promise<void>;
|
|
5092
|
+
dependencies: {
|
|
5093
|
+
blockedBy: {
|
|
5094
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberDependenciesBlockedByData>) => Promise<Types.TicketRecord>;
|
|
5095
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberDependenciesBlockedByNData>) => Promise<Types.TicketRecord>;
|
|
5096
|
+
};
|
|
5097
|
+
retrieveBlockedBy: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockedByData>) => Promise<{
|
|
5098
|
+
tickets: Array<Types.TicketRecord>;
|
|
5099
|
+
next_page_token: string;
|
|
5100
|
+
}>;
|
|
5101
|
+
retrieveBlocking: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberDependenciesBlockingData>) => Promise<{
|
|
5102
|
+
tickets: Array<Types.TicketRecord>;
|
|
5103
|
+
next_page_token: string;
|
|
5104
|
+
}>;
|
|
5105
|
+
};
|
|
5106
|
+
events: {
|
|
5107
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberEventsData>) => Promise<{
|
|
5108
|
+
events: Array<Types.TicketEvent>;
|
|
5109
|
+
next_page_token: string;
|
|
5110
|
+
}>;
|
|
5111
|
+
};
|
|
5112
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTicketsData> | undefined) => Promise<{
|
|
5113
|
+
tickets: Array<Types.TicketRecord>;
|
|
5114
|
+
next_page_token: string;
|
|
5115
|
+
total_size?: number;
|
|
5116
|
+
}>;
|
|
5117
|
+
reactions: {
|
|
5118
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberReactionsData>) => Promise<Types.TicketReactionSummary>;
|
|
5119
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberReactionsContentData>) => Promise<Types.TicketReactionSummary>;
|
|
5120
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberReactionsData>) => Promise<{
|
|
5121
|
+
reactions: Array<Types.TicketReaction>;
|
|
5122
|
+
next_page_token: string;
|
|
5123
|
+
}>;
|
|
5124
|
+
};
|
|
5125
|
+
relations: {
|
|
5126
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberRelationsData>) => Promise<Types.TicketRecord>;
|
|
5127
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberRelationsNData>) => Promise<Types.TicketRecord>;
|
|
5128
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberRelationsData>) => Promise<{
|
|
5129
|
+
tickets: Array<Types.TicketRecord>;
|
|
5130
|
+
next_page_token: string;
|
|
5131
|
+
}>;
|
|
5132
|
+
};
|
|
5133
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberData>) => Promise<Types.TicketRecord>;
|
|
5134
|
+
subTickets: {
|
|
5135
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TicketPostTicketsNumberSubTicketsData>) => Promise<Types.TicketRecord>;
|
|
5136
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.TicketDeleteTicketsNumberSubTicketsChildData>) => Promise<Types.TicketRecord>;
|
|
5137
|
+
list: (options: import("./core/transport.js").CallOptions<Types.TicketGetTicketsNumberSubTicketsData>) => Promise<{
|
|
5138
|
+
tickets: Array<Types.TicketRecord>;
|
|
5139
|
+
next_page_token: string;
|
|
5140
|
+
}>;
|
|
5141
|
+
};
|
|
5142
|
+
update: (options: import("./core/transport.js").CallOptions<Types.TicketPatchTicketsNumberData>) => Promise<Types.TicketRecord>;
|
|
5143
|
+
updateLock: (options: import("./core/transport.js").CallOptions<Types.TicketPutTicketsNumberLockData>) => Promise<void>;
|
|
5144
|
+
};
|
|
5145
|
+
types: {
|
|
5146
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.TicketGetTypesData> | undefined) => Promise<{
|
|
5147
|
+
types: Array<Types.TicketType>;
|
|
5148
|
+
}>;
|
|
5149
|
+
};
|
|
5150
|
+
};
|
|
4501
5151
|
export declare function createVault(transport: Transport): {
|
|
4502
5152
|
authorizations: {
|
|
4503
5153
|
create: (options: import("./core/transport.js").CallOptions<Types.VaultCreateAuthorizationData>) => Promise<Types.VaultAuthorization>;
|
|
@@ -4567,5 +5217,6 @@ export declare const resourceFactories: {
|
|
|
4567
5217
|
organization: typeof createOrganization;
|
|
4568
5218
|
sandbox: typeof createSandbox;
|
|
4569
5219
|
search: typeof createSearch;
|
|
5220
|
+
ticket: typeof createTicket;
|
|
4570
5221
|
vault: typeof createVault;
|
|
4571
5222
|
};
|