@deepraxis/sdk 0.1.1-dev.ab0271b → 0.1.1-dev.ac56442
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 +885 -139
- package/dist/generated/sdk.gen.js +4609 -2598
- package/dist/generated/types.gen.d.ts +40384 -29410
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +8 -0
- 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 +17045 -12966
- package/dist/resources.generated.d.ts +1118 -212
- package/dist/resources.generated.js +469 -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";
|
|
@@ -909,8 +1058,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
909
1058
|
object: "agent_phone";
|
|
910
1059
|
agent_id: string;
|
|
911
1060
|
configured: boolean;
|
|
912
|
-
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
|
|
1061
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
913
1062
|
sku: string | null;
|
|
1063
|
+
byod_device: string | null;
|
|
914
1064
|
name: string | null;
|
|
915
1065
|
sandbox_id: string | null;
|
|
916
1066
|
lease_ends_at: string | null;
|
|
@@ -921,8 +1071,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
921
1071
|
object: "agent_phone";
|
|
922
1072
|
agent_id: string;
|
|
923
1073
|
configured: boolean;
|
|
924
|
-
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
|
|
1074
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
925
1075
|
sku: string | null;
|
|
1076
|
+
byod_device: string | null;
|
|
926
1077
|
name: string | null;
|
|
927
1078
|
sandbox_id: string | null;
|
|
928
1079
|
lease_ends_at: string | null;
|
|
@@ -966,8 +1117,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
966
1117
|
id: string;
|
|
967
1118
|
} | null;
|
|
968
1119
|
note: string | null;
|
|
1120
|
+
deployments_behind: number | null;
|
|
969
1121
|
bindings: Array<{
|
|
970
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1122
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
971
1123
|
id: string;
|
|
972
1124
|
access: "read_only" | "read_write" | "invoke";
|
|
973
1125
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -1182,6 +1334,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1182
1334
|
enabled: boolean;
|
|
1183
1335
|
daily_session_cap: number | null;
|
|
1184
1336
|
daily_spend_cap_micro_usd: number | null;
|
|
1337
|
+
currency?: "USD" | "CNY" | null;
|
|
1185
1338
|
};
|
|
1186
1339
|
}>;
|
|
1187
1340
|
unarchive: {
|
|
@@ -1423,8 +1576,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1423
1576
|
id: string;
|
|
1424
1577
|
} | null;
|
|
1425
1578
|
note: string | null;
|
|
1579
|
+
deployments_behind: number | null;
|
|
1426
1580
|
bindings: Array<{
|
|
1427
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1581
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1428
1582
|
id: string;
|
|
1429
1583
|
access: "read_only" | "read_write" | "invoke";
|
|
1430
1584
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -1601,8 +1755,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1601
1755
|
id: string;
|
|
1602
1756
|
} | null;
|
|
1603
1757
|
note: string | null;
|
|
1758
|
+
deployments_behind: number | null;
|
|
1604
1759
|
bindings: Array<{
|
|
1605
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1760
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1606
1761
|
id: string;
|
|
1607
1762
|
access: "read_only" | "read_write" | "invoke";
|
|
1608
1763
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -1754,6 +1909,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1754
1909
|
enabled: boolean;
|
|
1755
1910
|
daily_session_cap: number | null;
|
|
1756
1911
|
daily_spend_cap_micro_usd: number | null;
|
|
1912
|
+
currency?: "USD" | "CNY" | null;
|
|
1757
1913
|
};
|
|
1758
1914
|
}>;
|
|
1759
1915
|
versions: {
|
|
@@ -1995,8 +2151,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1995
2151
|
id: string;
|
|
1996
2152
|
} | null;
|
|
1997
2153
|
note: string | null;
|
|
2154
|
+
deployments_behind: number | null;
|
|
1998
2155
|
bindings: Array<{
|
|
1999
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2156
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
2000
2157
|
id: string;
|
|
2001
2158
|
access: "read_only" | "read_write" | "invoke";
|
|
2002
2159
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -2174,7 +2331,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2174
2331
|
} | null;
|
|
2175
2332
|
note: string | null;
|
|
2176
2333
|
bindings: Array<{
|
|
2177
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2334
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
2178
2335
|
id: string;
|
|
2179
2336
|
access: "read_only" | "read_write" | "invoke";
|
|
2180
2337
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -2402,6 +2559,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
2402
2559
|
fallback?: "content";
|
|
2403
2560
|
skipped?: boolean;
|
|
2404
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
|
+
}>;
|
|
2405
2568
|
};
|
|
2406
2569
|
leases: {
|
|
2407
2570
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -2475,6 +2638,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2475
2638
|
id: string;
|
|
2476
2639
|
type: "agent";
|
|
2477
2640
|
version: number;
|
|
2641
|
+
pinned_version?: number | null;
|
|
2642
|
+
active_version?: number | null;
|
|
2478
2643
|
} | {
|
|
2479
2644
|
id: string;
|
|
2480
2645
|
type: "agent_with_overrides";
|
|
@@ -2512,6 +2677,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2512
2677
|
id: string;
|
|
2513
2678
|
type: "agent";
|
|
2514
2679
|
version: number;
|
|
2680
|
+
pinned_version?: number | null;
|
|
2681
|
+
active_version?: number | null;
|
|
2515
2682
|
} | {
|
|
2516
2683
|
id: string;
|
|
2517
2684
|
type: "agent_with_overrides";
|
|
@@ -2550,6 +2717,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2550
2717
|
id: string;
|
|
2551
2718
|
type: "agent";
|
|
2552
2719
|
version: number;
|
|
2720
|
+
pinned_version?: number | null;
|
|
2721
|
+
active_version?: number | null;
|
|
2553
2722
|
} | {
|
|
2554
2723
|
id: string;
|
|
2555
2724
|
type: "agent_with_overrides";
|
|
@@ -2589,6 +2758,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2589
2758
|
id: string;
|
|
2590
2759
|
type: "agent";
|
|
2591
2760
|
version: number;
|
|
2761
|
+
pinned_version?: number | null;
|
|
2762
|
+
active_version?: number | null;
|
|
2592
2763
|
} | {
|
|
2593
2764
|
id: string;
|
|
2594
2765
|
type: "agent_with_overrides";
|
|
@@ -2626,6 +2797,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2626
2797
|
id: string;
|
|
2627
2798
|
type: "agent";
|
|
2628
2799
|
version: number;
|
|
2800
|
+
pinned_version?: number | null;
|
|
2801
|
+
active_version?: number | null;
|
|
2629
2802
|
} | {
|
|
2630
2803
|
id: string;
|
|
2631
2804
|
type: "agent_with_overrides";
|
|
@@ -2667,6 +2840,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2667
2840
|
id: string;
|
|
2668
2841
|
type: "agent";
|
|
2669
2842
|
version: number;
|
|
2843
|
+
pinned_version?: number | null;
|
|
2844
|
+
active_version?: number | null;
|
|
2670
2845
|
} | {
|
|
2671
2846
|
id: string;
|
|
2672
2847
|
type: "agent_with_overrides";
|
|
@@ -2705,6 +2880,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2705
2880
|
id: string;
|
|
2706
2881
|
type: "agent";
|
|
2707
2882
|
version: number;
|
|
2883
|
+
pinned_version?: number | null;
|
|
2884
|
+
active_version?: number | null;
|
|
2708
2885
|
} | {
|
|
2709
2886
|
id: string;
|
|
2710
2887
|
type: "agent_with_overrides";
|
|
@@ -2747,6 +2924,31 @@ export declare function createAgent(transport: Transport): {
|
|
|
2747
2924
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
|
|
2748
2925
|
update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
|
|
2749
2926
|
};
|
|
2927
|
+
loginIntents: {
|
|
2928
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateAgentLoginIntentData> | undefined) => Promise<{
|
|
2929
|
+
data: Array<{
|
|
2930
|
+
type: string;
|
|
2931
|
+
plugin: {
|
|
2932
|
+
name: string;
|
|
2933
|
+
version: string;
|
|
2934
|
+
};
|
|
2935
|
+
description: string;
|
|
2936
|
+
environment: string;
|
|
2937
|
+
tools: Array<{
|
|
2938
|
+
name: string;
|
|
2939
|
+
description: string;
|
|
2940
|
+
input_schema: {
|
|
2941
|
+
[key: string]: unknown;
|
|
2942
|
+
};
|
|
2943
|
+
read_only: boolean;
|
|
2944
|
+
default_permission_policy: "always_allow" | "always_ask";
|
|
2945
|
+
mod: string;
|
|
2946
|
+
configurable: boolean;
|
|
2947
|
+
}>;
|
|
2948
|
+
}>;
|
|
2949
|
+
next_page: null;
|
|
2950
|
+
}>;
|
|
2951
|
+
};
|
|
2750
2952
|
sessions: {
|
|
2751
2953
|
agentVersion: {
|
|
2752
2954
|
create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
|
|
@@ -3517,6 +3719,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
3517
3719
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3518
3720
|
}>;
|
|
3519
3721
|
delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
|
|
3722
|
+
dictations: {
|
|
3723
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
|
|
3724
|
+
id: string;
|
|
3725
|
+
push_url: string;
|
|
3726
|
+
expires_at: string;
|
|
3727
|
+
}>;
|
|
3728
|
+
};
|
|
3520
3729
|
events: {
|
|
3521
3730
|
list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
|
|
3522
3731
|
data: Array<{
|
|
@@ -3669,6 +3878,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3669
3878
|
processed_at: string;
|
|
3670
3879
|
forked_from_session_id: string;
|
|
3671
3880
|
forked_from_message_id: string;
|
|
3881
|
+
message_id?: string;
|
|
3882
|
+
session_thread_id?: string | null;
|
|
3672
3883
|
} | {
|
|
3673
3884
|
id: string;
|
|
3674
3885
|
type: "session.goal_changed";
|
|
@@ -3699,6 +3910,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3699
3910
|
created_at: number;
|
|
3700
3911
|
updated_at: number;
|
|
3701
3912
|
} | null;
|
|
3913
|
+
message_id?: string;
|
|
3914
|
+
session_thread_id?: string | null;
|
|
3702
3915
|
} | {
|
|
3703
3916
|
id: string;
|
|
3704
3917
|
type: "session.goal_verification";
|
|
@@ -3713,26 +3926,179 @@ export declare function createAgent(transport: Transport): {
|
|
|
3713
3926
|
reason: string;
|
|
3714
3927
|
next_action?: string;
|
|
3715
3928
|
};
|
|
3929
|
+
message_id?: string;
|
|
3930
|
+
session_thread_id?: string | null;
|
|
3716
3931
|
} | {
|
|
3717
3932
|
id: string;
|
|
3718
3933
|
type: "user.steer";
|
|
3719
3934
|
event_id: string;
|
|
3720
3935
|
processed_at: string;
|
|
3936
|
+
message_id?: string;
|
|
3937
|
+
session_thread_id?: string | null;
|
|
3938
|
+
} | {
|
|
3939
|
+
id: string;
|
|
3940
|
+
type: "cognition.surfaced";
|
|
3941
|
+
processed_at: string;
|
|
3942
|
+
worker_session_id: string;
|
|
3943
|
+
name: string;
|
|
3944
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
3945
|
+
experience_id?: string;
|
|
3946
|
+
result?: {
|
|
3947
|
+
message?: string;
|
|
3948
|
+
links?: Array<string>;
|
|
3949
|
+
files?: Array<{
|
|
3950
|
+
name?: string;
|
|
3951
|
+
href?: string;
|
|
3952
|
+
}>;
|
|
3953
|
+
held?: Array<{
|
|
3954
|
+
id?: string;
|
|
3955
|
+
summary?: string;
|
|
3956
|
+
effect?: string;
|
|
3957
|
+
method?: string;
|
|
3958
|
+
path?: string;
|
|
3959
|
+
expires_at?: string;
|
|
3960
|
+
}>;
|
|
3961
|
+
};
|
|
3962
|
+
} | {
|
|
3963
|
+
id: string;
|
|
3964
|
+
type: "cognition.intention_woken";
|
|
3965
|
+
processed_at: string;
|
|
3966
|
+
node_id: string;
|
|
3967
|
+
reason: "open_engram" | "assignment";
|
|
3968
|
+
} | {
|
|
3969
|
+
id: string;
|
|
3970
|
+
type: "agent.operation_approval_requested";
|
|
3971
|
+
processed_at: string;
|
|
3972
|
+
approval_id: string;
|
|
3973
|
+
operation_id: string;
|
|
3974
|
+
effect: "outward" | "irreversible";
|
|
3975
|
+
method: string;
|
|
3976
|
+
path: string;
|
|
3977
|
+
summary: string;
|
|
3978
|
+
expires_at: string;
|
|
3979
|
+
worker_session_id?: string;
|
|
3980
|
+
worker_name?: string;
|
|
3981
|
+
} | {
|
|
3982
|
+
id: string;
|
|
3983
|
+
type: "agent.operation_approval_decided";
|
|
3984
|
+
processed_at: string;
|
|
3985
|
+
approval_id: string;
|
|
3986
|
+
status: "approved" | "refused" | "expired";
|
|
3987
|
+
} | {
|
|
3988
|
+
id: string;
|
|
3989
|
+
type: "session.prompt_configuration_mismatch";
|
|
3990
|
+
processed_at: string;
|
|
3991
|
+
pinned_revision_id: string;
|
|
3992
|
+
current_revision_id: string;
|
|
3993
|
+
} | {
|
|
3994
|
+
id: string;
|
|
3995
|
+
type: "session.prompt_rev_changed";
|
|
3996
|
+
processed_at: string;
|
|
3997
|
+
config_revision_id: string;
|
|
3998
|
+
changed: Array<{
|
|
3999
|
+
name: string;
|
|
4000
|
+
rev: string | null;
|
|
4001
|
+
}>;
|
|
4002
|
+
} | {
|
|
4003
|
+
id: string;
|
|
4004
|
+
type: "session.computer_tier";
|
|
4005
|
+
processed_at: string;
|
|
4006
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
4007
|
+
tier: "light" | "heavy";
|
|
4008
|
+
duration_ms: number;
|
|
4009
|
+
error_code?: string;
|
|
4010
|
+
status?: {
|
|
4011
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
4012
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
4013
|
+
percent?: number;
|
|
4014
|
+
files_done?: number;
|
|
4015
|
+
files_total?: number;
|
|
4016
|
+
idle_release_at?: number;
|
|
4017
|
+
retry_at?: number;
|
|
4018
|
+
epoch?: number;
|
|
4019
|
+
heavy_instance?: string | null;
|
|
4020
|
+
heavy_paused?: boolean;
|
|
4021
|
+
};
|
|
4022
|
+
} | {
|
|
4023
|
+
id: string;
|
|
4024
|
+
type: "agent.artifact_delivered";
|
|
4025
|
+
processed_at: string;
|
|
4026
|
+
artifact: {
|
|
4027
|
+
object: "artifact";
|
|
4028
|
+
id: string;
|
|
4029
|
+
session_id: string;
|
|
4030
|
+
run_id: string | null;
|
|
4031
|
+
name: string;
|
|
4032
|
+
version: number;
|
|
4033
|
+
parts: Array<{
|
|
4034
|
+
[key: string]: unknown;
|
|
4035
|
+
}>;
|
|
4036
|
+
source_hrefs: Array<string>;
|
|
4037
|
+
create_time: string;
|
|
4038
|
+
update_time: string;
|
|
4039
|
+
};
|
|
3721
4040
|
} | {
|
|
3722
4041
|
id: string;
|
|
3723
|
-
type: "
|
|
4042
|
+
type: "agent.image_generation";
|
|
3724
4043
|
processed_at: string;
|
|
3725
4044
|
tool_use_id: string;
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
4045
|
+
index: number;
|
|
4046
|
+
total: number;
|
|
4047
|
+
status: string;
|
|
4048
|
+
mode?: string;
|
|
4049
|
+
aspect?: string;
|
|
4050
|
+
prompt?: string;
|
|
4051
|
+
model?: string;
|
|
4052
|
+
file_id?: string;
|
|
4053
|
+
label?: string;
|
|
4054
|
+
width?: number;
|
|
4055
|
+
height?: number;
|
|
4056
|
+
revised_prompt?: string;
|
|
4057
|
+
source_labels?: Array<string>;
|
|
4058
|
+
caption?: string;
|
|
4059
|
+
slot?: number | null;
|
|
4060
|
+
replaces?: string;
|
|
4061
|
+
version?: number;
|
|
4062
|
+
failure?: {
|
|
4063
|
+
reason?: string;
|
|
3729
4064
|
};
|
|
3730
|
-
|
|
3731
|
-
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
4065
|
+
} | {
|
|
4066
|
+
id: string;
|
|
4067
|
+
type: "session.image_labeled";
|
|
4068
|
+
processed_at: string;
|
|
4069
|
+
label: string;
|
|
4070
|
+
file_id: string;
|
|
4071
|
+
origin: "generated" | "uploaded";
|
|
4072
|
+
filename: string;
|
|
4073
|
+
tool_use_id?: string;
|
|
4074
|
+
version?: number;
|
|
4075
|
+
replaced_file_id?: string;
|
|
4076
|
+
} | {
|
|
4077
|
+
id: string;
|
|
4078
|
+
type: "session.image_set_planned";
|
|
4079
|
+
processed_at: string;
|
|
4080
|
+
tool_use_id: string;
|
|
4081
|
+
items: Array<unknown>;
|
|
4082
|
+
title?: string;
|
|
4083
|
+
} | {
|
|
4084
|
+
id: string;
|
|
4085
|
+
type: "session.project_attached";
|
|
4086
|
+
processed_at: string;
|
|
4087
|
+
project: {
|
|
4088
|
+
id: string;
|
|
4089
|
+
name: string;
|
|
4090
|
+
path: string;
|
|
3735
4091
|
};
|
|
4092
|
+
message_id?: string;
|
|
4093
|
+
session_thread_id?: string | null;
|
|
4094
|
+
} | {
|
|
4095
|
+
id: string;
|
|
4096
|
+
type: "session.project_detached";
|
|
4097
|
+
processed_at: string;
|
|
4098
|
+
project_id: string;
|
|
4099
|
+
reason?: "project_removed";
|
|
4100
|
+
message_id?: string;
|
|
4101
|
+
session_thread_id?: string | null;
|
|
3736
4102
|
}>;
|
|
3737
4103
|
next_page: string | null;
|
|
3738
4104
|
}>;
|
|
@@ -3753,21 +4119,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3753
4119
|
type: "user.steer";
|
|
3754
4120
|
event_id: string;
|
|
3755
4121
|
processed_at: string;
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
type: "user.tool_confirmation";
|
|
3759
|
-
processed_at: string;
|
|
3760
|
-
tool_use_id: string;
|
|
3761
|
-
result: "allow";
|
|
3762
|
-
answers: {
|
|
3763
|
-
[key: string]: string;
|
|
3764
|
-
};
|
|
3765
|
-
annotations?: {
|
|
3766
|
-
[key: string]: {
|
|
3767
|
-
preview?: string;
|
|
3768
|
-
notes?: string;
|
|
3769
|
-
};
|
|
3770
|
-
};
|
|
4122
|
+
message_id?: string;
|
|
4123
|
+
session_thread_id?: string | null;
|
|
3771
4124
|
}>;
|
|
3772
4125
|
}>;
|
|
3773
4126
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -5069,6 +5422,16 @@ export declare function createAgent(transport: Transport): {
|
|
|
5069
5422
|
};
|
|
5070
5423
|
measured_at: string | null;
|
|
5071
5424
|
}>;
|
|
5425
|
+
retrievePromptRevs: (options: import("./core/transport.js").CallOptions<Types.GetSessionPromptRevsData>) => Promise<{
|
|
5426
|
+
run_id: string | null;
|
|
5427
|
+
config_revision_id: string;
|
|
5428
|
+
config_version: number | null;
|
|
5429
|
+
platform: {
|
|
5430
|
+
[key: string]: string;
|
|
5431
|
+
};
|
|
5432
|
+
at: number;
|
|
5433
|
+
reaped_turns: number;
|
|
5434
|
+
}>;
|
|
5072
5435
|
runs: {
|
|
5073
5436
|
deleteFeedback: (options: import("./core/transport.js").CallOptions<Types.DeleteRunFeedbackData>) => Promise<void>;
|
|
5074
5437
|
feedback: {
|
|
@@ -5245,6 +5608,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
5245
5608
|
processed_at: string;
|
|
5246
5609
|
forked_from_session_id: string;
|
|
5247
5610
|
forked_from_message_id: string;
|
|
5611
|
+
message_id?: string;
|
|
5612
|
+
session_thread_id?: string | null;
|
|
5248
5613
|
} | {
|
|
5249
5614
|
id: string;
|
|
5250
5615
|
type: "session.goal_changed";
|
|
@@ -5275,6 +5640,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
5275
5640
|
created_at: number;
|
|
5276
5641
|
updated_at: number;
|
|
5277
5642
|
} | null;
|
|
5643
|
+
message_id?: string;
|
|
5644
|
+
session_thread_id?: string | null;
|
|
5278
5645
|
} | {
|
|
5279
5646
|
id: string;
|
|
5280
5647
|
type: "session.goal_verification";
|
|
@@ -5289,75 +5656,243 @@ export declare function createAgent(transport: Transport): {
|
|
|
5289
5656
|
reason: string;
|
|
5290
5657
|
next_action?: string;
|
|
5291
5658
|
};
|
|
5659
|
+
message_id?: string;
|
|
5660
|
+
session_thread_id?: string | null;
|
|
5292
5661
|
} | {
|
|
5293
5662
|
id: string;
|
|
5294
5663
|
type: "user.steer";
|
|
5295
5664
|
event_id: string;
|
|
5296
5665
|
processed_at: string;
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5303
|
-
|
|
5304
|
-
|
|
5305
|
-
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
5309
|
-
|
|
5310
|
-
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
5350
|
-
|
|
5351
|
-
|
|
5352
|
-
|
|
5353
|
-
|
|
5354
|
-
|
|
5355
|
-
|
|
5356
|
-
|
|
5357
|
-
|
|
5358
|
-
|
|
5359
|
-
|
|
5360
|
-
|
|
5666
|
+
message_id?: string;
|
|
5667
|
+
session_thread_id?: string | null;
|
|
5668
|
+
} | {
|
|
5669
|
+
id: string;
|
|
5670
|
+
type: "cognition.surfaced";
|
|
5671
|
+
processed_at: string;
|
|
5672
|
+
worker_session_id: string;
|
|
5673
|
+
name: string;
|
|
5674
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
5675
|
+
experience_id?: string;
|
|
5676
|
+
result?: {
|
|
5677
|
+
message?: string;
|
|
5678
|
+
links?: Array<string>;
|
|
5679
|
+
files?: Array<{
|
|
5680
|
+
name?: string;
|
|
5681
|
+
href?: string;
|
|
5682
|
+
}>;
|
|
5683
|
+
held?: Array<{
|
|
5684
|
+
id?: string;
|
|
5685
|
+
summary?: string;
|
|
5686
|
+
effect?: string;
|
|
5687
|
+
method?: string;
|
|
5688
|
+
path?: string;
|
|
5689
|
+
expires_at?: string;
|
|
5690
|
+
}>;
|
|
5691
|
+
};
|
|
5692
|
+
} | {
|
|
5693
|
+
id: string;
|
|
5694
|
+
type: "cognition.intention_woken";
|
|
5695
|
+
processed_at: string;
|
|
5696
|
+
node_id: string;
|
|
5697
|
+
reason: "open_engram" | "assignment";
|
|
5698
|
+
} | {
|
|
5699
|
+
id: string;
|
|
5700
|
+
type: "agent.operation_approval_requested";
|
|
5701
|
+
processed_at: string;
|
|
5702
|
+
approval_id: string;
|
|
5703
|
+
operation_id: string;
|
|
5704
|
+
effect: "outward" | "irreversible";
|
|
5705
|
+
method: string;
|
|
5706
|
+
path: string;
|
|
5707
|
+
summary: string;
|
|
5708
|
+
expires_at: string;
|
|
5709
|
+
worker_session_id?: string;
|
|
5710
|
+
worker_name?: string;
|
|
5711
|
+
} | {
|
|
5712
|
+
id: string;
|
|
5713
|
+
type: "agent.operation_approval_decided";
|
|
5714
|
+
processed_at: string;
|
|
5715
|
+
approval_id: string;
|
|
5716
|
+
status: "approved" | "refused" | "expired";
|
|
5717
|
+
} | {
|
|
5718
|
+
id: string;
|
|
5719
|
+
type: "session.prompt_configuration_mismatch";
|
|
5720
|
+
processed_at: string;
|
|
5721
|
+
pinned_revision_id: string;
|
|
5722
|
+
current_revision_id: string;
|
|
5723
|
+
} | {
|
|
5724
|
+
id: string;
|
|
5725
|
+
type: "session.prompt_rev_changed";
|
|
5726
|
+
processed_at: string;
|
|
5727
|
+
config_revision_id: string;
|
|
5728
|
+
changed: Array<{
|
|
5729
|
+
name: string;
|
|
5730
|
+
rev: string | null;
|
|
5731
|
+
}>;
|
|
5732
|
+
} | {
|
|
5733
|
+
id: string;
|
|
5734
|
+
type: "session.computer_tier";
|
|
5735
|
+
processed_at: string;
|
|
5736
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
5737
|
+
tier: "light" | "heavy";
|
|
5738
|
+
duration_ms: number;
|
|
5739
|
+
error_code?: string;
|
|
5740
|
+
status?: {
|
|
5741
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
5742
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
5743
|
+
percent?: number;
|
|
5744
|
+
files_done?: number;
|
|
5745
|
+
files_total?: number;
|
|
5746
|
+
idle_release_at?: number;
|
|
5747
|
+
retry_at?: number;
|
|
5748
|
+
epoch?: number;
|
|
5749
|
+
heavy_instance?: string | null;
|
|
5750
|
+
heavy_paused?: boolean;
|
|
5751
|
+
};
|
|
5752
|
+
} | {
|
|
5753
|
+
id: string;
|
|
5754
|
+
type: "agent.artifact_delivered";
|
|
5755
|
+
processed_at: string;
|
|
5756
|
+
artifact: {
|
|
5757
|
+
object: "artifact";
|
|
5758
|
+
id: string;
|
|
5759
|
+
session_id: string;
|
|
5760
|
+
run_id: string | null;
|
|
5761
|
+
name: string;
|
|
5762
|
+
version: number;
|
|
5763
|
+
parts: Array<{
|
|
5764
|
+
[key: string]: unknown;
|
|
5765
|
+
}>;
|
|
5766
|
+
source_hrefs: Array<string>;
|
|
5767
|
+
create_time: string;
|
|
5768
|
+
update_time: string;
|
|
5769
|
+
};
|
|
5770
|
+
} | {
|
|
5771
|
+
id: string;
|
|
5772
|
+
type: "agent.image_generation";
|
|
5773
|
+
processed_at: string;
|
|
5774
|
+
tool_use_id: string;
|
|
5775
|
+
index: number;
|
|
5776
|
+
total: number;
|
|
5777
|
+
status: string;
|
|
5778
|
+
mode?: string;
|
|
5779
|
+
aspect?: string;
|
|
5780
|
+
prompt?: string;
|
|
5781
|
+
model?: string;
|
|
5782
|
+
file_id?: string;
|
|
5783
|
+
label?: string;
|
|
5784
|
+
width?: number;
|
|
5785
|
+
height?: number;
|
|
5786
|
+
revised_prompt?: string;
|
|
5787
|
+
source_labels?: Array<string>;
|
|
5788
|
+
caption?: string;
|
|
5789
|
+
slot?: number | null;
|
|
5790
|
+
replaces?: string;
|
|
5791
|
+
version?: number;
|
|
5792
|
+
failure?: {
|
|
5793
|
+
reason?: string;
|
|
5794
|
+
};
|
|
5795
|
+
} | {
|
|
5796
|
+
id: string;
|
|
5797
|
+
type: "session.image_labeled";
|
|
5798
|
+
processed_at: string;
|
|
5799
|
+
label: string;
|
|
5800
|
+
file_id: string;
|
|
5801
|
+
origin: "generated" | "uploaded";
|
|
5802
|
+
filename: string;
|
|
5803
|
+
tool_use_id?: string;
|
|
5804
|
+
version?: number;
|
|
5805
|
+
replaced_file_id?: string;
|
|
5806
|
+
} | {
|
|
5807
|
+
id: string;
|
|
5808
|
+
type: "session.image_set_planned";
|
|
5809
|
+
processed_at: string;
|
|
5810
|
+
tool_use_id: string;
|
|
5811
|
+
items: Array<unknown>;
|
|
5812
|
+
title?: string;
|
|
5813
|
+
} | {
|
|
5814
|
+
id: string;
|
|
5815
|
+
type: "session.project_attached";
|
|
5816
|
+
processed_at: string;
|
|
5817
|
+
project: {
|
|
5818
|
+
id: string;
|
|
5819
|
+
name: string;
|
|
5820
|
+
path: string;
|
|
5821
|
+
};
|
|
5822
|
+
message_id?: string;
|
|
5823
|
+
session_thread_id?: string | null;
|
|
5824
|
+
} | {
|
|
5825
|
+
id: string;
|
|
5826
|
+
type: "session.project_detached";
|
|
5827
|
+
processed_at: string;
|
|
5828
|
+
project_id: string;
|
|
5829
|
+
reason?: "project_removed";
|
|
5830
|
+
message_id?: string;
|
|
5831
|
+
session_thread_id?: string | null;
|
|
5832
|
+
}>;
|
|
5833
|
+
next_page: string | null;
|
|
5834
|
+
}>;
|
|
5835
|
+
};
|
|
5836
|
+
list: (options: import("./core/transport.js").CallOptions<Types.SessionsThreadsListData>) => Promise<{
|
|
5837
|
+
data: Array<Types.AgentManaged256>;
|
|
5838
|
+
next_page: string | null;
|
|
5839
|
+
}>;
|
|
5840
|
+
retrieve: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsThreadsRetrieveData, {
|
|
5841
|
+
query: {
|
|
5842
|
+
"session_id": "query_session_id";
|
|
5843
|
+
};
|
|
5844
|
+
}>>) => Promise<Types.AgentManaged256>;
|
|
5845
|
+
stream: (options: import("./core/transport.js").StreamOptions<RenameParameters<Types.SessionsThreadsEventsStreamData, {
|
|
5846
|
+
query: {
|
|
5847
|
+
"session_id": "query_session_id";
|
|
5848
|
+
};
|
|
5849
|
+
}>>) => AsyncIterable<Types.AgentSseEvent>;
|
|
5850
|
+
};
|
|
5851
|
+
update: (options: import("./core/transport.js").CallOptions<Types.SessionsUpdateData>) => Promise<{
|
|
5852
|
+
id: string;
|
|
5853
|
+
agent: {
|
|
5854
|
+
id: string;
|
|
5855
|
+
description: null | string;
|
|
5856
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
5857
|
+
model: {
|
|
5858
|
+
id: string;
|
|
5859
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
5860
|
+
inference_geo?: string;
|
|
5861
|
+
speed?: "standard" | "fast";
|
|
5862
|
+
settings?: {
|
|
5863
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
5864
|
+
max_output_tokens?: number;
|
|
5865
|
+
};
|
|
5866
|
+
};
|
|
5867
|
+
multiagent: null | Types.AgentManaged171;
|
|
5868
|
+
name: string;
|
|
5869
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
5870
|
+
system: null | string;
|
|
5871
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
5872
|
+
type: "agent";
|
|
5873
|
+
version: number;
|
|
5874
|
+
};
|
|
5875
|
+
archived_at: null | string;
|
|
5876
|
+
budget: null | Types.AgentManaged76;
|
|
5877
|
+
created_at: string;
|
|
5878
|
+
environment_id?: string;
|
|
5879
|
+
metadata: Types.AgentManaged173;
|
|
5880
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
5881
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
5882
|
+
stats: Types.AgentManaged178;
|
|
5883
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
5884
|
+
title: null | string;
|
|
5885
|
+
type: "session";
|
|
5886
|
+
updated_at: string;
|
|
5887
|
+
usage: Types.AgentManaged179;
|
|
5888
|
+
vault_ids: Array<string>;
|
|
5889
|
+
deployment_id?: null | string;
|
|
5890
|
+
cwd: string;
|
|
5891
|
+
workspace?: {
|
|
5892
|
+
kind: "shared" | "isolated";
|
|
5893
|
+
path?: string;
|
|
5894
|
+
branch?: string;
|
|
5895
|
+
};
|
|
5361
5896
|
computer_id?: string;
|
|
5362
5897
|
model?: {
|
|
5363
5898
|
id: string;
|
|
@@ -5816,10 +6351,18 @@ export declare function createCanvas(transport: Transport): {
|
|
|
5816
6351
|
images: {
|
|
5817
6352
|
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
|
|
5818
6353
|
};
|
|
6354
|
+
imports: {
|
|
6355
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CanvasSetImportData>) => Promise<Types.CanvasSetImportResult>;
|
|
6356
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteImportData>) => Promise<Types.CanvasDeleteImportResult>;
|
|
6357
|
+
};
|
|
6358
|
+
libraryVersions: {
|
|
6359
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListLibraryVersionsData>) => Promise<Types.CanvasLibraryVersionPage>;
|
|
6360
|
+
};
|
|
5819
6361
|
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
|
|
5820
6362
|
nodes: {
|
|
5821
6363
|
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
|
|
5822
6364
|
};
|
|
6365
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.CanvasPublishLibraryData>) => Promise<Types.CanvasPublishLibraryResult>;
|
|
5823
6366
|
restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
|
|
5824
6367
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
|
|
5825
6368
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
|
|
@@ -5834,6 +6377,9 @@ export declare function createCanvas(transport: Transport): {
|
|
|
5834
6377
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
|
|
5835
6378
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
5836
6379
|
};
|
|
6380
|
+
libraries: {
|
|
6381
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasLibrarySummary>>;
|
|
6382
|
+
};
|
|
5837
6383
|
};
|
|
5838
6384
|
export declare function createContent(transport: Transport): {
|
|
5839
6385
|
contents: {
|
|
@@ -5934,6 +6480,7 @@ export declare function createCustomer(transport: Transport): {
|
|
|
5934
6480
|
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
|
|
5935
6481
|
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
|
|
5936
6482
|
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
|
|
6483
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CustomerUpdatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
|
|
5937
6484
|
};
|
|
5938
6485
|
usage: {
|
|
5939
6486
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
|
|
@@ -5991,15 +6538,40 @@ export declare function createCut(transport: Transport): {
|
|
|
5991
6538
|
};
|
|
5992
6539
|
export declare function createDatabase(transport: Transport): {
|
|
5993
6540
|
databases: {
|
|
6541
|
+
commands: {
|
|
6542
|
+
/** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
|
|
6543
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
|
|
6544
|
+
result: unknown;
|
|
6545
|
+
}>;
|
|
6546
|
+
};
|
|
6547
|
+
/** @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. */
|
|
5994
6548
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6549
|
+
/** @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. */
|
|
5995
6550
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
5996
6551
|
events: {
|
|
6552
|
+
/** @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. */
|
|
5997
6553
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
|
|
5998
6554
|
data: Array<Types.DatabaseDatabaseEvent>;
|
|
5999
6555
|
}>;
|
|
6000
6556
|
};
|
|
6557
|
+
keys: {
|
|
6558
|
+
/** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
|
|
6559
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
|
|
6560
|
+
deleted: boolean;
|
|
6561
|
+
}>;
|
|
6562
|
+
/** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
|
|
6563
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6564
|
+
/** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
|
|
6565
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6566
|
+
/** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
|
|
6567
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6568
|
+
/** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
|
|
6569
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6570
|
+
};
|
|
6571
|
+
/** @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. */
|
|
6001
6572
|
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6002
6573
|
purge: {
|
|
6574
|
+
/** @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. */
|
|
6003
6575
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
|
|
6004
6576
|
id: string;
|
|
6005
6577
|
object: "database";
|
|
@@ -6007,32 +6579,125 @@ export declare function createDatabase(transport: Transport): {
|
|
|
6007
6579
|
}>;
|
|
6008
6580
|
};
|
|
6009
6581
|
rest: {
|
|
6582
|
+
/** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
|
|
6010
6583
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6584
|
+
/** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
|
|
6011
6585
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6586
|
+
/** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
|
|
6012
6587
|
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
|
|
6588
|
+
/** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
|
|
6013
6589
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6590
|
+
/** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
|
|
6014
6591
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6015
6592
|
};
|
|
6593
|
+
/** @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. */
|
|
6016
6594
|
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6595
|
+
/** @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. */
|
|
6017
6596
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6018
6597
|
tables: {
|
|
6598
|
+
/** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
|
|
6019
6599
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6600
|
+
/** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
|
|
6020
6601
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
|
|
6021
6602
|
deleted: true;
|
|
6022
6603
|
}>;
|
|
6023
6604
|
fields: {
|
|
6605
|
+
/** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
|
|
6024
6606
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6607
|
+
/** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
|
|
6025
6608
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6609
|
+
/** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
|
|
6026
6610
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
6027
6611
|
};
|
|
6612
|
+
/** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
|
|
6028
6613
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
|
|
6029
6614
|
data: Array<Types.DatabaseTable>;
|
|
6030
6615
|
}>;
|
|
6616
|
+
/** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
|
|
6031
6617
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6618
|
+
/** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
|
|
6032
6619
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
6033
6620
|
};
|
|
6621
|
+
/** @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. */
|
|
6034
6622
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6035
6623
|
};
|
|
6624
|
+
kv: {
|
|
6625
|
+
commands: {
|
|
6626
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
|
|
6627
|
+
result: unknown;
|
|
6628
|
+
}>;
|
|
6629
|
+
};
|
|
6630
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6631
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6632
|
+
events: {
|
|
6633
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
|
|
6634
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6635
|
+
}>;
|
|
6636
|
+
};
|
|
6637
|
+
keys: {
|
|
6638
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
|
|
6639
|
+
deleted: boolean;
|
|
6640
|
+
}>;
|
|
6641
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6642
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6643
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6644
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6645
|
+
};
|
|
6646
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6647
|
+
purge: {
|
|
6648
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
|
|
6649
|
+
id: string;
|
|
6650
|
+
object: "database";
|
|
6651
|
+
purged: true;
|
|
6652
|
+
}>;
|
|
6653
|
+
};
|
|
6654
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6655
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6656
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6657
|
+
};
|
|
6658
|
+
table: {
|
|
6659
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6660
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6661
|
+
events: {
|
|
6662
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
|
|
6663
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6664
|
+
}>;
|
|
6665
|
+
};
|
|
6666
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6667
|
+
purge: {
|
|
6668
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
|
|
6669
|
+
id: string;
|
|
6670
|
+
object: "database";
|
|
6671
|
+
purged: true;
|
|
6672
|
+
}>;
|
|
6673
|
+
};
|
|
6674
|
+
rest: {
|
|
6675
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6676
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6677
|
+
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
|
|
6678
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6679
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6680
|
+
};
|
|
6681
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6682
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6683
|
+
tables: {
|
|
6684
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6685
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
|
|
6686
|
+
deleted: true;
|
|
6687
|
+
}>;
|
|
6688
|
+
fields: {
|
|
6689
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6690
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6691
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
6692
|
+
};
|
|
6693
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
|
|
6694
|
+
data: Array<Types.DatabaseTable>;
|
|
6695
|
+
}>;
|
|
6696
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6697
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
6698
|
+
};
|
|
6699
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6700
|
+
};
|
|
6036
6701
|
};
|
|
6037
6702
|
export declare function createDevops(transport: Transport): {
|
|
6038
6703
|
changes: {
|
|
@@ -6079,6 +6744,13 @@ export declare function createDevops(transport: Transport): {
|
|
|
6079
6744
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
6080
6745
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
6081
6746
|
};
|
|
6747
|
+
cleanups: {
|
|
6748
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
|
|
6749
|
+
};
|
|
6750
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
|
|
6751
|
+
defaultBranch: {
|
|
6752
|
+
initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
|
|
6753
|
+
};
|
|
6082
6754
|
environments: {
|
|
6083
6755
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
6084
6756
|
targets: {
|
|
@@ -6151,6 +6823,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
6151
6823
|
promotions: {
|
|
6152
6824
|
approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
|
|
6153
6825
|
cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
|
|
6826
|
+
checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
|
|
6154
6827
|
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
|
|
6155
6828
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
|
|
6156
6829
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
|
|
@@ -6165,6 +6838,9 @@ export declare function createDevops(transport: Transport): {
|
|
|
6165
6838
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
6166
6839
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
6167
6840
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
|
|
6841
|
+
reviews: {
|
|
6842
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
|
|
6843
|
+
};
|
|
6168
6844
|
};
|
|
6169
6845
|
releases: {
|
|
6170
6846
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
@@ -6387,9 +7063,49 @@ export declare function createMedia(transport: Transport): {
|
|
|
6387
7063
|
};
|
|
6388
7064
|
};
|
|
6389
7065
|
};
|
|
7066
|
+
pipelines: {
|
|
7067
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
7068
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaPipelineData>) => Promise<Types.MediaPipelineDeleted>;
|
|
7069
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaPipelinesData> | undefined) => Promise<Types.MediaPipelineList>;
|
|
7070
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
7071
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
7072
|
+
};
|
|
6390
7073
|
speech: {
|
|
6391
7074
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
|
|
6392
7075
|
};
|
|
7076
|
+
streams: {
|
|
7077
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamData>) => Promise<Types.MediaStreamWithPush>;
|
|
7078
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamData>) => Promise<Types.MediaStreamDeleted>;
|
|
7079
|
+
disable: {
|
|
7080
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisableMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7081
|
+
};
|
|
7082
|
+
enable: {
|
|
7083
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EnableMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7084
|
+
};
|
|
7085
|
+
events: {
|
|
7086
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamEventsData>) => Promise<Types.MediaStreamEventList>;
|
|
7087
|
+
};
|
|
7088
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaStreamsData> | undefined) => Promise<Types.MediaStreamList>;
|
|
7089
|
+
outputs: {
|
|
7090
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamOutputData>) => Promise<Types.MediaStreamOutput>;
|
|
7091
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamOutputData>) => Promise<Types.MediaStreamOutputDeleted>;
|
|
7092
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamOutputsData>) => Promise<Types.MediaStreamOutputList>;
|
|
7093
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamOutputData>) => Promise<Types.MediaStreamOutput>;
|
|
7094
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamOutputData>) => Promise<Types.MediaStreamOutput>;
|
|
7095
|
+
};
|
|
7096
|
+
playbackToken: {
|
|
7097
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamPlaybackData>) => Promise<Types.MediaStreamPlayback>;
|
|
7098
|
+
};
|
|
7099
|
+
resetToken: {
|
|
7100
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ResetMediaStreamTokenData>) => Promise<Types.MediaStreamWithPush>;
|
|
7101
|
+
};
|
|
7102
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7103
|
+
retrievePlaylist: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamLivePlaylistData>) => Promise<string>;
|
|
7104
|
+
subscribeToken: {
|
|
7105
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamSubscriptionData>) => Promise<Types.MediaStreamSubscription>;
|
|
7106
|
+
};
|
|
7107
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7108
|
+
};
|
|
6393
7109
|
videos: {
|
|
6394
7110
|
generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
|
|
6395
7111
|
};
|
|
@@ -7007,23 +7723,6 @@ export declare function createOntology(transport: Transport): {
|
|
|
7007
7723
|
};
|
|
7008
7724
|
};
|
|
7009
7725
|
export declare function createOrganization(transport: Transport): {
|
|
7010
|
-
actors: {
|
|
7011
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
7012
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
7013
|
-
};
|
|
7014
|
-
assignments: {
|
|
7015
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
7016
|
-
makePrimary: {
|
|
7017
|
-
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
7018
|
-
};
|
|
7019
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
7020
|
-
terminate: {
|
|
7021
|
-
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
7022
|
-
};
|
|
7023
|
-
transfer: {
|
|
7024
|
-
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
7025
|
-
};
|
|
7026
|
-
};
|
|
7027
7726
|
charges: {
|
|
7028
7727
|
list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
|
|
7029
7728
|
ChargePeriodStart: string;
|
|
@@ -7065,16 +7764,6 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7065
7764
|
next_page: string | null;
|
|
7066
7765
|
}>;
|
|
7067
7766
|
};
|
|
7068
|
-
departments: {
|
|
7069
|
-
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7070
|
-
dissolve: {
|
|
7071
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7072
|
-
};
|
|
7073
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
7074
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7075
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7076
|
-
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
7077
|
-
};
|
|
7078
7767
|
events: {
|
|
7079
7768
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
7080
7769
|
object: "page";
|
|
@@ -7277,27 +7966,6 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7277
7966
|
}>;
|
|
7278
7967
|
}>;
|
|
7279
7968
|
};
|
|
7280
|
-
jobs: {
|
|
7281
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7282
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
7283
|
-
retire: {
|
|
7284
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7285
|
-
};
|
|
7286
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7287
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7288
|
-
};
|
|
7289
|
-
keyResults: {
|
|
7290
|
-
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
7291
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
7292
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
7293
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
7294
|
-
};
|
|
7295
|
-
ladders: {
|
|
7296
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7297
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
7298
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7299
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7300
|
-
};
|
|
7301
7969
|
members: {
|
|
7302
7970
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
|
|
7303
7971
|
data: Array<{
|
|
@@ -7311,51 +7979,83 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7311
7979
|
next_page: string | null;
|
|
7312
7980
|
}>;
|
|
7313
7981
|
};
|
|
7314
|
-
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
7320
|
-
parents: {
|
|
7321
|
-
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7322
|
-
};
|
|
7323
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7324
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7325
|
-
};
|
|
7326
|
-
periods: {
|
|
7327
|
-
close: {
|
|
7328
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
7329
|
-
};
|
|
7330
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
7331
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
7332
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
7333
|
-
};
|
|
7334
|
-
positions: {
|
|
7335
|
-
close: {
|
|
7336
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7337
|
-
};
|
|
7338
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
7339
|
-
designateHead: {
|
|
7340
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
7341
|
-
};
|
|
7342
|
-
freeze: {
|
|
7343
|
-
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7982
|
+
notifications: {
|
|
7983
|
+
deliveries: {
|
|
7984
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
|
|
7985
|
+
[key: string]: unknown;
|
|
7986
|
+
}>;
|
|
7344
7987
|
};
|
|
7345
|
-
|
|
7346
|
-
|
|
7988
|
+
letters: {
|
|
7989
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
|
|
7990
|
+
unread: number;
|
|
7991
|
+
}>;
|
|
7992
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7993
|
+
letters: Array<{
|
|
7994
|
+
id: string;
|
|
7995
|
+
sender: string;
|
|
7996
|
+
summary: string;
|
|
7997
|
+
body: string;
|
|
7998
|
+
thread: string;
|
|
7999
|
+
kind: "notice" | "mention" | "decision";
|
|
8000
|
+
source: {
|
|
8001
|
+
[key: string]: unknown;
|
|
8002
|
+
};
|
|
8003
|
+
read: boolean;
|
|
8004
|
+
deliveredAt: string;
|
|
8005
|
+
createTime: string;
|
|
8006
|
+
reason: string;
|
|
8007
|
+
archived: boolean;
|
|
8008
|
+
}>;
|
|
8009
|
+
nextCursor: string;
|
|
8010
|
+
unread: number;
|
|
8011
|
+
}>;
|
|
8012
|
+
read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
|
|
8013
|
+
unread: number;
|
|
8014
|
+
}>;
|
|
8015
|
+
readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
8016
|
+
unread: number;
|
|
8017
|
+
}>;
|
|
7347
8018
|
};
|
|
7348
|
-
|
|
7349
|
-
|
|
7350
|
-
|
|
8019
|
+
organizationDefault: {
|
|
8020
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
|
|
8021
|
+
[key: string]: unknown;
|
|
8022
|
+
}>;
|
|
7351
8023
|
};
|
|
7352
|
-
|
|
7353
|
-
|
|
7354
|
-
|
|
8024
|
+
preferences: {
|
|
8025
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
|
|
8026
|
+
[key: string]: unknown;
|
|
8027
|
+
}>;
|
|
8028
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
|
|
8029
|
+
name: string;
|
|
8030
|
+
workflows: {
|
|
8031
|
+
[key: string]: unknown;
|
|
8032
|
+
};
|
|
8033
|
+
channelOptOuts?: Array<"in_app" | "email" | "sms">;
|
|
8034
|
+
updateTime?: string;
|
|
8035
|
+
catalog: Array<{
|
|
8036
|
+
workflow: string;
|
|
8037
|
+
group: string;
|
|
8038
|
+
title: string;
|
|
8039
|
+
description?: string;
|
|
8040
|
+
severity: "high" | "medium" | "low" | "none";
|
|
8041
|
+
critical: boolean;
|
|
8042
|
+
channels: Array<string>;
|
|
8043
|
+
}>;
|
|
8044
|
+
organization: {
|
|
8045
|
+
[key: string]: unknown;
|
|
8046
|
+
};
|
|
8047
|
+
effective: {
|
|
8048
|
+
[key: string]: unknown;
|
|
8049
|
+
};
|
|
8050
|
+
}>;
|
|
7355
8051
|
};
|
|
7356
|
-
|
|
7357
|
-
|
|
7358
|
-
|
|
8052
|
+
retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
|
|
8053
|
+
unreadCount: number;
|
|
8054
|
+
unseenCount: number;
|
|
8055
|
+
}>;
|
|
8056
|
+
retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
|
|
8057
|
+
[key: string]: unknown;
|
|
8058
|
+
}>;
|
|
7359
8059
|
};
|
|
7360
8060
|
usage: {
|
|
7361
8061
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
@@ -7388,16 +8088,25 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7388
8088
|
packages: {
|
|
7389
8089
|
git: {
|
|
7390
8090
|
commits: {
|
|
7391
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.
|
|
8091
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
7392
8092
|
};
|
|
7393
8093
|
files: {
|
|
7394
8094
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7395
8095
|
};
|
|
8096
|
+
refs: {
|
|
8097
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
|
|
8098
|
+
};
|
|
8099
|
+
retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
|
|
7396
8100
|
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
8101
|
+
retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
|
|
7397
8102
|
trees: {
|
|
7398
8103
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
8104
|
+
retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
|
|
7399
8105
|
};
|
|
7400
8106
|
};
|
|
8107
|
+
gitCredential: {
|
|
8108
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
8109
|
+
};
|
|
7401
8110
|
installations: {
|
|
7402
8111
|
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
7403
8112
|
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
@@ -7429,6 +8138,79 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7429
8138
|
};
|
|
7430
8139
|
};
|
|
7431
8140
|
export declare function createSandbox(transport: Transport): {
|
|
8141
|
+
byod: {
|
|
8142
|
+
devices: {
|
|
8143
|
+
disconnect: {
|
|
8144
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
8145
|
+
id: string;
|
|
8146
|
+
object: "byod_device";
|
|
8147
|
+
disconnected: true;
|
|
8148
|
+
}>;
|
|
8149
|
+
};
|
|
8150
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
8151
|
+
data: Array<{
|
|
8152
|
+
object: "byod_device";
|
|
8153
|
+
id: string;
|
|
8154
|
+
platform: "android" | "macos" | "linux";
|
|
8155
|
+
name: string;
|
|
8156
|
+
model: string;
|
|
8157
|
+
os_version: string;
|
|
8158
|
+
online: boolean;
|
|
8159
|
+
last_seen_at: string | null;
|
|
8160
|
+
created_at: string;
|
|
8161
|
+
capabilities: Array<"display" | "agent">;
|
|
8162
|
+
agent_dirs: Array<string>;
|
|
8163
|
+
allow_bypass: boolean;
|
|
8164
|
+
}>;
|
|
8165
|
+
}>;
|
|
8166
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
8167
|
+
object: "byod_device";
|
|
8168
|
+
id: string;
|
|
8169
|
+
platform: "android" | "macos" | "linux";
|
|
8170
|
+
name: string;
|
|
8171
|
+
model: string;
|
|
8172
|
+
os_version: string;
|
|
8173
|
+
online: boolean;
|
|
8174
|
+
last_seen_at: string | null;
|
|
8175
|
+
created_at: string;
|
|
8176
|
+
capabilities: Array<"display" | "agent">;
|
|
8177
|
+
agent_dirs: Array<string>;
|
|
8178
|
+
allow_bypass: boolean;
|
|
8179
|
+
}>;
|
|
8180
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
8181
|
+
object: "byod_device";
|
|
8182
|
+
id: string;
|
|
8183
|
+
platform: "android" | "macos" | "linux";
|
|
8184
|
+
name: string;
|
|
8185
|
+
model: string;
|
|
8186
|
+
os_version: string;
|
|
8187
|
+
online: boolean;
|
|
8188
|
+
last_seen_at: string | null;
|
|
8189
|
+
created_at: string;
|
|
8190
|
+
capabilities: Array<"display" | "agent">;
|
|
8191
|
+
agent_dirs: Array<string>;
|
|
8192
|
+
allow_bypass: boolean;
|
|
8193
|
+
}>;
|
|
8194
|
+
};
|
|
8195
|
+
pairings: {
|
|
8196
|
+
claim: {
|
|
8197
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
8198
|
+
device_id: string;
|
|
8199
|
+
credential: string;
|
|
8200
|
+
socket_url: string;
|
|
8201
|
+
}>;
|
|
8202
|
+
};
|
|
8203
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
8204
|
+
code: string;
|
|
8205
|
+
expires_at: string;
|
|
8206
|
+
qr: string;
|
|
8207
|
+
}>;
|
|
8208
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
8209
|
+
organization_name: string;
|
|
8210
|
+
expires_at: string;
|
|
8211
|
+
}>;
|
|
8212
|
+
};
|
|
8213
|
+
};
|
|
7432
8214
|
events: {
|
|
7433
8215
|
sandboxes: {
|
|
7434
8216
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
@@ -7979,6 +8761,129 @@ export declare function createVault(transport: Transport): {
|
|
|
7979
8761
|
update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
|
|
7980
8762
|
};
|
|
7981
8763
|
};
|
|
8764
|
+
export declare function createWorkforce(transport: Transport): {
|
|
8765
|
+
actors: {
|
|
8766
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
8767
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
8768
|
+
};
|
|
8769
|
+
assignments: {
|
|
8770
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
8771
|
+
makePrimary: {
|
|
8772
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8773
|
+
};
|
|
8774
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8775
|
+
terminate: {
|
|
8776
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8777
|
+
};
|
|
8778
|
+
transfer: {
|
|
8779
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8780
|
+
};
|
|
8781
|
+
};
|
|
8782
|
+
departments: {
|
|
8783
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8784
|
+
dissolve: {
|
|
8785
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8786
|
+
};
|
|
8787
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
8788
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8789
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8790
|
+
/** @deprecated use PUT /workforce/v1/specs/department/{id} instead; this path stops working on 2026-11-28. */
|
|
8791
|
+
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<unknown>;
|
|
8792
|
+
};
|
|
8793
|
+
effectiveSpec: {
|
|
8794
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
8795
|
+
};
|
|
8796
|
+
jobs: {
|
|
8797
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8798
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
8799
|
+
retire: {
|
|
8800
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8801
|
+
};
|
|
8802
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8803
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8804
|
+
};
|
|
8805
|
+
keyResults: {
|
|
8806
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8807
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
8808
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8809
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8810
|
+
};
|
|
8811
|
+
ladders: {
|
|
8812
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8813
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
8814
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8815
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8816
|
+
};
|
|
8817
|
+
objectives: {
|
|
8818
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8819
|
+
grade: {
|
|
8820
|
+
create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8821
|
+
};
|
|
8822
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
8823
|
+
parents: {
|
|
8824
|
+
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8825
|
+
};
|
|
8826
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8827
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8828
|
+
};
|
|
8829
|
+
periods: {
|
|
8830
|
+
close: {
|
|
8831
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8832
|
+
};
|
|
8833
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8834
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
8835
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8836
|
+
};
|
|
8837
|
+
positions: {
|
|
8838
|
+
close: {
|
|
8839
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8840
|
+
};
|
|
8841
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
8842
|
+
designateHead: {
|
|
8843
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
8844
|
+
};
|
|
8845
|
+
freeze: {
|
|
8846
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8847
|
+
};
|
|
8848
|
+
hire: {
|
|
8849
|
+
create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
|
|
8850
|
+
};
|
|
8851
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
|
|
8852
|
+
replaceHolder: {
|
|
8853
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
|
|
8854
|
+
};
|
|
8855
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8856
|
+
unfreeze: {
|
|
8857
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8858
|
+
};
|
|
8859
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8860
|
+
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8861
|
+
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
8862
|
+
};
|
|
8863
|
+
reconcile: {
|
|
8864
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8865
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8866
|
+
retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
|
|
8867
|
+
run: {
|
|
8868
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8869
|
+
};
|
|
8870
|
+
status: {
|
|
8871
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8872
|
+
};
|
|
8873
|
+
};
|
|
8874
|
+
specSchema: {
|
|
8875
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
|
|
8876
|
+
};
|
|
8877
|
+
specs: {
|
|
8878
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
8879
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
8880
|
+
retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
|
|
8881
|
+
revisions: {
|
|
8882
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
8883
|
+
};
|
|
8884
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
|
|
8885
|
+
};
|
|
8886
|
+
};
|
|
7982
8887
|
export declare const resourceFactories: {
|
|
7983
8888
|
agent: typeof createAgent;
|
|
7984
8889
|
application: typeof createApplication;
|
|
@@ -8006,4 +8911,5 @@ export declare const resourceFactories: {
|
|
|
8006
8911
|
studio: typeof createStudio;
|
|
8007
8912
|
ticket: typeof createTicket;
|
|
8008
8913
|
vault: typeof createVault;
|
|
8914
|
+
workforce: typeof createWorkforce;
|
|
8009
8915
|
};
|