@deepraxis/sdk 0.1.1-dev.98b74fb → 0.1.1-dev.99a12a4
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 +507 -144
- package/README.md +5 -4
- 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 +3 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +845 -133
- package/dist/generated/sdk.gen.js +4525 -2616
- package/dist/generated/types.gen.d.ts +38301 -27145
- package/dist/helpers/application-publish.js +16 -2
- package/dist/helpers/browser-connect.d.ts +2 -0
- package/dist/helpers/browser-connect.js +31 -9
- 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 +14992 -10999
- package/dist/resources.generated.d.ts +1102 -147
- package/dist/resources.generated.js +470 -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,8 +40,9 @@ 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";
|
|
45
48
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -223,8 +226,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
223
226
|
id: string;
|
|
224
227
|
} | null;
|
|
225
228
|
note: string | null;
|
|
229
|
+
deployments_behind: number | null;
|
|
226
230
|
bindings: Array<{
|
|
227
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
231
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
228
232
|
id: string;
|
|
229
233
|
access: "read_only" | "read_write" | "invoke";
|
|
230
234
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -608,6 +612,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
608
612
|
processed_at: string;
|
|
609
613
|
forked_from_session_id: string;
|
|
610
614
|
forked_from_message_id: string;
|
|
615
|
+
message_id?: string;
|
|
616
|
+
session_thread_id?: string | null;
|
|
611
617
|
} | {
|
|
612
618
|
id: string;
|
|
613
619
|
type: "session.goal_changed";
|
|
@@ -638,6 +644,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
638
644
|
created_at: number;
|
|
639
645
|
updated_at: number;
|
|
640
646
|
} | null;
|
|
647
|
+
message_id?: string;
|
|
648
|
+
session_thread_id?: string | null;
|
|
641
649
|
} | {
|
|
642
650
|
id: string;
|
|
643
651
|
type: "session.goal_verification";
|
|
@@ -652,26 +660,179 @@ export declare function createAgent(transport: Transport): {
|
|
|
652
660
|
reason: string;
|
|
653
661
|
next_action?: string;
|
|
654
662
|
};
|
|
663
|
+
message_id?: string;
|
|
664
|
+
session_thread_id?: string | null;
|
|
655
665
|
} | {
|
|
656
666
|
id: string;
|
|
657
667
|
type: "user.steer";
|
|
658
668
|
event_id: string;
|
|
659
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
|
+
};
|
|
660
774
|
} | {
|
|
661
775
|
id: string;
|
|
662
|
-
type: "
|
|
776
|
+
type: "agent.image_generation";
|
|
663
777
|
processed_at: string;
|
|
664
778
|
tool_use_id: string;
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
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;
|
|
668
798
|
};
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
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;
|
|
674
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;
|
|
675
836
|
}>;
|
|
676
837
|
next_page: string | null;
|
|
677
838
|
}>;
|
|
@@ -692,21 +853,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
692
853
|
type: "user.steer";
|
|
693
854
|
event_id: string;
|
|
694
855
|
processed_at: string;
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
type: "user.tool_confirmation";
|
|
698
|
-
processed_at: string;
|
|
699
|
-
tool_use_id: string;
|
|
700
|
-
result: "allow";
|
|
701
|
-
answers: {
|
|
702
|
-
[key: string]: string;
|
|
703
|
-
};
|
|
704
|
-
annotations?: {
|
|
705
|
-
[key: string]: {
|
|
706
|
-
preview?: string;
|
|
707
|
-
notes?: string;
|
|
708
|
-
};
|
|
709
|
-
};
|
|
856
|
+
message_id?: string;
|
|
857
|
+
session_thread_id?: string | null;
|
|
710
858
|
}>;
|
|
711
859
|
}>;
|
|
712
860
|
stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -761,8 +909,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
761
909
|
id: string;
|
|
762
910
|
} | null;
|
|
763
911
|
note: string | null;
|
|
912
|
+
deployments_behind: number | null;
|
|
764
913
|
bindings: Array<{
|
|
765
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
914
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
766
915
|
id: string;
|
|
767
916
|
access: "read_only" | "read_write" | "invoke";
|
|
768
917
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -904,6 +1053,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
904
1053
|
}>;
|
|
905
1054
|
next_page: string | null;
|
|
906
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
|
+
};
|
|
907
1084
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
|
|
908
1085
|
id: string;
|
|
909
1086
|
archived_at: null | string;
|
|
@@ -940,8 +1117,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
940
1117
|
id: string;
|
|
941
1118
|
} | null;
|
|
942
1119
|
note: string | null;
|
|
1120
|
+
deployments_behind: number | null;
|
|
943
1121
|
bindings: Array<{
|
|
944
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1122
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
945
1123
|
id: string;
|
|
946
1124
|
access: "read_only" | "read_write" | "invoke";
|
|
947
1125
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -1156,6 +1334,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1156
1334
|
enabled: boolean;
|
|
1157
1335
|
daily_session_cap: number | null;
|
|
1158
1336
|
daily_spend_cap_micro_usd: number | null;
|
|
1337
|
+
currency?: "USD" | "CNY" | null;
|
|
1159
1338
|
};
|
|
1160
1339
|
}>;
|
|
1161
1340
|
unarchive: {
|
|
@@ -1397,8 +1576,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1397
1576
|
id: string;
|
|
1398
1577
|
} | null;
|
|
1399
1578
|
note: string | null;
|
|
1579
|
+
deployments_behind: number | null;
|
|
1400
1580
|
bindings: Array<{
|
|
1401
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1581
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1402
1582
|
id: string;
|
|
1403
1583
|
access: "read_only" | "read_write" | "invoke";
|
|
1404
1584
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -1575,8 +1755,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1575
1755
|
id: string;
|
|
1576
1756
|
} | null;
|
|
1577
1757
|
note: string | null;
|
|
1758
|
+
deployments_behind: number | null;
|
|
1578
1759
|
bindings: Array<{
|
|
1579
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1760
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1580
1761
|
id: string;
|
|
1581
1762
|
access: "read_only" | "read_write" | "invoke";
|
|
1582
1763
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -1728,6 +1909,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1728
1909
|
enabled: boolean;
|
|
1729
1910
|
daily_session_cap: number | null;
|
|
1730
1911
|
daily_spend_cap_micro_usd: number | null;
|
|
1912
|
+
currency?: "USD" | "CNY" | null;
|
|
1731
1913
|
};
|
|
1732
1914
|
}>;
|
|
1733
1915
|
versions: {
|
|
@@ -1969,8 +2151,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1969
2151
|
id: string;
|
|
1970
2152
|
} | null;
|
|
1971
2153
|
note: string | null;
|
|
2154
|
+
deployments_behind: number | null;
|
|
1972
2155
|
bindings: Array<{
|
|
1973
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2156
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1974
2157
|
id: string;
|
|
1975
2158
|
access: "read_only" | "read_write" | "invoke";
|
|
1976
2159
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -2148,7 +2331,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2148
2331
|
} | null;
|
|
2149
2332
|
note: string | null;
|
|
2150
2333
|
bindings: Array<{
|
|
2151
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2334
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
2152
2335
|
id: string;
|
|
2153
2336
|
access: "read_only" | "read_write" | "invoke";
|
|
2154
2337
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -2376,6 +2559,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
2376
2559
|
fallback?: "content";
|
|
2377
2560
|
skipped?: boolean;
|
|
2378
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
|
+
}>;
|
|
2379
2568
|
};
|
|
2380
2569
|
leases: {
|
|
2381
2570
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -2449,6 +2638,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2449
2638
|
id: string;
|
|
2450
2639
|
type: "agent";
|
|
2451
2640
|
version: number;
|
|
2641
|
+
pinned_version?: number | null;
|
|
2642
|
+
active_version?: number | null;
|
|
2452
2643
|
} | {
|
|
2453
2644
|
id: string;
|
|
2454
2645
|
type: "agent_with_overrides";
|
|
@@ -2486,6 +2677,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2486
2677
|
id: string;
|
|
2487
2678
|
type: "agent";
|
|
2488
2679
|
version: number;
|
|
2680
|
+
pinned_version?: number | null;
|
|
2681
|
+
active_version?: number | null;
|
|
2489
2682
|
} | {
|
|
2490
2683
|
id: string;
|
|
2491
2684
|
type: "agent_with_overrides";
|
|
@@ -2524,6 +2717,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2524
2717
|
id: string;
|
|
2525
2718
|
type: "agent";
|
|
2526
2719
|
version: number;
|
|
2720
|
+
pinned_version?: number | null;
|
|
2721
|
+
active_version?: number | null;
|
|
2527
2722
|
} | {
|
|
2528
2723
|
id: string;
|
|
2529
2724
|
type: "agent_with_overrides";
|
|
@@ -2563,6 +2758,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2563
2758
|
id: string;
|
|
2564
2759
|
type: "agent";
|
|
2565
2760
|
version: number;
|
|
2761
|
+
pinned_version?: number | null;
|
|
2762
|
+
active_version?: number | null;
|
|
2566
2763
|
} | {
|
|
2567
2764
|
id: string;
|
|
2568
2765
|
type: "agent_with_overrides";
|
|
@@ -2600,6 +2797,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2600
2797
|
id: string;
|
|
2601
2798
|
type: "agent";
|
|
2602
2799
|
version: number;
|
|
2800
|
+
pinned_version?: number | null;
|
|
2801
|
+
active_version?: number | null;
|
|
2603
2802
|
} | {
|
|
2604
2803
|
id: string;
|
|
2605
2804
|
type: "agent_with_overrides";
|
|
@@ -2641,6 +2840,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2641
2840
|
id: string;
|
|
2642
2841
|
type: "agent";
|
|
2643
2842
|
version: number;
|
|
2843
|
+
pinned_version?: number | null;
|
|
2844
|
+
active_version?: number | null;
|
|
2644
2845
|
} | {
|
|
2645
2846
|
id: string;
|
|
2646
2847
|
type: "agent_with_overrides";
|
|
@@ -2679,6 +2880,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2679
2880
|
id: string;
|
|
2680
2881
|
type: "agent";
|
|
2681
2882
|
version: number;
|
|
2883
|
+
pinned_version?: number | null;
|
|
2884
|
+
active_version?: number | null;
|
|
2682
2885
|
} | {
|
|
2683
2886
|
id: string;
|
|
2684
2887
|
type: "agent_with_overrides";
|
|
@@ -3234,6 +3437,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3234
3437
|
vault_ids: Array<string>;
|
|
3235
3438
|
deployment_id?: null | string;
|
|
3236
3439
|
cwd: string;
|
|
3440
|
+
workspace?: {
|
|
3441
|
+
kind: "shared" | "isolated";
|
|
3442
|
+
path?: string;
|
|
3443
|
+
branch?: string;
|
|
3444
|
+
};
|
|
3237
3445
|
computer_id?: string;
|
|
3238
3446
|
model?: {
|
|
3239
3447
|
id: string;
|
|
@@ -3294,6 +3502,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3294
3502
|
vault_ids: Array<string>;
|
|
3295
3503
|
deployment_id?: null | string;
|
|
3296
3504
|
cwd: string;
|
|
3505
|
+
workspace?: {
|
|
3506
|
+
kind: "shared" | "isolated";
|
|
3507
|
+
path?: string;
|
|
3508
|
+
branch?: string;
|
|
3509
|
+
};
|
|
3297
3510
|
computer_id?: string;
|
|
3298
3511
|
model?: {
|
|
3299
3512
|
id: string;
|
|
@@ -3456,6 +3669,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3456
3669
|
vault_ids: Array<string>;
|
|
3457
3670
|
deployment_id?: null | string;
|
|
3458
3671
|
cwd: string;
|
|
3672
|
+
workspace?: {
|
|
3673
|
+
kind: "shared" | "isolated";
|
|
3674
|
+
path?: string;
|
|
3675
|
+
branch?: string;
|
|
3676
|
+
};
|
|
3459
3677
|
computer_id?: string;
|
|
3460
3678
|
model?: {
|
|
3461
3679
|
id: string;
|
|
@@ -3476,6 +3694,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
3476
3694
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3477
3695
|
}>;
|
|
3478
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
|
+
};
|
|
3479
3704
|
events: {
|
|
3480
3705
|
list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
|
|
3481
3706
|
data: Array<{
|
|
@@ -3628,6 +3853,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3628
3853
|
processed_at: string;
|
|
3629
3854
|
forked_from_session_id: string;
|
|
3630
3855
|
forked_from_message_id: string;
|
|
3856
|
+
message_id?: string;
|
|
3857
|
+
session_thread_id?: string | null;
|
|
3631
3858
|
} | {
|
|
3632
3859
|
id: string;
|
|
3633
3860
|
type: "session.goal_changed";
|
|
@@ -3658,6 +3885,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3658
3885
|
created_at: number;
|
|
3659
3886
|
updated_at: number;
|
|
3660
3887
|
} | null;
|
|
3888
|
+
message_id?: string;
|
|
3889
|
+
session_thread_id?: string | null;
|
|
3661
3890
|
} | {
|
|
3662
3891
|
id: string;
|
|
3663
3892
|
type: "session.goal_verification";
|
|
@@ -3672,26 +3901,179 @@ export declare function createAgent(transport: Transport): {
|
|
|
3672
3901
|
reason: string;
|
|
3673
3902
|
next_action?: string;
|
|
3674
3903
|
};
|
|
3904
|
+
message_id?: string;
|
|
3905
|
+
session_thread_id?: string | null;
|
|
3675
3906
|
} | {
|
|
3676
3907
|
id: string;
|
|
3677
3908
|
type: "user.steer";
|
|
3678
3909
|
event_id: string;
|
|
3679
3910
|
processed_at: string;
|
|
3911
|
+
message_id?: string;
|
|
3912
|
+
session_thread_id?: string | null;
|
|
3913
|
+
} | {
|
|
3914
|
+
id: string;
|
|
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
|
+
};
|
|
3680
4015
|
} | {
|
|
3681
4016
|
id: string;
|
|
3682
|
-
type: "
|
|
4017
|
+
type: "agent.image_generation";
|
|
3683
4018
|
processed_at: string;
|
|
3684
4019
|
tool_use_id: string;
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
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;
|
|
3688
4039
|
};
|
|
3689
|
-
|
|
3690
|
-
|
|
3691
|
-
|
|
3692
|
-
|
|
3693
|
-
|
|
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;
|
|
3694
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;
|
|
3695
4077
|
}>;
|
|
3696
4078
|
next_page: string | null;
|
|
3697
4079
|
}>;
|
|
@@ -3712,21 +4094,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3712
4094
|
type: "user.steer";
|
|
3713
4095
|
event_id: string;
|
|
3714
4096
|
processed_at: string;
|
|
3715
|
-
|
|
3716
|
-
|
|
3717
|
-
type: "user.tool_confirmation";
|
|
3718
|
-
processed_at: string;
|
|
3719
|
-
tool_use_id: string;
|
|
3720
|
-
result: "allow";
|
|
3721
|
-
answers: {
|
|
3722
|
-
[key: string]: string;
|
|
3723
|
-
};
|
|
3724
|
-
annotations?: {
|
|
3725
|
-
[key: string]: {
|
|
3726
|
-
preview?: string;
|
|
3727
|
-
notes?: string;
|
|
3728
|
-
};
|
|
3729
|
-
};
|
|
4097
|
+
message_id?: string;
|
|
4098
|
+
session_thread_id?: string | null;
|
|
3730
4099
|
}>;
|
|
3731
4100
|
}>;
|
|
3732
4101
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -4242,6 +4611,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4242
4611
|
vault_ids: Array<string>;
|
|
4243
4612
|
deployment_id?: null | string;
|
|
4244
4613
|
cwd: string;
|
|
4614
|
+
workspace?: {
|
|
4615
|
+
kind: "shared" | "isolated";
|
|
4616
|
+
path?: string;
|
|
4617
|
+
branch?: string;
|
|
4618
|
+
};
|
|
4245
4619
|
computer_id?: string;
|
|
4246
4620
|
model?: {
|
|
4247
4621
|
id: string;
|
|
@@ -4302,6 +4676,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4302
4676
|
vault_ids: Array<string>;
|
|
4303
4677
|
deployment_id?: null | string;
|
|
4304
4678
|
cwd: string;
|
|
4679
|
+
workspace?: {
|
|
4680
|
+
kind: "shared" | "isolated";
|
|
4681
|
+
path?: string;
|
|
4682
|
+
branch?: string;
|
|
4683
|
+
};
|
|
4305
4684
|
computer_id?: string;
|
|
4306
4685
|
model?: {
|
|
4307
4686
|
id: string;
|
|
@@ -4835,6 +5214,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4835
5214
|
vault_ids: Array<string>;
|
|
4836
5215
|
deployment_id?: null | string;
|
|
4837
5216
|
cwd: string;
|
|
5217
|
+
workspace?: {
|
|
5218
|
+
kind: "shared" | "isolated";
|
|
5219
|
+
path?: string;
|
|
5220
|
+
branch?: string;
|
|
5221
|
+
};
|
|
4838
5222
|
computer_id?: string;
|
|
4839
5223
|
model?: {
|
|
4840
5224
|
id: string;
|
|
@@ -4926,6 +5310,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4926
5310
|
vault_ids: Array<string>;
|
|
4927
5311
|
deployment_id?: null | string;
|
|
4928
5312
|
cwd: string;
|
|
5313
|
+
workspace?: {
|
|
5314
|
+
kind: "shared" | "isolated";
|
|
5315
|
+
path?: string;
|
|
5316
|
+
branch?: string;
|
|
5317
|
+
};
|
|
4929
5318
|
computer_id?: string;
|
|
4930
5319
|
model?: {
|
|
4931
5320
|
id: string;
|
|
@@ -5184,6 +5573,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
5184
5573
|
processed_at: string;
|
|
5185
5574
|
forked_from_session_id: string;
|
|
5186
5575
|
forked_from_message_id: string;
|
|
5576
|
+
message_id?: string;
|
|
5577
|
+
session_thread_id?: string | null;
|
|
5187
5578
|
} | {
|
|
5188
5579
|
id: string;
|
|
5189
5580
|
type: "session.goal_changed";
|
|
@@ -5214,6 +5605,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
5214
5605
|
created_at: number;
|
|
5215
5606
|
updated_at: number;
|
|
5216
5607
|
} | null;
|
|
5608
|
+
message_id?: string;
|
|
5609
|
+
session_thread_id?: string | null;
|
|
5217
5610
|
} | {
|
|
5218
5611
|
id: string;
|
|
5219
5612
|
type: "session.goal_verification";
|
|
@@ -5228,11 +5621,179 @@ export declare function createAgent(transport: Transport): {
|
|
|
5228
5621
|
reason: string;
|
|
5229
5622
|
next_action?: string;
|
|
5230
5623
|
};
|
|
5624
|
+
message_id?: string;
|
|
5625
|
+
session_thread_id?: string | null;
|
|
5231
5626
|
} | {
|
|
5232
5627
|
id: string;
|
|
5233
5628
|
type: "user.steer";
|
|
5234
5629
|
event_id: string;
|
|
5235
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;
|
|
5236
5797
|
}>;
|
|
5237
5798
|
next_page: string | null;
|
|
5238
5799
|
}>;
|
|
@@ -5292,6 +5853,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
5292
5853
|
vault_ids: Array<string>;
|
|
5293
5854
|
deployment_id?: null | string;
|
|
5294
5855
|
cwd: string;
|
|
5856
|
+
workspace?: {
|
|
5857
|
+
kind: "shared" | "isolated";
|
|
5858
|
+
path?: string;
|
|
5859
|
+
branch?: string;
|
|
5860
|
+
};
|
|
5295
5861
|
computer_id?: string;
|
|
5296
5862
|
model?: {
|
|
5297
5863
|
id: string;
|
|
@@ -5643,6 +6209,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
5643
6209
|
};
|
|
5644
6210
|
};
|
|
5645
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
|
+
};
|
|
5646
6217
|
export declare function createBrowser(transport: Transport): {
|
|
5647
6218
|
connect: {
|
|
5648
6219
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -5745,10 +6316,18 @@ export declare function createCanvas(transport: Transport): {
|
|
|
5745
6316
|
images: {
|
|
5746
6317
|
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
|
|
5747
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
|
+
};
|
|
5748
6326
|
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
|
|
5749
6327
|
nodes: {
|
|
5750
6328
|
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
|
|
5751
6329
|
};
|
|
6330
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.CanvasPublishLibraryData>) => Promise<Types.CanvasPublishLibraryResult>;
|
|
5752
6331
|
restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
|
|
5753
6332
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
|
|
5754
6333
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
|
|
@@ -5763,6 +6342,9 @@ export declare function createCanvas(transport: Transport): {
|
|
|
5763
6342
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
|
|
5764
6343
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
5765
6344
|
};
|
|
6345
|
+
libraries: {
|
|
6346
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasLibrarySummary>>;
|
|
6347
|
+
};
|
|
5766
6348
|
};
|
|
5767
6349
|
export declare function createContent(transport: Transport): {
|
|
5768
6350
|
contents: {
|
|
@@ -5920,15 +6502,40 @@ export declare function createCut(transport: Transport): {
|
|
|
5920
6502
|
};
|
|
5921
6503
|
export declare function createDatabase(transport: Transport): {
|
|
5922
6504
|
databases: {
|
|
5923
|
-
|
|
6505
|
+
commands: {
|
|
6506
|
+
/** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
|
|
6507
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
|
|
6508
|
+
result: unknown;
|
|
6509
|
+
}>;
|
|
6510
|
+
};
|
|
6511
|
+
/** @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. */
|
|
6512
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6513
|
+
/** @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. */
|
|
5924
6514
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
5925
6515
|
events: {
|
|
6516
|
+
/** @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. */
|
|
5926
6517
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
|
|
5927
6518
|
data: Array<Types.DatabaseDatabaseEvent>;
|
|
5928
6519
|
}>;
|
|
5929
6520
|
};
|
|
6521
|
+
keys: {
|
|
6522
|
+
/** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
|
|
6523
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
|
|
6524
|
+
deleted: boolean;
|
|
6525
|
+
}>;
|
|
6526
|
+
/** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
|
|
6527
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6528
|
+
/** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
|
|
6529
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6530
|
+
/** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
|
|
6531
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6532
|
+
/** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
|
|
6533
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6534
|
+
};
|
|
6535
|
+
/** @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. */
|
|
5930
6536
|
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
5931
6537
|
purge: {
|
|
6538
|
+
/** @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. */
|
|
5932
6539
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
|
|
5933
6540
|
id: string;
|
|
5934
6541
|
object: "database";
|
|
@@ -5936,32 +6543,125 @@ export declare function createDatabase(transport: Transport): {
|
|
|
5936
6543
|
}>;
|
|
5937
6544
|
};
|
|
5938
6545
|
rest: {
|
|
6546
|
+
/** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
|
|
5939
6547
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6548
|
+
/** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
|
|
5940
6549
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6550
|
+
/** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
|
|
5941
6551
|
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
|
|
6552
|
+
/** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
|
|
5942
6553
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6554
|
+
/** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
|
|
5943
6555
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
5944
6556
|
};
|
|
6557
|
+
/** @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. */
|
|
5945
6558
|
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6559
|
+
/** @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. */
|
|
5946
6560
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
5947
6561
|
tables: {
|
|
6562
|
+
/** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
|
|
5948
6563
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6564
|
+
/** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
|
|
5949
6565
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
|
|
5950
6566
|
deleted: true;
|
|
5951
6567
|
}>;
|
|
5952
6568
|
fields: {
|
|
6569
|
+
/** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
|
|
5953
6570
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6571
|
+
/** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
|
|
5954
6572
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6573
|
+
/** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
|
|
5955
6574
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
5956
6575
|
};
|
|
6576
|
+
/** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
|
|
5957
6577
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
|
|
5958
6578
|
data: Array<Types.DatabaseTable>;
|
|
5959
6579
|
}>;
|
|
6580
|
+
/** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
|
|
5960
6581
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6582
|
+
/** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
|
|
5961
6583
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
5962
6584
|
};
|
|
6585
|
+
/** @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. */
|
|
5963
6586
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
5964
6587
|
};
|
|
6588
|
+
kv: {
|
|
6589
|
+
commands: {
|
|
6590
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
|
|
6591
|
+
result: unknown;
|
|
6592
|
+
}>;
|
|
6593
|
+
};
|
|
6594
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6595
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6596
|
+
events: {
|
|
6597
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
|
|
6598
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6599
|
+
}>;
|
|
6600
|
+
};
|
|
6601
|
+
keys: {
|
|
6602
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
|
|
6603
|
+
deleted: boolean;
|
|
6604
|
+
}>;
|
|
6605
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6606
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6607
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6608
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6609
|
+
};
|
|
6610
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6611
|
+
purge: {
|
|
6612
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
|
|
6613
|
+
id: string;
|
|
6614
|
+
object: "database";
|
|
6615
|
+
purged: true;
|
|
6616
|
+
}>;
|
|
6617
|
+
};
|
|
6618
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6619
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6620
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6621
|
+
};
|
|
6622
|
+
table: {
|
|
6623
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6624
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6625
|
+
events: {
|
|
6626
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
|
|
6627
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6628
|
+
}>;
|
|
6629
|
+
};
|
|
6630
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6631
|
+
purge: {
|
|
6632
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
|
|
6633
|
+
id: string;
|
|
6634
|
+
object: "database";
|
|
6635
|
+
purged: true;
|
|
6636
|
+
}>;
|
|
6637
|
+
};
|
|
6638
|
+
rest: {
|
|
6639
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6640
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6641
|
+
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
|
|
6642
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6643
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6644
|
+
};
|
|
6645
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6646
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6647
|
+
tables: {
|
|
6648
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6649
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
|
|
6650
|
+
deleted: true;
|
|
6651
|
+
}>;
|
|
6652
|
+
fields: {
|
|
6653
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6654
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6655
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
6656
|
+
};
|
|
6657
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
|
|
6658
|
+
data: Array<Types.DatabaseTable>;
|
|
6659
|
+
}>;
|
|
6660
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6661
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
6662
|
+
};
|
|
6663
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6664
|
+
};
|
|
5965
6665
|
};
|
|
5966
6666
|
export declare function createDevops(transport: Transport): {
|
|
5967
6667
|
changes: {
|
|
@@ -6008,6 +6708,13 @@ export declare function createDevops(transport: Transport): {
|
|
|
6008
6708
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
6009
6709
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
6010
6710
|
};
|
|
6711
|
+
cleanups: {
|
|
6712
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
|
|
6713
|
+
};
|
|
6714
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
|
|
6715
|
+
defaultBranch: {
|
|
6716
|
+
initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
|
|
6717
|
+
};
|
|
6011
6718
|
environments: {
|
|
6012
6719
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
6013
6720
|
targets: {
|
|
@@ -6080,6 +6787,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
6080
6787
|
promotions: {
|
|
6081
6788
|
approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
|
|
6082
6789
|
cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
|
|
6790
|
+
checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
|
|
6083
6791
|
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
|
|
6084
6792
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
|
|
6085
6793
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
|
|
@@ -6094,6 +6802,9 @@ export declare function createDevops(transport: Transport): {
|
|
|
6094
6802
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
6095
6803
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
6096
6804
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
|
|
6805
|
+
reviews: {
|
|
6806
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
|
|
6807
|
+
};
|
|
6097
6808
|
};
|
|
6098
6809
|
releases: {
|
|
6099
6810
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
@@ -6316,9 +7027,42 @@ export declare function createMedia(transport: Transport): {
|
|
|
6316
7027
|
};
|
|
6317
7028
|
};
|
|
6318
7029
|
};
|
|
7030
|
+
pipelines: {
|
|
7031
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
7032
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaPipelineData>) => Promise<Types.MediaPipelineDeleted>;
|
|
7033
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaPipelinesData> | undefined) => Promise<Types.MediaPipelineList>;
|
|
7034
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
7035
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
7036
|
+
};
|
|
6319
7037
|
speech: {
|
|
6320
7038
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
|
|
6321
7039
|
};
|
|
7040
|
+
streams: {
|
|
7041
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamData>) => Promise<Types.MediaStreamWithPush>;
|
|
7042
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamData>) => Promise<Types.MediaStreamDeleted>;
|
|
7043
|
+
disable: {
|
|
7044
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisableMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7045
|
+
};
|
|
7046
|
+
enable: {
|
|
7047
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EnableMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7048
|
+
};
|
|
7049
|
+
events: {
|
|
7050
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamEventsData>) => Promise<Types.MediaStreamEventList>;
|
|
7051
|
+
};
|
|
7052
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaStreamsData> | undefined) => Promise<Types.MediaStreamList>;
|
|
7053
|
+
playbackToken: {
|
|
7054
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamPlaybackData>) => Promise<Types.MediaStreamPlayback>;
|
|
7055
|
+
};
|
|
7056
|
+
resetToken: {
|
|
7057
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ResetMediaStreamTokenData>) => Promise<Types.MediaStreamWithPush>;
|
|
7058
|
+
};
|
|
7059
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7060
|
+
retrievePlaylist: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamLivePlaylistData>) => Promise<string>;
|
|
7061
|
+
subscribeToken: {
|
|
7062
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamSubscriptionData>) => Promise<Types.MediaStreamSubscription>;
|
|
7063
|
+
};
|
|
7064
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7065
|
+
};
|
|
6322
7066
|
videos: {
|
|
6323
7067
|
generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
|
|
6324
7068
|
};
|
|
@@ -6936,23 +7680,6 @@ export declare function createOntology(transport: Transport): {
|
|
|
6936
7680
|
};
|
|
6937
7681
|
};
|
|
6938
7682
|
export declare function createOrganization(transport: Transport): {
|
|
6939
|
-
actors: {
|
|
6940
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
6941
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
6942
|
-
};
|
|
6943
|
-
assignments: {
|
|
6944
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
6945
|
-
makePrimary: {
|
|
6946
|
-
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6947
|
-
};
|
|
6948
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6949
|
-
terminate: {
|
|
6950
|
-
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6951
|
-
};
|
|
6952
|
-
transfer: {
|
|
6953
|
-
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6954
|
-
};
|
|
6955
|
-
};
|
|
6956
7683
|
charges: {
|
|
6957
7684
|
list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
|
|
6958
7685
|
ChargePeriodStart: string;
|
|
@@ -6994,16 +7721,6 @@ export declare function createOrganization(transport: Transport): {
|
|
|
6994
7721
|
next_page: string | null;
|
|
6995
7722
|
}>;
|
|
6996
7723
|
};
|
|
6997
|
-
departments: {
|
|
6998
|
-
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
6999
|
-
dissolve: {
|
|
7000
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7001
|
-
};
|
|
7002
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
7003
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7004
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7005
|
-
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
7006
|
-
};
|
|
7007
7724
|
events: {
|
|
7008
7725
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
7009
7726
|
object: "page";
|
|
@@ -7206,27 +7923,6 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7206
7923
|
}>;
|
|
7207
7924
|
}>;
|
|
7208
7925
|
};
|
|
7209
|
-
jobs: {
|
|
7210
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7211
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
7212
|
-
retire: {
|
|
7213
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7214
|
-
};
|
|
7215
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7216
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7217
|
-
};
|
|
7218
|
-
keyResults: {
|
|
7219
|
-
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
7220
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
7221
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
7222
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
7223
|
-
};
|
|
7224
|
-
ladders: {
|
|
7225
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7226
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
7227
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7228
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7229
|
-
};
|
|
7230
7926
|
members: {
|
|
7231
7927
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
|
|
7232
7928
|
data: Array<{
|
|
@@ -7240,51 +7936,83 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7240
7936
|
next_page: string | null;
|
|
7241
7937
|
}>;
|
|
7242
7938
|
};
|
|
7243
|
-
|
|
7244
|
-
|
|
7245
|
-
|
|
7246
|
-
|
|
7247
|
-
|
|
7248
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
7249
|
-
parents: {
|
|
7250
|
-
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7251
|
-
};
|
|
7252
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7253
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7254
|
-
};
|
|
7255
|
-
periods: {
|
|
7256
|
-
close: {
|
|
7257
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
7258
|
-
};
|
|
7259
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
7260
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
7261
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
7262
|
-
};
|
|
7263
|
-
positions: {
|
|
7264
|
-
close: {
|
|
7265
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7266
|
-
};
|
|
7267
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
7268
|
-
designateHead: {
|
|
7269
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
7270
|
-
};
|
|
7271
|
-
freeze: {
|
|
7272
|
-
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7939
|
+
notifications: {
|
|
7940
|
+
deliveries: {
|
|
7941
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
|
|
7942
|
+
[key: string]: unknown;
|
|
7943
|
+
}>;
|
|
7273
7944
|
};
|
|
7274
|
-
|
|
7275
|
-
|
|
7945
|
+
letters: {
|
|
7946
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
|
|
7947
|
+
unread: number;
|
|
7948
|
+
}>;
|
|
7949
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7950
|
+
letters: Array<{
|
|
7951
|
+
id: string;
|
|
7952
|
+
sender: string;
|
|
7953
|
+
summary: string;
|
|
7954
|
+
body: string;
|
|
7955
|
+
thread: string;
|
|
7956
|
+
kind: "notice" | "mention" | "decision";
|
|
7957
|
+
source: {
|
|
7958
|
+
[key: string]: unknown;
|
|
7959
|
+
};
|
|
7960
|
+
read: boolean;
|
|
7961
|
+
deliveredAt: string;
|
|
7962
|
+
createTime: string;
|
|
7963
|
+
reason: string;
|
|
7964
|
+
archived: boolean;
|
|
7965
|
+
}>;
|
|
7966
|
+
nextCursor: string;
|
|
7967
|
+
unread: number;
|
|
7968
|
+
}>;
|
|
7969
|
+
read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
|
|
7970
|
+
unread: number;
|
|
7971
|
+
}>;
|
|
7972
|
+
readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7973
|
+
unread: number;
|
|
7974
|
+
}>;
|
|
7276
7975
|
};
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7976
|
+
organizationDefault: {
|
|
7977
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
|
|
7978
|
+
[key: string]: unknown;
|
|
7979
|
+
}>;
|
|
7280
7980
|
};
|
|
7281
|
-
|
|
7282
|
-
|
|
7283
|
-
|
|
7981
|
+
preferences: {
|
|
7982
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
|
|
7983
|
+
[key: string]: unknown;
|
|
7984
|
+
}>;
|
|
7985
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
|
|
7986
|
+
name: string;
|
|
7987
|
+
workflows: {
|
|
7988
|
+
[key: string]: unknown;
|
|
7989
|
+
};
|
|
7990
|
+
channelOptOuts?: Array<"in_app" | "email" | "sms">;
|
|
7991
|
+
updateTime?: string;
|
|
7992
|
+
catalog: Array<{
|
|
7993
|
+
workflow: string;
|
|
7994
|
+
group: string;
|
|
7995
|
+
title: string;
|
|
7996
|
+
description?: string;
|
|
7997
|
+
severity: "high" | "medium" | "low" | "none";
|
|
7998
|
+
critical: boolean;
|
|
7999
|
+
channels: Array<string>;
|
|
8000
|
+
}>;
|
|
8001
|
+
organization: {
|
|
8002
|
+
[key: string]: unknown;
|
|
8003
|
+
};
|
|
8004
|
+
effective: {
|
|
8005
|
+
[key: string]: unknown;
|
|
8006
|
+
};
|
|
8007
|
+
}>;
|
|
7284
8008
|
};
|
|
7285
|
-
|
|
7286
|
-
|
|
7287
|
-
|
|
8009
|
+
retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
|
|
8010
|
+
unreadCount: number;
|
|
8011
|
+
unseenCount: number;
|
|
8012
|
+
}>;
|
|
8013
|
+
retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
|
|
8014
|
+
[key: string]: unknown;
|
|
8015
|
+
}>;
|
|
7288
8016
|
};
|
|
7289
8017
|
usage: {
|
|
7290
8018
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
@@ -7317,16 +8045,25 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7317
8045
|
packages: {
|
|
7318
8046
|
git: {
|
|
7319
8047
|
commits: {
|
|
7320
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.
|
|
8048
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
7321
8049
|
};
|
|
7322
8050
|
files: {
|
|
7323
8051
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7324
8052
|
};
|
|
8053
|
+
refs: {
|
|
8054
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
|
|
8055
|
+
};
|
|
8056
|
+
retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
|
|
7325
8057
|
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
8058
|
+
retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
|
|
7326
8059
|
trees: {
|
|
7327
8060
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
8061
|
+
retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
|
|
7328
8062
|
};
|
|
7329
8063
|
};
|
|
8064
|
+
gitCredential: {
|
|
8065
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
8066
|
+
};
|
|
7330
8067
|
installations: {
|
|
7331
8068
|
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
7332
8069
|
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
@@ -7358,12 +8095,105 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7358
8095
|
};
|
|
7359
8096
|
};
|
|
7360
8097
|
export declare function createSandbox(transport: Transport): {
|
|
8098
|
+
byod: {
|
|
8099
|
+
devices: {
|
|
8100
|
+
disconnect: {
|
|
8101
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
8102
|
+
id: string;
|
|
8103
|
+
object: "byod_device";
|
|
8104
|
+
disconnected: true;
|
|
8105
|
+
}>;
|
|
8106
|
+
};
|
|
8107
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
8108
|
+
data: Array<{
|
|
8109
|
+
object: "byod_device";
|
|
8110
|
+
id: string;
|
|
8111
|
+
platform: "android" | "macos" | "linux";
|
|
8112
|
+
name: string;
|
|
8113
|
+
model: string;
|
|
8114
|
+
os_version: string;
|
|
8115
|
+
online: boolean;
|
|
8116
|
+
last_seen_at: string | null;
|
|
8117
|
+
created_at: string;
|
|
8118
|
+
capabilities: Array<"display" | "agent">;
|
|
8119
|
+
agent_dirs: Array<string>;
|
|
8120
|
+
allow_bypass: boolean;
|
|
8121
|
+
}>;
|
|
8122
|
+
}>;
|
|
8123
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
8124
|
+
object: "byod_device";
|
|
8125
|
+
id: string;
|
|
8126
|
+
platform: "android" | "macos" | "linux";
|
|
8127
|
+
name: string;
|
|
8128
|
+
model: string;
|
|
8129
|
+
os_version: string;
|
|
8130
|
+
online: boolean;
|
|
8131
|
+
last_seen_at: string | null;
|
|
8132
|
+
created_at: string;
|
|
8133
|
+
capabilities: Array<"display" | "agent">;
|
|
8134
|
+
agent_dirs: Array<string>;
|
|
8135
|
+
allow_bypass: boolean;
|
|
8136
|
+
}>;
|
|
8137
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
8138
|
+
object: "byod_device";
|
|
8139
|
+
id: string;
|
|
8140
|
+
platform: "android" | "macos" | "linux";
|
|
8141
|
+
name: string;
|
|
8142
|
+
model: string;
|
|
8143
|
+
os_version: string;
|
|
8144
|
+
online: boolean;
|
|
8145
|
+
last_seen_at: string | null;
|
|
8146
|
+
created_at: string;
|
|
8147
|
+
capabilities: Array<"display" | "agent">;
|
|
8148
|
+
agent_dirs: Array<string>;
|
|
8149
|
+
allow_bypass: boolean;
|
|
8150
|
+
}>;
|
|
8151
|
+
};
|
|
8152
|
+
pairings: {
|
|
8153
|
+
claim: {
|
|
8154
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
8155
|
+
device_id: string;
|
|
8156
|
+
credential: string;
|
|
8157
|
+
socket_url: string;
|
|
8158
|
+
}>;
|
|
8159
|
+
};
|
|
8160
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
8161
|
+
code: string;
|
|
8162
|
+
expires_at: string;
|
|
8163
|
+
qr: string;
|
|
8164
|
+
}>;
|
|
8165
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
8166
|
+
organization_name: string;
|
|
8167
|
+
expires_at: string;
|
|
8168
|
+
}>;
|
|
8169
|
+
};
|
|
8170
|
+
};
|
|
7361
8171
|
events: {
|
|
7362
8172
|
sandboxes: {
|
|
7363
8173
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
7364
8174
|
};
|
|
7365
8175
|
};
|
|
7366
8176
|
sandboxes: {
|
|
8177
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
8178
|
+
type: "snapshot";
|
|
8179
|
+
snapshot: string;
|
|
8180
|
+
refs: number;
|
|
8181
|
+
truncated: boolean;
|
|
8182
|
+
package: string;
|
|
8183
|
+
} | {
|
|
8184
|
+
type: "screenshot";
|
|
8185
|
+
mediaType: string;
|
|
8186
|
+
data: string;
|
|
8187
|
+
width: number;
|
|
8188
|
+
height: number;
|
|
8189
|
+
bytes: number;
|
|
8190
|
+
} | {
|
|
8191
|
+
type: "ok";
|
|
8192
|
+
ms?: number;
|
|
8193
|
+
} | {
|
|
8194
|
+
type: "wait";
|
|
8195
|
+
ms: number;
|
|
8196
|
+
}>;
|
|
7367
8197
|
commands: {
|
|
7368
8198
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
7369
8199
|
stdout: string;
|
|
@@ -7888,10 +8718,134 @@ export declare function createVault(transport: Transport): {
|
|
|
7888
8718
|
update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
|
|
7889
8719
|
};
|
|
7890
8720
|
};
|
|
8721
|
+
export declare function createWorkforce(transport: Transport): {
|
|
8722
|
+
actors: {
|
|
8723
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
8724
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
8725
|
+
};
|
|
8726
|
+
assignments: {
|
|
8727
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
8728
|
+
makePrimary: {
|
|
8729
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8730
|
+
};
|
|
8731
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8732
|
+
terminate: {
|
|
8733
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8734
|
+
};
|
|
8735
|
+
transfer: {
|
|
8736
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8737
|
+
};
|
|
8738
|
+
};
|
|
8739
|
+
departments: {
|
|
8740
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8741
|
+
dissolve: {
|
|
8742
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8743
|
+
};
|
|
8744
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
8745
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8746
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8747
|
+
/** @deprecated use PUT /workforce/v1/specs/department/{id} instead; this path stops working on 2026-11-28. */
|
|
8748
|
+
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<unknown>;
|
|
8749
|
+
};
|
|
8750
|
+
effectiveSpec: {
|
|
8751
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
8752
|
+
};
|
|
8753
|
+
jobs: {
|
|
8754
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8755
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
8756
|
+
retire: {
|
|
8757
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8758
|
+
};
|
|
8759
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8760
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8761
|
+
};
|
|
8762
|
+
keyResults: {
|
|
8763
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8764
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
8765
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8766
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8767
|
+
};
|
|
8768
|
+
ladders: {
|
|
8769
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8770
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
8771
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8772
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8773
|
+
};
|
|
8774
|
+
objectives: {
|
|
8775
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8776
|
+
grade: {
|
|
8777
|
+
create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8778
|
+
};
|
|
8779
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
8780
|
+
parents: {
|
|
8781
|
+
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8782
|
+
};
|
|
8783
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8784
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8785
|
+
};
|
|
8786
|
+
periods: {
|
|
8787
|
+
close: {
|
|
8788
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8789
|
+
};
|
|
8790
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8791
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
8792
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8793
|
+
};
|
|
8794
|
+
positions: {
|
|
8795
|
+
close: {
|
|
8796
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8797
|
+
};
|
|
8798
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
8799
|
+
designateHead: {
|
|
8800
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
8801
|
+
};
|
|
8802
|
+
freeze: {
|
|
8803
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8804
|
+
};
|
|
8805
|
+
hire: {
|
|
8806
|
+
create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
|
|
8807
|
+
};
|
|
8808
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
|
|
8809
|
+
replaceHolder: {
|
|
8810
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
|
|
8811
|
+
};
|
|
8812
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8813
|
+
unfreeze: {
|
|
8814
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8815
|
+
};
|
|
8816
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8817
|
+
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8818
|
+
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
8819
|
+
};
|
|
8820
|
+
reconcile: {
|
|
8821
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8822
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8823
|
+
retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
|
|
8824
|
+
run: {
|
|
8825
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8826
|
+
};
|
|
8827
|
+
status: {
|
|
8828
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8829
|
+
};
|
|
8830
|
+
};
|
|
8831
|
+
specSchema: {
|
|
8832
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
|
|
8833
|
+
};
|
|
8834
|
+
specs: {
|
|
8835
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
8836
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
8837
|
+
retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
|
|
8838
|
+
revisions: {
|
|
8839
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
8840
|
+
};
|
|
8841
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
|
|
8842
|
+
};
|
|
8843
|
+
};
|
|
7891
8844
|
export declare const resourceFactories: {
|
|
7892
8845
|
agent: typeof createAgent;
|
|
7893
8846
|
application: typeof createApplication;
|
|
7894
8847
|
automation: typeof createAutomation;
|
|
8848
|
+
billing: typeof createBilling;
|
|
7895
8849
|
browser: typeof createBrowser;
|
|
7896
8850
|
canvas: typeof createCanvas;
|
|
7897
8851
|
content: typeof createContent;
|
|
@@ -7914,4 +8868,5 @@ export declare const resourceFactories: {
|
|
|
7914
8868
|
studio: typeof createStudio;
|
|
7915
8869
|
ticket: typeof createTicket;
|
|
7916
8870
|
vault: typeof createVault;
|
|
8871
|
+
workforce: typeof createWorkforce;
|
|
7917
8872
|
};
|