@deepraxis/sdk 0.1.1-dev.b0da55b → 0.1.1-dev.b0e15c2
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 +545 -128
- 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/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 +953 -157
- package/dist/generated/sdk.gen.js +4662 -2513
- package/dist/generated/types.gen.d.ts +31613 -15543
- 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 +12 -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 +17885 -13367
- package/dist/resources.generated.d.ts +2351 -253
- package/dist/resources.generated.js +499 -111
- 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<{
|
|
@@ -38,10 +40,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
38
40
|
id: string;
|
|
39
41
|
} | null;
|
|
40
42
|
note: string | null;
|
|
43
|
+
deployments_behind: number | null;
|
|
41
44
|
bindings: Array<{
|
|
42
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
45
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
43
46
|
id: string;
|
|
44
47
|
access: "read_only" | "read_write" | "invoke";
|
|
48
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
45
49
|
instructions?: string;
|
|
46
50
|
readonly verified?: boolean;
|
|
47
51
|
enabled?: boolean;
|
|
@@ -159,6 +163,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
159
163
|
};
|
|
160
164
|
avatar: string | null;
|
|
161
165
|
creation_source: string | null;
|
|
166
|
+
managed_by: string | null;
|
|
162
167
|
identity_number: string | null;
|
|
163
168
|
environment_id?: string | null;
|
|
164
169
|
vault_ids?: Array<string>;
|
|
@@ -221,10 +226,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
221
226
|
id: string;
|
|
222
227
|
} | null;
|
|
223
228
|
note: string | null;
|
|
229
|
+
deployments_behind: number | null;
|
|
224
230
|
bindings: Array<{
|
|
225
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
231
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
226
232
|
id: string;
|
|
227
233
|
access: "read_only" | "read_write" | "invoke";
|
|
234
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
228
235
|
instructions?: string;
|
|
229
236
|
readonly verified?: boolean;
|
|
230
237
|
enabled?: boolean;
|
|
@@ -349,6 +356,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
349
356
|
};
|
|
350
357
|
avatar: string | null;
|
|
351
358
|
creation_source: string | null;
|
|
359
|
+
managed_by: string | null;
|
|
352
360
|
identity_number: string | null;
|
|
353
361
|
environment_id?: string | null;
|
|
354
362
|
vault_ids?: Array<string>;
|
|
@@ -604,6 +612,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
604
612
|
processed_at: string;
|
|
605
613
|
forked_from_session_id: string;
|
|
606
614
|
forked_from_message_id: string;
|
|
615
|
+
message_id?: string;
|
|
616
|
+
session_thread_id?: string | null;
|
|
607
617
|
} | {
|
|
608
618
|
id: string;
|
|
609
619
|
type: "session.goal_changed";
|
|
@@ -634,6 +644,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
634
644
|
created_at: number;
|
|
635
645
|
updated_at: number;
|
|
636
646
|
} | null;
|
|
647
|
+
message_id?: string;
|
|
648
|
+
session_thread_id?: string | null;
|
|
637
649
|
} | {
|
|
638
650
|
id: string;
|
|
639
651
|
type: "session.goal_verification";
|
|
@@ -648,26 +660,179 @@ export declare function createAgent(transport: Transport): {
|
|
|
648
660
|
reason: string;
|
|
649
661
|
next_action?: string;
|
|
650
662
|
};
|
|
663
|
+
message_id?: string;
|
|
664
|
+
session_thread_id?: string | null;
|
|
651
665
|
} | {
|
|
652
666
|
id: string;
|
|
653
667
|
type: "user.steer";
|
|
654
668
|
event_id: string;
|
|
655
669
|
processed_at: string;
|
|
670
|
+
message_id?: string;
|
|
671
|
+
session_thread_id?: string | null;
|
|
672
|
+
} | {
|
|
673
|
+
id: string;
|
|
674
|
+
type: "cognition.surfaced";
|
|
675
|
+
processed_at: string;
|
|
676
|
+
worker_session_id: string;
|
|
677
|
+
name: string;
|
|
678
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
679
|
+
experience_id?: string;
|
|
680
|
+
result?: {
|
|
681
|
+
message?: string;
|
|
682
|
+
links?: Array<string>;
|
|
683
|
+
files?: Array<{
|
|
684
|
+
name?: string;
|
|
685
|
+
href?: string;
|
|
686
|
+
}>;
|
|
687
|
+
held?: Array<{
|
|
688
|
+
id?: string;
|
|
689
|
+
summary?: string;
|
|
690
|
+
effect?: string;
|
|
691
|
+
method?: string;
|
|
692
|
+
path?: string;
|
|
693
|
+
expires_at?: string;
|
|
694
|
+
}>;
|
|
695
|
+
};
|
|
696
|
+
} | {
|
|
697
|
+
id: string;
|
|
698
|
+
type: "cognition.intention_woken";
|
|
699
|
+
processed_at: string;
|
|
700
|
+
node_id: string;
|
|
701
|
+
reason: "open_engram" | "assignment";
|
|
702
|
+
} | {
|
|
703
|
+
id: string;
|
|
704
|
+
type: "agent.operation_approval_requested";
|
|
705
|
+
processed_at: string;
|
|
706
|
+
approval_id: string;
|
|
707
|
+
operation_id: string;
|
|
708
|
+
effect: "outward" | "irreversible";
|
|
709
|
+
method: string;
|
|
710
|
+
path: string;
|
|
711
|
+
summary: string;
|
|
712
|
+
expires_at: string;
|
|
713
|
+
worker_session_id?: string;
|
|
714
|
+
worker_name?: string;
|
|
715
|
+
} | {
|
|
716
|
+
id: string;
|
|
717
|
+
type: "agent.operation_approval_decided";
|
|
718
|
+
processed_at: string;
|
|
719
|
+
approval_id: string;
|
|
720
|
+
status: "approved" | "refused" | "expired";
|
|
721
|
+
} | {
|
|
722
|
+
id: string;
|
|
723
|
+
type: "session.prompt_configuration_mismatch";
|
|
724
|
+
processed_at: string;
|
|
725
|
+
pinned_revision_id: string;
|
|
726
|
+
current_revision_id: string;
|
|
727
|
+
} | {
|
|
728
|
+
id: string;
|
|
729
|
+
type: "session.prompt_rev_changed";
|
|
730
|
+
processed_at: string;
|
|
731
|
+
config_revision_id: string;
|
|
732
|
+
changed: Array<{
|
|
733
|
+
name: string;
|
|
734
|
+
rev: string | null;
|
|
735
|
+
}>;
|
|
736
|
+
} | {
|
|
737
|
+
id: string;
|
|
738
|
+
type: "session.computer_tier";
|
|
739
|
+
processed_at: string;
|
|
740
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
741
|
+
tier: "light" | "heavy";
|
|
742
|
+
duration_ms: number;
|
|
743
|
+
error_code?: string;
|
|
744
|
+
status?: {
|
|
745
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
746
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
747
|
+
percent?: number;
|
|
748
|
+
files_done?: number;
|
|
749
|
+
files_total?: number;
|
|
750
|
+
idle_release_at?: number;
|
|
751
|
+
retry_at?: number;
|
|
752
|
+
epoch?: number;
|
|
753
|
+
heavy_instance?: string | null;
|
|
754
|
+
heavy_paused?: boolean;
|
|
755
|
+
};
|
|
756
|
+
} | {
|
|
757
|
+
id: string;
|
|
758
|
+
type: "agent.artifact_delivered";
|
|
759
|
+
processed_at: string;
|
|
760
|
+
artifact: {
|
|
761
|
+
object: "artifact";
|
|
762
|
+
id: string;
|
|
763
|
+
session_id: string;
|
|
764
|
+
run_id: string | null;
|
|
765
|
+
name: string;
|
|
766
|
+
version: number;
|
|
767
|
+
parts: Array<{
|
|
768
|
+
[key: string]: unknown;
|
|
769
|
+
}>;
|
|
770
|
+
source_hrefs: Array<string>;
|
|
771
|
+
create_time: string;
|
|
772
|
+
update_time: string;
|
|
773
|
+
};
|
|
656
774
|
} | {
|
|
657
775
|
id: string;
|
|
658
|
-
type: "
|
|
776
|
+
type: "agent.image_generation";
|
|
659
777
|
processed_at: string;
|
|
660
778
|
tool_use_id: string;
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
779
|
+
index: number;
|
|
780
|
+
total: number;
|
|
781
|
+
status: string;
|
|
782
|
+
mode?: string;
|
|
783
|
+
aspect?: string;
|
|
784
|
+
prompt?: string;
|
|
785
|
+
model?: string;
|
|
786
|
+
file_id?: string;
|
|
787
|
+
label?: string;
|
|
788
|
+
width?: number;
|
|
789
|
+
height?: number;
|
|
790
|
+
revised_prompt?: string;
|
|
791
|
+
source_labels?: Array<string>;
|
|
792
|
+
caption?: string;
|
|
793
|
+
slot?: number | null;
|
|
794
|
+
replaces?: string;
|
|
795
|
+
version?: number;
|
|
796
|
+
failure?: {
|
|
797
|
+
reason?: string;
|
|
664
798
|
};
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
799
|
+
} | {
|
|
800
|
+
id: string;
|
|
801
|
+
type: "session.image_labeled";
|
|
802
|
+
processed_at: string;
|
|
803
|
+
label: string;
|
|
804
|
+
file_id: string;
|
|
805
|
+
origin: "generated" | "uploaded";
|
|
806
|
+
filename: string;
|
|
807
|
+
tool_use_id?: string;
|
|
808
|
+
version?: number;
|
|
809
|
+
replaced_file_id?: string;
|
|
810
|
+
} | {
|
|
811
|
+
id: string;
|
|
812
|
+
type: "session.image_set_planned";
|
|
813
|
+
processed_at: string;
|
|
814
|
+
tool_use_id: string;
|
|
815
|
+
items: Array<unknown>;
|
|
816
|
+
title?: string;
|
|
817
|
+
} | {
|
|
818
|
+
id: string;
|
|
819
|
+
type: "session.project_attached";
|
|
820
|
+
processed_at: string;
|
|
821
|
+
project: {
|
|
822
|
+
id: string;
|
|
823
|
+
name: string;
|
|
824
|
+
path: string;
|
|
670
825
|
};
|
|
826
|
+
message_id?: string;
|
|
827
|
+
session_thread_id?: string | null;
|
|
828
|
+
} | {
|
|
829
|
+
id: string;
|
|
830
|
+
type: "session.project_detached";
|
|
831
|
+
processed_at: string;
|
|
832
|
+
project_id: string;
|
|
833
|
+
reason?: "project_removed";
|
|
834
|
+
message_id?: string;
|
|
835
|
+
session_thread_id?: string | null;
|
|
671
836
|
}>;
|
|
672
837
|
next_page: string | null;
|
|
673
838
|
}>;
|
|
@@ -688,21 +853,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
688
853
|
type: "user.steer";
|
|
689
854
|
event_id: string;
|
|
690
855
|
processed_at: string;
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
type: "user.tool_confirmation";
|
|
694
|
-
processed_at: string;
|
|
695
|
-
tool_use_id: string;
|
|
696
|
-
result: "allow";
|
|
697
|
-
answers: {
|
|
698
|
-
[key: string]: string;
|
|
699
|
-
};
|
|
700
|
-
annotations?: {
|
|
701
|
-
[key: string]: {
|
|
702
|
-
preview?: string;
|
|
703
|
-
notes?: string;
|
|
704
|
-
};
|
|
705
|
-
};
|
|
856
|
+
message_id?: string;
|
|
857
|
+
session_thread_id?: string | null;
|
|
706
858
|
}>;
|
|
707
859
|
}>;
|
|
708
860
|
stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -757,10 +909,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
757
909
|
id: string;
|
|
758
910
|
} | null;
|
|
759
911
|
note: string | null;
|
|
912
|
+
deployments_behind: number | null;
|
|
760
913
|
bindings: Array<{
|
|
761
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
914
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
762
915
|
id: string;
|
|
763
916
|
access: "read_only" | "read_write" | "invoke";
|
|
917
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
764
918
|
instructions?: string;
|
|
765
919
|
readonly verified?: boolean;
|
|
766
920
|
enabled?: boolean;
|
|
@@ -885,6 +1039,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
885
1039
|
};
|
|
886
1040
|
avatar: string | null;
|
|
887
1041
|
creation_source: string | null;
|
|
1042
|
+
managed_by: string | null;
|
|
888
1043
|
identity_number: string | null;
|
|
889
1044
|
environment_id?: string | null;
|
|
890
1045
|
vault_ids?: Array<string>;
|
|
@@ -898,6 +1053,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
898
1053
|
}>;
|
|
899
1054
|
next_page: string | null;
|
|
900
1055
|
}>;
|
|
1056
|
+
phone: {
|
|
1057
|
+
release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
|
|
1058
|
+
object: "agent_phone";
|
|
1059
|
+
agent_id: string;
|
|
1060
|
+
configured: boolean;
|
|
1061
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
1062
|
+
sku: string | null;
|
|
1063
|
+
byod_device: string | null;
|
|
1064
|
+
name: string | null;
|
|
1065
|
+
sandbox_id: string | null;
|
|
1066
|
+
lease_ends_at: string | null;
|
|
1067
|
+
archived_at: string | null;
|
|
1068
|
+
archive_error: string | null;
|
|
1069
|
+
}>;
|
|
1070
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
|
|
1071
|
+
object: "agent_phone";
|
|
1072
|
+
agent_id: string;
|
|
1073
|
+
configured: boolean;
|
|
1074
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
1075
|
+
sku: string | null;
|
|
1076
|
+
byod_device: string | null;
|
|
1077
|
+
name: string | null;
|
|
1078
|
+
sandbox_id: string | null;
|
|
1079
|
+
lease_ends_at: string | null;
|
|
1080
|
+
archived_at: string | null;
|
|
1081
|
+
archive_error: string | null;
|
|
1082
|
+
}>;
|
|
1083
|
+
};
|
|
901
1084
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
|
|
902
1085
|
id: string;
|
|
903
1086
|
archived_at: null | string;
|
|
@@ -934,10 +1117,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
934
1117
|
id: string;
|
|
935
1118
|
} | null;
|
|
936
1119
|
note: string | null;
|
|
1120
|
+
deployments_behind: number | null;
|
|
937
1121
|
bindings: Array<{
|
|
938
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1122
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
939
1123
|
id: string;
|
|
940
1124
|
access: "read_only" | "read_write" | "invoke";
|
|
1125
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
941
1126
|
instructions?: string;
|
|
942
1127
|
readonly verified?: boolean;
|
|
943
1128
|
enabled?: boolean;
|
|
@@ -1062,6 +1247,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1062
1247
|
};
|
|
1063
1248
|
avatar: string | null;
|
|
1064
1249
|
creation_source: string | null;
|
|
1250
|
+
managed_by: string | null;
|
|
1065
1251
|
identity_number: string | null;
|
|
1066
1252
|
environment_id?: string | null;
|
|
1067
1253
|
vault_ids?: Array<string>;
|
|
@@ -1136,6 +1322,21 @@ export declare function createAgent(transport: Transport): {
|
|
|
1136
1322
|
max_files_per_session: number;
|
|
1137
1323
|
};
|
|
1138
1324
|
}>;
|
|
1325
|
+
retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
|
|
1326
|
+
allowed_origins: Array<string>;
|
|
1327
|
+
allow_localhost: boolean;
|
|
1328
|
+
uploads: {
|
|
1329
|
+
enabled: boolean;
|
|
1330
|
+
max_file_bytes: number;
|
|
1331
|
+
max_files_per_session: number;
|
|
1332
|
+
};
|
|
1333
|
+
share_links: {
|
|
1334
|
+
enabled: boolean;
|
|
1335
|
+
daily_session_cap: number | null;
|
|
1336
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1337
|
+
currency?: "USD" | "CNY" | null;
|
|
1338
|
+
};
|
|
1339
|
+
}>;
|
|
1139
1340
|
unarchive: {
|
|
1140
1341
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
1141
1342
|
id: string;
|
|
@@ -1375,10 +1576,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1375
1576
|
id: string;
|
|
1376
1577
|
} | null;
|
|
1377
1578
|
note: string | null;
|
|
1579
|
+
deployments_behind: number | null;
|
|
1378
1580
|
bindings: Array<{
|
|
1379
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1581
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1380
1582
|
id: string;
|
|
1381
1583
|
access: "read_only" | "read_write" | "invoke";
|
|
1584
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1382
1585
|
instructions?: string;
|
|
1383
1586
|
readonly verified?: boolean;
|
|
1384
1587
|
enabled?: boolean;
|
|
@@ -1503,6 +1706,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1503
1706
|
};
|
|
1504
1707
|
avatar: string | null;
|
|
1505
1708
|
creation_source: string | null;
|
|
1709
|
+
managed_by: string | null;
|
|
1506
1710
|
identity_number: string | null;
|
|
1507
1711
|
environment_id?: string | null;
|
|
1508
1712
|
vault_ids?: Array<string>;
|
|
@@ -1551,10 +1755,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1551
1755
|
id: string;
|
|
1552
1756
|
} | null;
|
|
1553
1757
|
note: string | null;
|
|
1758
|
+
deployments_behind: number | null;
|
|
1554
1759
|
bindings: Array<{
|
|
1555
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1760
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1556
1761
|
id: string;
|
|
1557
1762
|
access: "read_only" | "read_write" | "invoke";
|
|
1763
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1558
1764
|
instructions?: string;
|
|
1559
1765
|
readonly verified?: boolean;
|
|
1560
1766
|
enabled?: boolean;
|
|
@@ -1679,6 +1885,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1679
1885
|
};
|
|
1680
1886
|
avatar: string | null;
|
|
1681
1887
|
creation_source: string | null;
|
|
1888
|
+
managed_by: string | null;
|
|
1682
1889
|
identity_number: string | null;
|
|
1683
1890
|
environment_id?: string | null;
|
|
1684
1891
|
vault_ids?: Array<string>;
|
|
@@ -1690,6 +1897,21 @@ export declare function createAgent(transport: Transport): {
|
|
|
1690
1897
|
keep_coding_instructions?: boolean;
|
|
1691
1898
|
}> | null;
|
|
1692
1899
|
}>;
|
|
1900
|
+
updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
|
|
1901
|
+
allowed_origins: Array<string>;
|
|
1902
|
+
allow_localhost: boolean;
|
|
1903
|
+
uploads: {
|
|
1904
|
+
enabled: boolean;
|
|
1905
|
+
max_file_bytes: number;
|
|
1906
|
+
max_files_per_session: number;
|
|
1907
|
+
};
|
|
1908
|
+
share_links: {
|
|
1909
|
+
enabled: boolean;
|
|
1910
|
+
daily_session_cap: number | null;
|
|
1911
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1912
|
+
currency?: "USD" | "CNY" | null;
|
|
1913
|
+
};
|
|
1914
|
+
}>;
|
|
1693
1915
|
versions: {
|
|
1694
1916
|
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1695
1917
|
id: string;
|
|
@@ -1929,10 +2151,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1929
2151
|
id: string;
|
|
1930
2152
|
} | null;
|
|
1931
2153
|
note: string | null;
|
|
2154
|
+
deployments_behind: number | null;
|
|
1932
2155
|
bindings: Array<{
|
|
1933
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2156
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1934
2157
|
id: string;
|
|
1935
2158
|
access: "read_only" | "read_write" | "invoke";
|
|
2159
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1936
2160
|
instructions?: string;
|
|
1937
2161
|
readonly verified?: boolean;
|
|
1938
2162
|
enabled?: boolean;
|
|
@@ -2057,6 +2281,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2057
2281
|
};
|
|
2058
2282
|
avatar: string | null;
|
|
2059
2283
|
creation_source: string | null;
|
|
2284
|
+
managed_by: string | null;
|
|
2060
2285
|
identity_number: string | null;
|
|
2061
2286
|
environment_id?: string | null;
|
|
2062
2287
|
vault_ids?: Array<string>;
|
|
@@ -2106,9 +2331,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
2106
2331
|
} | null;
|
|
2107
2332
|
note: string | null;
|
|
2108
2333
|
bindings: Array<{
|
|
2109
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2334
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
2110
2335
|
id: string;
|
|
2111
2336
|
access: "read_only" | "read_write" | "invoke";
|
|
2337
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
2112
2338
|
instructions?: string;
|
|
2113
2339
|
readonly verified?: boolean;
|
|
2114
2340
|
enabled?: boolean;
|
|
@@ -2233,6 +2459,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2233
2459
|
};
|
|
2234
2460
|
avatar: string | null;
|
|
2235
2461
|
creation_source: string | null;
|
|
2462
|
+
managed_by: string | null;
|
|
2236
2463
|
identity_number: string | null;
|
|
2237
2464
|
environment_id?: string | null;
|
|
2238
2465
|
vault_ids?: Array<string>;
|
|
@@ -2320,6 +2547,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
2320
2547
|
tier: "light" | "heavy";
|
|
2321
2548
|
}>;
|
|
2322
2549
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
2550
|
+
retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
|
|
2551
|
+
variant: "image" | "pdf" | "text" | "original";
|
|
2552
|
+
version?: string;
|
|
2553
|
+
mime_type?: string;
|
|
2554
|
+
size?: number;
|
|
2555
|
+
file_id?: string;
|
|
2556
|
+
url?: string;
|
|
2557
|
+
expires_at?: string;
|
|
2558
|
+
cached: boolean;
|
|
2559
|
+
fallback?: "content";
|
|
2560
|
+
skipped?: boolean;
|
|
2561
|
+
}>;
|
|
2562
|
+
updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
|
|
2563
|
+
path: string;
|
|
2564
|
+
size: number;
|
|
2565
|
+
mtime: string | null;
|
|
2566
|
+
version: string;
|
|
2567
|
+
}>;
|
|
2323
2568
|
};
|
|
2324
2569
|
leases: {
|
|
2325
2570
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -2393,6 +2638,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2393
2638
|
id: string;
|
|
2394
2639
|
type: "agent";
|
|
2395
2640
|
version: number;
|
|
2641
|
+
pinned_version?: number | null;
|
|
2642
|
+
active_version?: number | null;
|
|
2396
2643
|
} | {
|
|
2397
2644
|
id: string;
|
|
2398
2645
|
type: "agent_with_overrides";
|
|
@@ -2430,6 +2677,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2430
2677
|
id: string;
|
|
2431
2678
|
type: "agent";
|
|
2432
2679
|
version: number;
|
|
2680
|
+
pinned_version?: number | null;
|
|
2681
|
+
active_version?: number | null;
|
|
2433
2682
|
} | {
|
|
2434
2683
|
id: string;
|
|
2435
2684
|
type: "agent_with_overrides";
|
|
@@ -2468,6 +2717,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2468
2717
|
id: string;
|
|
2469
2718
|
type: "agent";
|
|
2470
2719
|
version: number;
|
|
2720
|
+
pinned_version?: number | null;
|
|
2721
|
+
active_version?: number | null;
|
|
2471
2722
|
} | {
|
|
2472
2723
|
id: string;
|
|
2473
2724
|
type: "agent_with_overrides";
|
|
@@ -2507,6 +2758,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2507
2758
|
id: string;
|
|
2508
2759
|
type: "agent";
|
|
2509
2760
|
version: number;
|
|
2761
|
+
pinned_version?: number | null;
|
|
2762
|
+
active_version?: number | null;
|
|
2510
2763
|
} | {
|
|
2511
2764
|
id: string;
|
|
2512
2765
|
type: "agent_with_overrides";
|
|
@@ -2544,6 +2797,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2544
2797
|
id: string;
|
|
2545
2798
|
type: "agent";
|
|
2546
2799
|
version: number;
|
|
2800
|
+
pinned_version?: number | null;
|
|
2801
|
+
active_version?: number | null;
|
|
2547
2802
|
} | {
|
|
2548
2803
|
id: string;
|
|
2549
2804
|
type: "agent_with_overrides";
|
|
@@ -2585,6 +2840,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2585
2840
|
id: string;
|
|
2586
2841
|
type: "agent";
|
|
2587
2842
|
version: number;
|
|
2843
|
+
pinned_version?: number | null;
|
|
2844
|
+
active_version?: number | null;
|
|
2588
2845
|
} | {
|
|
2589
2846
|
id: string;
|
|
2590
2847
|
type: "agent_with_overrides";
|
|
@@ -2623,6 +2880,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2623
2880
|
id: string;
|
|
2624
2881
|
type: "agent";
|
|
2625
2882
|
version: number;
|
|
2883
|
+
pinned_version?: number | null;
|
|
2884
|
+
active_version?: number | null;
|
|
2626
2885
|
} | {
|
|
2627
2886
|
id: string;
|
|
2628
2887
|
type: "agent_with_overrides";
|
|
@@ -2666,96 +2925,638 @@ export declare function createAgent(transport: Transport): {
|
|
|
2666
2925
|
update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
|
|
2667
2926
|
};
|
|
2668
2927
|
sessions: {
|
|
2669
|
-
|
|
2670
|
-
|
|
2671
|
-
agent: {
|
|
2928
|
+
agentVersion: {
|
|
2929
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
|
|
2672
2930
|
id: string;
|
|
2673
|
-
|
|
2674
|
-
mcp_servers: Array<Types.AgentManaged36>;
|
|
2675
|
-
model: {
|
|
2931
|
+
agent: {
|
|
2676
2932
|
id: string;
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2933
|
+
description: null | string;
|
|
2934
|
+
mcp_servers: Array<{
|
|
2935
|
+
type: "url";
|
|
2936
|
+
name: string;
|
|
2937
|
+
url: string;
|
|
2938
|
+
headers?: {
|
|
2939
|
+
[key: string]: string;
|
|
2940
|
+
};
|
|
2941
|
+
timeout_ms?: number;
|
|
2942
|
+
} | {
|
|
2943
|
+
type: "sse";
|
|
2944
|
+
name: string;
|
|
2945
|
+
url: string;
|
|
2946
|
+
headers?: {
|
|
2947
|
+
[key: string]: string;
|
|
2948
|
+
};
|
|
2949
|
+
timeout_ms?: number;
|
|
2950
|
+
} | {
|
|
2951
|
+
type: "stdio";
|
|
2952
|
+
name: string;
|
|
2953
|
+
command: string;
|
|
2954
|
+
args?: Array<string>;
|
|
2955
|
+
env?: {
|
|
2956
|
+
[key: string]: string;
|
|
2957
|
+
};
|
|
2958
|
+
timeout_ms?: number;
|
|
2959
|
+
}>;
|
|
2960
|
+
model: {
|
|
2961
|
+
id: string;
|
|
2962
|
+
effort?: {
|
|
2963
|
+
type: "low";
|
|
2964
|
+
} | {
|
|
2965
|
+
type: "medium";
|
|
2966
|
+
} | {
|
|
2967
|
+
type: "high";
|
|
2968
|
+
} | {
|
|
2969
|
+
type: "xhigh";
|
|
2970
|
+
} | {
|
|
2971
|
+
type: "max";
|
|
2972
|
+
};
|
|
2973
|
+
inference_geo?: string;
|
|
2974
|
+
speed?: "standard" | "fast";
|
|
2975
|
+
settings?: {
|
|
2976
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2977
|
+
max_output_tokens?: number;
|
|
2978
|
+
};
|
|
2979
|
+
};
|
|
2980
|
+
multiagent: null | {
|
|
2981
|
+
agents: Array<{
|
|
2982
|
+
model: string;
|
|
2983
|
+
type: "advisor";
|
|
2984
|
+
} | {
|
|
2985
|
+
id: string;
|
|
2986
|
+
description: null | string;
|
|
2987
|
+
mcp_servers: Array<{
|
|
2988
|
+
type: "url";
|
|
2989
|
+
name: string;
|
|
2990
|
+
url: string;
|
|
2991
|
+
headers?: {
|
|
2992
|
+
[key: string]: string;
|
|
2993
|
+
};
|
|
2994
|
+
timeout_ms?: number;
|
|
2995
|
+
} | {
|
|
2996
|
+
type: "sse";
|
|
2997
|
+
name: string;
|
|
2998
|
+
url: string;
|
|
2999
|
+
headers?: {
|
|
3000
|
+
[key: string]: string;
|
|
3001
|
+
};
|
|
3002
|
+
timeout_ms?: number;
|
|
3003
|
+
} | {
|
|
3004
|
+
type: "stdio";
|
|
3005
|
+
name: string;
|
|
3006
|
+
command: string;
|
|
3007
|
+
args?: Array<string>;
|
|
3008
|
+
env?: {
|
|
3009
|
+
[key: string]: string;
|
|
3010
|
+
};
|
|
3011
|
+
timeout_ms?: number;
|
|
3012
|
+
}>;
|
|
3013
|
+
model: {
|
|
3014
|
+
id: string;
|
|
3015
|
+
effort?: {
|
|
3016
|
+
type: "low";
|
|
3017
|
+
} | {
|
|
3018
|
+
type: "medium";
|
|
3019
|
+
} | {
|
|
3020
|
+
type: "high";
|
|
3021
|
+
} | {
|
|
3022
|
+
type: "xhigh";
|
|
3023
|
+
} | {
|
|
3024
|
+
type: "max";
|
|
3025
|
+
};
|
|
3026
|
+
inference_geo?: string;
|
|
3027
|
+
speed?: "standard" | "fast";
|
|
3028
|
+
};
|
|
3029
|
+
name: string;
|
|
3030
|
+
skills: Array<{
|
|
3031
|
+
skill_id: string;
|
|
3032
|
+
type: "anthropic";
|
|
3033
|
+
version: string;
|
|
3034
|
+
} | {
|
|
3035
|
+
skill_id: string;
|
|
3036
|
+
type: "custom";
|
|
3037
|
+
version: string;
|
|
3038
|
+
}>;
|
|
3039
|
+
system: null | string;
|
|
3040
|
+
tools: Array<{
|
|
3041
|
+
configs: Array<{
|
|
3042
|
+
enabled: boolean;
|
|
3043
|
+
name: "bash";
|
|
3044
|
+
permission_policy: {
|
|
3045
|
+
type: "always_allow";
|
|
3046
|
+
} | {
|
|
3047
|
+
type: "always_ask";
|
|
3048
|
+
} | {
|
|
3049
|
+
type: "auto";
|
|
3050
|
+
};
|
|
3051
|
+
type: "bash";
|
|
3052
|
+
} | {
|
|
3053
|
+
enabled: boolean;
|
|
3054
|
+
name: "edit";
|
|
3055
|
+
permission_policy: {
|
|
3056
|
+
type: "always_allow";
|
|
3057
|
+
} | {
|
|
3058
|
+
type: "always_ask";
|
|
3059
|
+
} | {
|
|
3060
|
+
type: "auto";
|
|
3061
|
+
};
|
|
3062
|
+
type: "edit";
|
|
3063
|
+
} | {
|
|
3064
|
+
enabled: boolean;
|
|
3065
|
+
name: "read";
|
|
3066
|
+
permission_policy: {
|
|
3067
|
+
type: "always_allow";
|
|
3068
|
+
} | {
|
|
3069
|
+
type: "always_ask";
|
|
3070
|
+
} | {
|
|
3071
|
+
type: "auto";
|
|
3072
|
+
};
|
|
3073
|
+
type: "read";
|
|
3074
|
+
} | {
|
|
3075
|
+
enabled: boolean;
|
|
3076
|
+
name: "write";
|
|
3077
|
+
permission_policy: {
|
|
3078
|
+
type: "always_allow";
|
|
3079
|
+
} | {
|
|
3080
|
+
type: "always_ask";
|
|
3081
|
+
} | {
|
|
3082
|
+
type: "auto";
|
|
3083
|
+
};
|
|
3084
|
+
type: "write";
|
|
3085
|
+
} | {
|
|
3086
|
+
enabled: boolean;
|
|
3087
|
+
name: "glob";
|
|
3088
|
+
permission_policy: {
|
|
3089
|
+
type: "always_allow";
|
|
3090
|
+
} | {
|
|
3091
|
+
type: "always_ask";
|
|
3092
|
+
} | {
|
|
3093
|
+
type: "auto";
|
|
3094
|
+
};
|
|
3095
|
+
type: "glob";
|
|
3096
|
+
} | {
|
|
3097
|
+
enabled: boolean;
|
|
3098
|
+
name: "grep";
|
|
3099
|
+
permission_policy: {
|
|
3100
|
+
type: "always_allow";
|
|
3101
|
+
} | {
|
|
3102
|
+
type: "always_ask";
|
|
3103
|
+
} | {
|
|
3104
|
+
type: "auto";
|
|
3105
|
+
};
|
|
3106
|
+
type: "grep";
|
|
3107
|
+
} | {
|
|
3108
|
+
enabled: boolean;
|
|
3109
|
+
name: "web_fetch";
|
|
3110
|
+
permission_policy: {
|
|
3111
|
+
type: "always_allow";
|
|
3112
|
+
} | {
|
|
3113
|
+
type: "always_ask";
|
|
3114
|
+
} | {
|
|
3115
|
+
type: "auto";
|
|
3116
|
+
};
|
|
3117
|
+
type: "web_fetch";
|
|
3118
|
+
allowed_domains?: Array<string>;
|
|
3119
|
+
blocked_domains?: Array<string>;
|
|
3120
|
+
max_content_tokens?: null | number;
|
|
3121
|
+
} | {
|
|
3122
|
+
enabled: boolean;
|
|
3123
|
+
name: "web_search";
|
|
3124
|
+
permission_policy: {
|
|
3125
|
+
type: "always_allow";
|
|
3126
|
+
} | {
|
|
3127
|
+
type: "always_ask";
|
|
3128
|
+
} | {
|
|
3129
|
+
type: "auto";
|
|
3130
|
+
};
|
|
3131
|
+
type: "web_search";
|
|
3132
|
+
allowed_domains?: Array<string>;
|
|
3133
|
+
blocked_domains?: Array<string>;
|
|
3134
|
+
user_location?: null | {
|
|
3135
|
+
type: "approximate";
|
|
3136
|
+
city?: null | string;
|
|
3137
|
+
country?: null | string;
|
|
3138
|
+
region?: null | string;
|
|
3139
|
+
timezone?: null | string;
|
|
3140
|
+
};
|
|
3141
|
+
} | {
|
|
3142
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
3143
|
+
enabled: boolean;
|
|
3144
|
+
permission_policy: {
|
|
3145
|
+
type: "always_allow" | "always_ask";
|
|
3146
|
+
};
|
|
3147
|
+
}>;
|
|
3148
|
+
default_config: {
|
|
3149
|
+
enabled: boolean;
|
|
3150
|
+
permission_policy: {
|
|
3151
|
+
type: "always_allow";
|
|
3152
|
+
} | {
|
|
3153
|
+
type: "always_ask";
|
|
3154
|
+
} | {
|
|
3155
|
+
type: "auto";
|
|
3156
|
+
};
|
|
3157
|
+
};
|
|
3158
|
+
type: "agent_toolset_20260401";
|
|
3159
|
+
} | {
|
|
3160
|
+
type: "mcp_toolset";
|
|
3161
|
+
mcp_server_name: string;
|
|
3162
|
+
default_config?: {
|
|
3163
|
+
enabled?: boolean | null;
|
|
3164
|
+
permission_policy?: null | {
|
|
3165
|
+
type: "always_allow" | "always_ask";
|
|
3166
|
+
};
|
|
3167
|
+
} | null;
|
|
3168
|
+
configs?: Array<{
|
|
3169
|
+
name: string;
|
|
3170
|
+
enabled?: boolean | null;
|
|
3171
|
+
permission_policy?: null | {
|
|
3172
|
+
type: "always_allow" | "always_ask";
|
|
3173
|
+
};
|
|
3174
|
+
}> | null;
|
|
3175
|
+
} | {
|
|
3176
|
+
description: string;
|
|
3177
|
+
input_schema: {
|
|
3178
|
+
type: "object";
|
|
3179
|
+
properties?: null | {
|
|
3180
|
+
[key: string]: unknown;
|
|
3181
|
+
};
|
|
3182
|
+
required?: null | Array<string>;
|
|
3183
|
+
[key: string]: unknown;
|
|
3184
|
+
};
|
|
3185
|
+
name: string;
|
|
3186
|
+
type: "custom";
|
|
3187
|
+
}>;
|
|
3188
|
+
type: "agent";
|
|
3189
|
+
version: number;
|
|
3190
|
+
}>;
|
|
3191
|
+
type: "coordinator";
|
|
2683
3192
|
};
|
|
2684
|
-
};
|
|
2685
|
-
multiagent: null | Types.AgentManaged171;
|
|
2686
|
-
name: string;
|
|
2687
|
-
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
2688
|
-
system: null | string;
|
|
2689
|
-
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
2690
|
-
type: "agent";
|
|
2691
|
-
version: number;
|
|
2692
|
-
};
|
|
2693
|
-
archived_at: null | string;
|
|
2694
|
-
budget: null | Types.AgentManaged76;
|
|
2695
|
-
created_at: string;
|
|
2696
|
-
environment_id?: string;
|
|
2697
|
-
metadata: Types.AgentManaged173;
|
|
2698
|
-
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
2699
|
-
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
2700
|
-
stats: Types.AgentManaged178;
|
|
2701
|
-
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
2702
|
-
title: null | string;
|
|
2703
|
-
type: "session";
|
|
2704
|
-
updated_at: string;
|
|
2705
|
-
usage: Types.AgentManaged179;
|
|
2706
|
-
vault_ids: Array<string>;
|
|
2707
|
-
deployment_id?: null | string;
|
|
2708
|
-
cwd: string;
|
|
2709
|
-
computer_id?: string;
|
|
2710
|
-
model?: {
|
|
2711
|
-
id: string;
|
|
2712
|
-
thinking: {
|
|
2713
|
-
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
2714
|
-
can_disable: boolean;
|
|
2715
|
-
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
2716
|
-
} | null;
|
|
2717
|
-
};
|
|
2718
|
-
thinking?: {
|
|
2719
|
-
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2720
|
-
} | null;
|
|
2721
|
-
forked_from?: {
|
|
2722
|
-
session_id: string;
|
|
2723
|
-
message_id: string;
|
|
2724
|
-
} | null;
|
|
2725
|
-
readonly external_user_id: string | null;
|
|
2726
|
-
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2727
|
-
}>;
|
|
2728
|
-
artifacts: {
|
|
2729
|
-
contentUrl: {
|
|
2730
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
|
|
2731
|
-
url: string;
|
|
2732
|
-
expire_time: string;
|
|
2733
|
-
}>;
|
|
2734
|
-
};
|
|
2735
|
-
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
|
|
2736
|
-
data: Array<{
|
|
2737
|
-
object: "artifact";
|
|
2738
|
-
id: string;
|
|
2739
|
-
session_id: string;
|
|
2740
|
-
run_id: string | null;
|
|
2741
3193
|
name: string;
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2746
|
-
filename: string;
|
|
2747
|
-
mime_type: string;
|
|
2748
|
-
bytes: number;
|
|
3194
|
+
skills: Array<{
|
|
3195
|
+
skill_id: string;
|
|
3196
|
+
type: "anthropic";
|
|
3197
|
+
version: string;
|
|
2749
3198
|
} | {
|
|
2750
|
-
|
|
2751
|
-
|
|
2752
|
-
|
|
2753
|
-
href: string;
|
|
2754
|
-
title: string | null;
|
|
3199
|
+
skill_id: string;
|
|
3200
|
+
type: "custom";
|
|
3201
|
+
version: string;
|
|
2755
3202
|
}>;
|
|
2756
|
-
|
|
2757
|
-
|
|
2758
|
-
|
|
3203
|
+
system: null | string;
|
|
3204
|
+
tools: Array<{
|
|
3205
|
+
configs: Array<{
|
|
3206
|
+
enabled: boolean;
|
|
3207
|
+
name: "bash";
|
|
3208
|
+
permission_policy: {
|
|
3209
|
+
type: "always_allow";
|
|
3210
|
+
} | {
|
|
3211
|
+
type: "always_ask";
|
|
3212
|
+
} | {
|
|
3213
|
+
type: "auto";
|
|
3214
|
+
};
|
|
3215
|
+
type: "bash";
|
|
3216
|
+
} | {
|
|
3217
|
+
enabled: boolean;
|
|
3218
|
+
name: "edit";
|
|
3219
|
+
permission_policy: {
|
|
3220
|
+
type: "always_allow";
|
|
3221
|
+
} | {
|
|
3222
|
+
type: "always_ask";
|
|
3223
|
+
} | {
|
|
3224
|
+
type: "auto";
|
|
3225
|
+
};
|
|
3226
|
+
type: "edit";
|
|
3227
|
+
} | {
|
|
3228
|
+
enabled: boolean;
|
|
3229
|
+
name: "read";
|
|
3230
|
+
permission_policy: {
|
|
3231
|
+
type: "always_allow";
|
|
3232
|
+
} | {
|
|
3233
|
+
type: "always_ask";
|
|
3234
|
+
} | {
|
|
3235
|
+
type: "auto";
|
|
3236
|
+
};
|
|
3237
|
+
type: "read";
|
|
3238
|
+
} | {
|
|
3239
|
+
enabled: boolean;
|
|
3240
|
+
name: "write";
|
|
3241
|
+
permission_policy: {
|
|
3242
|
+
type: "always_allow";
|
|
3243
|
+
} | {
|
|
3244
|
+
type: "always_ask";
|
|
3245
|
+
} | {
|
|
3246
|
+
type: "auto";
|
|
3247
|
+
};
|
|
3248
|
+
type: "write";
|
|
3249
|
+
} | {
|
|
3250
|
+
enabled: boolean;
|
|
3251
|
+
name: "glob";
|
|
3252
|
+
permission_policy: {
|
|
3253
|
+
type: "always_allow";
|
|
3254
|
+
} | {
|
|
3255
|
+
type: "always_ask";
|
|
3256
|
+
} | {
|
|
3257
|
+
type: "auto";
|
|
3258
|
+
};
|
|
3259
|
+
type: "glob";
|
|
3260
|
+
} | {
|
|
3261
|
+
enabled: boolean;
|
|
3262
|
+
name: "grep";
|
|
3263
|
+
permission_policy: {
|
|
3264
|
+
type: "always_allow";
|
|
3265
|
+
} | {
|
|
3266
|
+
type: "always_ask";
|
|
3267
|
+
} | {
|
|
3268
|
+
type: "auto";
|
|
3269
|
+
};
|
|
3270
|
+
type: "grep";
|
|
3271
|
+
} | {
|
|
3272
|
+
enabled: boolean;
|
|
3273
|
+
name: "web_fetch";
|
|
3274
|
+
permission_policy: {
|
|
3275
|
+
type: "always_allow";
|
|
3276
|
+
} | {
|
|
3277
|
+
type: "always_ask";
|
|
3278
|
+
} | {
|
|
3279
|
+
type: "auto";
|
|
3280
|
+
};
|
|
3281
|
+
type: "web_fetch";
|
|
3282
|
+
allowed_domains?: Array<string>;
|
|
3283
|
+
blocked_domains?: Array<string>;
|
|
3284
|
+
max_content_tokens?: null | number;
|
|
3285
|
+
} | {
|
|
3286
|
+
enabled: boolean;
|
|
3287
|
+
name: "web_search";
|
|
3288
|
+
permission_policy: {
|
|
3289
|
+
type: "always_allow";
|
|
3290
|
+
} | {
|
|
3291
|
+
type: "always_ask";
|
|
3292
|
+
} | {
|
|
3293
|
+
type: "auto";
|
|
3294
|
+
};
|
|
3295
|
+
type: "web_search";
|
|
3296
|
+
allowed_domains?: Array<string>;
|
|
3297
|
+
blocked_domains?: Array<string>;
|
|
3298
|
+
user_location?: null | {
|
|
3299
|
+
type: "approximate";
|
|
3300
|
+
city?: null | string;
|
|
3301
|
+
country?: null | string;
|
|
3302
|
+
region?: null | string;
|
|
3303
|
+
timezone?: null | string;
|
|
3304
|
+
};
|
|
3305
|
+
} | {
|
|
3306
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
3307
|
+
enabled: boolean;
|
|
3308
|
+
permission_policy: {
|
|
3309
|
+
type: "always_allow" | "always_ask";
|
|
3310
|
+
};
|
|
3311
|
+
}>;
|
|
3312
|
+
default_config: {
|
|
3313
|
+
enabled: boolean;
|
|
3314
|
+
permission_policy: {
|
|
3315
|
+
type: "always_allow";
|
|
3316
|
+
} | {
|
|
3317
|
+
type: "always_ask";
|
|
3318
|
+
} | {
|
|
3319
|
+
type: "auto";
|
|
3320
|
+
};
|
|
3321
|
+
};
|
|
3322
|
+
type: "agent_toolset_20260401";
|
|
3323
|
+
} | {
|
|
3324
|
+
type: "mcp_toolset";
|
|
3325
|
+
mcp_server_name: string;
|
|
3326
|
+
default_config?: {
|
|
3327
|
+
enabled?: boolean | null;
|
|
3328
|
+
permission_policy?: null | {
|
|
3329
|
+
type: "always_allow" | "always_ask";
|
|
3330
|
+
};
|
|
3331
|
+
} | null;
|
|
3332
|
+
configs?: Array<{
|
|
3333
|
+
name: string;
|
|
3334
|
+
enabled?: boolean | null;
|
|
3335
|
+
permission_policy?: null | {
|
|
3336
|
+
type: "always_allow" | "always_ask";
|
|
3337
|
+
};
|
|
3338
|
+
}> | null;
|
|
3339
|
+
} | {
|
|
3340
|
+
description: string;
|
|
3341
|
+
input_schema: {
|
|
3342
|
+
type: "object";
|
|
3343
|
+
properties?: null | {
|
|
3344
|
+
[key: string]: unknown;
|
|
3345
|
+
};
|
|
3346
|
+
required?: null | Array<string>;
|
|
3347
|
+
[key: string]: unknown;
|
|
3348
|
+
};
|
|
3349
|
+
name: string;
|
|
3350
|
+
type: "custom";
|
|
3351
|
+
}>;
|
|
3352
|
+
type: "agent";
|
|
3353
|
+
version: number;
|
|
3354
|
+
};
|
|
3355
|
+
archived_at: null | string;
|
|
3356
|
+
budget: null | {
|
|
3357
|
+
max_list_cost: {
|
|
3358
|
+
amount: string;
|
|
3359
|
+
currency: "USD";
|
|
3360
|
+
};
|
|
3361
|
+
type: "limit";
|
|
3362
|
+
};
|
|
3363
|
+
created_at: string;
|
|
3364
|
+
environment_id?: string;
|
|
3365
|
+
metadata: {
|
|
3366
|
+
[key: string]: string;
|
|
3367
|
+
};
|
|
3368
|
+
outcome_evaluations: Array<{
|
|
3369
|
+
completed_at: null | string;
|
|
3370
|
+
description: string;
|
|
3371
|
+
explanation: null | string;
|
|
3372
|
+
iteration: number;
|
|
3373
|
+
outcome_id: string;
|
|
3374
|
+
result: string;
|
|
3375
|
+
type: "outcome_evaluation";
|
|
3376
|
+
}>;
|
|
3377
|
+
resources: Array<{
|
|
3378
|
+
id: string;
|
|
3379
|
+
created_at: string;
|
|
3380
|
+
mount_path: string;
|
|
3381
|
+
type: "github_repository";
|
|
3382
|
+
updated_at: string;
|
|
3383
|
+
url: string;
|
|
3384
|
+
checkout?: null | {
|
|
3385
|
+
name: string;
|
|
3386
|
+
type: "branch";
|
|
3387
|
+
} | {
|
|
3388
|
+
sha: string;
|
|
3389
|
+
type: "commit";
|
|
3390
|
+
};
|
|
3391
|
+
} | {
|
|
3392
|
+
id: string;
|
|
3393
|
+
created_at: string;
|
|
3394
|
+
file_id: string;
|
|
3395
|
+
mount_path: string;
|
|
3396
|
+
type: "file";
|
|
3397
|
+
updated_at: string;
|
|
3398
|
+
} | {
|
|
3399
|
+
memory_store_id: string;
|
|
3400
|
+
type: "memory_store";
|
|
3401
|
+
access?: null | "read_write" | "read_only";
|
|
3402
|
+
description?: string;
|
|
3403
|
+
instructions?: null | string;
|
|
3404
|
+
mount_path?: null | string;
|
|
3405
|
+
name?: null | string;
|
|
3406
|
+
}>;
|
|
3407
|
+
stats: {
|
|
3408
|
+
active_seconds?: number;
|
|
3409
|
+
duration_seconds?: number;
|
|
3410
|
+
};
|
|
3411
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3412
|
+
title: null | string;
|
|
3413
|
+
type: "session";
|
|
3414
|
+
updated_at: string;
|
|
3415
|
+
usage: {
|
|
3416
|
+
active_seconds?: number;
|
|
3417
|
+
cache_creation?: {
|
|
3418
|
+
ephemeral_1h_input_tokens?: number;
|
|
3419
|
+
ephemeral_5m_input_tokens?: number;
|
|
3420
|
+
};
|
|
3421
|
+
cache_read_input_tokens?: number;
|
|
3422
|
+
input_tokens?: number;
|
|
3423
|
+
list_cost?: null | {
|
|
3424
|
+
amount: string;
|
|
3425
|
+
currency: "USD";
|
|
3426
|
+
};
|
|
3427
|
+
output_tokens?: number;
|
|
3428
|
+
server_tool_use?: null | {
|
|
3429
|
+
web_fetch_requests?: number;
|
|
3430
|
+
web_search_requests?: number;
|
|
3431
|
+
};
|
|
3432
|
+
cost_by_product?: {
|
|
3433
|
+
[key: string]: string;
|
|
3434
|
+
};
|
|
3435
|
+
subagent_cost_micro_usd?: number;
|
|
3436
|
+
};
|
|
3437
|
+
vault_ids: Array<string>;
|
|
3438
|
+
deployment_id?: null | string;
|
|
3439
|
+
cwd: string;
|
|
3440
|
+
workspace?: {
|
|
3441
|
+
kind: "shared" | "isolated";
|
|
3442
|
+
path?: string;
|
|
3443
|
+
branch?: string;
|
|
3444
|
+
};
|
|
3445
|
+
computer_id?: string;
|
|
3446
|
+
model?: {
|
|
3447
|
+
id: string;
|
|
3448
|
+
thinking: {
|
|
3449
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
3450
|
+
can_disable: boolean;
|
|
3451
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
3452
|
+
} | null;
|
|
3453
|
+
};
|
|
3454
|
+
thinking?: {
|
|
3455
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3456
|
+
} | null;
|
|
3457
|
+
forked_from?: {
|
|
3458
|
+
session_id: string;
|
|
3459
|
+
message_id: string;
|
|
3460
|
+
} | null;
|
|
3461
|
+
readonly external_user_id: string | null;
|
|
3462
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3463
|
+
}>;
|
|
3464
|
+
};
|
|
3465
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
|
|
3466
|
+
id: string;
|
|
3467
|
+
agent: {
|
|
3468
|
+
id: string;
|
|
3469
|
+
description: null | string;
|
|
3470
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
3471
|
+
model: {
|
|
3472
|
+
id: string;
|
|
3473
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3474
|
+
inference_geo?: string;
|
|
3475
|
+
speed?: "standard" | "fast";
|
|
3476
|
+
settings?: {
|
|
3477
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3478
|
+
max_output_tokens?: number;
|
|
3479
|
+
};
|
|
3480
|
+
};
|
|
3481
|
+
multiagent: null | Types.AgentManaged171;
|
|
3482
|
+
name: string;
|
|
3483
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
3484
|
+
system: null | string;
|
|
3485
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
3486
|
+
type: "agent";
|
|
3487
|
+
version: number;
|
|
3488
|
+
};
|
|
3489
|
+
archived_at: null | string;
|
|
3490
|
+
budget: null | Types.AgentManaged76;
|
|
3491
|
+
created_at: string;
|
|
3492
|
+
environment_id?: string;
|
|
3493
|
+
metadata: Types.AgentManaged173;
|
|
3494
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
3495
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
3496
|
+
stats: Types.AgentManaged178;
|
|
3497
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3498
|
+
title: null | string;
|
|
3499
|
+
type: "session";
|
|
3500
|
+
updated_at: string;
|
|
3501
|
+
usage: Types.AgentManaged179;
|
|
3502
|
+
vault_ids: Array<string>;
|
|
3503
|
+
deployment_id?: null | string;
|
|
3504
|
+
cwd: string;
|
|
3505
|
+
workspace?: {
|
|
3506
|
+
kind: "shared" | "isolated";
|
|
3507
|
+
path?: string;
|
|
3508
|
+
branch?: string;
|
|
3509
|
+
};
|
|
3510
|
+
computer_id?: string;
|
|
3511
|
+
model?: {
|
|
3512
|
+
id: string;
|
|
3513
|
+
thinking: {
|
|
3514
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
3515
|
+
can_disable: boolean;
|
|
3516
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
3517
|
+
} | null;
|
|
3518
|
+
};
|
|
3519
|
+
thinking?: {
|
|
3520
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3521
|
+
} | null;
|
|
3522
|
+
forked_from?: {
|
|
3523
|
+
session_id: string;
|
|
3524
|
+
message_id: string;
|
|
3525
|
+
} | null;
|
|
3526
|
+
readonly external_user_id: string | null;
|
|
3527
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3528
|
+
}>;
|
|
3529
|
+
artifacts: {
|
|
3530
|
+
contentUrl: {
|
|
3531
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
|
|
3532
|
+
url: string;
|
|
3533
|
+
expire_time: string;
|
|
3534
|
+
}>;
|
|
3535
|
+
};
|
|
3536
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
|
|
3537
|
+
data: Array<{
|
|
3538
|
+
object: "artifact";
|
|
3539
|
+
id: string;
|
|
3540
|
+
session_id: string;
|
|
3541
|
+
run_id: string | null;
|
|
3542
|
+
name: string;
|
|
3543
|
+
version: number;
|
|
3544
|
+
parts: Array<{
|
|
3545
|
+
kind: "file";
|
|
3546
|
+
file_id: string;
|
|
3547
|
+
filename: string;
|
|
3548
|
+
mime_type: string;
|
|
3549
|
+
bytes: number;
|
|
3550
|
+
} | {
|
|
3551
|
+
kind: "object";
|
|
3552
|
+
object_type: "canvas" | "media_asset";
|
|
3553
|
+
object_id: string;
|
|
3554
|
+
href: string;
|
|
3555
|
+
title: string | null;
|
|
3556
|
+
}>;
|
|
3557
|
+
source_hrefs: Array<string>;
|
|
3558
|
+
create_time: string;
|
|
3559
|
+
update_time: string;
|
|
2759
3560
|
}>;
|
|
2760
3561
|
}>;
|
|
2761
3562
|
};
|
|
@@ -2868,6 +3669,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
2868
3669
|
vault_ids: Array<string>;
|
|
2869
3670
|
deployment_id?: null | string;
|
|
2870
3671
|
cwd: string;
|
|
3672
|
+
workspace?: {
|
|
3673
|
+
kind: "shared" | "isolated";
|
|
3674
|
+
path?: string;
|
|
3675
|
+
branch?: string;
|
|
3676
|
+
};
|
|
2871
3677
|
computer_id?: string;
|
|
2872
3678
|
model?: {
|
|
2873
3679
|
id: string;
|
|
@@ -2888,6 +3694,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
2888
3694
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2889
3695
|
}>;
|
|
2890
3696
|
delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
|
|
3697
|
+
dictations: {
|
|
3698
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
|
|
3699
|
+
id: string;
|
|
3700
|
+
push_url: string;
|
|
3701
|
+
expires_at: string;
|
|
3702
|
+
}>;
|
|
3703
|
+
};
|
|
2891
3704
|
events: {
|
|
2892
3705
|
list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
|
|
2893
3706
|
data: Array<{
|
|
@@ -3040,6 +3853,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3040
3853
|
processed_at: string;
|
|
3041
3854
|
forked_from_session_id: string;
|
|
3042
3855
|
forked_from_message_id: string;
|
|
3856
|
+
message_id?: string;
|
|
3857
|
+
session_thread_id?: string | null;
|
|
3043
3858
|
} | {
|
|
3044
3859
|
id: string;
|
|
3045
3860
|
type: "session.goal_changed";
|
|
@@ -3070,6 +3885,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3070
3885
|
created_at: number;
|
|
3071
3886
|
updated_at: number;
|
|
3072
3887
|
} | null;
|
|
3888
|
+
message_id?: string;
|
|
3889
|
+
session_thread_id?: string | null;
|
|
3073
3890
|
} | {
|
|
3074
3891
|
id: string;
|
|
3075
3892
|
type: "session.goal_verification";
|
|
@@ -3084,26 +3901,179 @@ export declare function createAgent(transport: Transport): {
|
|
|
3084
3901
|
reason: string;
|
|
3085
3902
|
next_action?: string;
|
|
3086
3903
|
};
|
|
3904
|
+
message_id?: string;
|
|
3905
|
+
session_thread_id?: string | null;
|
|
3087
3906
|
} | {
|
|
3088
3907
|
id: string;
|
|
3089
3908
|
type: "user.steer";
|
|
3090
3909
|
event_id: string;
|
|
3091
3910
|
processed_at: string;
|
|
3911
|
+
message_id?: string;
|
|
3912
|
+
session_thread_id?: string | null;
|
|
3092
3913
|
} | {
|
|
3093
3914
|
id: string;
|
|
3094
|
-
type: "
|
|
3915
|
+
type: "cognition.surfaced";
|
|
3916
|
+
processed_at: string;
|
|
3917
|
+
worker_session_id: string;
|
|
3918
|
+
name: string;
|
|
3919
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
3920
|
+
experience_id?: string;
|
|
3921
|
+
result?: {
|
|
3922
|
+
message?: string;
|
|
3923
|
+
links?: Array<string>;
|
|
3924
|
+
files?: Array<{
|
|
3925
|
+
name?: string;
|
|
3926
|
+
href?: string;
|
|
3927
|
+
}>;
|
|
3928
|
+
held?: Array<{
|
|
3929
|
+
id?: string;
|
|
3930
|
+
summary?: string;
|
|
3931
|
+
effect?: string;
|
|
3932
|
+
method?: string;
|
|
3933
|
+
path?: string;
|
|
3934
|
+
expires_at?: string;
|
|
3935
|
+
}>;
|
|
3936
|
+
};
|
|
3937
|
+
} | {
|
|
3938
|
+
id: string;
|
|
3939
|
+
type: "cognition.intention_woken";
|
|
3940
|
+
processed_at: string;
|
|
3941
|
+
node_id: string;
|
|
3942
|
+
reason: "open_engram" | "assignment";
|
|
3943
|
+
} | {
|
|
3944
|
+
id: string;
|
|
3945
|
+
type: "agent.operation_approval_requested";
|
|
3946
|
+
processed_at: string;
|
|
3947
|
+
approval_id: string;
|
|
3948
|
+
operation_id: string;
|
|
3949
|
+
effect: "outward" | "irreversible";
|
|
3950
|
+
method: string;
|
|
3951
|
+
path: string;
|
|
3952
|
+
summary: string;
|
|
3953
|
+
expires_at: string;
|
|
3954
|
+
worker_session_id?: string;
|
|
3955
|
+
worker_name?: string;
|
|
3956
|
+
} | {
|
|
3957
|
+
id: string;
|
|
3958
|
+
type: "agent.operation_approval_decided";
|
|
3959
|
+
processed_at: string;
|
|
3960
|
+
approval_id: string;
|
|
3961
|
+
status: "approved" | "refused" | "expired";
|
|
3962
|
+
} | {
|
|
3963
|
+
id: string;
|
|
3964
|
+
type: "session.prompt_configuration_mismatch";
|
|
3965
|
+
processed_at: string;
|
|
3966
|
+
pinned_revision_id: string;
|
|
3967
|
+
current_revision_id: string;
|
|
3968
|
+
} | {
|
|
3969
|
+
id: string;
|
|
3970
|
+
type: "session.prompt_rev_changed";
|
|
3971
|
+
processed_at: string;
|
|
3972
|
+
config_revision_id: string;
|
|
3973
|
+
changed: Array<{
|
|
3974
|
+
name: string;
|
|
3975
|
+
rev: string | null;
|
|
3976
|
+
}>;
|
|
3977
|
+
} | {
|
|
3978
|
+
id: string;
|
|
3979
|
+
type: "session.computer_tier";
|
|
3980
|
+
processed_at: string;
|
|
3981
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
3982
|
+
tier: "light" | "heavy";
|
|
3983
|
+
duration_ms: number;
|
|
3984
|
+
error_code?: string;
|
|
3985
|
+
status?: {
|
|
3986
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
3987
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
3988
|
+
percent?: number;
|
|
3989
|
+
files_done?: number;
|
|
3990
|
+
files_total?: number;
|
|
3991
|
+
idle_release_at?: number;
|
|
3992
|
+
retry_at?: number;
|
|
3993
|
+
epoch?: number;
|
|
3994
|
+
heavy_instance?: string | null;
|
|
3995
|
+
heavy_paused?: boolean;
|
|
3996
|
+
};
|
|
3997
|
+
} | {
|
|
3998
|
+
id: string;
|
|
3999
|
+
type: "agent.artifact_delivered";
|
|
4000
|
+
processed_at: string;
|
|
4001
|
+
artifact: {
|
|
4002
|
+
object: "artifact";
|
|
4003
|
+
id: string;
|
|
4004
|
+
session_id: string;
|
|
4005
|
+
run_id: string | null;
|
|
4006
|
+
name: string;
|
|
4007
|
+
version: number;
|
|
4008
|
+
parts: Array<{
|
|
4009
|
+
[key: string]: unknown;
|
|
4010
|
+
}>;
|
|
4011
|
+
source_hrefs: Array<string>;
|
|
4012
|
+
create_time: string;
|
|
4013
|
+
update_time: string;
|
|
4014
|
+
};
|
|
4015
|
+
} | {
|
|
4016
|
+
id: string;
|
|
4017
|
+
type: "agent.image_generation";
|
|
3095
4018
|
processed_at: string;
|
|
3096
4019
|
tool_use_id: string;
|
|
3097
|
-
|
|
3098
|
-
|
|
3099
|
-
|
|
4020
|
+
index: number;
|
|
4021
|
+
total: number;
|
|
4022
|
+
status: string;
|
|
4023
|
+
mode?: string;
|
|
4024
|
+
aspect?: string;
|
|
4025
|
+
prompt?: string;
|
|
4026
|
+
model?: string;
|
|
4027
|
+
file_id?: string;
|
|
4028
|
+
label?: string;
|
|
4029
|
+
width?: number;
|
|
4030
|
+
height?: number;
|
|
4031
|
+
revised_prompt?: string;
|
|
4032
|
+
source_labels?: Array<string>;
|
|
4033
|
+
caption?: string;
|
|
4034
|
+
slot?: number | null;
|
|
4035
|
+
replaces?: string;
|
|
4036
|
+
version?: number;
|
|
4037
|
+
failure?: {
|
|
4038
|
+
reason?: string;
|
|
3100
4039
|
};
|
|
3101
|
-
|
|
3102
|
-
|
|
3103
|
-
|
|
3104
|
-
|
|
3105
|
-
|
|
4040
|
+
} | {
|
|
4041
|
+
id: string;
|
|
4042
|
+
type: "session.image_labeled";
|
|
4043
|
+
processed_at: string;
|
|
4044
|
+
label: string;
|
|
4045
|
+
file_id: string;
|
|
4046
|
+
origin: "generated" | "uploaded";
|
|
4047
|
+
filename: string;
|
|
4048
|
+
tool_use_id?: string;
|
|
4049
|
+
version?: number;
|
|
4050
|
+
replaced_file_id?: string;
|
|
4051
|
+
} | {
|
|
4052
|
+
id: string;
|
|
4053
|
+
type: "session.image_set_planned";
|
|
4054
|
+
processed_at: string;
|
|
4055
|
+
tool_use_id: string;
|
|
4056
|
+
items: Array<unknown>;
|
|
4057
|
+
title?: string;
|
|
4058
|
+
} | {
|
|
4059
|
+
id: string;
|
|
4060
|
+
type: "session.project_attached";
|
|
4061
|
+
processed_at: string;
|
|
4062
|
+
project: {
|
|
4063
|
+
id: string;
|
|
4064
|
+
name: string;
|
|
4065
|
+
path: string;
|
|
3106
4066
|
};
|
|
4067
|
+
message_id?: string;
|
|
4068
|
+
session_thread_id?: string | null;
|
|
4069
|
+
} | {
|
|
4070
|
+
id: string;
|
|
4071
|
+
type: "session.project_detached";
|
|
4072
|
+
processed_at: string;
|
|
4073
|
+
project_id: string;
|
|
4074
|
+
reason?: "project_removed";
|
|
4075
|
+
message_id?: string;
|
|
4076
|
+
session_thread_id?: string | null;
|
|
3107
4077
|
}>;
|
|
3108
4078
|
next_page: string | null;
|
|
3109
4079
|
}>;
|
|
@@ -3124,21 +4094,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3124
4094
|
type: "user.steer";
|
|
3125
4095
|
event_id: string;
|
|
3126
4096
|
processed_at: string;
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
type: "user.tool_confirmation";
|
|
3130
|
-
processed_at: string;
|
|
3131
|
-
tool_use_id: string;
|
|
3132
|
-
result: "allow";
|
|
3133
|
-
answers: {
|
|
3134
|
-
[key: string]: string;
|
|
3135
|
-
};
|
|
3136
|
-
annotations?: {
|
|
3137
|
-
[key: string]: {
|
|
3138
|
-
preview?: string;
|
|
3139
|
-
notes?: string;
|
|
3140
|
-
};
|
|
3141
|
-
};
|
|
4097
|
+
message_id?: string;
|
|
4098
|
+
session_thread_id?: string | null;
|
|
3142
4099
|
}>;
|
|
3143
4100
|
}>;
|
|
3144
4101
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -3654,6 +4611,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3654
4611
|
vault_ids: Array<string>;
|
|
3655
4612
|
deployment_id?: null | string;
|
|
3656
4613
|
cwd: string;
|
|
4614
|
+
workspace?: {
|
|
4615
|
+
kind: "shared" | "isolated";
|
|
4616
|
+
path?: string;
|
|
4617
|
+
branch?: string;
|
|
4618
|
+
};
|
|
3657
4619
|
computer_id?: string;
|
|
3658
4620
|
model?: {
|
|
3659
4621
|
id: string;
|
|
@@ -3689,31 +4651,574 @@ export declare function createAgent(transport: Transport): {
|
|
|
3689
4651
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3690
4652
|
max_output_tokens?: number;
|
|
3691
4653
|
};
|
|
3692
|
-
};
|
|
3693
|
-
multiagent: null | Types.AgentManaged171;
|
|
3694
|
-
name: string;
|
|
3695
|
-
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
3696
|
-
system: null | string;
|
|
3697
|
-
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
4654
|
+
};
|
|
4655
|
+
multiagent: null | Types.AgentManaged171;
|
|
4656
|
+
name: string;
|
|
4657
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
4658
|
+
system: null | string;
|
|
4659
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
4660
|
+
type: "agent";
|
|
4661
|
+
version: number;
|
|
4662
|
+
};
|
|
4663
|
+
archived_at: null | string;
|
|
4664
|
+
budget: null | Types.AgentManaged76;
|
|
4665
|
+
created_at: string;
|
|
4666
|
+
environment_id?: string;
|
|
4667
|
+
metadata: Types.AgentManaged173;
|
|
4668
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
4669
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4670
|
+
stats: Types.AgentManaged178;
|
|
4671
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4672
|
+
title: null | string;
|
|
4673
|
+
type: "session";
|
|
4674
|
+
updated_at: string;
|
|
4675
|
+
usage: Types.AgentManaged179;
|
|
4676
|
+
vault_ids: Array<string>;
|
|
4677
|
+
deployment_id?: null | string;
|
|
4678
|
+
cwd: string;
|
|
4679
|
+
workspace?: {
|
|
4680
|
+
kind: "shared" | "isolated";
|
|
4681
|
+
path?: string;
|
|
4682
|
+
branch?: string;
|
|
4683
|
+
};
|
|
4684
|
+
computer_id?: string;
|
|
4685
|
+
model?: {
|
|
4686
|
+
id: string;
|
|
4687
|
+
thinking: {
|
|
4688
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4689
|
+
can_disable: boolean;
|
|
4690
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4691
|
+
} | null;
|
|
4692
|
+
};
|
|
4693
|
+
thinking?: {
|
|
4694
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4695
|
+
} | null;
|
|
4696
|
+
forked_from?: {
|
|
4697
|
+
session_id: string;
|
|
4698
|
+
message_id: string;
|
|
4699
|
+
} | null;
|
|
4700
|
+
readonly external_user_id: string | null;
|
|
4701
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
4702
|
+
}>;
|
|
4703
|
+
next_page: string | null;
|
|
4704
|
+
}>;
|
|
4705
|
+
name: {
|
|
4706
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
|
|
4707
|
+
id: string;
|
|
4708
|
+
agent: {
|
|
4709
|
+
id: string;
|
|
4710
|
+
description: null | string;
|
|
4711
|
+
mcp_servers: Array<{
|
|
4712
|
+
type: "url";
|
|
4713
|
+
name: string;
|
|
4714
|
+
url: string;
|
|
4715
|
+
headers?: {
|
|
4716
|
+
[key: string]: string;
|
|
4717
|
+
};
|
|
4718
|
+
timeout_ms?: number;
|
|
4719
|
+
} | {
|
|
4720
|
+
type: "sse";
|
|
4721
|
+
name: string;
|
|
4722
|
+
url: string;
|
|
4723
|
+
headers?: {
|
|
4724
|
+
[key: string]: string;
|
|
4725
|
+
};
|
|
4726
|
+
timeout_ms?: number;
|
|
4727
|
+
} | {
|
|
4728
|
+
type: "stdio";
|
|
4729
|
+
name: string;
|
|
4730
|
+
command: string;
|
|
4731
|
+
args?: Array<string>;
|
|
4732
|
+
env?: {
|
|
4733
|
+
[key: string]: string;
|
|
4734
|
+
};
|
|
4735
|
+
timeout_ms?: number;
|
|
4736
|
+
}>;
|
|
4737
|
+
model: {
|
|
4738
|
+
id: string;
|
|
4739
|
+
effort?: {
|
|
4740
|
+
type: "low";
|
|
4741
|
+
} | {
|
|
4742
|
+
type: "medium";
|
|
4743
|
+
} | {
|
|
4744
|
+
type: "high";
|
|
4745
|
+
} | {
|
|
4746
|
+
type: "xhigh";
|
|
4747
|
+
} | {
|
|
4748
|
+
type: "max";
|
|
4749
|
+
};
|
|
4750
|
+
inference_geo?: string;
|
|
4751
|
+
speed?: "standard" | "fast";
|
|
4752
|
+
settings?: {
|
|
4753
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4754
|
+
max_output_tokens?: number;
|
|
4755
|
+
};
|
|
4756
|
+
};
|
|
4757
|
+
multiagent: null | {
|
|
4758
|
+
agents: Array<{
|
|
4759
|
+
model: string;
|
|
4760
|
+
type: "advisor";
|
|
4761
|
+
} | {
|
|
4762
|
+
id: string;
|
|
4763
|
+
description: null | string;
|
|
4764
|
+
mcp_servers: Array<{
|
|
4765
|
+
type: "url";
|
|
4766
|
+
name: string;
|
|
4767
|
+
url: string;
|
|
4768
|
+
headers?: {
|
|
4769
|
+
[key: string]: string;
|
|
4770
|
+
};
|
|
4771
|
+
timeout_ms?: number;
|
|
4772
|
+
} | {
|
|
4773
|
+
type: "sse";
|
|
4774
|
+
name: string;
|
|
4775
|
+
url: string;
|
|
4776
|
+
headers?: {
|
|
4777
|
+
[key: string]: string;
|
|
4778
|
+
};
|
|
4779
|
+
timeout_ms?: number;
|
|
4780
|
+
} | {
|
|
4781
|
+
type: "stdio";
|
|
4782
|
+
name: string;
|
|
4783
|
+
command: string;
|
|
4784
|
+
args?: Array<string>;
|
|
4785
|
+
env?: {
|
|
4786
|
+
[key: string]: string;
|
|
4787
|
+
};
|
|
4788
|
+
timeout_ms?: number;
|
|
4789
|
+
}>;
|
|
4790
|
+
model: {
|
|
4791
|
+
id: string;
|
|
4792
|
+
effort?: {
|
|
4793
|
+
type: "low";
|
|
4794
|
+
} | {
|
|
4795
|
+
type: "medium";
|
|
4796
|
+
} | {
|
|
4797
|
+
type: "high";
|
|
4798
|
+
} | {
|
|
4799
|
+
type: "xhigh";
|
|
4800
|
+
} | {
|
|
4801
|
+
type: "max";
|
|
4802
|
+
};
|
|
4803
|
+
inference_geo?: string;
|
|
4804
|
+
speed?: "standard" | "fast";
|
|
4805
|
+
};
|
|
4806
|
+
name: string;
|
|
4807
|
+
skills: Array<{
|
|
4808
|
+
skill_id: string;
|
|
4809
|
+
type: "anthropic";
|
|
4810
|
+
version: string;
|
|
4811
|
+
} | {
|
|
4812
|
+
skill_id: string;
|
|
4813
|
+
type: "custom";
|
|
4814
|
+
version: string;
|
|
4815
|
+
}>;
|
|
4816
|
+
system: null | string;
|
|
4817
|
+
tools: Array<{
|
|
4818
|
+
configs: Array<{
|
|
4819
|
+
enabled: boolean;
|
|
4820
|
+
name: "bash";
|
|
4821
|
+
permission_policy: {
|
|
4822
|
+
type: "always_allow";
|
|
4823
|
+
} | {
|
|
4824
|
+
type: "always_ask";
|
|
4825
|
+
} | {
|
|
4826
|
+
type: "auto";
|
|
4827
|
+
};
|
|
4828
|
+
type: "bash";
|
|
4829
|
+
} | {
|
|
4830
|
+
enabled: boolean;
|
|
4831
|
+
name: "edit";
|
|
4832
|
+
permission_policy: {
|
|
4833
|
+
type: "always_allow";
|
|
4834
|
+
} | {
|
|
4835
|
+
type: "always_ask";
|
|
4836
|
+
} | {
|
|
4837
|
+
type: "auto";
|
|
4838
|
+
};
|
|
4839
|
+
type: "edit";
|
|
4840
|
+
} | {
|
|
4841
|
+
enabled: boolean;
|
|
4842
|
+
name: "read";
|
|
4843
|
+
permission_policy: {
|
|
4844
|
+
type: "always_allow";
|
|
4845
|
+
} | {
|
|
4846
|
+
type: "always_ask";
|
|
4847
|
+
} | {
|
|
4848
|
+
type: "auto";
|
|
4849
|
+
};
|
|
4850
|
+
type: "read";
|
|
4851
|
+
} | {
|
|
4852
|
+
enabled: boolean;
|
|
4853
|
+
name: "write";
|
|
4854
|
+
permission_policy: {
|
|
4855
|
+
type: "always_allow";
|
|
4856
|
+
} | {
|
|
4857
|
+
type: "always_ask";
|
|
4858
|
+
} | {
|
|
4859
|
+
type: "auto";
|
|
4860
|
+
};
|
|
4861
|
+
type: "write";
|
|
4862
|
+
} | {
|
|
4863
|
+
enabled: boolean;
|
|
4864
|
+
name: "glob";
|
|
4865
|
+
permission_policy: {
|
|
4866
|
+
type: "always_allow";
|
|
4867
|
+
} | {
|
|
4868
|
+
type: "always_ask";
|
|
4869
|
+
} | {
|
|
4870
|
+
type: "auto";
|
|
4871
|
+
};
|
|
4872
|
+
type: "glob";
|
|
4873
|
+
} | {
|
|
4874
|
+
enabled: boolean;
|
|
4875
|
+
name: "grep";
|
|
4876
|
+
permission_policy: {
|
|
4877
|
+
type: "always_allow";
|
|
4878
|
+
} | {
|
|
4879
|
+
type: "always_ask";
|
|
4880
|
+
} | {
|
|
4881
|
+
type: "auto";
|
|
4882
|
+
};
|
|
4883
|
+
type: "grep";
|
|
4884
|
+
} | {
|
|
4885
|
+
enabled: boolean;
|
|
4886
|
+
name: "web_fetch";
|
|
4887
|
+
permission_policy: {
|
|
4888
|
+
type: "always_allow";
|
|
4889
|
+
} | {
|
|
4890
|
+
type: "always_ask";
|
|
4891
|
+
} | {
|
|
4892
|
+
type: "auto";
|
|
4893
|
+
};
|
|
4894
|
+
type: "web_fetch";
|
|
4895
|
+
allowed_domains?: Array<string>;
|
|
4896
|
+
blocked_domains?: Array<string>;
|
|
4897
|
+
max_content_tokens?: null | number;
|
|
4898
|
+
} | {
|
|
4899
|
+
enabled: boolean;
|
|
4900
|
+
name: "web_search";
|
|
4901
|
+
permission_policy: {
|
|
4902
|
+
type: "always_allow";
|
|
4903
|
+
} | {
|
|
4904
|
+
type: "always_ask";
|
|
4905
|
+
} | {
|
|
4906
|
+
type: "auto";
|
|
4907
|
+
};
|
|
4908
|
+
type: "web_search";
|
|
4909
|
+
allowed_domains?: Array<string>;
|
|
4910
|
+
blocked_domains?: Array<string>;
|
|
4911
|
+
user_location?: null | {
|
|
4912
|
+
type: "approximate";
|
|
4913
|
+
city?: null | string;
|
|
4914
|
+
country?: null | string;
|
|
4915
|
+
region?: null | string;
|
|
4916
|
+
timezone?: null | string;
|
|
4917
|
+
};
|
|
4918
|
+
} | {
|
|
4919
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
4920
|
+
enabled: boolean;
|
|
4921
|
+
permission_policy: {
|
|
4922
|
+
type: "always_allow" | "always_ask";
|
|
4923
|
+
};
|
|
4924
|
+
}>;
|
|
4925
|
+
default_config: {
|
|
4926
|
+
enabled: boolean;
|
|
4927
|
+
permission_policy: {
|
|
4928
|
+
type: "always_allow";
|
|
4929
|
+
} | {
|
|
4930
|
+
type: "always_ask";
|
|
4931
|
+
} | {
|
|
4932
|
+
type: "auto";
|
|
4933
|
+
};
|
|
4934
|
+
};
|
|
4935
|
+
type: "agent_toolset_20260401";
|
|
4936
|
+
} | {
|
|
4937
|
+
type: "mcp_toolset";
|
|
4938
|
+
mcp_server_name: string;
|
|
4939
|
+
default_config?: {
|
|
4940
|
+
enabled?: boolean | null;
|
|
4941
|
+
permission_policy?: null | {
|
|
4942
|
+
type: "always_allow" | "always_ask";
|
|
4943
|
+
};
|
|
4944
|
+
} | null;
|
|
4945
|
+
configs?: Array<{
|
|
4946
|
+
name: string;
|
|
4947
|
+
enabled?: boolean | null;
|
|
4948
|
+
permission_policy?: null | {
|
|
4949
|
+
type: "always_allow" | "always_ask";
|
|
4950
|
+
};
|
|
4951
|
+
}> | null;
|
|
4952
|
+
} | {
|
|
4953
|
+
description: string;
|
|
4954
|
+
input_schema: {
|
|
4955
|
+
type: "object";
|
|
4956
|
+
properties?: null | {
|
|
4957
|
+
[key: string]: unknown;
|
|
4958
|
+
};
|
|
4959
|
+
required?: null | Array<string>;
|
|
4960
|
+
[key: string]: unknown;
|
|
4961
|
+
};
|
|
4962
|
+
name: string;
|
|
4963
|
+
type: "custom";
|
|
4964
|
+
}>;
|
|
4965
|
+
type: "agent";
|
|
4966
|
+
version: number;
|
|
4967
|
+
}>;
|
|
4968
|
+
type: "coordinator";
|
|
4969
|
+
};
|
|
4970
|
+
name: string;
|
|
4971
|
+
skills: Array<{
|
|
4972
|
+
skill_id: string;
|
|
4973
|
+
type: "anthropic";
|
|
4974
|
+
version: string;
|
|
4975
|
+
} | {
|
|
4976
|
+
skill_id: string;
|
|
4977
|
+
type: "custom";
|
|
4978
|
+
version: string;
|
|
4979
|
+
}>;
|
|
4980
|
+
system: null | string;
|
|
4981
|
+
tools: Array<{
|
|
4982
|
+
configs: Array<{
|
|
4983
|
+
enabled: boolean;
|
|
4984
|
+
name: "bash";
|
|
4985
|
+
permission_policy: {
|
|
4986
|
+
type: "always_allow";
|
|
4987
|
+
} | {
|
|
4988
|
+
type: "always_ask";
|
|
4989
|
+
} | {
|
|
4990
|
+
type: "auto";
|
|
4991
|
+
};
|
|
4992
|
+
type: "bash";
|
|
4993
|
+
} | {
|
|
4994
|
+
enabled: boolean;
|
|
4995
|
+
name: "edit";
|
|
4996
|
+
permission_policy: {
|
|
4997
|
+
type: "always_allow";
|
|
4998
|
+
} | {
|
|
4999
|
+
type: "always_ask";
|
|
5000
|
+
} | {
|
|
5001
|
+
type: "auto";
|
|
5002
|
+
};
|
|
5003
|
+
type: "edit";
|
|
5004
|
+
} | {
|
|
5005
|
+
enabled: boolean;
|
|
5006
|
+
name: "read";
|
|
5007
|
+
permission_policy: {
|
|
5008
|
+
type: "always_allow";
|
|
5009
|
+
} | {
|
|
5010
|
+
type: "always_ask";
|
|
5011
|
+
} | {
|
|
5012
|
+
type: "auto";
|
|
5013
|
+
};
|
|
5014
|
+
type: "read";
|
|
5015
|
+
} | {
|
|
5016
|
+
enabled: boolean;
|
|
5017
|
+
name: "write";
|
|
5018
|
+
permission_policy: {
|
|
5019
|
+
type: "always_allow";
|
|
5020
|
+
} | {
|
|
5021
|
+
type: "always_ask";
|
|
5022
|
+
} | {
|
|
5023
|
+
type: "auto";
|
|
5024
|
+
};
|
|
5025
|
+
type: "write";
|
|
5026
|
+
} | {
|
|
5027
|
+
enabled: boolean;
|
|
5028
|
+
name: "glob";
|
|
5029
|
+
permission_policy: {
|
|
5030
|
+
type: "always_allow";
|
|
5031
|
+
} | {
|
|
5032
|
+
type: "always_ask";
|
|
5033
|
+
} | {
|
|
5034
|
+
type: "auto";
|
|
5035
|
+
};
|
|
5036
|
+
type: "glob";
|
|
5037
|
+
} | {
|
|
5038
|
+
enabled: boolean;
|
|
5039
|
+
name: "grep";
|
|
5040
|
+
permission_policy: {
|
|
5041
|
+
type: "always_allow";
|
|
5042
|
+
} | {
|
|
5043
|
+
type: "always_ask";
|
|
5044
|
+
} | {
|
|
5045
|
+
type: "auto";
|
|
5046
|
+
};
|
|
5047
|
+
type: "grep";
|
|
5048
|
+
} | {
|
|
5049
|
+
enabled: boolean;
|
|
5050
|
+
name: "web_fetch";
|
|
5051
|
+
permission_policy: {
|
|
5052
|
+
type: "always_allow";
|
|
5053
|
+
} | {
|
|
5054
|
+
type: "always_ask";
|
|
5055
|
+
} | {
|
|
5056
|
+
type: "auto";
|
|
5057
|
+
};
|
|
5058
|
+
type: "web_fetch";
|
|
5059
|
+
allowed_domains?: Array<string>;
|
|
5060
|
+
blocked_domains?: Array<string>;
|
|
5061
|
+
max_content_tokens?: null | number;
|
|
5062
|
+
} | {
|
|
5063
|
+
enabled: boolean;
|
|
5064
|
+
name: "web_search";
|
|
5065
|
+
permission_policy: {
|
|
5066
|
+
type: "always_allow";
|
|
5067
|
+
} | {
|
|
5068
|
+
type: "always_ask";
|
|
5069
|
+
} | {
|
|
5070
|
+
type: "auto";
|
|
5071
|
+
};
|
|
5072
|
+
type: "web_search";
|
|
5073
|
+
allowed_domains?: Array<string>;
|
|
5074
|
+
blocked_domains?: Array<string>;
|
|
5075
|
+
user_location?: null | {
|
|
5076
|
+
type: "approximate";
|
|
5077
|
+
city?: null | string;
|
|
5078
|
+
country?: null | string;
|
|
5079
|
+
region?: null | string;
|
|
5080
|
+
timezone?: null | string;
|
|
5081
|
+
};
|
|
5082
|
+
} | {
|
|
5083
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
5084
|
+
enabled: boolean;
|
|
5085
|
+
permission_policy: {
|
|
5086
|
+
type: "always_allow" | "always_ask";
|
|
5087
|
+
};
|
|
5088
|
+
}>;
|
|
5089
|
+
default_config: {
|
|
5090
|
+
enabled: boolean;
|
|
5091
|
+
permission_policy: {
|
|
5092
|
+
type: "always_allow";
|
|
5093
|
+
} | {
|
|
5094
|
+
type: "always_ask";
|
|
5095
|
+
} | {
|
|
5096
|
+
type: "auto";
|
|
5097
|
+
};
|
|
5098
|
+
};
|
|
5099
|
+
type: "agent_toolset_20260401";
|
|
5100
|
+
} | {
|
|
5101
|
+
type: "mcp_toolset";
|
|
5102
|
+
mcp_server_name: string;
|
|
5103
|
+
default_config?: {
|
|
5104
|
+
enabled?: boolean | null;
|
|
5105
|
+
permission_policy?: null | {
|
|
5106
|
+
type: "always_allow" | "always_ask";
|
|
5107
|
+
};
|
|
5108
|
+
} | null;
|
|
5109
|
+
configs?: Array<{
|
|
5110
|
+
name: string;
|
|
5111
|
+
enabled?: boolean | null;
|
|
5112
|
+
permission_policy?: null | {
|
|
5113
|
+
type: "always_allow" | "always_ask";
|
|
5114
|
+
};
|
|
5115
|
+
}> | null;
|
|
5116
|
+
} | {
|
|
5117
|
+
description: string;
|
|
5118
|
+
input_schema: {
|
|
5119
|
+
type: "object";
|
|
5120
|
+
properties?: null | {
|
|
5121
|
+
[key: string]: unknown;
|
|
5122
|
+
};
|
|
5123
|
+
required?: null | Array<string>;
|
|
5124
|
+
[key: string]: unknown;
|
|
5125
|
+
};
|
|
5126
|
+
name: string;
|
|
5127
|
+
type: "custom";
|
|
5128
|
+
}>;
|
|
3698
5129
|
type: "agent";
|
|
3699
5130
|
version: number;
|
|
3700
5131
|
};
|
|
3701
5132
|
archived_at: null | string;
|
|
3702
|
-
budget: null |
|
|
5133
|
+
budget: null | {
|
|
5134
|
+
max_list_cost: {
|
|
5135
|
+
amount: string;
|
|
5136
|
+
currency: "USD";
|
|
5137
|
+
};
|
|
5138
|
+
type: "limit";
|
|
5139
|
+
};
|
|
3703
5140
|
created_at: string;
|
|
3704
5141
|
environment_id?: string;
|
|
3705
|
-
metadata:
|
|
3706
|
-
|
|
3707
|
-
|
|
3708
|
-
|
|
5142
|
+
metadata: {
|
|
5143
|
+
[key: string]: string;
|
|
5144
|
+
};
|
|
5145
|
+
outcome_evaluations: Array<{
|
|
5146
|
+
completed_at: null | string;
|
|
5147
|
+
description: string;
|
|
5148
|
+
explanation: null | string;
|
|
5149
|
+
iteration: number;
|
|
5150
|
+
outcome_id: string;
|
|
5151
|
+
result: string;
|
|
5152
|
+
type: "outcome_evaluation";
|
|
5153
|
+
}>;
|
|
5154
|
+
resources: Array<{
|
|
5155
|
+
id: string;
|
|
5156
|
+
created_at: string;
|
|
5157
|
+
mount_path: string;
|
|
5158
|
+
type: "github_repository";
|
|
5159
|
+
updated_at: string;
|
|
5160
|
+
url: string;
|
|
5161
|
+
checkout?: null | {
|
|
5162
|
+
name: string;
|
|
5163
|
+
type: "branch";
|
|
5164
|
+
} | {
|
|
5165
|
+
sha: string;
|
|
5166
|
+
type: "commit";
|
|
5167
|
+
};
|
|
5168
|
+
} | {
|
|
5169
|
+
id: string;
|
|
5170
|
+
created_at: string;
|
|
5171
|
+
file_id: string;
|
|
5172
|
+
mount_path: string;
|
|
5173
|
+
type: "file";
|
|
5174
|
+
updated_at: string;
|
|
5175
|
+
} | {
|
|
5176
|
+
memory_store_id: string;
|
|
5177
|
+
type: "memory_store";
|
|
5178
|
+
access?: null | "read_write" | "read_only";
|
|
5179
|
+
description?: string;
|
|
5180
|
+
instructions?: null | string;
|
|
5181
|
+
mount_path?: null | string;
|
|
5182
|
+
name?: null | string;
|
|
5183
|
+
}>;
|
|
5184
|
+
stats: {
|
|
5185
|
+
active_seconds?: number;
|
|
5186
|
+
duration_seconds?: number;
|
|
5187
|
+
};
|
|
3709
5188
|
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3710
5189
|
title: null | string;
|
|
3711
5190
|
type: "session";
|
|
3712
5191
|
updated_at: string;
|
|
3713
|
-
usage:
|
|
5192
|
+
usage: {
|
|
5193
|
+
active_seconds?: number;
|
|
5194
|
+
cache_creation?: {
|
|
5195
|
+
ephemeral_1h_input_tokens?: number;
|
|
5196
|
+
ephemeral_5m_input_tokens?: number;
|
|
5197
|
+
};
|
|
5198
|
+
cache_read_input_tokens?: number;
|
|
5199
|
+
input_tokens?: number;
|
|
5200
|
+
list_cost?: null | {
|
|
5201
|
+
amount: string;
|
|
5202
|
+
currency: "USD";
|
|
5203
|
+
};
|
|
5204
|
+
output_tokens?: number;
|
|
5205
|
+
server_tool_use?: null | {
|
|
5206
|
+
web_fetch_requests?: number;
|
|
5207
|
+
web_search_requests?: number;
|
|
5208
|
+
};
|
|
5209
|
+
cost_by_product?: {
|
|
5210
|
+
[key: string]: string;
|
|
5211
|
+
};
|
|
5212
|
+
subagent_cost_micro_usd?: number;
|
|
5213
|
+
};
|
|
3714
5214
|
vault_ids: Array<string>;
|
|
3715
5215
|
deployment_id?: null | string;
|
|
3716
5216
|
cwd: string;
|
|
5217
|
+
workspace?: {
|
|
5218
|
+
kind: "shared" | "isolated";
|
|
5219
|
+
path?: string;
|
|
5220
|
+
branch?: string;
|
|
5221
|
+
};
|
|
3717
5222
|
computer_id?: string;
|
|
3718
5223
|
model?: {
|
|
3719
5224
|
id: string;
|
|
@@ -3733,8 +5238,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3733
5238
|
readonly external_user_id: string | null;
|
|
3734
5239
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3735
5240
|
}>;
|
|
3736
|
-
|
|
3737
|
-
}>;
|
|
5241
|
+
};
|
|
3738
5242
|
requests: {
|
|
3739
5243
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
|
|
3740
5244
|
data: Array<{
|
|
@@ -3806,6 +5310,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3806
5310
|
vault_ids: Array<string>;
|
|
3807
5311
|
deployment_id?: null | string;
|
|
3808
5312
|
cwd: string;
|
|
5313
|
+
workspace?: {
|
|
5314
|
+
kind: "shared" | "isolated";
|
|
5315
|
+
path?: string;
|
|
5316
|
+
branch?: string;
|
|
5317
|
+
};
|
|
3809
5318
|
computer_id?: string;
|
|
3810
5319
|
model?: {
|
|
3811
5320
|
id: string;
|
|
@@ -4064,6 +5573,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
4064
5573
|
processed_at: string;
|
|
4065
5574
|
forked_from_session_id: string;
|
|
4066
5575
|
forked_from_message_id: string;
|
|
5576
|
+
message_id?: string;
|
|
5577
|
+
session_thread_id?: string | null;
|
|
4067
5578
|
} | {
|
|
4068
5579
|
id: string;
|
|
4069
5580
|
type: "session.goal_changed";
|
|
@@ -4094,6 +5605,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
4094
5605
|
created_at: number;
|
|
4095
5606
|
updated_at: number;
|
|
4096
5607
|
} | null;
|
|
5608
|
+
message_id?: string;
|
|
5609
|
+
session_thread_id?: string | null;
|
|
4097
5610
|
} | {
|
|
4098
5611
|
id: string;
|
|
4099
5612
|
type: "session.goal_verification";
|
|
@@ -4108,11 +5621,179 @@ export declare function createAgent(transport: Transport): {
|
|
|
4108
5621
|
reason: string;
|
|
4109
5622
|
next_action?: string;
|
|
4110
5623
|
};
|
|
5624
|
+
message_id?: string;
|
|
5625
|
+
session_thread_id?: string | null;
|
|
4111
5626
|
} | {
|
|
4112
5627
|
id: string;
|
|
4113
5628
|
type: "user.steer";
|
|
4114
5629
|
event_id: string;
|
|
4115
5630
|
processed_at: string;
|
|
5631
|
+
message_id?: string;
|
|
5632
|
+
session_thread_id?: string | null;
|
|
5633
|
+
} | {
|
|
5634
|
+
id: string;
|
|
5635
|
+
type: "cognition.surfaced";
|
|
5636
|
+
processed_at: string;
|
|
5637
|
+
worker_session_id: string;
|
|
5638
|
+
name: string;
|
|
5639
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
5640
|
+
experience_id?: string;
|
|
5641
|
+
result?: {
|
|
5642
|
+
message?: string;
|
|
5643
|
+
links?: Array<string>;
|
|
5644
|
+
files?: Array<{
|
|
5645
|
+
name?: string;
|
|
5646
|
+
href?: string;
|
|
5647
|
+
}>;
|
|
5648
|
+
held?: Array<{
|
|
5649
|
+
id?: string;
|
|
5650
|
+
summary?: string;
|
|
5651
|
+
effect?: string;
|
|
5652
|
+
method?: string;
|
|
5653
|
+
path?: string;
|
|
5654
|
+
expires_at?: string;
|
|
5655
|
+
}>;
|
|
5656
|
+
};
|
|
5657
|
+
} | {
|
|
5658
|
+
id: string;
|
|
5659
|
+
type: "cognition.intention_woken";
|
|
5660
|
+
processed_at: string;
|
|
5661
|
+
node_id: string;
|
|
5662
|
+
reason: "open_engram" | "assignment";
|
|
5663
|
+
} | {
|
|
5664
|
+
id: string;
|
|
5665
|
+
type: "agent.operation_approval_requested";
|
|
5666
|
+
processed_at: string;
|
|
5667
|
+
approval_id: string;
|
|
5668
|
+
operation_id: string;
|
|
5669
|
+
effect: "outward" | "irreversible";
|
|
5670
|
+
method: string;
|
|
5671
|
+
path: string;
|
|
5672
|
+
summary: string;
|
|
5673
|
+
expires_at: string;
|
|
5674
|
+
worker_session_id?: string;
|
|
5675
|
+
worker_name?: string;
|
|
5676
|
+
} | {
|
|
5677
|
+
id: string;
|
|
5678
|
+
type: "agent.operation_approval_decided";
|
|
5679
|
+
processed_at: string;
|
|
5680
|
+
approval_id: string;
|
|
5681
|
+
status: "approved" | "refused" | "expired";
|
|
5682
|
+
} | {
|
|
5683
|
+
id: string;
|
|
5684
|
+
type: "session.prompt_configuration_mismatch";
|
|
5685
|
+
processed_at: string;
|
|
5686
|
+
pinned_revision_id: string;
|
|
5687
|
+
current_revision_id: string;
|
|
5688
|
+
} | {
|
|
5689
|
+
id: string;
|
|
5690
|
+
type: "session.prompt_rev_changed";
|
|
5691
|
+
processed_at: string;
|
|
5692
|
+
config_revision_id: string;
|
|
5693
|
+
changed: Array<{
|
|
5694
|
+
name: string;
|
|
5695
|
+
rev: string | null;
|
|
5696
|
+
}>;
|
|
5697
|
+
} | {
|
|
5698
|
+
id: string;
|
|
5699
|
+
type: "session.computer_tier";
|
|
5700
|
+
processed_at: string;
|
|
5701
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
5702
|
+
tier: "light" | "heavy";
|
|
5703
|
+
duration_ms: number;
|
|
5704
|
+
error_code?: string;
|
|
5705
|
+
status?: {
|
|
5706
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
5707
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
5708
|
+
percent?: number;
|
|
5709
|
+
files_done?: number;
|
|
5710
|
+
files_total?: number;
|
|
5711
|
+
idle_release_at?: number;
|
|
5712
|
+
retry_at?: number;
|
|
5713
|
+
epoch?: number;
|
|
5714
|
+
heavy_instance?: string | null;
|
|
5715
|
+
heavy_paused?: boolean;
|
|
5716
|
+
};
|
|
5717
|
+
} | {
|
|
5718
|
+
id: string;
|
|
5719
|
+
type: "agent.artifact_delivered";
|
|
5720
|
+
processed_at: string;
|
|
5721
|
+
artifact: {
|
|
5722
|
+
object: "artifact";
|
|
5723
|
+
id: string;
|
|
5724
|
+
session_id: string;
|
|
5725
|
+
run_id: string | null;
|
|
5726
|
+
name: string;
|
|
5727
|
+
version: number;
|
|
5728
|
+
parts: Array<{
|
|
5729
|
+
[key: string]: unknown;
|
|
5730
|
+
}>;
|
|
5731
|
+
source_hrefs: Array<string>;
|
|
5732
|
+
create_time: string;
|
|
5733
|
+
update_time: string;
|
|
5734
|
+
};
|
|
5735
|
+
} | {
|
|
5736
|
+
id: string;
|
|
5737
|
+
type: "agent.image_generation";
|
|
5738
|
+
processed_at: string;
|
|
5739
|
+
tool_use_id: string;
|
|
5740
|
+
index: number;
|
|
5741
|
+
total: number;
|
|
5742
|
+
status: string;
|
|
5743
|
+
mode?: string;
|
|
5744
|
+
aspect?: string;
|
|
5745
|
+
prompt?: string;
|
|
5746
|
+
model?: string;
|
|
5747
|
+
file_id?: string;
|
|
5748
|
+
label?: string;
|
|
5749
|
+
width?: number;
|
|
5750
|
+
height?: number;
|
|
5751
|
+
revised_prompt?: string;
|
|
5752
|
+
source_labels?: Array<string>;
|
|
5753
|
+
caption?: string;
|
|
5754
|
+
slot?: number | null;
|
|
5755
|
+
replaces?: string;
|
|
5756
|
+
version?: number;
|
|
5757
|
+
failure?: {
|
|
5758
|
+
reason?: string;
|
|
5759
|
+
};
|
|
5760
|
+
} | {
|
|
5761
|
+
id: string;
|
|
5762
|
+
type: "session.image_labeled";
|
|
5763
|
+
processed_at: string;
|
|
5764
|
+
label: string;
|
|
5765
|
+
file_id: string;
|
|
5766
|
+
origin: "generated" | "uploaded";
|
|
5767
|
+
filename: string;
|
|
5768
|
+
tool_use_id?: string;
|
|
5769
|
+
version?: number;
|
|
5770
|
+
replaced_file_id?: string;
|
|
5771
|
+
} | {
|
|
5772
|
+
id: string;
|
|
5773
|
+
type: "session.image_set_planned";
|
|
5774
|
+
processed_at: string;
|
|
5775
|
+
tool_use_id: string;
|
|
5776
|
+
items: Array<unknown>;
|
|
5777
|
+
title?: string;
|
|
5778
|
+
} | {
|
|
5779
|
+
id: string;
|
|
5780
|
+
type: "session.project_attached";
|
|
5781
|
+
processed_at: string;
|
|
5782
|
+
project: {
|
|
5783
|
+
id: string;
|
|
5784
|
+
name: string;
|
|
5785
|
+
path: string;
|
|
5786
|
+
};
|
|
5787
|
+
message_id?: string;
|
|
5788
|
+
session_thread_id?: string | null;
|
|
5789
|
+
} | {
|
|
5790
|
+
id: string;
|
|
5791
|
+
type: "session.project_detached";
|
|
5792
|
+
processed_at: string;
|
|
5793
|
+
project_id: string;
|
|
5794
|
+
reason?: "project_removed";
|
|
5795
|
+
message_id?: string;
|
|
5796
|
+
session_thread_id?: string | null;
|
|
4116
5797
|
}>;
|
|
4117
5798
|
next_page: string | null;
|
|
4118
5799
|
}>;
|
|
@@ -4172,6 +5853,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4172
5853
|
vault_ids: Array<string>;
|
|
4173
5854
|
deployment_id?: null | string;
|
|
4174
5855
|
cwd: string;
|
|
5856
|
+
workspace?: {
|
|
5857
|
+
kind: "shared" | "isolated";
|
|
5858
|
+
path?: string;
|
|
5859
|
+
branch?: string;
|
|
5860
|
+
};
|
|
4175
5861
|
computer_id?: string;
|
|
4176
5862
|
model?: {
|
|
4177
5863
|
id: string;
|
|
@@ -4523,6 +6209,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
4523
6209
|
};
|
|
4524
6210
|
};
|
|
4525
6211
|
};
|
|
6212
|
+
export declare function createBilling(transport: Transport): {
|
|
6213
|
+
prices: {
|
|
6214
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
|
|
6215
|
+
};
|
|
6216
|
+
};
|
|
4526
6217
|
export declare function createBrowser(transport: Transport): {
|
|
4527
6218
|
connect: {
|
|
4528
6219
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -4625,10 +6316,18 @@ export declare function createCanvas(transport: Transport): {
|
|
|
4625
6316
|
images: {
|
|
4626
6317
|
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
|
|
4627
6318
|
};
|
|
6319
|
+
imports: {
|
|
6320
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CanvasSetImportData>) => Promise<Types.CanvasSetImportResult>;
|
|
6321
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteImportData>) => Promise<Types.CanvasDeleteImportResult>;
|
|
6322
|
+
};
|
|
6323
|
+
libraryVersions: {
|
|
6324
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListLibraryVersionsData>) => Promise<Types.CanvasLibraryVersionPage>;
|
|
6325
|
+
};
|
|
4628
6326
|
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
|
|
4629
6327
|
nodes: {
|
|
4630
6328
|
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
|
|
4631
6329
|
};
|
|
6330
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.CanvasPublishLibraryData>) => Promise<Types.CanvasPublishLibraryResult>;
|
|
4632
6331
|
restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
|
|
4633
6332
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
|
|
4634
6333
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
|
|
@@ -4643,6 +6342,9 @@ export declare function createCanvas(transport: Transport): {
|
|
|
4643
6342
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4644
6343
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4645
6344
|
};
|
|
6345
|
+
libraries: {
|
|
6346
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasLibrarySummary>>;
|
|
6347
|
+
};
|
|
4646
6348
|
};
|
|
4647
6349
|
export declare function createContent(transport: Transport): {
|
|
4648
6350
|
contents: {
|
|
@@ -4743,6 +6445,7 @@ export declare function createCustomer(transport: Transport): {
|
|
|
4743
6445
|
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
|
|
4744
6446
|
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
|
|
4745
6447
|
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
|
|
6448
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CustomerUpdatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
|
|
4746
6449
|
};
|
|
4747
6450
|
usage: {
|
|
4748
6451
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
|
|
@@ -4800,15 +6503,40 @@ export declare function createCut(transport: Transport): {
|
|
|
4800
6503
|
};
|
|
4801
6504
|
export declare function createDatabase(transport: Transport): {
|
|
4802
6505
|
databases: {
|
|
6506
|
+
commands: {
|
|
6507
|
+
/** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
|
|
6508
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
|
|
6509
|
+
result: unknown;
|
|
6510
|
+
}>;
|
|
6511
|
+
};
|
|
6512
|
+
/** @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. */
|
|
4803
6513
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6514
|
+
/** @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. */
|
|
4804
6515
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
4805
6516
|
events: {
|
|
6517
|
+
/** @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. */
|
|
4806
6518
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
|
|
4807
6519
|
data: Array<Types.DatabaseDatabaseEvent>;
|
|
4808
6520
|
}>;
|
|
4809
6521
|
};
|
|
6522
|
+
keys: {
|
|
6523
|
+
/** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
|
|
6524
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
|
|
6525
|
+
deleted: boolean;
|
|
6526
|
+
}>;
|
|
6527
|
+
/** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
|
|
6528
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6529
|
+
/** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
|
|
6530
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6531
|
+
/** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
|
|
6532
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6533
|
+
/** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
|
|
6534
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6535
|
+
};
|
|
6536
|
+
/** @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. */
|
|
4810
6537
|
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
4811
6538
|
purge: {
|
|
6539
|
+
/** @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. */
|
|
4812
6540
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
|
|
4813
6541
|
id: string;
|
|
4814
6542
|
object: "database";
|
|
@@ -4816,32 +6544,125 @@ export declare function createDatabase(transport: Transport): {
|
|
|
4816
6544
|
}>;
|
|
4817
6545
|
};
|
|
4818
6546
|
rest: {
|
|
6547
|
+
/** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
|
|
4819
6548
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6549
|
+
/** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
|
|
4820
6550
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6551
|
+
/** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
|
|
4821
6552
|
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
|
|
6553
|
+
/** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
|
|
4822
6554
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6555
|
+
/** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
|
|
4823
6556
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
4824
6557
|
};
|
|
6558
|
+
/** @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. */
|
|
4825
6559
|
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6560
|
+
/** @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. */
|
|
4826
6561
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
4827
6562
|
tables: {
|
|
6563
|
+
/** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
|
|
4828
6564
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6565
|
+
/** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
|
|
4829
6566
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
|
|
4830
6567
|
deleted: true;
|
|
4831
6568
|
}>;
|
|
4832
6569
|
fields: {
|
|
6570
|
+
/** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
|
|
4833
6571
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6572
|
+
/** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
|
|
4834
6573
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6574
|
+
/** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
|
|
4835
6575
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
4836
6576
|
};
|
|
6577
|
+
/** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
|
|
4837
6578
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
|
|
4838
6579
|
data: Array<Types.DatabaseTable>;
|
|
4839
6580
|
}>;
|
|
6581
|
+
/** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
|
|
4840
6582
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6583
|
+
/** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
|
|
4841
6584
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
4842
6585
|
};
|
|
6586
|
+
/** @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. */
|
|
4843
6587
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
4844
6588
|
};
|
|
6589
|
+
kv: {
|
|
6590
|
+
commands: {
|
|
6591
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
|
|
6592
|
+
result: unknown;
|
|
6593
|
+
}>;
|
|
6594
|
+
};
|
|
6595
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6596
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6597
|
+
events: {
|
|
6598
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
|
|
6599
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6600
|
+
}>;
|
|
6601
|
+
};
|
|
6602
|
+
keys: {
|
|
6603
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
|
|
6604
|
+
deleted: boolean;
|
|
6605
|
+
}>;
|
|
6606
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6607
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6608
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6609
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6610
|
+
};
|
|
6611
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6612
|
+
purge: {
|
|
6613
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
|
|
6614
|
+
id: string;
|
|
6615
|
+
object: "database";
|
|
6616
|
+
purged: true;
|
|
6617
|
+
}>;
|
|
6618
|
+
};
|
|
6619
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6620
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6621
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6622
|
+
};
|
|
6623
|
+
table: {
|
|
6624
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6625
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6626
|
+
events: {
|
|
6627
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
|
|
6628
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6629
|
+
}>;
|
|
6630
|
+
};
|
|
6631
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6632
|
+
purge: {
|
|
6633
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
|
|
6634
|
+
id: string;
|
|
6635
|
+
object: "database";
|
|
6636
|
+
purged: true;
|
|
6637
|
+
}>;
|
|
6638
|
+
};
|
|
6639
|
+
rest: {
|
|
6640
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6641
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6642
|
+
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
|
|
6643
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6644
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6645
|
+
};
|
|
6646
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6647
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6648
|
+
tables: {
|
|
6649
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6650
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
|
|
6651
|
+
deleted: true;
|
|
6652
|
+
}>;
|
|
6653
|
+
fields: {
|
|
6654
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6655
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6656
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
6657
|
+
};
|
|
6658
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
|
|
6659
|
+
data: Array<Types.DatabaseTable>;
|
|
6660
|
+
}>;
|
|
6661
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6662
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
6663
|
+
};
|
|
6664
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6665
|
+
};
|
|
4845
6666
|
};
|
|
4846
6667
|
export declare function createDevops(transport: Transport): {
|
|
4847
6668
|
changes: {
|
|
@@ -4888,6 +6709,13 @@ export declare function createDevops(transport: Transport): {
|
|
|
4888
6709
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
4889
6710
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
4890
6711
|
};
|
|
6712
|
+
cleanups: {
|
|
6713
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
|
|
6714
|
+
};
|
|
6715
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
|
|
6716
|
+
defaultBranch: {
|
|
6717
|
+
initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
|
|
6718
|
+
};
|
|
4891
6719
|
environments: {
|
|
4892
6720
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
4893
6721
|
targets: {
|
|
@@ -4960,6 +6788,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
4960
6788
|
promotions: {
|
|
4961
6789
|
approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
|
|
4962
6790
|
cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
|
|
6791
|
+
checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
|
|
4963
6792
|
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
|
|
4964
6793
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
|
|
4965
6794
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
|
|
@@ -4969,10 +6798,14 @@ export declare function createDevops(transport: Transport): {
|
|
|
4969
6798
|
};
|
|
4970
6799
|
};
|
|
4971
6800
|
pullRequests: {
|
|
6801
|
+
close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
|
|
4972
6802
|
merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
|
|
4973
6803
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
4974
6804
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
4975
6805
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
|
|
6806
|
+
reviews: {
|
|
6807
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
|
|
6808
|
+
};
|
|
4976
6809
|
};
|
|
4977
6810
|
releases: {
|
|
4978
6811
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
@@ -5188,10 +7021,49 @@ export declare function createMedia(transport: Transport): {
|
|
|
5188
7021
|
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
5189
7022
|
};
|
|
5190
7023
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
7024
|
+
voices: {
|
|
7025
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
|
|
7026
|
+
designs: {
|
|
7027
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
|
|
7028
|
+
};
|
|
7029
|
+
};
|
|
7030
|
+
};
|
|
7031
|
+
pipelines: {
|
|
7032
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
7033
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaPipelineData>) => Promise<Types.MediaPipelineDeleted>;
|
|
7034
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaPipelinesData> | undefined) => Promise<Types.MediaPipelineList>;
|
|
7035
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
7036
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
5191
7037
|
};
|
|
5192
7038
|
speech: {
|
|
5193
7039
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
|
|
5194
7040
|
};
|
|
7041
|
+
streams: {
|
|
7042
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamData>) => Promise<Types.MediaStreamWithPush>;
|
|
7043
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamData>) => Promise<Types.MediaStreamDeleted>;
|
|
7044
|
+
disable: {
|
|
7045
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisableMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7046
|
+
};
|
|
7047
|
+
enable: {
|
|
7048
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EnableMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7049
|
+
};
|
|
7050
|
+
events: {
|
|
7051
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamEventsData>) => Promise<Types.MediaStreamEventList>;
|
|
7052
|
+
};
|
|
7053
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaStreamsData> | undefined) => Promise<Types.MediaStreamList>;
|
|
7054
|
+
playbackToken: {
|
|
7055
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamPlaybackData>) => Promise<Types.MediaStreamPlayback>;
|
|
7056
|
+
};
|
|
7057
|
+
resetToken: {
|
|
7058
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ResetMediaStreamTokenData>) => Promise<Types.MediaStreamWithPush>;
|
|
7059
|
+
};
|
|
7060
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7061
|
+
retrievePlaylist: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamLivePlaylistData>) => Promise<string>;
|
|
7062
|
+
subscribeToken: {
|
|
7063
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamSubscriptionData>) => Promise<Types.MediaStreamSubscription>;
|
|
7064
|
+
};
|
|
7065
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7066
|
+
};
|
|
5195
7067
|
videos: {
|
|
5196
7068
|
generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
|
|
5197
7069
|
};
|
|
@@ -5711,6 +7583,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5711
7583
|
unsigned_urls: Array<string>;
|
|
5712
7584
|
usage?: {
|
|
5713
7585
|
cost: number;
|
|
7586
|
+
billed_seconds?: number;
|
|
5714
7587
|
};
|
|
5715
7588
|
}>;
|
|
5716
7589
|
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
|
|
@@ -5741,6 +7614,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5741
7614
|
unsigned_urls: Array<string>;
|
|
5742
7615
|
usage?: {
|
|
5743
7616
|
cost: number;
|
|
7617
|
+
billed_seconds?: number;
|
|
5744
7618
|
};
|
|
5745
7619
|
}>;
|
|
5746
7620
|
has_more: boolean;
|
|
@@ -5769,6 +7643,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5769
7643
|
unsigned_urls: Array<string>;
|
|
5770
7644
|
usage?: {
|
|
5771
7645
|
cost: number;
|
|
7646
|
+
billed_seconds?: number;
|
|
5772
7647
|
};
|
|
5773
7648
|
}>;
|
|
5774
7649
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
|
|
@@ -5796,33 +7671,16 @@ export declare function createOntology(transport: Transport): {
|
|
|
5796
7671
|
list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListRelationsData> | undefined) => Promise<import("./automation.js").Page<Types.OntologyRelation>>;
|
|
5797
7672
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveRelationData>) => Promise<Types.OntologyRelation>;
|
|
5798
7673
|
};
|
|
5799
|
-
search: {
|
|
5800
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
|
|
5801
|
-
};
|
|
5802
|
-
types: {
|
|
5803
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
|
|
5804
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
|
|
5805
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
|
|
5806
|
-
};
|
|
5807
|
-
};
|
|
5808
|
-
export declare function createOrganization(transport: Transport): {
|
|
5809
|
-
actors: {
|
|
5810
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
5811
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
5812
|
-
};
|
|
5813
|
-
assignments: {
|
|
5814
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
5815
|
-
makePrimary: {
|
|
5816
|
-
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
5817
|
-
};
|
|
5818
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
5819
|
-
terminate: {
|
|
5820
|
-
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
5821
|
-
};
|
|
5822
|
-
transfer: {
|
|
5823
|
-
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
5824
|
-
};
|
|
5825
|
-
};
|
|
7674
|
+
search: {
|
|
7675
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologySearchData>) => Promise<Types.OntologySearchResult>;
|
|
7676
|
+
};
|
|
7677
|
+
types: {
|
|
7678
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OntologyRegisterTypeData>) => Promise<unknown>;
|
|
7679
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.OntologyListTypesData> | undefined) => Promise<Types.OntologyTypeRegistrationPage>;
|
|
7680
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.OntologyRetrieveTypeData>) => Promise<Types.OntologyTypeLookup>;
|
|
7681
|
+
};
|
|
7682
|
+
};
|
|
7683
|
+
export declare function createOrganization(transport: Transport): {
|
|
5826
7684
|
charges: {
|
|
5827
7685
|
list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
|
|
5828
7686
|
ChargePeriodStart: string;
|
|
@@ -5864,16 +7722,6 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5864
7722
|
next_page: string | null;
|
|
5865
7723
|
}>;
|
|
5866
7724
|
};
|
|
5867
|
-
departments: {
|
|
5868
|
-
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
5869
|
-
dissolve: {
|
|
5870
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
5871
|
-
};
|
|
5872
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
5873
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
5874
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
5875
|
-
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
5876
|
-
};
|
|
5877
7725
|
events: {
|
|
5878
7726
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
5879
7727
|
object: "page";
|
|
@@ -6076,27 +7924,6 @@ export declare function createOrganization(transport: Transport): {
|
|
|
6076
7924
|
}>;
|
|
6077
7925
|
}>;
|
|
6078
7926
|
};
|
|
6079
|
-
jobs: {
|
|
6080
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
6081
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
6082
|
-
retire: {
|
|
6083
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
6084
|
-
};
|
|
6085
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
6086
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
6087
|
-
};
|
|
6088
|
-
keyResults: {
|
|
6089
|
-
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
6090
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
6091
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
6092
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
6093
|
-
};
|
|
6094
|
-
ladders: {
|
|
6095
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
6096
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
6097
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
6098
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
6099
|
-
};
|
|
6100
7927
|
members: {
|
|
6101
7928
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
|
|
6102
7929
|
data: Array<{
|
|
@@ -6110,51 +7937,83 @@ export declare function createOrganization(transport: Transport): {
|
|
|
6110
7937
|
next_page: string | null;
|
|
6111
7938
|
}>;
|
|
6112
7939
|
};
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
6119
|
-
parents: {
|
|
6120
|
-
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
6121
|
-
};
|
|
6122
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
6123
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
6124
|
-
};
|
|
6125
|
-
periods: {
|
|
6126
|
-
close: {
|
|
6127
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
6128
|
-
};
|
|
6129
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
6130
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
6131
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
6132
|
-
};
|
|
6133
|
-
positions: {
|
|
6134
|
-
close: {
|
|
6135
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
6136
|
-
};
|
|
6137
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
6138
|
-
designateHead: {
|
|
6139
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
6140
|
-
};
|
|
6141
|
-
freeze: {
|
|
6142
|
-
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7940
|
+
notifications: {
|
|
7941
|
+
deliveries: {
|
|
7942
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
|
|
7943
|
+
[key: string]: unknown;
|
|
7944
|
+
}>;
|
|
6143
7945
|
};
|
|
6144
|
-
|
|
6145
|
-
|
|
7946
|
+
letters: {
|
|
7947
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
|
|
7948
|
+
unread: number;
|
|
7949
|
+
}>;
|
|
7950
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7951
|
+
letters: Array<{
|
|
7952
|
+
id: string;
|
|
7953
|
+
sender: string;
|
|
7954
|
+
summary: string;
|
|
7955
|
+
body: string;
|
|
7956
|
+
thread: string;
|
|
7957
|
+
kind: "notice" | "mention" | "decision";
|
|
7958
|
+
source: {
|
|
7959
|
+
[key: string]: unknown;
|
|
7960
|
+
};
|
|
7961
|
+
read: boolean;
|
|
7962
|
+
deliveredAt: string;
|
|
7963
|
+
createTime: string;
|
|
7964
|
+
reason: string;
|
|
7965
|
+
archived: boolean;
|
|
7966
|
+
}>;
|
|
7967
|
+
nextCursor: string;
|
|
7968
|
+
unread: number;
|
|
7969
|
+
}>;
|
|
7970
|
+
read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
|
|
7971
|
+
unread: number;
|
|
7972
|
+
}>;
|
|
7973
|
+
readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7974
|
+
unread: number;
|
|
7975
|
+
}>;
|
|
6146
7976
|
};
|
|
6147
|
-
|
|
6148
|
-
|
|
6149
|
-
|
|
7977
|
+
organizationDefault: {
|
|
7978
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
|
|
7979
|
+
[key: string]: unknown;
|
|
7980
|
+
}>;
|
|
6150
7981
|
};
|
|
6151
|
-
|
|
6152
|
-
|
|
6153
|
-
|
|
7982
|
+
preferences: {
|
|
7983
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
|
|
7984
|
+
[key: string]: unknown;
|
|
7985
|
+
}>;
|
|
7986
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
|
|
7987
|
+
name: string;
|
|
7988
|
+
workflows: {
|
|
7989
|
+
[key: string]: unknown;
|
|
7990
|
+
};
|
|
7991
|
+
channelOptOuts?: Array<"in_app" | "email" | "sms">;
|
|
7992
|
+
updateTime?: string;
|
|
7993
|
+
catalog: Array<{
|
|
7994
|
+
workflow: string;
|
|
7995
|
+
group: string;
|
|
7996
|
+
title: string;
|
|
7997
|
+
description?: string;
|
|
7998
|
+
severity: "high" | "medium" | "low" | "none";
|
|
7999
|
+
critical: boolean;
|
|
8000
|
+
channels: Array<string>;
|
|
8001
|
+
}>;
|
|
8002
|
+
organization: {
|
|
8003
|
+
[key: string]: unknown;
|
|
8004
|
+
};
|
|
8005
|
+
effective: {
|
|
8006
|
+
[key: string]: unknown;
|
|
8007
|
+
};
|
|
8008
|
+
}>;
|
|
6154
8009
|
};
|
|
6155
|
-
|
|
6156
|
-
|
|
6157
|
-
|
|
8010
|
+
retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
|
|
8011
|
+
unreadCount: number;
|
|
8012
|
+
unseenCount: number;
|
|
8013
|
+
}>;
|
|
8014
|
+
retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
|
|
8015
|
+
[key: string]: unknown;
|
|
8016
|
+
}>;
|
|
6158
8017
|
};
|
|
6159
8018
|
usage: {
|
|
6160
8019
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
@@ -6185,6 +8044,27 @@ export declare function createRegistry(transport: Transport): {
|
|
|
6185
8044
|
update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
|
|
6186
8045
|
};
|
|
6187
8046
|
packages: {
|
|
8047
|
+
git: {
|
|
8048
|
+
commits: {
|
|
8049
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
8050
|
+
};
|
|
8051
|
+
files: {
|
|
8052
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
8053
|
+
};
|
|
8054
|
+
refs: {
|
|
8055
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
|
|
8056
|
+
};
|
|
8057
|
+
retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
|
|
8058
|
+
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
8059
|
+
retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
|
|
8060
|
+
trees: {
|
|
8061
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
8062
|
+
retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
|
|
8063
|
+
};
|
|
8064
|
+
};
|
|
8065
|
+
gitCredential: {
|
|
8066
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
8067
|
+
};
|
|
6188
8068
|
installations: {
|
|
6189
8069
|
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
6190
8070
|
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
@@ -6216,12 +8096,105 @@ export declare function createRegistry(transport: Transport): {
|
|
|
6216
8096
|
};
|
|
6217
8097
|
};
|
|
6218
8098
|
export declare function createSandbox(transport: Transport): {
|
|
8099
|
+
byod: {
|
|
8100
|
+
devices: {
|
|
8101
|
+
disconnect: {
|
|
8102
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
8103
|
+
id: string;
|
|
8104
|
+
object: "byod_device";
|
|
8105
|
+
disconnected: true;
|
|
8106
|
+
}>;
|
|
8107
|
+
};
|
|
8108
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
8109
|
+
data: Array<{
|
|
8110
|
+
object: "byod_device";
|
|
8111
|
+
id: string;
|
|
8112
|
+
platform: "android" | "macos" | "linux";
|
|
8113
|
+
name: string;
|
|
8114
|
+
model: string;
|
|
8115
|
+
os_version: string;
|
|
8116
|
+
online: boolean;
|
|
8117
|
+
last_seen_at: string | null;
|
|
8118
|
+
created_at: string;
|
|
8119
|
+
capabilities: Array<"display" | "agent">;
|
|
8120
|
+
agent_dirs: Array<string>;
|
|
8121
|
+
allow_bypass: boolean;
|
|
8122
|
+
}>;
|
|
8123
|
+
}>;
|
|
8124
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
8125
|
+
object: "byod_device";
|
|
8126
|
+
id: string;
|
|
8127
|
+
platform: "android" | "macos" | "linux";
|
|
8128
|
+
name: string;
|
|
8129
|
+
model: string;
|
|
8130
|
+
os_version: string;
|
|
8131
|
+
online: boolean;
|
|
8132
|
+
last_seen_at: string | null;
|
|
8133
|
+
created_at: string;
|
|
8134
|
+
capabilities: Array<"display" | "agent">;
|
|
8135
|
+
agent_dirs: Array<string>;
|
|
8136
|
+
allow_bypass: boolean;
|
|
8137
|
+
}>;
|
|
8138
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
8139
|
+
object: "byod_device";
|
|
8140
|
+
id: string;
|
|
8141
|
+
platform: "android" | "macos" | "linux";
|
|
8142
|
+
name: string;
|
|
8143
|
+
model: string;
|
|
8144
|
+
os_version: string;
|
|
8145
|
+
online: boolean;
|
|
8146
|
+
last_seen_at: string | null;
|
|
8147
|
+
created_at: string;
|
|
8148
|
+
capabilities: Array<"display" | "agent">;
|
|
8149
|
+
agent_dirs: Array<string>;
|
|
8150
|
+
allow_bypass: boolean;
|
|
8151
|
+
}>;
|
|
8152
|
+
};
|
|
8153
|
+
pairings: {
|
|
8154
|
+
claim: {
|
|
8155
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
8156
|
+
device_id: string;
|
|
8157
|
+
credential: string;
|
|
8158
|
+
socket_url: string;
|
|
8159
|
+
}>;
|
|
8160
|
+
};
|
|
8161
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
8162
|
+
code: string;
|
|
8163
|
+
expires_at: string;
|
|
8164
|
+
qr: string;
|
|
8165
|
+
}>;
|
|
8166
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
8167
|
+
organization_name: string;
|
|
8168
|
+
expires_at: string;
|
|
8169
|
+
}>;
|
|
8170
|
+
};
|
|
8171
|
+
};
|
|
6219
8172
|
events: {
|
|
6220
8173
|
sandboxes: {
|
|
6221
8174
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
6222
8175
|
};
|
|
6223
8176
|
};
|
|
6224
8177
|
sandboxes: {
|
|
8178
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
8179
|
+
type: "snapshot";
|
|
8180
|
+
snapshot: string;
|
|
8181
|
+
refs: number;
|
|
8182
|
+
truncated: boolean;
|
|
8183
|
+
package: string;
|
|
8184
|
+
} | {
|
|
8185
|
+
type: "screenshot";
|
|
8186
|
+
mediaType: string;
|
|
8187
|
+
data: string;
|
|
8188
|
+
width: number;
|
|
8189
|
+
height: number;
|
|
8190
|
+
bytes: number;
|
|
8191
|
+
} | {
|
|
8192
|
+
type: "ok";
|
|
8193
|
+
ms?: number;
|
|
8194
|
+
} | {
|
|
8195
|
+
type: "wait";
|
|
8196
|
+
ms: number;
|
|
8197
|
+
}>;
|
|
6225
8198
|
commands: {
|
|
6226
8199
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
6227
8200
|
stdout: string;
|
|
@@ -6746,10 +8719,134 @@ export declare function createVault(transport: Transport): {
|
|
|
6746
8719
|
update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
|
|
6747
8720
|
};
|
|
6748
8721
|
};
|
|
8722
|
+
export declare function createWorkforce(transport: Transport): {
|
|
8723
|
+
actors: {
|
|
8724
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
8725
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
8726
|
+
};
|
|
8727
|
+
assignments: {
|
|
8728
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
8729
|
+
makePrimary: {
|
|
8730
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8731
|
+
};
|
|
8732
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8733
|
+
terminate: {
|
|
8734
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8735
|
+
};
|
|
8736
|
+
transfer: {
|
|
8737
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8738
|
+
};
|
|
8739
|
+
};
|
|
8740
|
+
departments: {
|
|
8741
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8742
|
+
dissolve: {
|
|
8743
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8744
|
+
};
|
|
8745
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
8746
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8747
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8748
|
+
/** @deprecated use PUT /workforce/v1/specs/department/{id} instead; this path stops working on 2026-11-28. */
|
|
8749
|
+
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<unknown>;
|
|
8750
|
+
};
|
|
8751
|
+
effectiveSpec: {
|
|
8752
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
8753
|
+
};
|
|
8754
|
+
jobs: {
|
|
8755
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8756
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
8757
|
+
retire: {
|
|
8758
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8759
|
+
};
|
|
8760
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8761
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8762
|
+
};
|
|
8763
|
+
keyResults: {
|
|
8764
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8765
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
8766
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8767
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8768
|
+
};
|
|
8769
|
+
ladders: {
|
|
8770
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8771
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
8772
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8773
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8774
|
+
};
|
|
8775
|
+
objectives: {
|
|
8776
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8777
|
+
grade: {
|
|
8778
|
+
create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8779
|
+
};
|
|
8780
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
8781
|
+
parents: {
|
|
8782
|
+
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8783
|
+
};
|
|
8784
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8785
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8786
|
+
};
|
|
8787
|
+
periods: {
|
|
8788
|
+
close: {
|
|
8789
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8790
|
+
};
|
|
8791
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8792
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
8793
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8794
|
+
};
|
|
8795
|
+
positions: {
|
|
8796
|
+
close: {
|
|
8797
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8798
|
+
};
|
|
8799
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
8800
|
+
designateHead: {
|
|
8801
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
8802
|
+
};
|
|
8803
|
+
freeze: {
|
|
8804
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8805
|
+
};
|
|
8806
|
+
hire: {
|
|
8807
|
+
create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
|
|
8808
|
+
};
|
|
8809
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
|
|
8810
|
+
replaceHolder: {
|
|
8811
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
|
|
8812
|
+
};
|
|
8813
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8814
|
+
unfreeze: {
|
|
8815
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8816
|
+
};
|
|
8817
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8818
|
+
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8819
|
+
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
8820
|
+
};
|
|
8821
|
+
reconcile: {
|
|
8822
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8823
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8824
|
+
retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
|
|
8825
|
+
run: {
|
|
8826
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8827
|
+
};
|
|
8828
|
+
status: {
|
|
8829
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8830
|
+
};
|
|
8831
|
+
};
|
|
8832
|
+
specSchema: {
|
|
8833
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
|
|
8834
|
+
};
|
|
8835
|
+
specs: {
|
|
8836
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
8837
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
8838
|
+
retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
|
|
8839
|
+
revisions: {
|
|
8840
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
8841
|
+
};
|
|
8842
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
|
|
8843
|
+
};
|
|
8844
|
+
};
|
|
6749
8845
|
export declare const resourceFactories: {
|
|
6750
8846
|
agent: typeof createAgent;
|
|
6751
8847
|
application: typeof createApplication;
|
|
6752
8848
|
automation: typeof createAutomation;
|
|
8849
|
+
billing: typeof createBilling;
|
|
6753
8850
|
browser: typeof createBrowser;
|
|
6754
8851
|
canvas: typeof createCanvas;
|
|
6755
8852
|
content: typeof createContent;
|
|
@@ -6772,4 +8869,5 @@ export declare const resourceFactories: {
|
|
|
6772
8869
|
studio: typeof createStudio;
|
|
6773
8870
|
ticket: typeof createTicket;
|
|
6774
8871
|
vault: typeof createVault;
|
|
8872
|
+
workforce: typeof createWorkforce;
|
|
6775
8873
|
};
|