@deepraxis/sdk 0.1.1-dev.5fa7088 → 0.1.1-dev.5fd85b8
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 +635 -113
- package/README.md +5 -4
- package/dist/core/binary-operations.d.ts +3 -0
- package/dist/core/binary-operations.js +14 -0
- package/dist/core/credentials.d.ts +16 -6
- package/dist/core/credentials.js +24 -5
- package/dist/core/deprecation.d.ts +11 -0
- package/dist/core/deprecation.js +20 -0
- package/dist/core/transport.d.ts +4 -0
- package/dist/core/transport.js +11 -4
- package/dist/generated/binary-operations.gen.d.ts +3 -0
- package/dist/generated/binary-operations.gen.js +14 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +1174 -181
- package/dist/generated/sdk.gen.js +5874 -3207
- package/dist/generated/types.gen.d.ts +70604 -50931
- package/dist/helpers/application-publish.js +16 -2
- package/dist/helpers/browser-connect-error.d.ts +28 -0
- package/dist/helpers/browser-connect-error.js +74 -0
- package/dist/helpers/browser-connect.d.ts +2 -0
- package/dist/helpers/browser-connect.js +36 -42
- package/dist/helpers/browser-decisions.d.ts +13 -0
- package/dist/helpers/browser-decisions.js +11 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +4 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -0
- package/dist/operations.generated.d.ts +1 -0
- package/dist/operations.generated.js +18870 -13408
- package/dist/resources.generated.d.ts +2776 -337
- package/dist/resources.generated.js +578 -121
- package/package.json +1 -1
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import type * as Types from './generated/types.gen.js';
|
|
2
|
+
import type { DeprecationNotice } from './core/deprecation.js';
|
|
2
3
|
import type { RenameParameters } from './core/bindings.js';
|
|
3
4
|
import type { Transport } from './core/transport.js';
|
|
5
|
+
export declare const deprecatedMethods: Readonly<Record<string, DeprecationNotice>>;
|
|
4
6
|
export declare function createAgent(transport: Transport): {
|
|
5
7
|
agents: {
|
|
6
8
|
archive: (options: import("./core/transport.js").CallOptions<Types.AgentsArchiveData>) => Promise<{
|
|
@@ -17,6 +19,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
17
19
|
speed?: "standard" | "fast";
|
|
18
20
|
settings?: {
|
|
19
21
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
22
|
+
max_output_tokens?: number;
|
|
20
23
|
};
|
|
21
24
|
};
|
|
22
25
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -37,10 +40,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
37
40
|
id: string;
|
|
38
41
|
} | null;
|
|
39
42
|
note: string | null;
|
|
43
|
+
deployments_behind: number | null;
|
|
40
44
|
bindings: Array<{
|
|
41
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
45
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
42
46
|
id: string;
|
|
43
47
|
access: "read_only" | "read_write" | "invoke";
|
|
48
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
44
49
|
instructions?: string;
|
|
45
50
|
readonly verified?: boolean;
|
|
46
51
|
enabled?: boolean;
|
|
@@ -49,7 +54,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
49
54
|
readonly verified?: boolean;
|
|
50
55
|
enabled?: boolean;
|
|
51
56
|
}>;
|
|
52
|
-
kind: "general" | "
|
|
57
|
+
kind: "general" | "service" | "assume";
|
|
53
58
|
computer_id?: string;
|
|
54
59
|
subagent_model?: string | null;
|
|
55
60
|
subagents?: Array<{
|
|
@@ -142,6 +147,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
142
147
|
allowManagedHooksOnly?: boolean;
|
|
143
148
|
allowManagedMcpServersOnly?: boolean;
|
|
144
149
|
allowManagedPermissionRulesOnly?: boolean;
|
|
150
|
+
idleCompaction?: boolean;
|
|
145
151
|
autoMemoryEnabled?: boolean;
|
|
146
152
|
disabled?: {
|
|
147
153
|
subagents?: Array<string>;
|
|
@@ -150,7 +156,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
150
156
|
mcpServers?: Array<string>;
|
|
151
157
|
hooks?: Array<string>;
|
|
152
158
|
};
|
|
153
|
-
idleCompaction?: boolean;
|
|
154
159
|
outputStyle?: string;
|
|
155
160
|
} | null;
|
|
156
161
|
models?: {
|
|
@@ -158,6 +163,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
158
163
|
};
|
|
159
164
|
avatar: string | null;
|
|
160
165
|
creation_source: string | null;
|
|
166
|
+
managed_by: string | null;
|
|
161
167
|
identity_number: string | null;
|
|
162
168
|
environment_id?: string | null;
|
|
163
169
|
vault_ids?: Array<string>;
|
|
@@ -199,6 +205,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
199
205
|
speed?: "standard" | "fast";
|
|
200
206
|
settings?: {
|
|
201
207
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
208
|
+
max_output_tokens?: number;
|
|
202
209
|
};
|
|
203
210
|
};
|
|
204
211
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -219,10 +226,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
219
226
|
id: string;
|
|
220
227
|
} | null;
|
|
221
228
|
note: string | null;
|
|
229
|
+
deployments_behind: number | null;
|
|
222
230
|
bindings: Array<{
|
|
223
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
231
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
224
232
|
id: string;
|
|
225
233
|
access: "read_only" | "read_write" | "invoke";
|
|
234
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
226
235
|
instructions?: string;
|
|
227
236
|
readonly verified?: boolean;
|
|
228
237
|
enabled?: boolean;
|
|
@@ -231,7 +240,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
231
240
|
readonly verified?: boolean;
|
|
232
241
|
enabled?: boolean;
|
|
233
242
|
}>;
|
|
234
|
-
kind: "general" | "
|
|
243
|
+
kind: "general" | "service" | "assume";
|
|
244
|
+
computers?: {
|
|
245
|
+
default: string;
|
|
246
|
+
allowed: Array<{
|
|
247
|
+
template: string;
|
|
248
|
+
name: string;
|
|
249
|
+
}>;
|
|
250
|
+
};
|
|
235
251
|
computer_id?: string;
|
|
236
252
|
subagent_model?: string | null;
|
|
237
253
|
subagents?: Array<{
|
|
@@ -324,6 +340,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
324
340
|
allowManagedHooksOnly?: boolean;
|
|
325
341
|
allowManagedMcpServersOnly?: boolean;
|
|
326
342
|
allowManagedPermissionRulesOnly?: boolean;
|
|
343
|
+
idleCompaction?: boolean;
|
|
327
344
|
autoMemoryEnabled?: boolean;
|
|
328
345
|
disabled?: {
|
|
329
346
|
subagents?: Array<string>;
|
|
@@ -332,7 +349,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
332
349
|
mcpServers?: Array<string>;
|
|
333
350
|
hooks?: Array<string>;
|
|
334
351
|
};
|
|
335
|
-
idleCompaction?: boolean;
|
|
336
352
|
outputStyle?: string;
|
|
337
353
|
} | null;
|
|
338
354
|
models?: {
|
|
@@ -340,6 +356,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
340
356
|
};
|
|
341
357
|
avatar: string | null;
|
|
342
358
|
creation_source: string | null;
|
|
359
|
+
managed_by: string | null;
|
|
343
360
|
identity_number: string | null;
|
|
344
361
|
environment_id?: string | null;
|
|
345
362
|
vault_ids?: Array<string>;
|
|
@@ -352,42 +369,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
352
369
|
}> | null;
|
|
353
370
|
}>;
|
|
354
371
|
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
372
|
block: {
|
|
392
373
|
create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
|
|
393
374
|
id: string;
|
|
@@ -519,7 +500,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
519
500
|
run_id: string | null;
|
|
520
501
|
message_id?: string;
|
|
521
502
|
} | {
|
|
522
|
-
full_access_available?: boolean;
|
|
523
503
|
id: string;
|
|
524
504
|
input: Types.AgentManaged197;
|
|
525
505
|
mcp_server_name: string;
|
|
@@ -529,6 +509,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
529
509
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
530
510
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
531
511
|
session_thread_id?: null | string;
|
|
512
|
+
permission_suggestions?: Array<{
|
|
513
|
+
type: "add_rules";
|
|
514
|
+
behavior: "allow";
|
|
515
|
+
destination: "agent" | "session";
|
|
516
|
+
rules: Array<{
|
|
517
|
+
tool_name: string;
|
|
518
|
+
rule_content: string;
|
|
519
|
+
}>;
|
|
520
|
+
}>;
|
|
521
|
+
full_access_available?: boolean;
|
|
522
|
+
user_once?: true;
|
|
523
|
+
guarded_rule?: string;
|
|
532
524
|
run_id: string | null;
|
|
533
525
|
_meta?: {
|
|
534
526
|
ui?: {
|
|
@@ -542,17 +534,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
542
534
|
};
|
|
543
535
|
source?: "app" | "codemode";
|
|
544
536
|
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
537
|
title?: string;
|
|
557
538
|
input_titles?: {
|
|
558
539
|
[key: string]: string;
|
|
@@ -571,7 +552,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
571
552
|
};
|
|
572
553
|
source?: "app" | "codemode";
|
|
573
554
|
} | {
|
|
574
|
-
full_access_available?: boolean;
|
|
575
555
|
id: string;
|
|
576
556
|
input: Types.AgentManaged206;
|
|
577
557
|
name: string;
|
|
@@ -580,9 +560,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
580
560
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
581
561
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
582
562
|
session_thread_id?: null | string;
|
|
583
|
-
run_id: string | null;
|
|
584
|
-
user_once?: true;
|
|
585
|
-
guarded_rule?: string;
|
|
586
563
|
permission_suggestions?: Array<{
|
|
587
564
|
type: "add_rules";
|
|
588
565
|
behavior: "allow";
|
|
@@ -592,6 +569,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
592
569
|
rule_content: string;
|
|
593
570
|
}>;
|
|
594
571
|
}>;
|
|
572
|
+
full_access_available?: boolean;
|
|
573
|
+
user_once?: true;
|
|
574
|
+
guarded_rule?: string;
|
|
575
|
+
run_id: string | null;
|
|
595
576
|
} | {
|
|
596
577
|
id: string;
|
|
597
578
|
processed_at: string;
|
|
@@ -612,9 +593,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
612
593
|
type: "session.status_idle";
|
|
613
594
|
run_id: string | null;
|
|
614
595
|
} | 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
596
|
id: string;
|
|
619
597
|
processed_at: string;
|
|
620
598
|
type: "session.updated";
|
|
@@ -622,6 +600,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
622
600
|
budget?: null | Types.AgentManaged76;
|
|
623
601
|
metadata?: Types.AgentManaged246;
|
|
624
602
|
title?: null | string;
|
|
603
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
604
|
+
previous_permission_mode?: string | null;
|
|
605
|
+
permission_mode_version?: number;
|
|
625
606
|
model?: {
|
|
626
607
|
id: string;
|
|
627
608
|
};
|
|
@@ -682,19 +663,164 @@ export declare function createAgent(transport: Transport): {
|
|
|
682
663
|
processed_at: string;
|
|
683
664
|
} | {
|
|
684
665
|
id: string;
|
|
685
|
-
type: "
|
|
666
|
+
type: "cognition.surfaced";
|
|
667
|
+
processed_at: string;
|
|
668
|
+
worker_session_id: string;
|
|
669
|
+
name: string;
|
|
670
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
671
|
+
experience_id?: string;
|
|
672
|
+
result?: {
|
|
673
|
+
message?: string;
|
|
674
|
+
links?: Array<string>;
|
|
675
|
+
files?: Array<{
|
|
676
|
+
name?: string;
|
|
677
|
+
href?: string;
|
|
678
|
+
}>;
|
|
679
|
+
held?: Array<{
|
|
680
|
+
id?: string;
|
|
681
|
+
summary?: string;
|
|
682
|
+
effect?: string;
|
|
683
|
+
method?: string;
|
|
684
|
+
path?: string;
|
|
685
|
+
expires_at?: string;
|
|
686
|
+
}>;
|
|
687
|
+
};
|
|
688
|
+
} | {
|
|
689
|
+
id: string;
|
|
690
|
+
type: "cognition.intention_woken";
|
|
691
|
+
processed_at: string;
|
|
692
|
+
node_id: string;
|
|
693
|
+
reason: "open_engram" | "assignment";
|
|
694
|
+
} | {
|
|
695
|
+
id: string;
|
|
696
|
+
type: "agent.operation_approval_requested";
|
|
697
|
+
processed_at: string;
|
|
698
|
+
approval_id: string;
|
|
699
|
+
operation_id: string;
|
|
700
|
+
effect: "outward" | "irreversible";
|
|
701
|
+
method: string;
|
|
702
|
+
path: string;
|
|
703
|
+
summary: string;
|
|
704
|
+
expires_at: string;
|
|
705
|
+
worker_session_id?: string;
|
|
706
|
+
worker_name?: string;
|
|
707
|
+
} | {
|
|
708
|
+
id: string;
|
|
709
|
+
type: "agent.operation_approval_decided";
|
|
710
|
+
processed_at: string;
|
|
711
|
+
approval_id: string;
|
|
712
|
+
status: "approved" | "refused" | "expired";
|
|
713
|
+
} | {
|
|
714
|
+
id: string;
|
|
715
|
+
type: "session.prompt_configuration_mismatch";
|
|
716
|
+
processed_at: string;
|
|
717
|
+
pinned_revision_id: string;
|
|
718
|
+
current_revision_id: string;
|
|
719
|
+
} | {
|
|
720
|
+
id: string;
|
|
721
|
+
type: "session.prompt_rev_changed";
|
|
722
|
+
processed_at: string;
|
|
723
|
+
config_revision_id: string;
|
|
724
|
+
changed: Array<{
|
|
725
|
+
name: string;
|
|
726
|
+
rev: string | null;
|
|
727
|
+
}>;
|
|
728
|
+
} | {
|
|
729
|
+
id: string;
|
|
730
|
+
type: "session.computer_tier";
|
|
731
|
+
processed_at: string;
|
|
732
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
733
|
+
tier: "light" | "heavy";
|
|
734
|
+
duration_ms: number;
|
|
735
|
+
error_code?: string;
|
|
736
|
+
status?: {
|
|
737
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
738
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
739
|
+
percent?: number;
|
|
740
|
+
files_done?: number;
|
|
741
|
+
files_total?: number;
|
|
742
|
+
idle_release_at?: number;
|
|
743
|
+
retry_at?: number;
|
|
744
|
+
epoch?: number;
|
|
745
|
+
heavy_instance?: string | null;
|
|
746
|
+
heavy_paused?: boolean;
|
|
747
|
+
};
|
|
748
|
+
} | {
|
|
749
|
+
id: string;
|
|
750
|
+
type: "agent.artifact_delivered";
|
|
751
|
+
processed_at: string;
|
|
752
|
+
artifact: {
|
|
753
|
+
object: "artifact";
|
|
754
|
+
id: string;
|
|
755
|
+
session_id: string;
|
|
756
|
+
run_id: string | null;
|
|
757
|
+
name: string;
|
|
758
|
+
version: number;
|
|
759
|
+
parts: Array<{
|
|
760
|
+
[key: string]: unknown;
|
|
761
|
+
}>;
|
|
762
|
+
source_hrefs: Array<string>;
|
|
763
|
+
create_time: string;
|
|
764
|
+
update_time: string;
|
|
765
|
+
};
|
|
766
|
+
} | {
|
|
767
|
+
id: string;
|
|
768
|
+
type: "agent.image_generation";
|
|
686
769
|
processed_at: string;
|
|
687
770
|
tool_use_id: string;
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
771
|
+
index: number;
|
|
772
|
+
total: number;
|
|
773
|
+
status: string;
|
|
774
|
+
mode?: string;
|
|
775
|
+
aspect?: string;
|
|
776
|
+
prompt?: string;
|
|
777
|
+
model?: string;
|
|
778
|
+
file_id?: string;
|
|
779
|
+
label?: string;
|
|
780
|
+
width?: number;
|
|
781
|
+
height?: number;
|
|
782
|
+
revised_prompt?: string;
|
|
783
|
+
source_labels?: Array<string>;
|
|
784
|
+
caption?: string;
|
|
785
|
+
slot?: number | null;
|
|
786
|
+
replaces?: string;
|
|
787
|
+
version?: number;
|
|
788
|
+
failure?: {
|
|
789
|
+
reason?: string;
|
|
691
790
|
};
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
791
|
+
} | {
|
|
792
|
+
id: string;
|
|
793
|
+
type: "session.image_labeled";
|
|
794
|
+
processed_at: string;
|
|
795
|
+
label: string;
|
|
796
|
+
file_id: string;
|
|
797
|
+
origin: "generated" | "uploaded";
|
|
798
|
+
filename: string;
|
|
799
|
+
tool_use_id?: string;
|
|
800
|
+
version?: number;
|
|
801
|
+
replaced_file_id?: string;
|
|
802
|
+
} | {
|
|
803
|
+
id: string;
|
|
804
|
+
type: "session.image_set_planned";
|
|
805
|
+
processed_at: string;
|
|
806
|
+
tool_use_id: string;
|
|
807
|
+
items: Array<unknown>;
|
|
808
|
+
title?: string;
|
|
809
|
+
} | {
|
|
810
|
+
id: string;
|
|
811
|
+
type: "session.project_attached";
|
|
812
|
+
processed_at: string;
|
|
813
|
+
project: {
|
|
814
|
+
id: string;
|
|
815
|
+
name: string;
|
|
816
|
+
path: string;
|
|
697
817
|
};
|
|
818
|
+
} | {
|
|
819
|
+
id: string;
|
|
820
|
+
type: "session.project_detached";
|
|
821
|
+
processed_at: string;
|
|
822
|
+
project_id: string;
|
|
823
|
+
reason?: "project_removed";
|
|
698
824
|
}>;
|
|
699
825
|
next_page: string | null;
|
|
700
826
|
}>;
|
|
@@ -715,25 +841,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
715
841
|
type: "user.steer";
|
|
716
842
|
event_id: string;
|
|
717
843
|
processed_at: string;
|
|
718
|
-
} | {
|
|
719
|
-
id: string;
|
|
720
|
-
type: "user.tool_confirmation";
|
|
721
|
-
processed_at: string;
|
|
722
|
-
tool_use_id: string;
|
|
723
|
-
result: "allow";
|
|
724
|
-
answers: {
|
|
725
|
-
[key: string]: string;
|
|
726
|
-
};
|
|
727
|
-
annotations?: {
|
|
728
|
-
[key: string]: {
|
|
729
|
-
preview?: string;
|
|
730
|
-
notes?: string;
|
|
731
|
-
};
|
|
732
|
-
};
|
|
733
844
|
}>;
|
|
734
845
|
}>;
|
|
735
846
|
stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
736
847
|
};
|
|
848
|
+
inbox: {
|
|
849
|
+
letters: {
|
|
850
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
|
|
851
|
+
unread: number;
|
|
852
|
+
letters: Array<{
|
|
853
|
+
id: string;
|
|
854
|
+
sender: string;
|
|
855
|
+
summary: string;
|
|
856
|
+
thread: string | null;
|
|
857
|
+
create_time: string;
|
|
858
|
+
}>;
|
|
859
|
+
}>;
|
|
860
|
+
};
|
|
861
|
+
};
|
|
737
862
|
list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
|
|
738
863
|
data: Array<{
|
|
739
864
|
id: string;
|
|
@@ -749,6 +874,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
749
874
|
speed?: "standard" | "fast";
|
|
750
875
|
settings?: {
|
|
751
876
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
877
|
+
max_output_tokens?: number;
|
|
752
878
|
};
|
|
753
879
|
};
|
|
754
880
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -769,10 +895,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
769
895
|
id: string;
|
|
770
896
|
} | null;
|
|
771
897
|
note: string | null;
|
|
898
|
+
deployments_behind: number | null;
|
|
772
899
|
bindings: Array<{
|
|
773
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
900
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
774
901
|
id: string;
|
|
775
902
|
access: "read_only" | "read_write" | "invoke";
|
|
903
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
776
904
|
instructions?: string;
|
|
777
905
|
readonly verified?: boolean;
|
|
778
906
|
enabled?: boolean;
|
|
@@ -781,7 +909,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
781
909
|
readonly verified?: boolean;
|
|
782
910
|
enabled?: boolean;
|
|
783
911
|
}>;
|
|
784
|
-
kind: "general" | "
|
|
912
|
+
kind: "general" | "service" | "assume";
|
|
913
|
+
computers?: {
|
|
914
|
+
default: string;
|
|
915
|
+
allowed: Array<{
|
|
916
|
+
template: string;
|
|
917
|
+
name: string;
|
|
918
|
+
}>;
|
|
919
|
+
};
|
|
785
920
|
computer_id?: string;
|
|
786
921
|
subagent_model?: string | null;
|
|
787
922
|
subagents?: Array<{
|
|
@@ -874,6 +1009,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
874
1009
|
allowManagedHooksOnly?: boolean;
|
|
875
1010
|
allowManagedMcpServersOnly?: boolean;
|
|
876
1011
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1012
|
+
idleCompaction?: boolean;
|
|
877
1013
|
autoMemoryEnabled?: boolean;
|
|
878
1014
|
disabled?: {
|
|
879
1015
|
subagents?: Array<string>;
|
|
@@ -882,7 +1018,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
882
1018
|
mcpServers?: Array<string>;
|
|
883
1019
|
hooks?: Array<string>;
|
|
884
1020
|
};
|
|
885
|
-
idleCompaction?: boolean;
|
|
886
1021
|
outputStyle?: string;
|
|
887
1022
|
} | null;
|
|
888
1023
|
models?: {
|
|
@@ -890,6 +1025,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
890
1025
|
};
|
|
891
1026
|
avatar: string | null;
|
|
892
1027
|
creation_source: string | null;
|
|
1028
|
+
managed_by: string | null;
|
|
893
1029
|
identity_number: string | null;
|
|
894
1030
|
environment_id?: string | null;
|
|
895
1031
|
vault_ids?: Array<string>;
|
|
@@ -903,6 +1039,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
903
1039
|
}>;
|
|
904
1040
|
next_page: string | null;
|
|
905
1041
|
}>;
|
|
1042
|
+
phone: {
|
|
1043
|
+
release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
|
|
1044
|
+
object: "agent_phone";
|
|
1045
|
+
agent_id: string;
|
|
1046
|
+
configured: boolean;
|
|
1047
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
1048
|
+
sku: string | null;
|
|
1049
|
+
byod_device: string | null;
|
|
1050
|
+
name: string | null;
|
|
1051
|
+
sandbox_id: string | null;
|
|
1052
|
+
lease_ends_at: string | null;
|
|
1053
|
+
archived_at: string | null;
|
|
1054
|
+
archive_error: string | null;
|
|
1055
|
+
}>;
|
|
1056
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
|
|
1057
|
+
object: "agent_phone";
|
|
1058
|
+
agent_id: string;
|
|
1059
|
+
configured: boolean;
|
|
1060
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
1061
|
+
sku: string | null;
|
|
1062
|
+
byod_device: string | null;
|
|
1063
|
+
name: string | null;
|
|
1064
|
+
sandbox_id: string | null;
|
|
1065
|
+
lease_ends_at: string | null;
|
|
1066
|
+
archived_at: string | null;
|
|
1067
|
+
archive_error: string | null;
|
|
1068
|
+
}>;
|
|
1069
|
+
};
|
|
906
1070
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
|
|
907
1071
|
id: string;
|
|
908
1072
|
archived_at: null | string;
|
|
@@ -917,6 +1081,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
917
1081
|
speed?: "standard" | "fast";
|
|
918
1082
|
settings?: {
|
|
919
1083
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1084
|
+
max_output_tokens?: number;
|
|
920
1085
|
};
|
|
921
1086
|
};
|
|
922
1087
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -938,10 +1103,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
938
1103
|
id: string;
|
|
939
1104
|
} | null;
|
|
940
1105
|
note: string | null;
|
|
1106
|
+
deployments_behind: number | null;
|
|
941
1107
|
bindings: Array<{
|
|
942
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1108
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
943
1109
|
id: string;
|
|
944
1110
|
access: "read_only" | "read_write" | "invoke";
|
|
1111
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
945
1112
|
instructions?: string;
|
|
946
1113
|
readonly verified?: boolean;
|
|
947
1114
|
enabled?: boolean;
|
|
@@ -950,7 +1117,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
950
1117
|
readonly verified?: boolean;
|
|
951
1118
|
enabled?: boolean;
|
|
952
1119
|
}>;
|
|
953
|
-
kind: "general" | "
|
|
1120
|
+
kind: "general" | "service" | "assume";
|
|
1121
|
+
computers?: {
|
|
1122
|
+
default: string;
|
|
1123
|
+
allowed: Array<{
|
|
1124
|
+
template: string;
|
|
1125
|
+
name: string;
|
|
1126
|
+
}>;
|
|
1127
|
+
};
|
|
954
1128
|
computer_id?: string;
|
|
955
1129
|
subagent_model?: string | null;
|
|
956
1130
|
subagents?: Array<{
|
|
@@ -1043,6 +1217,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1043
1217
|
allowManagedHooksOnly?: boolean;
|
|
1044
1218
|
allowManagedMcpServersOnly?: boolean;
|
|
1045
1219
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1220
|
+
idleCompaction?: boolean;
|
|
1046
1221
|
autoMemoryEnabled?: boolean;
|
|
1047
1222
|
disabled?: {
|
|
1048
1223
|
subagents?: Array<string>;
|
|
@@ -1051,7 +1226,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1051
1226
|
mcpServers?: Array<string>;
|
|
1052
1227
|
hooks?: Array<string>;
|
|
1053
1228
|
};
|
|
1054
|
-
idleCompaction?: boolean;
|
|
1055
1229
|
outputStyle?: string;
|
|
1056
1230
|
} | null;
|
|
1057
1231
|
models?: {
|
|
@@ -1059,6 +1233,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1059
1233
|
};
|
|
1060
1234
|
avatar: string | null;
|
|
1061
1235
|
creation_source: string | null;
|
|
1236
|
+
managed_by: string | null;
|
|
1062
1237
|
identity_number: string | null;
|
|
1063
1238
|
environment_id?: string | null;
|
|
1064
1239
|
vault_ids?: Array<string>;
|
|
@@ -1127,6 +1302,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
1127
1302
|
history?: {
|
|
1128
1303
|
enabled?: boolean;
|
|
1129
1304
|
};
|
|
1305
|
+
uploads?: {
|
|
1306
|
+
enabled: boolean;
|
|
1307
|
+
max_file_bytes: number;
|
|
1308
|
+
max_files_per_session: number;
|
|
1309
|
+
};
|
|
1310
|
+
}>;
|
|
1311
|
+
retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
|
|
1312
|
+
allowed_origins: Array<string>;
|
|
1313
|
+
allow_localhost: boolean;
|
|
1314
|
+
uploads: {
|
|
1315
|
+
enabled: boolean;
|
|
1316
|
+
max_file_bytes: number;
|
|
1317
|
+
max_files_per_session: number;
|
|
1318
|
+
};
|
|
1319
|
+
share_links: {
|
|
1320
|
+
enabled: boolean;
|
|
1321
|
+
daily_session_cap: number | null;
|
|
1322
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1323
|
+
currency?: "USD" | "CNY" | null;
|
|
1324
|
+
};
|
|
1130
1325
|
}>;
|
|
1131
1326
|
unarchive: {
|
|
1132
1327
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
@@ -1180,6 +1375,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1180
1375
|
speed?: "standard" | "fast";
|
|
1181
1376
|
settings?: {
|
|
1182
1377
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1378
|
+
max_output_tokens?: number;
|
|
1183
1379
|
};
|
|
1184
1380
|
};
|
|
1185
1381
|
multiagent?: null | {
|
|
@@ -1366,10 +1562,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1366
1562
|
id: string;
|
|
1367
1563
|
} | null;
|
|
1368
1564
|
note: string | null;
|
|
1565
|
+
deployments_behind: number | null;
|
|
1369
1566
|
bindings: Array<{
|
|
1370
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1567
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1371
1568
|
id: string;
|
|
1372
1569
|
access: "read_only" | "read_write" | "invoke";
|
|
1570
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1373
1571
|
instructions?: string;
|
|
1374
1572
|
readonly verified?: boolean;
|
|
1375
1573
|
enabled?: boolean;
|
|
@@ -1378,7 +1576,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1378
1576
|
readonly verified?: boolean;
|
|
1379
1577
|
enabled?: boolean;
|
|
1380
1578
|
}>;
|
|
1381
|
-
kind: "general" | "
|
|
1579
|
+
kind: "general" | "service" | "assume";
|
|
1580
|
+
computers?: {
|
|
1581
|
+
default: string;
|
|
1582
|
+
allowed: Array<{
|
|
1583
|
+
template: string;
|
|
1584
|
+
name: string;
|
|
1585
|
+
}>;
|
|
1586
|
+
};
|
|
1382
1587
|
computer_id?: string;
|
|
1383
1588
|
subagent_model?: string | null;
|
|
1384
1589
|
subagents?: Array<{
|
|
@@ -1471,6 +1676,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1471
1676
|
allowManagedHooksOnly?: boolean;
|
|
1472
1677
|
allowManagedMcpServersOnly?: boolean;
|
|
1473
1678
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1679
|
+
idleCompaction?: boolean;
|
|
1474
1680
|
autoMemoryEnabled?: boolean;
|
|
1475
1681
|
disabled?: {
|
|
1476
1682
|
subagents?: Array<string>;
|
|
@@ -1479,7 +1685,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1479
1685
|
mcpServers?: Array<string>;
|
|
1480
1686
|
hooks?: Array<string>;
|
|
1481
1687
|
};
|
|
1482
|
-
idleCompaction?: boolean;
|
|
1483
1688
|
outputStyle?: string;
|
|
1484
1689
|
} | null;
|
|
1485
1690
|
models?: {
|
|
@@ -1487,6 +1692,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1487
1692
|
};
|
|
1488
1693
|
avatar: string | null;
|
|
1489
1694
|
creation_source: string | null;
|
|
1695
|
+
managed_by: string | null;
|
|
1490
1696
|
identity_number: string | null;
|
|
1491
1697
|
environment_id?: string | null;
|
|
1492
1698
|
vault_ids?: Array<string>;
|
|
@@ -1513,6 +1719,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1513
1719
|
speed?: "standard" | "fast";
|
|
1514
1720
|
settings?: {
|
|
1515
1721
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1722
|
+
max_output_tokens?: number;
|
|
1516
1723
|
};
|
|
1517
1724
|
};
|
|
1518
1725
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1534,10 +1741,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1534
1741
|
id: string;
|
|
1535
1742
|
} | null;
|
|
1536
1743
|
note: string | null;
|
|
1744
|
+
deployments_behind: number | null;
|
|
1537
1745
|
bindings: Array<{
|
|
1538
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1746
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1539
1747
|
id: string;
|
|
1540
1748
|
access: "read_only" | "read_write" | "invoke";
|
|
1749
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1541
1750
|
instructions?: string;
|
|
1542
1751
|
readonly verified?: boolean;
|
|
1543
1752
|
enabled?: boolean;
|
|
@@ -1546,7 +1755,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1546
1755
|
readonly verified?: boolean;
|
|
1547
1756
|
enabled?: boolean;
|
|
1548
1757
|
}>;
|
|
1549
|
-
kind: "general" | "
|
|
1758
|
+
kind: "general" | "service" | "assume";
|
|
1759
|
+
computers?: {
|
|
1760
|
+
default: string;
|
|
1761
|
+
allowed: Array<{
|
|
1762
|
+
template: string;
|
|
1763
|
+
name: string;
|
|
1764
|
+
}>;
|
|
1765
|
+
};
|
|
1550
1766
|
computer_id?: string;
|
|
1551
1767
|
subagent_model?: string | null;
|
|
1552
1768
|
subagents?: Array<{
|
|
@@ -1639,6 +1855,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1639
1855
|
allowManagedHooksOnly?: boolean;
|
|
1640
1856
|
allowManagedMcpServersOnly?: boolean;
|
|
1641
1857
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1858
|
+
idleCompaction?: boolean;
|
|
1642
1859
|
autoMemoryEnabled?: boolean;
|
|
1643
1860
|
disabled?: {
|
|
1644
1861
|
subagents?: Array<string>;
|
|
@@ -1647,7 +1864,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1647
1864
|
mcpServers?: Array<string>;
|
|
1648
1865
|
hooks?: Array<string>;
|
|
1649
1866
|
};
|
|
1650
|
-
idleCompaction?: boolean;
|
|
1651
1867
|
outputStyle?: string;
|
|
1652
1868
|
} | null;
|
|
1653
1869
|
models?: {
|
|
@@ -1655,6 +1871,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1655
1871
|
};
|
|
1656
1872
|
avatar: string | null;
|
|
1657
1873
|
creation_source: string | null;
|
|
1874
|
+
managed_by: string | null;
|
|
1658
1875
|
identity_number: string | null;
|
|
1659
1876
|
environment_id?: string | null;
|
|
1660
1877
|
vault_ids?: Array<string>;
|
|
@@ -1666,55 +1883,282 @@ export declare function createAgent(transport: Transport): {
|
|
|
1666
1883
|
keep_coding_instructions?: boolean;
|
|
1667
1884
|
}> | null;
|
|
1668
1885
|
}>;
|
|
1886
|
+
updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
|
|
1887
|
+
allowed_origins: Array<string>;
|
|
1888
|
+
allow_localhost: boolean;
|
|
1889
|
+
uploads: {
|
|
1890
|
+
enabled: boolean;
|
|
1891
|
+
max_file_bytes: number;
|
|
1892
|
+
max_files_per_session: number;
|
|
1893
|
+
};
|
|
1894
|
+
share_links: {
|
|
1895
|
+
enabled: boolean;
|
|
1896
|
+
daily_session_cap: number | null;
|
|
1897
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1898
|
+
currency?: "USD" | "CNY" | null;
|
|
1899
|
+
};
|
|
1900
|
+
}>;
|
|
1669
1901
|
versions: {
|
|
1670
1902
|
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1671
1903
|
id: string;
|
|
1672
1904
|
archived_at: null | string;
|
|
1673
1905
|
created_at: string;
|
|
1674
1906
|
description: null | string;
|
|
1675
|
-
mcp_servers: Array<
|
|
1676
|
-
|
|
1907
|
+
mcp_servers: Array<{
|
|
1908
|
+
type: "url";
|
|
1909
|
+
name: string;
|
|
1910
|
+
url: string;
|
|
1911
|
+
headers?: {
|
|
1912
|
+
[key: string]: string;
|
|
1913
|
+
};
|
|
1914
|
+
timeout_ms?: number;
|
|
1915
|
+
} | {
|
|
1916
|
+
type: "sse";
|
|
1917
|
+
name: string;
|
|
1918
|
+
url: string;
|
|
1919
|
+
headers?: {
|
|
1920
|
+
[key: string]: string;
|
|
1921
|
+
};
|
|
1922
|
+
timeout_ms?: number;
|
|
1923
|
+
} | {
|
|
1924
|
+
type: "stdio";
|
|
1925
|
+
name: string;
|
|
1926
|
+
command: string;
|
|
1927
|
+
args?: Array<string>;
|
|
1928
|
+
env?: {
|
|
1929
|
+
[key: string]: string;
|
|
1930
|
+
};
|
|
1931
|
+
timeout_ms?: number;
|
|
1932
|
+
}>;
|
|
1933
|
+
metadata: {
|
|
1934
|
+
[key: string]: string;
|
|
1935
|
+
};
|
|
1677
1936
|
model?: {
|
|
1678
1937
|
id: string;
|
|
1679
|
-
effort?:
|
|
1938
|
+
effort?: {
|
|
1939
|
+
type: "low";
|
|
1940
|
+
} | {
|
|
1941
|
+
type: "medium";
|
|
1942
|
+
} | {
|
|
1943
|
+
type: "high";
|
|
1944
|
+
} | {
|
|
1945
|
+
type: "xhigh";
|
|
1946
|
+
} | {
|
|
1947
|
+
type: "max";
|
|
1948
|
+
};
|
|
1680
1949
|
inference_geo?: string;
|
|
1681
1950
|
speed?: "standard" | "fast";
|
|
1682
1951
|
settings?: {
|
|
1683
1952
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1953
|
+
max_output_tokens?: number;
|
|
1684
1954
|
};
|
|
1685
1955
|
};
|
|
1686
|
-
multiagent?: null |
|
|
1956
|
+
multiagent?: null | {
|
|
1957
|
+
agents: Array<{
|
|
1958
|
+
id: string;
|
|
1959
|
+
type: "agent";
|
|
1960
|
+
version: number;
|
|
1961
|
+
} | {
|
|
1962
|
+
model: string;
|
|
1963
|
+
type: "advisor";
|
|
1964
|
+
}>;
|
|
1965
|
+
type: "coordinator";
|
|
1966
|
+
};
|
|
1687
1967
|
name: string;
|
|
1688
|
-
skills: Array<
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
updated_at: string;
|
|
1693
|
-
version: number;
|
|
1694
|
-
latest_version?: number;
|
|
1695
|
-
active_version: number;
|
|
1696
|
-
created_by: {
|
|
1697
|
-
type: "user";
|
|
1698
|
-
id: string;
|
|
1699
|
-
name?: string;
|
|
1700
|
-
} | {
|
|
1701
|
-
type: "api_key";
|
|
1702
|
-
id: string;
|
|
1703
|
-
} | null;
|
|
1704
|
-
note: string | null;
|
|
1705
|
-
bindings: Array<{
|
|
1706
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1707
|
-
id: string;
|
|
1708
|
-
access: "read_only" | "read_write" | "invoke";
|
|
1709
|
-
instructions?: string;
|
|
1710
|
-
readonly verified?: boolean;
|
|
1711
|
-
enabled?: boolean;
|
|
1968
|
+
skills: Array<{
|
|
1969
|
+
skill_id: string;
|
|
1970
|
+
type: "anthropic";
|
|
1971
|
+
version: string;
|
|
1712
1972
|
} | {
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1973
|
+
skill_id: string;
|
|
1974
|
+
type: "custom";
|
|
1975
|
+
version: string;
|
|
1716
1976
|
}>;
|
|
1717
|
-
|
|
1977
|
+
system: null | string;
|
|
1978
|
+
tools: Array<{
|
|
1979
|
+
configs: Array<{
|
|
1980
|
+
enabled: boolean;
|
|
1981
|
+
name: "bash";
|
|
1982
|
+
permission_policy: {
|
|
1983
|
+
type: "always_allow";
|
|
1984
|
+
} | {
|
|
1985
|
+
type: "always_ask";
|
|
1986
|
+
} | {
|
|
1987
|
+
type: "auto";
|
|
1988
|
+
};
|
|
1989
|
+
type: "bash";
|
|
1990
|
+
} | {
|
|
1991
|
+
enabled: boolean;
|
|
1992
|
+
name: "edit";
|
|
1993
|
+
permission_policy: {
|
|
1994
|
+
type: "always_allow";
|
|
1995
|
+
} | {
|
|
1996
|
+
type: "always_ask";
|
|
1997
|
+
} | {
|
|
1998
|
+
type: "auto";
|
|
1999
|
+
};
|
|
2000
|
+
type: "edit";
|
|
2001
|
+
} | {
|
|
2002
|
+
enabled: boolean;
|
|
2003
|
+
name: "read";
|
|
2004
|
+
permission_policy: {
|
|
2005
|
+
type: "always_allow";
|
|
2006
|
+
} | {
|
|
2007
|
+
type: "always_ask";
|
|
2008
|
+
} | {
|
|
2009
|
+
type: "auto";
|
|
2010
|
+
};
|
|
2011
|
+
type: "read";
|
|
2012
|
+
} | {
|
|
2013
|
+
enabled: boolean;
|
|
2014
|
+
name: "write";
|
|
2015
|
+
permission_policy: {
|
|
2016
|
+
type: "always_allow";
|
|
2017
|
+
} | {
|
|
2018
|
+
type: "always_ask";
|
|
2019
|
+
} | {
|
|
2020
|
+
type: "auto";
|
|
2021
|
+
};
|
|
2022
|
+
type: "write";
|
|
2023
|
+
} | {
|
|
2024
|
+
enabled: boolean;
|
|
2025
|
+
name: "glob";
|
|
2026
|
+
permission_policy: {
|
|
2027
|
+
type: "always_allow";
|
|
2028
|
+
} | {
|
|
2029
|
+
type: "always_ask";
|
|
2030
|
+
} | {
|
|
2031
|
+
type: "auto";
|
|
2032
|
+
};
|
|
2033
|
+
type: "glob";
|
|
2034
|
+
} | {
|
|
2035
|
+
enabled: boolean;
|
|
2036
|
+
name: "grep";
|
|
2037
|
+
permission_policy: {
|
|
2038
|
+
type: "always_allow";
|
|
2039
|
+
} | {
|
|
2040
|
+
type: "always_ask";
|
|
2041
|
+
} | {
|
|
2042
|
+
type: "auto";
|
|
2043
|
+
};
|
|
2044
|
+
type: "grep";
|
|
2045
|
+
} | {
|
|
2046
|
+
enabled: boolean;
|
|
2047
|
+
name: "web_fetch";
|
|
2048
|
+
permission_policy: {
|
|
2049
|
+
type: "always_allow";
|
|
2050
|
+
} | {
|
|
2051
|
+
type: "always_ask";
|
|
2052
|
+
} | {
|
|
2053
|
+
type: "auto";
|
|
2054
|
+
};
|
|
2055
|
+
type: "web_fetch";
|
|
2056
|
+
allowed_domains?: Array<string>;
|
|
2057
|
+
blocked_domains?: Array<string>;
|
|
2058
|
+
max_content_tokens?: null | number;
|
|
2059
|
+
} | {
|
|
2060
|
+
enabled: boolean;
|
|
2061
|
+
name: "web_search";
|
|
2062
|
+
permission_policy: {
|
|
2063
|
+
type: "always_allow";
|
|
2064
|
+
} | {
|
|
2065
|
+
type: "always_ask";
|
|
2066
|
+
} | {
|
|
2067
|
+
type: "auto";
|
|
2068
|
+
};
|
|
2069
|
+
type: "web_search";
|
|
2070
|
+
allowed_domains?: Array<string>;
|
|
2071
|
+
blocked_domains?: Array<string>;
|
|
2072
|
+
user_location?: null | {
|
|
2073
|
+
type: "approximate";
|
|
2074
|
+
city?: null | string;
|
|
2075
|
+
country?: null | string;
|
|
2076
|
+
region?: null | string;
|
|
2077
|
+
timezone?: null | string;
|
|
2078
|
+
};
|
|
2079
|
+
} | {
|
|
2080
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
2081
|
+
enabled: boolean;
|
|
2082
|
+
permission_policy: {
|
|
2083
|
+
type: "always_allow" | "always_ask";
|
|
2084
|
+
};
|
|
2085
|
+
}>;
|
|
2086
|
+
default_config: {
|
|
2087
|
+
enabled: boolean;
|
|
2088
|
+
permission_policy: {
|
|
2089
|
+
type: "always_allow";
|
|
2090
|
+
} | {
|
|
2091
|
+
type: "always_ask";
|
|
2092
|
+
} | {
|
|
2093
|
+
type: "auto";
|
|
2094
|
+
};
|
|
2095
|
+
};
|
|
2096
|
+
type: "agent_toolset_20260401";
|
|
2097
|
+
} | {
|
|
2098
|
+
type: "mcp_toolset";
|
|
2099
|
+
mcp_server_name: string;
|
|
2100
|
+
default_config?: {
|
|
2101
|
+
enabled?: boolean | null;
|
|
2102
|
+
permission_policy?: null | {
|
|
2103
|
+
type: "always_allow" | "always_ask";
|
|
2104
|
+
};
|
|
2105
|
+
} | null;
|
|
2106
|
+
configs?: Array<{
|
|
2107
|
+
name: string;
|
|
2108
|
+
enabled?: boolean | null;
|
|
2109
|
+
permission_policy?: null | {
|
|
2110
|
+
type: "always_allow" | "always_ask";
|
|
2111
|
+
};
|
|
2112
|
+
}> | null;
|
|
2113
|
+
} | {
|
|
2114
|
+
description: string;
|
|
2115
|
+
input_schema: {
|
|
2116
|
+
type: "object";
|
|
2117
|
+
properties?: null | {
|
|
2118
|
+
[key: string]: unknown;
|
|
2119
|
+
};
|
|
2120
|
+
required?: null | Array<string>;
|
|
2121
|
+
[key: string]: unknown;
|
|
2122
|
+
};
|
|
2123
|
+
name: string;
|
|
2124
|
+
type: "custom";
|
|
2125
|
+
}>;
|
|
2126
|
+
type: "agent";
|
|
2127
|
+
updated_at: string;
|
|
2128
|
+
version: number;
|
|
2129
|
+
latest_version?: number;
|
|
2130
|
+
active_version: number;
|
|
2131
|
+
created_by: {
|
|
2132
|
+
type: "user";
|
|
2133
|
+
id: string;
|
|
2134
|
+
name?: string;
|
|
2135
|
+
} | {
|
|
2136
|
+
type: "api_key";
|
|
2137
|
+
id: string;
|
|
2138
|
+
} | null;
|
|
2139
|
+
note: string | null;
|
|
2140
|
+
deployments_behind: number | null;
|
|
2141
|
+
bindings: Array<{
|
|
2142
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
2143
|
+
id: string;
|
|
2144
|
+
access: "read_only" | "read_write" | "invoke";
|
|
2145
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
2146
|
+
instructions?: string;
|
|
2147
|
+
readonly verified?: boolean;
|
|
2148
|
+
enabled?: boolean;
|
|
2149
|
+
} | {
|
|
2150
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
2151
|
+
readonly verified?: boolean;
|
|
2152
|
+
enabled?: boolean;
|
|
2153
|
+
}>;
|
|
2154
|
+
kind: "general" | "service" | "assume";
|
|
2155
|
+
computers?: {
|
|
2156
|
+
default: string;
|
|
2157
|
+
allowed: Array<{
|
|
2158
|
+
template: string;
|
|
2159
|
+
name: string;
|
|
2160
|
+
}>;
|
|
2161
|
+
};
|
|
1718
2162
|
computer_id?: string;
|
|
1719
2163
|
subagent_model?: string | null;
|
|
1720
2164
|
subagents?: Array<{
|
|
@@ -1807,6 +2251,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1807
2251
|
allowManagedHooksOnly?: boolean;
|
|
1808
2252
|
allowManagedMcpServersOnly?: boolean;
|
|
1809
2253
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2254
|
+
idleCompaction?: boolean;
|
|
1810
2255
|
autoMemoryEnabled?: boolean;
|
|
1811
2256
|
disabled?: {
|
|
1812
2257
|
subagents?: Array<string>;
|
|
@@ -1815,7 +2260,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1815
2260
|
mcpServers?: Array<string>;
|
|
1816
2261
|
hooks?: Array<string>;
|
|
1817
2262
|
};
|
|
1818
|
-
idleCompaction?: boolean;
|
|
1819
2263
|
outputStyle?: string;
|
|
1820
2264
|
} | null;
|
|
1821
2265
|
models?: {
|
|
@@ -1823,6 +2267,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1823
2267
|
};
|
|
1824
2268
|
avatar: string | null;
|
|
1825
2269
|
creation_source: string | null;
|
|
2270
|
+
managed_by: string | null;
|
|
1826
2271
|
identity_number: string | null;
|
|
1827
2272
|
environment_id?: string | null;
|
|
1828
2273
|
vault_ids?: Array<string>;
|
|
@@ -1849,6 +2294,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1849
2294
|
speed?: "standard" | "fast";
|
|
1850
2295
|
settings?: {
|
|
1851
2296
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2297
|
+
max_output_tokens?: number;
|
|
1852
2298
|
};
|
|
1853
2299
|
};
|
|
1854
2300
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1871,9 +2317,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
1871
2317
|
} | null;
|
|
1872
2318
|
note: string | null;
|
|
1873
2319
|
bindings: Array<{
|
|
1874
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2320
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1875
2321
|
id: string;
|
|
1876
2322
|
access: "read_only" | "read_write" | "invoke";
|
|
2323
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1877
2324
|
instructions?: string;
|
|
1878
2325
|
readonly verified?: boolean;
|
|
1879
2326
|
enabled?: boolean;
|
|
@@ -1882,7 +2329,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1882
2329
|
readonly verified?: boolean;
|
|
1883
2330
|
enabled?: boolean;
|
|
1884
2331
|
}>;
|
|
1885
|
-
kind: "general" | "
|
|
2332
|
+
kind: "general" | "service" | "assume";
|
|
2333
|
+
computers?: {
|
|
2334
|
+
default: string;
|
|
2335
|
+
allowed: Array<{
|
|
2336
|
+
template: string;
|
|
2337
|
+
name: string;
|
|
2338
|
+
}>;
|
|
2339
|
+
};
|
|
1886
2340
|
computer_id?: string;
|
|
1887
2341
|
subagent_model?: string | null;
|
|
1888
2342
|
subagents?: Array<{
|
|
@@ -1975,6 +2429,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1975
2429
|
allowManagedHooksOnly?: boolean;
|
|
1976
2430
|
allowManagedMcpServersOnly?: boolean;
|
|
1977
2431
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2432
|
+
idleCompaction?: boolean;
|
|
1978
2433
|
autoMemoryEnabled?: boolean;
|
|
1979
2434
|
disabled?: {
|
|
1980
2435
|
subagents?: Array<string>;
|
|
@@ -1983,7 +2438,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1983
2438
|
mcpServers?: Array<string>;
|
|
1984
2439
|
hooks?: Array<string>;
|
|
1985
2440
|
};
|
|
1986
|
-
idleCompaction?: boolean;
|
|
1987
2441
|
outputStyle?: string;
|
|
1988
2442
|
} | null;
|
|
1989
2443
|
models?: {
|
|
@@ -1991,6 +2445,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1991
2445
|
};
|
|
1992
2446
|
avatar: string | null;
|
|
1993
2447
|
creation_source: string | null;
|
|
2448
|
+
managed_by: string | null;
|
|
1994
2449
|
identity_number: string | null;
|
|
1995
2450
|
environment_id?: string | null;
|
|
1996
2451
|
vault_ids?: Array<string>;
|
|
@@ -2078,6 +2533,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
2078
2533
|
tier: "light" | "heavy";
|
|
2079
2534
|
}>;
|
|
2080
2535
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
2536
|
+
retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
|
|
2537
|
+
variant: "image" | "pdf" | "text" | "original";
|
|
2538
|
+
version?: string;
|
|
2539
|
+
mime_type?: string;
|
|
2540
|
+
size?: number;
|
|
2541
|
+
file_id?: string;
|
|
2542
|
+
url?: string;
|
|
2543
|
+
expires_at?: string;
|
|
2544
|
+
cached: boolean;
|
|
2545
|
+
fallback?: "content";
|
|
2546
|
+
skipped?: boolean;
|
|
2547
|
+
}>;
|
|
2548
|
+
updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
|
|
2549
|
+
path: string;
|
|
2550
|
+
size: number;
|
|
2551
|
+
mtime: string | null;
|
|
2552
|
+
version: string;
|
|
2553
|
+
}>;
|
|
2081
2554
|
};
|
|
2082
2555
|
leases: {
|
|
2083
2556
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -2151,6 +2624,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2151
2624
|
id: string;
|
|
2152
2625
|
type: "agent";
|
|
2153
2626
|
version: number;
|
|
2627
|
+
pinned_version?: number | null;
|
|
2628
|
+
active_version?: number | null;
|
|
2154
2629
|
} | {
|
|
2155
2630
|
id: string;
|
|
2156
2631
|
type: "agent_with_overrides";
|
|
@@ -2188,6 +2663,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2188
2663
|
id: string;
|
|
2189
2664
|
type: "agent";
|
|
2190
2665
|
version: number;
|
|
2666
|
+
pinned_version?: number | null;
|
|
2667
|
+
active_version?: number | null;
|
|
2191
2668
|
} | {
|
|
2192
2669
|
id: string;
|
|
2193
2670
|
type: "agent_with_overrides";
|
|
@@ -2226,6 +2703,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2226
2703
|
id: string;
|
|
2227
2704
|
type: "agent";
|
|
2228
2705
|
version: number;
|
|
2706
|
+
pinned_version?: number | null;
|
|
2707
|
+
active_version?: number | null;
|
|
2229
2708
|
} | {
|
|
2230
2709
|
id: string;
|
|
2231
2710
|
type: "agent_with_overrides";
|
|
@@ -2265,6 +2744,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2265
2744
|
id: string;
|
|
2266
2745
|
type: "agent";
|
|
2267
2746
|
version: number;
|
|
2747
|
+
pinned_version?: number | null;
|
|
2748
|
+
active_version?: number | null;
|
|
2268
2749
|
} | {
|
|
2269
2750
|
id: string;
|
|
2270
2751
|
type: "agent_with_overrides";
|
|
@@ -2302,6 +2783,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2302
2783
|
id: string;
|
|
2303
2784
|
type: "agent";
|
|
2304
2785
|
version: number;
|
|
2786
|
+
pinned_version?: number | null;
|
|
2787
|
+
active_version?: number | null;
|
|
2305
2788
|
} | {
|
|
2306
2789
|
id: string;
|
|
2307
2790
|
type: "agent_with_overrides";
|
|
@@ -2343,6 +2826,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2343
2826
|
id: string;
|
|
2344
2827
|
type: "agent";
|
|
2345
2828
|
version: number;
|
|
2829
|
+
pinned_version?: number | null;
|
|
2830
|
+
active_version?: number | null;
|
|
2346
2831
|
} | {
|
|
2347
2832
|
id: string;
|
|
2348
2833
|
type: "agent_with_overrides";
|
|
@@ -2381,6 +2866,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2381
2866
|
id: string;
|
|
2382
2867
|
type: "agent";
|
|
2383
2868
|
version: number;
|
|
2869
|
+
pinned_version?: number | null;
|
|
2870
|
+
active_version?: number | null;
|
|
2384
2871
|
} | {
|
|
2385
2872
|
id: string;
|
|
2386
2873
|
type: "agent_with_overrides";
|
|
@@ -2424,49 +2911,592 @@ export declare function createAgent(transport: Transport): {
|
|
|
2424
2911
|
update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
|
|
2425
2912
|
};
|
|
2426
2913
|
sessions: {
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
agent: {
|
|
2914
|
+
agentVersion: {
|
|
2915
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
|
|
2430
2916
|
id: string;
|
|
2431
|
-
|
|
2432
|
-
mcp_servers: Array<Types.AgentManaged36>;
|
|
2433
|
-
model: {
|
|
2917
|
+
agent: {
|
|
2434
2918
|
id: string;
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2919
|
+
description: null | string;
|
|
2920
|
+
mcp_servers: Array<{
|
|
2921
|
+
type: "url";
|
|
2922
|
+
name: string;
|
|
2923
|
+
url: string;
|
|
2924
|
+
headers?: {
|
|
2925
|
+
[key: string]: string;
|
|
2926
|
+
};
|
|
2927
|
+
timeout_ms?: number;
|
|
2928
|
+
} | {
|
|
2929
|
+
type: "sse";
|
|
2930
|
+
name: string;
|
|
2931
|
+
url: string;
|
|
2932
|
+
headers?: {
|
|
2933
|
+
[key: string]: string;
|
|
2934
|
+
};
|
|
2935
|
+
timeout_ms?: number;
|
|
2936
|
+
} | {
|
|
2937
|
+
type: "stdio";
|
|
2938
|
+
name: string;
|
|
2939
|
+
command: string;
|
|
2940
|
+
args?: Array<string>;
|
|
2941
|
+
env?: {
|
|
2942
|
+
[key: string]: string;
|
|
2943
|
+
};
|
|
2944
|
+
timeout_ms?: number;
|
|
2945
|
+
}>;
|
|
2946
|
+
model: {
|
|
2947
|
+
id: string;
|
|
2948
|
+
effort?: {
|
|
2949
|
+
type: "low";
|
|
2950
|
+
} | {
|
|
2951
|
+
type: "medium";
|
|
2952
|
+
} | {
|
|
2953
|
+
type: "high";
|
|
2954
|
+
} | {
|
|
2955
|
+
type: "xhigh";
|
|
2956
|
+
} | {
|
|
2957
|
+
type: "max";
|
|
2958
|
+
};
|
|
2959
|
+
inference_geo?: string;
|
|
2960
|
+
speed?: "standard" | "fast";
|
|
2961
|
+
settings?: {
|
|
2962
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2963
|
+
max_output_tokens?: number;
|
|
2964
|
+
};
|
|
2440
2965
|
};
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2966
|
+
multiagent: null | {
|
|
2967
|
+
agents: Array<{
|
|
2968
|
+
model: string;
|
|
2969
|
+
type: "advisor";
|
|
2970
|
+
} | {
|
|
2971
|
+
id: string;
|
|
2972
|
+
description: null | string;
|
|
2973
|
+
mcp_servers: Array<{
|
|
2974
|
+
type: "url";
|
|
2975
|
+
name: string;
|
|
2976
|
+
url: string;
|
|
2977
|
+
headers?: {
|
|
2978
|
+
[key: string]: string;
|
|
2979
|
+
};
|
|
2980
|
+
timeout_ms?: number;
|
|
2981
|
+
} | {
|
|
2982
|
+
type: "sse";
|
|
2983
|
+
name: string;
|
|
2984
|
+
url: string;
|
|
2985
|
+
headers?: {
|
|
2986
|
+
[key: string]: string;
|
|
2987
|
+
};
|
|
2988
|
+
timeout_ms?: number;
|
|
2989
|
+
} | {
|
|
2990
|
+
type: "stdio";
|
|
2991
|
+
name: string;
|
|
2992
|
+
command: string;
|
|
2993
|
+
args?: Array<string>;
|
|
2994
|
+
env?: {
|
|
2995
|
+
[key: string]: string;
|
|
2996
|
+
};
|
|
2997
|
+
timeout_ms?: number;
|
|
2998
|
+
}>;
|
|
2999
|
+
model: {
|
|
3000
|
+
id: string;
|
|
3001
|
+
effort?: {
|
|
3002
|
+
type: "low";
|
|
3003
|
+
} | {
|
|
3004
|
+
type: "medium";
|
|
3005
|
+
} | {
|
|
3006
|
+
type: "high";
|
|
3007
|
+
} | {
|
|
3008
|
+
type: "xhigh";
|
|
3009
|
+
} | {
|
|
3010
|
+
type: "max";
|
|
3011
|
+
};
|
|
3012
|
+
inference_geo?: string;
|
|
3013
|
+
speed?: "standard" | "fast";
|
|
3014
|
+
};
|
|
3015
|
+
name: string;
|
|
3016
|
+
skills: Array<{
|
|
3017
|
+
skill_id: string;
|
|
3018
|
+
type: "anthropic";
|
|
3019
|
+
version: string;
|
|
3020
|
+
} | {
|
|
3021
|
+
skill_id: string;
|
|
3022
|
+
type: "custom";
|
|
3023
|
+
version: string;
|
|
3024
|
+
}>;
|
|
3025
|
+
system: null | string;
|
|
3026
|
+
tools: Array<{
|
|
3027
|
+
configs: Array<{
|
|
3028
|
+
enabled: boolean;
|
|
3029
|
+
name: "bash";
|
|
3030
|
+
permission_policy: {
|
|
3031
|
+
type: "always_allow";
|
|
3032
|
+
} | {
|
|
3033
|
+
type: "always_ask";
|
|
3034
|
+
} | {
|
|
3035
|
+
type: "auto";
|
|
3036
|
+
};
|
|
3037
|
+
type: "bash";
|
|
3038
|
+
} | {
|
|
3039
|
+
enabled: boolean;
|
|
3040
|
+
name: "edit";
|
|
3041
|
+
permission_policy: {
|
|
3042
|
+
type: "always_allow";
|
|
3043
|
+
} | {
|
|
3044
|
+
type: "always_ask";
|
|
3045
|
+
} | {
|
|
3046
|
+
type: "auto";
|
|
3047
|
+
};
|
|
3048
|
+
type: "edit";
|
|
3049
|
+
} | {
|
|
3050
|
+
enabled: boolean;
|
|
3051
|
+
name: "read";
|
|
3052
|
+
permission_policy: {
|
|
3053
|
+
type: "always_allow";
|
|
3054
|
+
} | {
|
|
3055
|
+
type: "always_ask";
|
|
3056
|
+
} | {
|
|
3057
|
+
type: "auto";
|
|
3058
|
+
};
|
|
3059
|
+
type: "read";
|
|
3060
|
+
} | {
|
|
3061
|
+
enabled: boolean;
|
|
3062
|
+
name: "write";
|
|
3063
|
+
permission_policy: {
|
|
3064
|
+
type: "always_allow";
|
|
3065
|
+
} | {
|
|
3066
|
+
type: "always_ask";
|
|
3067
|
+
} | {
|
|
3068
|
+
type: "auto";
|
|
3069
|
+
};
|
|
3070
|
+
type: "write";
|
|
3071
|
+
} | {
|
|
3072
|
+
enabled: boolean;
|
|
3073
|
+
name: "glob";
|
|
3074
|
+
permission_policy: {
|
|
3075
|
+
type: "always_allow";
|
|
3076
|
+
} | {
|
|
3077
|
+
type: "always_ask";
|
|
3078
|
+
} | {
|
|
3079
|
+
type: "auto";
|
|
3080
|
+
};
|
|
3081
|
+
type: "glob";
|
|
3082
|
+
} | {
|
|
3083
|
+
enabled: boolean;
|
|
3084
|
+
name: "grep";
|
|
3085
|
+
permission_policy: {
|
|
3086
|
+
type: "always_allow";
|
|
3087
|
+
} | {
|
|
3088
|
+
type: "always_ask";
|
|
3089
|
+
} | {
|
|
3090
|
+
type: "auto";
|
|
3091
|
+
};
|
|
3092
|
+
type: "grep";
|
|
3093
|
+
} | {
|
|
3094
|
+
enabled: boolean;
|
|
3095
|
+
name: "web_fetch";
|
|
3096
|
+
permission_policy: {
|
|
3097
|
+
type: "always_allow";
|
|
3098
|
+
} | {
|
|
3099
|
+
type: "always_ask";
|
|
3100
|
+
} | {
|
|
3101
|
+
type: "auto";
|
|
3102
|
+
};
|
|
3103
|
+
type: "web_fetch";
|
|
3104
|
+
allowed_domains?: Array<string>;
|
|
3105
|
+
blocked_domains?: Array<string>;
|
|
3106
|
+
max_content_tokens?: null | number;
|
|
3107
|
+
} | {
|
|
3108
|
+
enabled: boolean;
|
|
3109
|
+
name: "web_search";
|
|
3110
|
+
permission_policy: {
|
|
3111
|
+
type: "always_allow";
|
|
3112
|
+
} | {
|
|
3113
|
+
type: "always_ask";
|
|
3114
|
+
} | {
|
|
3115
|
+
type: "auto";
|
|
3116
|
+
};
|
|
3117
|
+
type: "web_search";
|
|
3118
|
+
allowed_domains?: Array<string>;
|
|
3119
|
+
blocked_domains?: Array<string>;
|
|
3120
|
+
user_location?: null | {
|
|
3121
|
+
type: "approximate";
|
|
3122
|
+
city?: null | string;
|
|
3123
|
+
country?: null | string;
|
|
3124
|
+
region?: null | string;
|
|
3125
|
+
timezone?: null | string;
|
|
3126
|
+
};
|
|
3127
|
+
} | {
|
|
3128
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
3129
|
+
enabled: boolean;
|
|
3130
|
+
permission_policy: {
|
|
3131
|
+
type: "always_allow" | "always_ask";
|
|
3132
|
+
};
|
|
3133
|
+
}>;
|
|
3134
|
+
default_config: {
|
|
3135
|
+
enabled: boolean;
|
|
3136
|
+
permission_policy: {
|
|
3137
|
+
type: "always_allow";
|
|
3138
|
+
} | {
|
|
3139
|
+
type: "always_ask";
|
|
3140
|
+
} | {
|
|
3141
|
+
type: "auto";
|
|
3142
|
+
};
|
|
3143
|
+
};
|
|
3144
|
+
type: "agent_toolset_20260401";
|
|
3145
|
+
} | {
|
|
3146
|
+
type: "mcp_toolset";
|
|
3147
|
+
mcp_server_name: string;
|
|
3148
|
+
default_config?: {
|
|
3149
|
+
enabled?: boolean | null;
|
|
3150
|
+
permission_policy?: null | {
|
|
3151
|
+
type: "always_allow" | "always_ask";
|
|
3152
|
+
};
|
|
3153
|
+
} | null;
|
|
3154
|
+
configs?: Array<{
|
|
3155
|
+
name: string;
|
|
3156
|
+
enabled?: boolean | null;
|
|
3157
|
+
permission_policy?: null | {
|
|
3158
|
+
type: "always_allow" | "always_ask";
|
|
3159
|
+
};
|
|
3160
|
+
}> | null;
|
|
3161
|
+
} | {
|
|
3162
|
+
description: string;
|
|
3163
|
+
input_schema: {
|
|
3164
|
+
type: "object";
|
|
3165
|
+
properties?: null | {
|
|
3166
|
+
[key: string]: unknown;
|
|
3167
|
+
};
|
|
3168
|
+
required?: null | Array<string>;
|
|
3169
|
+
[key: string]: unknown;
|
|
3170
|
+
};
|
|
3171
|
+
name: string;
|
|
3172
|
+
type: "custom";
|
|
3173
|
+
}>;
|
|
3174
|
+
type: "agent";
|
|
3175
|
+
version: number;
|
|
3176
|
+
}>;
|
|
3177
|
+
type: "coordinator";
|
|
3178
|
+
};
|
|
3179
|
+
name: string;
|
|
3180
|
+
skills: Array<{
|
|
3181
|
+
skill_id: string;
|
|
3182
|
+
type: "anthropic";
|
|
3183
|
+
version: string;
|
|
3184
|
+
} | {
|
|
3185
|
+
skill_id: string;
|
|
3186
|
+
type: "custom";
|
|
3187
|
+
version: string;
|
|
3188
|
+
}>;
|
|
3189
|
+
system: null | string;
|
|
3190
|
+
tools: Array<{
|
|
3191
|
+
configs: Array<{
|
|
3192
|
+
enabled: boolean;
|
|
3193
|
+
name: "bash";
|
|
3194
|
+
permission_policy: {
|
|
3195
|
+
type: "always_allow";
|
|
3196
|
+
} | {
|
|
3197
|
+
type: "always_ask";
|
|
3198
|
+
} | {
|
|
3199
|
+
type: "auto";
|
|
3200
|
+
};
|
|
3201
|
+
type: "bash";
|
|
3202
|
+
} | {
|
|
3203
|
+
enabled: boolean;
|
|
3204
|
+
name: "edit";
|
|
3205
|
+
permission_policy: {
|
|
3206
|
+
type: "always_allow";
|
|
3207
|
+
} | {
|
|
3208
|
+
type: "always_ask";
|
|
3209
|
+
} | {
|
|
3210
|
+
type: "auto";
|
|
3211
|
+
};
|
|
3212
|
+
type: "edit";
|
|
3213
|
+
} | {
|
|
3214
|
+
enabled: boolean;
|
|
3215
|
+
name: "read";
|
|
3216
|
+
permission_policy: {
|
|
3217
|
+
type: "always_allow";
|
|
3218
|
+
} | {
|
|
3219
|
+
type: "always_ask";
|
|
3220
|
+
} | {
|
|
3221
|
+
type: "auto";
|
|
3222
|
+
};
|
|
3223
|
+
type: "read";
|
|
3224
|
+
} | {
|
|
3225
|
+
enabled: boolean;
|
|
3226
|
+
name: "write";
|
|
3227
|
+
permission_policy: {
|
|
3228
|
+
type: "always_allow";
|
|
3229
|
+
} | {
|
|
3230
|
+
type: "always_ask";
|
|
3231
|
+
} | {
|
|
3232
|
+
type: "auto";
|
|
3233
|
+
};
|
|
3234
|
+
type: "write";
|
|
3235
|
+
} | {
|
|
3236
|
+
enabled: boolean;
|
|
3237
|
+
name: "glob";
|
|
3238
|
+
permission_policy: {
|
|
3239
|
+
type: "always_allow";
|
|
3240
|
+
} | {
|
|
3241
|
+
type: "always_ask";
|
|
3242
|
+
} | {
|
|
3243
|
+
type: "auto";
|
|
3244
|
+
};
|
|
3245
|
+
type: "glob";
|
|
3246
|
+
} | {
|
|
3247
|
+
enabled: boolean;
|
|
3248
|
+
name: "grep";
|
|
3249
|
+
permission_policy: {
|
|
3250
|
+
type: "always_allow";
|
|
3251
|
+
} | {
|
|
3252
|
+
type: "always_ask";
|
|
3253
|
+
} | {
|
|
3254
|
+
type: "auto";
|
|
3255
|
+
};
|
|
3256
|
+
type: "grep";
|
|
3257
|
+
} | {
|
|
3258
|
+
enabled: boolean;
|
|
3259
|
+
name: "web_fetch";
|
|
3260
|
+
permission_policy: {
|
|
3261
|
+
type: "always_allow";
|
|
3262
|
+
} | {
|
|
3263
|
+
type: "always_ask";
|
|
3264
|
+
} | {
|
|
3265
|
+
type: "auto";
|
|
3266
|
+
};
|
|
3267
|
+
type: "web_fetch";
|
|
3268
|
+
allowed_domains?: Array<string>;
|
|
3269
|
+
blocked_domains?: Array<string>;
|
|
3270
|
+
max_content_tokens?: null | number;
|
|
3271
|
+
} | {
|
|
3272
|
+
enabled: boolean;
|
|
3273
|
+
name: "web_search";
|
|
3274
|
+
permission_policy: {
|
|
3275
|
+
type: "always_allow";
|
|
3276
|
+
} | {
|
|
3277
|
+
type: "always_ask";
|
|
3278
|
+
} | {
|
|
3279
|
+
type: "auto";
|
|
3280
|
+
};
|
|
3281
|
+
type: "web_search";
|
|
3282
|
+
allowed_domains?: Array<string>;
|
|
3283
|
+
blocked_domains?: Array<string>;
|
|
3284
|
+
user_location?: null | {
|
|
3285
|
+
type: "approximate";
|
|
3286
|
+
city?: null | string;
|
|
3287
|
+
country?: null | string;
|
|
3288
|
+
region?: null | string;
|
|
3289
|
+
timezone?: null | string;
|
|
3290
|
+
};
|
|
3291
|
+
} | {
|
|
3292
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
3293
|
+
enabled: boolean;
|
|
3294
|
+
permission_policy: {
|
|
3295
|
+
type: "always_allow" | "always_ask";
|
|
3296
|
+
};
|
|
3297
|
+
}>;
|
|
3298
|
+
default_config: {
|
|
3299
|
+
enabled: boolean;
|
|
3300
|
+
permission_policy: {
|
|
3301
|
+
type: "always_allow";
|
|
3302
|
+
} | {
|
|
3303
|
+
type: "always_ask";
|
|
3304
|
+
} | {
|
|
3305
|
+
type: "auto";
|
|
3306
|
+
};
|
|
3307
|
+
};
|
|
3308
|
+
type: "agent_toolset_20260401";
|
|
3309
|
+
} | {
|
|
3310
|
+
type: "mcp_toolset";
|
|
3311
|
+
mcp_server_name: string;
|
|
3312
|
+
default_config?: {
|
|
3313
|
+
enabled?: boolean | null;
|
|
3314
|
+
permission_policy?: null | {
|
|
3315
|
+
type: "always_allow" | "always_ask";
|
|
3316
|
+
};
|
|
3317
|
+
} | null;
|
|
3318
|
+
configs?: Array<{
|
|
3319
|
+
name: string;
|
|
3320
|
+
enabled?: boolean | null;
|
|
3321
|
+
permission_policy?: null | {
|
|
3322
|
+
type: "always_allow" | "always_ask";
|
|
3323
|
+
};
|
|
3324
|
+
}> | null;
|
|
3325
|
+
} | {
|
|
3326
|
+
description: string;
|
|
3327
|
+
input_schema: {
|
|
3328
|
+
type: "object";
|
|
3329
|
+
properties?: null | {
|
|
3330
|
+
[key: string]: unknown;
|
|
3331
|
+
};
|
|
3332
|
+
required?: null | Array<string>;
|
|
3333
|
+
[key: string]: unknown;
|
|
3334
|
+
};
|
|
3335
|
+
name: string;
|
|
3336
|
+
type: "custom";
|
|
3337
|
+
}>;
|
|
3338
|
+
type: "agent";
|
|
3339
|
+
version: number;
|
|
3340
|
+
};
|
|
3341
|
+
archived_at: null | string;
|
|
3342
|
+
budget: null | {
|
|
3343
|
+
max_list_cost: {
|
|
3344
|
+
amount: string;
|
|
3345
|
+
currency: "USD";
|
|
3346
|
+
};
|
|
3347
|
+
type: "limit";
|
|
3348
|
+
};
|
|
3349
|
+
created_at: string;
|
|
3350
|
+
environment_id?: string;
|
|
3351
|
+
metadata: {
|
|
3352
|
+
[key: string]: string;
|
|
3353
|
+
};
|
|
3354
|
+
outcome_evaluations: Array<{
|
|
3355
|
+
completed_at: null | string;
|
|
3356
|
+
description: string;
|
|
3357
|
+
explanation: null | string;
|
|
3358
|
+
iteration: number;
|
|
3359
|
+
outcome_id: string;
|
|
3360
|
+
result: string;
|
|
3361
|
+
type: "outcome_evaluation";
|
|
3362
|
+
}>;
|
|
3363
|
+
resources: Array<{
|
|
3364
|
+
id: string;
|
|
3365
|
+
created_at: string;
|
|
3366
|
+
mount_path: string;
|
|
3367
|
+
type: "github_repository";
|
|
3368
|
+
updated_at: string;
|
|
3369
|
+
url: string;
|
|
3370
|
+
checkout?: null | {
|
|
3371
|
+
name: string;
|
|
3372
|
+
type: "branch";
|
|
3373
|
+
} | {
|
|
3374
|
+
sha: string;
|
|
3375
|
+
type: "commit";
|
|
3376
|
+
};
|
|
3377
|
+
} | {
|
|
3378
|
+
id: string;
|
|
3379
|
+
created_at: string;
|
|
3380
|
+
file_id: string;
|
|
3381
|
+
mount_path: string;
|
|
3382
|
+
type: "file";
|
|
3383
|
+
updated_at: string;
|
|
3384
|
+
} | {
|
|
3385
|
+
memory_store_id: string;
|
|
3386
|
+
type: "memory_store";
|
|
3387
|
+
access?: null | "read_write" | "read_only";
|
|
3388
|
+
description?: string;
|
|
3389
|
+
instructions?: null | string;
|
|
3390
|
+
mount_path?: null | string;
|
|
3391
|
+
name?: null | string;
|
|
3392
|
+
}>;
|
|
3393
|
+
stats: {
|
|
3394
|
+
active_seconds?: number;
|
|
3395
|
+
duration_seconds?: number;
|
|
3396
|
+
};
|
|
3397
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3398
|
+
title: null | string;
|
|
3399
|
+
type: "session";
|
|
3400
|
+
updated_at: string;
|
|
3401
|
+
usage: {
|
|
3402
|
+
active_seconds?: number;
|
|
3403
|
+
cache_creation?: {
|
|
3404
|
+
ephemeral_1h_input_tokens?: number;
|
|
3405
|
+
ephemeral_5m_input_tokens?: number;
|
|
3406
|
+
};
|
|
3407
|
+
cache_read_input_tokens?: number;
|
|
3408
|
+
input_tokens?: number;
|
|
3409
|
+
list_cost?: null | {
|
|
3410
|
+
amount: string;
|
|
3411
|
+
currency: "USD";
|
|
3412
|
+
};
|
|
3413
|
+
output_tokens?: number;
|
|
3414
|
+
server_tool_use?: null | {
|
|
3415
|
+
web_fetch_requests?: number;
|
|
3416
|
+
web_search_requests?: number;
|
|
3417
|
+
};
|
|
3418
|
+
cost_by_product?: {
|
|
3419
|
+
[key: string]: string;
|
|
3420
|
+
};
|
|
3421
|
+
subagent_cost_micro_usd?: number;
|
|
3422
|
+
};
|
|
3423
|
+
vault_ids: Array<string>;
|
|
3424
|
+
deployment_id?: null | string;
|
|
3425
|
+
cwd: string;
|
|
3426
|
+
workspace?: {
|
|
3427
|
+
kind: "shared" | "isolated";
|
|
3428
|
+
path?: string;
|
|
3429
|
+
branch?: string;
|
|
3430
|
+
};
|
|
3431
|
+
computer_id?: string;
|
|
3432
|
+
model?: {
|
|
3433
|
+
id: string;
|
|
3434
|
+
thinking: {
|
|
3435
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
3436
|
+
can_disable: boolean;
|
|
3437
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
3438
|
+
} | null;
|
|
3439
|
+
};
|
|
3440
|
+
thinking?: {
|
|
3441
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3442
|
+
} | null;
|
|
3443
|
+
forked_from?: {
|
|
3444
|
+
session_id: string;
|
|
3445
|
+
message_id: string;
|
|
3446
|
+
} | null;
|
|
3447
|
+
readonly external_user_id: string | null;
|
|
3448
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3449
|
+
}>;
|
|
3450
|
+
};
|
|
3451
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
|
|
3452
|
+
id: string;
|
|
3453
|
+
agent: {
|
|
3454
|
+
id: string;
|
|
3455
|
+
description: null | string;
|
|
3456
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
3457
|
+
model: {
|
|
3458
|
+
id: string;
|
|
3459
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3460
|
+
inference_geo?: string;
|
|
3461
|
+
speed?: "standard" | "fast";
|
|
3462
|
+
settings?: {
|
|
3463
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3464
|
+
max_output_tokens?: number;
|
|
3465
|
+
};
|
|
3466
|
+
};
|
|
3467
|
+
multiagent: null | Types.AgentManaged171;
|
|
3468
|
+
name: string;
|
|
3469
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
3470
|
+
system: null | string;
|
|
3471
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
3472
|
+
type: "agent";
|
|
3473
|
+
version: number;
|
|
3474
|
+
};
|
|
3475
|
+
archived_at: null | string;
|
|
3476
|
+
budget: null | Types.AgentManaged76;
|
|
3477
|
+
created_at: string;
|
|
3478
|
+
environment_id?: string;
|
|
3479
|
+
metadata: Types.AgentManaged173;
|
|
3480
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
3481
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
3482
|
+
stats: Types.AgentManaged178;
|
|
3483
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3484
|
+
title: null | string;
|
|
3485
|
+
type: "session";
|
|
3486
|
+
updated_at: string;
|
|
3487
|
+
usage: Types.AgentManaged179;
|
|
3488
|
+
vault_ids: Array<string>;
|
|
3489
|
+
deployment_id?: null | string;
|
|
3490
|
+
cwd: string;
|
|
3491
|
+
workspace?: {
|
|
3492
|
+
kind: "shared" | "isolated";
|
|
3493
|
+
path?: string;
|
|
3494
|
+
branch?: string;
|
|
3495
|
+
};
|
|
3496
|
+
computer_id?: string;
|
|
3497
|
+
model?: {
|
|
3498
|
+
id: string;
|
|
3499
|
+
thinking: {
|
|
2470
3500
|
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
2471
3501
|
can_disable: boolean;
|
|
2472
3502
|
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
@@ -2482,6 +3512,40 @@ export declare function createAgent(transport: Transport): {
|
|
|
2482
3512
|
readonly external_user_id: string | null;
|
|
2483
3513
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2484
3514
|
}>;
|
|
3515
|
+
artifacts: {
|
|
3516
|
+
contentUrl: {
|
|
3517
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
|
|
3518
|
+
url: string;
|
|
3519
|
+
expire_time: string;
|
|
3520
|
+
}>;
|
|
3521
|
+
};
|
|
3522
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
|
|
3523
|
+
data: Array<{
|
|
3524
|
+
object: "artifact";
|
|
3525
|
+
id: string;
|
|
3526
|
+
session_id: string;
|
|
3527
|
+
run_id: string | null;
|
|
3528
|
+
name: string;
|
|
3529
|
+
version: number;
|
|
3530
|
+
parts: Array<{
|
|
3531
|
+
kind: "file";
|
|
3532
|
+
file_id: string;
|
|
3533
|
+
filename: string;
|
|
3534
|
+
mime_type: string;
|
|
3535
|
+
bytes: number;
|
|
3536
|
+
} | {
|
|
3537
|
+
kind: "object";
|
|
3538
|
+
object_type: "canvas" | "media_asset";
|
|
3539
|
+
object_id: string;
|
|
3540
|
+
href: string;
|
|
3541
|
+
title: string | null;
|
|
3542
|
+
}>;
|
|
3543
|
+
source_hrefs: Array<string>;
|
|
3544
|
+
create_time: string;
|
|
3545
|
+
update_time: string;
|
|
3546
|
+
}>;
|
|
3547
|
+
}>;
|
|
3548
|
+
};
|
|
2485
3549
|
backgroundTasks: {
|
|
2486
3550
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
|
|
2487
3551
|
data: Array<{
|
|
@@ -2564,6 +3628,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2564
3628
|
speed?: "standard" | "fast";
|
|
2565
3629
|
settings?: {
|
|
2566
3630
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3631
|
+
max_output_tokens?: number;
|
|
2567
3632
|
};
|
|
2568
3633
|
};
|
|
2569
3634
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2590,6 +3655,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
2590
3655
|
vault_ids: Array<string>;
|
|
2591
3656
|
deployment_id?: null | string;
|
|
2592
3657
|
cwd: string;
|
|
3658
|
+
workspace?: {
|
|
3659
|
+
kind: "shared" | "isolated";
|
|
3660
|
+
path?: string;
|
|
3661
|
+
branch?: string;
|
|
3662
|
+
};
|
|
2593
3663
|
computer_id?: string;
|
|
2594
3664
|
model?: {
|
|
2595
3665
|
id: string;
|
|
@@ -2610,6 +3680,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
2610
3680
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2611
3681
|
}>;
|
|
2612
3682
|
delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
|
|
3683
|
+
dictations: {
|
|
3684
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
|
|
3685
|
+
id: string;
|
|
3686
|
+
push_url: string;
|
|
3687
|
+
expires_at: string;
|
|
3688
|
+
}>;
|
|
3689
|
+
};
|
|
2613
3690
|
events: {
|
|
2614
3691
|
list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
|
|
2615
3692
|
data: Array<{
|
|
@@ -2650,7 +3727,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2650
3727
|
run_id: string | null;
|
|
2651
3728
|
message_id?: string;
|
|
2652
3729
|
} | {
|
|
2653
|
-
full_access_available?: boolean;
|
|
2654
3730
|
id: string;
|
|
2655
3731
|
input: Types.AgentManaged197;
|
|
2656
3732
|
mcp_server_name: string;
|
|
@@ -2660,6 +3736,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
2660
3736
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2661
3737
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2662
3738
|
session_thread_id?: null | string;
|
|
3739
|
+
permission_suggestions?: Array<{
|
|
3740
|
+
type: "add_rules";
|
|
3741
|
+
behavior: "allow";
|
|
3742
|
+
destination: "agent" | "session";
|
|
3743
|
+
rules: Array<{
|
|
3744
|
+
tool_name: string;
|
|
3745
|
+
rule_content: string;
|
|
3746
|
+
}>;
|
|
3747
|
+
}>;
|
|
3748
|
+
full_access_available?: boolean;
|
|
3749
|
+
user_once?: true;
|
|
3750
|
+
guarded_rule?: string;
|
|
2663
3751
|
run_id: string | null;
|
|
2664
3752
|
_meta?: {
|
|
2665
3753
|
ui?: {
|
|
@@ -2673,17 +3761,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2673
3761
|
};
|
|
2674
3762
|
source?: "app" | "codemode";
|
|
2675
3763
|
parent_tool_use_id?: string;
|
|
2676
|
-
user_once?: true;
|
|
2677
|
-
guarded_rule?: string;
|
|
2678
|
-
permission_suggestions?: Array<{
|
|
2679
|
-
type: "add_rules";
|
|
2680
|
-
behavior: "allow";
|
|
2681
|
-
destination: "agent" | "session";
|
|
2682
|
-
rules: Array<{
|
|
2683
|
-
tool_name: string;
|
|
2684
|
-
rule_content: string;
|
|
2685
|
-
}>;
|
|
2686
|
-
}>;
|
|
2687
3764
|
title?: string;
|
|
2688
3765
|
input_titles?: {
|
|
2689
3766
|
[key: string]: string;
|
|
@@ -2702,7 +3779,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2702
3779
|
};
|
|
2703
3780
|
source?: "app" | "codemode";
|
|
2704
3781
|
} | {
|
|
2705
|
-
full_access_available?: boolean;
|
|
2706
3782
|
id: string;
|
|
2707
3783
|
input: Types.AgentManaged206;
|
|
2708
3784
|
name: string;
|
|
@@ -2711,9 +3787,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2711
3787
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2712
3788
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2713
3789
|
session_thread_id?: null | string;
|
|
2714
|
-
run_id: string | null;
|
|
2715
|
-
user_once?: true;
|
|
2716
|
-
guarded_rule?: string;
|
|
2717
3790
|
permission_suggestions?: Array<{
|
|
2718
3791
|
type: "add_rules";
|
|
2719
3792
|
behavior: "allow";
|
|
@@ -2723,6 +3796,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
2723
3796
|
rule_content: string;
|
|
2724
3797
|
}>;
|
|
2725
3798
|
}>;
|
|
3799
|
+
full_access_available?: boolean;
|
|
3800
|
+
user_once?: true;
|
|
3801
|
+
guarded_rule?: string;
|
|
3802
|
+
run_id: string | null;
|
|
2726
3803
|
} | {
|
|
2727
3804
|
id: string;
|
|
2728
3805
|
processed_at: string;
|
|
@@ -2743,9 +3820,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2743
3820
|
type: "session.status_idle";
|
|
2744
3821
|
run_id: string | null;
|
|
2745
3822
|
} | 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 | {
|
|
2746
|
-
permission_mode_version?: number;
|
|
2747
|
-
previous_permission_mode?: string | null;
|
|
2748
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2749
3823
|
id: string;
|
|
2750
3824
|
processed_at: string;
|
|
2751
3825
|
type: "session.updated";
|
|
@@ -2753,6 +3827,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2753
3827
|
budget?: null | Types.AgentManaged76;
|
|
2754
3828
|
metadata?: Types.AgentManaged246;
|
|
2755
3829
|
title?: null | string;
|
|
3830
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3831
|
+
previous_permission_mode?: string | null;
|
|
3832
|
+
permission_mode_version?: number;
|
|
2756
3833
|
model?: {
|
|
2757
3834
|
id: string;
|
|
2758
3835
|
};
|
|
@@ -2813,19 +3890,164 @@ export declare function createAgent(transport: Transport): {
|
|
|
2813
3890
|
processed_at: string;
|
|
2814
3891
|
} | {
|
|
2815
3892
|
id: string;
|
|
2816
|
-
type: "
|
|
3893
|
+
type: "cognition.surfaced";
|
|
3894
|
+
processed_at: string;
|
|
3895
|
+
worker_session_id: string;
|
|
3896
|
+
name: string;
|
|
3897
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
3898
|
+
experience_id?: string;
|
|
3899
|
+
result?: {
|
|
3900
|
+
message?: string;
|
|
3901
|
+
links?: Array<string>;
|
|
3902
|
+
files?: Array<{
|
|
3903
|
+
name?: string;
|
|
3904
|
+
href?: string;
|
|
3905
|
+
}>;
|
|
3906
|
+
held?: Array<{
|
|
3907
|
+
id?: string;
|
|
3908
|
+
summary?: string;
|
|
3909
|
+
effect?: string;
|
|
3910
|
+
method?: string;
|
|
3911
|
+
path?: string;
|
|
3912
|
+
expires_at?: string;
|
|
3913
|
+
}>;
|
|
3914
|
+
};
|
|
3915
|
+
} | {
|
|
3916
|
+
id: string;
|
|
3917
|
+
type: "cognition.intention_woken";
|
|
3918
|
+
processed_at: string;
|
|
3919
|
+
node_id: string;
|
|
3920
|
+
reason: "open_engram" | "assignment";
|
|
3921
|
+
} | {
|
|
3922
|
+
id: string;
|
|
3923
|
+
type: "agent.operation_approval_requested";
|
|
3924
|
+
processed_at: string;
|
|
3925
|
+
approval_id: string;
|
|
3926
|
+
operation_id: string;
|
|
3927
|
+
effect: "outward" | "irreversible";
|
|
3928
|
+
method: string;
|
|
3929
|
+
path: string;
|
|
3930
|
+
summary: string;
|
|
3931
|
+
expires_at: string;
|
|
3932
|
+
worker_session_id?: string;
|
|
3933
|
+
worker_name?: string;
|
|
3934
|
+
} | {
|
|
3935
|
+
id: string;
|
|
3936
|
+
type: "agent.operation_approval_decided";
|
|
3937
|
+
processed_at: string;
|
|
3938
|
+
approval_id: string;
|
|
3939
|
+
status: "approved" | "refused" | "expired";
|
|
3940
|
+
} | {
|
|
3941
|
+
id: string;
|
|
3942
|
+
type: "session.prompt_configuration_mismatch";
|
|
3943
|
+
processed_at: string;
|
|
3944
|
+
pinned_revision_id: string;
|
|
3945
|
+
current_revision_id: string;
|
|
3946
|
+
} | {
|
|
3947
|
+
id: string;
|
|
3948
|
+
type: "session.prompt_rev_changed";
|
|
3949
|
+
processed_at: string;
|
|
3950
|
+
config_revision_id: string;
|
|
3951
|
+
changed: Array<{
|
|
3952
|
+
name: string;
|
|
3953
|
+
rev: string | null;
|
|
3954
|
+
}>;
|
|
3955
|
+
} | {
|
|
3956
|
+
id: string;
|
|
3957
|
+
type: "session.computer_tier";
|
|
3958
|
+
processed_at: string;
|
|
3959
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
3960
|
+
tier: "light" | "heavy";
|
|
3961
|
+
duration_ms: number;
|
|
3962
|
+
error_code?: string;
|
|
3963
|
+
status?: {
|
|
3964
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
3965
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
3966
|
+
percent?: number;
|
|
3967
|
+
files_done?: number;
|
|
3968
|
+
files_total?: number;
|
|
3969
|
+
idle_release_at?: number;
|
|
3970
|
+
retry_at?: number;
|
|
3971
|
+
epoch?: number;
|
|
3972
|
+
heavy_instance?: string | null;
|
|
3973
|
+
heavy_paused?: boolean;
|
|
3974
|
+
};
|
|
3975
|
+
} | {
|
|
3976
|
+
id: string;
|
|
3977
|
+
type: "agent.artifact_delivered";
|
|
3978
|
+
processed_at: string;
|
|
3979
|
+
artifact: {
|
|
3980
|
+
object: "artifact";
|
|
3981
|
+
id: string;
|
|
3982
|
+
session_id: string;
|
|
3983
|
+
run_id: string | null;
|
|
3984
|
+
name: string;
|
|
3985
|
+
version: number;
|
|
3986
|
+
parts: Array<{
|
|
3987
|
+
[key: string]: unknown;
|
|
3988
|
+
}>;
|
|
3989
|
+
source_hrefs: Array<string>;
|
|
3990
|
+
create_time: string;
|
|
3991
|
+
update_time: string;
|
|
3992
|
+
};
|
|
3993
|
+
} | {
|
|
3994
|
+
id: string;
|
|
3995
|
+
type: "agent.image_generation";
|
|
2817
3996
|
processed_at: string;
|
|
2818
3997
|
tool_use_id: string;
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
3998
|
+
index: number;
|
|
3999
|
+
total: number;
|
|
4000
|
+
status: string;
|
|
4001
|
+
mode?: string;
|
|
4002
|
+
aspect?: string;
|
|
4003
|
+
prompt?: string;
|
|
4004
|
+
model?: string;
|
|
4005
|
+
file_id?: string;
|
|
4006
|
+
label?: string;
|
|
4007
|
+
width?: number;
|
|
4008
|
+
height?: number;
|
|
4009
|
+
revised_prompt?: string;
|
|
4010
|
+
source_labels?: Array<string>;
|
|
4011
|
+
caption?: string;
|
|
4012
|
+
slot?: number | null;
|
|
4013
|
+
replaces?: string;
|
|
4014
|
+
version?: number;
|
|
4015
|
+
failure?: {
|
|
4016
|
+
reason?: string;
|
|
2822
4017
|
};
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
4018
|
+
} | {
|
|
4019
|
+
id: string;
|
|
4020
|
+
type: "session.image_labeled";
|
|
4021
|
+
processed_at: string;
|
|
4022
|
+
label: string;
|
|
4023
|
+
file_id: string;
|
|
4024
|
+
origin: "generated" | "uploaded";
|
|
4025
|
+
filename: string;
|
|
4026
|
+
tool_use_id?: string;
|
|
4027
|
+
version?: number;
|
|
4028
|
+
replaced_file_id?: string;
|
|
4029
|
+
} | {
|
|
4030
|
+
id: string;
|
|
4031
|
+
type: "session.image_set_planned";
|
|
4032
|
+
processed_at: string;
|
|
4033
|
+
tool_use_id: string;
|
|
4034
|
+
items: Array<unknown>;
|
|
4035
|
+
title?: string;
|
|
4036
|
+
} | {
|
|
4037
|
+
id: string;
|
|
4038
|
+
type: "session.project_attached";
|
|
4039
|
+
processed_at: string;
|
|
4040
|
+
project: {
|
|
4041
|
+
id: string;
|
|
4042
|
+
name: string;
|
|
4043
|
+
path: string;
|
|
2828
4044
|
};
|
|
4045
|
+
} | {
|
|
4046
|
+
id: string;
|
|
4047
|
+
type: "session.project_detached";
|
|
4048
|
+
processed_at: string;
|
|
4049
|
+
project_id: string;
|
|
4050
|
+
reason?: "project_removed";
|
|
2829
4051
|
}>;
|
|
2830
4052
|
next_page: string | null;
|
|
2831
4053
|
}>;
|
|
@@ -2846,21 +4068,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2846
4068
|
type: "user.steer";
|
|
2847
4069
|
event_id: string;
|
|
2848
4070
|
processed_at: string;
|
|
2849
|
-
} | {
|
|
2850
|
-
id: string;
|
|
2851
|
-
type: "user.tool_confirmation";
|
|
2852
|
-
processed_at: string;
|
|
2853
|
-
tool_use_id: string;
|
|
2854
|
-
result: "allow";
|
|
2855
|
-
answers: {
|
|
2856
|
-
[key: string]: string;
|
|
2857
|
-
};
|
|
2858
|
-
annotations?: {
|
|
2859
|
-
[key: string]: {
|
|
2860
|
-
preview?: string;
|
|
2861
|
-
notes?: string;
|
|
2862
|
-
};
|
|
2863
|
-
};
|
|
2864
4071
|
}>;
|
|
2865
4072
|
}>;
|
|
2866
4073
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -2913,6 +4120,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2913
4120
|
speed?: "standard" | "fast";
|
|
2914
4121
|
settings?: {
|
|
2915
4122
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4123
|
+
max_output_tokens?: number;
|
|
2916
4124
|
};
|
|
2917
4125
|
};
|
|
2918
4126
|
multiagent: null | {
|
|
@@ -3375,6 +4583,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3375
4583
|
vault_ids: Array<string>;
|
|
3376
4584
|
deployment_id?: null | string;
|
|
3377
4585
|
cwd: string;
|
|
4586
|
+
workspace?: {
|
|
4587
|
+
kind: "shared" | "isolated";
|
|
4588
|
+
path?: string;
|
|
4589
|
+
branch?: string;
|
|
4590
|
+
};
|
|
3378
4591
|
computer_id?: string;
|
|
3379
4592
|
model?: {
|
|
3380
4593
|
id: string;
|
|
@@ -3408,6 +4621,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3408
4621
|
speed?: "standard" | "fast";
|
|
3409
4622
|
settings?: {
|
|
3410
4623
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4624
|
+
max_output_tokens?: number;
|
|
3411
4625
|
};
|
|
3412
4626
|
};
|
|
3413
4627
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3419,21 +4633,564 @@ export declare function createAgent(transport: Transport): {
|
|
|
3419
4633
|
version: number;
|
|
3420
4634
|
};
|
|
3421
4635
|
archived_at: null | string;
|
|
3422
|
-
budget: null | Types.AgentManaged76;
|
|
4636
|
+
budget: null | Types.AgentManaged76;
|
|
4637
|
+
created_at: string;
|
|
4638
|
+
environment_id?: string;
|
|
4639
|
+
metadata: Types.AgentManaged173;
|
|
4640
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
4641
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4642
|
+
stats: Types.AgentManaged178;
|
|
4643
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4644
|
+
title: null | string;
|
|
4645
|
+
type: "session";
|
|
4646
|
+
updated_at: string;
|
|
4647
|
+
usage: Types.AgentManaged179;
|
|
4648
|
+
vault_ids: Array<string>;
|
|
4649
|
+
deployment_id?: null | string;
|
|
4650
|
+
cwd: string;
|
|
4651
|
+
workspace?: {
|
|
4652
|
+
kind: "shared" | "isolated";
|
|
4653
|
+
path?: string;
|
|
4654
|
+
branch?: string;
|
|
4655
|
+
};
|
|
4656
|
+
computer_id?: string;
|
|
4657
|
+
model?: {
|
|
4658
|
+
id: string;
|
|
4659
|
+
thinking: {
|
|
4660
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4661
|
+
can_disable: boolean;
|
|
4662
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4663
|
+
} | null;
|
|
4664
|
+
};
|
|
4665
|
+
thinking?: {
|
|
4666
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4667
|
+
} | null;
|
|
4668
|
+
forked_from?: {
|
|
4669
|
+
session_id: string;
|
|
4670
|
+
message_id: string;
|
|
4671
|
+
} | null;
|
|
4672
|
+
readonly external_user_id: string | null;
|
|
4673
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
4674
|
+
}>;
|
|
4675
|
+
next_page: string | null;
|
|
4676
|
+
}>;
|
|
4677
|
+
name: {
|
|
4678
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
|
|
4679
|
+
id: string;
|
|
4680
|
+
agent: {
|
|
4681
|
+
id: string;
|
|
4682
|
+
description: null | string;
|
|
4683
|
+
mcp_servers: Array<{
|
|
4684
|
+
type: "url";
|
|
4685
|
+
name: string;
|
|
4686
|
+
url: string;
|
|
4687
|
+
headers?: {
|
|
4688
|
+
[key: string]: string;
|
|
4689
|
+
};
|
|
4690
|
+
timeout_ms?: number;
|
|
4691
|
+
} | {
|
|
4692
|
+
type: "sse";
|
|
4693
|
+
name: string;
|
|
4694
|
+
url: string;
|
|
4695
|
+
headers?: {
|
|
4696
|
+
[key: string]: string;
|
|
4697
|
+
};
|
|
4698
|
+
timeout_ms?: number;
|
|
4699
|
+
} | {
|
|
4700
|
+
type: "stdio";
|
|
4701
|
+
name: string;
|
|
4702
|
+
command: string;
|
|
4703
|
+
args?: Array<string>;
|
|
4704
|
+
env?: {
|
|
4705
|
+
[key: string]: string;
|
|
4706
|
+
};
|
|
4707
|
+
timeout_ms?: number;
|
|
4708
|
+
}>;
|
|
4709
|
+
model: {
|
|
4710
|
+
id: string;
|
|
4711
|
+
effort?: {
|
|
4712
|
+
type: "low";
|
|
4713
|
+
} | {
|
|
4714
|
+
type: "medium";
|
|
4715
|
+
} | {
|
|
4716
|
+
type: "high";
|
|
4717
|
+
} | {
|
|
4718
|
+
type: "xhigh";
|
|
4719
|
+
} | {
|
|
4720
|
+
type: "max";
|
|
4721
|
+
};
|
|
4722
|
+
inference_geo?: string;
|
|
4723
|
+
speed?: "standard" | "fast";
|
|
4724
|
+
settings?: {
|
|
4725
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4726
|
+
max_output_tokens?: number;
|
|
4727
|
+
};
|
|
4728
|
+
};
|
|
4729
|
+
multiagent: null | {
|
|
4730
|
+
agents: Array<{
|
|
4731
|
+
model: string;
|
|
4732
|
+
type: "advisor";
|
|
4733
|
+
} | {
|
|
4734
|
+
id: string;
|
|
4735
|
+
description: null | string;
|
|
4736
|
+
mcp_servers: Array<{
|
|
4737
|
+
type: "url";
|
|
4738
|
+
name: string;
|
|
4739
|
+
url: string;
|
|
4740
|
+
headers?: {
|
|
4741
|
+
[key: string]: string;
|
|
4742
|
+
};
|
|
4743
|
+
timeout_ms?: number;
|
|
4744
|
+
} | {
|
|
4745
|
+
type: "sse";
|
|
4746
|
+
name: string;
|
|
4747
|
+
url: string;
|
|
4748
|
+
headers?: {
|
|
4749
|
+
[key: string]: string;
|
|
4750
|
+
};
|
|
4751
|
+
timeout_ms?: number;
|
|
4752
|
+
} | {
|
|
4753
|
+
type: "stdio";
|
|
4754
|
+
name: string;
|
|
4755
|
+
command: string;
|
|
4756
|
+
args?: Array<string>;
|
|
4757
|
+
env?: {
|
|
4758
|
+
[key: string]: string;
|
|
4759
|
+
};
|
|
4760
|
+
timeout_ms?: number;
|
|
4761
|
+
}>;
|
|
4762
|
+
model: {
|
|
4763
|
+
id: string;
|
|
4764
|
+
effort?: {
|
|
4765
|
+
type: "low";
|
|
4766
|
+
} | {
|
|
4767
|
+
type: "medium";
|
|
4768
|
+
} | {
|
|
4769
|
+
type: "high";
|
|
4770
|
+
} | {
|
|
4771
|
+
type: "xhigh";
|
|
4772
|
+
} | {
|
|
4773
|
+
type: "max";
|
|
4774
|
+
};
|
|
4775
|
+
inference_geo?: string;
|
|
4776
|
+
speed?: "standard" | "fast";
|
|
4777
|
+
};
|
|
4778
|
+
name: string;
|
|
4779
|
+
skills: Array<{
|
|
4780
|
+
skill_id: string;
|
|
4781
|
+
type: "anthropic";
|
|
4782
|
+
version: string;
|
|
4783
|
+
} | {
|
|
4784
|
+
skill_id: string;
|
|
4785
|
+
type: "custom";
|
|
4786
|
+
version: string;
|
|
4787
|
+
}>;
|
|
4788
|
+
system: null | string;
|
|
4789
|
+
tools: Array<{
|
|
4790
|
+
configs: Array<{
|
|
4791
|
+
enabled: boolean;
|
|
4792
|
+
name: "bash";
|
|
4793
|
+
permission_policy: {
|
|
4794
|
+
type: "always_allow";
|
|
4795
|
+
} | {
|
|
4796
|
+
type: "always_ask";
|
|
4797
|
+
} | {
|
|
4798
|
+
type: "auto";
|
|
4799
|
+
};
|
|
4800
|
+
type: "bash";
|
|
4801
|
+
} | {
|
|
4802
|
+
enabled: boolean;
|
|
4803
|
+
name: "edit";
|
|
4804
|
+
permission_policy: {
|
|
4805
|
+
type: "always_allow";
|
|
4806
|
+
} | {
|
|
4807
|
+
type: "always_ask";
|
|
4808
|
+
} | {
|
|
4809
|
+
type: "auto";
|
|
4810
|
+
};
|
|
4811
|
+
type: "edit";
|
|
4812
|
+
} | {
|
|
4813
|
+
enabled: boolean;
|
|
4814
|
+
name: "read";
|
|
4815
|
+
permission_policy: {
|
|
4816
|
+
type: "always_allow";
|
|
4817
|
+
} | {
|
|
4818
|
+
type: "always_ask";
|
|
4819
|
+
} | {
|
|
4820
|
+
type: "auto";
|
|
4821
|
+
};
|
|
4822
|
+
type: "read";
|
|
4823
|
+
} | {
|
|
4824
|
+
enabled: boolean;
|
|
4825
|
+
name: "write";
|
|
4826
|
+
permission_policy: {
|
|
4827
|
+
type: "always_allow";
|
|
4828
|
+
} | {
|
|
4829
|
+
type: "always_ask";
|
|
4830
|
+
} | {
|
|
4831
|
+
type: "auto";
|
|
4832
|
+
};
|
|
4833
|
+
type: "write";
|
|
4834
|
+
} | {
|
|
4835
|
+
enabled: boolean;
|
|
4836
|
+
name: "glob";
|
|
4837
|
+
permission_policy: {
|
|
4838
|
+
type: "always_allow";
|
|
4839
|
+
} | {
|
|
4840
|
+
type: "always_ask";
|
|
4841
|
+
} | {
|
|
4842
|
+
type: "auto";
|
|
4843
|
+
};
|
|
4844
|
+
type: "glob";
|
|
4845
|
+
} | {
|
|
4846
|
+
enabled: boolean;
|
|
4847
|
+
name: "grep";
|
|
4848
|
+
permission_policy: {
|
|
4849
|
+
type: "always_allow";
|
|
4850
|
+
} | {
|
|
4851
|
+
type: "always_ask";
|
|
4852
|
+
} | {
|
|
4853
|
+
type: "auto";
|
|
4854
|
+
};
|
|
4855
|
+
type: "grep";
|
|
4856
|
+
} | {
|
|
4857
|
+
enabled: boolean;
|
|
4858
|
+
name: "web_fetch";
|
|
4859
|
+
permission_policy: {
|
|
4860
|
+
type: "always_allow";
|
|
4861
|
+
} | {
|
|
4862
|
+
type: "always_ask";
|
|
4863
|
+
} | {
|
|
4864
|
+
type: "auto";
|
|
4865
|
+
};
|
|
4866
|
+
type: "web_fetch";
|
|
4867
|
+
allowed_domains?: Array<string>;
|
|
4868
|
+
blocked_domains?: Array<string>;
|
|
4869
|
+
max_content_tokens?: null | number;
|
|
4870
|
+
} | {
|
|
4871
|
+
enabled: boolean;
|
|
4872
|
+
name: "web_search";
|
|
4873
|
+
permission_policy: {
|
|
4874
|
+
type: "always_allow";
|
|
4875
|
+
} | {
|
|
4876
|
+
type: "always_ask";
|
|
4877
|
+
} | {
|
|
4878
|
+
type: "auto";
|
|
4879
|
+
};
|
|
4880
|
+
type: "web_search";
|
|
4881
|
+
allowed_domains?: Array<string>;
|
|
4882
|
+
blocked_domains?: Array<string>;
|
|
4883
|
+
user_location?: null | {
|
|
4884
|
+
type: "approximate";
|
|
4885
|
+
city?: null | string;
|
|
4886
|
+
country?: null | string;
|
|
4887
|
+
region?: null | string;
|
|
4888
|
+
timezone?: null | string;
|
|
4889
|
+
};
|
|
4890
|
+
} | {
|
|
4891
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
4892
|
+
enabled: boolean;
|
|
4893
|
+
permission_policy: {
|
|
4894
|
+
type: "always_allow" | "always_ask";
|
|
4895
|
+
};
|
|
4896
|
+
}>;
|
|
4897
|
+
default_config: {
|
|
4898
|
+
enabled: boolean;
|
|
4899
|
+
permission_policy: {
|
|
4900
|
+
type: "always_allow";
|
|
4901
|
+
} | {
|
|
4902
|
+
type: "always_ask";
|
|
4903
|
+
} | {
|
|
4904
|
+
type: "auto";
|
|
4905
|
+
};
|
|
4906
|
+
};
|
|
4907
|
+
type: "agent_toolset_20260401";
|
|
4908
|
+
} | {
|
|
4909
|
+
type: "mcp_toolset";
|
|
4910
|
+
mcp_server_name: string;
|
|
4911
|
+
default_config?: {
|
|
4912
|
+
enabled?: boolean | null;
|
|
4913
|
+
permission_policy?: null | {
|
|
4914
|
+
type: "always_allow" | "always_ask";
|
|
4915
|
+
};
|
|
4916
|
+
} | null;
|
|
4917
|
+
configs?: Array<{
|
|
4918
|
+
name: string;
|
|
4919
|
+
enabled?: boolean | null;
|
|
4920
|
+
permission_policy?: null | {
|
|
4921
|
+
type: "always_allow" | "always_ask";
|
|
4922
|
+
};
|
|
4923
|
+
}> | null;
|
|
4924
|
+
} | {
|
|
4925
|
+
description: string;
|
|
4926
|
+
input_schema: {
|
|
4927
|
+
type: "object";
|
|
4928
|
+
properties?: null | {
|
|
4929
|
+
[key: string]: unknown;
|
|
4930
|
+
};
|
|
4931
|
+
required?: null | Array<string>;
|
|
4932
|
+
[key: string]: unknown;
|
|
4933
|
+
};
|
|
4934
|
+
name: string;
|
|
4935
|
+
type: "custom";
|
|
4936
|
+
}>;
|
|
4937
|
+
type: "agent";
|
|
4938
|
+
version: number;
|
|
4939
|
+
}>;
|
|
4940
|
+
type: "coordinator";
|
|
4941
|
+
};
|
|
4942
|
+
name: string;
|
|
4943
|
+
skills: Array<{
|
|
4944
|
+
skill_id: string;
|
|
4945
|
+
type: "anthropic";
|
|
4946
|
+
version: string;
|
|
4947
|
+
} | {
|
|
4948
|
+
skill_id: string;
|
|
4949
|
+
type: "custom";
|
|
4950
|
+
version: string;
|
|
4951
|
+
}>;
|
|
4952
|
+
system: null | string;
|
|
4953
|
+
tools: Array<{
|
|
4954
|
+
configs: Array<{
|
|
4955
|
+
enabled: boolean;
|
|
4956
|
+
name: "bash";
|
|
4957
|
+
permission_policy: {
|
|
4958
|
+
type: "always_allow";
|
|
4959
|
+
} | {
|
|
4960
|
+
type: "always_ask";
|
|
4961
|
+
} | {
|
|
4962
|
+
type: "auto";
|
|
4963
|
+
};
|
|
4964
|
+
type: "bash";
|
|
4965
|
+
} | {
|
|
4966
|
+
enabled: boolean;
|
|
4967
|
+
name: "edit";
|
|
4968
|
+
permission_policy: {
|
|
4969
|
+
type: "always_allow";
|
|
4970
|
+
} | {
|
|
4971
|
+
type: "always_ask";
|
|
4972
|
+
} | {
|
|
4973
|
+
type: "auto";
|
|
4974
|
+
};
|
|
4975
|
+
type: "edit";
|
|
4976
|
+
} | {
|
|
4977
|
+
enabled: boolean;
|
|
4978
|
+
name: "read";
|
|
4979
|
+
permission_policy: {
|
|
4980
|
+
type: "always_allow";
|
|
4981
|
+
} | {
|
|
4982
|
+
type: "always_ask";
|
|
4983
|
+
} | {
|
|
4984
|
+
type: "auto";
|
|
4985
|
+
};
|
|
4986
|
+
type: "read";
|
|
4987
|
+
} | {
|
|
4988
|
+
enabled: boolean;
|
|
4989
|
+
name: "write";
|
|
4990
|
+
permission_policy: {
|
|
4991
|
+
type: "always_allow";
|
|
4992
|
+
} | {
|
|
4993
|
+
type: "always_ask";
|
|
4994
|
+
} | {
|
|
4995
|
+
type: "auto";
|
|
4996
|
+
};
|
|
4997
|
+
type: "write";
|
|
4998
|
+
} | {
|
|
4999
|
+
enabled: boolean;
|
|
5000
|
+
name: "glob";
|
|
5001
|
+
permission_policy: {
|
|
5002
|
+
type: "always_allow";
|
|
5003
|
+
} | {
|
|
5004
|
+
type: "always_ask";
|
|
5005
|
+
} | {
|
|
5006
|
+
type: "auto";
|
|
5007
|
+
};
|
|
5008
|
+
type: "glob";
|
|
5009
|
+
} | {
|
|
5010
|
+
enabled: boolean;
|
|
5011
|
+
name: "grep";
|
|
5012
|
+
permission_policy: {
|
|
5013
|
+
type: "always_allow";
|
|
5014
|
+
} | {
|
|
5015
|
+
type: "always_ask";
|
|
5016
|
+
} | {
|
|
5017
|
+
type: "auto";
|
|
5018
|
+
};
|
|
5019
|
+
type: "grep";
|
|
5020
|
+
} | {
|
|
5021
|
+
enabled: boolean;
|
|
5022
|
+
name: "web_fetch";
|
|
5023
|
+
permission_policy: {
|
|
5024
|
+
type: "always_allow";
|
|
5025
|
+
} | {
|
|
5026
|
+
type: "always_ask";
|
|
5027
|
+
} | {
|
|
5028
|
+
type: "auto";
|
|
5029
|
+
};
|
|
5030
|
+
type: "web_fetch";
|
|
5031
|
+
allowed_domains?: Array<string>;
|
|
5032
|
+
blocked_domains?: Array<string>;
|
|
5033
|
+
max_content_tokens?: null | number;
|
|
5034
|
+
} | {
|
|
5035
|
+
enabled: boolean;
|
|
5036
|
+
name: "web_search";
|
|
5037
|
+
permission_policy: {
|
|
5038
|
+
type: "always_allow";
|
|
5039
|
+
} | {
|
|
5040
|
+
type: "always_ask";
|
|
5041
|
+
} | {
|
|
5042
|
+
type: "auto";
|
|
5043
|
+
};
|
|
5044
|
+
type: "web_search";
|
|
5045
|
+
allowed_domains?: Array<string>;
|
|
5046
|
+
blocked_domains?: Array<string>;
|
|
5047
|
+
user_location?: null | {
|
|
5048
|
+
type: "approximate";
|
|
5049
|
+
city?: null | string;
|
|
5050
|
+
country?: null | string;
|
|
5051
|
+
region?: null | string;
|
|
5052
|
+
timezone?: null | string;
|
|
5053
|
+
};
|
|
5054
|
+
} | {
|
|
5055
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
5056
|
+
enabled: boolean;
|
|
5057
|
+
permission_policy: {
|
|
5058
|
+
type: "always_allow" | "always_ask";
|
|
5059
|
+
};
|
|
5060
|
+
}>;
|
|
5061
|
+
default_config: {
|
|
5062
|
+
enabled: boolean;
|
|
5063
|
+
permission_policy: {
|
|
5064
|
+
type: "always_allow";
|
|
5065
|
+
} | {
|
|
5066
|
+
type: "always_ask";
|
|
5067
|
+
} | {
|
|
5068
|
+
type: "auto";
|
|
5069
|
+
};
|
|
5070
|
+
};
|
|
5071
|
+
type: "agent_toolset_20260401";
|
|
5072
|
+
} | {
|
|
5073
|
+
type: "mcp_toolset";
|
|
5074
|
+
mcp_server_name: string;
|
|
5075
|
+
default_config?: {
|
|
5076
|
+
enabled?: boolean | null;
|
|
5077
|
+
permission_policy?: null | {
|
|
5078
|
+
type: "always_allow" | "always_ask";
|
|
5079
|
+
};
|
|
5080
|
+
} | null;
|
|
5081
|
+
configs?: Array<{
|
|
5082
|
+
name: string;
|
|
5083
|
+
enabled?: boolean | null;
|
|
5084
|
+
permission_policy?: null | {
|
|
5085
|
+
type: "always_allow" | "always_ask";
|
|
5086
|
+
};
|
|
5087
|
+
}> | null;
|
|
5088
|
+
} | {
|
|
5089
|
+
description: string;
|
|
5090
|
+
input_schema: {
|
|
5091
|
+
type: "object";
|
|
5092
|
+
properties?: null | {
|
|
5093
|
+
[key: string]: unknown;
|
|
5094
|
+
};
|
|
5095
|
+
required?: null | Array<string>;
|
|
5096
|
+
[key: string]: unknown;
|
|
5097
|
+
};
|
|
5098
|
+
name: string;
|
|
5099
|
+
type: "custom";
|
|
5100
|
+
}>;
|
|
5101
|
+
type: "agent";
|
|
5102
|
+
version: number;
|
|
5103
|
+
};
|
|
5104
|
+
archived_at: null | string;
|
|
5105
|
+
budget: null | {
|
|
5106
|
+
max_list_cost: {
|
|
5107
|
+
amount: string;
|
|
5108
|
+
currency: "USD";
|
|
5109
|
+
};
|
|
5110
|
+
type: "limit";
|
|
5111
|
+
};
|
|
3423
5112
|
created_at: string;
|
|
3424
5113
|
environment_id?: string;
|
|
3425
|
-
metadata:
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
5114
|
+
metadata: {
|
|
5115
|
+
[key: string]: string;
|
|
5116
|
+
};
|
|
5117
|
+
outcome_evaluations: Array<{
|
|
5118
|
+
completed_at: null | string;
|
|
5119
|
+
description: string;
|
|
5120
|
+
explanation: null | string;
|
|
5121
|
+
iteration: number;
|
|
5122
|
+
outcome_id: string;
|
|
5123
|
+
result: string;
|
|
5124
|
+
type: "outcome_evaluation";
|
|
5125
|
+
}>;
|
|
5126
|
+
resources: Array<{
|
|
5127
|
+
id: string;
|
|
5128
|
+
created_at: string;
|
|
5129
|
+
mount_path: string;
|
|
5130
|
+
type: "github_repository";
|
|
5131
|
+
updated_at: string;
|
|
5132
|
+
url: string;
|
|
5133
|
+
checkout?: null | {
|
|
5134
|
+
name: string;
|
|
5135
|
+
type: "branch";
|
|
5136
|
+
} | {
|
|
5137
|
+
sha: string;
|
|
5138
|
+
type: "commit";
|
|
5139
|
+
};
|
|
5140
|
+
} | {
|
|
5141
|
+
id: string;
|
|
5142
|
+
created_at: string;
|
|
5143
|
+
file_id: string;
|
|
5144
|
+
mount_path: string;
|
|
5145
|
+
type: "file";
|
|
5146
|
+
updated_at: string;
|
|
5147
|
+
} | {
|
|
5148
|
+
memory_store_id: string;
|
|
5149
|
+
type: "memory_store";
|
|
5150
|
+
access?: null | "read_write" | "read_only";
|
|
5151
|
+
description?: string;
|
|
5152
|
+
instructions?: null | string;
|
|
5153
|
+
mount_path?: null | string;
|
|
5154
|
+
name?: null | string;
|
|
5155
|
+
}>;
|
|
5156
|
+
stats: {
|
|
5157
|
+
active_seconds?: number;
|
|
5158
|
+
duration_seconds?: number;
|
|
5159
|
+
};
|
|
3429
5160
|
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3430
5161
|
title: null | string;
|
|
3431
5162
|
type: "session";
|
|
3432
5163
|
updated_at: string;
|
|
3433
|
-
usage:
|
|
5164
|
+
usage: {
|
|
5165
|
+
active_seconds?: number;
|
|
5166
|
+
cache_creation?: {
|
|
5167
|
+
ephemeral_1h_input_tokens?: number;
|
|
5168
|
+
ephemeral_5m_input_tokens?: number;
|
|
5169
|
+
};
|
|
5170
|
+
cache_read_input_tokens?: number;
|
|
5171
|
+
input_tokens?: number;
|
|
5172
|
+
list_cost?: null | {
|
|
5173
|
+
amount: string;
|
|
5174
|
+
currency: "USD";
|
|
5175
|
+
};
|
|
5176
|
+
output_tokens?: number;
|
|
5177
|
+
server_tool_use?: null | {
|
|
5178
|
+
web_fetch_requests?: number;
|
|
5179
|
+
web_search_requests?: number;
|
|
5180
|
+
};
|
|
5181
|
+
cost_by_product?: {
|
|
5182
|
+
[key: string]: string;
|
|
5183
|
+
};
|
|
5184
|
+
subagent_cost_micro_usd?: number;
|
|
5185
|
+
};
|
|
3434
5186
|
vault_ids: Array<string>;
|
|
3435
5187
|
deployment_id?: null | string;
|
|
3436
5188
|
cwd: string;
|
|
5189
|
+
workspace?: {
|
|
5190
|
+
kind: "shared" | "isolated";
|
|
5191
|
+
path?: string;
|
|
5192
|
+
branch?: string;
|
|
5193
|
+
};
|
|
3437
5194
|
computer_id?: string;
|
|
3438
5195
|
model?: {
|
|
3439
5196
|
id: string;
|
|
@@ -3453,8 +5210,21 @@ export declare function createAgent(transport: Transport): {
|
|
|
3453
5210
|
readonly external_user_id: string | null;
|
|
3454
5211
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3455
5212
|
}>;
|
|
3456
|
-
|
|
3457
|
-
|
|
5213
|
+
};
|
|
5214
|
+
requests: {
|
|
5215
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
|
|
5216
|
+
data: Array<{
|
|
5217
|
+
id: string;
|
|
5218
|
+
object: "request";
|
|
5219
|
+
kind: "question" | "approval";
|
|
5220
|
+
status: "pending";
|
|
5221
|
+
tool_name: string;
|
|
5222
|
+
input: unknown;
|
|
5223
|
+
create_time: string;
|
|
5224
|
+
expire_time: string | null;
|
|
5225
|
+
}>;
|
|
5226
|
+
}>;
|
|
5227
|
+
};
|
|
3458
5228
|
resources: {
|
|
3459
5229
|
create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
|
|
3460
5230
|
delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
|
|
@@ -3485,6 +5255,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3485
5255
|
speed?: "standard" | "fast";
|
|
3486
5256
|
settings?: {
|
|
3487
5257
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
5258
|
+
max_output_tokens?: number;
|
|
3488
5259
|
};
|
|
3489
5260
|
};
|
|
3490
5261
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3511,6 +5282,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3511
5282
|
vault_ids: Array<string>;
|
|
3512
5283
|
deployment_id?: null | string;
|
|
3513
5284
|
cwd: string;
|
|
5285
|
+
workspace?: {
|
|
5286
|
+
kind: "shared" | "isolated";
|
|
5287
|
+
path?: string;
|
|
5288
|
+
branch?: string;
|
|
5289
|
+
};
|
|
3514
5290
|
computer_id?: string;
|
|
3515
5291
|
model?: {
|
|
3516
5292
|
id: string;
|
|
@@ -3657,7 +5433,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3657
5433
|
run_id: string | null;
|
|
3658
5434
|
message_id?: string;
|
|
3659
5435
|
} | {
|
|
3660
|
-
full_access_available?: boolean;
|
|
3661
5436
|
id: string;
|
|
3662
5437
|
input: Types.AgentManaged197;
|
|
3663
5438
|
mcp_server_name: string;
|
|
@@ -3667,6 +5442,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
3667
5442
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3668
5443
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3669
5444
|
session_thread_id?: null | string;
|
|
5445
|
+
permission_suggestions?: Array<{
|
|
5446
|
+
type: "add_rules";
|
|
5447
|
+
behavior: "allow";
|
|
5448
|
+
destination: "agent" | "session";
|
|
5449
|
+
rules: Array<{
|
|
5450
|
+
tool_name: string;
|
|
5451
|
+
rule_content: string;
|
|
5452
|
+
}>;
|
|
5453
|
+
}>;
|
|
5454
|
+
full_access_available?: boolean;
|
|
5455
|
+
user_once?: true;
|
|
5456
|
+
guarded_rule?: string;
|
|
3670
5457
|
run_id: string | null;
|
|
3671
5458
|
parent_tool_use_id?: string;
|
|
3672
5459
|
_meta?: {
|
|
@@ -3680,17 +5467,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3680
5467
|
};
|
|
3681
5468
|
};
|
|
3682
5469
|
source?: "app" | "codemode";
|
|
3683
|
-
user_once?: true;
|
|
3684
|
-
guarded_rule?: string;
|
|
3685
|
-
permission_suggestions?: Array<{
|
|
3686
|
-
type: "add_rules";
|
|
3687
|
-
behavior: "allow";
|
|
3688
|
-
destination: "agent" | "session";
|
|
3689
|
-
rules: Array<{
|
|
3690
|
-
tool_name: string;
|
|
3691
|
-
rule_content: string;
|
|
3692
|
-
}>;
|
|
3693
|
-
}>;
|
|
3694
5470
|
title?: string;
|
|
3695
5471
|
input_titles?: {
|
|
3696
5472
|
[key: string]: string;
|
|
@@ -3709,7 +5485,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3709
5485
|
};
|
|
3710
5486
|
source?: "app" | "codemode";
|
|
3711
5487
|
} | {
|
|
3712
|
-
full_access_available?: boolean;
|
|
3713
5488
|
id: string;
|
|
3714
5489
|
input: Types.AgentManaged206;
|
|
3715
5490
|
name: string;
|
|
@@ -3718,9 +5493,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3718
5493
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3719
5494
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3720
5495
|
session_thread_id?: null | string;
|
|
3721
|
-
run_id: string | null;
|
|
3722
|
-
user_once?: true;
|
|
3723
|
-
guarded_rule?: string;
|
|
3724
5496
|
permission_suggestions?: Array<{
|
|
3725
5497
|
type: "add_rules";
|
|
3726
5498
|
behavior: "allow";
|
|
@@ -3730,6 +5502,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3730
5502
|
rule_content: string;
|
|
3731
5503
|
}>;
|
|
3732
5504
|
}>;
|
|
5505
|
+
full_access_available?: boolean;
|
|
5506
|
+
user_once?: true;
|
|
5507
|
+
guarded_rule?: string;
|
|
5508
|
+
run_id: string | null;
|
|
3733
5509
|
} | {
|
|
3734
5510
|
id: string;
|
|
3735
5511
|
processed_at: string;
|
|
@@ -3750,9 +5526,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3750
5526
|
type: "session.status_idle";
|
|
3751
5527
|
run_id: string | null;
|
|
3752
5528
|
} | 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 | {
|
|
3753
|
-
permission_mode_version?: number;
|
|
3754
|
-
previous_permission_mode?: string | null;
|
|
3755
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3756
5529
|
id: string;
|
|
3757
5530
|
processed_at: string;
|
|
3758
5531
|
type: "session.updated";
|
|
@@ -3760,6 +5533,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3760
5533
|
budget?: null | Types.AgentManaged76;
|
|
3761
5534
|
metadata?: Types.AgentManaged246;
|
|
3762
5535
|
title?: null | string;
|
|
5536
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
5537
|
+
previous_permission_mode?: string | null;
|
|
5538
|
+
permission_mode_version?: number;
|
|
3763
5539
|
model?: {
|
|
3764
5540
|
id: string;
|
|
3765
5541
|
};
|
|
@@ -3818,6 +5594,166 @@ export declare function createAgent(transport: Transport): {
|
|
|
3818
5594
|
type: "user.steer";
|
|
3819
5595
|
event_id: string;
|
|
3820
5596
|
processed_at: string;
|
|
5597
|
+
} | {
|
|
5598
|
+
id: string;
|
|
5599
|
+
type: "cognition.surfaced";
|
|
5600
|
+
processed_at: string;
|
|
5601
|
+
worker_session_id: string;
|
|
5602
|
+
name: string;
|
|
5603
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
5604
|
+
experience_id?: string;
|
|
5605
|
+
result?: {
|
|
5606
|
+
message?: string;
|
|
5607
|
+
links?: Array<string>;
|
|
5608
|
+
files?: Array<{
|
|
5609
|
+
name?: string;
|
|
5610
|
+
href?: string;
|
|
5611
|
+
}>;
|
|
5612
|
+
held?: Array<{
|
|
5613
|
+
id?: string;
|
|
5614
|
+
summary?: string;
|
|
5615
|
+
effect?: string;
|
|
5616
|
+
method?: string;
|
|
5617
|
+
path?: string;
|
|
5618
|
+
expires_at?: string;
|
|
5619
|
+
}>;
|
|
5620
|
+
};
|
|
5621
|
+
} | {
|
|
5622
|
+
id: string;
|
|
5623
|
+
type: "cognition.intention_woken";
|
|
5624
|
+
processed_at: string;
|
|
5625
|
+
node_id: string;
|
|
5626
|
+
reason: "open_engram" | "assignment";
|
|
5627
|
+
} | {
|
|
5628
|
+
id: string;
|
|
5629
|
+
type: "agent.operation_approval_requested";
|
|
5630
|
+
processed_at: string;
|
|
5631
|
+
approval_id: string;
|
|
5632
|
+
operation_id: string;
|
|
5633
|
+
effect: "outward" | "irreversible";
|
|
5634
|
+
method: string;
|
|
5635
|
+
path: string;
|
|
5636
|
+
summary: string;
|
|
5637
|
+
expires_at: string;
|
|
5638
|
+
worker_session_id?: string;
|
|
5639
|
+
worker_name?: string;
|
|
5640
|
+
} | {
|
|
5641
|
+
id: string;
|
|
5642
|
+
type: "agent.operation_approval_decided";
|
|
5643
|
+
processed_at: string;
|
|
5644
|
+
approval_id: string;
|
|
5645
|
+
status: "approved" | "refused" | "expired";
|
|
5646
|
+
} | {
|
|
5647
|
+
id: string;
|
|
5648
|
+
type: "session.prompt_configuration_mismatch";
|
|
5649
|
+
processed_at: string;
|
|
5650
|
+
pinned_revision_id: string;
|
|
5651
|
+
current_revision_id: string;
|
|
5652
|
+
} | {
|
|
5653
|
+
id: string;
|
|
5654
|
+
type: "session.prompt_rev_changed";
|
|
5655
|
+
processed_at: string;
|
|
5656
|
+
config_revision_id: string;
|
|
5657
|
+
changed: Array<{
|
|
5658
|
+
name: string;
|
|
5659
|
+
rev: string | null;
|
|
5660
|
+
}>;
|
|
5661
|
+
} | {
|
|
5662
|
+
id: string;
|
|
5663
|
+
type: "session.computer_tier";
|
|
5664
|
+
processed_at: string;
|
|
5665
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
5666
|
+
tier: "light" | "heavy";
|
|
5667
|
+
duration_ms: number;
|
|
5668
|
+
error_code?: string;
|
|
5669
|
+
status?: {
|
|
5670
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
5671
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
5672
|
+
percent?: number;
|
|
5673
|
+
files_done?: number;
|
|
5674
|
+
files_total?: number;
|
|
5675
|
+
idle_release_at?: number;
|
|
5676
|
+
retry_at?: number;
|
|
5677
|
+
epoch?: number;
|
|
5678
|
+
heavy_instance?: string | null;
|
|
5679
|
+
heavy_paused?: boolean;
|
|
5680
|
+
};
|
|
5681
|
+
} | {
|
|
5682
|
+
id: string;
|
|
5683
|
+
type: "agent.artifact_delivered";
|
|
5684
|
+
processed_at: string;
|
|
5685
|
+
artifact: {
|
|
5686
|
+
object: "artifact";
|
|
5687
|
+
id: string;
|
|
5688
|
+
session_id: string;
|
|
5689
|
+
run_id: string | null;
|
|
5690
|
+
name: string;
|
|
5691
|
+
version: number;
|
|
5692
|
+
parts: Array<{
|
|
5693
|
+
[key: string]: unknown;
|
|
5694
|
+
}>;
|
|
5695
|
+
source_hrefs: Array<string>;
|
|
5696
|
+
create_time: string;
|
|
5697
|
+
update_time: string;
|
|
5698
|
+
};
|
|
5699
|
+
} | {
|
|
5700
|
+
id: string;
|
|
5701
|
+
type: "agent.image_generation";
|
|
5702
|
+
processed_at: string;
|
|
5703
|
+
tool_use_id: string;
|
|
5704
|
+
index: number;
|
|
5705
|
+
total: number;
|
|
5706
|
+
status: string;
|
|
5707
|
+
mode?: string;
|
|
5708
|
+
aspect?: string;
|
|
5709
|
+
prompt?: string;
|
|
5710
|
+
model?: string;
|
|
5711
|
+
file_id?: string;
|
|
5712
|
+
label?: string;
|
|
5713
|
+
width?: number;
|
|
5714
|
+
height?: number;
|
|
5715
|
+
revised_prompt?: string;
|
|
5716
|
+
source_labels?: Array<string>;
|
|
5717
|
+
caption?: string;
|
|
5718
|
+
slot?: number | null;
|
|
5719
|
+
replaces?: string;
|
|
5720
|
+
version?: number;
|
|
5721
|
+
failure?: {
|
|
5722
|
+
reason?: string;
|
|
5723
|
+
};
|
|
5724
|
+
} | {
|
|
5725
|
+
id: string;
|
|
5726
|
+
type: "session.image_labeled";
|
|
5727
|
+
processed_at: string;
|
|
5728
|
+
label: string;
|
|
5729
|
+
file_id: string;
|
|
5730
|
+
origin: "generated" | "uploaded";
|
|
5731
|
+
filename: string;
|
|
5732
|
+
tool_use_id?: string;
|
|
5733
|
+
version?: number;
|
|
5734
|
+
replaced_file_id?: string;
|
|
5735
|
+
} | {
|
|
5736
|
+
id: string;
|
|
5737
|
+
type: "session.image_set_planned";
|
|
5738
|
+
processed_at: string;
|
|
5739
|
+
tool_use_id: string;
|
|
5740
|
+
items: Array<unknown>;
|
|
5741
|
+
title?: string;
|
|
5742
|
+
} | {
|
|
5743
|
+
id: string;
|
|
5744
|
+
type: "session.project_attached";
|
|
5745
|
+
processed_at: string;
|
|
5746
|
+
project: {
|
|
5747
|
+
id: string;
|
|
5748
|
+
name: string;
|
|
5749
|
+
path: string;
|
|
5750
|
+
};
|
|
5751
|
+
} | {
|
|
5752
|
+
id: string;
|
|
5753
|
+
type: "session.project_detached";
|
|
5754
|
+
processed_at: string;
|
|
5755
|
+
project_id: string;
|
|
5756
|
+
reason?: "project_removed";
|
|
3821
5757
|
}>;
|
|
3822
5758
|
next_page: string | null;
|
|
3823
5759
|
}>;
|
|
@@ -3850,6 +5786,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3850
5786
|
speed?: "standard" | "fast";
|
|
3851
5787
|
settings?: {
|
|
3852
5788
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
5789
|
+
max_output_tokens?: number;
|
|
3853
5790
|
};
|
|
3854
5791
|
};
|
|
3855
5792
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3876,6 +5813,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3876
5813
|
vault_ids: Array<string>;
|
|
3877
5814
|
deployment_id?: null | string;
|
|
3878
5815
|
cwd: string;
|
|
5816
|
+
workspace?: {
|
|
5817
|
+
kind: "shared" | "isolated";
|
|
5818
|
+
path?: string;
|
|
5819
|
+
branch?: string;
|
|
5820
|
+
};
|
|
3879
5821
|
computer_id?: string;
|
|
3880
5822
|
model?: {
|
|
3881
5823
|
id: string;
|
|
@@ -3940,6 +5882,29 @@ export declare function createAgent(transport: Transport): {
|
|
|
3940
5882
|
next_page: null;
|
|
3941
5883
|
}>;
|
|
3942
5884
|
};
|
|
5885
|
+
uploads: {
|
|
5886
|
+
contentUrl: {
|
|
5887
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
|
|
5888
|
+
url: string;
|
|
5889
|
+
expires_at: string;
|
|
5890
|
+
}>;
|
|
5891
|
+
};
|
|
5892
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
|
|
5893
|
+
upload_id: string;
|
|
5894
|
+
expires_at: string;
|
|
5895
|
+
url: string;
|
|
5896
|
+
} | {
|
|
5897
|
+
upload_id: string;
|
|
5898
|
+
expires_at: string;
|
|
5899
|
+
part_size: number;
|
|
5900
|
+
parts: Array<{
|
|
5901
|
+
part_number: number;
|
|
5902
|
+
url: string;
|
|
5903
|
+
}>;
|
|
5904
|
+
complete_url: string;
|
|
5905
|
+
status_url: string;
|
|
5906
|
+
}>;
|
|
5907
|
+
};
|
|
3943
5908
|
};
|
|
3944
5909
|
export declare function createApplication(transport: Transport): {
|
|
3945
5910
|
assets: {
|
|
@@ -4204,6 +6169,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
4204
6169
|
};
|
|
4205
6170
|
};
|
|
4206
6171
|
};
|
|
6172
|
+
export declare function createBilling(transport: Transport): {
|
|
6173
|
+
prices: {
|
|
6174
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
|
|
6175
|
+
};
|
|
6176
|
+
};
|
|
4207
6177
|
export declare function createBrowser(transport: Transport): {
|
|
4208
6178
|
connect: {
|
|
4209
6179
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -4263,6 +6233,11 @@ export declare function createBrowser(transport: Transport): {
|
|
|
4263
6233
|
type: "evaluate";
|
|
4264
6234
|
tab: string;
|
|
4265
6235
|
value: unknown;
|
|
6236
|
+
} | {
|
|
6237
|
+
type: "set_cookie";
|
|
6238
|
+
tab: string;
|
|
6239
|
+
name: string;
|
|
6240
|
+
domain: string;
|
|
4266
6241
|
}>;
|
|
4267
6242
|
};
|
|
4268
6243
|
create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
|
|
@@ -4320,6 +6295,24 @@ export declare function createCanvas(transport: Transport): {
|
|
|
4320
6295
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4321
6296
|
};
|
|
4322
6297
|
};
|
|
6298
|
+
export declare function createContent(transport: Transport): {
|
|
6299
|
+
contents: {
|
|
6300
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
|
|
6301
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
|
|
6302
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
|
|
6303
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
|
|
6304
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
|
|
6305
|
+
unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
|
|
6306
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
|
|
6307
|
+
};
|
|
6308
|
+
playbackSessions: {
|
|
6309
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
|
|
6310
|
+
};
|
|
6311
|
+
versions: {
|
|
6312
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
|
|
6313
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
|
|
6314
|
+
};
|
|
6315
|
+
};
|
|
4323
6316
|
export declare function createCrm(transport: Transport): {
|
|
4324
6317
|
associations: {
|
|
4325
6318
|
create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
|
|
@@ -4380,6 +6373,32 @@ export declare function createCrm(transport: Transport): {
|
|
|
4380
6373
|
list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
|
|
4381
6374
|
};
|
|
4382
6375
|
};
|
|
6376
|
+
export declare function createCustomer(transport: Transport): {
|
|
6377
|
+
accessTokens: {
|
|
6378
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
|
|
6379
|
+
renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
|
|
6380
|
+
revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
|
|
6381
|
+
};
|
|
6382
|
+
customers: {
|
|
6383
|
+
block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
6384
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
|
|
6385
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
|
|
6386
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
6387
|
+
revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
|
|
6388
|
+
unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
6389
|
+
};
|
|
6390
|
+
grantCodes: {
|
|
6391
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
|
|
6392
|
+
};
|
|
6393
|
+
publishableKeys: {
|
|
6394
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
|
|
6395
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
|
|
6396
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
|
|
6397
|
+
};
|
|
6398
|
+
usage: {
|
|
6399
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
|
|
6400
|
+
};
|
|
6401
|
+
};
|
|
4383
6402
|
export declare function createCut(transport: Transport): {
|
|
4384
6403
|
exports: {
|
|
4385
6404
|
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
@@ -4432,15 +6451,40 @@ export declare function createCut(transport: Transport): {
|
|
|
4432
6451
|
};
|
|
4433
6452
|
export declare function createDatabase(transport: Transport): {
|
|
4434
6453
|
databases: {
|
|
6454
|
+
commands: {
|
|
6455
|
+
/** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
|
|
6456
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
|
|
6457
|
+
result: unknown;
|
|
6458
|
+
}>;
|
|
6459
|
+
};
|
|
6460
|
+
/** @deprecated use praxis.database.table.create for a table database or praxis.database.kv.create for a key-value database instead; this path stops working on 2027-03-01. */
|
|
4435
6461
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6462
|
+
/** @deprecated use praxis.database.table.delete for a table database or praxis.database.kv.delete for a key-value database instead; this path stops working on 2027-03-01. */
|
|
4436
6463
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
4437
6464
|
events: {
|
|
6465
|
+
/** @deprecated use praxis.database.table.events.list for a table database or praxis.database.kv.events.list for a key-value database instead; this path stops working on 2027-03-01. */
|
|
4438
6466
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
|
|
4439
6467
|
data: Array<Types.DatabaseDatabaseEvent>;
|
|
4440
6468
|
}>;
|
|
4441
6469
|
};
|
|
6470
|
+
keys: {
|
|
6471
|
+
/** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
|
|
6472
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
|
|
6473
|
+
deleted: boolean;
|
|
6474
|
+
}>;
|
|
6475
|
+
/** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
|
|
6476
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6477
|
+
/** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
|
|
6478
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6479
|
+
/** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
|
|
6480
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6481
|
+
/** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
|
|
6482
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6483
|
+
};
|
|
6484
|
+
/** @deprecated use praxis.database.table.list for a table database or praxis.database.kv.list for a key-value database instead; this path stops working on 2027-03-01. */
|
|
4442
6485
|
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
4443
6486
|
purge: {
|
|
6487
|
+
/** @deprecated use praxis.database.table.purge.create for a table database or praxis.database.kv.purge.create for a key-value database instead; this path stops working on 2027-03-01. */
|
|
4444
6488
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
|
|
4445
6489
|
id: string;
|
|
4446
6490
|
object: "database";
|
|
@@ -4448,37 +6492,132 @@ export declare function createDatabase(transport: Transport): {
|
|
|
4448
6492
|
}>;
|
|
4449
6493
|
};
|
|
4450
6494
|
rest: {
|
|
6495
|
+
/** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
|
|
4451
6496
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6497
|
+
/** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
|
|
4452
6498
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6499
|
+
/** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
|
|
4453
6500
|
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
|
|
6501
|
+
/** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
|
|
4454
6502
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6503
|
+
/** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
|
|
4455
6504
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
4456
6505
|
};
|
|
6506
|
+
/** @deprecated use praxis.database.table.restore for a table database or praxis.database.kv.restore for a key-value database instead; this path stops working on 2027-03-01. */
|
|
4457
6507
|
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6508
|
+
/** @deprecated use praxis.database.table.retrieve for a table database or praxis.database.kv.retrieve for a key-value database instead; this path stops working on 2027-03-01. */
|
|
4458
6509
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
4459
6510
|
tables: {
|
|
6511
|
+
/** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
|
|
4460
6512
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6513
|
+
/** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
|
|
4461
6514
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
|
|
4462
6515
|
deleted: true;
|
|
4463
6516
|
}>;
|
|
4464
6517
|
fields: {
|
|
6518
|
+
/** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
|
|
4465
6519
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6520
|
+
/** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
|
|
4466
6521
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6522
|
+
/** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
|
|
4467
6523
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
4468
6524
|
};
|
|
6525
|
+
/** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
|
|
4469
6526
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
|
|
4470
6527
|
data: Array<Types.DatabaseTable>;
|
|
4471
6528
|
}>;
|
|
6529
|
+
/** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
|
|
4472
6530
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6531
|
+
/** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
|
|
4473
6532
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
4474
6533
|
};
|
|
6534
|
+
/** @deprecated use praxis.database.table.update for a table database or praxis.database.kv.update for a key-value database instead; this path stops working on 2027-03-01. */
|
|
4475
6535
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
4476
6536
|
};
|
|
6537
|
+
kv: {
|
|
6538
|
+
commands: {
|
|
6539
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
|
|
6540
|
+
result: unknown;
|
|
6541
|
+
}>;
|
|
6542
|
+
};
|
|
6543
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6544
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6545
|
+
events: {
|
|
6546
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
|
|
6547
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6548
|
+
}>;
|
|
6549
|
+
};
|
|
6550
|
+
keys: {
|
|
6551
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
|
|
6552
|
+
deleted: boolean;
|
|
6553
|
+
}>;
|
|
6554
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6555
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6556
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6557
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6558
|
+
};
|
|
6559
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6560
|
+
purge: {
|
|
6561
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
|
|
6562
|
+
id: string;
|
|
6563
|
+
object: "database";
|
|
6564
|
+
purged: true;
|
|
6565
|
+
}>;
|
|
6566
|
+
};
|
|
6567
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6568
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6569
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6570
|
+
};
|
|
6571
|
+
table: {
|
|
6572
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6573
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6574
|
+
events: {
|
|
6575
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
|
|
6576
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6577
|
+
}>;
|
|
6578
|
+
};
|
|
6579
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6580
|
+
purge: {
|
|
6581
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
|
|
6582
|
+
id: string;
|
|
6583
|
+
object: "database";
|
|
6584
|
+
purged: true;
|
|
6585
|
+
}>;
|
|
6586
|
+
};
|
|
6587
|
+
rest: {
|
|
6588
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6589
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6590
|
+
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
|
|
6591
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6592
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6593
|
+
};
|
|
6594
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6595
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6596
|
+
tables: {
|
|
6597
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6598
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
|
|
6599
|
+
deleted: true;
|
|
6600
|
+
}>;
|
|
6601
|
+
fields: {
|
|
6602
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6603
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6604
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
6605
|
+
};
|
|
6606
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
|
|
6607
|
+
data: Array<Types.DatabaseTable>;
|
|
6608
|
+
}>;
|
|
6609
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6610
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
6611
|
+
};
|
|
6612
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6613
|
+
};
|
|
4477
6614
|
};
|
|
4478
6615
|
export declare function createDevops(transport: Transport): {
|
|
4479
6616
|
changes: {
|
|
4480
6617
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
|
|
6618
|
+
gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
|
|
4481
6619
|
markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
|
|
6620
|
+
openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
|
|
4482
6621
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
|
|
4483
6622
|
};
|
|
4484
6623
|
connections: {
|
|
@@ -4518,6 +6657,13 @@ export declare function createDevops(transport: Transport): {
|
|
|
4518
6657
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
4519
6658
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
4520
6659
|
};
|
|
6660
|
+
cleanups: {
|
|
6661
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
|
|
6662
|
+
};
|
|
6663
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
|
|
6664
|
+
defaultBranch: {
|
|
6665
|
+
initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
|
|
6666
|
+
};
|
|
4521
6667
|
environments: {
|
|
4522
6668
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
4523
6669
|
targets: {
|
|
@@ -4535,6 +6681,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
4535
6681
|
flags: {
|
|
4536
6682
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
|
|
4537
6683
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
|
|
6684
|
+
reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
|
|
4538
6685
|
};
|
|
4539
6686
|
list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
|
|
4540
6687
|
promotions: {
|
|
@@ -4549,6 +6696,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
4549
6696
|
};
|
|
4550
6697
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
|
|
4551
6698
|
retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
|
|
6699
|
+
retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
|
|
4552
6700
|
segments: {
|
|
4553
6701
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
|
|
4554
6702
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
|
|
@@ -4588,6 +6736,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
4588
6736
|
promotions: {
|
|
4589
6737
|
approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
|
|
4590
6738
|
cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
|
|
6739
|
+
checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
|
|
4591
6740
|
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
|
|
4592
6741
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
|
|
4593
6742
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
|
|
@@ -4597,10 +6746,14 @@ export declare function createDevops(transport: Transport): {
|
|
|
4597
6746
|
};
|
|
4598
6747
|
};
|
|
4599
6748
|
pullRequests: {
|
|
6749
|
+
close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
|
|
4600
6750
|
merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
|
|
4601
6751
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
4602
6752
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
4603
6753
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
|
|
6754
|
+
reviews: {
|
|
6755
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
|
|
6756
|
+
};
|
|
4604
6757
|
};
|
|
4605
6758
|
releases: {
|
|
4606
6759
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
@@ -4737,12 +6890,19 @@ export declare function createMedia(transport: Transport): {
|
|
|
4737
6890
|
};
|
|
4738
6891
|
libraries: {
|
|
4739
6892
|
assets: {
|
|
6893
|
+
align: {
|
|
6894
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
|
|
6895
|
+
};
|
|
4740
6896
|
batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
|
|
4741
6897
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
|
|
4742
6898
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
|
|
4743
6899
|
frames: {
|
|
4744
6900
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
|
|
4745
6901
|
};
|
|
6902
|
+
hls: {
|
|
6903
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
6904
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
6905
|
+
};
|
|
4746
6906
|
import: {
|
|
4747
6907
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
|
|
4748
6908
|
};
|
|
@@ -4809,6 +6969,12 @@ export declare function createMedia(transport: Transport): {
|
|
|
4809
6969
|
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
4810
6970
|
};
|
|
4811
6971
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
6972
|
+
voices: {
|
|
6973
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
|
|
6974
|
+
designs: {
|
|
6975
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
|
|
6976
|
+
};
|
|
6977
|
+
};
|
|
4812
6978
|
};
|
|
4813
6979
|
speech: {
|
|
4814
6980
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
|
|
@@ -5332,6 +7498,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5332
7498
|
unsigned_urls: Array<string>;
|
|
5333
7499
|
usage?: {
|
|
5334
7500
|
cost: number;
|
|
7501
|
+
billed_seconds?: number;
|
|
5335
7502
|
};
|
|
5336
7503
|
}>;
|
|
5337
7504
|
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
|
|
@@ -5362,6 +7529,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5362
7529
|
unsigned_urls: Array<string>;
|
|
5363
7530
|
usage?: {
|
|
5364
7531
|
cost: number;
|
|
7532
|
+
billed_seconds?: number;
|
|
5365
7533
|
};
|
|
5366
7534
|
}>;
|
|
5367
7535
|
has_more: boolean;
|
|
@@ -5390,6 +7558,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5390
7558
|
unsigned_urls: Array<string>;
|
|
5391
7559
|
usage?: {
|
|
5392
7560
|
cost: number;
|
|
7561
|
+
billed_seconds?: number;
|
|
5393
7562
|
};
|
|
5394
7563
|
}>;
|
|
5395
7564
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
|
|
@@ -5427,23 +7596,6 @@ export declare function createOntology(transport: Transport): {
|
|
|
5427
7596
|
};
|
|
5428
7597
|
};
|
|
5429
7598
|
export declare function createOrganization(transport: Transport): {
|
|
5430
|
-
actors: {
|
|
5431
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
5432
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
5433
|
-
};
|
|
5434
|
-
assignments: {
|
|
5435
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
5436
|
-
makePrimary: {
|
|
5437
|
-
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
5438
|
-
};
|
|
5439
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
5440
|
-
terminate: {
|
|
5441
|
-
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
5442
|
-
};
|
|
5443
|
-
transfer: {
|
|
5444
|
-
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
5445
|
-
};
|
|
5446
|
-
};
|
|
5447
7599
|
charges: {
|
|
5448
7600
|
list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
|
|
5449
7601
|
ChargePeriodStart: string;
|
|
@@ -5479,21 +7631,11 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5479
7631
|
BilledCost: string;
|
|
5480
7632
|
BillingCurrency: "CNY" | "USD";
|
|
5481
7633
|
x_EventCount: string;
|
|
5482
|
-
}>;
|
|
5483
|
-
}>;
|
|
5484
|
-
has_more: boolean;
|
|
5485
|
-
next_page: string | null;
|
|
5486
|
-
}>;
|
|
5487
|
-
};
|
|
5488
|
-
departments: {
|
|
5489
|
-
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
5490
|
-
dissolve: {
|
|
5491
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
5492
|
-
};
|
|
5493
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
5494
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
5495
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
5496
|
-
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
7634
|
+
}>;
|
|
7635
|
+
}>;
|
|
7636
|
+
has_more: boolean;
|
|
7637
|
+
next_page: string | null;
|
|
7638
|
+
}>;
|
|
5497
7639
|
};
|
|
5498
7640
|
events: {
|
|
5499
7641
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
@@ -5697,27 +7839,6 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5697
7839
|
}>;
|
|
5698
7840
|
}>;
|
|
5699
7841
|
};
|
|
5700
|
-
jobs: {
|
|
5701
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
5702
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
5703
|
-
retire: {
|
|
5704
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
5705
|
-
};
|
|
5706
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
5707
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
5708
|
-
};
|
|
5709
|
-
keyResults: {
|
|
5710
|
-
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
5711
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
5712
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
5713
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
5714
|
-
};
|
|
5715
|
-
ladders: {
|
|
5716
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
5717
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
5718
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
5719
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
5720
|
-
};
|
|
5721
7842
|
members: {
|
|
5722
7843
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
|
|
5723
7844
|
data: Array<{
|
|
@@ -5731,51 +7852,83 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5731
7852
|
next_page: string | null;
|
|
5732
7853
|
}>;
|
|
5733
7854
|
};
|
|
5734
|
-
|
|
5735
|
-
|
|
5736
|
-
|
|
5737
|
-
|
|
5738
|
-
|
|
5739
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
5740
|
-
parents: {
|
|
5741
|
-
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
5742
|
-
};
|
|
5743
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
5744
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
5745
|
-
};
|
|
5746
|
-
periods: {
|
|
5747
|
-
close: {
|
|
5748
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
5749
|
-
};
|
|
5750
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
5751
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
5752
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
5753
|
-
};
|
|
5754
|
-
positions: {
|
|
5755
|
-
close: {
|
|
5756
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
5757
|
-
};
|
|
5758
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
5759
|
-
designateHead: {
|
|
5760
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
5761
|
-
};
|
|
5762
|
-
freeze: {
|
|
5763
|
-
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7855
|
+
notifications: {
|
|
7856
|
+
deliveries: {
|
|
7857
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
|
|
7858
|
+
[key: string]: unknown;
|
|
7859
|
+
}>;
|
|
5764
7860
|
};
|
|
5765
|
-
|
|
5766
|
-
|
|
7861
|
+
letters: {
|
|
7862
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
|
|
7863
|
+
unread: number;
|
|
7864
|
+
}>;
|
|
7865
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7866
|
+
letters: Array<{
|
|
7867
|
+
id: string;
|
|
7868
|
+
sender: string;
|
|
7869
|
+
summary: string;
|
|
7870
|
+
body: string;
|
|
7871
|
+
thread: string;
|
|
7872
|
+
kind: "notice" | "mention" | "decision";
|
|
7873
|
+
source: {
|
|
7874
|
+
[key: string]: unknown;
|
|
7875
|
+
};
|
|
7876
|
+
read: boolean;
|
|
7877
|
+
deliveredAt: string;
|
|
7878
|
+
createTime: string;
|
|
7879
|
+
reason: string;
|
|
7880
|
+
archived: boolean;
|
|
7881
|
+
}>;
|
|
7882
|
+
nextCursor: string;
|
|
7883
|
+
unread: number;
|
|
7884
|
+
}>;
|
|
7885
|
+
read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
|
|
7886
|
+
unread: number;
|
|
7887
|
+
}>;
|
|
7888
|
+
readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7889
|
+
unread: number;
|
|
7890
|
+
}>;
|
|
5767
7891
|
};
|
|
5768
|
-
|
|
5769
|
-
|
|
5770
|
-
|
|
7892
|
+
organizationDefault: {
|
|
7893
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
|
|
7894
|
+
[key: string]: unknown;
|
|
7895
|
+
}>;
|
|
5771
7896
|
};
|
|
5772
|
-
|
|
5773
|
-
|
|
5774
|
-
|
|
7897
|
+
preferences: {
|
|
7898
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
|
|
7899
|
+
[key: string]: unknown;
|
|
7900
|
+
}>;
|
|
7901
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
|
|
7902
|
+
name: string;
|
|
7903
|
+
workflows: {
|
|
7904
|
+
[key: string]: unknown;
|
|
7905
|
+
};
|
|
7906
|
+
channelOptOuts?: Array<"in_app" | "email" | "sms">;
|
|
7907
|
+
updateTime?: string;
|
|
7908
|
+
catalog: Array<{
|
|
7909
|
+
workflow: string;
|
|
7910
|
+
group: string;
|
|
7911
|
+
title: string;
|
|
7912
|
+
description?: string;
|
|
7913
|
+
severity: "high" | "medium" | "low" | "none";
|
|
7914
|
+
critical: boolean;
|
|
7915
|
+
channels: Array<string>;
|
|
7916
|
+
}>;
|
|
7917
|
+
organization: {
|
|
7918
|
+
[key: string]: unknown;
|
|
7919
|
+
};
|
|
7920
|
+
effective: {
|
|
7921
|
+
[key: string]: unknown;
|
|
7922
|
+
};
|
|
7923
|
+
}>;
|
|
5775
7924
|
};
|
|
5776
|
-
|
|
5777
|
-
|
|
5778
|
-
|
|
7925
|
+
retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
|
|
7926
|
+
unreadCount: number;
|
|
7927
|
+
unseenCount: number;
|
|
7928
|
+
}>;
|
|
7929
|
+
retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
|
|
7930
|
+
[key: string]: unknown;
|
|
7931
|
+
}>;
|
|
5779
7932
|
};
|
|
5780
7933
|
usage: {
|
|
5781
7934
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
@@ -5800,13 +7953,163 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5800
7953
|
}>;
|
|
5801
7954
|
};
|
|
5802
7955
|
};
|
|
7956
|
+
export declare function createRegistry(transport: Transport): {
|
|
7957
|
+
installations: {
|
|
7958
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
|
|
7959
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
|
|
7960
|
+
};
|
|
7961
|
+
packages: {
|
|
7962
|
+
git: {
|
|
7963
|
+
commits: {
|
|
7964
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
7965
|
+
};
|
|
7966
|
+
files: {
|
|
7967
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7968
|
+
};
|
|
7969
|
+
refs: {
|
|
7970
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
|
|
7971
|
+
};
|
|
7972
|
+
retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
|
|
7973
|
+
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
7974
|
+
retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
|
|
7975
|
+
trees: {
|
|
7976
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
7977
|
+
retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
|
|
7978
|
+
};
|
|
7979
|
+
};
|
|
7980
|
+
gitCredential: {
|
|
7981
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
7982
|
+
};
|
|
7983
|
+
installations: {
|
|
7984
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
7985
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
7986
|
+
};
|
|
7987
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
|
|
7988
|
+
versions: {
|
|
7989
|
+
contents: {
|
|
7990
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
|
|
7991
|
+
};
|
|
7992
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
|
|
7993
|
+
files: {
|
|
7994
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
|
|
7995
|
+
};
|
|
7996
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
|
|
7997
|
+
retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
|
|
7998
|
+
withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
|
|
7999
|
+
};
|
|
8000
|
+
};
|
|
8001
|
+
repositories: {
|
|
8002
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
|
|
8003
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
|
|
8004
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
|
|
8005
|
+
packages: {
|
|
8006
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
|
|
8007
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
|
|
8008
|
+
};
|
|
8009
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
|
|
8010
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
|
|
8011
|
+
};
|
|
8012
|
+
};
|
|
5803
8013
|
export declare function createSandbox(transport: Transport): {
|
|
8014
|
+
byod: {
|
|
8015
|
+
devices: {
|
|
8016
|
+
disconnect: {
|
|
8017
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
8018
|
+
id: string;
|
|
8019
|
+
object: "byod_device";
|
|
8020
|
+
disconnected: true;
|
|
8021
|
+
}>;
|
|
8022
|
+
};
|
|
8023
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
8024
|
+
data: Array<{
|
|
8025
|
+
object: "byod_device";
|
|
8026
|
+
id: string;
|
|
8027
|
+
platform: "android" | "macos" | "linux";
|
|
8028
|
+
name: string;
|
|
8029
|
+
model: string;
|
|
8030
|
+
os_version: string;
|
|
8031
|
+
online: boolean;
|
|
8032
|
+
last_seen_at: string | null;
|
|
8033
|
+
created_at: string;
|
|
8034
|
+
capabilities: Array<"display" | "agent">;
|
|
8035
|
+
agent_dirs: Array<string>;
|
|
8036
|
+
allow_bypass: boolean;
|
|
8037
|
+
}>;
|
|
8038
|
+
}>;
|
|
8039
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
8040
|
+
object: "byod_device";
|
|
8041
|
+
id: string;
|
|
8042
|
+
platform: "android" | "macos" | "linux";
|
|
8043
|
+
name: string;
|
|
8044
|
+
model: string;
|
|
8045
|
+
os_version: string;
|
|
8046
|
+
online: boolean;
|
|
8047
|
+
last_seen_at: string | null;
|
|
8048
|
+
created_at: string;
|
|
8049
|
+
capabilities: Array<"display" | "agent">;
|
|
8050
|
+
agent_dirs: Array<string>;
|
|
8051
|
+
allow_bypass: boolean;
|
|
8052
|
+
}>;
|
|
8053
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
8054
|
+
object: "byod_device";
|
|
8055
|
+
id: string;
|
|
8056
|
+
platform: "android" | "macos" | "linux";
|
|
8057
|
+
name: string;
|
|
8058
|
+
model: string;
|
|
8059
|
+
os_version: string;
|
|
8060
|
+
online: boolean;
|
|
8061
|
+
last_seen_at: string | null;
|
|
8062
|
+
created_at: string;
|
|
8063
|
+
capabilities: Array<"display" | "agent">;
|
|
8064
|
+
agent_dirs: Array<string>;
|
|
8065
|
+
allow_bypass: boolean;
|
|
8066
|
+
}>;
|
|
8067
|
+
};
|
|
8068
|
+
pairings: {
|
|
8069
|
+
claim: {
|
|
8070
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
8071
|
+
device_id: string;
|
|
8072
|
+
credential: string;
|
|
8073
|
+
socket_url: string;
|
|
8074
|
+
}>;
|
|
8075
|
+
};
|
|
8076
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
8077
|
+
code: string;
|
|
8078
|
+
expires_at: string;
|
|
8079
|
+
qr: string;
|
|
8080
|
+
}>;
|
|
8081
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
8082
|
+
organization_name: string;
|
|
8083
|
+
expires_at: string;
|
|
8084
|
+
}>;
|
|
8085
|
+
};
|
|
8086
|
+
};
|
|
5804
8087
|
events: {
|
|
5805
8088
|
sandboxes: {
|
|
5806
8089
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
5807
8090
|
};
|
|
5808
8091
|
};
|
|
5809
8092
|
sandboxes: {
|
|
8093
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
8094
|
+
type: "snapshot";
|
|
8095
|
+
snapshot: string;
|
|
8096
|
+
refs: number;
|
|
8097
|
+
truncated: boolean;
|
|
8098
|
+
package: string;
|
|
8099
|
+
} | {
|
|
8100
|
+
type: "screenshot";
|
|
8101
|
+
mediaType: string;
|
|
8102
|
+
data: string;
|
|
8103
|
+
width: number;
|
|
8104
|
+
height: number;
|
|
8105
|
+
bytes: number;
|
|
8106
|
+
} | {
|
|
8107
|
+
type: "ok";
|
|
8108
|
+
ms?: number;
|
|
8109
|
+
} | {
|
|
8110
|
+
type: "wait";
|
|
8111
|
+
ms: number;
|
|
8112
|
+
}>;
|
|
5810
8113
|
commands: {
|
|
5811
8114
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
5812
8115
|
stdout: string;
|
|
@@ -6036,6 +8339,14 @@ export declare function createSearch(transport: Transport): {
|
|
|
6036
8339
|
}>;
|
|
6037
8340
|
};
|
|
6038
8341
|
};
|
|
8342
|
+
export declare function createShare(transport: Transport): {
|
|
8343
|
+
permissions: {
|
|
8344
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
|
|
8345
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
|
|
8346
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
|
|
8347
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
|
|
8348
|
+
};
|
|
8349
|
+
};
|
|
6039
8350
|
export declare function createStudio(transport: Transport): {
|
|
6040
8351
|
codexes: {
|
|
6041
8352
|
create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
|
|
@@ -6323,13 +8634,138 @@ export declare function createVault(transport: Transport): {
|
|
|
6323
8634
|
update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
|
|
6324
8635
|
};
|
|
6325
8636
|
};
|
|
8637
|
+
export declare function createWorkforce(transport: Transport): {
|
|
8638
|
+
actors: {
|
|
8639
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
8640
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
8641
|
+
};
|
|
8642
|
+
assignments: {
|
|
8643
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
8644
|
+
makePrimary: {
|
|
8645
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8646
|
+
};
|
|
8647
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8648
|
+
terminate: {
|
|
8649
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8650
|
+
};
|
|
8651
|
+
transfer: {
|
|
8652
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8653
|
+
};
|
|
8654
|
+
};
|
|
8655
|
+
departments: {
|
|
8656
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8657
|
+
dissolve: {
|
|
8658
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8659
|
+
};
|
|
8660
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
8661
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8662
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8663
|
+
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
8664
|
+
};
|
|
8665
|
+
effectiveSpec: {
|
|
8666
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
8667
|
+
};
|
|
8668
|
+
jobs: {
|
|
8669
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8670
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
8671
|
+
retire: {
|
|
8672
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8673
|
+
};
|
|
8674
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8675
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8676
|
+
};
|
|
8677
|
+
keyResults: {
|
|
8678
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8679
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
8680
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8681
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8682
|
+
};
|
|
8683
|
+
ladders: {
|
|
8684
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8685
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
8686
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8687
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8688
|
+
};
|
|
8689
|
+
objectives: {
|
|
8690
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8691
|
+
grade: {
|
|
8692
|
+
create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8693
|
+
};
|
|
8694
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
8695
|
+
parents: {
|
|
8696
|
+
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8697
|
+
};
|
|
8698
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8699
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8700
|
+
};
|
|
8701
|
+
periods: {
|
|
8702
|
+
close: {
|
|
8703
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8704
|
+
};
|
|
8705
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8706
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
8707
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8708
|
+
};
|
|
8709
|
+
positions: {
|
|
8710
|
+
close: {
|
|
8711
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8712
|
+
};
|
|
8713
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
8714
|
+
designateHead: {
|
|
8715
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
8716
|
+
};
|
|
8717
|
+
freeze: {
|
|
8718
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8719
|
+
};
|
|
8720
|
+
hire: {
|
|
8721
|
+
create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
|
|
8722
|
+
};
|
|
8723
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
|
|
8724
|
+
replaceHolder: {
|
|
8725
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
|
|
8726
|
+
};
|
|
8727
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8728
|
+
unfreeze: {
|
|
8729
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8730
|
+
};
|
|
8731
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8732
|
+
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8733
|
+
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
8734
|
+
};
|
|
8735
|
+
reconcile: {
|
|
8736
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8737
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8738
|
+
retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
|
|
8739
|
+
run: {
|
|
8740
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8741
|
+
};
|
|
8742
|
+
status: {
|
|
8743
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8744
|
+
};
|
|
8745
|
+
};
|
|
8746
|
+
specSchema: {
|
|
8747
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
|
|
8748
|
+
};
|
|
8749
|
+
specs: {
|
|
8750
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
8751
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
8752
|
+
retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
|
|
8753
|
+
revisions: {
|
|
8754
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
8755
|
+
};
|
|
8756
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
|
|
8757
|
+
};
|
|
8758
|
+
};
|
|
6326
8759
|
export declare const resourceFactories: {
|
|
6327
8760
|
agent: typeof createAgent;
|
|
6328
8761
|
application: typeof createApplication;
|
|
6329
8762
|
automation: typeof createAutomation;
|
|
8763
|
+
billing: typeof createBilling;
|
|
6330
8764
|
browser: typeof createBrowser;
|
|
6331
8765
|
canvas: typeof createCanvas;
|
|
8766
|
+
content: typeof createContent;
|
|
6332
8767
|
crm: typeof createCrm;
|
|
8768
|
+
customer: typeof createCustomer;
|
|
6333
8769
|
cut: typeof createCut;
|
|
6334
8770
|
database: typeof createDatabase;
|
|
6335
8771
|
devops: typeof createDevops;
|
|
@@ -6340,9 +8776,12 @@ export declare const resourceFactories: {
|
|
|
6340
8776
|
model: typeof createModel;
|
|
6341
8777
|
ontology: typeof createOntology;
|
|
6342
8778
|
organization: typeof createOrganization;
|
|
8779
|
+
registry: typeof createRegistry;
|
|
6343
8780
|
sandbox: typeof createSandbox;
|
|
6344
8781
|
search: typeof createSearch;
|
|
8782
|
+
share: typeof createShare;
|
|
6345
8783
|
studio: typeof createStudio;
|
|
6346
8784
|
ticket: typeof createTicket;
|
|
6347
8785
|
vault: typeof createVault;
|
|
8786
|
+
workforce: typeof createWorkforce;
|
|
6348
8787
|
};
|