@deepraxis/sdk 0.1.0 → 0.1.1-dev.016e776
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 +437 -43
- package/README.md +3 -3
- package/dist/automation.d.ts +61 -0
- package/dist/core/client.d.ts +11 -1
- package/dist/core/client.js +13 -0
- package/dist/core/transport.d.ts +9 -0
- package/dist/core/transport.js +13 -2
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +1076 -182
- package/dist/generated/sdk.gen.js +3143 -642
- package/dist/generated/types.gen.d.ts +52279 -35870
- package/dist/helpers/application-build.d.ts +10 -0
- package/dist/helpers/application-build.js +98 -0
- package/dist/helpers/application-publish.d.ts +8 -0
- package/dist/helpers/application-publish.js +26 -9
- package/dist/helpers/browser-connect.d.ts +78 -0
- package/dist/helpers/browser-connect.js +161 -0
- package/dist/helpers/browser-decisions.d.ts +44 -0
- package/dist/helpers/browser-decisions.js +84 -0
- package/dist/helpers/browser-documentation.d.ts +2 -0
- package/dist/helpers/browser-documentation.js +47 -0
- package/dist/helpers/file-upload.d.ts +2 -2
- package/dist/helpers/sandbox-templates.d.ts +121 -0
- package/dist/helpers/sandbox-templates.js +60 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +3 -0
- package/dist/operations.generated.d.ts +6491 -2211
- package/dist/operations.generated.js +9970 -4754
- package/dist/resources.generated.d.ts +753 -419
- package/dist/resources.generated.js +270 -25
- package/package.json +2 -2
|
@@ -10,8 +10,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
10
10
|
description: null | string;
|
|
11
11
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
12
12
|
metadata: Types.AgentManaged37;
|
|
13
|
-
model
|
|
14
|
-
id:
|
|
13
|
+
model?: {
|
|
14
|
+
id: string;
|
|
15
15
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
16
16
|
inference_geo?: string;
|
|
17
17
|
speed?: "standard" | "fast";
|
|
@@ -19,7 +19,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
19
19
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
20
20
|
};
|
|
21
21
|
};
|
|
22
|
-
multiagent
|
|
22
|
+
multiagent?: null | Types.AgentManaged39;
|
|
23
23
|
name: string;
|
|
24
24
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
25
25
|
system: null | string;
|
|
@@ -42,14 +42,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
42
42
|
id: string;
|
|
43
43
|
access: "read_only" | "read_write" | "invoke";
|
|
44
44
|
instructions?: string;
|
|
45
|
+
readonly verified?: boolean;
|
|
45
46
|
enabled?: boolean;
|
|
46
47
|
} | {
|
|
47
|
-
type: "search" | "browser";
|
|
48
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
49
|
+
readonly verified?: boolean;
|
|
48
50
|
enabled?: boolean;
|
|
49
51
|
}>;
|
|
50
|
-
kind: "personal" | "service";
|
|
52
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
51
53
|
computer_id?: string;
|
|
52
54
|
subagent_model?: string | null;
|
|
55
|
+
image_model?: string | null;
|
|
53
56
|
subagents?: Array<{
|
|
54
57
|
name: string;
|
|
55
58
|
description: string;
|
|
@@ -148,14 +151,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
148
151
|
mcpServers?: Array<string>;
|
|
149
152
|
hooks?: Array<string>;
|
|
150
153
|
};
|
|
154
|
+
idleCompaction?: boolean;
|
|
155
|
+
outputStyle?: string;
|
|
151
156
|
} | null;
|
|
152
157
|
models?: {
|
|
153
158
|
allowed: Array<string>;
|
|
154
159
|
};
|
|
155
160
|
avatar: string | null;
|
|
161
|
+
creation_source: string | null;
|
|
162
|
+
identity_number: string | null;
|
|
156
163
|
environment_id?: string | null;
|
|
157
164
|
vault_ids?: Array<string>;
|
|
158
165
|
status: "active" | "archived";
|
|
166
|
+
output_styles?: Array<{
|
|
167
|
+
name: string;
|
|
168
|
+
description?: string;
|
|
169
|
+
prompt: string;
|
|
170
|
+
keep_coding_instructions?: boolean;
|
|
171
|
+
}> | null;
|
|
159
172
|
}>;
|
|
160
173
|
create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
|
|
161
174
|
id: string;
|
|
@@ -164,8 +177,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
164
177
|
description: null | string;
|
|
165
178
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
166
179
|
metadata: Types.AgentManaged37;
|
|
167
|
-
model
|
|
168
|
-
id:
|
|
180
|
+
model?: {
|
|
181
|
+
id: string;
|
|
169
182
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
170
183
|
inference_geo?: string;
|
|
171
184
|
speed?: "standard" | "fast";
|
|
@@ -173,7 +186,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
173
186
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
174
187
|
};
|
|
175
188
|
};
|
|
176
|
-
multiagent
|
|
189
|
+
multiagent?: null | Types.AgentManaged39;
|
|
177
190
|
name: string;
|
|
178
191
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
179
192
|
system: null | string;
|
|
@@ -196,14 +209,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
196
209
|
id: string;
|
|
197
210
|
access: "read_only" | "read_write" | "invoke";
|
|
198
211
|
instructions?: string;
|
|
212
|
+
readonly verified?: boolean;
|
|
199
213
|
enabled?: boolean;
|
|
200
214
|
} | {
|
|
201
|
-
type: "search" | "browser";
|
|
215
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
216
|
+
readonly verified?: boolean;
|
|
202
217
|
enabled?: boolean;
|
|
203
218
|
}>;
|
|
204
|
-
kind: "personal" | "service";
|
|
219
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
205
220
|
computer_id?: string;
|
|
206
221
|
subagent_model?: string | null;
|
|
222
|
+
image_model?: string | null;
|
|
207
223
|
subagents?: Array<{
|
|
208
224
|
name: string;
|
|
209
225
|
description: string;
|
|
@@ -302,48 +318,109 @@ export declare function createAgent(transport: Transport): {
|
|
|
302
318
|
mcpServers?: Array<string>;
|
|
303
319
|
hooks?: Array<string>;
|
|
304
320
|
};
|
|
321
|
+
idleCompaction?: boolean;
|
|
322
|
+
outputStyle?: string;
|
|
305
323
|
} | null;
|
|
306
324
|
models?: {
|
|
307
325
|
allowed: Array<string>;
|
|
308
326
|
};
|
|
309
327
|
avatar: string | null;
|
|
328
|
+
creation_source: string | null;
|
|
329
|
+
identity_number: string | null;
|
|
310
330
|
environment_id?: string | null;
|
|
311
331
|
vault_ids?: Array<string>;
|
|
312
332
|
status: "active" | "archived";
|
|
333
|
+
output_styles?: Array<{
|
|
334
|
+
name: string;
|
|
335
|
+
description?: string;
|
|
336
|
+
prompt: string;
|
|
337
|
+
keep_coding_instructions?: boolean;
|
|
338
|
+
}> | null;
|
|
313
339
|
}>;
|
|
314
|
-
|
|
340
|
+
customers: {
|
|
341
|
+
auth: {
|
|
342
|
+
accessTokens: {
|
|
343
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
|
|
344
|
+
type: "customer_access_token";
|
|
345
|
+
access_token: string;
|
|
346
|
+
expires_at: string;
|
|
347
|
+
session_expires_at: string;
|
|
348
|
+
customer: {
|
|
349
|
+
id: string;
|
|
350
|
+
type: "identified" | "anonymous";
|
|
351
|
+
};
|
|
352
|
+
}>;
|
|
353
|
+
deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
|
|
354
|
+
renew: {
|
|
355
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
|
|
356
|
+
type: "customer_access_token";
|
|
357
|
+
access_token: string;
|
|
358
|
+
expires_at: string;
|
|
359
|
+
session_expires_at: string;
|
|
360
|
+
customer: {
|
|
361
|
+
id: string;
|
|
362
|
+
type: "identified" | "anonymous";
|
|
363
|
+
};
|
|
364
|
+
}>;
|
|
365
|
+
};
|
|
366
|
+
};
|
|
367
|
+
grantCodes: {
|
|
368
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
|
|
369
|
+
type: "customer_grant_code";
|
|
370
|
+
code: string;
|
|
371
|
+
customer_id: string;
|
|
372
|
+
expires_at: string;
|
|
373
|
+
hosted_url?: string;
|
|
374
|
+
}>;
|
|
375
|
+
};
|
|
376
|
+
};
|
|
315
377
|
block: {
|
|
316
|
-
create: (options: import("./core/transport.js").CallOptions<Types.
|
|
317
|
-
|
|
378
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
|
|
379
|
+
id: string;
|
|
380
|
+
type: "identified" | "anonymous";
|
|
381
|
+
merged_into: string | null;
|
|
382
|
+
blocked: boolean;
|
|
318
383
|
first_seen_at: string | null;
|
|
319
|
-
|
|
384
|
+
last_seen_at: string | null;
|
|
320
385
|
session_count: number;
|
|
321
|
-
|
|
322
|
-
|
|
386
|
+
cost: {
|
|
387
|
+
amount: string;
|
|
388
|
+
currency: "USD";
|
|
389
|
+
};
|
|
323
390
|
}>;
|
|
324
391
|
};
|
|
325
|
-
delete: (options: import("./core/transport.js").CallOptions<Types.
|
|
392
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteCustomerData>) => Promise<{
|
|
326
393
|
id: string;
|
|
327
394
|
status: "pending";
|
|
328
395
|
}>;
|
|
329
|
-
list: (options: import("./core/transport.js").CallOptions<Types.
|
|
396
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListCustomersData>) => Promise<{
|
|
330
397
|
data: Array<{
|
|
331
|
-
|
|
398
|
+
id: string;
|
|
399
|
+
type: "identified" | "anonymous";
|
|
400
|
+
merged_into: string | null;
|
|
401
|
+
blocked: boolean;
|
|
332
402
|
first_seen_at: string | null;
|
|
333
|
-
|
|
403
|
+
last_seen_at: string | null;
|
|
334
404
|
session_count: number;
|
|
335
|
-
|
|
336
|
-
|
|
405
|
+
cost: {
|
|
406
|
+
amount: string;
|
|
407
|
+
currency: "USD";
|
|
408
|
+
};
|
|
337
409
|
}>;
|
|
338
410
|
next_page: string | null;
|
|
339
411
|
}>;
|
|
340
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.
|
|
341
|
-
|
|
412
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetCustomerData>) => Promise<{
|
|
413
|
+
id: string;
|
|
414
|
+
type: "identified" | "anonymous";
|
|
415
|
+
merged_into: string | null;
|
|
416
|
+
blocked: boolean;
|
|
342
417
|
first_seen_at: string | null;
|
|
343
|
-
|
|
418
|
+
last_seen_at: string | null;
|
|
344
419
|
session_count: number;
|
|
345
|
-
|
|
346
|
-
|
|
420
|
+
cost: {
|
|
421
|
+
amount: string;
|
|
422
|
+
currency: "USD";
|
|
423
|
+
};
|
|
347
424
|
recent_sessions: Array<{
|
|
348
425
|
id: string;
|
|
349
426
|
title: string | null;
|
|
@@ -352,7 +429,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
352
429
|
updated_at: string;
|
|
353
430
|
}>;
|
|
354
431
|
}>;
|
|
355
|
-
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.
|
|
432
|
+
retrieveDeletion: (options: import("./core/transport.js").CallOptions<Types.GetCustomerDeletionData>) => Promise<{
|
|
356
433
|
id: string;
|
|
357
434
|
status: "pending" | "snapshotting" | "deleting" | "done" | "failed";
|
|
358
435
|
counts: {
|
|
@@ -368,18 +445,23 @@ export declare function createAgent(transport: Transport): {
|
|
|
368
445
|
updated_at: string;
|
|
369
446
|
}>;
|
|
370
447
|
revokeTokens: {
|
|
371
|
-
create: (options: import("./core/transport.js").CallOptions<Types.
|
|
448
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RevokeCustomerTokensData>) => Promise<{
|
|
372
449
|
revoked: number;
|
|
373
450
|
}>;
|
|
374
451
|
};
|
|
375
452
|
unblock: {
|
|
376
|
-
create: (options: import("./core/transport.js").CallOptions<Types.
|
|
377
|
-
|
|
453
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnblockCustomerData>) => Promise<{
|
|
454
|
+
id: string;
|
|
455
|
+
type: "identified" | "anonymous";
|
|
456
|
+
merged_into: string | null;
|
|
457
|
+
blocked: boolean;
|
|
378
458
|
first_seen_at: string | null;
|
|
379
|
-
|
|
459
|
+
last_seen_at: string | null;
|
|
380
460
|
session_count: number;
|
|
381
|
-
|
|
382
|
-
|
|
461
|
+
cost: {
|
|
462
|
+
amount: string;
|
|
463
|
+
currency: "USD";
|
|
464
|
+
};
|
|
383
465
|
}>;
|
|
384
466
|
};
|
|
385
467
|
};
|
|
@@ -391,8 +473,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
391
473
|
description: null | string;
|
|
392
474
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
393
475
|
metadata: Types.AgentManaged37;
|
|
394
|
-
model
|
|
395
|
-
id:
|
|
476
|
+
model?: {
|
|
477
|
+
id: string;
|
|
396
478
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
397
479
|
inference_geo?: string;
|
|
398
480
|
speed?: "standard" | "fast";
|
|
@@ -400,7 +482,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
400
482
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
401
483
|
};
|
|
402
484
|
};
|
|
403
|
-
multiagent
|
|
485
|
+
multiagent?: null | Types.AgentManaged39;
|
|
404
486
|
name: string;
|
|
405
487
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
406
488
|
system: null | string;
|
|
@@ -423,14 +505,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
423
505
|
id: string;
|
|
424
506
|
access: "read_only" | "read_write" | "invoke";
|
|
425
507
|
instructions?: string;
|
|
508
|
+
readonly verified?: boolean;
|
|
426
509
|
enabled?: boolean;
|
|
427
510
|
} | {
|
|
428
|
-
type: "search" | "browser";
|
|
511
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
512
|
+
readonly verified?: boolean;
|
|
429
513
|
enabled?: boolean;
|
|
430
514
|
}>;
|
|
431
|
-
kind: "personal" | "service";
|
|
515
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
432
516
|
computer_id?: string;
|
|
433
517
|
subagent_model?: string | null;
|
|
518
|
+
image_model?: string | null;
|
|
434
519
|
subagents?: Array<{
|
|
435
520
|
name: string;
|
|
436
521
|
description: string;
|
|
@@ -529,14 +614,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
529
614
|
mcpServers?: Array<string>;
|
|
530
615
|
hooks?: Array<string>;
|
|
531
616
|
};
|
|
617
|
+
idleCompaction?: boolean;
|
|
618
|
+
outputStyle?: string;
|
|
532
619
|
} | null;
|
|
533
620
|
models?: {
|
|
534
621
|
allowed: Array<string>;
|
|
535
622
|
};
|
|
536
623
|
avatar: string | null;
|
|
624
|
+
creation_source: string | null;
|
|
625
|
+
identity_number: string | null;
|
|
537
626
|
environment_id?: string | null;
|
|
538
627
|
vault_ids?: Array<string>;
|
|
539
628
|
status: "active" | "archived";
|
|
629
|
+
output_styles?: Array<{
|
|
630
|
+
name: string;
|
|
631
|
+
description?: string;
|
|
632
|
+
prompt: string;
|
|
633
|
+
keep_coding_instructions?: boolean;
|
|
634
|
+
}> | null;
|
|
540
635
|
}>;
|
|
541
636
|
next_page: string | null;
|
|
542
637
|
}>;
|
|
@@ -547,8 +642,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
547
642
|
description: null | string;
|
|
548
643
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
549
644
|
metadata: Types.AgentManaged37;
|
|
550
|
-
model
|
|
551
|
-
id:
|
|
645
|
+
model?: {
|
|
646
|
+
id: string;
|
|
552
647
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
553
648
|
inference_geo?: string;
|
|
554
649
|
speed?: "standard" | "fast";
|
|
@@ -556,7 +651,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
556
651
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
557
652
|
};
|
|
558
653
|
};
|
|
559
|
-
multiagent
|
|
654
|
+
multiagent?: null | Types.AgentManaged39;
|
|
560
655
|
name: string;
|
|
561
656
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
562
657
|
system: null | string;
|
|
@@ -564,6 +659,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
564
659
|
type: "agent";
|
|
565
660
|
updated_at: string;
|
|
566
661
|
version: number;
|
|
662
|
+
latest_version?: number;
|
|
567
663
|
active_version: number;
|
|
568
664
|
created_by: {
|
|
569
665
|
type: "user";
|
|
@@ -579,14 +675,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
579
675
|
id: string;
|
|
580
676
|
access: "read_only" | "read_write" | "invoke";
|
|
581
677
|
instructions?: string;
|
|
678
|
+
readonly verified?: boolean;
|
|
582
679
|
enabled?: boolean;
|
|
583
680
|
} | {
|
|
584
|
-
type: "search" | "browser";
|
|
681
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
682
|
+
readonly verified?: boolean;
|
|
585
683
|
enabled?: boolean;
|
|
586
684
|
}>;
|
|
587
|
-
kind: "personal" | "service";
|
|
685
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
588
686
|
computer_id?: string;
|
|
589
687
|
subagent_model?: string | null;
|
|
688
|
+
image_model?: string | null;
|
|
590
689
|
subagents?: Array<{
|
|
591
690
|
name: string;
|
|
592
691
|
description: string;
|
|
@@ -685,14 +784,82 @@ export declare function createAgent(transport: Transport): {
|
|
|
685
784
|
mcpServers?: Array<string>;
|
|
686
785
|
hooks?: Array<string>;
|
|
687
786
|
};
|
|
787
|
+
idleCompaction?: boolean;
|
|
788
|
+
outputStyle?: string;
|
|
688
789
|
} | null;
|
|
689
790
|
models?: {
|
|
690
791
|
allowed: Array<string>;
|
|
691
792
|
};
|
|
692
793
|
avatar: string | null;
|
|
794
|
+
creation_source: string | null;
|
|
795
|
+
identity_number: string | null;
|
|
693
796
|
environment_id?: string | null;
|
|
694
797
|
vault_ids?: Array<string>;
|
|
695
798
|
status: "active" | "archived";
|
|
799
|
+
output_styles?: Array<{
|
|
800
|
+
name: string;
|
|
801
|
+
description?: string;
|
|
802
|
+
prompt: string;
|
|
803
|
+
keep_coding_instructions?: boolean;
|
|
804
|
+
}> | null;
|
|
805
|
+
}>;
|
|
806
|
+
retrieveAppearance: (options: import("./core/transport.js").CallOptions<Types.GetAgentAppearanceData>) => Promise<{
|
|
807
|
+
agent?: {
|
|
808
|
+
name?: string;
|
|
809
|
+
avatar?: string;
|
|
810
|
+
};
|
|
811
|
+
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
812
|
+
launcher?: {
|
|
813
|
+
type: "none" | "bubble" | "mascot";
|
|
814
|
+
pack?: {
|
|
815
|
+
preset?: "mint" | "cat" | "bot";
|
|
816
|
+
images?: {
|
|
817
|
+
idle: string;
|
|
818
|
+
greet?: string;
|
|
819
|
+
listening?: string;
|
|
820
|
+
thinking?: string;
|
|
821
|
+
talking?: string;
|
|
822
|
+
"talking-2"?: string;
|
|
823
|
+
sorry?: string;
|
|
824
|
+
sleep?: string;
|
|
825
|
+
};
|
|
826
|
+
};
|
|
827
|
+
image?: string;
|
|
828
|
+
motion?: "float" | "none";
|
|
829
|
+
position?: "bottom-right" | "bottom-left";
|
|
830
|
+
label?: string;
|
|
831
|
+
};
|
|
832
|
+
header?: {
|
|
833
|
+
title?: string;
|
|
834
|
+
subtitle?: string;
|
|
835
|
+
icon?: string;
|
|
836
|
+
};
|
|
837
|
+
theme?: {
|
|
838
|
+
colorScheme?: "light" | "dark" | "system";
|
|
839
|
+
accent?: string;
|
|
840
|
+
surface?: string;
|
|
841
|
+
grayscale?: "neutral" | "warm" | "cool";
|
|
842
|
+
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
843
|
+
density?: "compact" | "normal" | "spacious";
|
|
844
|
+
fontFamily?: string;
|
|
845
|
+
fontSize?: number;
|
|
846
|
+
};
|
|
847
|
+
locale?: "zh" | "en";
|
|
848
|
+
startScreen?: {
|
|
849
|
+
greeting?: string;
|
|
850
|
+
prompts?: Array<{
|
|
851
|
+
label: string;
|
|
852
|
+
prompt: string;
|
|
853
|
+
}>;
|
|
854
|
+
};
|
|
855
|
+
composer?: {
|
|
856
|
+
placeholder?: string;
|
|
857
|
+
};
|
|
858
|
+
disclaimer?: string;
|
|
859
|
+
footer?: string;
|
|
860
|
+
history?: {
|
|
861
|
+
enabled?: boolean;
|
|
862
|
+
};
|
|
696
863
|
}>;
|
|
697
864
|
unarchive: {
|
|
698
865
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
@@ -729,8 +896,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
729
896
|
metadata: {
|
|
730
897
|
[key: string]: string;
|
|
731
898
|
};
|
|
732
|
-
model
|
|
733
|
-
id:
|
|
899
|
+
model?: {
|
|
900
|
+
id: string;
|
|
734
901
|
effort?: {
|
|
735
902
|
type: "low";
|
|
736
903
|
} | {
|
|
@@ -748,7 +915,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
748
915
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
749
916
|
};
|
|
750
917
|
};
|
|
751
|
-
multiagent
|
|
918
|
+
multiagent?: null | {
|
|
752
919
|
agents: Array<{
|
|
753
920
|
id: string;
|
|
754
921
|
type: "agent";
|
|
@@ -921,6 +1088,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
921
1088
|
type: "agent";
|
|
922
1089
|
updated_at: string;
|
|
923
1090
|
version: number;
|
|
1091
|
+
latest_version?: number;
|
|
924
1092
|
active_version: number;
|
|
925
1093
|
created_by: {
|
|
926
1094
|
type: "user";
|
|
@@ -936,14 +1104,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
936
1104
|
id: string;
|
|
937
1105
|
access: "read_only" | "read_write" | "invoke";
|
|
938
1106
|
instructions?: string;
|
|
1107
|
+
readonly verified?: boolean;
|
|
939
1108
|
enabled?: boolean;
|
|
940
1109
|
} | {
|
|
941
|
-
type: "search" | "browser";
|
|
1110
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
1111
|
+
readonly verified?: boolean;
|
|
942
1112
|
enabled?: boolean;
|
|
943
1113
|
}>;
|
|
944
|
-
kind: "personal" | "service";
|
|
1114
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
945
1115
|
computer_id?: string;
|
|
946
1116
|
subagent_model?: string | null;
|
|
1117
|
+
image_model?: string | null;
|
|
947
1118
|
subagents?: Array<{
|
|
948
1119
|
name: string;
|
|
949
1120
|
description: string;
|
|
@@ -1042,14 +1213,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
1042
1213
|
mcpServers?: Array<string>;
|
|
1043
1214
|
hooks?: Array<string>;
|
|
1044
1215
|
};
|
|
1216
|
+
idleCompaction?: boolean;
|
|
1217
|
+
outputStyle?: string;
|
|
1045
1218
|
} | null;
|
|
1046
1219
|
models?: {
|
|
1047
1220
|
allowed: Array<string>;
|
|
1048
1221
|
};
|
|
1049
1222
|
avatar: string | null;
|
|
1223
|
+
creation_source: string | null;
|
|
1224
|
+
identity_number: string | null;
|
|
1050
1225
|
environment_id?: string | null;
|
|
1051
1226
|
vault_ids?: Array<string>;
|
|
1052
1227
|
status: "active" | "archived";
|
|
1228
|
+
output_styles?: Array<{
|
|
1229
|
+
name: string;
|
|
1230
|
+
description?: string;
|
|
1231
|
+
prompt: string;
|
|
1232
|
+
keep_coding_instructions?: boolean;
|
|
1233
|
+
}> | null;
|
|
1053
1234
|
}>;
|
|
1054
1235
|
};
|
|
1055
1236
|
update: (options: import("./core/transport.js").CallOptions<Types.AgentsUpdateData>) => Promise<{
|
|
@@ -1059,8 +1240,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1059
1240
|
description: null | string;
|
|
1060
1241
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1061
1242
|
metadata: Types.AgentManaged37;
|
|
1062
|
-
model
|
|
1063
|
-
id:
|
|
1243
|
+
model?: {
|
|
1244
|
+
id: string;
|
|
1064
1245
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1065
1246
|
inference_geo?: string;
|
|
1066
1247
|
speed?: "standard" | "fast";
|
|
@@ -1068,7 +1249,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1068
1249
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1069
1250
|
};
|
|
1070
1251
|
};
|
|
1071
|
-
multiagent
|
|
1252
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1072
1253
|
name: string;
|
|
1073
1254
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1074
1255
|
system: null | string;
|
|
@@ -1076,6 +1257,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1076
1257
|
type: "agent";
|
|
1077
1258
|
updated_at: string;
|
|
1078
1259
|
version: number;
|
|
1260
|
+
latest_version?: number;
|
|
1079
1261
|
active_version: number;
|
|
1080
1262
|
created_by: {
|
|
1081
1263
|
type: "user";
|
|
@@ -1091,14 +1273,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1091
1273
|
id: string;
|
|
1092
1274
|
access: "read_only" | "read_write" | "invoke";
|
|
1093
1275
|
instructions?: string;
|
|
1276
|
+
readonly verified?: boolean;
|
|
1094
1277
|
enabled?: boolean;
|
|
1095
1278
|
} | {
|
|
1096
|
-
type: "search" | "browser";
|
|
1279
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
1280
|
+
readonly verified?: boolean;
|
|
1097
1281
|
enabled?: boolean;
|
|
1098
1282
|
}>;
|
|
1099
|
-
kind: "personal" | "service";
|
|
1283
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1100
1284
|
computer_id?: string;
|
|
1101
1285
|
subagent_model?: string | null;
|
|
1286
|
+
image_model?: string | null;
|
|
1102
1287
|
subagents?: Array<{
|
|
1103
1288
|
name: string;
|
|
1104
1289
|
description: string;
|
|
@@ -1197,242 +1382,51 @@ export declare function createAgent(transport: Transport): {
|
|
|
1197
1382
|
mcpServers?: Array<string>;
|
|
1198
1383
|
hooks?: Array<string>;
|
|
1199
1384
|
};
|
|
1385
|
+
idleCompaction?: boolean;
|
|
1386
|
+
outputStyle?: string;
|
|
1200
1387
|
} | null;
|
|
1201
1388
|
models?: {
|
|
1202
1389
|
allowed: Array<string>;
|
|
1203
1390
|
};
|
|
1204
1391
|
avatar: string | null;
|
|
1392
|
+
creation_source: string | null;
|
|
1393
|
+
identity_number: string | null;
|
|
1205
1394
|
environment_id?: string | null;
|
|
1206
1395
|
vault_ids?: Array<string>;
|
|
1207
1396
|
status: "active" | "archived";
|
|
1208
|
-
|
|
1209
|
-
versions: {
|
|
1210
|
-
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1211
|
-
id: string;
|
|
1212
|
-
archived_at: null | string;
|
|
1213
|
-
created_at: string;
|
|
1214
|
-
description: null | string;
|
|
1215
|
-
mcp_servers: Array<{
|
|
1216
|
-
type: "url";
|
|
1217
|
-
name: string;
|
|
1218
|
-
url: string;
|
|
1219
|
-
headers?: {
|
|
1220
|
-
[key: string]: string;
|
|
1221
|
-
};
|
|
1222
|
-
timeout_ms?: number;
|
|
1223
|
-
} | {
|
|
1224
|
-
type: "sse";
|
|
1225
|
-
name: string;
|
|
1226
|
-
url: string;
|
|
1227
|
-
headers?: {
|
|
1228
|
-
[key: string]: string;
|
|
1229
|
-
};
|
|
1230
|
-
timeout_ms?: number;
|
|
1231
|
-
} | {
|
|
1232
|
-
type: "stdio";
|
|
1233
|
-
name: string;
|
|
1234
|
-
command: string;
|
|
1235
|
-
args?: Array<string>;
|
|
1236
|
-
env?: {
|
|
1237
|
-
[key: string]: string;
|
|
1238
|
-
};
|
|
1239
|
-
timeout_ms?: number;
|
|
1240
|
-
}>;
|
|
1241
|
-
metadata: {
|
|
1242
|
-
[key: string]: string;
|
|
1243
|
-
};
|
|
1244
|
-
model: {
|
|
1245
|
-
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;
|
|
1246
|
-
effort?: {
|
|
1247
|
-
type: "low";
|
|
1248
|
-
} | {
|
|
1249
|
-
type: "medium";
|
|
1250
|
-
} | {
|
|
1251
|
-
type: "high";
|
|
1252
|
-
} | {
|
|
1253
|
-
type: "xhigh";
|
|
1254
|
-
} | {
|
|
1255
|
-
type: "max";
|
|
1256
|
-
};
|
|
1257
|
-
inference_geo?: string;
|
|
1258
|
-
speed?: "standard" | "fast";
|
|
1259
|
-
settings?: {
|
|
1260
|
-
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1261
|
-
};
|
|
1262
|
-
};
|
|
1263
|
-
multiagent: null | {
|
|
1264
|
-
agents: Array<{
|
|
1265
|
-
id: string;
|
|
1266
|
-
type: "agent";
|
|
1267
|
-
version: number;
|
|
1268
|
-
} | {
|
|
1269
|
-
model: string;
|
|
1270
|
-
type: "advisor";
|
|
1271
|
-
}>;
|
|
1272
|
-
type: "coordinator";
|
|
1273
|
-
};
|
|
1397
|
+
output_styles?: Array<{
|
|
1274
1398
|
name: string;
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
};
|
|
1296
|
-
type: "bash";
|
|
1297
|
-
} | {
|
|
1298
|
-
enabled: boolean;
|
|
1299
|
-
name: "edit";
|
|
1300
|
-
permission_policy: {
|
|
1301
|
-
type: "always_allow";
|
|
1302
|
-
} | {
|
|
1303
|
-
type: "always_ask";
|
|
1304
|
-
} | {
|
|
1305
|
-
type: "auto";
|
|
1306
|
-
};
|
|
1307
|
-
type: "edit";
|
|
1308
|
-
} | {
|
|
1309
|
-
enabled: boolean;
|
|
1310
|
-
name: "read";
|
|
1311
|
-
permission_policy: {
|
|
1312
|
-
type: "always_allow";
|
|
1313
|
-
} | {
|
|
1314
|
-
type: "always_ask";
|
|
1315
|
-
} | {
|
|
1316
|
-
type: "auto";
|
|
1317
|
-
};
|
|
1318
|
-
type: "read";
|
|
1319
|
-
} | {
|
|
1320
|
-
enabled: boolean;
|
|
1321
|
-
name: "write";
|
|
1322
|
-
permission_policy: {
|
|
1323
|
-
type: "always_allow";
|
|
1324
|
-
} | {
|
|
1325
|
-
type: "always_ask";
|
|
1326
|
-
} | {
|
|
1327
|
-
type: "auto";
|
|
1328
|
-
};
|
|
1329
|
-
type: "write";
|
|
1330
|
-
} | {
|
|
1331
|
-
enabled: boolean;
|
|
1332
|
-
name: "glob";
|
|
1333
|
-
permission_policy: {
|
|
1334
|
-
type: "always_allow";
|
|
1335
|
-
} | {
|
|
1336
|
-
type: "always_ask";
|
|
1337
|
-
} | {
|
|
1338
|
-
type: "auto";
|
|
1339
|
-
};
|
|
1340
|
-
type: "glob";
|
|
1341
|
-
} | {
|
|
1342
|
-
enabled: boolean;
|
|
1343
|
-
name: "grep";
|
|
1344
|
-
permission_policy: {
|
|
1345
|
-
type: "always_allow";
|
|
1346
|
-
} | {
|
|
1347
|
-
type: "always_ask";
|
|
1348
|
-
} | {
|
|
1349
|
-
type: "auto";
|
|
1350
|
-
};
|
|
1351
|
-
type: "grep";
|
|
1352
|
-
} | {
|
|
1353
|
-
enabled: boolean;
|
|
1354
|
-
name: "web_fetch";
|
|
1355
|
-
permission_policy: {
|
|
1356
|
-
type: "always_allow";
|
|
1357
|
-
} | {
|
|
1358
|
-
type: "always_ask";
|
|
1359
|
-
} | {
|
|
1360
|
-
type: "auto";
|
|
1361
|
-
};
|
|
1362
|
-
type: "web_fetch";
|
|
1363
|
-
allowed_domains?: Array<string>;
|
|
1364
|
-
blocked_domains?: Array<string>;
|
|
1365
|
-
max_content_tokens?: null | number;
|
|
1366
|
-
} | {
|
|
1367
|
-
enabled: boolean;
|
|
1368
|
-
name: "web_search";
|
|
1369
|
-
permission_policy: {
|
|
1370
|
-
type: "always_allow";
|
|
1371
|
-
} | {
|
|
1372
|
-
type: "always_ask";
|
|
1373
|
-
} | {
|
|
1374
|
-
type: "auto";
|
|
1375
|
-
};
|
|
1376
|
-
type: "web_search";
|
|
1377
|
-
allowed_domains?: Array<string>;
|
|
1378
|
-
blocked_domains?: Array<string>;
|
|
1379
|
-
user_location?: null | {
|
|
1380
|
-
type: "approximate";
|
|
1381
|
-
city?: null | string;
|
|
1382
|
-
country?: null | string;
|
|
1383
|
-
region?: null | string;
|
|
1384
|
-
timezone?: null | string;
|
|
1385
|
-
};
|
|
1386
|
-
} | {
|
|
1387
|
-
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1388
|
-
enabled: boolean;
|
|
1389
|
-
permission_policy: {
|
|
1390
|
-
type: "always_allow" | "always_ask";
|
|
1391
|
-
};
|
|
1392
|
-
}>;
|
|
1393
|
-
default_config: {
|
|
1394
|
-
enabled: boolean;
|
|
1395
|
-
permission_policy: {
|
|
1396
|
-
type: "always_allow";
|
|
1397
|
-
} | {
|
|
1398
|
-
type: "always_ask";
|
|
1399
|
-
} | {
|
|
1400
|
-
type: "auto";
|
|
1401
|
-
};
|
|
1402
|
-
};
|
|
1403
|
-
type: "agent_toolset_20260401";
|
|
1404
|
-
} | {
|
|
1405
|
-
type: "mcp_toolset";
|
|
1406
|
-
mcp_server_name: string;
|
|
1407
|
-
default_config?: {
|
|
1408
|
-
enabled?: boolean | null;
|
|
1409
|
-
permission_policy?: null | {
|
|
1410
|
-
type: "always_allow" | "always_ask";
|
|
1411
|
-
};
|
|
1412
|
-
} | null;
|
|
1413
|
-
configs?: Array<{
|
|
1414
|
-
name: string;
|
|
1415
|
-
enabled?: boolean | null;
|
|
1416
|
-
permission_policy?: null | {
|
|
1417
|
-
type: "always_allow" | "always_ask";
|
|
1418
|
-
};
|
|
1419
|
-
}> | null;
|
|
1420
|
-
} | {
|
|
1421
|
-
description: string;
|
|
1422
|
-
input_schema: {
|
|
1423
|
-
type: "object";
|
|
1424
|
-
properties?: null | {
|
|
1425
|
-
[key: string]: unknown;
|
|
1426
|
-
};
|
|
1427
|
-
required?: null | Array<string>;
|
|
1428
|
-
[key: string]: unknown;
|
|
1399
|
+
description?: string;
|
|
1400
|
+
prompt: string;
|
|
1401
|
+
keep_coding_instructions?: boolean;
|
|
1402
|
+
}> | null;
|
|
1403
|
+
}>;
|
|
1404
|
+
versions: {
|
|
1405
|
+
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1406
|
+
id: string;
|
|
1407
|
+
archived_at: null | string;
|
|
1408
|
+
created_at: string;
|
|
1409
|
+
description: null | string;
|
|
1410
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
1411
|
+
metadata: Types.AgentManaged37;
|
|
1412
|
+
model?: {
|
|
1413
|
+
id: string;
|
|
1414
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1415
|
+
inference_geo?: string;
|
|
1416
|
+
speed?: "standard" | "fast";
|
|
1417
|
+
settings?: {
|
|
1418
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1429
1419
|
};
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1420
|
+
};
|
|
1421
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1422
|
+
name: string;
|
|
1423
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1424
|
+
system: null | string;
|
|
1425
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
1433
1426
|
type: "agent";
|
|
1434
1427
|
updated_at: string;
|
|
1435
1428
|
version: number;
|
|
1429
|
+
latest_version?: number;
|
|
1436
1430
|
active_version: number;
|
|
1437
1431
|
created_by: {
|
|
1438
1432
|
type: "user";
|
|
@@ -1448,14 +1442,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1448
1442
|
id: string;
|
|
1449
1443
|
access: "read_only" | "read_write" | "invoke";
|
|
1450
1444
|
instructions?: string;
|
|
1445
|
+
readonly verified?: boolean;
|
|
1451
1446
|
enabled?: boolean;
|
|
1452
1447
|
} | {
|
|
1453
|
-
type: "search" | "browser";
|
|
1448
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
1449
|
+
readonly verified?: boolean;
|
|
1454
1450
|
enabled?: boolean;
|
|
1455
1451
|
}>;
|
|
1456
|
-
kind: "personal" | "service";
|
|
1452
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1457
1453
|
computer_id?: string;
|
|
1458
1454
|
subagent_model?: string | null;
|
|
1455
|
+
image_model?: string | null;
|
|
1459
1456
|
subagents?: Array<{
|
|
1460
1457
|
name: string;
|
|
1461
1458
|
description: string;
|
|
@@ -1554,14 +1551,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
1554
1551
|
mcpServers?: Array<string>;
|
|
1555
1552
|
hooks?: Array<string>;
|
|
1556
1553
|
};
|
|
1554
|
+
idleCompaction?: boolean;
|
|
1555
|
+
outputStyle?: string;
|
|
1557
1556
|
} | null;
|
|
1558
1557
|
models?: {
|
|
1559
1558
|
allowed: Array<string>;
|
|
1560
1559
|
};
|
|
1561
1560
|
avatar: string | null;
|
|
1561
|
+
creation_source: string | null;
|
|
1562
|
+
identity_number: string | null;
|
|
1562
1563
|
environment_id?: string | null;
|
|
1563
1564
|
vault_ids?: Array<string>;
|
|
1564
1565
|
status: "active" | "archived";
|
|
1566
|
+
output_styles?: Array<{
|
|
1567
|
+
name: string;
|
|
1568
|
+
description?: string;
|
|
1569
|
+
prompt: string;
|
|
1570
|
+
keep_coding_instructions?: boolean;
|
|
1571
|
+
}> | null;
|
|
1565
1572
|
}>;
|
|
1566
1573
|
list: (options: import("./core/transport.js").CallOptions<Types.AgentsVersionsListData>) => Promise<{
|
|
1567
1574
|
data: Array<{
|
|
@@ -1571,8 +1578,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
1571
1578
|
description: null | string;
|
|
1572
1579
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
1573
1580
|
metadata: Types.AgentManaged37;
|
|
1574
|
-
model
|
|
1575
|
-
id:
|
|
1581
|
+
model?: {
|
|
1582
|
+
id: string;
|
|
1576
1583
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
1577
1584
|
inference_geo?: string;
|
|
1578
1585
|
speed?: "standard" | "fast";
|
|
@@ -1580,7 +1587,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1580
1587
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1581
1588
|
};
|
|
1582
1589
|
};
|
|
1583
|
-
multiagent
|
|
1590
|
+
multiagent?: null | Types.AgentManaged39;
|
|
1584
1591
|
name: string;
|
|
1585
1592
|
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
1586
1593
|
system: null | string;
|
|
@@ -1589,6 +1596,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1589
1596
|
updated_at: string;
|
|
1590
1597
|
version: number;
|
|
1591
1598
|
active_version: number;
|
|
1599
|
+
active: boolean;
|
|
1592
1600
|
created_by: {
|
|
1593
1601
|
type: "user";
|
|
1594
1602
|
id: string;
|
|
@@ -1603,14 +1611,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
1603
1611
|
id: string;
|
|
1604
1612
|
access: "read_only" | "read_write" | "invoke";
|
|
1605
1613
|
instructions?: string;
|
|
1614
|
+
readonly verified?: boolean;
|
|
1606
1615
|
enabled?: boolean;
|
|
1607
1616
|
} | {
|
|
1608
|
-
type: "search" | "browser";
|
|
1617
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
1618
|
+
readonly verified?: boolean;
|
|
1609
1619
|
enabled?: boolean;
|
|
1610
1620
|
}>;
|
|
1611
|
-
kind: "personal" | "service";
|
|
1621
|
+
kind: "general" | "personal" | "service" | "assume";
|
|
1612
1622
|
computer_id?: string;
|
|
1613
1623
|
subagent_model?: string | null;
|
|
1624
|
+
image_model?: string | null;
|
|
1614
1625
|
subagents?: Array<{
|
|
1615
1626
|
name: string;
|
|
1616
1627
|
description: string;
|
|
@@ -1709,14 +1720,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
1709
1720
|
mcpServers?: Array<string>;
|
|
1710
1721
|
hooks?: Array<string>;
|
|
1711
1722
|
};
|
|
1723
|
+
idleCompaction?: boolean;
|
|
1724
|
+
outputStyle?: string;
|
|
1712
1725
|
} | null;
|
|
1713
1726
|
models?: {
|
|
1714
1727
|
allowed: Array<string>;
|
|
1715
1728
|
};
|
|
1716
1729
|
avatar: string | null;
|
|
1730
|
+
creation_source: string | null;
|
|
1731
|
+
identity_number: string | null;
|
|
1717
1732
|
environment_id?: string | null;
|
|
1718
1733
|
vault_ids?: Array<string>;
|
|
1719
1734
|
status: "active" | "archived";
|
|
1735
|
+
output_styles?: Array<{
|
|
1736
|
+
name: string;
|
|
1737
|
+
description?: string;
|
|
1738
|
+
prompt: string;
|
|
1739
|
+
keep_coding_instructions?: boolean;
|
|
1740
|
+
}> | null;
|
|
1720
1741
|
}>;
|
|
1721
1742
|
next_page: string | null;
|
|
1722
1743
|
}>;
|
|
@@ -1862,7 +1883,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1862
1883
|
} | {
|
|
1863
1884
|
id: string;
|
|
1864
1885
|
type: "agent_with_overrides";
|
|
1865
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1886
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1866
1887
|
cwd?: string;
|
|
1867
1888
|
model?: string | {
|
|
1868
1889
|
id: string;
|
|
@@ -1899,7 +1920,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1899
1920
|
} | {
|
|
1900
1921
|
id: string;
|
|
1901
1922
|
type: "agent_with_overrides";
|
|
1902
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1923
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1903
1924
|
cwd?: string;
|
|
1904
1925
|
model?: string | {
|
|
1905
1926
|
id: string;
|
|
@@ -1937,7 +1958,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1937
1958
|
} | {
|
|
1938
1959
|
id: string;
|
|
1939
1960
|
type: "agent_with_overrides";
|
|
1940
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
1961
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1941
1962
|
cwd?: string;
|
|
1942
1963
|
model?: string | {
|
|
1943
1964
|
id: string;
|
|
@@ -1976,7 +1997,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1976
1997
|
} | {
|
|
1977
1998
|
id: string;
|
|
1978
1999
|
type: "agent_with_overrides";
|
|
1979
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2000
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
1980
2001
|
cwd?: string;
|
|
1981
2002
|
model?: string | {
|
|
1982
2003
|
id: string;
|
|
@@ -2013,7 +2034,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2013
2034
|
} | {
|
|
2014
2035
|
id: string;
|
|
2015
2036
|
type: "agent_with_overrides";
|
|
2016
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2037
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2017
2038
|
cwd?: string;
|
|
2018
2039
|
model?: string | {
|
|
2019
2040
|
id: string;
|
|
@@ -2054,7 +2075,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2054
2075
|
} | {
|
|
2055
2076
|
id: string;
|
|
2056
2077
|
type: "agent_with_overrides";
|
|
2057
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2078
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2058
2079
|
cwd?: string;
|
|
2059
2080
|
model?: string | {
|
|
2060
2081
|
id: string;
|
|
@@ -2092,7 +2113,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2092
2113
|
} | {
|
|
2093
2114
|
id: string;
|
|
2094
2115
|
type: "agent_with_overrides";
|
|
2095
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | null;
|
|
2116
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2096
2117
|
cwd?: string;
|
|
2097
2118
|
model?: string | {
|
|
2098
2119
|
id: string;
|
|
@@ -2121,122 +2142,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2121
2142
|
};
|
|
2122
2143
|
}>;
|
|
2123
2144
|
};
|
|
2124
|
-
embed: {
|
|
2125
|
-
exchange: {
|
|
2126
|
-
create: (options: import("./core/transport.js").CallOptions<Types.ExchangeEmbedCodeData>) => Promise<{
|
|
2127
|
-
token: string;
|
|
2128
|
-
expires_at: string;
|
|
2129
|
-
}>;
|
|
2130
|
-
};
|
|
2131
|
-
retrieveAppearance: (options?: import("./core/transport.js").CallOptions<Types.GetEmbedAppearanceData> | undefined) => Promise<{
|
|
2132
|
-
agent?: {
|
|
2133
|
-
name?: string;
|
|
2134
|
-
avatar?: string;
|
|
2135
|
-
};
|
|
2136
|
-
layout?: "inline" | "sidebar" | "popup" | "modal";
|
|
2137
|
-
launcher?: {
|
|
2138
|
-
type: "none" | "bubble" | "mascot";
|
|
2139
|
-
pack?: {
|
|
2140
|
-
preset?: "mint" | "cat" | "bot";
|
|
2141
|
-
images?: {
|
|
2142
|
-
idle: string;
|
|
2143
|
-
greet?: string;
|
|
2144
|
-
listening?: string;
|
|
2145
|
-
thinking?: string;
|
|
2146
|
-
talking?: string;
|
|
2147
|
-
"talking-2"?: string;
|
|
2148
|
-
sorry?: string;
|
|
2149
|
-
sleep?: string;
|
|
2150
|
-
};
|
|
2151
|
-
};
|
|
2152
|
-
image?: string;
|
|
2153
|
-
motion?: "float" | "none";
|
|
2154
|
-
position?: "bottom-right" | "bottom-left";
|
|
2155
|
-
label?: string;
|
|
2156
|
-
};
|
|
2157
|
-
header?: {
|
|
2158
|
-
title?: string;
|
|
2159
|
-
subtitle?: string;
|
|
2160
|
-
icon?: string;
|
|
2161
|
-
};
|
|
2162
|
-
theme?: {
|
|
2163
|
-
colorScheme?: "light" | "dark" | "system";
|
|
2164
|
-
accent?: string;
|
|
2165
|
-
surface?: string;
|
|
2166
|
-
grayscale?: "neutral" | "warm" | "cool";
|
|
2167
|
-
radius?: "none" | "sm" | "md" | "lg" | "full";
|
|
2168
|
-
density?: "compact" | "normal" | "spacious";
|
|
2169
|
-
fontFamily?: string;
|
|
2170
|
-
fontSize?: number;
|
|
2171
|
-
};
|
|
2172
|
-
locale?: "zh" | "en";
|
|
2173
|
-
startScreen?: {
|
|
2174
|
-
greeting?: string;
|
|
2175
|
-
prompts?: Array<{
|
|
2176
|
-
label: string;
|
|
2177
|
-
prompt: string;
|
|
2178
|
-
}>;
|
|
2179
|
-
};
|
|
2180
|
-
composer?: {
|
|
2181
|
-
placeholder?: string;
|
|
2182
|
-
};
|
|
2183
|
-
disclaimer?: string;
|
|
2184
|
-
footer?: string;
|
|
2185
|
-
history?: {
|
|
2186
|
-
enabled?: boolean;
|
|
2187
|
-
};
|
|
2188
|
-
}>;
|
|
2189
|
-
};
|
|
2190
|
-
embedTokens: {
|
|
2191
|
-
anonymous: {
|
|
2192
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateAnonymousEmbedTokenData>) => Promise<{
|
|
2193
|
-
token: string;
|
|
2194
|
-
expires_at: string;
|
|
2195
|
-
visitor_secret?: string;
|
|
2196
|
-
}>;
|
|
2197
|
-
};
|
|
2198
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateEmbedTokenData>) => Promise<{
|
|
2199
|
-
hosted_url?: string;
|
|
2200
|
-
id: string;
|
|
2201
|
-
token: string;
|
|
2202
|
-
expires_at: string;
|
|
2203
|
-
}>;
|
|
2204
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListEmbedTokensData> | undefined) => Promise<{
|
|
2205
|
-
data: Array<{
|
|
2206
|
-
id: string;
|
|
2207
|
-
type: "embed_token";
|
|
2208
|
-
agent_id: string;
|
|
2209
|
-
agent_version: number;
|
|
2210
|
-
external_user_id: string;
|
|
2211
|
-
created_at: string;
|
|
2212
|
-
expires_at: string;
|
|
2213
|
-
revoked_at: string | null;
|
|
2214
|
-
host_origin: string | null;
|
|
2215
|
-
issued_by: {
|
|
2216
|
-
type: "user" | "api_key";
|
|
2217
|
-
id: string;
|
|
2218
|
-
};
|
|
2219
|
-
}>;
|
|
2220
|
-
next_page: string | null;
|
|
2221
|
-
}>;
|
|
2222
|
-
revoke: {
|
|
2223
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RevokeEmbedTokenData>) => Promise<{
|
|
2224
|
-
id: string;
|
|
2225
|
-
type: "embed_token";
|
|
2226
|
-
agent_id: string;
|
|
2227
|
-
agent_version: number;
|
|
2228
|
-
external_user_id: string;
|
|
2229
|
-
created_at: string;
|
|
2230
|
-
expires_at: string;
|
|
2231
|
-
revoked_at: string | null;
|
|
2232
|
-
host_origin: string | null;
|
|
2233
|
-
issued_by: {
|
|
2234
|
-
type: "user" | "api_key";
|
|
2235
|
-
id: string;
|
|
2236
|
-
};
|
|
2237
|
-
}>;
|
|
2238
|
-
};
|
|
2239
|
-
};
|
|
2240
2145
|
environments: {
|
|
2241
2146
|
archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
|
|
2242
2147
|
create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
|
|
@@ -2255,7 +2160,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2255
2160
|
description: null | string;
|
|
2256
2161
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
2257
2162
|
model: {
|
|
2258
|
-
id:
|
|
2163
|
+
id: string;
|
|
2259
2164
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2260
2165
|
inference_geo?: string;
|
|
2261
2166
|
speed?: "standard" | "fast";
|
|
@@ -2343,21 +2248,27 @@ export declare function createAgent(transport: Transport): {
|
|
|
2343
2248
|
compact: (options: import("./core/transport.js").CallOptions<Types.CompactSessionData>) => Promise<{
|
|
2344
2249
|
type: "session_compaction";
|
|
2345
2250
|
id: string;
|
|
2346
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
2251
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
2347
2252
|
reason?: string;
|
|
2348
2253
|
} | {
|
|
2349
2254
|
type: "session_compaction";
|
|
2350
2255
|
id: string;
|
|
2351
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
2256
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
2352
2257
|
reason?: string;
|
|
2353
2258
|
}>;
|
|
2354
2259
|
compactions: {
|
|
2355
2260
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionCompactionsData>) => Promise<{
|
|
2261
|
+
active: {
|
|
2262
|
+
type: "session_compaction";
|
|
2263
|
+
id: string;
|
|
2264
|
+
status: "queued" | "running";
|
|
2265
|
+
trigger: "manual" | "auto" | "idle";
|
|
2266
|
+
} | null;
|
|
2356
2267
|
data: Array<{
|
|
2357
2268
|
type: "context_compaction";
|
|
2358
2269
|
id: string;
|
|
2359
2270
|
event_id: string | null;
|
|
2360
|
-
trigger: "auto" | "manual" | "model_downshift";
|
|
2271
|
+
trigger: "auto" | "manual" | "model_downshift" | "idle";
|
|
2361
2272
|
status: "succeeded" | "failed";
|
|
2362
2273
|
model: string;
|
|
2363
2274
|
compacted_message_count: number;
|
|
@@ -2376,7 +2287,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2376
2287
|
description: null | string;
|
|
2377
2288
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
2378
2289
|
model: {
|
|
2379
|
-
id:
|
|
2290
|
+
id: string;
|
|
2380
2291
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2381
2292
|
inference_geo?: string;
|
|
2382
2293
|
speed?: "standard" | "fast";
|
|
@@ -2468,6 +2379,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2468
2379
|
run_id: string | null;
|
|
2469
2380
|
message_id?: string;
|
|
2470
2381
|
} | {
|
|
2382
|
+
full_access_available?: boolean;
|
|
2471
2383
|
id: string;
|
|
2472
2384
|
input: Types.AgentManaged197;
|
|
2473
2385
|
mcp_server_name: string;
|
|
@@ -2490,6 +2402,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2490
2402
|
};
|
|
2491
2403
|
source?: "app" | "codemode";
|
|
2492
2404
|
parent_tool_use_id?: string;
|
|
2405
|
+
user_once?: true;
|
|
2406
|
+
guarded_rule?: string;
|
|
2407
|
+
permission_suggestions?: Array<{
|
|
2408
|
+
type: "add_rules";
|
|
2409
|
+
behavior: "allow";
|
|
2410
|
+
destination: "agent" | "session";
|
|
2411
|
+
rules: Array<{
|
|
2412
|
+
tool_name: string;
|
|
2413
|
+
rule_content: string;
|
|
2414
|
+
}>;
|
|
2415
|
+
}>;
|
|
2493
2416
|
title?: string;
|
|
2494
2417
|
input_titles?: {
|
|
2495
2418
|
[key: string]: string;
|
|
@@ -2508,6 +2431,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2508
2431
|
};
|
|
2509
2432
|
source?: "app" | "codemode";
|
|
2510
2433
|
} | {
|
|
2434
|
+
full_access_available?: boolean;
|
|
2511
2435
|
id: string;
|
|
2512
2436
|
input: Types.AgentManaged206;
|
|
2513
2437
|
name: string;
|
|
@@ -2517,6 +2441,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
2517
2441
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2518
2442
|
session_thread_id?: null | string;
|
|
2519
2443
|
run_id: string | null;
|
|
2444
|
+
user_once?: true;
|
|
2445
|
+
guarded_rule?: string;
|
|
2446
|
+
permission_suggestions?: Array<{
|
|
2447
|
+
type: "add_rules";
|
|
2448
|
+
behavior: "allow";
|
|
2449
|
+
destination: "agent" | "session";
|
|
2450
|
+
rules: Array<{
|
|
2451
|
+
tool_name: string;
|
|
2452
|
+
rule_content: string;
|
|
2453
|
+
}>;
|
|
2454
|
+
}>;
|
|
2520
2455
|
} | {
|
|
2521
2456
|
id: string;
|
|
2522
2457
|
processed_at: string;
|
|
@@ -2537,6 +2472,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2537
2472
|
type: "session.status_idle";
|
|
2538
2473
|
run_id: string | null;
|
|
2539
2474
|
} | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
|
|
2475
|
+
permission_mode_version?: number;
|
|
2476
|
+
previous_permission_mode?: string | null;
|
|
2477
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2540
2478
|
id: string;
|
|
2541
2479
|
processed_at: string;
|
|
2542
2480
|
type: "session.updated";
|
|
@@ -2688,7 +2626,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2688
2626
|
timeout_ms?: number;
|
|
2689
2627
|
}>;
|
|
2690
2628
|
model: {
|
|
2691
|
-
id:
|
|
2629
|
+
id: string;
|
|
2692
2630
|
effort?: {
|
|
2693
2631
|
type: "low";
|
|
2694
2632
|
} | {
|
|
@@ -2740,7 +2678,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2740
2678
|
timeout_ms?: number;
|
|
2741
2679
|
}>;
|
|
2742
2680
|
model: {
|
|
2743
|
-
id:
|
|
2681
|
+
id: string;
|
|
2744
2682
|
effort?: {
|
|
2745
2683
|
type: "low";
|
|
2746
2684
|
} | {
|
|
@@ -3158,6 +3096,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3158
3096
|
web_fetch_requests?: number;
|
|
3159
3097
|
web_search_requests?: number;
|
|
3160
3098
|
};
|
|
3099
|
+
cost_by_product?: {
|
|
3100
|
+
[key: string]: string;
|
|
3101
|
+
};
|
|
3102
|
+
subagent_cost_micro_usd?: number;
|
|
3161
3103
|
};
|
|
3162
3104
|
vault_ids: Array<string>;
|
|
3163
3105
|
deployment_id?: null | string;
|
|
@@ -3189,7 +3131,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3189
3131
|
description: null | string;
|
|
3190
3132
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3191
3133
|
model: {
|
|
3192
|
-
id:
|
|
3134
|
+
id: string;
|
|
3193
3135
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3194
3136
|
inference_geo?: string;
|
|
3195
3137
|
speed?: "standard" | "fast";
|
|
@@ -3266,7 +3208,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3266
3208
|
description: null | string;
|
|
3267
3209
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3268
3210
|
model: {
|
|
3269
|
-
id:
|
|
3211
|
+
id: string;
|
|
3270
3212
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3271
3213
|
inference_geo?: string;
|
|
3272
3214
|
speed?: "standard" | "fast";
|
|
@@ -3320,7 +3262,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3320
3262
|
retrieveCompact: (options: import("./core/transport.js").CallOptions<Types.GetSessionCompactionData>) => Promise<{
|
|
3321
3263
|
type: "session_compaction";
|
|
3322
3264
|
id: string;
|
|
3323
|
-
status: "queued" | "running" | "skipped" | "succeeded" | "failed";
|
|
3265
|
+
status: "queued" | "running" | "skipped" | "succeeded" | "failed" | "cancelled";
|
|
3324
3266
|
reason?: string;
|
|
3325
3267
|
}>;
|
|
3326
3268
|
retrieveContext: (options: import("./core/transport.js").CallOptions<Types.GetSessionContextData>) => Promise<{
|
|
@@ -3444,6 +3386,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3444
3386
|
run_id: string | null;
|
|
3445
3387
|
message_id?: string;
|
|
3446
3388
|
} | {
|
|
3389
|
+
full_access_available?: boolean;
|
|
3447
3390
|
id: string;
|
|
3448
3391
|
input: Types.AgentManaged197;
|
|
3449
3392
|
mcp_server_name: string;
|
|
@@ -3466,6 +3409,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3466
3409
|
};
|
|
3467
3410
|
};
|
|
3468
3411
|
source?: "app" | "codemode";
|
|
3412
|
+
user_once?: true;
|
|
3413
|
+
guarded_rule?: string;
|
|
3414
|
+
permission_suggestions?: Array<{
|
|
3415
|
+
type: "add_rules";
|
|
3416
|
+
behavior: "allow";
|
|
3417
|
+
destination: "agent" | "session";
|
|
3418
|
+
rules: Array<{
|
|
3419
|
+
tool_name: string;
|
|
3420
|
+
rule_content: string;
|
|
3421
|
+
}>;
|
|
3422
|
+
}>;
|
|
3469
3423
|
title?: string;
|
|
3470
3424
|
input_titles?: {
|
|
3471
3425
|
[key: string]: string;
|
|
@@ -3484,6 +3438,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3484
3438
|
};
|
|
3485
3439
|
source?: "app" | "codemode";
|
|
3486
3440
|
} | {
|
|
3441
|
+
full_access_available?: boolean;
|
|
3487
3442
|
id: string;
|
|
3488
3443
|
input: Types.AgentManaged206;
|
|
3489
3444
|
name: string;
|
|
@@ -3493,6 +3448,17 @@ export declare function createAgent(transport: Transport): {
|
|
|
3493
3448
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3494
3449
|
session_thread_id?: null | string;
|
|
3495
3450
|
run_id: string | null;
|
|
3451
|
+
user_once?: true;
|
|
3452
|
+
guarded_rule?: string;
|
|
3453
|
+
permission_suggestions?: Array<{
|
|
3454
|
+
type: "add_rules";
|
|
3455
|
+
behavior: "allow";
|
|
3456
|
+
destination: "agent" | "session";
|
|
3457
|
+
rules: Array<{
|
|
3458
|
+
tool_name: string;
|
|
3459
|
+
rule_content: string;
|
|
3460
|
+
}>;
|
|
3461
|
+
}>;
|
|
3496
3462
|
} | {
|
|
3497
3463
|
id: string;
|
|
3498
3464
|
processed_at: string;
|
|
@@ -3513,6 +3479,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3513
3479
|
type: "session.status_idle";
|
|
3514
3480
|
run_id: string | null;
|
|
3515
3481
|
} | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
|
|
3482
|
+
permission_mode_version?: number;
|
|
3483
|
+
previous_permission_mode?: string | null;
|
|
3484
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3516
3485
|
id: string;
|
|
3517
3486
|
processed_at: string;
|
|
3518
3487
|
type: "session.updated";
|
|
@@ -3604,7 +3573,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3604
3573
|
description: null | string;
|
|
3605
3574
|
mcp_servers: Array<Types.AgentManaged36>;
|
|
3606
3575
|
model: {
|
|
3607
|
-
id:
|
|
3576
|
+
id: string;
|
|
3608
3577
|
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3609
3578
|
inference_geo?: string;
|
|
3610
3579
|
speed?: "standard" | "fast";
|
|
@@ -3781,6 +3750,13 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3781
3750
|
hooks: {
|
|
3782
3751
|
send: (options: import("./core/transport.js").CallOptions<Types.AutomationHooksReceiveData>) => Promise<Types.AutomationFiring>;
|
|
3783
3752
|
};
|
|
3753
|
+
humanTasks: {
|
|
3754
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksCancelData>) => Promise<Types.AutomationHumanTask>;
|
|
3755
|
+
delegate: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksDelegateData>) => Promise<Types.AutomationHumanTask>;
|
|
3756
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksListData> | undefined) => Promise<import("./automation.js").Page<Types.AutomationHumanTask>>;
|
|
3757
|
+
respond: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksRespondData>) => Promise<Types.AutomationHumanTask>;
|
|
3758
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationHumanTasksGetData>) => Promise<Types.AutomationHumanTask>;
|
|
3759
|
+
};
|
|
3784
3760
|
resolve: {
|
|
3785
3761
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationResolveResolveData>) => Promise<Types.AutomationResolveResult>;
|
|
3786
3762
|
};
|
|
@@ -3847,6 +3823,33 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3847
3823
|
restore: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsRestoreData>) => Promise<Types.AutomationDefinition>;
|
|
3848
3824
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsGetData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3849
3825
|
update: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3826
|
+
vaults: {
|
|
3827
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsDeleteData>) => Promise<void>;
|
|
3828
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsListData>) => Promise<{
|
|
3829
|
+
data: Array<{
|
|
3830
|
+
alias: string;
|
|
3831
|
+
vault: {
|
|
3832
|
+
id: string;
|
|
3833
|
+
name: string;
|
|
3834
|
+
};
|
|
3835
|
+
secrets: Array<{
|
|
3836
|
+
name: string;
|
|
3837
|
+
}>;
|
|
3838
|
+
secrets_unavailable?: true;
|
|
3839
|
+
}>;
|
|
3840
|
+
}>;
|
|
3841
|
+
set: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsVaultsSetData>) => Promise<{
|
|
3842
|
+
alias: string;
|
|
3843
|
+
vault: {
|
|
3844
|
+
id: string;
|
|
3845
|
+
name: string;
|
|
3846
|
+
};
|
|
3847
|
+
secrets: Array<{
|
|
3848
|
+
name: string;
|
|
3849
|
+
}>;
|
|
3850
|
+
secrets_unavailable?: true;
|
|
3851
|
+
}>;
|
|
3852
|
+
};
|
|
3850
3853
|
versions: {
|
|
3851
3854
|
create: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsPublishData>) => Promise<Types.AutomationVersion>;
|
|
3852
3855
|
deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationScriptsDeprecateData>) => Promise<Types.AutomationVersion>;
|
|
@@ -3894,6 +3897,33 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3894
3897
|
restore: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsRestoreData>) => Promise<Types.AutomationDefinition>;
|
|
3895
3898
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsGetData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3896
3899
|
update: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPatchData>) => Promise<Types.AutomationDefinitionDetail>;
|
|
3900
|
+
vaults: {
|
|
3901
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsDeleteData>) => Promise<void>;
|
|
3902
|
+
list: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsListData>) => Promise<{
|
|
3903
|
+
data: Array<{
|
|
3904
|
+
alias: string;
|
|
3905
|
+
vault: {
|
|
3906
|
+
id: string;
|
|
3907
|
+
name: string;
|
|
3908
|
+
};
|
|
3909
|
+
secrets: Array<{
|
|
3910
|
+
name: string;
|
|
3911
|
+
}>;
|
|
3912
|
+
secrets_unavailable?: true;
|
|
3913
|
+
}>;
|
|
3914
|
+
}>;
|
|
3915
|
+
set: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsVaultsSetData>) => Promise<{
|
|
3916
|
+
alias: string;
|
|
3917
|
+
vault: {
|
|
3918
|
+
id: string;
|
|
3919
|
+
name: string;
|
|
3920
|
+
};
|
|
3921
|
+
secrets: Array<{
|
|
3922
|
+
name: string;
|
|
3923
|
+
}>;
|
|
3924
|
+
secrets_unavailable?: true;
|
|
3925
|
+
}>;
|
|
3926
|
+
};
|
|
3897
3927
|
versions: {
|
|
3898
3928
|
create: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsPublishData>) => Promise<Types.AutomationVersion>;
|
|
3899
3929
|
deprecate: (options: import("./core/transport.js").CallOptions<Types.AutomationWorkflowsDeprecateData>) => Promise<Types.AutomationVersion>;
|
|
@@ -3952,6 +3982,135 @@ export declare function createBrowser(transport: Transport): {
|
|
|
3952
3982
|
};
|
|
3953
3983
|
};
|
|
3954
3984
|
};
|
|
3985
|
+
export declare function createCanvas(transport: Transport): {
|
|
3986
|
+
canvases: {
|
|
3987
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CanvasCreateCanvasData> | undefined) => Promise<Types.CanvasCanvas>;
|
|
3988
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCanvasData>) => Promise<Types.CanvasDeletedCanvas>;
|
|
3989
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.CanvasExecuteData>) => Promise<Types.CanvasExecuteResult>;
|
|
3990
|
+
images: {
|
|
3991
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
|
|
3992
|
+
};
|
|
3993
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
|
|
3994
|
+
nodes: {
|
|
3995
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
|
|
3996
|
+
};
|
|
3997
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
|
|
3998
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
|
|
3999
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
|
|
4000
|
+
versions: {
|
|
4001
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListVersionsData>) => Promise<Types.CanvasVersionPage>;
|
|
4002
|
+
};
|
|
4003
|
+
};
|
|
4004
|
+
collections: {
|
|
4005
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CanvasCreateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4006
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteCollectionData>) => Promise<Types.CanvasDeletedCollection>;
|
|
4007
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCollectionsData> | undefined) => Promise<Types.CanvasCollectionPage>;
|
|
4008
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4009
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4010
|
+
};
|
|
4011
|
+
};
|
|
4012
|
+
export declare function createCrm(transport: Transport): {
|
|
4013
|
+
associations: {
|
|
4014
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
|
|
4015
|
+
createDefault: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateDefaultData>) => Promise<Types.CrmAssociationsBatchResponsePublicDefaultAssociation & Types.CrmWriteResult>;
|
|
4016
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsListData>) => Promise<Types.CrmAssociationsCollectionResponseMultiAssociatedObjectWithLabelForwardPaging>;
|
|
4017
|
+
remove: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsRemoveData>) => Promise<Types.CrmWriteResult>;
|
|
4018
|
+
};
|
|
4019
|
+
changes: {
|
|
4020
|
+
revert: (options: import("./core/transport.js").CallOptions<Types.CrmChangesRevertData>) => Promise<Types.CrmWriteResult>;
|
|
4021
|
+
};
|
|
4022
|
+
layouts: {
|
|
4023
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsRetrieveData>) => Promise<Types.CrmLayout>;
|
|
4024
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmLayoutsUpdateData>) => Promise<Types.CrmLayout & Types.CrmWriteResult>;
|
|
4025
|
+
};
|
|
4026
|
+
leads: {
|
|
4027
|
+
qualify: (options: import("./core/transport.js").CallOptions<Types.CrmLeadsQualifyData>) => Promise<Types.CrmWriteResult>;
|
|
4028
|
+
};
|
|
4029
|
+
objects: {
|
|
4030
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4031
|
+
batch: {
|
|
4032
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4033
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchCreateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
|
|
4034
|
+
read: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchReadData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject>;
|
|
4035
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpdateData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicObject & Types.CrmWriteResult>;
|
|
4036
|
+
upsert: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsBatchUpsertData>) => Promise<Types.CrmObjectsBatchResponseSimplePublicUpsertObject & Types.CrmWriteResult>;
|
|
4037
|
+
};
|
|
4038
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsCreateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
|
|
4039
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsListData>) => Promise<Types.CrmObjectsCollectionResponseSimplePublicObjectWithAssociationsForwardPaging>;
|
|
4040
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsRetrieveData>) => Promise<Types.CrmObjectsSimplePublicObjectWithAssociations>;
|
|
4041
|
+
search: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsSearchData>) => Promise<Types.CrmObjectsCollectionResponseWithTotalSimplePublicObject>;
|
|
4042
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmObjectsUpdateData>) => Promise<Types.CrmObjectsSimplePublicObject & Types.CrmWriteResult>;
|
|
4043
|
+
};
|
|
4044
|
+
pipelines: {
|
|
4045
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4046
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesCreateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
|
|
4047
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesListData>) => Promise<Types.CrmPipelinesCollectionResponsePipelineNoPaging>;
|
|
4048
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesRetrieveData>) => Promise<Types.CrmPipelinesPipeline>;
|
|
4049
|
+
stages: {
|
|
4050
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4051
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesCreateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
|
|
4052
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesStagesUpdateData>) => Promise<Types.CrmStage & Types.CrmWriteResult>;
|
|
4053
|
+
};
|
|
4054
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmPipelinesUpdateData>) => Promise<Types.CrmPipelinesPipeline & Types.CrmWriteResult>;
|
|
4055
|
+
};
|
|
4056
|
+
properties: {
|
|
4057
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesArchiveData>) => Promise<Types.CrmWriteResult>;
|
|
4058
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesCreateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
|
|
4059
|
+
groups: {
|
|
4060
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsCreateData>) => Promise<Types.CrmPropertiesPropertyGroup & Types.CrmWriteResult>;
|
|
4061
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesGroupsListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyGroupNoPaging>;
|
|
4062
|
+
};
|
|
4063
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesListData>) => Promise<Types.CrmPropertiesCollectionResponsePropertyNoPaging>;
|
|
4064
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesRetrieveData>) => Promise<Types.CrmPropertiesProperty>;
|
|
4065
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CrmPropertiesUpdateData>) => Promise<Types.CrmPropertiesProperty & Types.CrmWriteResult>;
|
|
4066
|
+
};
|
|
4067
|
+
schemas: {
|
|
4068
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CrmSchemasCreateData>) => Promise<Types.CrmSchemasObjectSchema & Types.CrmWriteResult>;
|
|
4069
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
|
|
4070
|
+
};
|
|
4071
|
+
};
|
|
4072
|
+
export declare function createCut(transport: Transport): {
|
|
4073
|
+
exports: {
|
|
4074
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
4075
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveExportData>) => Promise<Types.CutExport>;
|
|
4076
|
+
};
|
|
4077
|
+
projects: {
|
|
4078
|
+
analysis: {
|
|
4079
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateAnalysisData>) => Promise<Types.CutAnalysisResult>;
|
|
4080
|
+
};
|
|
4081
|
+
bindings: {
|
|
4082
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateBindingData>) => Promise<Types.CutBinding>;
|
|
4083
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteBindingData>) => Promise<Types.CutDeletedBinding>;
|
|
4084
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListBindingsData>) => Promise<Types.CutBindingsResult>;
|
|
4085
|
+
};
|
|
4086
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateProjectData>) => Promise<Types.CutProject>;
|
|
4087
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CutDeleteProjectData>) => Promise<Types.CutProject>;
|
|
4088
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.CutExecuteData>) => Promise<Types.CutExecuteResult>;
|
|
4089
|
+
exports: {
|
|
4090
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateExportData>) => Promise<Types.CutExport>;
|
|
4091
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListExportsData>) => Promise<Types.CutExportPage>;
|
|
4092
|
+
};
|
|
4093
|
+
frames: {
|
|
4094
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListFramesData>) => Promise<Types.CutFramesResult>;
|
|
4095
|
+
};
|
|
4096
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CutListProjectsData> | undefined) => Promise<Types.CutProjectPage>;
|
|
4097
|
+
media: {
|
|
4098
|
+
import: (options: import("./core/transport.js").CallOptions<Types.CutImportMediaData>) => Promise<Types.CutImportedMedia>;
|
|
4099
|
+
};
|
|
4100
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveProjectData>) => Promise<Types.CutProjectDetail>;
|
|
4101
|
+
retrieveState: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveStateData>) => Promise<Types.CutState>;
|
|
4102
|
+
retrieveTimeline: (options: import("./core/transport.js").CallOptions<Types.CutRetrieveTimelineData>) => Promise<Types.CutTimelineResult>;
|
|
4103
|
+
undelete: (options: import("./core/transport.js").CallOptions<Types.CutUndeleteProjectData>) => Promise<Types.CutProject>;
|
|
4104
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CutUpdateProjectData>) => Promise<Types.CutProject>;
|
|
4105
|
+
versions: {
|
|
4106
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CutCreateVersionData>) => Promise<Types.CutVersion>;
|
|
4107
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CutListVersionsData>) => Promise<Types.CutVersionPage>;
|
|
4108
|
+
};
|
|
4109
|
+
};
|
|
4110
|
+
versions: {
|
|
4111
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.CutRestoreVersionData>) => Promise<Types.CutTransaction>;
|
|
4112
|
+
};
|
|
4113
|
+
};
|
|
3955
4114
|
export declare function createDatabase(transport: Transport): {
|
|
3956
4115
|
databases: {
|
|
3957
4116
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
@@ -3999,6 +4158,17 @@ export declare function createDatabase(transport: Transport): {
|
|
|
3999
4158
|
};
|
|
4000
4159
|
export declare function createFile(transport: Transport): {
|
|
4001
4160
|
files: {
|
|
4161
|
+
contentLinks: {
|
|
4162
|
+
revoke: (options: import("./core/transport.js").CallOptions<Types.FileRevokeContentLinkData>) => Promise<{
|
|
4163
|
+
revoked: true;
|
|
4164
|
+
}>;
|
|
4165
|
+
};
|
|
4166
|
+
contentUrl: {
|
|
4167
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateContentUrlData>) => Promise<{
|
|
4168
|
+
url: string;
|
|
4169
|
+
expires_at: string;
|
|
4170
|
+
}>;
|
|
4171
|
+
};
|
|
4002
4172
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateFileData>) => Promise<Types.OwnFileOpenAiFile>;
|
|
4003
4173
|
delete: (options: import("./core/transport.js").CallOptions<Types.FileDeleteFileData>) => Promise<Types.OwnFileDeleteFileResponse>;
|
|
4004
4174
|
list: (options?: import("./core/transport.js").CallOptions<Types.FileListFilesData> | undefined) => Promise<Types.OwnFileListFilesResponse>;
|
|
@@ -4009,9 +4179,11 @@ export declare function createFile(transport: Transport): {
|
|
|
4009
4179
|
cancel: (options: import("./core/transport.js").CallOptions<Types.FileCancelUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4010
4180
|
complete: (options: import("./core/transport.js").CallOptions<Types.FileCompleteUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4011
4181
|
create: (options: import("./core/transport.js").CallOptions<Types.FileCreateUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4182
|
+
createSigned: (options: import("./core/transport.js").CallOptions<Types.FileCreateSignedUploadData>) => Promise<Types.OwnFileSignedUploadResponse>;
|
|
4012
4183
|
parts: {
|
|
4013
4184
|
create: (options: import("./core/transport.js").CallOptions<Types.FileAddUploadPartData>) => Promise<Types.OwnFilePraxisUploadPart>;
|
|
4014
4185
|
};
|
|
4186
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.FileRetrieveUploadData>) => Promise<Types.OwnFilePraxisUpload>;
|
|
4015
4187
|
};
|
|
4016
4188
|
};
|
|
4017
4189
|
export declare function createKnowledge(transport: Transport): {
|
|
@@ -4059,11 +4231,19 @@ export declare function createKnowledge(transport: Transport): {
|
|
|
4059
4231
|
};
|
|
4060
4232
|
};
|
|
4061
4233
|
export declare function createMedia(transport: Transport): {
|
|
4234
|
+
generation: {
|
|
4235
|
+
capabilities: {
|
|
4236
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.MediaGetGenerationCapabilitiesData> | undefined) => Promise<Types.MediaGenerationCapabilities>;
|
|
4237
|
+
};
|
|
4238
|
+
};
|
|
4062
4239
|
libraries: {
|
|
4063
4240
|
assets: {
|
|
4064
4241
|
batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
|
|
4065
4242
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
|
|
4066
4243
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
|
|
4244
|
+
frames: {
|
|
4245
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
|
|
4246
|
+
};
|
|
4067
4247
|
import: {
|
|
4068
4248
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
|
|
4069
4249
|
};
|
|
@@ -4083,13 +4263,26 @@ export declare function createMedia(transport: Transport): {
|
|
|
4083
4263
|
};
|
|
4084
4264
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4085
4265
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4266
|
+
deliveryTokens: {
|
|
4267
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateDeliveryTokenData>) => Promise<Types.MediaDeliveryToken>;
|
|
4268
|
+
};
|
|
4086
4269
|
events: {
|
|
4087
4270
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListEventsData>) => Promise<Types.MediaMediaEventPage>;
|
|
4088
4271
|
};
|
|
4089
4272
|
folders: {
|
|
4090
4273
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListFoldersData>) => Promise<Types.MediaFolders>;
|
|
4091
4274
|
};
|
|
4275
|
+
generations: {
|
|
4276
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateGenerationData>) => Promise<Types.MediaJob>;
|
|
4277
|
+
};
|
|
4092
4278
|
jobs: {
|
|
4279
|
+
cancel: (options: import("./core/transport.js").CallOptions<Types.MediaCancelJobData>) => Promise<Types.MediaJob>;
|
|
4280
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaListJobsData>) => Promise<import("./automation.js").Page<Types.MediaJob>>;
|
|
4281
|
+
outputs: {
|
|
4282
|
+
save: {
|
|
4283
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaSaveGenerationOutputData>) => Promise<Types.MediaAsset>;
|
|
4284
|
+
};
|
|
4285
|
+
};
|
|
4093
4286
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
|
|
4094
4287
|
};
|
|
4095
4288
|
list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
|
|
@@ -4110,10 +4303,28 @@ export declare function createMedia(transport: Transport): {
|
|
|
4110
4303
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaVisualSearchData>) => Promise<Types.MediaSemanticSearchResult>;
|
|
4111
4304
|
};
|
|
4112
4305
|
};
|
|
4306
|
+
understandings: {
|
|
4307
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsByLibraryData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
|
|
4308
|
+
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
4309
|
+
};
|
|
4113
4310
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
4114
4311
|
};
|
|
4115
4312
|
};
|
|
4116
4313
|
export declare function createMeta(transport: Transport): {
|
|
4314
|
+
docs: {
|
|
4315
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MetaDocsRetrieveData>) => Promise<{
|
|
4316
|
+
path: string;
|
|
4317
|
+
title: string;
|
|
4318
|
+
url: string;
|
|
4319
|
+
markdown: string;
|
|
4320
|
+
}>;
|
|
4321
|
+
search: (options: import("./core/transport.js").CallOptions<Types.MetaDocsSearchData>) => Promise<{
|
|
4322
|
+
path: string;
|
|
4323
|
+
title: string;
|
|
4324
|
+
url: string;
|
|
4325
|
+
snippet: string;
|
|
4326
|
+
}[]>;
|
|
4327
|
+
};
|
|
4117
4328
|
health: {
|
|
4118
4329
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.HealthCheckData> | undefined) => Promise<string>;
|
|
4119
4330
|
};
|
|
@@ -4149,11 +4360,17 @@ export declare function createModel(transport: Transport): {
|
|
|
4149
4360
|
start: number;
|
|
4150
4361
|
end: number;
|
|
4151
4362
|
text: string;
|
|
4363
|
+
speaker?: string;
|
|
4152
4364
|
temperature?: number;
|
|
4153
4365
|
avg_logprob?: number;
|
|
4154
4366
|
compression_ratio?: number;
|
|
4155
4367
|
no_speech_prob?: number;
|
|
4156
4368
|
}>;
|
|
4369
|
+
words?: Array<{
|
|
4370
|
+
word: string;
|
|
4371
|
+
start: number;
|
|
4372
|
+
end: number;
|
|
4373
|
+
}>;
|
|
4157
4374
|
}>;
|
|
4158
4375
|
};
|
|
4159
4376
|
};
|
|
@@ -4523,6 +4740,39 @@ export declare function createModel(transport: Transport): {
|
|
|
4523
4740
|
[key: string]: unknown;
|
|
4524
4741
|
}>;
|
|
4525
4742
|
};
|
|
4743
|
+
systemone: {
|
|
4744
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSystemoneData>) => Promise<{
|
|
4745
|
+
model: string;
|
|
4746
|
+
answers: {
|
|
4747
|
+
[key: string]: {
|
|
4748
|
+
type: "noul";
|
|
4749
|
+
noul: number;
|
|
4750
|
+
} | {
|
|
4751
|
+
type: "choice";
|
|
4752
|
+
choice: string;
|
|
4753
|
+
confidence: number;
|
|
4754
|
+
probabilities: {
|
|
4755
|
+
[key: string]: number;
|
|
4756
|
+
};
|
|
4757
|
+
} | {
|
|
4758
|
+
type: "score";
|
|
4759
|
+
score: number;
|
|
4760
|
+
confidence: number;
|
|
4761
|
+
legend: {
|
|
4762
|
+
[key: string]: unknown;
|
|
4763
|
+
};
|
|
4764
|
+
probabilities: {
|
|
4765
|
+
[key: string]: number;
|
|
4766
|
+
};
|
|
4767
|
+
};
|
|
4768
|
+
};
|
|
4769
|
+
usage: {
|
|
4770
|
+
input_tokens: number;
|
|
4771
|
+
output_tokens: number;
|
|
4772
|
+
cost: number;
|
|
4773
|
+
};
|
|
4774
|
+
}>;
|
|
4775
|
+
};
|
|
4526
4776
|
videos: {
|
|
4527
4777
|
create: (options: import("./core/transport.js").CallOptions<Types.CreateVideoData>) => Promise<{
|
|
4528
4778
|
id: string;
|
|
@@ -4608,6 +4858,36 @@ export declare function createModel(transport: Transport): {
|
|
|
4608
4858
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
|
|
4609
4859
|
};
|
|
4610
4860
|
};
|
|
4861
|
+
export declare function createOntology(transport: Transport): {
|
|
4862
|
+
changesets: {
|
|
4863
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyApplyChangesetData>) => Promise<Types.OntologyChangesetResult>;
|
|
4864
|
+
};
|
|
4865
|
+
nodes: {
|
|
4866
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateNodeData>) => Promise<Types.OntologyNode>;
|
|
4867
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListNodesData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyNode | Types.OntologyRestrictedNode>>;
|
|
4868
|
+
merge: {
|
|
4869
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyMergeNodeData>) => Promise<Types.OntologyNode>;
|
|
4870
|
+
};
|
|
4871
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveNodeData>) => Promise<Types.OntologyNodeWithRelations>;
|
|
4872
|
+
update: (options: import("./core/transport.js").CallOptions<Types.OntologyUpdateNodeData>) => Promise<Types.OntologyNode>;
|
|
4873
|
+
};
|
|
4874
|
+
relations: {
|
|
4875
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyCreateRelationData>) => Promise<Types.OntologyRelation>;
|
|
4876
|
+
invalidate: {
|
|
4877
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyInvalidateRelationData>) => Promise<Types.OntologyRelation>;
|
|
4878
|
+
};
|
|
4879
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListRelationsData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyRelation>>;
|
|
4880
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
|
|
4881
|
+
};
|
|
4882
|
+
search: {
|
|
4883
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
|
|
4884
|
+
};
|
|
4885
|
+
types: {
|
|
4886
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
|
|
4887
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
|
|
4888
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
|
|
4889
|
+
};
|
|
4890
|
+
};
|
|
4611
4891
|
export declare function createOrganization(transport: Transport): {
|
|
4612
4892
|
charges: {
|
|
4613
4893
|
list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
|
|
@@ -4852,6 +5132,19 @@ export declare function createOrganization(transport: Transport): {
|
|
|
4852
5132
|
}>;
|
|
4853
5133
|
}>;
|
|
4854
5134
|
};
|
|
5135
|
+
members: {
|
|
5136
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
|
|
5137
|
+
data: Array<{
|
|
5138
|
+
id: string;
|
|
5139
|
+
name: string | null;
|
|
5140
|
+
email: string;
|
|
5141
|
+
role: "owner" | "admin" | "member";
|
|
5142
|
+
joined_at: string;
|
|
5143
|
+
}>;
|
|
5144
|
+
has_more: boolean;
|
|
5145
|
+
next_page: string | null;
|
|
5146
|
+
}>;
|
|
5147
|
+
};
|
|
4855
5148
|
usage: {
|
|
4856
5149
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
4857
5150
|
object: "page";
|
|
@@ -4968,7 +5261,44 @@ export declare function createSandbox(transport: Transport): {
|
|
|
4968
5261
|
list: (options?: import("./core/transport.js").CallOptions<Types.GetSandboxV1SnapshotsData> | undefined) => Promise<Types.SandboxSnapshotInfo[]>;
|
|
4969
5262
|
};
|
|
4970
5263
|
templates: {
|
|
4971
|
-
|
|
5264
|
+
aliases: {
|
|
5265
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ResolveTemplateAliasData>) => Promise<Types.SandboxTemplateAliasResponse>;
|
|
5266
|
+
};
|
|
5267
|
+
builds: {
|
|
5268
|
+
status: {
|
|
5269
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetTemplateBuildStatusData>) => Promise<Types.SandboxTemplateBuildInfo>;
|
|
5270
|
+
};
|
|
5271
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StartTemplateBuildData>) => Promise<unknown>;
|
|
5272
|
+
};
|
|
5273
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RequestTemplateBuildData>) => Promise<Types.SandboxTemplateRequestResponseV3>;
|
|
5274
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteUserTemplateData>) => Promise<void>;
|
|
5275
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListSandboxTemplatesData> | undefined) => Promise<{
|
|
5276
|
+
templateID: string;
|
|
5277
|
+
buildID: string;
|
|
5278
|
+
cpuCount: Types.SandboxCpuCount;
|
|
5279
|
+
memoryMB: Types.SandboxMemoryMb;
|
|
5280
|
+
diskSizeMB: Types.SandboxDiskSizeMb;
|
|
5281
|
+
public: boolean;
|
|
5282
|
+
aliases: Array<string>;
|
|
5283
|
+
names: Array<string>;
|
|
5284
|
+
createdAt: string;
|
|
5285
|
+
updatedAt: string;
|
|
5286
|
+
createdBy: Types.SandboxTeamUser;
|
|
5287
|
+
lastSpawnedAt: string;
|
|
5288
|
+
spawnCount: number;
|
|
5289
|
+
buildCount: number;
|
|
5290
|
+
envdVersion: Types.SandboxEnvdVersion;
|
|
5291
|
+
buildStatus: Types.SandboxTemplateBuildStatus;
|
|
5292
|
+
lifecycles?: Array<"ephemeral" | "persistent">;
|
|
5293
|
+
official: boolean;
|
|
5294
|
+
sourceKind?: "dockerfile" | "image" | "snapshot";
|
|
5295
|
+
}[]>;
|
|
5296
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetTemplateWithBuildsData>) => Promise<Types.SandboxTemplateWithBuilds>;
|
|
5297
|
+
tags: {
|
|
5298
|
+
create: (options: import("./core/transport.js").CallOptions<Types.AssignTemplateTagsData>) => Promise<Types.SandboxAssignedTemplateTags>;
|
|
5299
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteTemplateTagsData>) => Promise<void>;
|
|
5300
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListTemplateTagsData>) => Promise<Types.SandboxTemplateTag[]>;
|
|
5301
|
+
};
|
|
4972
5302
|
};
|
|
4973
5303
|
volumes: {
|
|
4974
5304
|
create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1VolumesData>) => Promise<Types.SandboxVolumeAndToken>;
|
|
@@ -5230,12 +5560,16 @@ export declare const resourceFactories: {
|
|
|
5230
5560
|
application: typeof createApplication;
|
|
5231
5561
|
automation: typeof createAutomation;
|
|
5232
5562
|
browser: typeof createBrowser;
|
|
5563
|
+
canvas: typeof createCanvas;
|
|
5564
|
+
crm: typeof createCrm;
|
|
5565
|
+
cut: typeof createCut;
|
|
5233
5566
|
database: typeof createDatabase;
|
|
5234
5567
|
file: typeof createFile;
|
|
5235
5568
|
knowledge: typeof createKnowledge;
|
|
5236
5569
|
media: typeof createMedia;
|
|
5237
5570
|
meta: typeof createMeta;
|
|
5238
5571
|
model: typeof createModel;
|
|
5572
|
+
ontology: typeof createOntology;
|
|
5239
5573
|
organization: typeof createOrganization;
|
|
5240
5574
|
sandbox: typeof createSandbox;
|
|
5241
5575
|
search: typeof createSearch;
|