@deepraxis/sdk 0.1.1-dev.202d904 → 0.1.1-dev.218780d
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 +170 -20
- package/dist/core/credentials.d.ts +16 -6
- package/dist/core/credentials.js +24 -5
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +336 -52
- package/dist/generated/sdk.gen.js +897 -92
- package/dist/generated/types.gen.d.ts +11556 -4804
- package/dist/operations.generated.js +3267 -1825
- package/dist/resources.generated.d.ts +1119 -188
- package/dist/resources.generated.js +107 -12
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
17
17
|
speed?: "standard" | "fast";
|
|
18
18
|
settings?: {
|
|
19
19
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
20
|
+
max_output_tokens?: number;
|
|
20
21
|
};
|
|
21
22
|
};
|
|
22
23
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -41,6 +42,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
41
42
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
42
43
|
id: string;
|
|
43
44
|
access: "read_only" | "read_write" | "invoke";
|
|
45
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
44
46
|
instructions?: string;
|
|
45
47
|
readonly verified?: boolean;
|
|
46
48
|
enabled?: boolean;
|
|
@@ -49,7 +51,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
49
51
|
readonly verified?: boolean;
|
|
50
52
|
enabled?: boolean;
|
|
51
53
|
}>;
|
|
52
|
-
kind: "general" | "
|
|
54
|
+
kind: "general" | "service" | "assume";
|
|
53
55
|
computer_id?: string;
|
|
54
56
|
subagent_model?: string | null;
|
|
55
57
|
subagents?: Array<{
|
|
@@ -142,6 +144,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
142
144
|
allowManagedHooksOnly?: boolean;
|
|
143
145
|
allowManagedMcpServersOnly?: boolean;
|
|
144
146
|
allowManagedPermissionRulesOnly?: boolean;
|
|
147
|
+
idleCompaction?: boolean;
|
|
145
148
|
autoMemoryEnabled?: boolean;
|
|
146
149
|
disabled?: {
|
|
147
150
|
subagents?: Array<string>;
|
|
@@ -150,7 +153,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
150
153
|
mcpServers?: Array<string>;
|
|
151
154
|
hooks?: Array<string>;
|
|
152
155
|
};
|
|
153
|
-
idleCompaction?: boolean;
|
|
154
156
|
outputStyle?: string;
|
|
155
157
|
} | null;
|
|
156
158
|
models?: {
|
|
@@ -158,6 +160,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
158
160
|
};
|
|
159
161
|
avatar: string | null;
|
|
160
162
|
creation_source: string | null;
|
|
163
|
+
managed_by: string | null;
|
|
161
164
|
identity_number: string | null;
|
|
162
165
|
environment_id?: string | null;
|
|
163
166
|
vault_ids?: Array<string>;
|
|
@@ -199,6 +202,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
199
202
|
speed?: "standard" | "fast";
|
|
200
203
|
settings?: {
|
|
201
204
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
205
|
+
max_output_tokens?: number;
|
|
202
206
|
};
|
|
203
207
|
};
|
|
204
208
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -223,6 +227,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
223
227
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
224
228
|
id: string;
|
|
225
229
|
access: "read_only" | "read_write" | "invoke";
|
|
230
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
226
231
|
instructions?: string;
|
|
227
232
|
readonly verified?: boolean;
|
|
228
233
|
enabled?: boolean;
|
|
@@ -231,7 +236,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
231
236
|
readonly verified?: boolean;
|
|
232
237
|
enabled?: boolean;
|
|
233
238
|
}>;
|
|
234
|
-
kind: "general" | "
|
|
239
|
+
kind: "general" | "service" | "assume";
|
|
240
|
+
computers?: {
|
|
241
|
+
default: string;
|
|
242
|
+
allowed: Array<{
|
|
243
|
+
template: string;
|
|
244
|
+
name: string;
|
|
245
|
+
}>;
|
|
246
|
+
};
|
|
235
247
|
computer_id?: string;
|
|
236
248
|
subagent_model?: string | null;
|
|
237
249
|
subagents?: Array<{
|
|
@@ -324,6 +336,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
324
336
|
allowManagedHooksOnly?: boolean;
|
|
325
337
|
allowManagedMcpServersOnly?: boolean;
|
|
326
338
|
allowManagedPermissionRulesOnly?: boolean;
|
|
339
|
+
idleCompaction?: boolean;
|
|
327
340
|
autoMemoryEnabled?: boolean;
|
|
328
341
|
disabled?: {
|
|
329
342
|
subagents?: Array<string>;
|
|
@@ -332,7 +345,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
332
345
|
mcpServers?: Array<string>;
|
|
333
346
|
hooks?: Array<string>;
|
|
334
347
|
};
|
|
335
|
-
idleCompaction?: boolean;
|
|
336
348
|
outputStyle?: string;
|
|
337
349
|
} | null;
|
|
338
350
|
models?: {
|
|
@@ -340,6 +352,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
340
352
|
};
|
|
341
353
|
avatar: string | null;
|
|
342
354
|
creation_source: string | null;
|
|
355
|
+
managed_by: string | null;
|
|
343
356
|
identity_number: string | null;
|
|
344
357
|
environment_id?: string | null;
|
|
345
358
|
vault_ids?: Array<string>;
|
|
@@ -352,42 +365,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
352
365
|
}> | null;
|
|
353
366
|
}>;
|
|
354
367
|
customers: {
|
|
355
|
-
auth: {
|
|
356
|
-
accessTokens: {
|
|
357
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
|
|
358
|
-
type: "customer_access_token";
|
|
359
|
-
access_token: string;
|
|
360
|
-
expires_at: string;
|
|
361
|
-
session_expires_at: string;
|
|
362
|
-
customer: {
|
|
363
|
-
id: string;
|
|
364
|
-
type: "identified" | "anonymous";
|
|
365
|
-
};
|
|
366
|
-
}>;
|
|
367
|
-
deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
|
|
368
|
-
renew: {
|
|
369
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
|
|
370
|
-
type: "customer_access_token";
|
|
371
|
-
access_token: string;
|
|
372
|
-
expires_at: string;
|
|
373
|
-
session_expires_at: string;
|
|
374
|
-
customer: {
|
|
375
|
-
id: string;
|
|
376
|
-
type: "identified" | "anonymous";
|
|
377
|
-
};
|
|
378
|
-
}>;
|
|
379
|
-
};
|
|
380
|
-
};
|
|
381
|
-
grantCodes: {
|
|
382
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
|
|
383
|
-
type: "customer_grant_code";
|
|
384
|
-
code: string;
|
|
385
|
-
customer_id: string;
|
|
386
|
-
expires_at: string;
|
|
387
|
-
hosted_url?: string;
|
|
388
|
-
}>;
|
|
389
|
-
};
|
|
390
|
-
};
|
|
391
368
|
block: {
|
|
392
369
|
create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
|
|
393
370
|
id: string;
|
|
@@ -519,7 +496,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
519
496
|
run_id: string | null;
|
|
520
497
|
message_id?: string;
|
|
521
498
|
} | {
|
|
522
|
-
full_access_available?: boolean;
|
|
523
499
|
id: string;
|
|
524
500
|
input: Types.AgentManaged197;
|
|
525
501
|
mcp_server_name: string;
|
|
@@ -529,6 +505,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
529
505
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
530
506
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
531
507
|
session_thread_id?: null | string;
|
|
508
|
+
permission_suggestions?: Array<{
|
|
509
|
+
type: "add_rules";
|
|
510
|
+
behavior: "allow";
|
|
511
|
+
destination: "agent" | "session";
|
|
512
|
+
rules: Array<{
|
|
513
|
+
tool_name: string;
|
|
514
|
+
rule_content: string;
|
|
515
|
+
}>;
|
|
516
|
+
}>;
|
|
517
|
+
full_access_available?: boolean;
|
|
518
|
+
user_once?: true;
|
|
519
|
+
guarded_rule?: string;
|
|
532
520
|
run_id: string | null;
|
|
533
521
|
_meta?: {
|
|
534
522
|
ui?: {
|
|
@@ -542,17 +530,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
542
530
|
};
|
|
543
531
|
source?: "app" | "codemode";
|
|
544
532
|
parent_tool_use_id?: string;
|
|
545
|
-
user_once?: true;
|
|
546
|
-
guarded_rule?: string;
|
|
547
|
-
permission_suggestions?: Array<{
|
|
548
|
-
type: "add_rules";
|
|
549
|
-
behavior: "allow";
|
|
550
|
-
destination: "agent" | "session";
|
|
551
|
-
rules: Array<{
|
|
552
|
-
tool_name: string;
|
|
553
|
-
rule_content: string;
|
|
554
|
-
}>;
|
|
555
|
-
}>;
|
|
556
533
|
title?: string;
|
|
557
534
|
input_titles?: {
|
|
558
535
|
[key: string]: string;
|
|
@@ -571,7 +548,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
571
548
|
};
|
|
572
549
|
source?: "app" | "codemode";
|
|
573
550
|
} | {
|
|
574
|
-
full_access_available?: boolean;
|
|
575
551
|
id: string;
|
|
576
552
|
input: Types.AgentManaged206;
|
|
577
553
|
name: string;
|
|
@@ -580,9 +556,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
580
556
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
581
557
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
582
558
|
session_thread_id?: null | string;
|
|
583
|
-
run_id: string | null;
|
|
584
|
-
user_once?: true;
|
|
585
|
-
guarded_rule?: string;
|
|
586
559
|
permission_suggestions?: Array<{
|
|
587
560
|
type: "add_rules";
|
|
588
561
|
behavior: "allow";
|
|
@@ -592,6 +565,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
592
565
|
rule_content: string;
|
|
593
566
|
}>;
|
|
594
567
|
}>;
|
|
568
|
+
full_access_available?: boolean;
|
|
569
|
+
user_once?: true;
|
|
570
|
+
guarded_rule?: string;
|
|
571
|
+
run_id: string | null;
|
|
595
572
|
} | {
|
|
596
573
|
id: string;
|
|
597
574
|
processed_at: string;
|
|
@@ -612,9 +589,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
612
589
|
type: "session.status_idle";
|
|
613
590
|
run_id: string | null;
|
|
614
591
|
} | 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 | {
|
|
615
|
-
permission_mode_version?: number;
|
|
616
|
-
previous_permission_mode?: string | null;
|
|
617
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
618
592
|
id: string;
|
|
619
593
|
processed_at: string;
|
|
620
594
|
type: "session.updated";
|
|
@@ -622,6 +596,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
622
596
|
budget?: null | Types.AgentManaged76;
|
|
623
597
|
metadata?: Types.AgentManaged246;
|
|
624
598
|
title?: null | string;
|
|
599
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
600
|
+
previous_permission_mode?: string | null;
|
|
601
|
+
permission_mode_version?: number;
|
|
625
602
|
model?: {
|
|
626
603
|
id: string;
|
|
627
604
|
};
|
|
@@ -763,6 +740,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
763
740
|
speed?: "standard" | "fast";
|
|
764
741
|
settings?: {
|
|
765
742
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
743
|
+
max_output_tokens?: number;
|
|
766
744
|
};
|
|
767
745
|
};
|
|
768
746
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -787,6 +765,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
787
765
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
788
766
|
id: string;
|
|
789
767
|
access: "read_only" | "read_write" | "invoke";
|
|
768
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
790
769
|
instructions?: string;
|
|
791
770
|
readonly verified?: boolean;
|
|
792
771
|
enabled?: boolean;
|
|
@@ -795,7 +774,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
795
774
|
readonly verified?: boolean;
|
|
796
775
|
enabled?: boolean;
|
|
797
776
|
}>;
|
|
798
|
-
kind: "general" | "
|
|
777
|
+
kind: "general" | "service" | "assume";
|
|
778
|
+
computers?: {
|
|
779
|
+
default: string;
|
|
780
|
+
allowed: Array<{
|
|
781
|
+
template: string;
|
|
782
|
+
name: string;
|
|
783
|
+
}>;
|
|
784
|
+
};
|
|
799
785
|
computer_id?: string;
|
|
800
786
|
subagent_model?: string | null;
|
|
801
787
|
subagents?: Array<{
|
|
@@ -888,6 +874,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
888
874
|
allowManagedHooksOnly?: boolean;
|
|
889
875
|
allowManagedMcpServersOnly?: boolean;
|
|
890
876
|
allowManagedPermissionRulesOnly?: boolean;
|
|
877
|
+
idleCompaction?: boolean;
|
|
891
878
|
autoMemoryEnabled?: boolean;
|
|
892
879
|
disabled?: {
|
|
893
880
|
subagents?: Array<string>;
|
|
@@ -896,7 +883,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
896
883
|
mcpServers?: Array<string>;
|
|
897
884
|
hooks?: Array<string>;
|
|
898
885
|
};
|
|
899
|
-
idleCompaction?: boolean;
|
|
900
886
|
outputStyle?: string;
|
|
901
887
|
} | null;
|
|
902
888
|
models?: {
|
|
@@ -904,6 +890,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
904
890
|
};
|
|
905
891
|
avatar: string | null;
|
|
906
892
|
creation_source: string | null;
|
|
893
|
+
managed_by: string | null;
|
|
907
894
|
identity_number: string | null;
|
|
908
895
|
environment_id?: string | null;
|
|
909
896
|
vault_ids?: Array<string>;
|
|
@@ -931,6 +918,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
931
918
|
speed?: "standard" | "fast";
|
|
932
919
|
settings?: {
|
|
933
920
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
921
|
+
max_output_tokens?: number;
|
|
934
922
|
};
|
|
935
923
|
};
|
|
936
924
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -956,6 +944,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
956
944
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
957
945
|
id: string;
|
|
958
946
|
access: "read_only" | "read_write" | "invoke";
|
|
947
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
959
948
|
instructions?: string;
|
|
960
949
|
readonly verified?: boolean;
|
|
961
950
|
enabled?: boolean;
|
|
@@ -964,7 +953,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
964
953
|
readonly verified?: boolean;
|
|
965
954
|
enabled?: boolean;
|
|
966
955
|
}>;
|
|
967
|
-
kind: "general" | "
|
|
956
|
+
kind: "general" | "service" | "assume";
|
|
957
|
+
computers?: {
|
|
958
|
+
default: string;
|
|
959
|
+
allowed: Array<{
|
|
960
|
+
template: string;
|
|
961
|
+
name: string;
|
|
962
|
+
}>;
|
|
963
|
+
};
|
|
968
964
|
computer_id?: string;
|
|
969
965
|
subagent_model?: string | null;
|
|
970
966
|
subagents?: Array<{
|
|
@@ -1057,6 +1053,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1057
1053
|
allowManagedHooksOnly?: boolean;
|
|
1058
1054
|
allowManagedMcpServersOnly?: boolean;
|
|
1059
1055
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1056
|
+
idleCompaction?: boolean;
|
|
1060
1057
|
autoMemoryEnabled?: boolean;
|
|
1061
1058
|
disabled?: {
|
|
1062
1059
|
subagents?: Array<string>;
|
|
@@ -1065,7 +1062,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1065
1062
|
mcpServers?: Array<string>;
|
|
1066
1063
|
hooks?: Array<string>;
|
|
1067
1064
|
};
|
|
1068
|
-
idleCompaction?: boolean;
|
|
1069
1065
|
outputStyle?: string;
|
|
1070
1066
|
} | null;
|
|
1071
1067
|
models?: {
|
|
@@ -1073,6 +1069,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1073
1069
|
};
|
|
1074
1070
|
avatar: string | null;
|
|
1075
1071
|
creation_source: string | null;
|
|
1072
|
+
managed_by: string | null;
|
|
1076
1073
|
identity_number: string | null;
|
|
1077
1074
|
environment_id?: string | null;
|
|
1078
1075
|
vault_ids?: Array<string>;
|
|
@@ -1141,6 +1138,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
1141
1138
|
history?: {
|
|
1142
1139
|
enabled?: boolean;
|
|
1143
1140
|
};
|
|
1141
|
+
uploads?: {
|
|
1142
|
+
enabled: boolean;
|
|
1143
|
+
max_file_bytes: number;
|
|
1144
|
+
max_files_per_session: number;
|
|
1145
|
+
};
|
|
1146
|
+
}>;
|
|
1147
|
+
retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
|
|
1148
|
+
allowed_origins: Array<string>;
|
|
1149
|
+
allow_localhost: boolean;
|
|
1150
|
+
uploads: {
|
|
1151
|
+
enabled: boolean;
|
|
1152
|
+
max_file_bytes: number;
|
|
1153
|
+
max_files_per_session: number;
|
|
1154
|
+
};
|
|
1155
|
+
share_links: {
|
|
1156
|
+
enabled: boolean;
|
|
1157
|
+
daily_session_cap: number | null;
|
|
1158
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1159
|
+
};
|
|
1144
1160
|
}>;
|
|
1145
1161
|
unarchive: {
|
|
1146
1162
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
@@ -1194,6 +1210,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1194
1210
|
speed?: "standard" | "fast";
|
|
1195
1211
|
settings?: {
|
|
1196
1212
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1213
|
+
max_output_tokens?: number;
|
|
1197
1214
|
};
|
|
1198
1215
|
};
|
|
1199
1216
|
multiagent?: null | {
|
|
@@ -1384,6 +1401,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1384
1401
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1385
1402
|
id: string;
|
|
1386
1403
|
access: "read_only" | "read_write" | "invoke";
|
|
1404
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1387
1405
|
instructions?: string;
|
|
1388
1406
|
readonly verified?: boolean;
|
|
1389
1407
|
enabled?: boolean;
|
|
@@ -1392,7 +1410,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1392
1410
|
readonly verified?: boolean;
|
|
1393
1411
|
enabled?: boolean;
|
|
1394
1412
|
}>;
|
|
1395
|
-
kind: "general" | "
|
|
1413
|
+
kind: "general" | "service" | "assume";
|
|
1414
|
+
computers?: {
|
|
1415
|
+
default: string;
|
|
1416
|
+
allowed: Array<{
|
|
1417
|
+
template: string;
|
|
1418
|
+
name: string;
|
|
1419
|
+
}>;
|
|
1420
|
+
};
|
|
1396
1421
|
computer_id?: string;
|
|
1397
1422
|
subagent_model?: string | null;
|
|
1398
1423
|
subagents?: Array<{
|
|
@@ -1485,6 +1510,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1485
1510
|
allowManagedHooksOnly?: boolean;
|
|
1486
1511
|
allowManagedMcpServersOnly?: boolean;
|
|
1487
1512
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1513
|
+
idleCompaction?: boolean;
|
|
1488
1514
|
autoMemoryEnabled?: boolean;
|
|
1489
1515
|
disabled?: {
|
|
1490
1516
|
subagents?: Array<string>;
|
|
@@ -1493,7 +1519,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1493
1519
|
mcpServers?: Array<string>;
|
|
1494
1520
|
hooks?: Array<string>;
|
|
1495
1521
|
};
|
|
1496
|
-
idleCompaction?: boolean;
|
|
1497
1522
|
outputStyle?: string;
|
|
1498
1523
|
} | null;
|
|
1499
1524
|
models?: {
|
|
@@ -1501,6 +1526,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1501
1526
|
};
|
|
1502
1527
|
avatar: string | null;
|
|
1503
1528
|
creation_source: string | null;
|
|
1529
|
+
managed_by: string | null;
|
|
1504
1530
|
identity_number: string | null;
|
|
1505
1531
|
environment_id?: string | null;
|
|
1506
1532
|
vault_ids?: Array<string>;
|
|
@@ -1527,6 +1553,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1527
1553
|
speed?: "standard" | "fast";
|
|
1528
1554
|
settings?: {
|
|
1529
1555
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1556
|
+
max_output_tokens?: number;
|
|
1530
1557
|
};
|
|
1531
1558
|
};
|
|
1532
1559
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1552,6 +1579,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1552
1579
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1553
1580
|
id: string;
|
|
1554
1581
|
access: "read_only" | "read_write" | "invoke";
|
|
1582
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1555
1583
|
instructions?: string;
|
|
1556
1584
|
readonly verified?: boolean;
|
|
1557
1585
|
enabled?: boolean;
|
|
@@ -1560,7 +1588,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1560
1588
|
readonly verified?: boolean;
|
|
1561
1589
|
enabled?: boolean;
|
|
1562
1590
|
}>;
|
|
1563
|
-
kind: "general" | "
|
|
1591
|
+
kind: "general" | "service" | "assume";
|
|
1592
|
+
computers?: {
|
|
1593
|
+
default: string;
|
|
1594
|
+
allowed: Array<{
|
|
1595
|
+
template: string;
|
|
1596
|
+
name: string;
|
|
1597
|
+
}>;
|
|
1598
|
+
};
|
|
1564
1599
|
computer_id?: string;
|
|
1565
1600
|
subagent_model?: string | null;
|
|
1566
1601
|
subagents?: Array<{
|
|
@@ -1653,6 +1688,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1653
1688
|
allowManagedHooksOnly?: boolean;
|
|
1654
1689
|
allowManagedMcpServersOnly?: boolean;
|
|
1655
1690
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1691
|
+
idleCompaction?: boolean;
|
|
1656
1692
|
autoMemoryEnabled?: boolean;
|
|
1657
1693
|
disabled?: {
|
|
1658
1694
|
subagents?: Array<string>;
|
|
@@ -1661,7 +1697,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1661
1697
|
mcpServers?: Array<string>;
|
|
1662
1698
|
hooks?: Array<string>;
|
|
1663
1699
|
};
|
|
1664
|
-
idleCompaction?: boolean;
|
|
1665
1700
|
outputStyle?: string;
|
|
1666
1701
|
} | null;
|
|
1667
1702
|
models?: {
|
|
@@ -1669,6 +1704,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1669
1704
|
};
|
|
1670
1705
|
avatar: string | null;
|
|
1671
1706
|
creation_source: string | null;
|
|
1707
|
+
managed_by: string | null;
|
|
1672
1708
|
identity_number: string | null;
|
|
1673
1709
|
environment_id?: string | null;
|
|
1674
1710
|
vault_ids?: Array<string>;
|
|
@@ -1680,28 +1716,245 @@ export declare function createAgent(transport: Transport): {
|
|
|
1680
1716
|
keep_coding_instructions?: boolean;
|
|
1681
1717
|
}> | null;
|
|
1682
1718
|
}>;
|
|
1719
|
+
updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
|
|
1720
|
+
allowed_origins: Array<string>;
|
|
1721
|
+
allow_localhost: boolean;
|
|
1722
|
+
uploads: {
|
|
1723
|
+
enabled: boolean;
|
|
1724
|
+
max_file_bytes: number;
|
|
1725
|
+
max_files_per_session: number;
|
|
1726
|
+
};
|
|
1727
|
+
share_links: {
|
|
1728
|
+
enabled: boolean;
|
|
1729
|
+
daily_session_cap: number | null;
|
|
1730
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1731
|
+
};
|
|
1732
|
+
}>;
|
|
1683
1733
|
versions: {
|
|
1684
1734
|
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1685
1735
|
id: string;
|
|
1686
1736
|
archived_at: null | string;
|
|
1687
1737
|
created_at: string;
|
|
1688
1738
|
description: null | string;
|
|
1689
|
-
mcp_servers: Array<
|
|
1690
|
-
|
|
1739
|
+
mcp_servers: Array<{
|
|
1740
|
+
type: "url";
|
|
1741
|
+
name: string;
|
|
1742
|
+
url: string;
|
|
1743
|
+
headers?: {
|
|
1744
|
+
[key: string]: string;
|
|
1745
|
+
};
|
|
1746
|
+
timeout_ms?: number;
|
|
1747
|
+
} | {
|
|
1748
|
+
type: "sse";
|
|
1749
|
+
name: string;
|
|
1750
|
+
url: string;
|
|
1751
|
+
headers?: {
|
|
1752
|
+
[key: string]: string;
|
|
1753
|
+
};
|
|
1754
|
+
timeout_ms?: number;
|
|
1755
|
+
} | {
|
|
1756
|
+
type: "stdio";
|
|
1757
|
+
name: string;
|
|
1758
|
+
command: string;
|
|
1759
|
+
args?: Array<string>;
|
|
1760
|
+
env?: {
|
|
1761
|
+
[key: string]: string;
|
|
1762
|
+
};
|
|
1763
|
+
timeout_ms?: number;
|
|
1764
|
+
}>;
|
|
1765
|
+
metadata: {
|
|
1766
|
+
[key: string]: string;
|
|
1767
|
+
};
|
|
1691
1768
|
model?: {
|
|
1692
1769
|
id: string;
|
|
1693
|
-
effort?:
|
|
1770
|
+
effort?: {
|
|
1771
|
+
type: "low";
|
|
1772
|
+
} | {
|
|
1773
|
+
type: "medium";
|
|
1774
|
+
} | {
|
|
1775
|
+
type: "high";
|
|
1776
|
+
} | {
|
|
1777
|
+
type: "xhigh";
|
|
1778
|
+
} | {
|
|
1779
|
+
type: "max";
|
|
1780
|
+
};
|
|
1694
1781
|
inference_geo?: string;
|
|
1695
1782
|
speed?: "standard" | "fast";
|
|
1696
1783
|
settings?: {
|
|
1697
1784
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1785
|
+
max_output_tokens?: number;
|
|
1698
1786
|
};
|
|
1699
1787
|
};
|
|
1700
|
-
multiagent?: null |
|
|
1788
|
+
multiagent?: null | {
|
|
1789
|
+
agents: Array<{
|
|
1790
|
+
id: string;
|
|
1791
|
+
type: "agent";
|
|
1792
|
+
version: number;
|
|
1793
|
+
} | {
|
|
1794
|
+
model: string;
|
|
1795
|
+
type: "advisor";
|
|
1796
|
+
}>;
|
|
1797
|
+
type: "coordinator";
|
|
1798
|
+
};
|
|
1701
1799
|
name: string;
|
|
1702
|
-
skills: Array<
|
|
1800
|
+
skills: Array<{
|
|
1801
|
+
skill_id: string;
|
|
1802
|
+
type: "anthropic";
|
|
1803
|
+
version: string;
|
|
1804
|
+
} | {
|
|
1805
|
+
skill_id: string;
|
|
1806
|
+
type: "custom";
|
|
1807
|
+
version: string;
|
|
1808
|
+
}>;
|
|
1703
1809
|
system: null | string;
|
|
1704
|
-
tools: Array<
|
|
1810
|
+
tools: Array<{
|
|
1811
|
+
configs: Array<{
|
|
1812
|
+
enabled: boolean;
|
|
1813
|
+
name: "bash";
|
|
1814
|
+
permission_policy: {
|
|
1815
|
+
type: "always_allow";
|
|
1816
|
+
} | {
|
|
1817
|
+
type: "always_ask";
|
|
1818
|
+
} | {
|
|
1819
|
+
type: "auto";
|
|
1820
|
+
};
|
|
1821
|
+
type: "bash";
|
|
1822
|
+
} | {
|
|
1823
|
+
enabled: boolean;
|
|
1824
|
+
name: "edit";
|
|
1825
|
+
permission_policy: {
|
|
1826
|
+
type: "always_allow";
|
|
1827
|
+
} | {
|
|
1828
|
+
type: "always_ask";
|
|
1829
|
+
} | {
|
|
1830
|
+
type: "auto";
|
|
1831
|
+
};
|
|
1832
|
+
type: "edit";
|
|
1833
|
+
} | {
|
|
1834
|
+
enabled: boolean;
|
|
1835
|
+
name: "read";
|
|
1836
|
+
permission_policy: {
|
|
1837
|
+
type: "always_allow";
|
|
1838
|
+
} | {
|
|
1839
|
+
type: "always_ask";
|
|
1840
|
+
} | {
|
|
1841
|
+
type: "auto";
|
|
1842
|
+
};
|
|
1843
|
+
type: "read";
|
|
1844
|
+
} | {
|
|
1845
|
+
enabled: boolean;
|
|
1846
|
+
name: "write";
|
|
1847
|
+
permission_policy: {
|
|
1848
|
+
type: "always_allow";
|
|
1849
|
+
} | {
|
|
1850
|
+
type: "always_ask";
|
|
1851
|
+
} | {
|
|
1852
|
+
type: "auto";
|
|
1853
|
+
};
|
|
1854
|
+
type: "write";
|
|
1855
|
+
} | {
|
|
1856
|
+
enabled: boolean;
|
|
1857
|
+
name: "glob";
|
|
1858
|
+
permission_policy: {
|
|
1859
|
+
type: "always_allow";
|
|
1860
|
+
} | {
|
|
1861
|
+
type: "always_ask";
|
|
1862
|
+
} | {
|
|
1863
|
+
type: "auto";
|
|
1864
|
+
};
|
|
1865
|
+
type: "glob";
|
|
1866
|
+
} | {
|
|
1867
|
+
enabled: boolean;
|
|
1868
|
+
name: "grep";
|
|
1869
|
+
permission_policy: {
|
|
1870
|
+
type: "always_allow";
|
|
1871
|
+
} | {
|
|
1872
|
+
type: "always_ask";
|
|
1873
|
+
} | {
|
|
1874
|
+
type: "auto";
|
|
1875
|
+
};
|
|
1876
|
+
type: "grep";
|
|
1877
|
+
} | {
|
|
1878
|
+
enabled: boolean;
|
|
1879
|
+
name: "web_fetch";
|
|
1880
|
+
permission_policy: {
|
|
1881
|
+
type: "always_allow";
|
|
1882
|
+
} | {
|
|
1883
|
+
type: "always_ask";
|
|
1884
|
+
} | {
|
|
1885
|
+
type: "auto";
|
|
1886
|
+
};
|
|
1887
|
+
type: "web_fetch";
|
|
1888
|
+
allowed_domains?: Array<string>;
|
|
1889
|
+
blocked_domains?: Array<string>;
|
|
1890
|
+
max_content_tokens?: null | number;
|
|
1891
|
+
} | {
|
|
1892
|
+
enabled: boolean;
|
|
1893
|
+
name: "web_search";
|
|
1894
|
+
permission_policy: {
|
|
1895
|
+
type: "always_allow";
|
|
1896
|
+
} | {
|
|
1897
|
+
type: "always_ask";
|
|
1898
|
+
} | {
|
|
1899
|
+
type: "auto";
|
|
1900
|
+
};
|
|
1901
|
+
type: "web_search";
|
|
1902
|
+
allowed_domains?: Array<string>;
|
|
1903
|
+
blocked_domains?: Array<string>;
|
|
1904
|
+
user_location?: null | {
|
|
1905
|
+
type: "approximate";
|
|
1906
|
+
city?: null | string;
|
|
1907
|
+
country?: null | string;
|
|
1908
|
+
region?: null | string;
|
|
1909
|
+
timezone?: null | string;
|
|
1910
|
+
};
|
|
1911
|
+
} | {
|
|
1912
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1913
|
+
enabled: boolean;
|
|
1914
|
+
permission_policy: {
|
|
1915
|
+
type: "always_allow" | "always_ask";
|
|
1916
|
+
};
|
|
1917
|
+
}>;
|
|
1918
|
+
default_config: {
|
|
1919
|
+
enabled: boolean;
|
|
1920
|
+
permission_policy: {
|
|
1921
|
+
type: "always_allow";
|
|
1922
|
+
} | {
|
|
1923
|
+
type: "always_ask";
|
|
1924
|
+
} | {
|
|
1925
|
+
type: "auto";
|
|
1926
|
+
};
|
|
1927
|
+
};
|
|
1928
|
+
type: "agent_toolset_20260401";
|
|
1929
|
+
} | {
|
|
1930
|
+
type: "mcp_toolset";
|
|
1931
|
+
mcp_server_name: string;
|
|
1932
|
+
default_config?: {
|
|
1933
|
+
enabled?: boolean | null;
|
|
1934
|
+
permission_policy?: null | {
|
|
1935
|
+
type: "always_allow" | "always_ask";
|
|
1936
|
+
};
|
|
1937
|
+
} | null;
|
|
1938
|
+
configs?: Array<{
|
|
1939
|
+
name: string;
|
|
1940
|
+
enabled?: boolean | null;
|
|
1941
|
+
permission_policy?: null | {
|
|
1942
|
+
type: "always_allow" | "always_ask";
|
|
1943
|
+
};
|
|
1944
|
+
}> | null;
|
|
1945
|
+
} | {
|
|
1946
|
+
description: string;
|
|
1947
|
+
input_schema: {
|
|
1948
|
+
type: "object";
|
|
1949
|
+
properties?: null | {
|
|
1950
|
+
[key: string]: unknown;
|
|
1951
|
+
};
|
|
1952
|
+
required?: null | Array<string>;
|
|
1953
|
+
[key: string]: unknown;
|
|
1954
|
+
};
|
|
1955
|
+
name: string;
|
|
1956
|
+
type: "custom";
|
|
1957
|
+
}>;
|
|
1705
1958
|
type: "agent";
|
|
1706
1959
|
updated_at: string;
|
|
1707
1960
|
version: number;
|
|
@@ -1720,6 +1973,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1720
1973
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1721
1974
|
id: string;
|
|
1722
1975
|
access: "read_only" | "read_write" | "invoke";
|
|
1976
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1723
1977
|
instructions?: string;
|
|
1724
1978
|
readonly verified?: boolean;
|
|
1725
1979
|
enabled?: boolean;
|
|
@@ -1728,7 +1982,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1728
1982
|
readonly verified?: boolean;
|
|
1729
1983
|
enabled?: boolean;
|
|
1730
1984
|
}>;
|
|
1731
|
-
kind: "general" | "
|
|
1985
|
+
kind: "general" | "service" | "assume";
|
|
1986
|
+
computers?: {
|
|
1987
|
+
default: string;
|
|
1988
|
+
allowed: Array<{
|
|
1989
|
+
template: string;
|
|
1990
|
+
name: string;
|
|
1991
|
+
}>;
|
|
1992
|
+
};
|
|
1732
1993
|
computer_id?: string;
|
|
1733
1994
|
subagent_model?: string | null;
|
|
1734
1995
|
subagents?: Array<{
|
|
@@ -1821,6 +2082,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1821
2082
|
allowManagedHooksOnly?: boolean;
|
|
1822
2083
|
allowManagedMcpServersOnly?: boolean;
|
|
1823
2084
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2085
|
+
idleCompaction?: boolean;
|
|
1824
2086
|
autoMemoryEnabled?: boolean;
|
|
1825
2087
|
disabled?: {
|
|
1826
2088
|
subagents?: Array<string>;
|
|
@@ -1829,7 +2091,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1829
2091
|
mcpServers?: Array<string>;
|
|
1830
2092
|
hooks?: Array<string>;
|
|
1831
2093
|
};
|
|
1832
|
-
idleCompaction?: boolean;
|
|
1833
2094
|
outputStyle?: string;
|
|
1834
2095
|
} | null;
|
|
1835
2096
|
models?: {
|
|
@@ -1837,6 +2098,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1837
2098
|
};
|
|
1838
2099
|
avatar: string | null;
|
|
1839
2100
|
creation_source: string | null;
|
|
2101
|
+
managed_by: string | null;
|
|
1840
2102
|
identity_number: string | null;
|
|
1841
2103
|
environment_id?: string | null;
|
|
1842
2104
|
vault_ids?: Array<string>;
|
|
@@ -1863,6 +2125,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1863
2125
|
speed?: "standard" | "fast";
|
|
1864
2126
|
settings?: {
|
|
1865
2127
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2128
|
+
max_output_tokens?: number;
|
|
1866
2129
|
};
|
|
1867
2130
|
};
|
|
1868
2131
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1888,6 +2151,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1888
2151
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1889
2152
|
id: string;
|
|
1890
2153
|
access: "read_only" | "read_write" | "invoke";
|
|
2154
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1891
2155
|
instructions?: string;
|
|
1892
2156
|
readonly verified?: boolean;
|
|
1893
2157
|
enabled?: boolean;
|
|
@@ -1896,7 +2160,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1896
2160
|
readonly verified?: boolean;
|
|
1897
2161
|
enabled?: boolean;
|
|
1898
2162
|
}>;
|
|
1899
|
-
kind: "general" | "
|
|
2163
|
+
kind: "general" | "service" | "assume";
|
|
2164
|
+
computers?: {
|
|
2165
|
+
default: string;
|
|
2166
|
+
allowed: Array<{
|
|
2167
|
+
template: string;
|
|
2168
|
+
name: string;
|
|
2169
|
+
}>;
|
|
2170
|
+
};
|
|
1900
2171
|
computer_id?: string;
|
|
1901
2172
|
subagent_model?: string | null;
|
|
1902
2173
|
subagents?: Array<{
|
|
@@ -1989,6 +2260,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1989
2260
|
allowManagedHooksOnly?: boolean;
|
|
1990
2261
|
allowManagedMcpServersOnly?: boolean;
|
|
1991
2262
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2263
|
+
idleCompaction?: boolean;
|
|
1992
2264
|
autoMemoryEnabled?: boolean;
|
|
1993
2265
|
disabled?: {
|
|
1994
2266
|
subagents?: Array<string>;
|
|
@@ -1997,7 +2269,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1997
2269
|
mcpServers?: Array<string>;
|
|
1998
2270
|
hooks?: Array<string>;
|
|
1999
2271
|
};
|
|
2000
|
-
idleCompaction?: boolean;
|
|
2001
2272
|
outputStyle?: string;
|
|
2002
2273
|
} | null;
|
|
2003
2274
|
models?: {
|
|
@@ -2005,6 +2276,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2005
2276
|
};
|
|
2006
2277
|
avatar: string | null;
|
|
2007
2278
|
creation_source: string | null;
|
|
2279
|
+
managed_by: string | null;
|
|
2008
2280
|
identity_number: string | null;
|
|
2009
2281
|
environment_id?: string | null;
|
|
2010
2282
|
vault_ids?: Array<string>;
|
|
@@ -2357,87 +2629,619 @@ export declare function createAgent(transport: Transport): {
|
|
|
2357
2629
|
id: string;
|
|
2358
2630
|
type: "agent";
|
|
2359
2631
|
version: number;
|
|
2360
|
-
} | {
|
|
2361
|
-
id: string;
|
|
2362
|
-
type: "agent_with_overrides";
|
|
2363
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2364
|
-
cwd?: string;
|
|
2365
|
-
model?: string | {
|
|
2366
|
-
id: string;
|
|
2367
|
-
effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2368
|
-
speed?: null | "standard" | "fast";
|
|
2369
|
-
};
|
|
2370
|
-
version: number;
|
|
2632
|
+
} | {
|
|
2633
|
+
id: string;
|
|
2634
|
+
type: "agent_with_overrides";
|
|
2635
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2636
|
+
cwd?: string;
|
|
2637
|
+
model?: string | {
|
|
2638
|
+
id: string;
|
|
2639
|
+
effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2640
|
+
speed?: null | "standard" | "fast";
|
|
2641
|
+
};
|
|
2642
|
+
version: number;
|
|
2643
|
+
};
|
|
2644
|
+
archived_at: null | string;
|
|
2645
|
+
created_at: string;
|
|
2646
|
+
description: null | string;
|
|
2647
|
+
environment_id?: string | null;
|
|
2648
|
+
initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
|
|
2649
|
+
metadata: Types.AgentManaged91;
|
|
2650
|
+
name: string;
|
|
2651
|
+
paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
|
|
2652
|
+
resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
|
|
2653
|
+
schedule: null | Types.AgentManaged111;
|
|
2654
|
+
status: "active" | "paused";
|
|
2655
|
+
type: "deployment";
|
|
2656
|
+
updated_at: string;
|
|
2657
|
+
vault_ids: Array<string>;
|
|
2658
|
+
budget?: null | Types.AgentManaged76;
|
|
2659
|
+
target: {
|
|
2660
|
+
type: "environment" | "computer";
|
|
2661
|
+
};
|
|
2662
|
+
}>;
|
|
2663
|
+
};
|
|
2664
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
|
|
2665
|
+
id: string;
|
|
2666
|
+
agent: {
|
|
2667
|
+
id: string;
|
|
2668
|
+
type: "agent";
|
|
2669
|
+
version: number;
|
|
2670
|
+
} | {
|
|
2671
|
+
id: string;
|
|
2672
|
+
type: "agent_with_overrides";
|
|
2673
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2674
|
+
cwd?: string;
|
|
2675
|
+
model?: string | {
|
|
2676
|
+
id: string;
|
|
2677
|
+
effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2678
|
+
speed?: null | "standard" | "fast";
|
|
2679
|
+
};
|
|
2680
|
+
version: number;
|
|
2681
|
+
};
|
|
2682
|
+
archived_at: null | string;
|
|
2683
|
+
created_at: string;
|
|
2684
|
+
description: null | string;
|
|
2685
|
+
environment_id?: string | null;
|
|
2686
|
+
initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
|
|
2687
|
+
metadata: Types.AgentManaged91;
|
|
2688
|
+
name: string;
|
|
2689
|
+
paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
|
|
2690
|
+
resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
|
|
2691
|
+
schedule: null | Types.AgentManaged111;
|
|
2692
|
+
status: "active" | "paused";
|
|
2693
|
+
type: "deployment";
|
|
2694
|
+
updated_at: string;
|
|
2695
|
+
vault_ids: Array<string>;
|
|
2696
|
+
budget?: null | Types.AgentManaged76;
|
|
2697
|
+
target: {
|
|
2698
|
+
type: "environment" | "computer";
|
|
2699
|
+
};
|
|
2700
|
+
}>;
|
|
2701
|
+
};
|
|
2702
|
+
environments: {
|
|
2703
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
|
|
2704
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
|
|
2705
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
|
|
2706
|
+
data: Array<Types.AgentManaged138>;
|
|
2707
|
+
next_page: string | null;
|
|
2708
|
+
}>;
|
|
2709
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
|
|
2710
|
+
update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
|
|
2711
|
+
};
|
|
2712
|
+
sessions: {
|
|
2713
|
+
agentVersion: {
|
|
2714
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
|
|
2715
|
+
id: string;
|
|
2716
|
+
agent: {
|
|
2717
|
+
id: string;
|
|
2718
|
+
description: null | string;
|
|
2719
|
+
mcp_servers: Array<{
|
|
2720
|
+
type: "url";
|
|
2721
|
+
name: string;
|
|
2722
|
+
url: string;
|
|
2723
|
+
headers?: {
|
|
2724
|
+
[key: string]: string;
|
|
2725
|
+
};
|
|
2726
|
+
timeout_ms?: number;
|
|
2727
|
+
} | {
|
|
2728
|
+
type: "sse";
|
|
2729
|
+
name: string;
|
|
2730
|
+
url: string;
|
|
2731
|
+
headers?: {
|
|
2732
|
+
[key: string]: string;
|
|
2733
|
+
};
|
|
2734
|
+
timeout_ms?: number;
|
|
2735
|
+
} | {
|
|
2736
|
+
type: "stdio";
|
|
2737
|
+
name: string;
|
|
2738
|
+
command: string;
|
|
2739
|
+
args?: Array<string>;
|
|
2740
|
+
env?: {
|
|
2741
|
+
[key: string]: string;
|
|
2742
|
+
};
|
|
2743
|
+
timeout_ms?: number;
|
|
2744
|
+
}>;
|
|
2745
|
+
model: {
|
|
2746
|
+
id: string;
|
|
2747
|
+
effort?: {
|
|
2748
|
+
type: "low";
|
|
2749
|
+
} | {
|
|
2750
|
+
type: "medium";
|
|
2751
|
+
} | {
|
|
2752
|
+
type: "high";
|
|
2753
|
+
} | {
|
|
2754
|
+
type: "xhigh";
|
|
2755
|
+
} | {
|
|
2756
|
+
type: "max";
|
|
2757
|
+
};
|
|
2758
|
+
inference_geo?: string;
|
|
2759
|
+
speed?: "standard" | "fast";
|
|
2760
|
+
settings?: {
|
|
2761
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2762
|
+
max_output_tokens?: number;
|
|
2763
|
+
};
|
|
2764
|
+
};
|
|
2765
|
+
multiagent: null | {
|
|
2766
|
+
agents: Array<{
|
|
2767
|
+
model: string;
|
|
2768
|
+
type: "advisor";
|
|
2769
|
+
} | {
|
|
2770
|
+
id: string;
|
|
2771
|
+
description: null | string;
|
|
2772
|
+
mcp_servers: Array<{
|
|
2773
|
+
type: "url";
|
|
2774
|
+
name: string;
|
|
2775
|
+
url: string;
|
|
2776
|
+
headers?: {
|
|
2777
|
+
[key: string]: string;
|
|
2778
|
+
};
|
|
2779
|
+
timeout_ms?: number;
|
|
2780
|
+
} | {
|
|
2781
|
+
type: "sse";
|
|
2782
|
+
name: string;
|
|
2783
|
+
url: string;
|
|
2784
|
+
headers?: {
|
|
2785
|
+
[key: string]: string;
|
|
2786
|
+
};
|
|
2787
|
+
timeout_ms?: number;
|
|
2788
|
+
} | {
|
|
2789
|
+
type: "stdio";
|
|
2790
|
+
name: string;
|
|
2791
|
+
command: string;
|
|
2792
|
+
args?: Array<string>;
|
|
2793
|
+
env?: {
|
|
2794
|
+
[key: string]: string;
|
|
2795
|
+
};
|
|
2796
|
+
timeout_ms?: number;
|
|
2797
|
+
}>;
|
|
2798
|
+
model: {
|
|
2799
|
+
id: string;
|
|
2800
|
+
effort?: {
|
|
2801
|
+
type: "low";
|
|
2802
|
+
} | {
|
|
2803
|
+
type: "medium";
|
|
2804
|
+
} | {
|
|
2805
|
+
type: "high";
|
|
2806
|
+
} | {
|
|
2807
|
+
type: "xhigh";
|
|
2808
|
+
} | {
|
|
2809
|
+
type: "max";
|
|
2810
|
+
};
|
|
2811
|
+
inference_geo?: string;
|
|
2812
|
+
speed?: "standard" | "fast";
|
|
2813
|
+
};
|
|
2814
|
+
name: string;
|
|
2815
|
+
skills: Array<{
|
|
2816
|
+
skill_id: string;
|
|
2817
|
+
type: "anthropic";
|
|
2818
|
+
version: string;
|
|
2819
|
+
} | {
|
|
2820
|
+
skill_id: string;
|
|
2821
|
+
type: "custom";
|
|
2822
|
+
version: string;
|
|
2823
|
+
}>;
|
|
2824
|
+
system: null | string;
|
|
2825
|
+
tools: Array<{
|
|
2826
|
+
configs: Array<{
|
|
2827
|
+
enabled: boolean;
|
|
2828
|
+
name: "bash";
|
|
2829
|
+
permission_policy: {
|
|
2830
|
+
type: "always_allow";
|
|
2831
|
+
} | {
|
|
2832
|
+
type: "always_ask";
|
|
2833
|
+
} | {
|
|
2834
|
+
type: "auto";
|
|
2835
|
+
};
|
|
2836
|
+
type: "bash";
|
|
2837
|
+
} | {
|
|
2838
|
+
enabled: boolean;
|
|
2839
|
+
name: "edit";
|
|
2840
|
+
permission_policy: {
|
|
2841
|
+
type: "always_allow";
|
|
2842
|
+
} | {
|
|
2843
|
+
type: "always_ask";
|
|
2844
|
+
} | {
|
|
2845
|
+
type: "auto";
|
|
2846
|
+
};
|
|
2847
|
+
type: "edit";
|
|
2848
|
+
} | {
|
|
2849
|
+
enabled: boolean;
|
|
2850
|
+
name: "read";
|
|
2851
|
+
permission_policy: {
|
|
2852
|
+
type: "always_allow";
|
|
2853
|
+
} | {
|
|
2854
|
+
type: "always_ask";
|
|
2855
|
+
} | {
|
|
2856
|
+
type: "auto";
|
|
2857
|
+
};
|
|
2858
|
+
type: "read";
|
|
2859
|
+
} | {
|
|
2860
|
+
enabled: boolean;
|
|
2861
|
+
name: "write";
|
|
2862
|
+
permission_policy: {
|
|
2863
|
+
type: "always_allow";
|
|
2864
|
+
} | {
|
|
2865
|
+
type: "always_ask";
|
|
2866
|
+
} | {
|
|
2867
|
+
type: "auto";
|
|
2868
|
+
};
|
|
2869
|
+
type: "write";
|
|
2870
|
+
} | {
|
|
2871
|
+
enabled: boolean;
|
|
2872
|
+
name: "glob";
|
|
2873
|
+
permission_policy: {
|
|
2874
|
+
type: "always_allow";
|
|
2875
|
+
} | {
|
|
2876
|
+
type: "always_ask";
|
|
2877
|
+
} | {
|
|
2878
|
+
type: "auto";
|
|
2879
|
+
};
|
|
2880
|
+
type: "glob";
|
|
2881
|
+
} | {
|
|
2882
|
+
enabled: boolean;
|
|
2883
|
+
name: "grep";
|
|
2884
|
+
permission_policy: {
|
|
2885
|
+
type: "always_allow";
|
|
2886
|
+
} | {
|
|
2887
|
+
type: "always_ask";
|
|
2888
|
+
} | {
|
|
2889
|
+
type: "auto";
|
|
2890
|
+
};
|
|
2891
|
+
type: "grep";
|
|
2892
|
+
} | {
|
|
2893
|
+
enabled: boolean;
|
|
2894
|
+
name: "web_fetch";
|
|
2895
|
+
permission_policy: {
|
|
2896
|
+
type: "always_allow";
|
|
2897
|
+
} | {
|
|
2898
|
+
type: "always_ask";
|
|
2899
|
+
} | {
|
|
2900
|
+
type: "auto";
|
|
2901
|
+
};
|
|
2902
|
+
type: "web_fetch";
|
|
2903
|
+
allowed_domains?: Array<string>;
|
|
2904
|
+
blocked_domains?: Array<string>;
|
|
2905
|
+
max_content_tokens?: null | number;
|
|
2906
|
+
} | {
|
|
2907
|
+
enabled: boolean;
|
|
2908
|
+
name: "web_search";
|
|
2909
|
+
permission_policy: {
|
|
2910
|
+
type: "always_allow";
|
|
2911
|
+
} | {
|
|
2912
|
+
type: "always_ask";
|
|
2913
|
+
} | {
|
|
2914
|
+
type: "auto";
|
|
2915
|
+
};
|
|
2916
|
+
type: "web_search";
|
|
2917
|
+
allowed_domains?: Array<string>;
|
|
2918
|
+
blocked_domains?: Array<string>;
|
|
2919
|
+
user_location?: null | {
|
|
2920
|
+
type: "approximate";
|
|
2921
|
+
city?: null | string;
|
|
2922
|
+
country?: null | string;
|
|
2923
|
+
region?: null | string;
|
|
2924
|
+
timezone?: null | string;
|
|
2925
|
+
};
|
|
2926
|
+
} | {
|
|
2927
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
2928
|
+
enabled: boolean;
|
|
2929
|
+
permission_policy: {
|
|
2930
|
+
type: "always_allow" | "always_ask";
|
|
2931
|
+
};
|
|
2932
|
+
}>;
|
|
2933
|
+
default_config: {
|
|
2934
|
+
enabled: boolean;
|
|
2935
|
+
permission_policy: {
|
|
2936
|
+
type: "always_allow";
|
|
2937
|
+
} | {
|
|
2938
|
+
type: "always_ask";
|
|
2939
|
+
} | {
|
|
2940
|
+
type: "auto";
|
|
2941
|
+
};
|
|
2942
|
+
};
|
|
2943
|
+
type: "agent_toolset_20260401";
|
|
2944
|
+
} | {
|
|
2945
|
+
type: "mcp_toolset";
|
|
2946
|
+
mcp_server_name: string;
|
|
2947
|
+
default_config?: {
|
|
2948
|
+
enabled?: boolean | null;
|
|
2949
|
+
permission_policy?: null | {
|
|
2950
|
+
type: "always_allow" | "always_ask";
|
|
2951
|
+
};
|
|
2952
|
+
} | null;
|
|
2953
|
+
configs?: Array<{
|
|
2954
|
+
name: string;
|
|
2955
|
+
enabled?: boolean | null;
|
|
2956
|
+
permission_policy?: null | {
|
|
2957
|
+
type: "always_allow" | "always_ask";
|
|
2958
|
+
};
|
|
2959
|
+
}> | null;
|
|
2960
|
+
} | {
|
|
2961
|
+
description: string;
|
|
2962
|
+
input_schema: {
|
|
2963
|
+
type: "object";
|
|
2964
|
+
properties?: null | {
|
|
2965
|
+
[key: string]: unknown;
|
|
2966
|
+
};
|
|
2967
|
+
required?: null | Array<string>;
|
|
2968
|
+
[key: string]: unknown;
|
|
2969
|
+
};
|
|
2970
|
+
name: string;
|
|
2971
|
+
type: "custom";
|
|
2972
|
+
}>;
|
|
2973
|
+
type: "agent";
|
|
2974
|
+
version: number;
|
|
2975
|
+
}>;
|
|
2976
|
+
type: "coordinator";
|
|
2977
|
+
};
|
|
2978
|
+
name: string;
|
|
2979
|
+
skills: Array<{
|
|
2980
|
+
skill_id: string;
|
|
2981
|
+
type: "anthropic";
|
|
2982
|
+
version: string;
|
|
2983
|
+
} | {
|
|
2984
|
+
skill_id: string;
|
|
2985
|
+
type: "custom";
|
|
2986
|
+
version: string;
|
|
2987
|
+
}>;
|
|
2988
|
+
system: null | string;
|
|
2989
|
+
tools: Array<{
|
|
2990
|
+
configs: Array<{
|
|
2991
|
+
enabled: boolean;
|
|
2992
|
+
name: "bash";
|
|
2993
|
+
permission_policy: {
|
|
2994
|
+
type: "always_allow";
|
|
2995
|
+
} | {
|
|
2996
|
+
type: "always_ask";
|
|
2997
|
+
} | {
|
|
2998
|
+
type: "auto";
|
|
2999
|
+
};
|
|
3000
|
+
type: "bash";
|
|
3001
|
+
} | {
|
|
3002
|
+
enabled: boolean;
|
|
3003
|
+
name: "edit";
|
|
3004
|
+
permission_policy: {
|
|
3005
|
+
type: "always_allow";
|
|
3006
|
+
} | {
|
|
3007
|
+
type: "always_ask";
|
|
3008
|
+
} | {
|
|
3009
|
+
type: "auto";
|
|
3010
|
+
};
|
|
3011
|
+
type: "edit";
|
|
3012
|
+
} | {
|
|
3013
|
+
enabled: boolean;
|
|
3014
|
+
name: "read";
|
|
3015
|
+
permission_policy: {
|
|
3016
|
+
type: "always_allow";
|
|
3017
|
+
} | {
|
|
3018
|
+
type: "always_ask";
|
|
3019
|
+
} | {
|
|
3020
|
+
type: "auto";
|
|
3021
|
+
};
|
|
3022
|
+
type: "read";
|
|
3023
|
+
} | {
|
|
3024
|
+
enabled: boolean;
|
|
3025
|
+
name: "write";
|
|
3026
|
+
permission_policy: {
|
|
3027
|
+
type: "always_allow";
|
|
3028
|
+
} | {
|
|
3029
|
+
type: "always_ask";
|
|
3030
|
+
} | {
|
|
3031
|
+
type: "auto";
|
|
3032
|
+
};
|
|
3033
|
+
type: "write";
|
|
3034
|
+
} | {
|
|
3035
|
+
enabled: boolean;
|
|
3036
|
+
name: "glob";
|
|
3037
|
+
permission_policy: {
|
|
3038
|
+
type: "always_allow";
|
|
3039
|
+
} | {
|
|
3040
|
+
type: "always_ask";
|
|
3041
|
+
} | {
|
|
3042
|
+
type: "auto";
|
|
3043
|
+
};
|
|
3044
|
+
type: "glob";
|
|
3045
|
+
} | {
|
|
3046
|
+
enabled: boolean;
|
|
3047
|
+
name: "grep";
|
|
3048
|
+
permission_policy: {
|
|
3049
|
+
type: "always_allow";
|
|
3050
|
+
} | {
|
|
3051
|
+
type: "always_ask";
|
|
3052
|
+
} | {
|
|
3053
|
+
type: "auto";
|
|
3054
|
+
};
|
|
3055
|
+
type: "grep";
|
|
3056
|
+
} | {
|
|
3057
|
+
enabled: boolean;
|
|
3058
|
+
name: "web_fetch";
|
|
3059
|
+
permission_policy: {
|
|
3060
|
+
type: "always_allow";
|
|
3061
|
+
} | {
|
|
3062
|
+
type: "always_ask";
|
|
3063
|
+
} | {
|
|
3064
|
+
type: "auto";
|
|
3065
|
+
};
|
|
3066
|
+
type: "web_fetch";
|
|
3067
|
+
allowed_domains?: Array<string>;
|
|
3068
|
+
blocked_domains?: Array<string>;
|
|
3069
|
+
max_content_tokens?: null | number;
|
|
3070
|
+
} | {
|
|
3071
|
+
enabled: boolean;
|
|
3072
|
+
name: "web_search";
|
|
3073
|
+
permission_policy: {
|
|
3074
|
+
type: "always_allow";
|
|
3075
|
+
} | {
|
|
3076
|
+
type: "always_ask";
|
|
3077
|
+
} | {
|
|
3078
|
+
type: "auto";
|
|
3079
|
+
};
|
|
3080
|
+
type: "web_search";
|
|
3081
|
+
allowed_domains?: Array<string>;
|
|
3082
|
+
blocked_domains?: Array<string>;
|
|
3083
|
+
user_location?: null | {
|
|
3084
|
+
type: "approximate";
|
|
3085
|
+
city?: null | string;
|
|
3086
|
+
country?: null | string;
|
|
3087
|
+
region?: null | string;
|
|
3088
|
+
timezone?: null | string;
|
|
3089
|
+
};
|
|
3090
|
+
} | {
|
|
3091
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
3092
|
+
enabled: boolean;
|
|
3093
|
+
permission_policy: {
|
|
3094
|
+
type: "always_allow" | "always_ask";
|
|
3095
|
+
};
|
|
3096
|
+
}>;
|
|
3097
|
+
default_config: {
|
|
3098
|
+
enabled: boolean;
|
|
3099
|
+
permission_policy: {
|
|
3100
|
+
type: "always_allow";
|
|
3101
|
+
} | {
|
|
3102
|
+
type: "always_ask";
|
|
3103
|
+
} | {
|
|
3104
|
+
type: "auto";
|
|
3105
|
+
};
|
|
3106
|
+
};
|
|
3107
|
+
type: "agent_toolset_20260401";
|
|
3108
|
+
} | {
|
|
3109
|
+
type: "mcp_toolset";
|
|
3110
|
+
mcp_server_name: string;
|
|
3111
|
+
default_config?: {
|
|
3112
|
+
enabled?: boolean | null;
|
|
3113
|
+
permission_policy?: null | {
|
|
3114
|
+
type: "always_allow" | "always_ask";
|
|
3115
|
+
};
|
|
3116
|
+
} | null;
|
|
3117
|
+
configs?: Array<{
|
|
3118
|
+
name: string;
|
|
3119
|
+
enabled?: boolean | null;
|
|
3120
|
+
permission_policy?: null | {
|
|
3121
|
+
type: "always_allow" | "always_ask";
|
|
3122
|
+
};
|
|
3123
|
+
}> | null;
|
|
3124
|
+
} | {
|
|
3125
|
+
description: string;
|
|
3126
|
+
input_schema: {
|
|
3127
|
+
type: "object";
|
|
3128
|
+
properties?: null | {
|
|
3129
|
+
[key: string]: unknown;
|
|
3130
|
+
};
|
|
3131
|
+
required?: null | Array<string>;
|
|
3132
|
+
[key: string]: unknown;
|
|
3133
|
+
};
|
|
3134
|
+
name: string;
|
|
3135
|
+
type: "custom";
|
|
3136
|
+
}>;
|
|
3137
|
+
type: "agent";
|
|
3138
|
+
version: number;
|
|
2371
3139
|
};
|
|
2372
3140
|
archived_at: null | string;
|
|
3141
|
+
budget: null | {
|
|
3142
|
+
max_list_cost: {
|
|
3143
|
+
amount: string;
|
|
3144
|
+
currency: "USD";
|
|
3145
|
+
};
|
|
3146
|
+
type: "limit";
|
|
3147
|
+
};
|
|
2373
3148
|
created_at: string;
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
3149
|
+
environment_id?: string;
|
|
3150
|
+
metadata: {
|
|
3151
|
+
[key: string]: string;
|
|
3152
|
+
};
|
|
3153
|
+
outcome_evaluations: Array<{
|
|
3154
|
+
completed_at: null | string;
|
|
3155
|
+
description: string;
|
|
3156
|
+
explanation: null | string;
|
|
3157
|
+
iteration: number;
|
|
3158
|
+
outcome_id: string;
|
|
3159
|
+
result: string;
|
|
3160
|
+
type: "outcome_evaluation";
|
|
3161
|
+
}>;
|
|
3162
|
+
resources: Array<{
|
|
3163
|
+
id: string;
|
|
3164
|
+
created_at: string;
|
|
3165
|
+
mount_path: string;
|
|
3166
|
+
type: "github_repository";
|
|
3167
|
+
updated_at: string;
|
|
3168
|
+
url: string;
|
|
3169
|
+
checkout?: null | {
|
|
3170
|
+
name: string;
|
|
3171
|
+
type: "branch";
|
|
3172
|
+
} | {
|
|
3173
|
+
sha: string;
|
|
3174
|
+
type: "commit";
|
|
3175
|
+
};
|
|
3176
|
+
} | {
|
|
3177
|
+
id: string;
|
|
3178
|
+
created_at: string;
|
|
3179
|
+
file_id: string;
|
|
3180
|
+
mount_path: string;
|
|
3181
|
+
type: "file";
|
|
3182
|
+
updated_at: string;
|
|
3183
|
+
} | {
|
|
3184
|
+
memory_store_id: string;
|
|
3185
|
+
type: "memory_store";
|
|
3186
|
+
access?: null | "read_write" | "read_only";
|
|
3187
|
+
description?: string;
|
|
3188
|
+
instructions?: null | string;
|
|
3189
|
+
mount_path?: null | string;
|
|
3190
|
+
name?: null | string;
|
|
3191
|
+
}>;
|
|
3192
|
+
stats: {
|
|
3193
|
+
active_seconds?: number;
|
|
3194
|
+
duration_seconds?: number;
|
|
3195
|
+
};
|
|
3196
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3197
|
+
title: null | string;
|
|
3198
|
+
type: "session";
|
|
2384
3199
|
updated_at: string;
|
|
3200
|
+
usage: {
|
|
3201
|
+
active_seconds?: number;
|
|
3202
|
+
cache_creation?: {
|
|
3203
|
+
ephemeral_1h_input_tokens?: number;
|
|
3204
|
+
ephemeral_5m_input_tokens?: number;
|
|
3205
|
+
};
|
|
3206
|
+
cache_read_input_tokens?: number;
|
|
3207
|
+
input_tokens?: number;
|
|
3208
|
+
list_cost?: null | {
|
|
3209
|
+
amount: string;
|
|
3210
|
+
currency: "USD";
|
|
3211
|
+
};
|
|
3212
|
+
output_tokens?: number;
|
|
3213
|
+
server_tool_use?: null | {
|
|
3214
|
+
web_fetch_requests?: number;
|
|
3215
|
+
web_search_requests?: number;
|
|
3216
|
+
};
|
|
3217
|
+
cost_by_product?: {
|
|
3218
|
+
[key: string]: string;
|
|
3219
|
+
};
|
|
3220
|
+
subagent_cost_micro_usd?: number;
|
|
3221
|
+
};
|
|
2385
3222
|
vault_ids: Array<string>;
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
3223
|
+
deployment_id?: null | string;
|
|
3224
|
+
cwd: string;
|
|
3225
|
+
computer_id?: string;
|
|
3226
|
+
model?: {
|
|
3227
|
+
id: string;
|
|
3228
|
+
thinking: {
|
|
3229
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
3230
|
+
can_disable: boolean;
|
|
3231
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
3232
|
+
} | null;
|
|
2389
3233
|
};
|
|
3234
|
+
thinking?: {
|
|
3235
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3236
|
+
} | null;
|
|
3237
|
+
forked_from?: {
|
|
3238
|
+
session_id: string;
|
|
3239
|
+
message_id: string;
|
|
3240
|
+
} | null;
|
|
3241
|
+
readonly external_user_id: string | null;
|
|
3242
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2390
3243
|
}>;
|
|
2391
3244
|
};
|
|
2392
|
-
update: (options: import("./core/transport.js").CallOptions<Types.DeploymentsUpdateData>) => Promise<{
|
|
2393
|
-
id: string;
|
|
2394
|
-
agent: {
|
|
2395
|
-
id: string;
|
|
2396
|
-
type: "agent";
|
|
2397
|
-
version: number;
|
|
2398
|
-
} | {
|
|
2399
|
-
id: string;
|
|
2400
|
-
type: "agent_with_overrides";
|
|
2401
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2402
|
-
cwd?: string;
|
|
2403
|
-
model?: string | {
|
|
2404
|
-
id: string;
|
|
2405
|
-
effort?: null | "low" | "medium" | "high" | "xhigh" | "max" | Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
2406
|
-
speed?: null | "standard" | "fast";
|
|
2407
|
-
};
|
|
2408
|
-
version: number;
|
|
2409
|
-
};
|
|
2410
|
-
archived_at: null | string;
|
|
2411
|
-
created_at: string;
|
|
2412
|
-
description: null | string;
|
|
2413
|
-
environment_id?: string | null;
|
|
2414
|
-
initial_events: Array<Types.AgentManaged86 | Types.AgentManaged87 | Types.AgentManaged90>;
|
|
2415
|
-
metadata: Types.AgentManaged91;
|
|
2416
|
-
name: string;
|
|
2417
|
-
paused_reason: null | Types.AgentManaged92 | Types.AgentManaged93;
|
|
2418
|
-
resources: Array<Types.AgentManaged108 | Types.AgentManaged109 | Types.AgentManaged110>;
|
|
2419
|
-
schedule: null | Types.AgentManaged111;
|
|
2420
|
-
status: "active" | "paused";
|
|
2421
|
-
type: "deployment";
|
|
2422
|
-
updated_at: string;
|
|
2423
|
-
vault_ids: Array<string>;
|
|
2424
|
-
budget?: null | Types.AgentManaged76;
|
|
2425
|
-
target: {
|
|
2426
|
-
type: "environment" | "computer";
|
|
2427
|
-
};
|
|
2428
|
-
}>;
|
|
2429
|
-
};
|
|
2430
|
-
environments: {
|
|
2431
|
-
archive: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsArchiveData>) => Promise<Types.AgentManaged138>;
|
|
2432
|
-
create: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsCreateData>) => Promise<Types.AgentManaged138>;
|
|
2433
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.EnvironmentsListData> | undefined) => Promise<{
|
|
2434
|
-
data: Array<Types.AgentManaged138>;
|
|
2435
|
-
next_page: string | null;
|
|
2436
|
-
}>;
|
|
2437
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
|
|
2438
|
-
update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
|
|
2439
|
-
};
|
|
2440
|
-
sessions: {
|
|
2441
3245
|
archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
|
|
2442
3246
|
id: string;
|
|
2443
3247
|
agent: {
|
|
@@ -2451,6 +3255,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2451
3255
|
speed?: "standard" | "fast";
|
|
2452
3256
|
settings?: {
|
|
2453
3257
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3258
|
+
max_output_tokens?: number;
|
|
2454
3259
|
};
|
|
2455
3260
|
};
|
|
2456
3261
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2612,6 +3417,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2612
3417
|
speed?: "standard" | "fast";
|
|
2613
3418
|
settings?: {
|
|
2614
3419
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3420
|
+
max_output_tokens?: number;
|
|
2615
3421
|
};
|
|
2616
3422
|
};
|
|
2617
3423
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2698,7 +3504,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2698
3504
|
run_id: string | null;
|
|
2699
3505
|
message_id?: string;
|
|
2700
3506
|
} | {
|
|
2701
|
-
full_access_available?: boolean;
|
|
2702
3507
|
id: string;
|
|
2703
3508
|
input: Types.AgentManaged197;
|
|
2704
3509
|
mcp_server_name: string;
|
|
@@ -2708,6 +3513,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
2708
3513
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2709
3514
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2710
3515
|
session_thread_id?: null | string;
|
|
3516
|
+
permission_suggestions?: Array<{
|
|
3517
|
+
type: "add_rules";
|
|
3518
|
+
behavior: "allow";
|
|
3519
|
+
destination: "agent" | "session";
|
|
3520
|
+
rules: Array<{
|
|
3521
|
+
tool_name: string;
|
|
3522
|
+
rule_content: string;
|
|
3523
|
+
}>;
|
|
3524
|
+
}>;
|
|
3525
|
+
full_access_available?: boolean;
|
|
3526
|
+
user_once?: true;
|
|
3527
|
+
guarded_rule?: string;
|
|
2711
3528
|
run_id: string | null;
|
|
2712
3529
|
_meta?: {
|
|
2713
3530
|
ui?: {
|
|
@@ -2721,17 +3538,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2721
3538
|
};
|
|
2722
3539
|
source?: "app" | "codemode";
|
|
2723
3540
|
parent_tool_use_id?: string;
|
|
2724
|
-
user_once?: true;
|
|
2725
|
-
guarded_rule?: string;
|
|
2726
|
-
permission_suggestions?: Array<{
|
|
2727
|
-
type: "add_rules";
|
|
2728
|
-
behavior: "allow";
|
|
2729
|
-
destination: "agent" | "session";
|
|
2730
|
-
rules: Array<{
|
|
2731
|
-
tool_name: string;
|
|
2732
|
-
rule_content: string;
|
|
2733
|
-
}>;
|
|
2734
|
-
}>;
|
|
2735
3541
|
title?: string;
|
|
2736
3542
|
input_titles?: {
|
|
2737
3543
|
[key: string]: string;
|
|
@@ -2750,7 +3556,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2750
3556
|
};
|
|
2751
3557
|
source?: "app" | "codemode";
|
|
2752
3558
|
} | {
|
|
2753
|
-
full_access_available?: boolean;
|
|
2754
3559
|
id: string;
|
|
2755
3560
|
input: Types.AgentManaged206;
|
|
2756
3561
|
name: string;
|
|
@@ -2759,9 +3564,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2759
3564
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2760
3565
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2761
3566
|
session_thread_id?: null | string;
|
|
2762
|
-
run_id: string | null;
|
|
2763
|
-
user_once?: true;
|
|
2764
|
-
guarded_rule?: string;
|
|
2765
3567
|
permission_suggestions?: Array<{
|
|
2766
3568
|
type: "add_rules";
|
|
2767
3569
|
behavior: "allow";
|
|
@@ -2771,6 +3573,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
2771
3573
|
rule_content: string;
|
|
2772
3574
|
}>;
|
|
2773
3575
|
}>;
|
|
3576
|
+
full_access_available?: boolean;
|
|
3577
|
+
user_once?: true;
|
|
3578
|
+
guarded_rule?: string;
|
|
3579
|
+
run_id: string | null;
|
|
2774
3580
|
} | {
|
|
2775
3581
|
id: string;
|
|
2776
3582
|
processed_at: string;
|
|
@@ -2791,9 +3597,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2791
3597
|
type: "session.status_idle";
|
|
2792
3598
|
run_id: string | null;
|
|
2793
3599
|
} | 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 | {
|
|
2794
|
-
permission_mode_version?: number;
|
|
2795
|
-
previous_permission_mode?: string | null;
|
|
2796
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2797
3600
|
id: string;
|
|
2798
3601
|
processed_at: string;
|
|
2799
3602
|
type: "session.updated";
|
|
@@ -2801,6 +3604,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2801
3604
|
budget?: null | Types.AgentManaged76;
|
|
2802
3605
|
metadata?: Types.AgentManaged246;
|
|
2803
3606
|
title?: null | string;
|
|
3607
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3608
|
+
previous_permission_mode?: string | null;
|
|
3609
|
+
permission_mode_version?: number;
|
|
2804
3610
|
model?: {
|
|
2805
3611
|
id: string;
|
|
2806
3612
|
};
|
|
@@ -2961,6 +3767,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2961
3767
|
speed?: "standard" | "fast";
|
|
2962
3768
|
settings?: {
|
|
2963
3769
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3770
|
+
max_output_tokens?: number;
|
|
2964
3771
|
};
|
|
2965
3772
|
};
|
|
2966
3773
|
multiagent: null | {
|
|
@@ -3456,6 +4263,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3456
4263
|
speed?: "standard" | "fast";
|
|
3457
4264
|
settings?: {
|
|
3458
4265
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4266
|
+
max_output_tokens?: number;
|
|
3459
4267
|
};
|
|
3460
4268
|
};
|
|
3461
4269
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3547,6 +4355,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3547
4355
|
speed?: "standard" | "fast";
|
|
3548
4356
|
settings?: {
|
|
3549
4357
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4358
|
+
max_output_tokens?: number;
|
|
3550
4359
|
};
|
|
3551
4360
|
};
|
|
3552
4361
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3719,7 +4528,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3719
4528
|
run_id: string | null;
|
|
3720
4529
|
message_id?: string;
|
|
3721
4530
|
} | {
|
|
3722
|
-
full_access_available?: boolean;
|
|
3723
4531
|
id: string;
|
|
3724
4532
|
input: Types.AgentManaged197;
|
|
3725
4533
|
mcp_server_name: string;
|
|
@@ -3729,6 +4537,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
3729
4537
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3730
4538
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3731
4539
|
session_thread_id?: null | string;
|
|
4540
|
+
permission_suggestions?: Array<{
|
|
4541
|
+
type: "add_rules";
|
|
4542
|
+
behavior: "allow";
|
|
4543
|
+
destination: "agent" | "session";
|
|
4544
|
+
rules: Array<{
|
|
4545
|
+
tool_name: string;
|
|
4546
|
+
rule_content: string;
|
|
4547
|
+
}>;
|
|
4548
|
+
}>;
|
|
4549
|
+
full_access_available?: boolean;
|
|
4550
|
+
user_once?: true;
|
|
4551
|
+
guarded_rule?: string;
|
|
3732
4552
|
run_id: string | null;
|
|
3733
4553
|
parent_tool_use_id?: string;
|
|
3734
4554
|
_meta?: {
|
|
@@ -3742,17 +4562,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3742
4562
|
};
|
|
3743
4563
|
};
|
|
3744
4564
|
source?: "app" | "codemode";
|
|
3745
|
-
user_once?: true;
|
|
3746
|
-
guarded_rule?: string;
|
|
3747
|
-
permission_suggestions?: Array<{
|
|
3748
|
-
type: "add_rules";
|
|
3749
|
-
behavior: "allow";
|
|
3750
|
-
destination: "agent" | "session";
|
|
3751
|
-
rules: Array<{
|
|
3752
|
-
tool_name: string;
|
|
3753
|
-
rule_content: string;
|
|
3754
|
-
}>;
|
|
3755
|
-
}>;
|
|
3756
4565
|
title?: string;
|
|
3757
4566
|
input_titles?: {
|
|
3758
4567
|
[key: string]: string;
|
|
@@ -3771,7 +4580,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3771
4580
|
};
|
|
3772
4581
|
source?: "app" | "codemode";
|
|
3773
4582
|
} | {
|
|
3774
|
-
full_access_available?: boolean;
|
|
3775
4583
|
id: string;
|
|
3776
4584
|
input: Types.AgentManaged206;
|
|
3777
4585
|
name: string;
|
|
@@ -3780,9 +4588,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3780
4588
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3781
4589
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3782
4590
|
session_thread_id?: null | string;
|
|
3783
|
-
run_id: string | null;
|
|
3784
|
-
user_once?: true;
|
|
3785
|
-
guarded_rule?: string;
|
|
3786
4591
|
permission_suggestions?: Array<{
|
|
3787
4592
|
type: "add_rules";
|
|
3788
4593
|
behavior: "allow";
|
|
@@ -3792,6 +4597,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3792
4597
|
rule_content: string;
|
|
3793
4598
|
}>;
|
|
3794
4599
|
}>;
|
|
4600
|
+
full_access_available?: boolean;
|
|
4601
|
+
user_once?: true;
|
|
4602
|
+
guarded_rule?: string;
|
|
4603
|
+
run_id: string | null;
|
|
3795
4604
|
} | {
|
|
3796
4605
|
id: string;
|
|
3797
4606
|
processed_at: string;
|
|
@@ -3812,9 +4621,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3812
4621
|
type: "session.status_idle";
|
|
3813
4622
|
run_id: string | null;
|
|
3814
4623
|
} | 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 | {
|
|
3815
|
-
permission_mode_version?: number;
|
|
3816
|
-
previous_permission_mode?: string | null;
|
|
3817
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3818
4624
|
id: string;
|
|
3819
4625
|
processed_at: string;
|
|
3820
4626
|
type: "session.updated";
|
|
@@ -3822,6 +4628,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3822
4628
|
budget?: null | Types.AgentManaged76;
|
|
3823
4629
|
metadata?: Types.AgentManaged246;
|
|
3824
4630
|
title?: null | string;
|
|
4631
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
4632
|
+
previous_permission_mode?: string | null;
|
|
4633
|
+
permission_mode_version?: number;
|
|
3825
4634
|
model?: {
|
|
3826
4635
|
id: string;
|
|
3827
4636
|
};
|
|
@@ -3912,6 +4721,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3912
4721
|
speed?: "standard" | "fast";
|
|
3913
4722
|
settings?: {
|
|
3914
4723
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4724
|
+
max_output_tokens?: number;
|
|
3915
4725
|
};
|
|
3916
4726
|
};
|
|
3917
4727
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -4002,6 +4812,29 @@ export declare function createAgent(transport: Transport): {
|
|
|
4002
4812
|
next_page: null;
|
|
4003
4813
|
}>;
|
|
4004
4814
|
};
|
|
4815
|
+
uploads: {
|
|
4816
|
+
contentUrl: {
|
|
4817
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
|
|
4818
|
+
url: string;
|
|
4819
|
+
expires_at: string;
|
|
4820
|
+
}>;
|
|
4821
|
+
};
|
|
4822
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
|
|
4823
|
+
upload_id: string;
|
|
4824
|
+
expires_at: string;
|
|
4825
|
+
url: string;
|
|
4826
|
+
} | {
|
|
4827
|
+
upload_id: string;
|
|
4828
|
+
expires_at: string;
|
|
4829
|
+
part_size: number;
|
|
4830
|
+
parts: Array<{
|
|
4831
|
+
part_number: number;
|
|
4832
|
+
url: string;
|
|
4833
|
+
}>;
|
|
4834
|
+
complete_url: string;
|
|
4835
|
+
status_url: string;
|
|
4836
|
+
}>;
|
|
4837
|
+
};
|
|
4005
4838
|
};
|
|
4006
4839
|
export declare function createApplication(transport: Transport): {
|
|
4007
4840
|
assets: {
|
|
@@ -4325,6 +5158,11 @@ export declare function createBrowser(transport: Transport): {
|
|
|
4325
5158
|
type: "evaluate";
|
|
4326
5159
|
tab: string;
|
|
4327
5160
|
value: unknown;
|
|
5161
|
+
} | {
|
|
5162
|
+
type: "set_cookie";
|
|
5163
|
+
tab: string;
|
|
5164
|
+
name: string;
|
|
5165
|
+
domain: string;
|
|
4328
5166
|
}>;
|
|
4329
5167
|
};
|
|
4330
5168
|
create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
|
|
@@ -4382,6 +5220,24 @@ export declare function createCanvas(transport: Transport): {
|
|
|
4382
5220
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4383
5221
|
};
|
|
4384
5222
|
};
|
|
5223
|
+
export declare function createContent(transport: Transport): {
|
|
5224
|
+
contents: {
|
|
5225
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
|
|
5226
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
|
|
5227
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
|
|
5228
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
|
|
5229
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
|
|
5230
|
+
unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
|
|
5231
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
|
|
5232
|
+
};
|
|
5233
|
+
playbackSessions: {
|
|
5234
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
|
|
5235
|
+
};
|
|
5236
|
+
versions: {
|
|
5237
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
|
|
5238
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
|
|
5239
|
+
};
|
|
5240
|
+
};
|
|
4385
5241
|
export declare function createCrm(transport: Transport): {
|
|
4386
5242
|
associations: {
|
|
4387
5243
|
create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
|
|
@@ -4442,6 +5298,32 @@ export declare function createCrm(transport: Transport): {
|
|
|
4442
5298
|
list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
|
|
4443
5299
|
};
|
|
4444
5300
|
};
|
|
5301
|
+
export declare function createCustomer(transport: Transport): {
|
|
5302
|
+
accessTokens: {
|
|
5303
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
|
|
5304
|
+
renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
|
|
5305
|
+
revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
|
|
5306
|
+
};
|
|
5307
|
+
customers: {
|
|
5308
|
+
block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
5309
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
|
|
5310
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
|
|
5311
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
5312
|
+
revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
|
|
5313
|
+
unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
5314
|
+
};
|
|
5315
|
+
grantCodes: {
|
|
5316
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
|
|
5317
|
+
};
|
|
5318
|
+
publishableKeys: {
|
|
5319
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
|
|
5320
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
|
|
5321
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
|
|
5322
|
+
};
|
|
5323
|
+
usage: {
|
|
5324
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
|
|
5325
|
+
};
|
|
5326
|
+
};
|
|
4445
5327
|
export declare function createCut(transport: Transport): {
|
|
4446
5328
|
exports: {
|
|
4447
5329
|
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
@@ -4540,7 +5422,9 @@ export declare function createDatabase(transport: Transport): {
|
|
|
4540
5422
|
export declare function createDevops(transport: Transport): {
|
|
4541
5423
|
changes: {
|
|
4542
5424
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
|
|
5425
|
+
gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
|
|
4543
5426
|
markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
|
|
5427
|
+
openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
|
|
4544
5428
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
|
|
4545
5429
|
};
|
|
4546
5430
|
connections: {
|
|
@@ -4612,6 +5496,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
4612
5496
|
};
|
|
4613
5497
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
|
|
4614
5498
|
retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
|
|
5499
|
+
retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
|
|
4615
5500
|
segments: {
|
|
4616
5501
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
|
|
4617
5502
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
|
|
@@ -4809,6 +5694,10 @@ export declare function createMedia(transport: Transport): {
|
|
|
4809
5694
|
frames: {
|
|
4810
5695
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
|
|
4811
5696
|
};
|
|
5697
|
+
hls: {
|
|
5698
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
5699
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
5700
|
+
};
|
|
4812
5701
|
import: {
|
|
4813
5702
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
|
|
4814
5703
|
};
|
|
@@ -5398,6 +6287,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5398
6287
|
unsigned_urls: Array<string>;
|
|
5399
6288
|
usage?: {
|
|
5400
6289
|
cost: number;
|
|
6290
|
+
billed_seconds?: number;
|
|
5401
6291
|
};
|
|
5402
6292
|
}>;
|
|
5403
6293
|
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
|
|
@@ -5428,6 +6318,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5428
6318
|
unsigned_urls: Array<string>;
|
|
5429
6319
|
usage?: {
|
|
5430
6320
|
cost: number;
|
|
6321
|
+
billed_seconds?: number;
|
|
5431
6322
|
};
|
|
5432
6323
|
}>;
|
|
5433
6324
|
has_more: boolean;
|
|
@@ -5456,6 +6347,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5456
6347
|
unsigned_urls: Array<string>;
|
|
5457
6348
|
usage?: {
|
|
5458
6349
|
cost: number;
|
|
6350
|
+
billed_seconds?: number;
|
|
5459
6351
|
};
|
|
5460
6352
|
}>;
|
|
5461
6353
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
|
|
@@ -5866,6 +6758,42 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5866
6758
|
}>;
|
|
5867
6759
|
};
|
|
5868
6760
|
};
|
|
6761
|
+
export declare function createRegistry(transport: Transport): {
|
|
6762
|
+
installations: {
|
|
6763
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
|
|
6764
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
|
|
6765
|
+
};
|
|
6766
|
+
packages: {
|
|
6767
|
+
installations: {
|
|
6768
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
6769
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
6770
|
+
};
|
|
6771
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
|
|
6772
|
+
versions: {
|
|
6773
|
+
contents: {
|
|
6774
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
|
|
6775
|
+
};
|
|
6776
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
|
|
6777
|
+
files: {
|
|
6778
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
|
|
6779
|
+
};
|
|
6780
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
|
|
6781
|
+
retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
|
|
6782
|
+
withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
|
|
6783
|
+
};
|
|
6784
|
+
};
|
|
6785
|
+
repositories: {
|
|
6786
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
|
|
6787
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
|
|
6788
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
|
|
6789
|
+
packages: {
|
|
6790
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
|
|
6791
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
|
|
6792
|
+
};
|
|
6793
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
|
|
6794
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
|
|
6795
|
+
};
|
|
6796
|
+
};
|
|
5869
6797
|
export declare function createSandbox(transport: Transport): {
|
|
5870
6798
|
events: {
|
|
5871
6799
|
sandboxes: {
|
|
@@ -6403,7 +7331,9 @@ export declare const resourceFactories: {
|
|
|
6403
7331
|
automation: typeof createAutomation;
|
|
6404
7332
|
browser: typeof createBrowser;
|
|
6405
7333
|
canvas: typeof createCanvas;
|
|
7334
|
+
content: typeof createContent;
|
|
6406
7335
|
crm: typeof createCrm;
|
|
7336
|
+
customer: typeof createCustomer;
|
|
6407
7337
|
cut: typeof createCut;
|
|
6408
7338
|
database: typeof createDatabase;
|
|
6409
7339
|
devops: typeof createDevops;
|
|
@@ -6414,6 +7344,7 @@ export declare const resourceFactories: {
|
|
|
6414
7344
|
model: typeof createModel;
|
|
6415
7345
|
ontology: typeof createOntology;
|
|
6416
7346
|
organization: typeof createOrganization;
|
|
7347
|
+
registry: typeof createRegistry;
|
|
6417
7348
|
sandbox: typeof createSandbox;
|
|
6418
7349
|
search: typeof createSearch;
|
|
6419
7350
|
share: typeof createShare;
|