@deepraxis/sdk 0.1.1-dev.4165f70 → 0.1.1-dev.41ec3a3
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 +451 -128
- package/README.md +5 -4
- package/dist/core/binary-operations.d.ts +3 -0
- package/dist/core/binary-operations.js +14 -0
- package/dist/core/deprecation.d.ts +11 -0
- package/dist/core/deprecation.js +20 -0
- package/dist/core/transport.d.ts +4 -0
- package/dist/core/transport.js +11 -4
- package/dist/generated/binary-operations.gen.d.ts +3 -0
- package/dist/generated/binary-operations.gen.js +14 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +753 -127
- package/dist/generated/sdk.gen.js +4052 -2401
- package/dist/generated/types.gen.d.ts +16477 -6383
- package/dist/helpers/application-publish.js +16 -2
- package/dist/helpers/browser-connect-error.d.ts +28 -0
- package/dist/helpers/browser-connect-error.js +74 -0
- package/dist/helpers/browser-connect.d.ts +2 -0
- package/dist/helpers/browser-connect.js +36 -42
- package/dist/helpers/browser-decisions.d.ts +13 -0
- package/dist/helpers/browser-decisions.js +11 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +12 -2
- package/dist/index.d.ts +3 -0
- package/dist/index.js +2 -0
- package/dist/operations.generated.d.ts +1 -0
- package/dist/operations.generated.js +16950 -13277
- package/dist/resources.generated.d.ts +1062 -161
- package/dist/resources.generated.js +441 -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";
|
|
@@ -659,19 +663,164 @@ export declare function createAgent(transport: Transport): {
|
|
|
659
663
|
processed_at: string;
|
|
660
664
|
} | {
|
|
661
665
|
id: string;
|
|
662
|
-
type: "
|
|
666
|
+
type: "cognition.surfaced";
|
|
667
|
+
processed_at: string;
|
|
668
|
+
worker_session_id: string;
|
|
669
|
+
name: string;
|
|
670
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
671
|
+
experience_id?: string;
|
|
672
|
+
result?: {
|
|
673
|
+
message?: string;
|
|
674
|
+
links?: Array<string>;
|
|
675
|
+
files?: Array<{
|
|
676
|
+
name?: string;
|
|
677
|
+
href?: string;
|
|
678
|
+
}>;
|
|
679
|
+
held?: Array<{
|
|
680
|
+
id?: string;
|
|
681
|
+
summary?: string;
|
|
682
|
+
effect?: string;
|
|
683
|
+
method?: string;
|
|
684
|
+
path?: string;
|
|
685
|
+
expires_at?: string;
|
|
686
|
+
}>;
|
|
687
|
+
};
|
|
688
|
+
} | {
|
|
689
|
+
id: string;
|
|
690
|
+
type: "cognition.intention_woken";
|
|
691
|
+
processed_at: string;
|
|
692
|
+
node_id: string;
|
|
693
|
+
reason: "open_engram" | "assignment";
|
|
694
|
+
} | {
|
|
695
|
+
id: string;
|
|
696
|
+
type: "agent.operation_approval_requested";
|
|
697
|
+
processed_at: string;
|
|
698
|
+
approval_id: string;
|
|
699
|
+
operation_id: string;
|
|
700
|
+
effect: "outward" | "irreversible";
|
|
701
|
+
method: string;
|
|
702
|
+
path: string;
|
|
703
|
+
summary: string;
|
|
704
|
+
expires_at: string;
|
|
705
|
+
worker_session_id?: string;
|
|
706
|
+
worker_name?: string;
|
|
707
|
+
} | {
|
|
708
|
+
id: string;
|
|
709
|
+
type: "agent.operation_approval_decided";
|
|
710
|
+
processed_at: string;
|
|
711
|
+
approval_id: string;
|
|
712
|
+
status: "approved" | "refused" | "expired";
|
|
713
|
+
} | {
|
|
714
|
+
id: string;
|
|
715
|
+
type: "session.prompt_configuration_mismatch";
|
|
716
|
+
processed_at: string;
|
|
717
|
+
pinned_revision_id: string;
|
|
718
|
+
current_revision_id: string;
|
|
719
|
+
} | {
|
|
720
|
+
id: string;
|
|
721
|
+
type: "session.prompt_rev_changed";
|
|
722
|
+
processed_at: string;
|
|
723
|
+
config_revision_id: string;
|
|
724
|
+
changed: Array<{
|
|
725
|
+
name: string;
|
|
726
|
+
rev: string | null;
|
|
727
|
+
}>;
|
|
728
|
+
} | {
|
|
729
|
+
id: string;
|
|
730
|
+
type: "session.computer_tier";
|
|
731
|
+
processed_at: string;
|
|
732
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
733
|
+
tier: "light" | "heavy";
|
|
734
|
+
duration_ms: number;
|
|
735
|
+
error_code?: string;
|
|
736
|
+
status?: {
|
|
737
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
738
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
739
|
+
percent?: number;
|
|
740
|
+
files_done?: number;
|
|
741
|
+
files_total?: number;
|
|
742
|
+
idle_release_at?: number;
|
|
743
|
+
retry_at?: number;
|
|
744
|
+
epoch?: number;
|
|
745
|
+
heavy_instance?: string | null;
|
|
746
|
+
heavy_paused?: boolean;
|
|
747
|
+
};
|
|
748
|
+
} | {
|
|
749
|
+
id: string;
|
|
750
|
+
type: "agent.artifact_delivered";
|
|
751
|
+
processed_at: string;
|
|
752
|
+
artifact: {
|
|
753
|
+
object: "artifact";
|
|
754
|
+
id: string;
|
|
755
|
+
session_id: string;
|
|
756
|
+
run_id: string | null;
|
|
757
|
+
name: string;
|
|
758
|
+
version: number;
|
|
759
|
+
parts: Array<{
|
|
760
|
+
[key: string]: unknown;
|
|
761
|
+
}>;
|
|
762
|
+
source_hrefs: Array<string>;
|
|
763
|
+
create_time: string;
|
|
764
|
+
update_time: string;
|
|
765
|
+
};
|
|
766
|
+
} | {
|
|
767
|
+
id: string;
|
|
768
|
+
type: "agent.image_generation";
|
|
663
769
|
processed_at: string;
|
|
664
770
|
tool_use_id: string;
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
771
|
+
index: number;
|
|
772
|
+
total: number;
|
|
773
|
+
status: string;
|
|
774
|
+
mode?: string;
|
|
775
|
+
aspect?: string;
|
|
776
|
+
prompt?: string;
|
|
777
|
+
model?: string;
|
|
778
|
+
file_id?: string;
|
|
779
|
+
label?: string;
|
|
780
|
+
width?: number;
|
|
781
|
+
height?: number;
|
|
782
|
+
revised_prompt?: string;
|
|
783
|
+
source_labels?: Array<string>;
|
|
784
|
+
caption?: string;
|
|
785
|
+
slot?: number | null;
|
|
786
|
+
replaces?: string;
|
|
787
|
+
version?: number;
|
|
788
|
+
failure?: {
|
|
789
|
+
reason?: string;
|
|
668
790
|
};
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
791
|
+
} | {
|
|
792
|
+
id: string;
|
|
793
|
+
type: "session.image_labeled";
|
|
794
|
+
processed_at: string;
|
|
795
|
+
label: string;
|
|
796
|
+
file_id: string;
|
|
797
|
+
origin: "generated" | "uploaded";
|
|
798
|
+
filename: string;
|
|
799
|
+
tool_use_id?: string;
|
|
800
|
+
version?: number;
|
|
801
|
+
replaced_file_id?: string;
|
|
802
|
+
} | {
|
|
803
|
+
id: string;
|
|
804
|
+
type: "session.image_set_planned";
|
|
805
|
+
processed_at: string;
|
|
806
|
+
tool_use_id: string;
|
|
807
|
+
items: Array<unknown>;
|
|
808
|
+
title?: string;
|
|
809
|
+
} | {
|
|
810
|
+
id: string;
|
|
811
|
+
type: "session.project_attached";
|
|
812
|
+
processed_at: string;
|
|
813
|
+
project: {
|
|
814
|
+
id: string;
|
|
815
|
+
name: string;
|
|
816
|
+
path: string;
|
|
674
817
|
};
|
|
818
|
+
} | {
|
|
819
|
+
id: string;
|
|
820
|
+
type: "session.project_detached";
|
|
821
|
+
processed_at: string;
|
|
822
|
+
project_id: string;
|
|
823
|
+
reason?: "project_removed";
|
|
675
824
|
}>;
|
|
676
825
|
next_page: string | null;
|
|
677
826
|
}>;
|
|
@@ -692,21 +841,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
692
841
|
type: "user.steer";
|
|
693
842
|
event_id: string;
|
|
694
843
|
processed_at: string;
|
|
695
|
-
} | {
|
|
696
|
-
id: string;
|
|
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
|
-
};
|
|
710
844
|
}>;
|
|
711
845
|
}>;
|
|
712
846
|
stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -761,8 +895,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
761
895
|
id: string;
|
|
762
896
|
} | null;
|
|
763
897
|
note: string | null;
|
|
898
|
+
deployments_behind: number | null;
|
|
764
899
|
bindings: Array<{
|
|
765
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
900
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
766
901
|
id: string;
|
|
767
902
|
access: "read_only" | "read_write" | "invoke";
|
|
768
903
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -904,6 +1039,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
904
1039
|
}>;
|
|
905
1040
|
next_page: string | null;
|
|
906
1041
|
}>;
|
|
1042
|
+
phone: {
|
|
1043
|
+
release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
|
|
1044
|
+
object: "agent_phone";
|
|
1045
|
+
agent_id: string;
|
|
1046
|
+
configured: boolean;
|
|
1047
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
1048
|
+
sku: string | null;
|
|
1049
|
+
byod_device: string | null;
|
|
1050
|
+
name: string | null;
|
|
1051
|
+
sandbox_id: string | null;
|
|
1052
|
+
lease_ends_at: string | null;
|
|
1053
|
+
archived_at: string | null;
|
|
1054
|
+
archive_error: string | null;
|
|
1055
|
+
}>;
|
|
1056
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
|
|
1057
|
+
object: "agent_phone";
|
|
1058
|
+
agent_id: string;
|
|
1059
|
+
configured: boolean;
|
|
1060
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
1061
|
+
sku: string | null;
|
|
1062
|
+
byod_device: string | null;
|
|
1063
|
+
name: string | null;
|
|
1064
|
+
sandbox_id: string | null;
|
|
1065
|
+
lease_ends_at: string | null;
|
|
1066
|
+
archived_at: string | null;
|
|
1067
|
+
archive_error: string | null;
|
|
1068
|
+
}>;
|
|
1069
|
+
};
|
|
907
1070
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
|
|
908
1071
|
id: string;
|
|
909
1072
|
archived_at: null | string;
|
|
@@ -940,8 +1103,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
940
1103
|
id: string;
|
|
941
1104
|
} | null;
|
|
942
1105
|
note: string | null;
|
|
1106
|
+
deployments_behind: number | null;
|
|
943
1107
|
bindings: Array<{
|
|
944
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1108
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
945
1109
|
id: string;
|
|
946
1110
|
access: "read_only" | "read_write" | "invoke";
|
|
947
1111
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -1156,6 +1320,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1156
1320
|
enabled: boolean;
|
|
1157
1321
|
daily_session_cap: number | null;
|
|
1158
1322
|
daily_spend_cap_micro_usd: number | null;
|
|
1323
|
+
currency?: "USD" | "CNY" | null;
|
|
1159
1324
|
};
|
|
1160
1325
|
}>;
|
|
1161
1326
|
unarchive: {
|
|
@@ -1397,8 +1562,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1397
1562
|
id: string;
|
|
1398
1563
|
} | null;
|
|
1399
1564
|
note: string | null;
|
|
1565
|
+
deployments_behind: number | null;
|
|
1400
1566
|
bindings: Array<{
|
|
1401
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1567
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1402
1568
|
id: string;
|
|
1403
1569
|
access: "read_only" | "read_write" | "invoke";
|
|
1404
1570
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -1575,8 +1741,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1575
1741
|
id: string;
|
|
1576
1742
|
} | null;
|
|
1577
1743
|
note: string | null;
|
|
1744
|
+
deployments_behind: number | null;
|
|
1578
1745
|
bindings: Array<{
|
|
1579
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1746
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1580
1747
|
id: string;
|
|
1581
1748
|
access: "read_only" | "read_write" | "invoke";
|
|
1582
1749
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -1728,6 +1895,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1728
1895
|
enabled: boolean;
|
|
1729
1896
|
daily_session_cap: number | null;
|
|
1730
1897
|
daily_spend_cap_micro_usd: number | null;
|
|
1898
|
+
currency?: "USD" | "CNY" | null;
|
|
1731
1899
|
};
|
|
1732
1900
|
}>;
|
|
1733
1901
|
versions: {
|
|
@@ -1969,8 +2137,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1969
2137
|
id: string;
|
|
1970
2138
|
} | null;
|
|
1971
2139
|
note: string | null;
|
|
2140
|
+
deployments_behind: number | null;
|
|
1972
2141
|
bindings: Array<{
|
|
1973
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2142
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1974
2143
|
id: string;
|
|
1975
2144
|
access: "read_only" | "read_write" | "invoke";
|
|
1976
2145
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -2148,7 +2317,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2148
2317
|
} | null;
|
|
2149
2318
|
note: string | null;
|
|
2150
2319
|
bindings: Array<{
|
|
2151
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2320
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
2152
2321
|
id: string;
|
|
2153
2322
|
access: "read_only" | "read_write" | "invoke";
|
|
2154
2323
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -2364,6 +2533,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
2364
2533
|
tier: "light" | "heavy";
|
|
2365
2534
|
}>;
|
|
2366
2535
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
2536
|
+
retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
|
|
2537
|
+
variant: "image" | "pdf" | "text" | "original";
|
|
2538
|
+
version?: string;
|
|
2539
|
+
mime_type?: string;
|
|
2540
|
+
size?: number;
|
|
2541
|
+
file_id?: string;
|
|
2542
|
+
url?: string;
|
|
2543
|
+
expires_at?: string;
|
|
2544
|
+
cached: boolean;
|
|
2545
|
+
fallback?: "content";
|
|
2546
|
+
skipped?: boolean;
|
|
2547
|
+
}>;
|
|
2548
|
+
updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
|
|
2549
|
+
path: string;
|
|
2550
|
+
size: number;
|
|
2551
|
+
mtime: string | null;
|
|
2552
|
+
version: string;
|
|
2553
|
+
}>;
|
|
2367
2554
|
};
|
|
2368
2555
|
leases: {
|
|
2369
2556
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -2437,6 +2624,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2437
2624
|
id: string;
|
|
2438
2625
|
type: "agent";
|
|
2439
2626
|
version: number;
|
|
2627
|
+
pinned_version?: number | null;
|
|
2628
|
+
active_version?: number | null;
|
|
2440
2629
|
} | {
|
|
2441
2630
|
id: string;
|
|
2442
2631
|
type: "agent_with_overrides";
|
|
@@ -2474,6 +2663,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2474
2663
|
id: string;
|
|
2475
2664
|
type: "agent";
|
|
2476
2665
|
version: number;
|
|
2666
|
+
pinned_version?: number | null;
|
|
2667
|
+
active_version?: number | null;
|
|
2477
2668
|
} | {
|
|
2478
2669
|
id: string;
|
|
2479
2670
|
type: "agent_with_overrides";
|
|
@@ -2512,6 +2703,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2512
2703
|
id: string;
|
|
2513
2704
|
type: "agent";
|
|
2514
2705
|
version: number;
|
|
2706
|
+
pinned_version?: number | null;
|
|
2707
|
+
active_version?: number | null;
|
|
2515
2708
|
} | {
|
|
2516
2709
|
id: string;
|
|
2517
2710
|
type: "agent_with_overrides";
|
|
@@ -2551,6 +2744,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2551
2744
|
id: string;
|
|
2552
2745
|
type: "agent";
|
|
2553
2746
|
version: number;
|
|
2747
|
+
pinned_version?: number | null;
|
|
2748
|
+
active_version?: number | null;
|
|
2554
2749
|
} | {
|
|
2555
2750
|
id: string;
|
|
2556
2751
|
type: "agent_with_overrides";
|
|
@@ -2588,6 +2783,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2588
2783
|
id: string;
|
|
2589
2784
|
type: "agent";
|
|
2590
2785
|
version: number;
|
|
2786
|
+
pinned_version?: number | null;
|
|
2787
|
+
active_version?: number | null;
|
|
2591
2788
|
} | {
|
|
2592
2789
|
id: string;
|
|
2593
2790
|
type: "agent_with_overrides";
|
|
@@ -2629,6 +2826,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2629
2826
|
id: string;
|
|
2630
2827
|
type: "agent";
|
|
2631
2828
|
version: number;
|
|
2829
|
+
pinned_version?: number | null;
|
|
2830
|
+
active_version?: number | null;
|
|
2632
2831
|
} | {
|
|
2633
2832
|
id: string;
|
|
2634
2833
|
type: "agent_with_overrides";
|
|
@@ -2667,6 +2866,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2667
2866
|
id: string;
|
|
2668
2867
|
type: "agent";
|
|
2669
2868
|
version: number;
|
|
2869
|
+
pinned_version?: number | null;
|
|
2870
|
+
active_version?: number | null;
|
|
2670
2871
|
} | {
|
|
2671
2872
|
id: string;
|
|
2672
2873
|
type: "agent_with_overrides";
|
|
@@ -3222,6 +3423,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3222
3423
|
vault_ids: Array<string>;
|
|
3223
3424
|
deployment_id?: null | string;
|
|
3224
3425
|
cwd: string;
|
|
3426
|
+
workspace?: {
|
|
3427
|
+
kind: "shared" | "isolated";
|
|
3428
|
+
path?: string;
|
|
3429
|
+
branch?: string;
|
|
3430
|
+
};
|
|
3225
3431
|
computer_id?: string;
|
|
3226
3432
|
model?: {
|
|
3227
3433
|
id: string;
|
|
@@ -3282,6 +3488,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3282
3488
|
vault_ids: Array<string>;
|
|
3283
3489
|
deployment_id?: null | string;
|
|
3284
3490
|
cwd: string;
|
|
3491
|
+
workspace?: {
|
|
3492
|
+
kind: "shared" | "isolated";
|
|
3493
|
+
path?: string;
|
|
3494
|
+
branch?: string;
|
|
3495
|
+
};
|
|
3285
3496
|
computer_id?: string;
|
|
3286
3497
|
model?: {
|
|
3287
3498
|
id: string;
|
|
@@ -3444,6 +3655,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3444
3655
|
vault_ids: Array<string>;
|
|
3445
3656
|
deployment_id?: null | string;
|
|
3446
3657
|
cwd: string;
|
|
3658
|
+
workspace?: {
|
|
3659
|
+
kind: "shared" | "isolated";
|
|
3660
|
+
path?: string;
|
|
3661
|
+
branch?: string;
|
|
3662
|
+
};
|
|
3447
3663
|
computer_id?: string;
|
|
3448
3664
|
model?: {
|
|
3449
3665
|
id: string;
|
|
@@ -3464,6 +3680,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
3464
3680
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3465
3681
|
}>;
|
|
3466
3682
|
delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
|
|
3683
|
+
dictations: {
|
|
3684
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
|
|
3685
|
+
id: string;
|
|
3686
|
+
push_url: string;
|
|
3687
|
+
expires_at: string;
|
|
3688
|
+
}>;
|
|
3689
|
+
};
|
|
3467
3690
|
events: {
|
|
3468
3691
|
list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
|
|
3469
3692
|
data: Array<{
|
|
@@ -3667,19 +3890,164 @@ export declare function createAgent(transport: Transport): {
|
|
|
3667
3890
|
processed_at: string;
|
|
3668
3891
|
} | {
|
|
3669
3892
|
id: string;
|
|
3670
|
-
type: "
|
|
3893
|
+
type: "cognition.surfaced";
|
|
3894
|
+
processed_at: string;
|
|
3895
|
+
worker_session_id: string;
|
|
3896
|
+
name: string;
|
|
3897
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
3898
|
+
experience_id?: string;
|
|
3899
|
+
result?: {
|
|
3900
|
+
message?: string;
|
|
3901
|
+
links?: Array<string>;
|
|
3902
|
+
files?: Array<{
|
|
3903
|
+
name?: string;
|
|
3904
|
+
href?: string;
|
|
3905
|
+
}>;
|
|
3906
|
+
held?: Array<{
|
|
3907
|
+
id?: string;
|
|
3908
|
+
summary?: string;
|
|
3909
|
+
effect?: string;
|
|
3910
|
+
method?: string;
|
|
3911
|
+
path?: string;
|
|
3912
|
+
expires_at?: string;
|
|
3913
|
+
}>;
|
|
3914
|
+
};
|
|
3915
|
+
} | {
|
|
3916
|
+
id: string;
|
|
3917
|
+
type: "cognition.intention_woken";
|
|
3918
|
+
processed_at: string;
|
|
3919
|
+
node_id: string;
|
|
3920
|
+
reason: "open_engram" | "assignment";
|
|
3921
|
+
} | {
|
|
3922
|
+
id: string;
|
|
3923
|
+
type: "agent.operation_approval_requested";
|
|
3924
|
+
processed_at: string;
|
|
3925
|
+
approval_id: string;
|
|
3926
|
+
operation_id: string;
|
|
3927
|
+
effect: "outward" | "irreversible";
|
|
3928
|
+
method: string;
|
|
3929
|
+
path: string;
|
|
3930
|
+
summary: string;
|
|
3931
|
+
expires_at: string;
|
|
3932
|
+
worker_session_id?: string;
|
|
3933
|
+
worker_name?: string;
|
|
3934
|
+
} | {
|
|
3935
|
+
id: string;
|
|
3936
|
+
type: "agent.operation_approval_decided";
|
|
3937
|
+
processed_at: string;
|
|
3938
|
+
approval_id: string;
|
|
3939
|
+
status: "approved" | "refused" | "expired";
|
|
3940
|
+
} | {
|
|
3941
|
+
id: string;
|
|
3942
|
+
type: "session.prompt_configuration_mismatch";
|
|
3943
|
+
processed_at: string;
|
|
3944
|
+
pinned_revision_id: string;
|
|
3945
|
+
current_revision_id: string;
|
|
3946
|
+
} | {
|
|
3947
|
+
id: string;
|
|
3948
|
+
type: "session.prompt_rev_changed";
|
|
3949
|
+
processed_at: string;
|
|
3950
|
+
config_revision_id: string;
|
|
3951
|
+
changed: Array<{
|
|
3952
|
+
name: string;
|
|
3953
|
+
rev: string | null;
|
|
3954
|
+
}>;
|
|
3955
|
+
} | {
|
|
3956
|
+
id: string;
|
|
3957
|
+
type: "session.computer_tier";
|
|
3958
|
+
processed_at: string;
|
|
3959
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
3960
|
+
tier: "light" | "heavy";
|
|
3961
|
+
duration_ms: number;
|
|
3962
|
+
error_code?: string;
|
|
3963
|
+
status?: {
|
|
3964
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
3965
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
3966
|
+
percent?: number;
|
|
3967
|
+
files_done?: number;
|
|
3968
|
+
files_total?: number;
|
|
3969
|
+
idle_release_at?: number;
|
|
3970
|
+
retry_at?: number;
|
|
3971
|
+
epoch?: number;
|
|
3972
|
+
heavy_instance?: string | null;
|
|
3973
|
+
heavy_paused?: boolean;
|
|
3974
|
+
};
|
|
3975
|
+
} | {
|
|
3976
|
+
id: string;
|
|
3977
|
+
type: "agent.artifact_delivered";
|
|
3978
|
+
processed_at: string;
|
|
3979
|
+
artifact: {
|
|
3980
|
+
object: "artifact";
|
|
3981
|
+
id: string;
|
|
3982
|
+
session_id: string;
|
|
3983
|
+
run_id: string | null;
|
|
3984
|
+
name: string;
|
|
3985
|
+
version: number;
|
|
3986
|
+
parts: Array<{
|
|
3987
|
+
[key: string]: unknown;
|
|
3988
|
+
}>;
|
|
3989
|
+
source_hrefs: Array<string>;
|
|
3990
|
+
create_time: string;
|
|
3991
|
+
update_time: string;
|
|
3992
|
+
};
|
|
3993
|
+
} | {
|
|
3994
|
+
id: string;
|
|
3995
|
+
type: "agent.image_generation";
|
|
3671
3996
|
processed_at: string;
|
|
3672
3997
|
tool_use_id: string;
|
|
3673
|
-
|
|
3674
|
-
|
|
3675
|
-
|
|
3998
|
+
index: number;
|
|
3999
|
+
total: number;
|
|
4000
|
+
status: string;
|
|
4001
|
+
mode?: string;
|
|
4002
|
+
aspect?: string;
|
|
4003
|
+
prompt?: string;
|
|
4004
|
+
model?: string;
|
|
4005
|
+
file_id?: string;
|
|
4006
|
+
label?: string;
|
|
4007
|
+
width?: number;
|
|
4008
|
+
height?: number;
|
|
4009
|
+
revised_prompt?: string;
|
|
4010
|
+
source_labels?: Array<string>;
|
|
4011
|
+
caption?: string;
|
|
4012
|
+
slot?: number | null;
|
|
4013
|
+
replaces?: string;
|
|
4014
|
+
version?: number;
|
|
4015
|
+
failure?: {
|
|
4016
|
+
reason?: string;
|
|
3676
4017
|
};
|
|
3677
|
-
|
|
3678
|
-
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
4018
|
+
} | {
|
|
4019
|
+
id: string;
|
|
4020
|
+
type: "session.image_labeled";
|
|
4021
|
+
processed_at: string;
|
|
4022
|
+
label: string;
|
|
4023
|
+
file_id: string;
|
|
4024
|
+
origin: "generated" | "uploaded";
|
|
4025
|
+
filename: string;
|
|
4026
|
+
tool_use_id?: string;
|
|
4027
|
+
version?: number;
|
|
4028
|
+
replaced_file_id?: string;
|
|
4029
|
+
} | {
|
|
4030
|
+
id: string;
|
|
4031
|
+
type: "session.image_set_planned";
|
|
4032
|
+
processed_at: string;
|
|
4033
|
+
tool_use_id: string;
|
|
4034
|
+
items: Array<unknown>;
|
|
4035
|
+
title?: string;
|
|
4036
|
+
} | {
|
|
4037
|
+
id: string;
|
|
4038
|
+
type: "session.project_attached";
|
|
4039
|
+
processed_at: string;
|
|
4040
|
+
project: {
|
|
4041
|
+
id: string;
|
|
4042
|
+
name: string;
|
|
4043
|
+
path: string;
|
|
3682
4044
|
};
|
|
4045
|
+
} | {
|
|
4046
|
+
id: string;
|
|
4047
|
+
type: "session.project_detached";
|
|
4048
|
+
processed_at: string;
|
|
4049
|
+
project_id: string;
|
|
4050
|
+
reason?: "project_removed";
|
|
3683
4051
|
}>;
|
|
3684
4052
|
next_page: string | null;
|
|
3685
4053
|
}>;
|
|
@@ -3700,21 +4068,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3700
4068
|
type: "user.steer";
|
|
3701
4069
|
event_id: string;
|
|
3702
4070
|
processed_at: string;
|
|
3703
|
-
} | {
|
|
3704
|
-
id: string;
|
|
3705
|
-
type: "user.tool_confirmation";
|
|
3706
|
-
processed_at: string;
|
|
3707
|
-
tool_use_id: string;
|
|
3708
|
-
result: "allow";
|
|
3709
|
-
answers: {
|
|
3710
|
-
[key: string]: string;
|
|
3711
|
-
};
|
|
3712
|
-
annotations?: {
|
|
3713
|
-
[key: string]: {
|
|
3714
|
-
preview?: string;
|
|
3715
|
-
notes?: string;
|
|
3716
|
-
};
|
|
3717
|
-
};
|
|
3718
4071
|
}>;
|
|
3719
4072
|
}>;
|
|
3720
4073
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -4230,6 +4583,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4230
4583
|
vault_ids: Array<string>;
|
|
4231
4584
|
deployment_id?: null | string;
|
|
4232
4585
|
cwd: string;
|
|
4586
|
+
workspace?: {
|
|
4587
|
+
kind: "shared" | "isolated";
|
|
4588
|
+
path?: string;
|
|
4589
|
+
branch?: string;
|
|
4590
|
+
};
|
|
4233
4591
|
computer_id?: string;
|
|
4234
4592
|
model?: {
|
|
4235
4593
|
id: string;
|
|
@@ -4290,6 +4648,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4290
4648
|
vault_ids: Array<string>;
|
|
4291
4649
|
deployment_id?: null | string;
|
|
4292
4650
|
cwd: string;
|
|
4651
|
+
workspace?: {
|
|
4652
|
+
kind: "shared" | "isolated";
|
|
4653
|
+
path?: string;
|
|
4654
|
+
branch?: string;
|
|
4655
|
+
};
|
|
4293
4656
|
computer_id?: string;
|
|
4294
4657
|
model?: {
|
|
4295
4658
|
id: string;
|
|
@@ -4823,6 +5186,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4823
5186
|
vault_ids: Array<string>;
|
|
4824
5187
|
deployment_id?: null | string;
|
|
4825
5188
|
cwd: string;
|
|
5189
|
+
workspace?: {
|
|
5190
|
+
kind: "shared" | "isolated";
|
|
5191
|
+
path?: string;
|
|
5192
|
+
branch?: string;
|
|
5193
|
+
};
|
|
4826
5194
|
computer_id?: string;
|
|
4827
5195
|
model?: {
|
|
4828
5196
|
id: string;
|
|
@@ -4914,6 +5282,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4914
5282
|
vault_ids: Array<string>;
|
|
4915
5283
|
deployment_id?: null | string;
|
|
4916
5284
|
cwd: string;
|
|
5285
|
+
workspace?: {
|
|
5286
|
+
kind: "shared" | "isolated";
|
|
5287
|
+
path?: string;
|
|
5288
|
+
branch?: string;
|
|
5289
|
+
};
|
|
4917
5290
|
computer_id?: string;
|
|
4918
5291
|
model?: {
|
|
4919
5292
|
id: string;
|
|
@@ -5221,6 +5594,166 @@ export declare function createAgent(transport: Transport): {
|
|
|
5221
5594
|
type: "user.steer";
|
|
5222
5595
|
event_id: string;
|
|
5223
5596
|
processed_at: string;
|
|
5597
|
+
} | {
|
|
5598
|
+
id: string;
|
|
5599
|
+
type: "cognition.surfaced";
|
|
5600
|
+
processed_at: string;
|
|
5601
|
+
worker_session_id: string;
|
|
5602
|
+
name: string;
|
|
5603
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
5604
|
+
experience_id?: string;
|
|
5605
|
+
result?: {
|
|
5606
|
+
message?: string;
|
|
5607
|
+
links?: Array<string>;
|
|
5608
|
+
files?: Array<{
|
|
5609
|
+
name?: string;
|
|
5610
|
+
href?: string;
|
|
5611
|
+
}>;
|
|
5612
|
+
held?: Array<{
|
|
5613
|
+
id?: string;
|
|
5614
|
+
summary?: string;
|
|
5615
|
+
effect?: string;
|
|
5616
|
+
method?: string;
|
|
5617
|
+
path?: string;
|
|
5618
|
+
expires_at?: string;
|
|
5619
|
+
}>;
|
|
5620
|
+
};
|
|
5621
|
+
} | {
|
|
5622
|
+
id: string;
|
|
5623
|
+
type: "cognition.intention_woken";
|
|
5624
|
+
processed_at: string;
|
|
5625
|
+
node_id: string;
|
|
5626
|
+
reason: "open_engram" | "assignment";
|
|
5627
|
+
} | {
|
|
5628
|
+
id: string;
|
|
5629
|
+
type: "agent.operation_approval_requested";
|
|
5630
|
+
processed_at: string;
|
|
5631
|
+
approval_id: string;
|
|
5632
|
+
operation_id: string;
|
|
5633
|
+
effect: "outward" | "irreversible";
|
|
5634
|
+
method: string;
|
|
5635
|
+
path: string;
|
|
5636
|
+
summary: string;
|
|
5637
|
+
expires_at: string;
|
|
5638
|
+
worker_session_id?: string;
|
|
5639
|
+
worker_name?: string;
|
|
5640
|
+
} | {
|
|
5641
|
+
id: string;
|
|
5642
|
+
type: "agent.operation_approval_decided";
|
|
5643
|
+
processed_at: string;
|
|
5644
|
+
approval_id: string;
|
|
5645
|
+
status: "approved" | "refused" | "expired";
|
|
5646
|
+
} | {
|
|
5647
|
+
id: string;
|
|
5648
|
+
type: "session.prompt_configuration_mismatch";
|
|
5649
|
+
processed_at: string;
|
|
5650
|
+
pinned_revision_id: string;
|
|
5651
|
+
current_revision_id: string;
|
|
5652
|
+
} | {
|
|
5653
|
+
id: string;
|
|
5654
|
+
type: "session.prompt_rev_changed";
|
|
5655
|
+
processed_at: string;
|
|
5656
|
+
config_revision_id: string;
|
|
5657
|
+
changed: Array<{
|
|
5658
|
+
name: string;
|
|
5659
|
+
rev: string | null;
|
|
5660
|
+
}>;
|
|
5661
|
+
} | {
|
|
5662
|
+
id: string;
|
|
5663
|
+
type: "session.computer_tier";
|
|
5664
|
+
processed_at: string;
|
|
5665
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
5666
|
+
tier: "light" | "heavy";
|
|
5667
|
+
duration_ms: number;
|
|
5668
|
+
error_code?: string;
|
|
5669
|
+
status?: {
|
|
5670
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
5671
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
5672
|
+
percent?: number;
|
|
5673
|
+
files_done?: number;
|
|
5674
|
+
files_total?: number;
|
|
5675
|
+
idle_release_at?: number;
|
|
5676
|
+
retry_at?: number;
|
|
5677
|
+
epoch?: number;
|
|
5678
|
+
heavy_instance?: string | null;
|
|
5679
|
+
heavy_paused?: boolean;
|
|
5680
|
+
};
|
|
5681
|
+
} | {
|
|
5682
|
+
id: string;
|
|
5683
|
+
type: "agent.artifact_delivered";
|
|
5684
|
+
processed_at: string;
|
|
5685
|
+
artifact: {
|
|
5686
|
+
object: "artifact";
|
|
5687
|
+
id: string;
|
|
5688
|
+
session_id: string;
|
|
5689
|
+
run_id: string | null;
|
|
5690
|
+
name: string;
|
|
5691
|
+
version: number;
|
|
5692
|
+
parts: Array<{
|
|
5693
|
+
[key: string]: unknown;
|
|
5694
|
+
}>;
|
|
5695
|
+
source_hrefs: Array<string>;
|
|
5696
|
+
create_time: string;
|
|
5697
|
+
update_time: string;
|
|
5698
|
+
};
|
|
5699
|
+
} | {
|
|
5700
|
+
id: string;
|
|
5701
|
+
type: "agent.image_generation";
|
|
5702
|
+
processed_at: string;
|
|
5703
|
+
tool_use_id: string;
|
|
5704
|
+
index: number;
|
|
5705
|
+
total: number;
|
|
5706
|
+
status: string;
|
|
5707
|
+
mode?: string;
|
|
5708
|
+
aspect?: string;
|
|
5709
|
+
prompt?: string;
|
|
5710
|
+
model?: string;
|
|
5711
|
+
file_id?: string;
|
|
5712
|
+
label?: string;
|
|
5713
|
+
width?: number;
|
|
5714
|
+
height?: number;
|
|
5715
|
+
revised_prompt?: string;
|
|
5716
|
+
source_labels?: Array<string>;
|
|
5717
|
+
caption?: string;
|
|
5718
|
+
slot?: number | null;
|
|
5719
|
+
replaces?: string;
|
|
5720
|
+
version?: number;
|
|
5721
|
+
failure?: {
|
|
5722
|
+
reason?: string;
|
|
5723
|
+
};
|
|
5724
|
+
} | {
|
|
5725
|
+
id: string;
|
|
5726
|
+
type: "session.image_labeled";
|
|
5727
|
+
processed_at: string;
|
|
5728
|
+
label: string;
|
|
5729
|
+
file_id: string;
|
|
5730
|
+
origin: "generated" | "uploaded";
|
|
5731
|
+
filename: string;
|
|
5732
|
+
tool_use_id?: string;
|
|
5733
|
+
version?: number;
|
|
5734
|
+
replaced_file_id?: string;
|
|
5735
|
+
} | {
|
|
5736
|
+
id: string;
|
|
5737
|
+
type: "session.image_set_planned";
|
|
5738
|
+
processed_at: string;
|
|
5739
|
+
tool_use_id: string;
|
|
5740
|
+
items: Array<unknown>;
|
|
5741
|
+
title?: string;
|
|
5742
|
+
} | {
|
|
5743
|
+
id: string;
|
|
5744
|
+
type: "session.project_attached";
|
|
5745
|
+
processed_at: string;
|
|
5746
|
+
project: {
|
|
5747
|
+
id: string;
|
|
5748
|
+
name: string;
|
|
5749
|
+
path: string;
|
|
5750
|
+
};
|
|
5751
|
+
} | {
|
|
5752
|
+
id: string;
|
|
5753
|
+
type: "session.project_detached";
|
|
5754
|
+
processed_at: string;
|
|
5755
|
+
project_id: string;
|
|
5756
|
+
reason?: "project_removed";
|
|
5224
5757
|
}>;
|
|
5225
5758
|
next_page: string | null;
|
|
5226
5759
|
}>;
|
|
@@ -5280,6 +5813,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
5280
5813
|
vault_ids: Array<string>;
|
|
5281
5814
|
deployment_id?: null | string;
|
|
5282
5815
|
cwd: string;
|
|
5816
|
+
workspace?: {
|
|
5817
|
+
kind: "shared" | "isolated";
|
|
5818
|
+
path?: string;
|
|
5819
|
+
branch?: string;
|
|
5820
|
+
};
|
|
5283
5821
|
computer_id?: string;
|
|
5284
5822
|
model?: {
|
|
5285
5823
|
id: string;
|
|
@@ -5631,6 +6169,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
5631
6169
|
};
|
|
5632
6170
|
};
|
|
5633
6171
|
};
|
|
6172
|
+
export declare function createBilling(transport: Transport): {
|
|
6173
|
+
prices: {
|
|
6174
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
|
|
6175
|
+
};
|
|
6176
|
+
};
|
|
5634
6177
|
export declare function createBrowser(transport: Transport): {
|
|
5635
6178
|
connect: {
|
|
5636
6179
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -5908,15 +6451,40 @@ export declare function createCut(transport: Transport): {
|
|
|
5908
6451
|
};
|
|
5909
6452
|
export declare function createDatabase(transport: Transport): {
|
|
5910
6453
|
databases: {
|
|
6454
|
+
commands: {
|
|
6455
|
+
/** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
|
|
6456
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
|
|
6457
|
+
result: unknown;
|
|
6458
|
+
}>;
|
|
6459
|
+
};
|
|
6460
|
+
/** @deprecated use praxis.database.table.create for a table database or praxis.database.kv.create for a key-value database instead; this path stops working on 2027-03-01. */
|
|
5911
6461
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6462
|
+
/** @deprecated use praxis.database.table.delete for a table database or praxis.database.kv.delete for a key-value database instead; this path stops working on 2027-03-01. */
|
|
5912
6463
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
5913
6464
|
events: {
|
|
6465
|
+
/** @deprecated use praxis.database.table.events.list for a table database or praxis.database.kv.events.list for a key-value database instead; this path stops working on 2027-03-01. */
|
|
5914
6466
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
|
|
5915
6467
|
data: Array<Types.DatabaseDatabaseEvent>;
|
|
5916
6468
|
}>;
|
|
5917
6469
|
};
|
|
6470
|
+
keys: {
|
|
6471
|
+
/** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
|
|
6472
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
|
|
6473
|
+
deleted: boolean;
|
|
6474
|
+
}>;
|
|
6475
|
+
/** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
|
|
6476
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6477
|
+
/** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
|
|
6478
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6479
|
+
/** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
|
|
6480
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6481
|
+
/** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
|
|
6482
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6483
|
+
};
|
|
6484
|
+
/** @deprecated use praxis.database.table.list for a table database or praxis.database.kv.list for a key-value database instead; this path stops working on 2027-03-01. */
|
|
5918
6485
|
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
5919
6486
|
purge: {
|
|
6487
|
+
/** @deprecated use praxis.database.table.purge.create for a table database or praxis.database.kv.purge.create for a key-value database instead; this path stops working on 2027-03-01. */
|
|
5920
6488
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
|
|
5921
6489
|
id: string;
|
|
5922
6490
|
object: "database";
|
|
@@ -5924,49 +6492,142 @@ export declare function createDatabase(transport: Transport): {
|
|
|
5924
6492
|
}>;
|
|
5925
6493
|
};
|
|
5926
6494
|
rest: {
|
|
6495
|
+
/** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
|
|
5927
6496
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6497
|
+
/** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
|
|
5928
6498
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6499
|
+
/** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
|
|
5929
6500
|
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
|
|
6501
|
+
/** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
|
|
5930
6502
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6503
|
+
/** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
|
|
5931
6504
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
5932
6505
|
};
|
|
6506
|
+
/** @deprecated use praxis.database.table.restore for a table database or praxis.database.kv.restore for a key-value database instead; this path stops working on 2027-03-01. */
|
|
5933
6507
|
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6508
|
+
/** @deprecated use praxis.database.table.retrieve for a table database or praxis.database.kv.retrieve for a key-value database instead; this path stops working on 2027-03-01. */
|
|
5934
6509
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
5935
6510
|
tables: {
|
|
6511
|
+
/** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
|
|
5936
6512
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6513
|
+
/** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
|
|
5937
6514
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
|
|
5938
6515
|
deleted: true;
|
|
5939
6516
|
}>;
|
|
5940
6517
|
fields: {
|
|
6518
|
+
/** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
|
|
5941
6519
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6520
|
+
/** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
|
|
5942
6521
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6522
|
+
/** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
|
|
5943
6523
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
5944
6524
|
};
|
|
6525
|
+
/** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
|
|
5945
6526
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
|
|
5946
6527
|
data: Array<Types.DatabaseTable>;
|
|
5947
6528
|
}>;
|
|
6529
|
+
/** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
|
|
5948
6530
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6531
|
+
/** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
|
|
5949
6532
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
5950
6533
|
};
|
|
6534
|
+
/** @deprecated use praxis.database.table.update for a table database or praxis.database.kv.update for a key-value database instead; this path stops working on 2027-03-01. */
|
|
5951
6535
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
5952
6536
|
};
|
|
5953
|
-
|
|
5954
|
-
|
|
5955
|
-
|
|
5956
|
-
|
|
5957
|
-
|
|
5958
|
-
markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
|
|
5959
|
-
openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
|
|
5960
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
|
|
5961
|
-
};
|
|
5962
|
-
connections: {
|
|
5963
|
-
complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
|
|
5964
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
|
|
5965
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
|
|
5966
|
-
repositories: {
|
|
5967
|
-
list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
|
|
6537
|
+
kv: {
|
|
6538
|
+
commands: {
|
|
6539
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
|
|
6540
|
+
result: unknown;
|
|
6541
|
+
}>;
|
|
5968
6542
|
};
|
|
5969
|
-
|
|
6543
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6544
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6545
|
+
events: {
|
|
6546
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
|
|
6547
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6548
|
+
}>;
|
|
6549
|
+
};
|
|
6550
|
+
keys: {
|
|
6551
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
|
|
6552
|
+
deleted: boolean;
|
|
6553
|
+
}>;
|
|
6554
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6555
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6556
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6557
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6558
|
+
};
|
|
6559
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6560
|
+
purge: {
|
|
6561
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
|
|
6562
|
+
id: string;
|
|
6563
|
+
object: "database";
|
|
6564
|
+
purged: true;
|
|
6565
|
+
}>;
|
|
6566
|
+
};
|
|
6567
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6568
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6569
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6570
|
+
};
|
|
6571
|
+
table: {
|
|
6572
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6573
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6574
|
+
events: {
|
|
6575
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
|
|
6576
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6577
|
+
}>;
|
|
6578
|
+
};
|
|
6579
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6580
|
+
purge: {
|
|
6581
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
|
|
6582
|
+
id: string;
|
|
6583
|
+
object: "database";
|
|
6584
|
+
purged: true;
|
|
6585
|
+
}>;
|
|
6586
|
+
};
|
|
6587
|
+
rest: {
|
|
6588
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6589
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6590
|
+
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
|
|
6591
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6592
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6593
|
+
};
|
|
6594
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6595
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6596
|
+
tables: {
|
|
6597
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6598
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
|
|
6599
|
+
deleted: true;
|
|
6600
|
+
}>;
|
|
6601
|
+
fields: {
|
|
6602
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6603
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6604
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
6605
|
+
};
|
|
6606
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
|
|
6607
|
+
data: Array<Types.DatabaseTable>;
|
|
6608
|
+
}>;
|
|
6609
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6610
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
6611
|
+
};
|
|
6612
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6613
|
+
};
|
|
6614
|
+
};
|
|
6615
|
+
export declare function createDevops(transport: Transport): {
|
|
6616
|
+
changes: {
|
|
6617
|
+
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
|
|
6618
|
+
gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
|
|
6619
|
+
markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
|
|
6620
|
+
openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
|
|
6621
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
|
|
6622
|
+
};
|
|
6623
|
+
connections: {
|
|
6624
|
+
complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
|
|
6625
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
|
|
6626
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
|
|
6627
|
+
repositories: {
|
|
6628
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
|
|
6629
|
+
};
|
|
6630
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
|
|
5970
6631
|
};
|
|
5971
6632
|
environments: {
|
|
5972
6633
|
checkpoints: {
|
|
@@ -5996,6 +6657,13 @@ export declare function createDevops(transport: Transport): {
|
|
|
5996
6657
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
5997
6658
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
5998
6659
|
};
|
|
6660
|
+
cleanups: {
|
|
6661
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
|
|
6662
|
+
};
|
|
6663
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
|
|
6664
|
+
defaultBranch: {
|
|
6665
|
+
initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
|
|
6666
|
+
};
|
|
5999
6667
|
environments: {
|
|
6000
6668
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
6001
6669
|
targets: {
|
|
@@ -6068,6 +6736,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
6068
6736
|
promotions: {
|
|
6069
6737
|
approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
|
|
6070
6738
|
cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
|
|
6739
|
+
checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
|
|
6071
6740
|
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
|
|
6072
6741
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
|
|
6073
6742
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
|
|
@@ -6077,10 +6746,14 @@ export declare function createDevops(transport: Transport): {
|
|
|
6077
6746
|
};
|
|
6078
6747
|
};
|
|
6079
6748
|
pullRequests: {
|
|
6749
|
+
close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
|
|
6080
6750
|
merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
|
|
6081
6751
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
6082
6752
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
6083
6753
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
|
|
6754
|
+
reviews: {
|
|
6755
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
|
|
6756
|
+
};
|
|
6084
6757
|
};
|
|
6085
6758
|
releases: {
|
|
6086
6759
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
@@ -6296,6 +6969,12 @@ export declare function createMedia(transport: Transport): {
|
|
|
6296
6969
|
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
6297
6970
|
};
|
|
6298
6971
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
6972
|
+
voices: {
|
|
6973
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
|
|
6974
|
+
designs: {
|
|
6975
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
|
|
6976
|
+
};
|
|
6977
|
+
};
|
|
6299
6978
|
};
|
|
6300
6979
|
speech: {
|
|
6301
6980
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
|
|
@@ -6917,23 +7596,6 @@ export declare function createOntology(transport: Transport): {
|
|
|
6917
7596
|
};
|
|
6918
7597
|
};
|
|
6919
7598
|
export declare function createOrganization(transport: Transport): {
|
|
6920
|
-
actors: {
|
|
6921
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
6922
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
6923
|
-
};
|
|
6924
|
-
assignments: {
|
|
6925
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
6926
|
-
makePrimary: {
|
|
6927
|
-
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6928
|
-
};
|
|
6929
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6930
|
-
terminate: {
|
|
6931
|
-
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6932
|
-
};
|
|
6933
|
-
transfer: {
|
|
6934
|
-
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6935
|
-
};
|
|
6936
|
-
};
|
|
6937
7599
|
charges: {
|
|
6938
7600
|
list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
|
|
6939
7601
|
ChargePeriodStart: string;
|
|
@@ -6975,16 +7637,6 @@ export declare function createOrganization(transport: Transport): {
|
|
|
6975
7637
|
next_page: string | null;
|
|
6976
7638
|
}>;
|
|
6977
7639
|
};
|
|
6978
|
-
departments: {
|
|
6979
|
-
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
6980
|
-
dissolve: {
|
|
6981
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
6982
|
-
};
|
|
6983
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
6984
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
6985
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
6986
|
-
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
6987
|
-
};
|
|
6988
7640
|
events: {
|
|
6989
7641
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
6990
7642
|
object: "page";
|
|
@@ -7187,27 +7839,6 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7187
7839
|
}>;
|
|
7188
7840
|
}>;
|
|
7189
7841
|
};
|
|
7190
|
-
jobs: {
|
|
7191
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7192
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
7193
|
-
retire: {
|
|
7194
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7195
|
-
};
|
|
7196
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7197
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7198
|
-
};
|
|
7199
|
-
keyResults: {
|
|
7200
|
-
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
7201
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
7202
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
7203
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
7204
|
-
};
|
|
7205
|
-
ladders: {
|
|
7206
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7207
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
7208
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7209
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7210
|
-
};
|
|
7211
7842
|
members: {
|
|
7212
7843
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
|
|
7213
7844
|
data: Array<{
|
|
@@ -7221,51 +7852,83 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7221
7852
|
next_page: string | null;
|
|
7222
7853
|
}>;
|
|
7223
7854
|
};
|
|
7224
|
-
|
|
7225
|
-
|
|
7226
|
-
|
|
7227
|
-
|
|
7228
|
-
|
|
7229
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
7230
|
-
parents: {
|
|
7231
|
-
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7232
|
-
};
|
|
7233
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7234
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7235
|
-
};
|
|
7236
|
-
periods: {
|
|
7237
|
-
close: {
|
|
7238
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
7239
|
-
};
|
|
7240
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
7241
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
7242
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
7243
|
-
};
|
|
7244
|
-
positions: {
|
|
7245
|
-
close: {
|
|
7246
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7247
|
-
};
|
|
7248
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
7249
|
-
designateHead: {
|
|
7250
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
7251
|
-
};
|
|
7252
|
-
freeze: {
|
|
7253
|
-
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7855
|
+
notifications: {
|
|
7856
|
+
deliveries: {
|
|
7857
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
|
|
7858
|
+
[key: string]: unknown;
|
|
7859
|
+
}>;
|
|
7254
7860
|
};
|
|
7255
|
-
|
|
7256
|
-
|
|
7861
|
+
letters: {
|
|
7862
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
|
|
7863
|
+
unread: number;
|
|
7864
|
+
}>;
|
|
7865
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7866
|
+
letters: Array<{
|
|
7867
|
+
id: string;
|
|
7868
|
+
sender: string;
|
|
7869
|
+
summary: string;
|
|
7870
|
+
body: string;
|
|
7871
|
+
thread: string;
|
|
7872
|
+
kind: "notice" | "mention" | "decision";
|
|
7873
|
+
source: {
|
|
7874
|
+
[key: string]: unknown;
|
|
7875
|
+
};
|
|
7876
|
+
read: boolean;
|
|
7877
|
+
deliveredAt: string;
|
|
7878
|
+
createTime: string;
|
|
7879
|
+
reason: string;
|
|
7880
|
+
archived: boolean;
|
|
7881
|
+
}>;
|
|
7882
|
+
nextCursor: string;
|
|
7883
|
+
unread: number;
|
|
7884
|
+
}>;
|
|
7885
|
+
read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
|
|
7886
|
+
unread: number;
|
|
7887
|
+
}>;
|
|
7888
|
+
readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7889
|
+
unread: number;
|
|
7890
|
+
}>;
|
|
7257
7891
|
};
|
|
7258
|
-
|
|
7259
|
-
|
|
7260
|
-
|
|
7892
|
+
organizationDefault: {
|
|
7893
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
|
|
7894
|
+
[key: string]: unknown;
|
|
7895
|
+
}>;
|
|
7261
7896
|
};
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
|
|
7897
|
+
preferences: {
|
|
7898
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
|
|
7899
|
+
[key: string]: unknown;
|
|
7900
|
+
}>;
|
|
7901
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
|
|
7902
|
+
name: string;
|
|
7903
|
+
workflows: {
|
|
7904
|
+
[key: string]: unknown;
|
|
7905
|
+
};
|
|
7906
|
+
channelOptOuts?: Array<"in_app" | "email" | "sms">;
|
|
7907
|
+
updateTime?: string;
|
|
7908
|
+
catalog: Array<{
|
|
7909
|
+
workflow: string;
|
|
7910
|
+
group: string;
|
|
7911
|
+
title: string;
|
|
7912
|
+
description?: string;
|
|
7913
|
+
severity: "high" | "medium" | "low" | "none";
|
|
7914
|
+
critical: boolean;
|
|
7915
|
+
channels: Array<string>;
|
|
7916
|
+
}>;
|
|
7917
|
+
organization: {
|
|
7918
|
+
[key: string]: unknown;
|
|
7919
|
+
};
|
|
7920
|
+
effective: {
|
|
7921
|
+
[key: string]: unknown;
|
|
7922
|
+
};
|
|
7923
|
+
}>;
|
|
7265
7924
|
};
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7925
|
+
retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
|
|
7926
|
+
unreadCount: number;
|
|
7927
|
+
unseenCount: number;
|
|
7928
|
+
}>;
|
|
7929
|
+
retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
|
|
7930
|
+
[key: string]: unknown;
|
|
7931
|
+
}>;
|
|
7269
7932
|
};
|
|
7270
7933
|
usage: {
|
|
7271
7934
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
@@ -7296,6 +7959,27 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7296
7959
|
update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
|
|
7297
7960
|
};
|
|
7298
7961
|
packages: {
|
|
7962
|
+
git: {
|
|
7963
|
+
commits: {
|
|
7964
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
7965
|
+
};
|
|
7966
|
+
files: {
|
|
7967
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7968
|
+
};
|
|
7969
|
+
refs: {
|
|
7970
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
|
|
7971
|
+
};
|
|
7972
|
+
retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
|
|
7973
|
+
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
7974
|
+
retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
|
|
7975
|
+
trees: {
|
|
7976
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
7977
|
+
retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
|
|
7978
|
+
};
|
|
7979
|
+
};
|
|
7980
|
+
gitCredential: {
|
|
7981
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
7982
|
+
};
|
|
7299
7983
|
installations: {
|
|
7300
7984
|
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
7301
7985
|
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
@@ -7327,12 +8011,105 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7327
8011
|
};
|
|
7328
8012
|
};
|
|
7329
8013
|
export declare function createSandbox(transport: Transport): {
|
|
8014
|
+
byod: {
|
|
8015
|
+
devices: {
|
|
8016
|
+
disconnect: {
|
|
8017
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
8018
|
+
id: string;
|
|
8019
|
+
object: "byod_device";
|
|
8020
|
+
disconnected: true;
|
|
8021
|
+
}>;
|
|
8022
|
+
};
|
|
8023
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
8024
|
+
data: Array<{
|
|
8025
|
+
object: "byod_device";
|
|
8026
|
+
id: string;
|
|
8027
|
+
platform: "android" | "macos" | "linux";
|
|
8028
|
+
name: string;
|
|
8029
|
+
model: string;
|
|
8030
|
+
os_version: string;
|
|
8031
|
+
online: boolean;
|
|
8032
|
+
last_seen_at: string | null;
|
|
8033
|
+
created_at: string;
|
|
8034
|
+
capabilities: Array<"display" | "agent">;
|
|
8035
|
+
agent_dirs: Array<string>;
|
|
8036
|
+
allow_bypass: boolean;
|
|
8037
|
+
}>;
|
|
8038
|
+
}>;
|
|
8039
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
8040
|
+
object: "byod_device";
|
|
8041
|
+
id: string;
|
|
8042
|
+
platform: "android" | "macos" | "linux";
|
|
8043
|
+
name: string;
|
|
8044
|
+
model: string;
|
|
8045
|
+
os_version: string;
|
|
8046
|
+
online: boolean;
|
|
8047
|
+
last_seen_at: string | null;
|
|
8048
|
+
created_at: string;
|
|
8049
|
+
capabilities: Array<"display" | "agent">;
|
|
8050
|
+
agent_dirs: Array<string>;
|
|
8051
|
+
allow_bypass: boolean;
|
|
8052
|
+
}>;
|
|
8053
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
8054
|
+
object: "byod_device";
|
|
8055
|
+
id: string;
|
|
8056
|
+
platform: "android" | "macos" | "linux";
|
|
8057
|
+
name: string;
|
|
8058
|
+
model: string;
|
|
8059
|
+
os_version: string;
|
|
8060
|
+
online: boolean;
|
|
8061
|
+
last_seen_at: string | null;
|
|
8062
|
+
created_at: string;
|
|
8063
|
+
capabilities: Array<"display" | "agent">;
|
|
8064
|
+
agent_dirs: Array<string>;
|
|
8065
|
+
allow_bypass: boolean;
|
|
8066
|
+
}>;
|
|
8067
|
+
};
|
|
8068
|
+
pairings: {
|
|
8069
|
+
claim: {
|
|
8070
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
8071
|
+
device_id: string;
|
|
8072
|
+
credential: string;
|
|
8073
|
+
socket_url: string;
|
|
8074
|
+
}>;
|
|
8075
|
+
};
|
|
8076
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
8077
|
+
code: string;
|
|
8078
|
+
expires_at: string;
|
|
8079
|
+
qr: string;
|
|
8080
|
+
}>;
|
|
8081
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
8082
|
+
organization_name: string;
|
|
8083
|
+
expires_at: string;
|
|
8084
|
+
}>;
|
|
8085
|
+
};
|
|
8086
|
+
};
|
|
7330
8087
|
events: {
|
|
7331
8088
|
sandboxes: {
|
|
7332
8089
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
7333
8090
|
};
|
|
7334
8091
|
};
|
|
7335
8092
|
sandboxes: {
|
|
8093
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
8094
|
+
type: "snapshot";
|
|
8095
|
+
snapshot: string;
|
|
8096
|
+
refs: number;
|
|
8097
|
+
truncated: boolean;
|
|
8098
|
+
package: string;
|
|
8099
|
+
} | {
|
|
8100
|
+
type: "screenshot";
|
|
8101
|
+
mediaType: string;
|
|
8102
|
+
data: string;
|
|
8103
|
+
width: number;
|
|
8104
|
+
height: number;
|
|
8105
|
+
bytes: number;
|
|
8106
|
+
} | {
|
|
8107
|
+
type: "ok";
|
|
8108
|
+
ms?: number;
|
|
8109
|
+
} | {
|
|
8110
|
+
type: "wait";
|
|
8111
|
+
ms: number;
|
|
8112
|
+
}>;
|
|
7336
8113
|
commands: {
|
|
7337
8114
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
7338
8115
|
stdout: string;
|
|
@@ -7857,10 +8634,133 @@ export declare function createVault(transport: Transport): {
|
|
|
7857
8634
|
update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
|
|
7858
8635
|
};
|
|
7859
8636
|
};
|
|
8637
|
+
export declare function createWorkforce(transport: Transport): {
|
|
8638
|
+
actors: {
|
|
8639
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
8640
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
8641
|
+
};
|
|
8642
|
+
assignments: {
|
|
8643
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
8644
|
+
makePrimary: {
|
|
8645
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8646
|
+
};
|
|
8647
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8648
|
+
terminate: {
|
|
8649
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8650
|
+
};
|
|
8651
|
+
transfer: {
|
|
8652
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8653
|
+
};
|
|
8654
|
+
};
|
|
8655
|
+
departments: {
|
|
8656
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8657
|
+
dissolve: {
|
|
8658
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8659
|
+
};
|
|
8660
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
8661
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8662
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8663
|
+
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
8664
|
+
};
|
|
8665
|
+
effectiveSpec: {
|
|
8666
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
8667
|
+
};
|
|
8668
|
+
jobs: {
|
|
8669
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8670
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
8671
|
+
retire: {
|
|
8672
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8673
|
+
};
|
|
8674
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8675
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8676
|
+
};
|
|
8677
|
+
keyResults: {
|
|
8678
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8679
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
8680
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8681
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8682
|
+
};
|
|
8683
|
+
ladders: {
|
|
8684
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8685
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
8686
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8687
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8688
|
+
};
|
|
8689
|
+
objectives: {
|
|
8690
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8691
|
+
grade: {
|
|
8692
|
+
create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8693
|
+
};
|
|
8694
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
8695
|
+
parents: {
|
|
8696
|
+
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8697
|
+
};
|
|
8698
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8699
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8700
|
+
};
|
|
8701
|
+
periods: {
|
|
8702
|
+
close: {
|
|
8703
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8704
|
+
};
|
|
8705
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8706
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
8707
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8708
|
+
};
|
|
8709
|
+
positions: {
|
|
8710
|
+
close: {
|
|
8711
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8712
|
+
};
|
|
8713
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
8714
|
+
designateHead: {
|
|
8715
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
8716
|
+
};
|
|
8717
|
+
freeze: {
|
|
8718
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8719
|
+
};
|
|
8720
|
+
hire: {
|
|
8721
|
+
create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
|
|
8722
|
+
};
|
|
8723
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
|
|
8724
|
+
replaceHolder: {
|
|
8725
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
|
|
8726
|
+
};
|
|
8727
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8728
|
+
unfreeze: {
|
|
8729
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8730
|
+
};
|
|
8731
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8732
|
+
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8733
|
+
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
8734
|
+
};
|
|
8735
|
+
reconcile: {
|
|
8736
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8737
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8738
|
+
retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
|
|
8739
|
+
run: {
|
|
8740
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8741
|
+
};
|
|
8742
|
+
status: {
|
|
8743
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8744
|
+
};
|
|
8745
|
+
};
|
|
8746
|
+
specSchema: {
|
|
8747
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
|
|
8748
|
+
};
|
|
8749
|
+
specs: {
|
|
8750
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
8751
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
8752
|
+
retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
|
|
8753
|
+
revisions: {
|
|
8754
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
8755
|
+
};
|
|
8756
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
|
|
8757
|
+
};
|
|
8758
|
+
};
|
|
7860
8759
|
export declare const resourceFactories: {
|
|
7861
8760
|
agent: typeof createAgent;
|
|
7862
8761
|
application: typeof createApplication;
|
|
7863
8762
|
automation: typeof createAutomation;
|
|
8763
|
+
billing: typeof createBilling;
|
|
7864
8764
|
browser: typeof createBrowser;
|
|
7865
8765
|
canvas: typeof createCanvas;
|
|
7866
8766
|
content: typeof createContent;
|
|
@@ -7883,4 +8783,5 @@ export declare const resourceFactories: {
|
|
|
7883
8783
|
studio: typeof createStudio;
|
|
7884
8784
|
ticket: typeof createTicket;
|
|
7885
8785
|
vault: typeof createVault;
|
|
8786
|
+
workforce: typeof createWorkforce;
|
|
7886
8787
|
};
|