@deepraxis/sdk 0.1.1-dev.47b94f1 → 0.1.1-dev.486af34
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 +383 -185
- 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 +660 -216
- package/dist/generated/sdk.gen.js +1769 -660
- package/dist/generated/types.gen.d.ts +33641 -26229
- 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 +15942 -13255
- package/dist/resources.generated.d.ts +861 -121
- package/dist/resources.generated.js +391 -134
- 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";
|
|
@@ -657,6 +661,166 @@ export declare function createAgent(transport: Transport): {
|
|
|
657
661
|
type: "user.steer";
|
|
658
662
|
event_id: string;
|
|
659
663
|
processed_at: string;
|
|
664
|
+
} | {
|
|
665
|
+
id: string;
|
|
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";
|
|
769
|
+
processed_at: string;
|
|
770
|
+
tool_use_id: string;
|
|
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;
|
|
790
|
+
};
|
|
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;
|
|
817
|
+
};
|
|
818
|
+
} | {
|
|
819
|
+
id: string;
|
|
820
|
+
type: "session.project_detached";
|
|
821
|
+
processed_at: string;
|
|
822
|
+
project_id: string;
|
|
823
|
+
reason?: "project_removed";
|
|
660
824
|
}>;
|
|
661
825
|
next_page: string | null;
|
|
662
826
|
}>;
|
|
@@ -731,8 +895,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
731
895
|
id: string;
|
|
732
896
|
} | null;
|
|
733
897
|
note: string | null;
|
|
898
|
+
deployments_behind: number | null;
|
|
734
899
|
bindings: Array<{
|
|
735
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
900
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
736
901
|
id: string;
|
|
737
902
|
access: "read_only" | "read_write" | "invoke";
|
|
738
903
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -938,8 +1103,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
938
1103
|
id: string;
|
|
939
1104
|
} | null;
|
|
940
1105
|
note: string | null;
|
|
1106
|
+
deployments_behind: number | null;
|
|
941
1107
|
bindings: Array<{
|
|
942
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1108
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
943
1109
|
id: string;
|
|
944
1110
|
access: "read_only" | "read_write" | "invoke";
|
|
945
1111
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -1154,6 +1320,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1154
1320
|
enabled: boolean;
|
|
1155
1321
|
daily_session_cap: number | null;
|
|
1156
1322
|
daily_spend_cap_micro_usd: number | null;
|
|
1323
|
+
currency?: "USD" | "CNY" | null;
|
|
1157
1324
|
};
|
|
1158
1325
|
}>;
|
|
1159
1326
|
unarchive: {
|
|
@@ -1395,8 +1562,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1395
1562
|
id: string;
|
|
1396
1563
|
} | null;
|
|
1397
1564
|
note: string | null;
|
|
1565
|
+
deployments_behind: number | null;
|
|
1398
1566
|
bindings: Array<{
|
|
1399
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1567
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1400
1568
|
id: string;
|
|
1401
1569
|
access: "read_only" | "read_write" | "invoke";
|
|
1402
1570
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -1573,8 +1741,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1573
1741
|
id: string;
|
|
1574
1742
|
} | null;
|
|
1575
1743
|
note: string | null;
|
|
1744
|
+
deployments_behind: number | null;
|
|
1576
1745
|
bindings: Array<{
|
|
1577
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1746
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1578
1747
|
id: string;
|
|
1579
1748
|
access: "read_only" | "read_write" | "invoke";
|
|
1580
1749
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -1726,6 +1895,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1726
1895
|
enabled: boolean;
|
|
1727
1896
|
daily_session_cap: number | null;
|
|
1728
1897
|
daily_spend_cap_micro_usd: number | null;
|
|
1898
|
+
currency?: "USD" | "CNY" | null;
|
|
1729
1899
|
};
|
|
1730
1900
|
}>;
|
|
1731
1901
|
versions: {
|
|
@@ -1967,8 +2137,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1967
2137
|
id: string;
|
|
1968
2138
|
} | null;
|
|
1969
2139
|
note: string | null;
|
|
2140
|
+
deployments_behind: number | null;
|
|
1970
2141
|
bindings: Array<{
|
|
1971
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2142
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1972
2143
|
id: string;
|
|
1973
2144
|
access: "read_only" | "read_write" | "invoke";
|
|
1974
2145
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -2146,7 +2317,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2146
2317
|
} | null;
|
|
2147
2318
|
note: string | null;
|
|
2148
2319
|
bindings: Array<{
|
|
2149
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2320
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
2150
2321
|
id: string;
|
|
2151
2322
|
access: "read_only" | "read_write" | "invoke";
|
|
2152
2323
|
customer_access?: "read_only" | "read_write" | "invoke";
|
|
@@ -2374,6 +2545,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
2374
2545
|
fallback?: "content";
|
|
2375
2546
|
skipped?: boolean;
|
|
2376
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
|
+
}>;
|
|
2377
2554
|
};
|
|
2378
2555
|
leases: {
|
|
2379
2556
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -2447,6 +2624,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2447
2624
|
id: string;
|
|
2448
2625
|
type: "agent";
|
|
2449
2626
|
version: number;
|
|
2627
|
+
pinned_version?: number | null;
|
|
2628
|
+
active_version?: number | null;
|
|
2450
2629
|
} | {
|
|
2451
2630
|
id: string;
|
|
2452
2631
|
type: "agent_with_overrides";
|
|
@@ -2484,6 +2663,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2484
2663
|
id: string;
|
|
2485
2664
|
type: "agent";
|
|
2486
2665
|
version: number;
|
|
2666
|
+
pinned_version?: number | null;
|
|
2667
|
+
active_version?: number | null;
|
|
2487
2668
|
} | {
|
|
2488
2669
|
id: string;
|
|
2489
2670
|
type: "agent_with_overrides";
|
|
@@ -2522,6 +2703,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2522
2703
|
id: string;
|
|
2523
2704
|
type: "agent";
|
|
2524
2705
|
version: number;
|
|
2706
|
+
pinned_version?: number | null;
|
|
2707
|
+
active_version?: number | null;
|
|
2525
2708
|
} | {
|
|
2526
2709
|
id: string;
|
|
2527
2710
|
type: "agent_with_overrides";
|
|
@@ -2561,6 +2744,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2561
2744
|
id: string;
|
|
2562
2745
|
type: "agent";
|
|
2563
2746
|
version: number;
|
|
2747
|
+
pinned_version?: number | null;
|
|
2748
|
+
active_version?: number | null;
|
|
2564
2749
|
} | {
|
|
2565
2750
|
id: string;
|
|
2566
2751
|
type: "agent_with_overrides";
|
|
@@ -2598,6 +2783,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2598
2783
|
id: string;
|
|
2599
2784
|
type: "agent";
|
|
2600
2785
|
version: number;
|
|
2786
|
+
pinned_version?: number | null;
|
|
2787
|
+
active_version?: number | null;
|
|
2601
2788
|
} | {
|
|
2602
2789
|
id: string;
|
|
2603
2790
|
type: "agent_with_overrides";
|
|
@@ -2639,6 +2826,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2639
2826
|
id: string;
|
|
2640
2827
|
type: "agent";
|
|
2641
2828
|
version: number;
|
|
2829
|
+
pinned_version?: number | null;
|
|
2830
|
+
active_version?: number | null;
|
|
2642
2831
|
} | {
|
|
2643
2832
|
id: string;
|
|
2644
2833
|
type: "agent_with_overrides";
|
|
@@ -2677,6 +2866,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2677
2866
|
id: string;
|
|
2678
2867
|
type: "agent";
|
|
2679
2868
|
version: number;
|
|
2869
|
+
pinned_version?: number | null;
|
|
2870
|
+
active_version?: number | null;
|
|
2680
2871
|
} | {
|
|
2681
2872
|
id: string;
|
|
2682
2873
|
type: "agent_with_overrides";
|
|
@@ -3489,6 +3680,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
3489
3680
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3490
3681
|
}>;
|
|
3491
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
|
+
};
|
|
3492
3690
|
events: {
|
|
3493
3691
|
list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
|
|
3494
3692
|
data: Array<{
|
|
@@ -3690,6 +3888,166 @@ export declare function createAgent(transport: Transport): {
|
|
|
3690
3888
|
type: "user.steer";
|
|
3691
3889
|
event_id: string;
|
|
3692
3890
|
processed_at: string;
|
|
3891
|
+
} | {
|
|
3892
|
+
id: string;
|
|
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";
|
|
3996
|
+
processed_at: string;
|
|
3997
|
+
tool_use_id: string;
|
|
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;
|
|
4017
|
+
};
|
|
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;
|
|
4044
|
+
};
|
|
4045
|
+
} | {
|
|
4046
|
+
id: string;
|
|
4047
|
+
type: "session.project_detached";
|
|
4048
|
+
processed_at: string;
|
|
4049
|
+
project_id: string;
|
|
4050
|
+
reason?: "project_removed";
|
|
3693
4051
|
}>;
|
|
3694
4052
|
next_page: string | null;
|
|
3695
4053
|
}>;
|
|
@@ -5236,6 +5594,166 @@ export declare function createAgent(transport: Transport): {
|
|
|
5236
5594
|
type: "user.steer";
|
|
5237
5595
|
event_id: string;
|
|
5238
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";
|
|
5239
5757
|
}>;
|
|
5240
5758
|
next_page: string | null;
|
|
5241
5759
|
}>;
|
|
@@ -5933,15 +6451,40 @@ export declare function createCut(transport: Transport): {
|
|
|
5933
6451
|
};
|
|
5934
6452
|
export declare function createDatabase(transport: Transport): {
|
|
5935
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. */
|
|
5936
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. */
|
|
5937
6463
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
5938
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. */
|
|
5939
6466
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
|
|
5940
6467
|
data: Array<Types.DatabaseDatabaseEvent>;
|
|
5941
6468
|
}>;
|
|
5942
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. */
|
|
5943
6485
|
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
5944
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. */
|
|
5945
6488
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
|
|
5946
6489
|
id: string;
|
|
5947
6490
|
object: "database";
|
|
@@ -5949,32 +6492,125 @@ export declare function createDatabase(transport: Transport): {
|
|
|
5949
6492
|
}>;
|
|
5950
6493
|
};
|
|
5951
6494
|
rest: {
|
|
6495
|
+
/** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
|
|
5952
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. */
|
|
5953
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. */
|
|
5954
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. */
|
|
5955
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. */
|
|
5956
6504
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
5957
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. */
|
|
5958
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. */
|
|
5959
6509
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
5960
6510
|
tables: {
|
|
6511
|
+
/** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
|
|
5961
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. */
|
|
5962
6514
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
|
|
5963
6515
|
deleted: true;
|
|
5964
6516
|
}>;
|
|
5965
6517
|
fields: {
|
|
6518
|
+
/** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
|
|
5966
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. */
|
|
5967
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. */
|
|
5968
6523
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
5969
6524
|
};
|
|
6525
|
+
/** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
|
|
5970
6526
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
|
|
5971
6527
|
data: Array<Types.DatabaseTable>;
|
|
5972
6528
|
}>;
|
|
6529
|
+
/** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
|
|
5973
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. */
|
|
5974
6532
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
5975
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. */
|
|
5976
6535
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
5977
6536
|
};
|
|
6537
|
+
kv: {
|
|
6538
|
+
commands: {
|
|
6539
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
|
|
6540
|
+
result: unknown;
|
|
6541
|
+
}>;
|
|
6542
|
+
};
|
|
6543
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6544
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6545
|
+
events: {
|
|
6546
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
|
|
6547
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6548
|
+
}>;
|
|
6549
|
+
};
|
|
6550
|
+
keys: {
|
|
6551
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
|
|
6552
|
+
deleted: boolean;
|
|
6553
|
+
}>;
|
|
6554
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6555
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6556
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6557
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6558
|
+
};
|
|
6559
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6560
|
+
purge: {
|
|
6561
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
|
|
6562
|
+
id: string;
|
|
6563
|
+
object: "database";
|
|
6564
|
+
purged: true;
|
|
6565
|
+
}>;
|
|
6566
|
+
};
|
|
6567
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6568
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6569
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6570
|
+
};
|
|
6571
|
+
table: {
|
|
6572
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6573
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6574
|
+
events: {
|
|
6575
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
|
|
6576
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6577
|
+
}>;
|
|
6578
|
+
};
|
|
6579
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6580
|
+
purge: {
|
|
6581
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
|
|
6582
|
+
id: string;
|
|
6583
|
+
object: "database";
|
|
6584
|
+
purged: true;
|
|
6585
|
+
}>;
|
|
6586
|
+
};
|
|
6587
|
+
rest: {
|
|
6588
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6589
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6590
|
+
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
|
|
6591
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6592
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6593
|
+
};
|
|
6594
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6595
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6596
|
+
tables: {
|
|
6597
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6598
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
|
|
6599
|
+
deleted: true;
|
|
6600
|
+
}>;
|
|
6601
|
+
fields: {
|
|
6602
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6603
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6604
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
6605
|
+
};
|
|
6606
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
|
|
6607
|
+
data: Array<Types.DatabaseTable>;
|
|
6608
|
+
}>;
|
|
6609
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6610
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
6611
|
+
};
|
|
6612
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6613
|
+
};
|
|
5978
6614
|
};
|
|
5979
6615
|
export declare function createDevops(transport: Transport): {
|
|
5980
6616
|
changes: {
|
|
@@ -6021,6 +6657,13 @@ export declare function createDevops(transport: Transport): {
|
|
|
6021
6657
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
6022
6658
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
6023
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
|
+
};
|
|
6024
6667
|
environments: {
|
|
6025
6668
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
6026
6669
|
targets: {
|
|
@@ -6093,6 +6736,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
6093
6736
|
promotions: {
|
|
6094
6737
|
approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
|
|
6095
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>;
|
|
6096
6740
|
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
|
|
6097
6741
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
|
|
6098
6742
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
|
|
@@ -6107,6 +6751,9 @@ export declare function createDevops(transport: Transport): {
|
|
|
6107
6751
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
6108
6752
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
6109
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
|
+
};
|
|
6110
6757
|
};
|
|
6111
6758
|
releases: {
|
|
6112
6759
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
@@ -6949,23 +7596,6 @@ export declare function createOntology(transport: Transport): {
|
|
|
6949
7596
|
};
|
|
6950
7597
|
};
|
|
6951
7598
|
export declare function createOrganization(transport: Transport): {
|
|
6952
|
-
actors: {
|
|
6953
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
6954
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
6955
|
-
};
|
|
6956
|
-
assignments: {
|
|
6957
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
6958
|
-
makePrimary: {
|
|
6959
|
-
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6960
|
-
};
|
|
6961
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6962
|
-
terminate: {
|
|
6963
|
-
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6964
|
-
};
|
|
6965
|
-
transfer: {
|
|
6966
|
-
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6967
|
-
};
|
|
6968
|
-
};
|
|
6969
7599
|
charges: {
|
|
6970
7600
|
list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
|
|
6971
7601
|
ChargePeriodStart: string;
|
|
@@ -7007,19 +7637,6 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7007
7637
|
next_page: string | null;
|
|
7008
7638
|
}>;
|
|
7009
7639
|
};
|
|
7010
|
-
departments: {
|
|
7011
|
-
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7012
|
-
dissolve: {
|
|
7013
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7014
|
-
};
|
|
7015
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
7016
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7017
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7018
|
-
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
7019
|
-
};
|
|
7020
|
-
effectiveSpec: {
|
|
7021
|
-
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
7022
|
-
};
|
|
7023
7640
|
events: {
|
|
7024
7641
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
7025
7642
|
object: "page";
|
|
@@ -7222,27 +7839,6 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7222
7839
|
}>;
|
|
7223
7840
|
}>;
|
|
7224
7841
|
};
|
|
7225
|
-
jobs: {
|
|
7226
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7227
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
7228
|
-
retire: {
|
|
7229
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7230
|
-
};
|
|
7231
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7232
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7233
|
-
};
|
|
7234
|
-
keyResults: {
|
|
7235
|
-
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
7236
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
7237
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
7238
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
7239
|
-
};
|
|
7240
|
-
ladders: {
|
|
7241
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7242
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
7243
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7244
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7245
|
-
};
|
|
7246
7842
|
members: {
|
|
7247
7843
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
|
|
7248
7844
|
data: Array<{
|
|
@@ -7256,71 +7852,83 @@ export declare function createOrganization(transport: Transport): {
|
|
|
7256
7852
|
next_page: string | null;
|
|
7257
7853
|
}>;
|
|
7258
7854
|
};
|
|
7259
|
-
|
|
7260
|
-
|
|
7261
|
-
|
|
7262
|
-
|
|
7263
|
-
|
|
7264
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
7265
|
-
parents: {
|
|
7266
|
-
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7267
|
-
};
|
|
7268
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7269
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7270
|
-
};
|
|
7271
|
-
periods: {
|
|
7272
|
-
close: {
|
|
7273
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
7274
|
-
};
|
|
7275
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
7276
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
7277
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
7278
|
-
};
|
|
7279
|
-
positions: {
|
|
7280
|
-
close: {
|
|
7281
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7282
|
-
};
|
|
7283
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
7284
|
-
designateHead: {
|
|
7285
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
7286
|
-
};
|
|
7287
|
-
freeze: {
|
|
7288
|
-
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7289
|
-
};
|
|
7290
|
-
hire: {
|
|
7291
|
-
create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
|
|
7292
|
-
};
|
|
7293
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
|
|
7294
|
-
replaceHolder: {
|
|
7295
|
-
create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
|
|
7296
|
-
};
|
|
7297
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7298
|
-
unfreeze: {
|
|
7299
|
-
create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7855
|
+
notifications: {
|
|
7856
|
+
deliveries: {
|
|
7857
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
|
|
7858
|
+
[key: string]: unknown;
|
|
7859
|
+
}>;
|
|
7300
7860
|
};
|
|
7301
|
-
|
|
7302
|
-
|
|
7303
|
-
|
|
7304
|
-
|
|
7305
|
-
|
|
7306
|
-
|
|
7307
|
-
|
|
7308
|
-
|
|
7309
|
-
|
|
7310
|
-
|
|
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
|
+
}>;
|
|
7311
7891
|
};
|
|
7312
|
-
|
|
7313
|
-
|
|
7892
|
+
organizationDefault: {
|
|
7893
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
|
|
7894
|
+
[key: string]: unknown;
|
|
7895
|
+
}>;
|
|
7314
7896
|
};
|
|
7315
|
-
|
|
7316
|
-
|
|
7317
|
-
|
|
7318
|
-
|
|
7319
|
-
|
|
7320
|
-
|
|
7321
|
-
|
|
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
|
+
}>;
|
|
7322
7924
|
};
|
|
7323
|
-
|
|
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
|
+
}>;
|
|
7324
7932
|
};
|
|
7325
7933
|
usage: {
|
|
7326
7934
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
@@ -7353,16 +7961,25 @@ export declare function createRegistry(transport: Transport): {
|
|
|
7353
7961
|
packages: {
|
|
7354
7962
|
git: {
|
|
7355
7963
|
commits: {
|
|
7356
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.
|
|
7964
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
7357
7965
|
};
|
|
7358
7966
|
files: {
|
|
7359
7967
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7360
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>;
|
|
7361
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>;
|
|
7362
7975
|
trees: {
|
|
7363
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>;
|
|
7364
7978
|
};
|
|
7365
7979
|
};
|
|
7980
|
+
gitCredential: {
|
|
7981
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
7982
|
+
};
|
|
7366
7983
|
installations: {
|
|
7367
7984
|
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
7368
7985
|
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
@@ -8017,6 +8634,128 @@ export declare function createVault(transport: Transport): {
|
|
|
8017
8634
|
update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
|
|
8018
8635
|
};
|
|
8019
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
|
+
};
|
|
8020
8759
|
export declare const resourceFactories: {
|
|
8021
8760
|
agent: typeof createAgent;
|
|
8022
8761
|
application: typeof createApplication;
|
|
@@ -8044,4 +8783,5 @@ export declare const resourceFactories: {
|
|
|
8044
8783
|
studio: typeof createStudio;
|
|
8045
8784
|
ticket: typeof createTicket;
|
|
8046
8785
|
vault: typeof createVault;
|
|
8786
|
+
workforce: typeof createWorkforce;
|
|
8047
8787
|
};
|