@deepraxis/sdk 0.1.1-dev.ff9de03 → 0.2.0-dev.0ea50e2
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 +690 -113
- 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/credentials.d.ts +16 -6
- package/dist/core/credentials.js +24 -5
- package/dist/core/deprecation.d.ts +11 -0
- package/dist/core/deprecation.js +20 -0
- package/dist/core/retry.js +2 -0
- package/dist/core/transport.d.ts +4 -0
- package/dist/core/transport.js +26 -7
- 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 +1446 -328
- package/dist/generated/sdk.gen.js +6623 -3571
- package/dist/generated/types.gen.d.ts +70804 -49562
- 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 +18762 -12713
- package/dist/resources.generated.d.ts +2853 -348
- package/dist/resources.generated.js +611 -121
- 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<{
|
|
@@ -17,6 +19,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
17
19
|
speed?: "standard" | "fast";
|
|
18
20
|
settings?: {
|
|
19
21
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
22
|
+
max_output_tokens?: number;
|
|
20
23
|
};
|
|
21
24
|
};
|
|
22
25
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -37,10 +40,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
37
40
|
id: string;
|
|
38
41
|
} | null;
|
|
39
42
|
note: string | null;
|
|
43
|
+
deployments_behind: number | null;
|
|
40
44
|
bindings: Array<{
|
|
41
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
45
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
42
46
|
id: string;
|
|
43
47
|
access: "read_only" | "read_write" | "invoke";
|
|
48
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
44
49
|
instructions?: string;
|
|
45
50
|
readonly verified?: boolean;
|
|
46
51
|
enabled?: boolean;
|
|
@@ -49,7 +54,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
49
54
|
readonly verified?: boolean;
|
|
50
55
|
enabled?: boolean;
|
|
51
56
|
}>;
|
|
52
|
-
kind: "general" | "
|
|
57
|
+
kind: "general" | "service" | "assume";
|
|
53
58
|
computer_id?: string;
|
|
54
59
|
subagent_model?: string | null;
|
|
55
60
|
subagents?: Array<{
|
|
@@ -142,6 +147,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
142
147
|
allowManagedHooksOnly?: boolean;
|
|
143
148
|
allowManagedMcpServersOnly?: boolean;
|
|
144
149
|
allowManagedPermissionRulesOnly?: boolean;
|
|
150
|
+
idleCompaction?: boolean;
|
|
145
151
|
autoMemoryEnabled?: boolean;
|
|
146
152
|
disabled?: {
|
|
147
153
|
subagents?: Array<string>;
|
|
@@ -150,7 +156,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
150
156
|
mcpServers?: Array<string>;
|
|
151
157
|
hooks?: Array<string>;
|
|
152
158
|
};
|
|
153
|
-
idleCompaction?: boolean;
|
|
154
159
|
outputStyle?: string;
|
|
155
160
|
} | null;
|
|
156
161
|
models?: {
|
|
@@ -158,6 +163,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
158
163
|
};
|
|
159
164
|
avatar: string | null;
|
|
160
165
|
creation_source: string | null;
|
|
166
|
+
managed_by: string | null;
|
|
161
167
|
identity_number: string | null;
|
|
162
168
|
environment_id?: string | null;
|
|
163
169
|
vault_ids?: Array<string>;
|
|
@@ -199,6 +205,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
199
205
|
speed?: "standard" | "fast";
|
|
200
206
|
settings?: {
|
|
201
207
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
208
|
+
max_output_tokens?: number;
|
|
202
209
|
};
|
|
203
210
|
};
|
|
204
211
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -219,10 +226,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
219
226
|
id: string;
|
|
220
227
|
} | null;
|
|
221
228
|
note: string | null;
|
|
229
|
+
deployments_behind: number | null;
|
|
222
230
|
bindings: Array<{
|
|
223
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
231
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
224
232
|
id: string;
|
|
225
233
|
access: "read_only" | "read_write" | "invoke";
|
|
234
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
226
235
|
instructions?: string;
|
|
227
236
|
readonly verified?: boolean;
|
|
228
237
|
enabled?: boolean;
|
|
@@ -231,7 +240,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
231
240
|
readonly verified?: boolean;
|
|
232
241
|
enabled?: boolean;
|
|
233
242
|
}>;
|
|
234
|
-
kind: "general" | "
|
|
243
|
+
kind: "general" | "service" | "assume";
|
|
244
|
+
computers?: {
|
|
245
|
+
default: string;
|
|
246
|
+
allowed: Array<{
|
|
247
|
+
template: string;
|
|
248
|
+
name: string;
|
|
249
|
+
}>;
|
|
250
|
+
};
|
|
235
251
|
computer_id?: string;
|
|
236
252
|
subagent_model?: string | null;
|
|
237
253
|
subagents?: Array<{
|
|
@@ -324,6 +340,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
324
340
|
allowManagedHooksOnly?: boolean;
|
|
325
341
|
allowManagedMcpServersOnly?: boolean;
|
|
326
342
|
allowManagedPermissionRulesOnly?: boolean;
|
|
343
|
+
idleCompaction?: boolean;
|
|
327
344
|
autoMemoryEnabled?: boolean;
|
|
328
345
|
disabled?: {
|
|
329
346
|
subagents?: Array<string>;
|
|
@@ -332,7 +349,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
332
349
|
mcpServers?: Array<string>;
|
|
333
350
|
hooks?: Array<string>;
|
|
334
351
|
};
|
|
335
|
-
idleCompaction?: boolean;
|
|
336
352
|
outputStyle?: string;
|
|
337
353
|
} | null;
|
|
338
354
|
models?: {
|
|
@@ -340,6 +356,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
340
356
|
};
|
|
341
357
|
avatar: string | null;
|
|
342
358
|
creation_source: string | null;
|
|
359
|
+
managed_by: string | null;
|
|
343
360
|
identity_number: string | null;
|
|
344
361
|
environment_id?: string | null;
|
|
345
362
|
vault_ids?: Array<string>;
|
|
@@ -352,42 +369,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
352
369
|
}> | null;
|
|
353
370
|
}>;
|
|
354
371
|
customers: {
|
|
355
|
-
auth: {
|
|
356
|
-
accessTokens: {
|
|
357
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
|
|
358
|
-
type: "customer_access_token";
|
|
359
|
-
access_token: string;
|
|
360
|
-
expires_at: string;
|
|
361
|
-
session_expires_at: string;
|
|
362
|
-
customer: {
|
|
363
|
-
id: string;
|
|
364
|
-
type: "identified" | "anonymous";
|
|
365
|
-
};
|
|
366
|
-
}>;
|
|
367
|
-
deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
|
|
368
|
-
renew: {
|
|
369
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
|
|
370
|
-
type: "customer_access_token";
|
|
371
|
-
access_token: string;
|
|
372
|
-
expires_at: string;
|
|
373
|
-
session_expires_at: string;
|
|
374
|
-
customer: {
|
|
375
|
-
id: string;
|
|
376
|
-
type: "identified" | "anonymous";
|
|
377
|
-
};
|
|
378
|
-
}>;
|
|
379
|
-
};
|
|
380
|
-
};
|
|
381
|
-
grantCodes: {
|
|
382
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
|
|
383
|
-
type: "customer_grant_code";
|
|
384
|
-
code: string;
|
|
385
|
-
customer_id: string;
|
|
386
|
-
expires_at: string;
|
|
387
|
-
hosted_url?: string;
|
|
388
|
-
}>;
|
|
389
|
-
};
|
|
390
|
-
};
|
|
391
372
|
block: {
|
|
392
373
|
create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
|
|
393
374
|
id: string;
|
|
@@ -519,7 +500,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
519
500
|
run_id: string | null;
|
|
520
501
|
message_id?: string;
|
|
521
502
|
} | {
|
|
522
|
-
full_access_available?: boolean;
|
|
523
503
|
id: string;
|
|
524
504
|
input: Types.AgentManaged197;
|
|
525
505
|
mcp_server_name: string;
|
|
@@ -529,6 +509,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
529
509
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
530
510
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
531
511
|
session_thread_id?: null | string;
|
|
512
|
+
permission_suggestions?: Array<{
|
|
513
|
+
type: "add_rules";
|
|
514
|
+
behavior: "allow";
|
|
515
|
+
destination: "agent" | "session";
|
|
516
|
+
rules: Array<{
|
|
517
|
+
tool_name: string;
|
|
518
|
+
rule_content: string;
|
|
519
|
+
}>;
|
|
520
|
+
}>;
|
|
521
|
+
full_access_available?: boolean;
|
|
522
|
+
user_once?: true;
|
|
523
|
+
guarded_rule?: string;
|
|
532
524
|
run_id: string | null;
|
|
533
525
|
_meta?: {
|
|
534
526
|
ui?: {
|
|
@@ -542,17 +534,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
542
534
|
};
|
|
543
535
|
source?: "app" | "codemode";
|
|
544
536
|
parent_tool_use_id?: string;
|
|
545
|
-
user_once?: true;
|
|
546
|
-
guarded_rule?: string;
|
|
547
|
-
permission_suggestions?: Array<{
|
|
548
|
-
type: "add_rules";
|
|
549
|
-
behavior: "allow";
|
|
550
|
-
destination: "agent" | "session";
|
|
551
|
-
rules: Array<{
|
|
552
|
-
tool_name: string;
|
|
553
|
-
rule_content: string;
|
|
554
|
-
}>;
|
|
555
|
-
}>;
|
|
556
537
|
title?: string;
|
|
557
538
|
input_titles?: {
|
|
558
539
|
[key: string]: string;
|
|
@@ -571,7 +552,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
571
552
|
};
|
|
572
553
|
source?: "app" | "codemode";
|
|
573
554
|
} | {
|
|
574
|
-
full_access_available?: boolean;
|
|
575
555
|
id: string;
|
|
576
556
|
input: Types.AgentManaged206;
|
|
577
557
|
name: string;
|
|
@@ -580,9 +560,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
580
560
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
581
561
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
582
562
|
session_thread_id?: null | string;
|
|
583
|
-
run_id: string | null;
|
|
584
|
-
user_once?: true;
|
|
585
|
-
guarded_rule?: string;
|
|
586
563
|
permission_suggestions?: Array<{
|
|
587
564
|
type: "add_rules";
|
|
588
565
|
behavior: "allow";
|
|
@@ -592,6 +569,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
592
569
|
rule_content: string;
|
|
593
570
|
}>;
|
|
594
571
|
}>;
|
|
572
|
+
full_access_available?: boolean;
|
|
573
|
+
user_once?: true;
|
|
574
|
+
guarded_rule?: string;
|
|
575
|
+
run_id: string | null;
|
|
595
576
|
} | {
|
|
596
577
|
id: string;
|
|
597
578
|
processed_at: string;
|
|
@@ -612,9 +593,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
612
593
|
type: "session.status_idle";
|
|
613
594
|
run_id: string | null;
|
|
614
595
|
} | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
|
|
615
|
-
permission_mode_version?: number;
|
|
616
|
-
previous_permission_mode?: string | null;
|
|
617
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
618
596
|
id: string;
|
|
619
597
|
processed_at: string;
|
|
620
598
|
type: "session.updated";
|
|
@@ -622,6 +600,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
622
600
|
budget?: null | Types.AgentManaged76;
|
|
623
601
|
metadata?: Types.AgentManaged246;
|
|
624
602
|
title?: null | string;
|
|
603
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
604
|
+
previous_permission_mode?: string | null;
|
|
605
|
+
permission_mode_version?: number;
|
|
625
606
|
model?: {
|
|
626
607
|
id: string;
|
|
627
608
|
};
|
|
@@ -631,6 +612,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
631
612
|
processed_at: string;
|
|
632
613
|
forked_from_session_id: string;
|
|
633
614
|
forked_from_message_id: string;
|
|
615
|
+
message_id?: string;
|
|
616
|
+
session_thread_id?: string | null;
|
|
634
617
|
} | {
|
|
635
618
|
id: string;
|
|
636
619
|
type: "session.goal_changed";
|
|
@@ -661,6 +644,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
661
644
|
created_at: number;
|
|
662
645
|
updated_at: number;
|
|
663
646
|
} | null;
|
|
647
|
+
message_id?: string;
|
|
648
|
+
session_thread_id?: string | null;
|
|
664
649
|
} | {
|
|
665
650
|
id: string;
|
|
666
651
|
type: "session.goal_verification";
|
|
@@ -675,26 +660,179 @@ export declare function createAgent(transport: Transport): {
|
|
|
675
660
|
reason: string;
|
|
676
661
|
next_action?: string;
|
|
677
662
|
};
|
|
663
|
+
message_id?: string;
|
|
664
|
+
session_thread_id?: string | null;
|
|
678
665
|
} | {
|
|
679
666
|
id: string;
|
|
680
667
|
type: "user.steer";
|
|
681
668
|
event_id: string;
|
|
682
669
|
processed_at: string;
|
|
670
|
+
message_id?: string;
|
|
671
|
+
session_thread_id?: string | null;
|
|
672
|
+
} | {
|
|
673
|
+
id: string;
|
|
674
|
+
type: "cognition.surfaced";
|
|
675
|
+
processed_at: string;
|
|
676
|
+
worker_session_id: string;
|
|
677
|
+
name: string;
|
|
678
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
679
|
+
experience_id?: string;
|
|
680
|
+
result?: {
|
|
681
|
+
message?: string;
|
|
682
|
+
links?: Array<string>;
|
|
683
|
+
files?: Array<{
|
|
684
|
+
name?: string;
|
|
685
|
+
href?: string;
|
|
686
|
+
}>;
|
|
687
|
+
held?: Array<{
|
|
688
|
+
id?: string;
|
|
689
|
+
summary?: string;
|
|
690
|
+
effect?: string;
|
|
691
|
+
method?: string;
|
|
692
|
+
path?: string;
|
|
693
|
+
expires_at?: string;
|
|
694
|
+
}>;
|
|
695
|
+
};
|
|
696
|
+
} | {
|
|
697
|
+
id: string;
|
|
698
|
+
type: "cognition.intention_woken";
|
|
699
|
+
processed_at: string;
|
|
700
|
+
node_id: string;
|
|
701
|
+
reason: "open_engram" | "assignment";
|
|
702
|
+
} | {
|
|
703
|
+
id: string;
|
|
704
|
+
type: "agent.operation_approval_requested";
|
|
705
|
+
processed_at: string;
|
|
706
|
+
approval_id: string;
|
|
707
|
+
operation_id: string;
|
|
708
|
+
effect: "outward" | "irreversible";
|
|
709
|
+
method: string;
|
|
710
|
+
path: string;
|
|
711
|
+
summary: string;
|
|
712
|
+
expires_at: string;
|
|
713
|
+
worker_session_id?: string;
|
|
714
|
+
worker_name?: string;
|
|
715
|
+
} | {
|
|
716
|
+
id: string;
|
|
717
|
+
type: "agent.operation_approval_decided";
|
|
718
|
+
processed_at: string;
|
|
719
|
+
approval_id: string;
|
|
720
|
+
status: "approved" | "refused" | "expired";
|
|
721
|
+
} | {
|
|
722
|
+
id: string;
|
|
723
|
+
type: "session.prompt_configuration_mismatch";
|
|
724
|
+
processed_at: string;
|
|
725
|
+
pinned_revision_id: string;
|
|
726
|
+
current_revision_id: string;
|
|
727
|
+
} | {
|
|
728
|
+
id: string;
|
|
729
|
+
type: "session.prompt_rev_changed";
|
|
730
|
+
processed_at: string;
|
|
731
|
+
config_revision_id: string;
|
|
732
|
+
changed: Array<{
|
|
733
|
+
name: string;
|
|
734
|
+
rev: string | null;
|
|
735
|
+
}>;
|
|
736
|
+
} | {
|
|
737
|
+
id: string;
|
|
738
|
+
type: "session.computer_tier";
|
|
739
|
+
processed_at: string;
|
|
740
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
741
|
+
tier: "light" | "heavy";
|
|
742
|
+
duration_ms: number;
|
|
743
|
+
error_code?: string;
|
|
744
|
+
status?: {
|
|
745
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
746
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
747
|
+
percent?: number;
|
|
748
|
+
files_done?: number;
|
|
749
|
+
files_total?: number;
|
|
750
|
+
idle_release_at?: number;
|
|
751
|
+
retry_at?: number;
|
|
752
|
+
epoch?: number;
|
|
753
|
+
heavy_instance?: string | null;
|
|
754
|
+
heavy_paused?: boolean;
|
|
755
|
+
};
|
|
756
|
+
} | {
|
|
757
|
+
id: string;
|
|
758
|
+
type: "agent.artifact_delivered";
|
|
759
|
+
processed_at: string;
|
|
760
|
+
artifact: {
|
|
761
|
+
object: "artifact";
|
|
762
|
+
id: string;
|
|
763
|
+
session_id: string;
|
|
764
|
+
run_id: string | null;
|
|
765
|
+
name: string;
|
|
766
|
+
version: number;
|
|
767
|
+
parts: Array<{
|
|
768
|
+
[key: string]: unknown;
|
|
769
|
+
}>;
|
|
770
|
+
source_hrefs: Array<string>;
|
|
771
|
+
create_time: string;
|
|
772
|
+
update_time: string;
|
|
773
|
+
};
|
|
683
774
|
} | {
|
|
684
775
|
id: string;
|
|
685
|
-
type: "
|
|
776
|
+
type: "agent.image_generation";
|
|
686
777
|
processed_at: string;
|
|
687
778
|
tool_use_id: string;
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
779
|
+
index: number;
|
|
780
|
+
total: number;
|
|
781
|
+
status: string;
|
|
782
|
+
mode?: string;
|
|
783
|
+
aspect?: string;
|
|
784
|
+
prompt?: string;
|
|
785
|
+
model?: string;
|
|
786
|
+
file_id?: string;
|
|
787
|
+
label?: string;
|
|
788
|
+
width?: number;
|
|
789
|
+
height?: number;
|
|
790
|
+
revised_prompt?: string;
|
|
791
|
+
source_labels?: Array<string>;
|
|
792
|
+
caption?: string;
|
|
793
|
+
slot?: number | null;
|
|
794
|
+
replaces?: string;
|
|
795
|
+
version?: number;
|
|
796
|
+
failure?: {
|
|
797
|
+
reason?: string;
|
|
691
798
|
};
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
799
|
+
} | {
|
|
800
|
+
id: string;
|
|
801
|
+
type: "session.image_labeled";
|
|
802
|
+
processed_at: string;
|
|
803
|
+
label: string;
|
|
804
|
+
file_id: string;
|
|
805
|
+
origin: "generated" | "uploaded";
|
|
806
|
+
filename: string;
|
|
807
|
+
tool_use_id?: string;
|
|
808
|
+
version?: number;
|
|
809
|
+
replaced_file_id?: string;
|
|
810
|
+
} | {
|
|
811
|
+
id: string;
|
|
812
|
+
type: "session.image_set_planned";
|
|
813
|
+
processed_at: string;
|
|
814
|
+
tool_use_id: string;
|
|
815
|
+
items: Array<unknown>;
|
|
816
|
+
title?: string;
|
|
817
|
+
} | {
|
|
818
|
+
id: string;
|
|
819
|
+
type: "session.project_attached";
|
|
820
|
+
processed_at: string;
|
|
821
|
+
project: {
|
|
822
|
+
id: string;
|
|
823
|
+
name: string;
|
|
824
|
+
path: string;
|
|
697
825
|
};
|
|
826
|
+
message_id?: string;
|
|
827
|
+
session_thread_id?: string | null;
|
|
828
|
+
} | {
|
|
829
|
+
id: string;
|
|
830
|
+
type: "session.project_detached";
|
|
831
|
+
processed_at: string;
|
|
832
|
+
project_id: string;
|
|
833
|
+
reason?: "project_removed";
|
|
834
|
+
message_id?: string;
|
|
835
|
+
session_thread_id?: string | null;
|
|
698
836
|
}>;
|
|
699
837
|
next_page: string | null;
|
|
700
838
|
}>;
|
|
@@ -715,21 +853,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
715
853
|
type: "user.steer";
|
|
716
854
|
event_id: string;
|
|
717
855
|
processed_at: string;
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
type: "user.tool_confirmation";
|
|
721
|
-
processed_at: string;
|
|
722
|
-
tool_use_id: string;
|
|
723
|
-
result: "allow";
|
|
724
|
-
answers: {
|
|
725
|
-
[key: string]: string;
|
|
726
|
-
};
|
|
727
|
-
annotations?: {
|
|
728
|
-
[key: string]: {
|
|
729
|
-
preview?: string;
|
|
730
|
-
notes?: string;
|
|
731
|
-
};
|
|
732
|
-
};
|
|
856
|
+
message_id?: string;
|
|
857
|
+
session_thread_id?: string | null;
|
|
733
858
|
}>;
|
|
734
859
|
}>;
|
|
735
860
|
stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -763,6 +888,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
763
888
|
speed?: "standard" | "fast";
|
|
764
889
|
settings?: {
|
|
765
890
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
891
|
+
max_output_tokens?: number;
|
|
766
892
|
};
|
|
767
893
|
};
|
|
768
894
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -783,10 +909,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
783
909
|
id: string;
|
|
784
910
|
} | null;
|
|
785
911
|
note: string | null;
|
|
912
|
+
deployments_behind: number | null;
|
|
786
913
|
bindings: Array<{
|
|
787
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
914
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
788
915
|
id: string;
|
|
789
916
|
access: "read_only" | "read_write" | "invoke";
|
|
917
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
790
918
|
instructions?: string;
|
|
791
919
|
readonly verified?: boolean;
|
|
792
920
|
enabled?: boolean;
|
|
@@ -795,7 +923,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
795
923
|
readonly verified?: boolean;
|
|
796
924
|
enabled?: boolean;
|
|
797
925
|
}>;
|
|
798
|
-
kind: "general" | "
|
|
926
|
+
kind: "general" | "service" | "assume";
|
|
927
|
+
computers?: {
|
|
928
|
+
default: string;
|
|
929
|
+
allowed: Array<{
|
|
930
|
+
template: string;
|
|
931
|
+
name: string;
|
|
932
|
+
}>;
|
|
933
|
+
};
|
|
799
934
|
computer_id?: string;
|
|
800
935
|
subagent_model?: string | null;
|
|
801
936
|
subagents?: Array<{
|
|
@@ -888,6 +1023,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
888
1023
|
allowManagedHooksOnly?: boolean;
|
|
889
1024
|
allowManagedMcpServersOnly?: boolean;
|
|
890
1025
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1026
|
+
idleCompaction?: boolean;
|
|
891
1027
|
autoMemoryEnabled?: boolean;
|
|
892
1028
|
disabled?: {
|
|
893
1029
|
subagents?: Array<string>;
|
|
@@ -896,7 +1032,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
896
1032
|
mcpServers?: Array<string>;
|
|
897
1033
|
hooks?: Array<string>;
|
|
898
1034
|
};
|
|
899
|
-
idleCompaction?: boolean;
|
|
900
1035
|
outputStyle?: string;
|
|
901
1036
|
} | null;
|
|
902
1037
|
models?: {
|
|
@@ -904,6 +1039,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
904
1039
|
};
|
|
905
1040
|
avatar: string | null;
|
|
906
1041
|
creation_source: string | null;
|
|
1042
|
+
managed_by: string | null;
|
|
907
1043
|
identity_number: string | null;
|
|
908
1044
|
environment_id?: string | null;
|
|
909
1045
|
vault_ids?: Array<string>;
|
|
@@ -917,6 +1053,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
917
1053
|
}>;
|
|
918
1054
|
next_page: string | null;
|
|
919
1055
|
}>;
|
|
1056
|
+
phone: {
|
|
1057
|
+
release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
|
|
1058
|
+
object: "agent_phone";
|
|
1059
|
+
agent_id: string;
|
|
1060
|
+
configured: boolean;
|
|
1061
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
1062
|
+
sku: string | null;
|
|
1063
|
+
byod_device: string | null;
|
|
1064
|
+
name: string | null;
|
|
1065
|
+
sandbox_id: string | null;
|
|
1066
|
+
lease_ends_at: string | null;
|
|
1067
|
+
archived_at: string | null;
|
|
1068
|
+
archive_error: string | null;
|
|
1069
|
+
}>;
|
|
1070
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
|
|
1071
|
+
object: "agent_phone";
|
|
1072
|
+
agent_id: string;
|
|
1073
|
+
configured: boolean;
|
|
1074
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
1075
|
+
sku: string | null;
|
|
1076
|
+
byod_device: string | null;
|
|
1077
|
+
name: string | null;
|
|
1078
|
+
sandbox_id: string | null;
|
|
1079
|
+
lease_ends_at: string | null;
|
|
1080
|
+
archived_at: string | null;
|
|
1081
|
+
archive_error: string | null;
|
|
1082
|
+
}>;
|
|
1083
|
+
};
|
|
920
1084
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
|
|
921
1085
|
id: string;
|
|
922
1086
|
archived_at: null | string;
|
|
@@ -931,6 +1095,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
931
1095
|
speed?: "standard" | "fast";
|
|
932
1096
|
settings?: {
|
|
933
1097
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1098
|
+
max_output_tokens?: number;
|
|
934
1099
|
};
|
|
935
1100
|
};
|
|
936
1101
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -952,10 +1117,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
952
1117
|
id: string;
|
|
953
1118
|
} | null;
|
|
954
1119
|
note: string | null;
|
|
1120
|
+
deployments_behind: number | null;
|
|
955
1121
|
bindings: Array<{
|
|
956
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1122
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
957
1123
|
id: string;
|
|
958
1124
|
access: "read_only" | "read_write" | "invoke";
|
|
1125
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
959
1126
|
instructions?: string;
|
|
960
1127
|
readonly verified?: boolean;
|
|
961
1128
|
enabled?: boolean;
|
|
@@ -964,7 +1131,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
964
1131
|
readonly verified?: boolean;
|
|
965
1132
|
enabled?: boolean;
|
|
966
1133
|
}>;
|
|
967
|
-
kind: "general" | "
|
|
1134
|
+
kind: "general" | "service" | "assume";
|
|
1135
|
+
computers?: {
|
|
1136
|
+
default: string;
|
|
1137
|
+
allowed: Array<{
|
|
1138
|
+
template: string;
|
|
1139
|
+
name: string;
|
|
1140
|
+
}>;
|
|
1141
|
+
};
|
|
968
1142
|
computer_id?: string;
|
|
969
1143
|
subagent_model?: string | null;
|
|
970
1144
|
subagents?: Array<{
|
|
@@ -1057,6 +1231,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1057
1231
|
allowManagedHooksOnly?: boolean;
|
|
1058
1232
|
allowManagedMcpServersOnly?: boolean;
|
|
1059
1233
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1234
|
+
idleCompaction?: boolean;
|
|
1060
1235
|
autoMemoryEnabled?: boolean;
|
|
1061
1236
|
disabled?: {
|
|
1062
1237
|
subagents?: Array<string>;
|
|
@@ -1065,7 +1240,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1065
1240
|
mcpServers?: Array<string>;
|
|
1066
1241
|
hooks?: Array<string>;
|
|
1067
1242
|
};
|
|
1068
|
-
idleCompaction?: boolean;
|
|
1069
1243
|
outputStyle?: string;
|
|
1070
1244
|
} | null;
|
|
1071
1245
|
models?: {
|
|
@@ -1073,6 +1247,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1073
1247
|
};
|
|
1074
1248
|
avatar: string | null;
|
|
1075
1249
|
creation_source: string | null;
|
|
1250
|
+
managed_by: string | null;
|
|
1076
1251
|
identity_number: string | null;
|
|
1077
1252
|
environment_id?: string | null;
|
|
1078
1253
|
vault_ids?: Array<string>;
|
|
@@ -1141,6 +1316,26 @@ export declare function createAgent(transport: Transport): {
|
|
|
1141
1316
|
history?: {
|
|
1142
1317
|
enabled?: boolean;
|
|
1143
1318
|
};
|
|
1319
|
+
uploads?: {
|
|
1320
|
+
enabled: boolean;
|
|
1321
|
+
max_file_bytes: number;
|
|
1322
|
+
max_files_per_session: number;
|
|
1323
|
+
};
|
|
1324
|
+
}>;
|
|
1325
|
+
retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
|
|
1326
|
+
allowed_origins: Array<string>;
|
|
1327
|
+
allow_localhost: boolean;
|
|
1328
|
+
uploads: {
|
|
1329
|
+
enabled: boolean;
|
|
1330
|
+
max_file_bytes: number;
|
|
1331
|
+
max_files_per_session: number;
|
|
1332
|
+
};
|
|
1333
|
+
share_links: {
|
|
1334
|
+
enabled: boolean;
|
|
1335
|
+
daily_session_cap: number | null;
|
|
1336
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1337
|
+
currency?: "USD" | "CNY" | null;
|
|
1338
|
+
};
|
|
1144
1339
|
}>;
|
|
1145
1340
|
unarchive: {
|
|
1146
1341
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
@@ -1194,6 +1389,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1194
1389
|
speed?: "standard" | "fast";
|
|
1195
1390
|
settings?: {
|
|
1196
1391
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1392
|
+
max_output_tokens?: number;
|
|
1197
1393
|
};
|
|
1198
1394
|
};
|
|
1199
1395
|
multiagent?: null | {
|
|
@@ -1380,10 +1576,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1380
1576
|
id: string;
|
|
1381
1577
|
} | null;
|
|
1382
1578
|
note: string | null;
|
|
1579
|
+
deployments_behind: number | null;
|
|
1383
1580
|
bindings: Array<{
|
|
1384
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1581
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1385
1582
|
id: string;
|
|
1386
1583
|
access: "read_only" | "read_write" | "invoke";
|
|
1584
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1387
1585
|
instructions?: string;
|
|
1388
1586
|
readonly verified?: boolean;
|
|
1389
1587
|
enabled?: boolean;
|
|
@@ -1392,7 +1590,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1392
1590
|
readonly verified?: boolean;
|
|
1393
1591
|
enabled?: boolean;
|
|
1394
1592
|
}>;
|
|
1395
|
-
kind: "general" | "
|
|
1593
|
+
kind: "general" | "service" | "assume";
|
|
1594
|
+
computers?: {
|
|
1595
|
+
default: string;
|
|
1596
|
+
allowed: Array<{
|
|
1597
|
+
template: string;
|
|
1598
|
+
name: string;
|
|
1599
|
+
}>;
|
|
1600
|
+
};
|
|
1396
1601
|
computer_id?: string;
|
|
1397
1602
|
subagent_model?: string | null;
|
|
1398
1603
|
subagents?: Array<{
|
|
@@ -1485,6 +1690,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1485
1690
|
allowManagedHooksOnly?: boolean;
|
|
1486
1691
|
allowManagedMcpServersOnly?: boolean;
|
|
1487
1692
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1693
|
+
idleCompaction?: boolean;
|
|
1488
1694
|
autoMemoryEnabled?: boolean;
|
|
1489
1695
|
disabled?: {
|
|
1490
1696
|
subagents?: Array<string>;
|
|
@@ -1493,7 +1699,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1493
1699
|
mcpServers?: Array<string>;
|
|
1494
1700
|
hooks?: Array<string>;
|
|
1495
1701
|
};
|
|
1496
|
-
idleCompaction?: boolean;
|
|
1497
1702
|
outputStyle?: string;
|
|
1498
1703
|
} | null;
|
|
1499
1704
|
models?: {
|
|
@@ -1501,6 +1706,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1501
1706
|
};
|
|
1502
1707
|
avatar: string | null;
|
|
1503
1708
|
creation_source: string | null;
|
|
1709
|
+
managed_by: string | null;
|
|
1504
1710
|
identity_number: string | null;
|
|
1505
1711
|
environment_id?: string | null;
|
|
1506
1712
|
vault_ids?: Array<string>;
|
|
@@ -1527,6 +1733,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1527
1733
|
speed?: "standard" | "fast";
|
|
1528
1734
|
settings?: {
|
|
1529
1735
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1736
|
+
max_output_tokens?: number;
|
|
1530
1737
|
};
|
|
1531
1738
|
};
|
|
1532
1739
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1548,10 +1755,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
1548
1755
|
id: string;
|
|
1549
1756
|
} | null;
|
|
1550
1757
|
note: string | null;
|
|
1758
|
+
deployments_behind: number | null;
|
|
1551
1759
|
bindings: Array<{
|
|
1552
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1760
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1553
1761
|
id: string;
|
|
1554
1762
|
access: "read_only" | "read_write" | "invoke";
|
|
1763
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1555
1764
|
instructions?: string;
|
|
1556
1765
|
readonly verified?: boolean;
|
|
1557
1766
|
enabled?: boolean;
|
|
@@ -1560,7 +1769,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1560
1769
|
readonly verified?: boolean;
|
|
1561
1770
|
enabled?: boolean;
|
|
1562
1771
|
}>;
|
|
1563
|
-
kind: "general" | "
|
|
1772
|
+
kind: "general" | "service" | "assume";
|
|
1773
|
+
computers?: {
|
|
1774
|
+
default: string;
|
|
1775
|
+
allowed: Array<{
|
|
1776
|
+
template: string;
|
|
1777
|
+
name: string;
|
|
1778
|
+
}>;
|
|
1779
|
+
};
|
|
1564
1780
|
computer_id?: string;
|
|
1565
1781
|
subagent_model?: string | null;
|
|
1566
1782
|
subagents?: Array<{
|
|
@@ -1653,6 +1869,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1653
1869
|
allowManagedHooksOnly?: boolean;
|
|
1654
1870
|
allowManagedMcpServersOnly?: boolean;
|
|
1655
1871
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1872
|
+
idleCompaction?: boolean;
|
|
1656
1873
|
autoMemoryEnabled?: boolean;
|
|
1657
1874
|
disabled?: {
|
|
1658
1875
|
subagents?: Array<string>;
|
|
@@ -1661,7 +1878,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1661
1878
|
mcpServers?: Array<string>;
|
|
1662
1879
|
hooks?: Array<string>;
|
|
1663
1880
|
};
|
|
1664
|
-
idleCompaction?: boolean;
|
|
1665
1881
|
outputStyle?: string;
|
|
1666
1882
|
} | null;
|
|
1667
1883
|
models?: {
|
|
@@ -1669,6 +1885,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1669
1885
|
};
|
|
1670
1886
|
avatar: string | null;
|
|
1671
1887
|
creation_source: string | null;
|
|
1888
|
+
managed_by: string | null;
|
|
1672
1889
|
identity_number: string | null;
|
|
1673
1890
|
environment_id?: string | null;
|
|
1674
1891
|
vault_ids?: Array<string>;
|
|
@@ -1680,55 +1897,282 @@ export declare function createAgent(transport: Transport): {
|
|
|
1680
1897
|
keep_coding_instructions?: boolean;
|
|
1681
1898
|
}> | null;
|
|
1682
1899
|
}>;
|
|
1900
|
+
updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
|
|
1901
|
+
allowed_origins: Array<string>;
|
|
1902
|
+
allow_localhost: boolean;
|
|
1903
|
+
uploads: {
|
|
1904
|
+
enabled: boolean;
|
|
1905
|
+
max_file_bytes: number;
|
|
1906
|
+
max_files_per_session: number;
|
|
1907
|
+
};
|
|
1908
|
+
share_links: {
|
|
1909
|
+
enabled: boolean;
|
|
1910
|
+
daily_session_cap: number | null;
|
|
1911
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1912
|
+
currency?: "USD" | "CNY" | null;
|
|
1913
|
+
};
|
|
1914
|
+
}>;
|
|
1683
1915
|
versions: {
|
|
1684
1916
|
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1685
1917
|
id: string;
|
|
1686
1918
|
archived_at: null | string;
|
|
1687
1919
|
created_at: string;
|
|
1688
1920
|
description: null | string;
|
|
1689
|
-
mcp_servers: Array<
|
|
1690
|
-
|
|
1921
|
+
mcp_servers: Array<{
|
|
1922
|
+
type: "url";
|
|
1923
|
+
name: string;
|
|
1924
|
+
url: string;
|
|
1925
|
+
headers?: {
|
|
1926
|
+
[key: string]: string;
|
|
1927
|
+
};
|
|
1928
|
+
timeout_ms?: number;
|
|
1929
|
+
} | {
|
|
1930
|
+
type: "sse";
|
|
1931
|
+
name: string;
|
|
1932
|
+
url: string;
|
|
1933
|
+
headers?: {
|
|
1934
|
+
[key: string]: string;
|
|
1935
|
+
};
|
|
1936
|
+
timeout_ms?: number;
|
|
1937
|
+
} | {
|
|
1938
|
+
type: "stdio";
|
|
1939
|
+
name: string;
|
|
1940
|
+
command: string;
|
|
1941
|
+
args?: Array<string>;
|
|
1942
|
+
env?: {
|
|
1943
|
+
[key: string]: string;
|
|
1944
|
+
};
|
|
1945
|
+
timeout_ms?: number;
|
|
1946
|
+
}>;
|
|
1947
|
+
metadata: {
|
|
1948
|
+
[key: string]: string;
|
|
1949
|
+
};
|
|
1691
1950
|
model?: {
|
|
1692
1951
|
id: string;
|
|
1693
|
-
effort?:
|
|
1952
|
+
effort?: {
|
|
1953
|
+
type: "low";
|
|
1954
|
+
} | {
|
|
1955
|
+
type: "medium";
|
|
1956
|
+
} | {
|
|
1957
|
+
type: "high";
|
|
1958
|
+
} | {
|
|
1959
|
+
type: "xhigh";
|
|
1960
|
+
} | {
|
|
1961
|
+
type: "max";
|
|
1962
|
+
};
|
|
1694
1963
|
inference_geo?: string;
|
|
1695
1964
|
speed?: "standard" | "fast";
|
|
1696
1965
|
settings?: {
|
|
1697
1966
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1967
|
+
max_output_tokens?: number;
|
|
1698
1968
|
};
|
|
1699
1969
|
};
|
|
1700
|
-
multiagent?: null |
|
|
1970
|
+
multiagent?: null | {
|
|
1971
|
+
agents: Array<{
|
|
1972
|
+
id: string;
|
|
1973
|
+
type: "agent";
|
|
1974
|
+
version: number;
|
|
1975
|
+
} | {
|
|
1976
|
+
model: string;
|
|
1977
|
+
type: "advisor";
|
|
1978
|
+
}>;
|
|
1979
|
+
type: "coordinator";
|
|
1980
|
+
};
|
|
1701
1981
|
name: string;
|
|
1702
|
-
skills: Array<
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
updated_at: string;
|
|
1707
|
-
version: number;
|
|
1708
|
-
latest_version?: number;
|
|
1709
|
-
active_version: number;
|
|
1710
|
-
created_by: {
|
|
1711
|
-
type: "user";
|
|
1712
|
-
id: string;
|
|
1713
|
-
name?: string;
|
|
1714
|
-
} | {
|
|
1715
|
-
type: "api_key";
|
|
1716
|
-
id: string;
|
|
1717
|
-
} | null;
|
|
1718
|
-
note: string | null;
|
|
1719
|
-
bindings: Array<{
|
|
1720
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1721
|
-
id: string;
|
|
1722
|
-
access: "read_only" | "read_write" | "invoke";
|
|
1723
|
-
instructions?: string;
|
|
1724
|
-
readonly verified?: boolean;
|
|
1725
|
-
enabled?: boolean;
|
|
1982
|
+
skills: Array<{
|
|
1983
|
+
skill_id: string;
|
|
1984
|
+
type: "anthropic";
|
|
1985
|
+
version: string;
|
|
1726
1986
|
} | {
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1987
|
+
skill_id: string;
|
|
1988
|
+
type: "custom";
|
|
1989
|
+
version: string;
|
|
1990
|
+
}>;
|
|
1991
|
+
system: null | string;
|
|
1992
|
+
tools: Array<{
|
|
1993
|
+
configs: Array<{
|
|
1994
|
+
enabled: boolean;
|
|
1995
|
+
name: "bash";
|
|
1996
|
+
permission_policy: {
|
|
1997
|
+
type: "always_allow";
|
|
1998
|
+
} | {
|
|
1999
|
+
type: "always_ask";
|
|
2000
|
+
} | {
|
|
2001
|
+
type: "auto";
|
|
2002
|
+
};
|
|
2003
|
+
type: "bash";
|
|
2004
|
+
} | {
|
|
2005
|
+
enabled: boolean;
|
|
2006
|
+
name: "edit";
|
|
2007
|
+
permission_policy: {
|
|
2008
|
+
type: "always_allow";
|
|
2009
|
+
} | {
|
|
2010
|
+
type: "always_ask";
|
|
2011
|
+
} | {
|
|
2012
|
+
type: "auto";
|
|
2013
|
+
};
|
|
2014
|
+
type: "edit";
|
|
2015
|
+
} | {
|
|
2016
|
+
enabled: boolean;
|
|
2017
|
+
name: "read";
|
|
2018
|
+
permission_policy: {
|
|
2019
|
+
type: "always_allow";
|
|
2020
|
+
} | {
|
|
2021
|
+
type: "always_ask";
|
|
2022
|
+
} | {
|
|
2023
|
+
type: "auto";
|
|
2024
|
+
};
|
|
2025
|
+
type: "read";
|
|
2026
|
+
} | {
|
|
2027
|
+
enabled: boolean;
|
|
2028
|
+
name: "write";
|
|
2029
|
+
permission_policy: {
|
|
2030
|
+
type: "always_allow";
|
|
2031
|
+
} | {
|
|
2032
|
+
type: "always_ask";
|
|
2033
|
+
} | {
|
|
2034
|
+
type: "auto";
|
|
2035
|
+
};
|
|
2036
|
+
type: "write";
|
|
2037
|
+
} | {
|
|
2038
|
+
enabled: boolean;
|
|
2039
|
+
name: "glob";
|
|
2040
|
+
permission_policy: {
|
|
2041
|
+
type: "always_allow";
|
|
2042
|
+
} | {
|
|
2043
|
+
type: "always_ask";
|
|
2044
|
+
} | {
|
|
2045
|
+
type: "auto";
|
|
2046
|
+
};
|
|
2047
|
+
type: "glob";
|
|
2048
|
+
} | {
|
|
2049
|
+
enabled: boolean;
|
|
2050
|
+
name: "grep";
|
|
2051
|
+
permission_policy: {
|
|
2052
|
+
type: "always_allow";
|
|
2053
|
+
} | {
|
|
2054
|
+
type: "always_ask";
|
|
2055
|
+
} | {
|
|
2056
|
+
type: "auto";
|
|
2057
|
+
};
|
|
2058
|
+
type: "grep";
|
|
2059
|
+
} | {
|
|
2060
|
+
enabled: boolean;
|
|
2061
|
+
name: "web_fetch";
|
|
2062
|
+
permission_policy: {
|
|
2063
|
+
type: "always_allow";
|
|
2064
|
+
} | {
|
|
2065
|
+
type: "always_ask";
|
|
2066
|
+
} | {
|
|
2067
|
+
type: "auto";
|
|
2068
|
+
};
|
|
2069
|
+
type: "web_fetch";
|
|
2070
|
+
allowed_domains?: Array<string>;
|
|
2071
|
+
blocked_domains?: Array<string>;
|
|
2072
|
+
max_content_tokens?: null | number;
|
|
2073
|
+
} | {
|
|
2074
|
+
enabled: boolean;
|
|
2075
|
+
name: "web_search";
|
|
2076
|
+
permission_policy: {
|
|
2077
|
+
type: "always_allow";
|
|
2078
|
+
} | {
|
|
2079
|
+
type: "always_ask";
|
|
2080
|
+
} | {
|
|
2081
|
+
type: "auto";
|
|
2082
|
+
};
|
|
2083
|
+
type: "web_search";
|
|
2084
|
+
allowed_domains?: Array<string>;
|
|
2085
|
+
blocked_domains?: Array<string>;
|
|
2086
|
+
user_location?: null | {
|
|
2087
|
+
type: "approximate";
|
|
2088
|
+
city?: null | string;
|
|
2089
|
+
country?: null | string;
|
|
2090
|
+
region?: null | string;
|
|
2091
|
+
timezone?: null | string;
|
|
2092
|
+
};
|
|
2093
|
+
} | {
|
|
2094
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
2095
|
+
enabled: boolean;
|
|
2096
|
+
permission_policy: {
|
|
2097
|
+
type: "always_allow" | "always_ask";
|
|
2098
|
+
};
|
|
2099
|
+
}>;
|
|
2100
|
+
default_config: {
|
|
2101
|
+
enabled: boolean;
|
|
2102
|
+
permission_policy: {
|
|
2103
|
+
type: "always_allow";
|
|
2104
|
+
} | {
|
|
2105
|
+
type: "always_ask";
|
|
2106
|
+
} | {
|
|
2107
|
+
type: "auto";
|
|
2108
|
+
};
|
|
2109
|
+
};
|
|
2110
|
+
type: "agent_toolset_20260401";
|
|
2111
|
+
} | {
|
|
2112
|
+
type: "mcp_toolset";
|
|
2113
|
+
mcp_server_name: string;
|
|
2114
|
+
default_config?: {
|
|
2115
|
+
enabled?: boolean | null;
|
|
2116
|
+
permission_policy?: null | {
|
|
2117
|
+
type: "always_allow" | "always_ask";
|
|
2118
|
+
};
|
|
2119
|
+
} | null;
|
|
2120
|
+
configs?: Array<{
|
|
2121
|
+
name: string;
|
|
2122
|
+
enabled?: boolean | null;
|
|
2123
|
+
permission_policy?: null | {
|
|
2124
|
+
type: "always_allow" | "always_ask";
|
|
2125
|
+
};
|
|
2126
|
+
}> | null;
|
|
2127
|
+
} | {
|
|
2128
|
+
description: string;
|
|
2129
|
+
input_schema: {
|
|
2130
|
+
type: "object";
|
|
2131
|
+
properties?: null | {
|
|
2132
|
+
[key: string]: unknown;
|
|
2133
|
+
};
|
|
2134
|
+
required?: null | Array<string>;
|
|
2135
|
+
[key: string]: unknown;
|
|
2136
|
+
};
|
|
2137
|
+
name: string;
|
|
2138
|
+
type: "custom";
|
|
2139
|
+
}>;
|
|
2140
|
+
type: "agent";
|
|
2141
|
+
updated_at: string;
|
|
2142
|
+
version: number;
|
|
2143
|
+
latest_version?: number;
|
|
2144
|
+
active_version: number;
|
|
2145
|
+
created_by: {
|
|
2146
|
+
type: "user";
|
|
2147
|
+
id: string;
|
|
2148
|
+
name?: string;
|
|
2149
|
+
} | {
|
|
2150
|
+
type: "api_key";
|
|
2151
|
+
id: string;
|
|
2152
|
+
} | null;
|
|
2153
|
+
note: string | null;
|
|
2154
|
+
deployments_behind: number | null;
|
|
2155
|
+
bindings: Array<{
|
|
2156
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
2157
|
+
id: string;
|
|
2158
|
+
access: "read_only" | "read_write" | "invoke";
|
|
2159
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
2160
|
+
instructions?: string;
|
|
2161
|
+
readonly verified?: boolean;
|
|
2162
|
+
enabled?: boolean;
|
|
2163
|
+
} | {
|
|
2164
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
2165
|
+
readonly verified?: boolean;
|
|
2166
|
+
enabled?: boolean;
|
|
1730
2167
|
}>;
|
|
1731
|
-
kind: "general" | "
|
|
2168
|
+
kind: "general" | "service" | "assume";
|
|
2169
|
+
computers?: {
|
|
2170
|
+
default: string;
|
|
2171
|
+
allowed: Array<{
|
|
2172
|
+
template: string;
|
|
2173
|
+
name: string;
|
|
2174
|
+
}>;
|
|
2175
|
+
};
|
|
1732
2176
|
computer_id?: string;
|
|
1733
2177
|
subagent_model?: string | null;
|
|
1734
2178
|
subagents?: Array<{
|
|
@@ -1821,6 +2265,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1821
2265
|
allowManagedHooksOnly?: boolean;
|
|
1822
2266
|
allowManagedMcpServersOnly?: boolean;
|
|
1823
2267
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2268
|
+
idleCompaction?: boolean;
|
|
1824
2269
|
autoMemoryEnabled?: boolean;
|
|
1825
2270
|
disabled?: {
|
|
1826
2271
|
subagents?: Array<string>;
|
|
@@ -1829,7 +2274,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1829
2274
|
mcpServers?: Array<string>;
|
|
1830
2275
|
hooks?: Array<string>;
|
|
1831
2276
|
};
|
|
1832
|
-
idleCompaction?: boolean;
|
|
1833
2277
|
outputStyle?: string;
|
|
1834
2278
|
} | null;
|
|
1835
2279
|
models?: {
|
|
@@ -1837,6 +2281,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1837
2281
|
};
|
|
1838
2282
|
avatar: string | null;
|
|
1839
2283
|
creation_source: string | null;
|
|
2284
|
+
managed_by: string | null;
|
|
1840
2285
|
identity_number: string | null;
|
|
1841
2286
|
environment_id?: string | null;
|
|
1842
2287
|
vault_ids?: Array<string>;
|
|
@@ -1863,6 +2308,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1863
2308
|
speed?: "standard" | "fast";
|
|
1864
2309
|
settings?: {
|
|
1865
2310
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2311
|
+
max_output_tokens?: number;
|
|
1866
2312
|
};
|
|
1867
2313
|
};
|
|
1868
2314
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1885,9 +2331,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
1885
2331
|
} | null;
|
|
1886
2332
|
note: string | null;
|
|
1887
2333
|
bindings: Array<{
|
|
1888
|
-
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
2334
|
+
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script" | "repository" | "browser_context";
|
|
1889
2335
|
id: string;
|
|
1890
2336
|
access: "read_only" | "read_write" | "invoke";
|
|
2337
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1891
2338
|
instructions?: string;
|
|
1892
2339
|
readonly verified?: boolean;
|
|
1893
2340
|
enabled?: boolean;
|
|
@@ -1896,7 +2343,14 @@ export declare function createAgent(transport: Transport): {
|
|
|
1896
2343
|
readonly verified?: boolean;
|
|
1897
2344
|
enabled?: boolean;
|
|
1898
2345
|
}>;
|
|
1899
|
-
kind: "general" | "
|
|
2346
|
+
kind: "general" | "service" | "assume";
|
|
2347
|
+
computers?: {
|
|
2348
|
+
default: string;
|
|
2349
|
+
allowed: Array<{
|
|
2350
|
+
template: string;
|
|
2351
|
+
name: string;
|
|
2352
|
+
}>;
|
|
2353
|
+
};
|
|
1900
2354
|
computer_id?: string;
|
|
1901
2355
|
subagent_model?: string | null;
|
|
1902
2356
|
subagents?: Array<{
|
|
@@ -1989,6 +2443,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1989
2443
|
allowManagedHooksOnly?: boolean;
|
|
1990
2444
|
allowManagedMcpServersOnly?: boolean;
|
|
1991
2445
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2446
|
+
idleCompaction?: boolean;
|
|
1992
2447
|
autoMemoryEnabled?: boolean;
|
|
1993
2448
|
disabled?: {
|
|
1994
2449
|
subagents?: Array<string>;
|
|
@@ -1997,7 +2452,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1997
2452
|
mcpServers?: Array<string>;
|
|
1998
2453
|
hooks?: Array<string>;
|
|
1999
2454
|
};
|
|
2000
|
-
idleCompaction?: boolean;
|
|
2001
2455
|
outputStyle?: string;
|
|
2002
2456
|
} | null;
|
|
2003
2457
|
models?: {
|
|
@@ -2005,6 +2459,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2005
2459
|
};
|
|
2006
2460
|
avatar: string | null;
|
|
2007
2461
|
creation_source: string | null;
|
|
2462
|
+
managed_by: string | null;
|
|
2008
2463
|
identity_number: string | null;
|
|
2009
2464
|
environment_id?: string | null;
|
|
2010
2465
|
vault_ids?: Array<string>;
|
|
@@ -2092,6 +2547,24 @@ export declare function createAgent(transport: Transport): {
|
|
|
2092
2547
|
tier: "light" | "heavy";
|
|
2093
2548
|
}>;
|
|
2094
2549
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
2550
|
+
retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
|
|
2551
|
+
variant: "image" | "pdf" | "text" | "original";
|
|
2552
|
+
version?: string;
|
|
2553
|
+
mime_type?: string;
|
|
2554
|
+
size?: number;
|
|
2555
|
+
file_id?: string;
|
|
2556
|
+
url?: string;
|
|
2557
|
+
expires_at?: string;
|
|
2558
|
+
cached: boolean;
|
|
2559
|
+
fallback?: "content";
|
|
2560
|
+
skipped?: boolean;
|
|
2561
|
+
}>;
|
|
2562
|
+
updateContent: (options: import("./core/transport.js").CallOptions<Types.UpdateComputerFileContentData>) => Promise<{
|
|
2563
|
+
path: string;
|
|
2564
|
+
size: number;
|
|
2565
|
+
mtime: string | null;
|
|
2566
|
+
version: string;
|
|
2567
|
+
}>;
|
|
2095
2568
|
};
|
|
2096
2569
|
leases: {
|
|
2097
2570
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -2165,6 +2638,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2165
2638
|
id: string;
|
|
2166
2639
|
type: "agent";
|
|
2167
2640
|
version: number;
|
|
2641
|
+
pinned_version?: number | null;
|
|
2642
|
+
active_version?: number | null;
|
|
2168
2643
|
} | {
|
|
2169
2644
|
id: string;
|
|
2170
2645
|
type: "agent_with_overrides";
|
|
@@ -2202,6 +2677,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2202
2677
|
id: string;
|
|
2203
2678
|
type: "agent";
|
|
2204
2679
|
version: number;
|
|
2680
|
+
pinned_version?: number | null;
|
|
2681
|
+
active_version?: number | null;
|
|
2205
2682
|
} | {
|
|
2206
2683
|
id: string;
|
|
2207
2684
|
type: "agent_with_overrides";
|
|
@@ -2240,6 +2717,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2240
2717
|
id: string;
|
|
2241
2718
|
type: "agent";
|
|
2242
2719
|
version: number;
|
|
2720
|
+
pinned_version?: number | null;
|
|
2721
|
+
active_version?: number | null;
|
|
2243
2722
|
} | {
|
|
2244
2723
|
id: string;
|
|
2245
2724
|
type: "agent_with_overrides";
|
|
@@ -2279,6 +2758,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2279
2758
|
id: string;
|
|
2280
2759
|
type: "agent";
|
|
2281
2760
|
version: number;
|
|
2761
|
+
pinned_version?: number | null;
|
|
2762
|
+
active_version?: number | null;
|
|
2282
2763
|
} | {
|
|
2283
2764
|
id: string;
|
|
2284
2765
|
type: "agent_with_overrides";
|
|
@@ -2316,6 +2797,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2316
2797
|
id: string;
|
|
2317
2798
|
type: "agent";
|
|
2318
2799
|
version: number;
|
|
2800
|
+
pinned_version?: number | null;
|
|
2801
|
+
active_version?: number | null;
|
|
2319
2802
|
} | {
|
|
2320
2803
|
id: string;
|
|
2321
2804
|
type: "agent_with_overrides";
|
|
@@ -2357,6 +2840,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2357
2840
|
id: string;
|
|
2358
2841
|
type: "agent";
|
|
2359
2842
|
version: number;
|
|
2843
|
+
pinned_version?: number | null;
|
|
2844
|
+
active_version?: number | null;
|
|
2360
2845
|
} | {
|
|
2361
2846
|
id: string;
|
|
2362
2847
|
type: "agent_with_overrides";
|
|
@@ -2395,6 +2880,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2395
2880
|
id: string;
|
|
2396
2881
|
type: "agent";
|
|
2397
2882
|
version: number;
|
|
2883
|
+
pinned_version?: number | null;
|
|
2884
|
+
active_version?: number | null;
|
|
2398
2885
|
} | {
|
|
2399
2886
|
id: string;
|
|
2400
2887
|
type: "agent_with_overrides";
|
|
@@ -2437,46 +2924,595 @@ export declare function createAgent(transport: Transport): {
|
|
|
2437
2924
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsRetrieveData>) => Promise<Types.AgentManaged138>;
|
|
2438
2925
|
update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
|
|
2439
2926
|
};
|
|
2927
|
+
loginIntents: {
|
|
2928
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateAgentLoginIntentData> | undefined) => Promise<{
|
|
2929
|
+
code: string;
|
|
2930
|
+
expires_at: string;
|
|
2931
|
+
}>;
|
|
2932
|
+
};
|
|
2440
2933
|
sessions: {
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
agent: {
|
|
2934
|
+
agentVersion: {
|
|
2935
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
|
|
2444
2936
|
id: string;
|
|
2445
|
-
|
|
2446
|
-
mcp_servers: Array<Types.AgentManaged36>;
|
|
2447
|
-
model: {
|
|
2937
|
+
agent: {
|
|
2448
2938
|
id: string;
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2939
|
+
description: null | string;
|
|
2940
|
+
mcp_servers: Array<{
|
|
2941
|
+
type: "url";
|
|
2942
|
+
name: string;
|
|
2943
|
+
url: string;
|
|
2944
|
+
headers?: {
|
|
2945
|
+
[key: string]: string;
|
|
2946
|
+
};
|
|
2947
|
+
timeout_ms?: number;
|
|
2948
|
+
} | {
|
|
2949
|
+
type: "sse";
|
|
2950
|
+
name: string;
|
|
2951
|
+
url: string;
|
|
2952
|
+
headers?: {
|
|
2953
|
+
[key: string]: string;
|
|
2954
|
+
};
|
|
2955
|
+
timeout_ms?: number;
|
|
2956
|
+
} | {
|
|
2957
|
+
type: "stdio";
|
|
2958
|
+
name: string;
|
|
2959
|
+
command: string;
|
|
2960
|
+
args?: Array<string>;
|
|
2961
|
+
env?: {
|
|
2962
|
+
[key: string]: string;
|
|
2963
|
+
};
|
|
2964
|
+
timeout_ms?: number;
|
|
2965
|
+
}>;
|
|
2966
|
+
model: {
|
|
2967
|
+
id: string;
|
|
2968
|
+
effort?: {
|
|
2969
|
+
type: "low";
|
|
2970
|
+
} | {
|
|
2971
|
+
type: "medium";
|
|
2972
|
+
} | {
|
|
2973
|
+
type: "high";
|
|
2974
|
+
} | {
|
|
2975
|
+
type: "xhigh";
|
|
2976
|
+
} | {
|
|
2977
|
+
type: "max";
|
|
2978
|
+
};
|
|
2979
|
+
inference_geo?: string;
|
|
2980
|
+
speed?: "standard" | "fast";
|
|
2981
|
+
settings?: {
|
|
2982
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2983
|
+
max_output_tokens?: number;
|
|
2984
|
+
};
|
|
2454
2985
|
};
|
|
2455
|
-
|
|
2456
|
-
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2463
|
-
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2986
|
+
multiagent: null | {
|
|
2987
|
+
agents: Array<{
|
|
2988
|
+
model: string;
|
|
2989
|
+
type: "advisor";
|
|
2990
|
+
} | {
|
|
2991
|
+
id: string;
|
|
2992
|
+
description: null | string;
|
|
2993
|
+
mcp_servers: Array<{
|
|
2994
|
+
type: "url";
|
|
2995
|
+
name: string;
|
|
2996
|
+
url: string;
|
|
2997
|
+
headers?: {
|
|
2998
|
+
[key: string]: string;
|
|
2999
|
+
};
|
|
3000
|
+
timeout_ms?: number;
|
|
3001
|
+
} | {
|
|
3002
|
+
type: "sse";
|
|
3003
|
+
name: string;
|
|
3004
|
+
url: string;
|
|
3005
|
+
headers?: {
|
|
3006
|
+
[key: string]: string;
|
|
3007
|
+
};
|
|
3008
|
+
timeout_ms?: number;
|
|
3009
|
+
} | {
|
|
3010
|
+
type: "stdio";
|
|
3011
|
+
name: string;
|
|
3012
|
+
command: string;
|
|
3013
|
+
args?: Array<string>;
|
|
3014
|
+
env?: {
|
|
3015
|
+
[key: string]: string;
|
|
3016
|
+
};
|
|
3017
|
+
timeout_ms?: number;
|
|
3018
|
+
}>;
|
|
3019
|
+
model: {
|
|
3020
|
+
id: string;
|
|
3021
|
+
effort?: {
|
|
3022
|
+
type: "low";
|
|
3023
|
+
} | {
|
|
3024
|
+
type: "medium";
|
|
3025
|
+
} | {
|
|
3026
|
+
type: "high";
|
|
3027
|
+
} | {
|
|
3028
|
+
type: "xhigh";
|
|
3029
|
+
} | {
|
|
3030
|
+
type: "max";
|
|
3031
|
+
};
|
|
3032
|
+
inference_geo?: string;
|
|
3033
|
+
speed?: "standard" | "fast";
|
|
3034
|
+
};
|
|
3035
|
+
name: string;
|
|
3036
|
+
skills: Array<{
|
|
3037
|
+
skill_id: string;
|
|
3038
|
+
type: "anthropic";
|
|
3039
|
+
version: string;
|
|
3040
|
+
} | {
|
|
3041
|
+
skill_id: string;
|
|
3042
|
+
type: "custom";
|
|
3043
|
+
version: string;
|
|
3044
|
+
}>;
|
|
3045
|
+
system: null | string;
|
|
3046
|
+
tools: Array<{
|
|
3047
|
+
configs: Array<{
|
|
3048
|
+
enabled: boolean;
|
|
3049
|
+
name: "bash";
|
|
3050
|
+
permission_policy: {
|
|
3051
|
+
type: "always_allow";
|
|
3052
|
+
} | {
|
|
3053
|
+
type: "always_ask";
|
|
3054
|
+
} | {
|
|
3055
|
+
type: "auto";
|
|
3056
|
+
};
|
|
3057
|
+
type: "bash";
|
|
3058
|
+
} | {
|
|
3059
|
+
enabled: boolean;
|
|
3060
|
+
name: "edit";
|
|
3061
|
+
permission_policy: {
|
|
3062
|
+
type: "always_allow";
|
|
3063
|
+
} | {
|
|
3064
|
+
type: "always_ask";
|
|
3065
|
+
} | {
|
|
3066
|
+
type: "auto";
|
|
3067
|
+
};
|
|
3068
|
+
type: "edit";
|
|
3069
|
+
} | {
|
|
3070
|
+
enabled: boolean;
|
|
3071
|
+
name: "read";
|
|
3072
|
+
permission_policy: {
|
|
3073
|
+
type: "always_allow";
|
|
3074
|
+
} | {
|
|
3075
|
+
type: "always_ask";
|
|
3076
|
+
} | {
|
|
3077
|
+
type: "auto";
|
|
3078
|
+
};
|
|
3079
|
+
type: "read";
|
|
3080
|
+
} | {
|
|
3081
|
+
enabled: boolean;
|
|
3082
|
+
name: "write";
|
|
3083
|
+
permission_policy: {
|
|
3084
|
+
type: "always_allow";
|
|
3085
|
+
} | {
|
|
3086
|
+
type: "always_ask";
|
|
3087
|
+
} | {
|
|
3088
|
+
type: "auto";
|
|
3089
|
+
};
|
|
3090
|
+
type: "write";
|
|
3091
|
+
} | {
|
|
3092
|
+
enabled: boolean;
|
|
3093
|
+
name: "glob";
|
|
3094
|
+
permission_policy: {
|
|
3095
|
+
type: "always_allow";
|
|
3096
|
+
} | {
|
|
3097
|
+
type: "always_ask";
|
|
3098
|
+
} | {
|
|
3099
|
+
type: "auto";
|
|
3100
|
+
};
|
|
3101
|
+
type: "glob";
|
|
3102
|
+
} | {
|
|
3103
|
+
enabled: boolean;
|
|
3104
|
+
name: "grep";
|
|
3105
|
+
permission_policy: {
|
|
3106
|
+
type: "always_allow";
|
|
3107
|
+
} | {
|
|
3108
|
+
type: "always_ask";
|
|
3109
|
+
} | {
|
|
3110
|
+
type: "auto";
|
|
3111
|
+
};
|
|
3112
|
+
type: "grep";
|
|
3113
|
+
} | {
|
|
3114
|
+
enabled: boolean;
|
|
3115
|
+
name: "web_fetch";
|
|
3116
|
+
permission_policy: {
|
|
3117
|
+
type: "always_allow";
|
|
3118
|
+
} | {
|
|
3119
|
+
type: "always_ask";
|
|
3120
|
+
} | {
|
|
3121
|
+
type: "auto";
|
|
3122
|
+
};
|
|
3123
|
+
type: "web_fetch";
|
|
3124
|
+
allowed_domains?: Array<string>;
|
|
3125
|
+
blocked_domains?: Array<string>;
|
|
3126
|
+
max_content_tokens?: null | number;
|
|
3127
|
+
} | {
|
|
3128
|
+
enabled: boolean;
|
|
3129
|
+
name: "web_search";
|
|
3130
|
+
permission_policy: {
|
|
3131
|
+
type: "always_allow";
|
|
3132
|
+
} | {
|
|
3133
|
+
type: "always_ask";
|
|
3134
|
+
} | {
|
|
3135
|
+
type: "auto";
|
|
3136
|
+
};
|
|
3137
|
+
type: "web_search";
|
|
3138
|
+
allowed_domains?: Array<string>;
|
|
3139
|
+
blocked_domains?: Array<string>;
|
|
3140
|
+
user_location?: null | {
|
|
3141
|
+
type: "approximate";
|
|
3142
|
+
city?: null | string;
|
|
3143
|
+
country?: null | string;
|
|
3144
|
+
region?: null | string;
|
|
3145
|
+
timezone?: null | string;
|
|
3146
|
+
};
|
|
3147
|
+
} | {
|
|
3148
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
3149
|
+
enabled: boolean;
|
|
3150
|
+
permission_policy: {
|
|
3151
|
+
type: "always_allow" | "always_ask";
|
|
3152
|
+
};
|
|
3153
|
+
}>;
|
|
3154
|
+
default_config: {
|
|
3155
|
+
enabled: boolean;
|
|
3156
|
+
permission_policy: {
|
|
3157
|
+
type: "always_allow";
|
|
3158
|
+
} | {
|
|
3159
|
+
type: "always_ask";
|
|
3160
|
+
} | {
|
|
3161
|
+
type: "auto";
|
|
3162
|
+
};
|
|
3163
|
+
};
|
|
3164
|
+
type: "agent_toolset_20260401";
|
|
3165
|
+
} | {
|
|
3166
|
+
type: "mcp_toolset";
|
|
3167
|
+
mcp_server_name: string;
|
|
3168
|
+
default_config?: {
|
|
3169
|
+
enabled?: boolean | null;
|
|
3170
|
+
permission_policy?: null | {
|
|
3171
|
+
type: "always_allow" | "always_ask";
|
|
3172
|
+
};
|
|
3173
|
+
} | null;
|
|
3174
|
+
configs?: Array<{
|
|
3175
|
+
name: string;
|
|
3176
|
+
enabled?: boolean | null;
|
|
3177
|
+
permission_policy?: null | {
|
|
3178
|
+
type: "always_allow" | "always_ask";
|
|
3179
|
+
};
|
|
3180
|
+
}> | null;
|
|
3181
|
+
} | {
|
|
3182
|
+
description: string;
|
|
3183
|
+
input_schema: {
|
|
3184
|
+
type: "object";
|
|
3185
|
+
properties?: null | {
|
|
3186
|
+
[key: string]: unknown;
|
|
3187
|
+
};
|
|
3188
|
+
required?: null | Array<string>;
|
|
3189
|
+
[key: string]: unknown;
|
|
3190
|
+
};
|
|
3191
|
+
name: string;
|
|
3192
|
+
type: "custom";
|
|
3193
|
+
}>;
|
|
3194
|
+
type: "agent";
|
|
3195
|
+
version: number;
|
|
3196
|
+
}>;
|
|
3197
|
+
type: "coordinator";
|
|
3198
|
+
};
|
|
3199
|
+
name: string;
|
|
3200
|
+
skills: Array<{
|
|
3201
|
+
skill_id: string;
|
|
3202
|
+
type: "anthropic";
|
|
3203
|
+
version: string;
|
|
3204
|
+
} | {
|
|
3205
|
+
skill_id: string;
|
|
3206
|
+
type: "custom";
|
|
3207
|
+
version: string;
|
|
3208
|
+
}>;
|
|
3209
|
+
system: null | string;
|
|
3210
|
+
tools: Array<{
|
|
3211
|
+
configs: Array<{
|
|
3212
|
+
enabled: boolean;
|
|
3213
|
+
name: "bash";
|
|
3214
|
+
permission_policy: {
|
|
3215
|
+
type: "always_allow";
|
|
3216
|
+
} | {
|
|
3217
|
+
type: "always_ask";
|
|
3218
|
+
} | {
|
|
3219
|
+
type: "auto";
|
|
3220
|
+
};
|
|
3221
|
+
type: "bash";
|
|
3222
|
+
} | {
|
|
3223
|
+
enabled: boolean;
|
|
3224
|
+
name: "edit";
|
|
3225
|
+
permission_policy: {
|
|
3226
|
+
type: "always_allow";
|
|
3227
|
+
} | {
|
|
3228
|
+
type: "always_ask";
|
|
3229
|
+
} | {
|
|
3230
|
+
type: "auto";
|
|
3231
|
+
};
|
|
3232
|
+
type: "edit";
|
|
3233
|
+
} | {
|
|
3234
|
+
enabled: boolean;
|
|
3235
|
+
name: "read";
|
|
3236
|
+
permission_policy: {
|
|
3237
|
+
type: "always_allow";
|
|
3238
|
+
} | {
|
|
3239
|
+
type: "always_ask";
|
|
3240
|
+
} | {
|
|
3241
|
+
type: "auto";
|
|
3242
|
+
};
|
|
3243
|
+
type: "read";
|
|
3244
|
+
} | {
|
|
3245
|
+
enabled: boolean;
|
|
3246
|
+
name: "write";
|
|
3247
|
+
permission_policy: {
|
|
3248
|
+
type: "always_allow";
|
|
3249
|
+
} | {
|
|
3250
|
+
type: "always_ask";
|
|
3251
|
+
} | {
|
|
3252
|
+
type: "auto";
|
|
3253
|
+
};
|
|
3254
|
+
type: "write";
|
|
3255
|
+
} | {
|
|
3256
|
+
enabled: boolean;
|
|
3257
|
+
name: "glob";
|
|
3258
|
+
permission_policy: {
|
|
3259
|
+
type: "always_allow";
|
|
3260
|
+
} | {
|
|
3261
|
+
type: "always_ask";
|
|
3262
|
+
} | {
|
|
3263
|
+
type: "auto";
|
|
3264
|
+
};
|
|
3265
|
+
type: "glob";
|
|
3266
|
+
} | {
|
|
3267
|
+
enabled: boolean;
|
|
3268
|
+
name: "grep";
|
|
3269
|
+
permission_policy: {
|
|
3270
|
+
type: "always_allow";
|
|
3271
|
+
} | {
|
|
3272
|
+
type: "always_ask";
|
|
3273
|
+
} | {
|
|
3274
|
+
type: "auto";
|
|
3275
|
+
};
|
|
3276
|
+
type: "grep";
|
|
3277
|
+
} | {
|
|
3278
|
+
enabled: boolean;
|
|
3279
|
+
name: "web_fetch";
|
|
3280
|
+
permission_policy: {
|
|
3281
|
+
type: "always_allow";
|
|
3282
|
+
} | {
|
|
3283
|
+
type: "always_ask";
|
|
3284
|
+
} | {
|
|
3285
|
+
type: "auto";
|
|
3286
|
+
};
|
|
3287
|
+
type: "web_fetch";
|
|
3288
|
+
allowed_domains?: Array<string>;
|
|
3289
|
+
blocked_domains?: Array<string>;
|
|
3290
|
+
max_content_tokens?: null | number;
|
|
3291
|
+
} | {
|
|
3292
|
+
enabled: boolean;
|
|
3293
|
+
name: "web_search";
|
|
3294
|
+
permission_policy: {
|
|
3295
|
+
type: "always_allow";
|
|
3296
|
+
} | {
|
|
3297
|
+
type: "always_ask";
|
|
3298
|
+
} | {
|
|
3299
|
+
type: "auto";
|
|
3300
|
+
};
|
|
3301
|
+
type: "web_search";
|
|
3302
|
+
allowed_domains?: Array<string>;
|
|
3303
|
+
blocked_domains?: Array<string>;
|
|
3304
|
+
user_location?: null | {
|
|
3305
|
+
type: "approximate";
|
|
3306
|
+
city?: null | string;
|
|
3307
|
+
country?: null | string;
|
|
3308
|
+
region?: null | string;
|
|
3309
|
+
timezone?: null | string;
|
|
3310
|
+
};
|
|
3311
|
+
} | {
|
|
3312
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
3313
|
+
enabled: boolean;
|
|
3314
|
+
permission_policy: {
|
|
3315
|
+
type: "always_allow" | "always_ask";
|
|
3316
|
+
};
|
|
3317
|
+
}>;
|
|
3318
|
+
default_config: {
|
|
3319
|
+
enabled: boolean;
|
|
3320
|
+
permission_policy: {
|
|
3321
|
+
type: "always_allow";
|
|
3322
|
+
} | {
|
|
3323
|
+
type: "always_ask";
|
|
3324
|
+
} | {
|
|
3325
|
+
type: "auto";
|
|
3326
|
+
};
|
|
3327
|
+
};
|
|
3328
|
+
type: "agent_toolset_20260401";
|
|
3329
|
+
} | {
|
|
3330
|
+
type: "mcp_toolset";
|
|
3331
|
+
mcp_server_name: string;
|
|
3332
|
+
default_config?: {
|
|
3333
|
+
enabled?: boolean | null;
|
|
3334
|
+
permission_policy?: null | {
|
|
3335
|
+
type: "always_allow" | "always_ask";
|
|
3336
|
+
};
|
|
3337
|
+
} | null;
|
|
3338
|
+
configs?: Array<{
|
|
3339
|
+
name: string;
|
|
3340
|
+
enabled?: boolean | null;
|
|
3341
|
+
permission_policy?: null | {
|
|
3342
|
+
type: "always_allow" | "always_ask";
|
|
3343
|
+
};
|
|
3344
|
+
}> | null;
|
|
3345
|
+
} | {
|
|
3346
|
+
description: string;
|
|
3347
|
+
input_schema: {
|
|
3348
|
+
type: "object";
|
|
3349
|
+
properties?: null | {
|
|
3350
|
+
[key: string]: unknown;
|
|
3351
|
+
};
|
|
3352
|
+
required?: null | Array<string>;
|
|
3353
|
+
[key: string]: unknown;
|
|
3354
|
+
};
|
|
3355
|
+
name: string;
|
|
3356
|
+
type: "custom";
|
|
3357
|
+
}>;
|
|
3358
|
+
type: "agent";
|
|
3359
|
+
version: number;
|
|
3360
|
+
};
|
|
3361
|
+
archived_at: null | string;
|
|
3362
|
+
budget: null | {
|
|
3363
|
+
max_list_cost: {
|
|
3364
|
+
amount: string;
|
|
3365
|
+
currency: "USD";
|
|
3366
|
+
};
|
|
3367
|
+
type: "limit";
|
|
3368
|
+
};
|
|
3369
|
+
created_at: string;
|
|
3370
|
+
environment_id?: string;
|
|
3371
|
+
metadata: {
|
|
3372
|
+
[key: string]: string;
|
|
3373
|
+
};
|
|
3374
|
+
outcome_evaluations: Array<{
|
|
3375
|
+
completed_at: null | string;
|
|
3376
|
+
description: string;
|
|
3377
|
+
explanation: null | string;
|
|
3378
|
+
iteration: number;
|
|
3379
|
+
outcome_id: string;
|
|
3380
|
+
result: string;
|
|
3381
|
+
type: "outcome_evaluation";
|
|
3382
|
+
}>;
|
|
3383
|
+
resources: Array<{
|
|
3384
|
+
id: string;
|
|
3385
|
+
created_at: string;
|
|
3386
|
+
mount_path: string;
|
|
3387
|
+
type: "github_repository";
|
|
3388
|
+
updated_at: string;
|
|
3389
|
+
url: string;
|
|
3390
|
+
checkout?: null | {
|
|
3391
|
+
name: string;
|
|
3392
|
+
type: "branch";
|
|
3393
|
+
} | {
|
|
3394
|
+
sha: string;
|
|
3395
|
+
type: "commit";
|
|
3396
|
+
};
|
|
3397
|
+
} | {
|
|
3398
|
+
id: string;
|
|
3399
|
+
created_at: string;
|
|
3400
|
+
file_id: string;
|
|
3401
|
+
mount_path: string;
|
|
3402
|
+
type: "file";
|
|
3403
|
+
updated_at: string;
|
|
3404
|
+
} | {
|
|
3405
|
+
memory_store_id: string;
|
|
3406
|
+
type: "memory_store";
|
|
3407
|
+
access?: null | "read_write" | "read_only";
|
|
3408
|
+
description?: string;
|
|
3409
|
+
instructions?: null | string;
|
|
3410
|
+
mount_path?: null | string;
|
|
3411
|
+
name?: null | string;
|
|
3412
|
+
}>;
|
|
3413
|
+
stats: {
|
|
3414
|
+
active_seconds?: number;
|
|
3415
|
+
duration_seconds?: number;
|
|
3416
|
+
};
|
|
3417
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3418
|
+
title: null | string;
|
|
3419
|
+
type: "session";
|
|
3420
|
+
updated_at: string;
|
|
3421
|
+
usage: {
|
|
3422
|
+
active_seconds?: number;
|
|
3423
|
+
cache_creation?: {
|
|
3424
|
+
ephemeral_1h_input_tokens?: number;
|
|
3425
|
+
ephemeral_5m_input_tokens?: number;
|
|
3426
|
+
};
|
|
3427
|
+
cache_read_input_tokens?: number;
|
|
3428
|
+
input_tokens?: number;
|
|
3429
|
+
list_cost?: null | {
|
|
3430
|
+
amount: string;
|
|
3431
|
+
currency: "USD";
|
|
3432
|
+
};
|
|
3433
|
+
output_tokens?: number;
|
|
3434
|
+
server_tool_use?: null | {
|
|
3435
|
+
web_fetch_requests?: number;
|
|
3436
|
+
web_search_requests?: number;
|
|
3437
|
+
};
|
|
3438
|
+
cost_by_product?: {
|
|
3439
|
+
[key: string]: string;
|
|
3440
|
+
};
|
|
3441
|
+
subagent_cost_micro_usd?: number;
|
|
3442
|
+
};
|
|
3443
|
+
vault_ids: Array<string>;
|
|
3444
|
+
deployment_id?: null | string;
|
|
3445
|
+
cwd: string;
|
|
3446
|
+
workspace?: {
|
|
3447
|
+
kind: "shared" | "isolated";
|
|
3448
|
+
path?: string;
|
|
3449
|
+
branch?: string;
|
|
3450
|
+
};
|
|
3451
|
+
computer_id?: string;
|
|
3452
|
+
model?: {
|
|
3453
|
+
id: string;
|
|
3454
|
+
thinking: {
|
|
3455
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
3456
|
+
can_disable: boolean;
|
|
3457
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
3458
|
+
} | null;
|
|
3459
|
+
};
|
|
3460
|
+
thinking?: {
|
|
3461
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3462
|
+
} | null;
|
|
3463
|
+
forked_from?: {
|
|
3464
|
+
session_id: string;
|
|
3465
|
+
message_id: string;
|
|
3466
|
+
} | null;
|
|
3467
|
+
readonly external_user_id: string | null;
|
|
3468
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3469
|
+
}>;
|
|
3470
|
+
};
|
|
3471
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
|
|
3472
|
+
id: string;
|
|
3473
|
+
agent: {
|
|
3474
|
+
id: string;
|
|
3475
|
+
description: null | string;
|
|
3476
|
+
mcp_servers: Array<Types.AgentManaged36>;
|
|
3477
|
+
model: {
|
|
3478
|
+
id: string;
|
|
3479
|
+
effort?: Types.AgentManaged2 | Types.AgentManaged3 | Types.AgentManaged4 | Types.AgentManaged5 | Types.AgentManaged6;
|
|
3480
|
+
inference_geo?: string;
|
|
3481
|
+
speed?: "standard" | "fast";
|
|
3482
|
+
settings?: {
|
|
3483
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3484
|
+
max_output_tokens?: number;
|
|
3485
|
+
};
|
|
3486
|
+
};
|
|
3487
|
+
multiagent: null | Types.AgentManaged171;
|
|
3488
|
+
name: string;
|
|
3489
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
3490
|
+
system: null | string;
|
|
3491
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
3492
|
+
type: "agent";
|
|
3493
|
+
version: number;
|
|
3494
|
+
};
|
|
3495
|
+
archived_at: null | string;
|
|
3496
|
+
budget: null | Types.AgentManaged76;
|
|
3497
|
+
created_at: string;
|
|
3498
|
+
environment_id?: string;
|
|
3499
|
+
metadata: Types.AgentManaged173;
|
|
3500
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
3501
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
3502
|
+
stats: Types.AgentManaged178;
|
|
3503
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3504
|
+
title: null | string;
|
|
3505
|
+
type: "session";
|
|
3506
|
+
updated_at: string;
|
|
3507
|
+
usage: Types.AgentManaged179;
|
|
3508
|
+
vault_ids: Array<string>;
|
|
3509
|
+
deployment_id?: null | string;
|
|
2479
3510
|
cwd: string;
|
|
3511
|
+
workspace?: {
|
|
3512
|
+
kind: "shared" | "isolated";
|
|
3513
|
+
path?: string;
|
|
3514
|
+
branch?: string;
|
|
3515
|
+
};
|
|
2480
3516
|
computer_id?: string;
|
|
2481
3517
|
model?: {
|
|
2482
3518
|
id: string;
|
|
@@ -2517,6 +3553,12 @@ export declare function createAgent(transport: Transport): {
|
|
|
2517
3553
|
filename: string;
|
|
2518
3554
|
mime_type: string;
|
|
2519
3555
|
bytes: number;
|
|
3556
|
+
} | {
|
|
3557
|
+
kind: "object";
|
|
3558
|
+
object_type: "canvas" | "media_asset";
|
|
3559
|
+
object_id: string;
|
|
3560
|
+
href: string;
|
|
3561
|
+
title: string | null;
|
|
2520
3562
|
}>;
|
|
2521
3563
|
source_hrefs: Array<string>;
|
|
2522
3564
|
create_time: string;
|
|
@@ -2606,6 +3648,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2606
3648
|
speed?: "standard" | "fast";
|
|
2607
3649
|
settings?: {
|
|
2608
3650
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3651
|
+
max_output_tokens?: number;
|
|
2609
3652
|
};
|
|
2610
3653
|
};
|
|
2611
3654
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2632,6 +3675,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
2632
3675
|
vault_ids: Array<string>;
|
|
2633
3676
|
deployment_id?: null | string;
|
|
2634
3677
|
cwd: string;
|
|
3678
|
+
workspace?: {
|
|
3679
|
+
kind: "shared" | "isolated";
|
|
3680
|
+
path?: string;
|
|
3681
|
+
branch?: string;
|
|
3682
|
+
};
|
|
2635
3683
|
computer_id?: string;
|
|
2636
3684
|
model?: {
|
|
2637
3685
|
id: string;
|
|
@@ -2652,6 +3700,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
2652
3700
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2653
3701
|
}>;
|
|
2654
3702
|
delete: (options: import("./core/transport.js").CallOptions<Types.SessionsDeleteData>) => Promise<Types.AgentManaged184>;
|
|
3703
|
+
dictations: {
|
|
3704
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionDictationData>) => Promise<{
|
|
3705
|
+
id: string;
|
|
3706
|
+
push_url: string;
|
|
3707
|
+
expires_at: string;
|
|
3708
|
+
}>;
|
|
3709
|
+
};
|
|
2655
3710
|
events: {
|
|
2656
3711
|
list: (options: import("./core/transport.js").CallOptions<Types.SessionsEventsListData>) => Promise<{
|
|
2657
3712
|
data: Array<{
|
|
@@ -2692,7 +3747,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2692
3747
|
run_id: string | null;
|
|
2693
3748
|
message_id?: string;
|
|
2694
3749
|
} | {
|
|
2695
|
-
full_access_available?: boolean;
|
|
2696
3750
|
id: string;
|
|
2697
3751
|
input: Types.AgentManaged197;
|
|
2698
3752
|
mcp_server_name: string;
|
|
@@ -2702,6 +3756,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
2702
3756
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2703
3757
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2704
3758
|
session_thread_id?: null | string;
|
|
3759
|
+
permission_suggestions?: Array<{
|
|
3760
|
+
type: "add_rules";
|
|
3761
|
+
behavior: "allow";
|
|
3762
|
+
destination: "agent" | "session";
|
|
3763
|
+
rules: Array<{
|
|
3764
|
+
tool_name: string;
|
|
3765
|
+
rule_content: string;
|
|
3766
|
+
}>;
|
|
3767
|
+
}>;
|
|
3768
|
+
full_access_available?: boolean;
|
|
3769
|
+
user_once?: true;
|
|
3770
|
+
guarded_rule?: string;
|
|
2705
3771
|
run_id: string | null;
|
|
2706
3772
|
_meta?: {
|
|
2707
3773
|
ui?: {
|
|
@@ -2715,17 +3781,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2715
3781
|
};
|
|
2716
3782
|
source?: "app" | "codemode";
|
|
2717
3783
|
parent_tool_use_id?: string;
|
|
2718
|
-
user_once?: true;
|
|
2719
|
-
guarded_rule?: string;
|
|
2720
|
-
permission_suggestions?: Array<{
|
|
2721
|
-
type: "add_rules";
|
|
2722
|
-
behavior: "allow";
|
|
2723
|
-
destination: "agent" | "session";
|
|
2724
|
-
rules: Array<{
|
|
2725
|
-
tool_name: string;
|
|
2726
|
-
rule_content: string;
|
|
2727
|
-
}>;
|
|
2728
|
-
}>;
|
|
2729
3784
|
title?: string;
|
|
2730
3785
|
input_titles?: {
|
|
2731
3786
|
[key: string]: string;
|
|
@@ -2744,7 +3799,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2744
3799
|
};
|
|
2745
3800
|
source?: "app" | "codemode";
|
|
2746
3801
|
} | {
|
|
2747
|
-
full_access_available?: boolean;
|
|
2748
3802
|
id: string;
|
|
2749
3803
|
input: Types.AgentManaged206;
|
|
2750
3804
|
name: string;
|
|
@@ -2753,9 +3807,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2753
3807
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2754
3808
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2755
3809
|
session_thread_id?: null | string;
|
|
2756
|
-
run_id: string | null;
|
|
2757
|
-
user_once?: true;
|
|
2758
|
-
guarded_rule?: string;
|
|
2759
3810
|
permission_suggestions?: Array<{
|
|
2760
3811
|
type: "add_rules";
|
|
2761
3812
|
behavior: "allow";
|
|
@@ -2765,6 +3816,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
2765
3816
|
rule_content: string;
|
|
2766
3817
|
}>;
|
|
2767
3818
|
}>;
|
|
3819
|
+
full_access_available?: boolean;
|
|
3820
|
+
user_once?: true;
|
|
3821
|
+
guarded_rule?: string;
|
|
3822
|
+
run_id: string | null;
|
|
2768
3823
|
} | {
|
|
2769
3824
|
id: string;
|
|
2770
3825
|
processed_at: string;
|
|
@@ -2785,9 +3840,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2785
3840
|
type: "session.status_idle";
|
|
2786
3841
|
run_id: string | null;
|
|
2787
3842
|
} | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
|
|
2788
|
-
permission_mode_version?: number;
|
|
2789
|
-
previous_permission_mode?: string | null;
|
|
2790
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2791
3843
|
id: string;
|
|
2792
3844
|
processed_at: string;
|
|
2793
3845
|
type: "session.updated";
|
|
@@ -2795,6 +3847,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2795
3847
|
budget?: null | Types.AgentManaged76;
|
|
2796
3848
|
metadata?: Types.AgentManaged246;
|
|
2797
3849
|
title?: null | string;
|
|
3850
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3851
|
+
previous_permission_mode?: string | null;
|
|
3852
|
+
permission_mode_version?: number;
|
|
2798
3853
|
model?: {
|
|
2799
3854
|
id: string;
|
|
2800
3855
|
};
|
|
@@ -2804,6 +3859,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2804
3859
|
processed_at: string;
|
|
2805
3860
|
forked_from_session_id: string;
|
|
2806
3861
|
forked_from_message_id: string;
|
|
3862
|
+
message_id?: string;
|
|
3863
|
+
session_thread_id?: string | null;
|
|
2807
3864
|
} | {
|
|
2808
3865
|
id: string;
|
|
2809
3866
|
type: "session.goal_changed";
|
|
@@ -2834,40 +3891,195 @@ export declare function createAgent(transport: Transport): {
|
|
|
2834
3891
|
created_at: number;
|
|
2835
3892
|
updated_at: number;
|
|
2836
3893
|
} | null;
|
|
3894
|
+
message_id?: string;
|
|
3895
|
+
session_thread_id?: string | null;
|
|
3896
|
+
} | {
|
|
3897
|
+
id: string;
|
|
3898
|
+
type: "session.goal_verification";
|
|
3899
|
+
processed_at: string;
|
|
3900
|
+
status: "started" | "completed" | "failed_closed" | "cancelled";
|
|
3901
|
+
goal_id: string;
|
|
3902
|
+
goal_iteration: number;
|
|
3903
|
+
verification_id: string;
|
|
3904
|
+
anchor_message_id: string | null;
|
|
3905
|
+
verification?: {
|
|
3906
|
+
passed: boolean;
|
|
3907
|
+
reason: string;
|
|
3908
|
+
next_action?: string;
|
|
3909
|
+
};
|
|
3910
|
+
message_id?: string;
|
|
3911
|
+
session_thread_id?: string | null;
|
|
3912
|
+
} | {
|
|
3913
|
+
id: string;
|
|
3914
|
+
type: "user.steer";
|
|
3915
|
+
event_id: string;
|
|
3916
|
+
processed_at: string;
|
|
3917
|
+
message_id?: string;
|
|
3918
|
+
session_thread_id?: string | null;
|
|
3919
|
+
} | {
|
|
3920
|
+
id: string;
|
|
3921
|
+
type: "cognition.surfaced";
|
|
3922
|
+
processed_at: string;
|
|
3923
|
+
worker_session_id: string;
|
|
3924
|
+
name: string;
|
|
3925
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
3926
|
+
experience_id?: string;
|
|
3927
|
+
result?: {
|
|
3928
|
+
message?: string;
|
|
3929
|
+
links?: Array<string>;
|
|
3930
|
+
files?: Array<{
|
|
3931
|
+
name?: string;
|
|
3932
|
+
href?: string;
|
|
3933
|
+
}>;
|
|
3934
|
+
held?: Array<{
|
|
3935
|
+
id?: string;
|
|
3936
|
+
summary?: string;
|
|
3937
|
+
effect?: string;
|
|
3938
|
+
method?: string;
|
|
3939
|
+
path?: string;
|
|
3940
|
+
expires_at?: string;
|
|
3941
|
+
}>;
|
|
3942
|
+
};
|
|
3943
|
+
} | {
|
|
3944
|
+
id: string;
|
|
3945
|
+
type: "cognition.intention_woken";
|
|
3946
|
+
processed_at: string;
|
|
3947
|
+
node_id: string;
|
|
3948
|
+
reason: "open_engram" | "assignment";
|
|
3949
|
+
} | {
|
|
3950
|
+
id: string;
|
|
3951
|
+
type: "agent.operation_approval_requested";
|
|
3952
|
+
processed_at: string;
|
|
3953
|
+
approval_id: string;
|
|
3954
|
+
operation_id: string;
|
|
3955
|
+
effect: "outward" | "irreversible";
|
|
3956
|
+
method: string;
|
|
3957
|
+
path: string;
|
|
3958
|
+
summary: string;
|
|
3959
|
+
expires_at: string;
|
|
3960
|
+
worker_session_id?: string;
|
|
3961
|
+
worker_name?: string;
|
|
3962
|
+
} | {
|
|
3963
|
+
id: string;
|
|
3964
|
+
type: "agent.operation_approval_decided";
|
|
3965
|
+
processed_at: string;
|
|
3966
|
+
approval_id: string;
|
|
3967
|
+
status: "approved" | "refused" | "expired";
|
|
3968
|
+
} | {
|
|
3969
|
+
id: string;
|
|
3970
|
+
type: "session.prompt_configuration_mismatch";
|
|
3971
|
+
processed_at: string;
|
|
3972
|
+
pinned_revision_id: string;
|
|
3973
|
+
current_revision_id: string;
|
|
3974
|
+
} | {
|
|
3975
|
+
id: string;
|
|
3976
|
+
type: "session.prompt_rev_changed";
|
|
3977
|
+
processed_at: string;
|
|
3978
|
+
config_revision_id: string;
|
|
3979
|
+
changed: Array<{
|
|
3980
|
+
name: string;
|
|
3981
|
+
rev: string | null;
|
|
3982
|
+
}>;
|
|
2837
3983
|
} | {
|
|
2838
3984
|
id: string;
|
|
2839
|
-
type: "session.
|
|
3985
|
+
type: "session.computer_tier";
|
|
2840
3986
|
processed_at: string;
|
|
2841
|
-
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
3987
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
3988
|
+
tier: "light" | "heavy";
|
|
3989
|
+
duration_ms: number;
|
|
3990
|
+
error_code?: string;
|
|
3991
|
+
status?: {
|
|
3992
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
3993
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
3994
|
+
percent?: number;
|
|
3995
|
+
files_done?: number;
|
|
3996
|
+
files_total?: number;
|
|
3997
|
+
idle_release_at?: number;
|
|
3998
|
+
retry_at?: number;
|
|
3999
|
+
epoch?: number;
|
|
4000
|
+
heavy_instance?: string | null;
|
|
4001
|
+
heavy_paused?: boolean;
|
|
2850
4002
|
};
|
|
2851
4003
|
} | {
|
|
2852
4004
|
id: string;
|
|
2853
|
-
type: "
|
|
2854
|
-
event_id: string;
|
|
4005
|
+
type: "agent.artifact_delivered";
|
|
2855
4006
|
processed_at: string;
|
|
4007
|
+
artifact: {
|
|
4008
|
+
object: "artifact";
|
|
4009
|
+
id: string;
|
|
4010
|
+
session_id: string;
|
|
4011
|
+
run_id: string | null;
|
|
4012
|
+
name: string;
|
|
4013
|
+
version: number;
|
|
4014
|
+
parts: Array<{
|
|
4015
|
+
[key: string]: unknown;
|
|
4016
|
+
}>;
|
|
4017
|
+
source_hrefs: Array<string>;
|
|
4018
|
+
create_time: string;
|
|
4019
|
+
update_time: string;
|
|
4020
|
+
};
|
|
2856
4021
|
} | {
|
|
2857
4022
|
id: string;
|
|
2858
|
-
type: "
|
|
4023
|
+
type: "agent.image_generation";
|
|
2859
4024
|
processed_at: string;
|
|
2860
4025
|
tool_use_id: string;
|
|
2861
|
-
|
|
2862
|
-
|
|
2863
|
-
|
|
4026
|
+
index: number;
|
|
4027
|
+
total: number;
|
|
4028
|
+
status: string;
|
|
4029
|
+
mode?: string;
|
|
4030
|
+
aspect?: string;
|
|
4031
|
+
prompt?: string;
|
|
4032
|
+
model?: string;
|
|
4033
|
+
file_id?: string;
|
|
4034
|
+
label?: string;
|
|
4035
|
+
width?: number;
|
|
4036
|
+
height?: number;
|
|
4037
|
+
revised_prompt?: string;
|
|
4038
|
+
source_labels?: Array<string>;
|
|
4039
|
+
caption?: string;
|
|
4040
|
+
slot?: number | null;
|
|
4041
|
+
replaces?: string;
|
|
4042
|
+
version?: number;
|
|
4043
|
+
failure?: {
|
|
4044
|
+
reason?: string;
|
|
2864
4045
|
};
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
4046
|
+
} | {
|
|
4047
|
+
id: string;
|
|
4048
|
+
type: "session.image_labeled";
|
|
4049
|
+
processed_at: string;
|
|
4050
|
+
label: string;
|
|
4051
|
+
file_id: string;
|
|
4052
|
+
origin: "generated" | "uploaded";
|
|
4053
|
+
filename: string;
|
|
4054
|
+
tool_use_id?: string;
|
|
4055
|
+
version?: number;
|
|
4056
|
+
replaced_file_id?: string;
|
|
4057
|
+
} | {
|
|
4058
|
+
id: string;
|
|
4059
|
+
type: "session.image_set_planned";
|
|
4060
|
+
processed_at: string;
|
|
4061
|
+
tool_use_id: string;
|
|
4062
|
+
items: Array<unknown>;
|
|
4063
|
+
title?: string;
|
|
4064
|
+
} | {
|
|
4065
|
+
id: string;
|
|
4066
|
+
type: "session.project_attached";
|
|
4067
|
+
processed_at: string;
|
|
4068
|
+
project: {
|
|
4069
|
+
id: string;
|
|
4070
|
+
name: string;
|
|
4071
|
+
path: string;
|
|
2870
4072
|
};
|
|
4073
|
+
message_id?: string;
|
|
4074
|
+
session_thread_id?: string | null;
|
|
4075
|
+
} | {
|
|
4076
|
+
id: string;
|
|
4077
|
+
type: "session.project_detached";
|
|
4078
|
+
processed_at: string;
|
|
4079
|
+
project_id: string;
|
|
4080
|
+
reason?: "project_removed";
|
|
4081
|
+
message_id?: string;
|
|
4082
|
+
session_thread_id?: string | null;
|
|
2871
4083
|
}>;
|
|
2872
4084
|
next_page: string | null;
|
|
2873
4085
|
}>;
|
|
@@ -2888,21 +4100,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
2888
4100
|
type: "user.steer";
|
|
2889
4101
|
event_id: string;
|
|
2890
4102
|
processed_at: string;
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
type: "user.tool_confirmation";
|
|
2894
|
-
processed_at: string;
|
|
2895
|
-
tool_use_id: string;
|
|
2896
|
-
result: "allow";
|
|
2897
|
-
answers: {
|
|
2898
|
-
[key: string]: string;
|
|
2899
|
-
};
|
|
2900
|
-
annotations?: {
|
|
2901
|
-
[key: string]: {
|
|
2902
|
-
preview?: string;
|
|
2903
|
-
notes?: string;
|
|
2904
|
-
};
|
|
2905
|
-
};
|
|
4103
|
+
message_id?: string;
|
|
4104
|
+
session_thread_id?: string | null;
|
|
2906
4105
|
}>;
|
|
2907
4106
|
}>;
|
|
2908
4107
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -2955,6 +4154,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2955
4154
|
speed?: "standard" | "fast";
|
|
2956
4155
|
settings?: {
|
|
2957
4156
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4157
|
+
max_output_tokens?: number;
|
|
2958
4158
|
};
|
|
2959
4159
|
};
|
|
2960
4160
|
multiagent: null | {
|
|
@@ -3417,6 +4617,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3417
4617
|
vault_ids: Array<string>;
|
|
3418
4618
|
deployment_id?: null | string;
|
|
3419
4619
|
cwd: string;
|
|
4620
|
+
workspace?: {
|
|
4621
|
+
kind: "shared" | "isolated";
|
|
4622
|
+
path?: string;
|
|
4623
|
+
branch?: string;
|
|
4624
|
+
};
|
|
3420
4625
|
computer_id?: string;
|
|
3421
4626
|
model?: {
|
|
3422
4627
|
id: string;
|
|
@@ -3450,6 +4655,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3450
4655
|
speed?: "standard" | "fast";
|
|
3451
4656
|
settings?: {
|
|
3452
4657
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4658
|
+
max_output_tokens?: number;
|
|
3453
4659
|
};
|
|
3454
4660
|
};
|
|
3455
4661
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3476,6 +4682,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3476
4682
|
vault_ids: Array<string>;
|
|
3477
4683
|
deployment_id?: null | string;
|
|
3478
4684
|
cwd: string;
|
|
4685
|
+
workspace?: {
|
|
4686
|
+
kind: "shared" | "isolated";
|
|
4687
|
+
path?: string;
|
|
4688
|
+
branch?: string;
|
|
4689
|
+
};
|
|
3479
4690
|
computer_id?: string;
|
|
3480
4691
|
model?: {
|
|
3481
4692
|
id: string;
|
|
@@ -3497,6 +4708,543 @@ export declare function createAgent(transport: Transport): {
|
|
|
3497
4708
|
}>;
|
|
3498
4709
|
next_page: string | null;
|
|
3499
4710
|
}>;
|
|
4711
|
+
name: {
|
|
4712
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
|
|
4713
|
+
id: string;
|
|
4714
|
+
agent: {
|
|
4715
|
+
id: string;
|
|
4716
|
+
description: null | string;
|
|
4717
|
+
mcp_servers: Array<{
|
|
4718
|
+
type: "url";
|
|
4719
|
+
name: string;
|
|
4720
|
+
url: string;
|
|
4721
|
+
headers?: {
|
|
4722
|
+
[key: string]: string;
|
|
4723
|
+
};
|
|
4724
|
+
timeout_ms?: number;
|
|
4725
|
+
} | {
|
|
4726
|
+
type: "sse";
|
|
4727
|
+
name: string;
|
|
4728
|
+
url: string;
|
|
4729
|
+
headers?: {
|
|
4730
|
+
[key: string]: string;
|
|
4731
|
+
};
|
|
4732
|
+
timeout_ms?: number;
|
|
4733
|
+
} | {
|
|
4734
|
+
type: "stdio";
|
|
4735
|
+
name: string;
|
|
4736
|
+
command: string;
|
|
4737
|
+
args?: Array<string>;
|
|
4738
|
+
env?: {
|
|
4739
|
+
[key: string]: string;
|
|
4740
|
+
};
|
|
4741
|
+
timeout_ms?: number;
|
|
4742
|
+
}>;
|
|
4743
|
+
model: {
|
|
4744
|
+
id: string;
|
|
4745
|
+
effort?: {
|
|
4746
|
+
type: "low";
|
|
4747
|
+
} | {
|
|
4748
|
+
type: "medium";
|
|
4749
|
+
} | {
|
|
4750
|
+
type: "high";
|
|
4751
|
+
} | {
|
|
4752
|
+
type: "xhigh";
|
|
4753
|
+
} | {
|
|
4754
|
+
type: "max";
|
|
4755
|
+
};
|
|
4756
|
+
inference_geo?: string;
|
|
4757
|
+
speed?: "standard" | "fast";
|
|
4758
|
+
settings?: {
|
|
4759
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4760
|
+
max_output_tokens?: number;
|
|
4761
|
+
};
|
|
4762
|
+
};
|
|
4763
|
+
multiagent: null | {
|
|
4764
|
+
agents: Array<{
|
|
4765
|
+
model: string;
|
|
4766
|
+
type: "advisor";
|
|
4767
|
+
} | {
|
|
4768
|
+
id: string;
|
|
4769
|
+
description: null | string;
|
|
4770
|
+
mcp_servers: Array<{
|
|
4771
|
+
type: "url";
|
|
4772
|
+
name: string;
|
|
4773
|
+
url: string;
|
|
4774
|
+
headers?: {
|
|
4775
|
+
[key: string]: string;
|
|
4776
|
+
};
|
|
4777
|
+
timeout_ms?: number;
|
|
4778
|
+
} | {
|
|
4779
|
+
type: "sse";
|
|
4780
|
+
name: string;
|
|
4781
|
+
url: string;
|
|
4782
|
+
headers?: {
|
|
4783
|
+
[key: string]: string;
|
|
4784
|
+
};
|
|
4785
|
+
timeout_ms?: number;
|
|
4786
|
+
} | {
|
|
4787
|
+
type: "stdio";
|
|
4788
|
+
name: string;
|
|
4789
|
+
command: string;
|
|
4790
|
+
args?: Array<string>;
|
|
4791
|
+
env?: {
|
|
4792
|
+
[key: string]: string;
|
|
4793
|
+
};
|
|
4794
|
+
timeout_ms?: number;
|
|
4795
|
+
}>;
|
|
4796
|
+
model: {
|
|
4797
|
+
id: string;
|
|
4798
|
+
effort?: {
|
|
4799
|
+
type: "low";
|
|
4800
|
+
} | {
|
|
4801
|
+
type: "medium";
|
|
4802
|
+
} | {
|
|
4803
|
+
type: "high";
|
|
4804
|
+
} | {
|
|
4805
|
+
type: "xhigh";
|
|
4806
|
+
} | {
|
|
4807
|
+
type: "max";
|
|
4808
|
+
};
|
|
4809
|
+
inference_geo?: string;
|
|
4810
|
+
speed?: "standard" | "fast";
|
|
4811
|
+
};
|
|
4812
|
+
name: string;
|
|
4813
|
+
skills: Array<{
|
|
4814
|
+
skill_id: string;
|
|
4815
|
+
type: "anthropic";
|
|
4816
|
+
version: string;
|
|
4817
|
+
} | {
|
|
4818
|
+
skill_id: string;
|
|
4819
|
+
type: "custom";
|
|
4820
|
+
version: string;
|
|
4821
|
+
}>;
|
|
4822
|
+
system: null | string;
|
|
4823
|
+
tools: Array<{
|
|
4824
|
+
configs: Array<{
|
|
4825
|
+
enabled: boolean;
|
|
4826
|
+
name: "bash";
|
|
4827
|
+
permission_policy: {
|
|
4828
|
+
type: "always_allow";
|
|
4829
|
+
} | {
|
|
4830
|
+
type: "always_ask";
|
|
4831
|
+
} | {
|
|
4832
|
+
type: "auto";
|
|
4833
|
+
};
|
|
4834
|
+
type: "bash";
|
|
4835
|
+
} | {
|
|
4836
|
+
enabled: boolean;
|
|
4837
|
+
name: "edit";
|
|
4838
|
+
permission_policy: {
|
|
4839
|
+
type: "always_allow";
|
|
4840
|
+
} | {
|
|
4841
|
+
type: "always_ask";
|
|
4842
|
+
} | {
|
|
4843
|
+
type: "auto";
|
|
4844
|
+
};
|
|
4845
|
+
type: "edit";
|
|
4846
|
+
} | {
|
|
4847
|
+
enabled: boolean;
|
|
4848
|
+
name: "read";
|
|
4849
|
+
permission_policy: {
|
|
4850
|
+
type: "always_allow";
|
|
4851
|
+
} | {
|
|
4852
|
+
type: "always_ask";
|
|
4853
|
+
} | {
|
|
4854
|
+
type: "auto";
|
|
4855
|
+
};
|
|
4856
|
+
type: "read";
|
|
4857
|
+
} | {
|
|
4858
|
+
enabled: boolean;
|
|
4859
|
+
name: "write";
|
|
4860
|
+
permission_policy: {
|
|
4861
|
+
type: "always_allow";
|
|
4862
|
+
} | {
|
|
4863
|
+
type: "always_ask";
|
|
4864
|
+
} | {
|
|
4865
|
+
type: "auto";
|
|
4866
|
+
};
|
|
4867
|
+
type: "write";
|
|
4868
|
+
} | {
|
|
4869
|
+
enabled: boolean;
|
|
4870
|
+
name: "glob";
|
|
4871
|
+
permission_policy: {
|
|
4872
|
+
type: "always_allow";
|
|
4873
|
+
} | {
|
|
4874
|
+
type: "always_ask";
|
|
4875
|
+
} | {
|
|
4876
|
+
type: "auto";
|
|
4877
|
+
};
|
|
4878
|
+
type: "glob";
|
|
4879
|
+
} | {
|
|
4880
|
+
enabled: boolean;
|
|
4881
|
+
name: "grep";
|
|
4882
|
+
permission_policy: {
|
|
4883
|
+
type: "always_allow";
|
|
4884
|
+
} | {
|
|
4885
|
+
type: "always_ask";
|
|
4886
|
+
} | {
|
|
4887
|
+
type: "auto";
|
|
4888
|
+
};
|
|
4889
|
+
type: "grep";
|
|
4890
|
+
} | {
|
|
4891
|
+
enabled: boolean;
|
|
4892
|
+
name: "web_fetch";
|
|
4893
|
+
permission_policy: {
|
|
4894
|
+
type: "always_allow";
|
|
4895
|
+
} | {
|
|
4896
|
+
type: "always_ask";
|
|
4897
|
+
} | {
|
|
4898
|
+
type: "auto";
|
|
4899
|
+
};
|
|
4900
|
+
type: "web_fetch";
|
|
4901
|
+
allowed_domains?: Array<string>;
|
|
4902
|
+
blocked_domains?: Array<string>;
|
|
4903
|
+
max_content_tokens?: null | number;
|
|
4904
|
+
} | {
|
|
4905
|
+
enabled: boolean;
|
|
4906
|
+
name: "web_search";
|
|
4907
|
+
permission_policy: {
|
|
4908
|
+
type: "always_allow";
|
|
4909
|
+
} | {
|
|
4910
|
+
type: "always_ask";
|
|
4911
|
+
} | {
|
|
4912
|
+
type: "auto";
|
|
4913
|
+
};
|
|
4914
|
+
type: "web_search";
|
|
4915
|
+
allowed_domains?: Array<string>;
|
|
4916
|
+
blocked_domains?: Array<string>;
|
|
4917
|
+
user_location?: null | {
|
|
4918
|
+
type: "approximate";
|
|
4919
|
+
city?: null | string;
|
|
4920
|
+
country?: null | string;
|
|
4921
|
+
region?: null | string;
|
|
4922
|
+
timezone?: null | string;
|
|
4923
|
+
};
|
|
4924
|
+
} | {
|
|
4925
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
4926
|
+
enabled: boolean;
|
|
4927
|
+
permission_policy: {
|
|
4928
|
+
type: "always_allow" | "always_ask";
|
|
4929
|
+
};
|
|
4930
|
+
}>;
|
|
4931
|
+
default_config: {
|
|
4932
|
+
enabled: boolean;
|
|
4933
|
+
permission_policy: {
|
|
4934
|
+
type: "always_allow";
|
|
4935
|
+
} | {
|
|
4936
|
+
type: "always_ask";
|
|
4937
|
+
} | {
|
|
4938
|
+
type: "auto";
|
|
4939
|
+
};
|
|
4940
|
+
};
|
|
4941
|
+
type: "agent_toolset_20260401";
|
|
4942
|
+
} | {
|
|
4943
|
+
type: "mcp_toolset";
|
|
4944
|
+
mcp_server_name: string;
|
|
4945
|
+
default_config?: {
|
|
4946
|
+
enabled?: boolean | null;
|
|
4947
|
+
permission_policy?: null | {
|
|
4948
|
+
type: "always_allow" | "always_ask";
|
|
4949
|
+
};
|
|
4950
|
+
} | null;
|
|
4951
|
+
configs?: Array<{
|
|
4952
|
+
name: string;
|
|
4953
|
+
enabled?: boolean | null;
|
|
4954
|
+
permission_policy?: null | {
|
|
4955
|
+
type: "always_allow" | "always_ask";
|
|
4956
|
+
};
|
|
4957
|
+
}> | null;
|
|
4958
|
+
} | {
|
|
4959
|
+
description: string;
|
|
4960
|
+
input_schema: {
|
|
4961
|
+
type: "object";
|
|
4962
|
+
properties?: null | {
|
|
4963
|
+
[key: string]: unknown;
|
|
4964
|
+
};
|
|
4965
|
+
required?: null | Array<string>;
|
|
4966
|
+
[key: string]: unknown;
|
|
4967
|
+
};
|
|
4968
|
+
name: string;
|
|
4969
|
+
type: "custom";
|
|
4970
|
+
}>;
|
|
4971
|
+
type: "agent";
|
|
4972
|
+
version: number;
|
|
4973
|
+
}>;
|
|
4974
|
+
type: "coordinator";
|
|
4975
|
+
};
|
|
4976
|
+
name: string;
|
|
4977
|
+
skills: Array<{
|
|
4978
|
+
skill_id: string;
|
|
4979
|
+
type: "anthropic";
|
|
4980
|
+
version: string;
|
|
4981
|
+
} | {
|
|
4982
|
+
skill_id: string;
|
|
4983
|
+
type: "custom";
|
|
4984
|
+
version: string;
|
|
4985
|
+
}>;
|
|
4986
|
+
system: null | string;
|
|
4987
|
+
tools: Array<{
|
|
4988
|
+
configs: Array<{
|
|
4989
|
+
enabled: boolean;
|
|
4990
|
+
name: "bash";
|
|
4991
|
+
permission_policy: {
|
|
4992
|
+
type: "always_allow";
|
|
4993
|
+
} | {
|
|
4994
|
+
type: "always_ask";
|
|
4995
|
+
} | {
|
|
4996
|
+
type: "auto";
|
|
4997
|
+
};
|
|
4998
|
+
type: "bash";
|
|
4999
|
+
} | {
|
|
5000
|
+
enabled: boolean;
|
|
5001
|
+
name: "edit";
|
|
5002
|
+
permission_policy: {
|
|
5003
|
+
type: "always_allow";
|
|
5004
|
+
} | {
|
|
5005
|
+
type: "always_ask";
|
|
5006
|
+
} | {
|
|
5007
|
+
type: "auto";
|
|
5008
|
+
};
|
|
5009
|
+
type: "edit";
|
|
5010
|
+
} | {
|
|
5011
|
+
enabled: boolean;
|
|
5012
|
+
name: "read";
|
|
5013
|
+
permission_policy: {
|
|
5014
|
+
type: "always_allow";
|
|
5015
|
+
} | {
|
|
5016
|
+
type: "always_ask";
|
|
5017
|
+
} | {
|
|
5018
|
+
type: "auto";
|
|
5019
|
+
};
|
|
5020
|
+
type: "read";
|
|
5021
|
+
} | {
|
|
5022
|
+
enabled: boolean;
|
|
5023
|
+
name: "write";
|
|
5024
|
+
permission_policy: {
|
|
5025
|
+
type: "always_allow";
|
|
5026
|
+
} | {
|
|
5027
|
+
type: "always_ask";
|
|
5028
|
+
} | {
|
|
5029
|
+
type: "auto";
|
|
5030
|
+
};
|
|
5031
|
+
type: "write";
|
|
5032
|
+
} | {
|
|
5033
|
+
enabled: boolean;
|
|
5034
|
+
name: "glob";
|
|
5035
|
+
permission_policy: {
|
|
5036
|
+
type: "always_allow";
|
|
5037
|
+
} | {
|
|
5038
|
+
type: "always_ask";
|
|
5039
|
+
} | {
|
|
5040
|
+
type: "auto";
|
|
5041
|
+
};
|
|
5042
|
+
type: "glob";
|
|
5043
|
+
} | {
|
|
5044
|
+
enabled: boolean;
|
|
5045
|
+
name: "grep";
|
|
5046
|
+
permission_policy: {
|
|
5047
|
+
type: "always_allow";
|
|
5048
|
+
} | {
|
|
5049
|
+
type: "always_ask";
|
|
5050
|
+
} | {
|
|
5051
|
+
type: "auto";
|
|
5052
|
+
};
|
|
5053
|
+
type: "grep";
|
|
5054
|
+
} | {
|
|
5055
|
+
enabled: boolean;
|
|
5056
|
+
name: "web_fetch";
|
|
5057
|
+
permission_policy: {
|
|
5058
|
+
type: "always_allow";
|
|
5059
|
+
} | {
|
|
5060
|
+
type: "always_ask";
|
|
5061
|
+
} | {
|
|
5062
|
+
type: "auto";
|
|
5063
|
+
};
|
|
5064
|
+
type: "web_fetch";
|
|
5065
|
+
allowed_domains?: Array<string>;
|
|
5066
|
+
blocked_domains?: Array<string>;
|
|
5067
|
+
max_content_tokens?: null | number;
|
|
5068
|
+
} | {
|
|
5069
|
+
enabled: boolean;
|
|
5070
|
+
name: "web_search";
|
|
5071
|
+
permission_policy: {
|
|
5072
|
+
type: "always_allow";
|
|
5073
|
+
} | {
|
|
5074
|
+
type: "always_ask";
|
|
5075
|
+
} | {
|
|
5076
|
+
type: "auto";
|
|
5077
|
+
};
|
|
5078
|
+
type: "web_search";
|
|
5079
|
+
allowed_domains?: Array<string>;
|
|
5080
|
+
blocked_domains?: Array<string>;
|
|
5081
|
+
user_location?: null | {
|
|
5082
|
+
type: "approximate";
|
|
5083
|
+
city?: null | string;
|
|
5084
|
+
country?: null | string;
|
|
5085
|
+
region?: null | string;
|
|
5086
|
+
timezone?: null | string;
|
|
5087
|
+
};
|
|
5088
|
+
} | {
|
|
5089
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
5090
|
+
enabled: boolean;
|
|
5091
|
+
permission_policy: {
|
|
5092
|
+
type: "always_allow" | "always_ask";
|
|
5093
|
+
};
|
|
5094
|
+
}>;
|
|
5095
|
+
default_config: {
|
|
5096
|
+
enabled: boolean;
|
|
5097
|
+
permission_policy: {
|
|
5098
|
+
type: "always_allow";
|
|
5099
|
+
} | {
|
|
5100
|
+
type: "always_ask";
|
|
5101
|
+
} | {
|
|
5102
|
+
type: "auto";
|
|
5103
|
+
};
|
|
5104
|
+
};
|
|
5105
|
+
type: "agent_toolset_20260401";
|
|
5106
|
+
} | {
|
|
5107
|
+
type: "mcp_toolset";
|
|
5108
|
+
mcp_server_name: string;
|
|
5109
|
+
default_config?: {
|
|
5110
|
+
enabled?: boolean | null;
|
|
5111
|
+
permission_policy?: null | {
|
|
5112
|
+
type: "always_allow" | "always_ask";
|
|
5113
|
+
};
|
|
5114
|
+
} | null;
|
|
5115
|
+
configs?: Array<{
|
|
5116
|
+
name: string;
|
|
5117
|
+
enabled?: boolean | null;
|
|
5118
|
+
permission_policy?: null | {
|
|
5119
|
+
type: "always_allow" | "always_ask";
|
|
5120
|
+
};
|
|
5121
|
+
}> | null;
|
|
5122
|
+
} | {
|
|
5123
|
+
description: string;
|
|
5124
|
+
input_schema: {
|
|
5125
|
+
type: "object";
|
|
5126
|
+
properties?: null | {
|
|
5127
|
+
[key: string]: unknown;
|
|
5128
|
+
};
|
|
5129
|
+
required?: null | Array<string>;
|
|
5130
|
+
[key: string]: unknown;
|
|
5131
|
+
};
|
|
5132
|
+
name: string;
|
|
5133
|
+
type: "custom";
|
|
5134
|
+
}>;
|
|
5135
|
+
type: "agent";
|
|
5136
|
+
version: number;
|
|
5137
|
+
};
|
|
5138
|
+
archived_at: null | string;
|
|
5139
|
+
budget: null | {
|
|
5140
|
+
max_list_cost: {
|
|
5141
|
+
amount: string;
|
|
5142
|
+
currency: "USD";
|
|
5143
|
+
};
|
|
5144
|
+
type: "limit";
|
|
5145
|
+
};
|
|
5146
|
+
created_at: string;
|
|
5147
|
+
environment_id?: string;
|
|
5148
|
+
metadata: {
|
|
5149
|
+
[key: string]: string;
|
|
5150
|
+
};
|
|
5151
|
+
outcome_evaluations: Array<{
|
|
5152
|
+
completed_at: null | string;
|
|
5153
|
+
description: string;
|
|
5154
|
+
explanation: null | string;
|
|
5155
|
+
iteration: number;
|
|
5156
|
+
outcome_id: string;
|
|
5157
|
+
result: string;
|
|
5158
|
+
type: "outcome_evaluation";
|
|
5159
|
+
}>;
|
|
5160
|
+
resources: Array<{
|
|
5161
|
+
id: string;
|
|
5162
|
+
created_at: string;
|
|
5163
|
+
mount_path: string;
|
|
5164
|
+
type: "github_repository";
|
|
5165
|
+
updated_at: string;
|
|
5166
|
+
url: string;
|
|
5167
|
+
checkout?: null | {
|
|
5168
|
+
name: string;
|
|
5169
|
+
type: "branch";
|
|
5170
|
+
} | {
|
|
5171
|
+
sha: string;
|
|
5172
|
+
type: "commit";
|
|
5173
|
+
};
|
|
5174
|
+
} | {
|
|
5175
|
+
id: string;
|
|
5176
|
+
created_at: string;
|
|
5177
|
+
file_id: string;
|
|
5178
|
+
mount_path: string;
|
|
5179
|
+
type: "file";
|
|
5180
|
+
updated_at: string;
|
|
5181
|
+
} | {
|
|
5182
|
+
memory_store_id: string;
|
|
5183
|
+
type: "memory_store";
|
|
5184
|
+
access?: null | "read_write" | "read_only";
|
|
5185
|
+
description?: string;
|
|
5186
|
+
instructions?: null | string;
|
|
5187
|
+
mount_path?: null | string;
|
|
5188
|
+
name?: null | string;
|
|
5189
|
+
}>;
|
|
5190
|
+
stats: {
|
|
5191
|
+
active_seconds?: number;
|
|
5192
|
+
duration_seconds?: number;
|
|
5193
|
+
};
|
|
5194
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
5195
|
+
title: null | string;
|
|
5196
|
+
type: "session";
|
|
5197
|
+
updated_at: string;
|
|
5198
|
+
usage: {
|
|
5199
|
+
active_seconds?: number;
|
|
5200
|
+
cache_creation?: {
|
|
5201
|
+
ephemeral_1h_input_tokens?: number;
|
|
5202
|
+
ephemeral_5m_input_tokens?: number;
|
|
5203
|
+
};
|
|
5204
|
+
cache_read_input_tokens?: number;
|
|
5205
|
+
input_tokens?: number;
|
|
5206
|
+
list_cost?: null | {
|
|
5207
|
+
amount: string;
|
|
5208
|
+
currency: "USD";
|
|
5209
|
+
};
|
|
5210
|
+
output_tokens?: number;
|
|
5211
|
+
server_tool_use?: null | {
|
|
5212
|
+
web_fetch_requests?: number;
|
|
5213
|
+
web_search_requests?: number;
|
|
5214
|
+
};
|
|
5215
|
+
cost_by_product?: {
|
|
5216
|
+
[key: string]: string;
|
|
5217
|
+
};
|
|
5218
|
+
subagent_cost_micro_usd?: number;
|
|
5219
|
+
};
|
|
5220
|
+
vault_ids: Array<string>;
|
|
5221
|
+
deployment_id?: null | string;
|
|
5222
|
+
cwd: string;
|
|
5223
|
+
workspace?: {
|
|
5224
|
+
kind: "shared" | "isolated";
|
|
5225
|
+
path?: string;
|
|
5226
|
+
branch?: string;
|
|
5227
|
+
};
|
|
5228
|
+
computer_id?: string;
|
|
5229
|
+
model?: {
|
|
5230
|
+
id: string;
|
|
5231
|
+
thinking: {
|
|
5232
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
5233
|
+
can_disable: boolean;
|
|
5234
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
5235
|
+
} | null;
|
|
5236
|
+
};
|
|
5237
|
+
thinking?: {
|
|
5238
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
5239
|
+
} | null;
|
|
5240
|
+
forked_from?: {
|
|
5241
|
+
session_id: string;
|
|
5242
|
+
message_id: string;
|
|
5243
|
+
} | null;
|
|
5244
|
+
readonly external_user_id: string | null;
|
|
5245
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
5246
|
+
}>;
|
|
5247
|
+
};
|
|
3500
5248
|
requests: {
|
|
3501
5249
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
|
|
3502
5250
|
data: Array<{
|
|
@@ -3541,6 +5289,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3541
5289
|
speed?: "standard" | "fast";
|
|
3542
5290
|
settings?: {
|
|
3543
5291
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
5292
|
+
max_output_tokens?: number;
|
|
3544
5293
|
};
|
|
3545
5294
|
};
|
|
3546
5295
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3567,6 +5316,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3567
5316
|
vault_ids: Array<string>;
|
|
3568
5317
|
deployment_id?: null | string;
|
|
3569
5318
|
cwd: string;
|
|
5319
|
+
workspace?: {
|
|
5320
|
+
kind: "shared" | "isolated";
|
|
5321
|
+
path?: string;
|
|
5322
|
+
branch?: string;
|
|
5323
|
+
};
|
|
3570
5324
|
computer_id?: string;
|
|
3571
5325
|
model?: {
|
|
3572
5326
|
id: string;
|
|
@@ -3649,6 +5403,16 @@ export declare function createAgent(transport: Transport): {
|
|
|
3649
5403
|
};
|
|
3650
5404
|
measured_at: string | null;
|
|
3651
5405
|
}>;
|
|
5406
|
+
retrievePromptRevs: (options: import("./core/transport.js").CallOptions<Types.GetSessionPromptRevsData>) => Promise<{
|
|
5407
|
+
run_id: string | null;
|
|
5408
|
+
config_revision_id: string;
|
|
5409
|
+
config_version: number | null;
|
|
5410
|
+
platform: {
|
|
5411
|
+
[key: string]: string;
|
|
5412
|
+
};
|
|
5413
|
+
at: number;
|
|
5414
|
+
reaped_turns: number;
|
|
5415
|
+
}>;
|
|
3652
5416
|
runs: {
|
|
3653
5417
|
deleteFeedback: (options: import("./core/transport.js").CallOptions<Types.DeleteRunFeedbackData>) => Promise<void>;
|
|
3654
5418
|
feedback: {
|
|
@@ -3713,7 +5477,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3713
5477
|
run_id: string | null;
|
|
3714
5478
|
message_id?: string;
|
|
3715
5479
|
} | {
|
|
3716
|
-
full_access_available?: boolean;
|
|
3717
5480
|
id: string;
|
|
3718
5481
|
input: Types.AgentManaged197;
|
|
3719
5482
|
mcp_server_name: string;
|
|
@@ -3723,6 +5486,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
3723
5486
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3724
5487
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3725
5488
|
session_thread_id?: null | string;
|
|
5489
|
+
permission_suggestions?: Array<{
|
|
5490
|
+
type: "add_rules";
|
|
5491
|
+
behavior: "allow";
|
|
5492
|
+
destination: "agent" | "session";
|
|
5493
|
+
rules: Array<{
|
|
5494
|
+
tool_name: string;
|
|
5495
|
+
rule_content: string;
|
|
5496
|
+
}>;
|
|
5497
|
+
}>;
|
|
5498
|
+
full_access_available?: boolean;
|
|
5499
|
+
user_once?: true;
|
|
5500
|
+
guarded_rule?: string;
|
|
3726
5501
|
run_id: string | null;
|
|
3727
5502
|
parent_tool_use_id?: string;
|
|
3728
5503
|
_meta?: {
|
|
@@ -3736,17 +5511,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3736
5511
|
};
|
|
3737
5512
|
};
|
|
3738
5513
|
source?: "app" | "codemode";
|
|
3739
|
-
user_once?: true;
|
|
3740
|
-
guarded_rule?: string;
|
|
3741
|
-
permission_suggestions?: Array<{
|
|
3742
|
-
type: "add_rules";
|
|
3743
|
-
behavior: "allow";
|
|
3744
|
-
destination: "agent" | "session";
|
|
3745
|
-
rules: Array<{
|
|
3746
|
-
tool_name: string;
|
|
3747
|
-
rule_content: string;
|
|
3748
|
-
}>;
|
|
3749
|
-
}>;
|
|
3750
5514
|
title?: string;
|
|
3751
5515
|
input_titles?: {
|
|
3752
5516
|
[key: string]: string;
|
|
@@ -3765,7 +5529,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3765
5529
|
};
|
|
3766
5530
|
source?: "app" | "codemode";
|
|
3767
5531
|
} | {
|
|
3768
|
-
full_access_available?: boolean;
|
|
3769
5532
|
id: string;
|
|
3770
5533
|
input: Types.AgentManaged206;
|
|
3771
5534
|
name: string;
|
|
@@ -3774,9 +5537,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3774
5537
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3775
5538
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3776
5539
|
session_thread_id?: null | string;
|
|
3777
|
-
run_id: string | null;
|
|
3778
|
-
user_once?: true;
|
|
3779
|
-
guarded_rule?: string;
|
|
3780
5540
|
permission_suggestions?: Array<{
|
|
3781
5541
|
type: "add_rules";
|
|
3782
5542
|
behavior: "allow";
|
|
@@ -3786,6 +5546,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3786
5546
|
rule_content: string;
|
|
3787
5547
|
}>;
|
|
3788
5548
|
}>;
|
|
5549
|
+
full_access_available?: boolean;
|
|
5550
|
+
user_once?: true;
|
|
5551
|
+
guarded_rule?: string;
|
|
5552
|
+
run_id: string | null;
|
|
3789
5553
|
} | {
|
|
3790
5554
|
id: string;
|
|
3791
5555
|
processed_at: string;
|
|
@@ -3806,9 +5570,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3806
5570
|
type: "session.status_idle";
|
|
3807
5571
|
run_id: string | null;
|
|
3808
5572
|
} | Types.AgentManaged230 | Types.AgentManaged231 | Types.AgentManaged232 | Types.AgentManaged233 | Types.AgentManaged235 | Types.AgentManaged236 | Types.AgentManaged237 | Types.AgentManaged238 | Types.AgentManaged239 | Types.AgentManaged240 | Types.AgentManaged241 | Types.AgentManaged242 | Types.AgentManaged243 | Types.AgentManaged244 | {
|
|
3809
|
-
permission_mode_version?: number;
|
|
3810
|
-
previous_permission_mode?: string | null;
|
|
3811
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3812
5573
|
id: string;
|
|
3813
5574
|
processed_at: string;
|
|
3814
5575
|
type: "session.updated";
|
|
@@ -3816,6 +5577,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3816
5577
|
budget?: null | Types.AgentManaged76;
|
|
3817
5578
|
metadata?: Types.AgentManaged246;
|
|
3818
5579
|
title?: null | string;
|
|
5580
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
5581
|
+
previous_permission_mode?: string | null;
|
|
5582
|
+
permission_mode_version?: number;
|
|
3819
5583
|
model?: {
|
|
3820
5584
|
id: string;
|
|
3821
5585
|
};
|
|
@@ -3825,6 +5589,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3825
5589
|
processed_at: string;
|
|
3826
5590
|
forked_from_session_id: string;
|
|
3827
5591
|
forked_from_message_id: string;
|
|
5592
|
+
message_id?: string;
|
|
5593
|
+
session_thread_id?: string | null;
|
|
3828
5594
|
} | {
|
|
3829
5595
|
id: string;
|
|
3830
5596
|
type: "session.goal_changed";
|
|
@@ -3855,6 +5621,8 @@ export declare function createAgent(transport: Transport): {
|
|
|
3855
5621
|
created_at: number;
|
|
3856
5622
|
updated_at: number;
|
|
3857
5623
|
} | null;
|
|
5624
|
+
message_id?: string;
|
|
5625
|
+
session_thread_id?: string | null;
|
|
3858
5626
|
} | {
|
|
3859
5627
|
id: string;
|
|
3860
5628
|
type: "session.goal_verification";
|
|
@@ -3869,11 +5637,179 @@ export declare function createAgent(transport: Transport): {
|
|
|
3869
5637
|
reason: string;
|
|
3870
5638
|
next_action?: string;
|
|
3871
5639
|
};
|
|
5640
|
+
message_id?: string;
|
|
5641
|
+
session_thread_id?: string | null;
|
|
3872
5642
|
} | {
|
|
3873
5643
|
id: string;
|
|
3874
5644
|
type: "user.steer";
|
|
3875
5645
|
event_id: string;
|
|
3876
5646
|
processed_at: string;
|
|
5647
|
+
message_id?: string;
|
|
5648
|
+
session_thread_id?: string | null;
|
|
5649
|
+
} | {
|
|
5650
|
+
id: string;
|
|
5651
|
+
type: "cognition.surfaced";
|
|
5652
|
+
processed_at: string;
|
|
5653
|
+
worker_session_id: string;
|
|
5654
|
+
name: string;
|
|
5655
|
+
state: "done" | "waiting" | "failed" | "archived";
|
|
5656
|
+
experience_id?: string;
|
|
5657
|
+
result?: {
|
|
5658
|
+
message?: string;
|
|
5659
|
+
links?: Array<string>;
|
|
5660
|
+
files?: Array<{
|
|
5661
|
+
name?: string;
|
|
5662
|
+
href?: string;
|
|
5663
|
+
}>;
|
|
5664
|
+
held?: Array<{
|
|
5665
|
+
id?: string;
|
|
5666
|
+
summary?: string;
|
|
5667
|
+
effect?: string;
|
|
5668
|
+
method?: string;
|
|
5669
|
+
path?: string;
|
|
5670
|
+
expires_at?: string;
|
|
5671
|
+
}>;
|
|
5672
|
+
};
|
|
5673
|
+
} | {
|
|
5674
|
+
id: string;
|
|
5675
|
+
type: "cognition.intention_woken";
|
|
5676
|
+
processed_at: string;
|
|
5677
|
+
node_id: string;
|
|
5678
|
+
reason: "open_engram" | "assignment";
|
|
5679
|
+
} | {
|
|
5680
|
+
id: string;
|
|
5681
|
+
type: "agent.operation_approval_requested";
|
|
5682
|
+
processed_at: string;
|
|
5683
|
+
approval_id: string;
|
|
5684
|
+
operation_id: string;
|
|
5685
|
+
effect: "outward" | "irreversible";
|
|
5686
|
+
method: string;
|
|
5687
|
+
path: string;
|
|
5688
|
+
summary: string;
|
|
5689
|
+
expires_at: string;
|
|
5690
|
+
worker_session_id?: string;
|
|
5691
|
+
worker_name?: string;
|
|
5692
|
+
} | {
|
|
5693
|
+
id: string;
|
|
5694
|
+
type: "agent.operation_approval_decided";
|
|
5695
|
+
processed_at: string;
|
|
5696
|
+
approval_id: string;
|
|
5697
|
+
status: "approved" | "refused" | "expired";
|
|
5698
|
+
} | {
|
|
5699
|
+
id: string;
|
|
5700
|
+
type: "session.prompt_configuration_mismatch";
|
|
5701
|
+
processed_at: string;
|
|
5702
|
+
pinned_revision_id: string;
|
|
5703
|
+
current_revision_id: string;
|
|
5704
|
+
} | {
|
|
5705
|
+
id: string;
|
|
5706
|
+
type: "session.prompt_rev_changed";
|
|
5707
|
+
processed_at: string;
|
|
5708
|
+
config_revision_id: string;
|
|
5709
|
+
changed: Array<{
|
|
5710
|
+
name: string;
|
|
5711
|
+
rev: string | null;
|
|
5712
|
+
}>;
|
|
5713
|
+
} | {
|
|
5714
|
+
id: string;
|
|
5715
|
+
type: "session.computer_tier";
|
|
5716
|
+
processed_at: string;
|
|
5717
|
+
action: "escalating" | "escalated" | "escalate_failed" | "rerun" | "status";
|
|
5718
|
+
tier: "light" | "heavy";
|
|
5719
|
+
duration_ms: number;
|
|
5720
|
+
error_code?: string;
|
|
5721
|
+
status?: {
|
|
5722
|
+
kind?: "light_idle" | "light_busy" | "escalating" | "heavy_burst" | "heavy_resident" | "releasing" | "heavy_parked" | "cooldown";
|
|
5723
|
+
step?: "prepare" | "scan" | "sync" | "switch" | "drain" | "pull" | "verify" | "pause";
|
|
5724
|
+
percent?: number;
|
|
5725
|
+
files_done?: number;
|
|
5726
|
+
files_total?: number;
|
|
5727
|
+
idle_release_at?: number;
|
|
5728
|
+
retry_at?: number;
|
|
5729
|
+
epoch?: number;
|
|
5730
|
+
heavy_instance?: string | null;
|
|
5731
|
+
heavy_paused?: boolean;
|
|
5732
|
+
};
|
|
5733
|
+
} | {
|
|
5734
|
+
id: string;
|
|
5735
|
+
type: "agent.artifact_delivered";
|
|
5736
|
+
processed_at: string;
|
|
5737
|
+
artifact: {
|
|
5738
|
+
object: "artifact";
|
|
5739
|
+
id: string;
|
|
5740
|
+
session_id: string;
|
|
5741
|
+
run_id: string | null;
|
|
5742
|
+
name: string;
|
|
5743
|
+
version: number;
|
|
5744
|
+
parts: Array<{
|
|
5745
|
+
[key: string]: unknown;
|
|
5746
|
+
}>;
|
|
5747
|
+
source_hrefs: Array<string>;
|
|
5748
|
+
create_time: string;
|
|
5749
|
+
update_time: string;
|
|
5750
|
+
};
|
|
5751
|
+
} | {
|
|
5752
|
+
id: string;
|
|
5753
|
+
type: "agent.image_generation";
|
|
5754
|
+
processed_at: string;
|
|
5755
|
+
tool_use_id: string;
|
|
5756
|
+
index: number;
|
|
5757
|
+
total: number;
|
|
5758
|
+
status: string;
|
|
5759
|
+
mode?: string;
|
|
5760
|
+
aspect?: string;
|
|
5761
|
+
prompt?: string;
|
|
5762
|
+
model?: string;
|
|
5763
|
+
file_id?: string;
|
|
5764
|
+
label?: string;
|
|
5765
|
+
width?: number;
|
|
5766
|
+
height?: number;
|
|
5767
|
+
revised_prompt?: string;
|
|
5768
|
+
source_labels?: Array<string>;
|
|
5769
|
+
caption?: string;
|
|
5770
|
+
slot?: number | null;
|
|
5771
|
+
replaces?: string;
|
|
5772
|
+
version?: number;
|
|
5773
|
+
failure?: {
|
|
5774
|
+
reason?: string;
|
|
5775
|
+
};
|
|
5776
|
+
} | {
|
|
5777
|
+
id: string;
|
|
5778
|
+
type: "session.image_labeled";
|
|
5779
|
+
processed_at: string;
|
|
5780
|
+
label: string;
|
|
5781
|
+
file_id: string;
|
|
5782
|
+
origin: "generated" | "uploaded";
|
|
5783
|
+
filename: string;
|
|
5784
|
+
tool_use_id?: string;
|
|
5785
|
+
version?: number;
|
|
5786
|
+
replaced_file_id?: string;
|
|
5787
|
+
} | {
|
|
5788
|
+
id: string;
|
|
5789
|
+
type: "session.image_set_planned";
|
|
5790
|
+
processed_at: string;
|
|
5791
|
+
tool_use_id: string;
|
|
5792
|
+
items: Array<unknown>;
|
|
5793
|
+
title?: string;
|
|
5794
|
+
} | {
|
|
5795
|
+
id: string;
|
|
5796
|
+
type: "session.project_attached";
|
|
5797
|
+
processed_at: string;
|
|
5798
|
+
project: {
|
|
5799
|
+
id: string;
|
|
5800
|
+
name: string;
|
|
5801
|
+
path: string;
|
|
5802
|
+
};
|
|
5803
|
+
message_id?: string;
|
|
5804
|
+
session_thread_id?: string | null;
|
|
5805
|
+
} | {
|
|
5806
|
+
id: string;
|
|
5807
|
+
type: "session.project_detached";
|
|
5808
|
+
processed_at: string;
|
|
5809
|
+
project_id: string;
|
|
5810
|
+
reason?: "project_removed";
|
|
5811
|
+
message_id?: string;
|
|
5812
|
+
session_thread_id?: string | null;
|
|
3877
5813
|
}>;
|
|
3878
5814
|
next_page: string | null;
|
|
3879
5815
|
}>;
|
|
@@ -3906,6 +5842,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3906
5842
|
speed?: "standard" | "fast";
|
|
3907
5843
|
settings?: {
|
|
3908
5844
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
5845
|
+
max_output_tokens?: number;
|
|
3909
5846
|
};
|
|
3910
5847
|
};
|
|
3911
5848
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3932,6 +5869,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3932
5869
|
vault_ids: Array<string>;
|
|
3933
5870
|
deployment_id?: null | string;
|
|
3934
5871
|
cwd: string;
|
|
5872
|
+
workspace?: {
|
|
5873
|
+
kind: "shared" | "isolated";
|
|
5874
|
+
path?: string;
|
|
5875
|
+
branch?: string;
|
|
5876
|
+
};
|
|
3935
5877
|
computer_id?: string;
|
|
3936
5878
|
model?: {
|
|
3937
5879
|
id: string;
|
|
@@ -3996,6 +5938,29 @@ export declare function createAgent(transport: Transport): {
|
|
|
3996
5938
|
next_page: null;
|
|
3997
5939
|
}>;
|
|
3998
5940
|
};
|
|
5941
|
+
uploads: {
|
|
5942
|
+
contentUrl: {
|
|
5943
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
|
|
5944
|
+
url: string;
|
|
5945
|
+
expires_at: string;
|
|
5946
|
+
}>;
|
|
5947
|
+
};
|
|
5948
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
|
|
5949
|
+
upload_id: string;
|
|
5950
|
+
expires_at: string;
|
|
5951
|
+
url: string;
|
|
5952
|
+
} | {
|
|
5953
|
+
upload_id: string;
|
|
5954
|
+
expires_at: string;
|
|
5955
|
+
part_size: number;
|
|
5956
|
+
parts: Array<{
|
|
5957
|
+
part_number: number;
|
|
5958
|
+
url: string;
|
|
5959
|
+
}>;
|
|
5960
|
+
complete_url: string;
|
|
5961
|
+
status_url: string;
|
|
5962
|
+
}>;
|
|
5963
|
+
};
|
|
3999
5964
|
};
|
|
4000
5965
|
export declare function createApplication(transport: Transport): {
|
|
4001
5966
|
assets: {
|
|
@@ -4260,6 +6225,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
4260
6225
|
};
|
|
4261
6226
|
};
|
|
4262
6227
|
};
|
|
6228
|
+
export declare function createBilling(transport: Transport): {
|
|
6229
|
+
prices: {
|
|
6230
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
|
|
6231
|
+
};
|
|
6232
|
+
};
|
|
4263
6233
|
export declare function createBrowser(transport: Transport): {
|
|
4264
6234
|
connect: {
|
|
4265
6235
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -4319,6 +6289,11 @@ export declare function createBrowser(transport: Transport): {
|
|
|
4319
6289
|
type: "evaluate";
|
|
4320
6290
|
tab: string;
|
|
4321
6291
|
value: unknown;
|
|
6292
|
+
} | {
|
|
6293
|
+
type: "set_cookie";
|
|
6294
|
+
tab: string;
|
|
6295
|
+
name: string;
|
|
6296
|
+
domain: string;
|
|
4322
6297
|
}>;
|
|
4323
6298
|
};
|
|
4324
6299
|
create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
|
|
@@ -4357,10 +6332,18 @@ export declare function createCanvas(transport: Transport): {
|
|
|
4357
6332
|
images: {
|
|
4358
6333
|
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListImagesData>) => Promise<Types.CanvasImagesResult>;
|
|
4359
6334
|
};
|
|
6335
|
+
imports: {
|
|
6336
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CanvasSetImportData>) => Promise<Types.CanvasSetImportResult>;
|
|
6337
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CanvasDeleteImportData>) => Promise<Types.CanvasDeleteImportResult>;
|
|
6338
|
+
};
|
|
6339
|
+
libraryVersions: {
|
|
6340
|
+
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListLibraryVersionsData>) => Promise<Types.CanvasLibraryVersionPage>;
|
|
6341
|
+
};
|
|
4360
6342
|
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListCanvasesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasCanvas>>;
|
|
4361
6343
|
nodes: {
|
|
4362
6344
|
list: (options: import("./core/transport.js").CallOptions<Types.CanvasListNodesData>) => Promise<Types.CanvasNodesResult>;
|
|
4363
6345
|
};
|
|
6346
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.CanvasPublishLibraryData>) => Promise<Types.CanvasPublishLibraryResult>;
|
|
4364
6347
|
restore: (options: import("./core/transport.js").CallOptions<Types.CanvasRestoreCanvasData>) => Promise<Types.CanvasRestoreResult>;
|
|
4365
6348
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCanvasData>) => Promise<Types.CanvasCanvasDetail>;
|
|
4366
6349
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCanvasData>) => Promise<Types.CanvasCanvas>;
|
|
@@ -4375,6 +6358,27 @@ export declare function createCanvas(transport: Transport): {
|
|
|
4375
6358
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.CanvasRetrieveCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4376
6359
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4377
6360
|
};
|
|
6361
|
+
libraries: {
|
|
6362
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CanvasListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.CanvasLibrarySummary>>;
|
|
6363
|
+
};
|
|
6364
|
+
};
|
|
6365
|
+
export declare function createContent(transport: Transport): {
|
|
6366
|
+
contents: {
|
|
6367
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
|
|
6368
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
|
|
6369
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
|
|
6370
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
|
|
6371
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
|
|
6372
|
+
unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
|
|
6373
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
|
|
6374
|
+
};
|
|
6375
|
+
playbackSessions: {
|
|
6376
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
|
|
6377
|
+
};
|
|
6378
|
+
versions: {
|
|
6379
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
|
|
6380
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
|
|
6381
|
+
};
|
|
4378
6382
|
};
|
|
4379
6383
|
export declare function createCrm(transport: Transport): {
|
|
4380
6384
|
associations: {
|
|
@@ -4436,6 +6440,33 @@ export declare function createCrm(transport: Transport): {
|
|
|
4436
6440
|
list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
|
|
4437
6441
|
};
|
|
4438
6442
|
};
|
|
6443
|
+
export declare function createCustomer(transport: Transport): {
|
|
6444
|
+
accessTokens: {
|
|
6445
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
|
|
6446
|
+
renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
|
|
6447
|
+
revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
|
|
6448
|
+
};
|
|
6449
|
+
customers: {
|
|
6450
|
+
block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
6451
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
|
|
6452
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
|
|
6453
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
6454
|
+
revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
|
|
6455
|
+
unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
6456
|
+
};
|
|
6457
|
+
grantCodes: {
|
|
6458
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
|
|
6459
|
+
};
|
|
6460
|
+
publishableKeys: {
|
|
6461
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
|
|
6462
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
|
|
6463
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
|
|
6464
|
+
update: (options: import("./core/transport.js").CallOptions<Types.CustomerUpdatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
|
|
6465
|
+
};
|
|
6466
|
+
usage: {
|
|
6467
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
|
|
6468
|
+
};
|
|
6469
|
+
};
|
|
4439
6470
|
export declare function createCut(transport: Transport): {
|
|
4440
6471
|
exports: {
|
|
4441
6472
|
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
@@ -4488,15 +6519,40 @@ export declare function createCut(transport: Transport): {
|
|
|
4488
6519
|
};
|
|
4489
6520
|
export declare function createDatabase(transport: Transport): {
|
|
4490
6521
|
databases: {
|
|
6522
|
+
commands: {
|
|
6523
|
+
/** @deprecated use praxis.database.kv.commands.execute instead; this path stops working on 2027-03-01. */
|
|
6524
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseExecuteCommandData>) => Promise<{
|
|
6525
|
+
result: unknown;
|
|
6526
|
+
}>;
|
|
6527
|
+
};
|
|
6528
|
+
/** @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. */
|
|
4491
6529
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6530
|
+
/** @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. */
|
|
4492
6531
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
4493
6532
|
events: {
|
|
6533
|
+
/** @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. */
|
|
4494
6534
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListEventsData>) => Promise<Types.DatabasePage & {
|
|
4495
6535
|
data: Array<Types.DatabaseDatabaseEvent>;
|
|
4496
6536
|
}>;
|
|
4497
6537
|
};
|
|
6538
|
+
keys: {
|
|
6539
|
+
/** @deprecated use praxis.database.kv.keys.delete instead; this path stops working on 2027-03-01. */
|
|
6540
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKeyData>) => Promise<{
|
|
6541
|
+
deleted: boolean;
|
|
6542
|
+
}>;
|
|
6543
|
+
/** @deprecated use praxis.database.kv.keys.list instead; this path stops working on 2027-03-01. */
|
|
6544
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6545
|
+
/** @deprecated use praxis.database.kv.keys.retrieve instead; this path stops working on 2027-03-01. */
|
|
6546
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6547
|
+
/** @deprecated use praxis.database.kv.keys.set instead; this path stops working on 2027-03-01. */
|
|
6548
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6549
|
+
/** @deprecated use praxis.database.kv.keys.update instead; this path stops working on 2027-03-01. */
|
|
6550
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6551
|
+
};
|
|
6552
|
+
/** @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. */
|
|
4498
6553
|
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
4499
6554
|
purge: {
|
|
6555
|
+
/** @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. */
|
|
4500
6556
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeDatabaseData>) => Promise<{
|
|
4501
6557
|
id: string;
|
|
4502
6558
|
object: "database";
|
|
@@ -4504,37 +6560,132 @@ export declare function createDatabase(transport: Transport): {
|
|
|
4504
6560
|
}>;
|
|
4505
6561
|
};
|
|
4506
6562
|
rest: {
|
|
6563
|
+
/** @deprecated use praxis.database.table.rest.create instead; this path stops working on 2027-03-01. */
|
|
4507
6564
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6565
|
+
/** @deprecated use praxis.database.table.rest.delete instead; this path stops working on 2027-03-01. */
|
|
4508
6566
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6567
|
+
/** @deprecated use praxis.database.table.rest.head instead; this path stops working on 2027-03-01. */
|
|
4509
6568
|
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseHeadData>) => Promise<unknown>;
|
|
6569
|
+
/** @deprecated use praxis.database.table.rest.retrieve instead; this path stops working on 2027-03-01. */
|
|
4510
6570
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6571
|
+
/** @deprecated use praxis.database.table.rest.update instead; this path stops working on 2027-03-01. */
|
|
4511
6572
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
4512
6573
|
};
|
|
6574
|
+
/** @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. */
|
|
4513
6575
|
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6576
|
+
/** @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. */
|
|
4514
6577
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
4515
6578
|
tables: {
|
|
6579
|
+
/** @deprecated use praxis.database.table.tables.create instead; this path stops working on 2027-03-01. */
|
|
4516
6580
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6581
|
+
/** @deprecated use praxis.database.table.tables.delete instead; this path stops working on 2027-03-01. */
|
|
4517
6582
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableData>) => Promise<{
|
|
4518
6583
|
deleted: true;
|
|
4519
6584
|
}>;
|
|
4520
6585
|
fields: {
|
|
6586
|
+
/** @deprecated use praxis.database.table.tables.fields.create instead; this path stops working on 2027-03-01. */
|
|
4521
6587
|
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6588
|
+
/** @deprecated use praxis.database.table.tables.fields.delete instead; this path stops working on 2027-03-01. */
|
|
4522
6589
|
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6590
|
+
/** @deprecated use praxis.database.table.tables.fields.update instead; this path stops working on 2027-03-01. */
|
|
4523
6591
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
4524
6592
|
};
|
|
6593
|
+
/** @deprecated use praxis.database.table.tables.list instead; this path stops working on 2027-03-01. */
|
|
4525
6594
|
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseListTablesData>) => Promise<Types.DatabasePage & {
|
|
4526
6595
|
data: Array<Types.DatabaseTable>;
|
|
4527
6596
|
}>;
|
|
6597
|
+
/** @deprecated use praxis.database.table.tables.retrieve instead; this path stops working on 2027-03-01. */
|
|
4528
6598
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6599
|
+
/** @deprecated use praxis.database.table.tables.update instead; this path stops working on 2027-03-01. */
|
|
4529
6600
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
4530
6601
|
};
|
|
6602
|
+
/** @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. */
|
|
4531
6603
|
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
4532
6604
|
};
|
|
6605
|
+
kv: {
|
|
6606
|
+
commands: {
|
|
6607
|
+
execute: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvExecuteCommandData>) => Promise<{
|
|
6608
|
+
result: unknown;
|
|
6609
|
+
}>;
|
|
6610
|
+
};
|
|
6611
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6612
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6613
|
+
events: {
|
|
6614
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListEventsData>) => Promise<Types.DatabasePage & {
|
|
6615
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6616
|
+
}>;
|
|
6617
|
+
};
|
|
6618
|
+
keys: {
|
|
6619
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvDeleteKeyData>) => Promise<{
|
|
6620
|
+
deleted: boolean;
|
|
6621
|
+
}>;
|
|
6622
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvListKeysData>) => Promise<import("./automation.js").Page<Types.DatabaseKeySummary>>;
|
|
6623
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvGetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6624
|
+
set: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvSetKeyData>) => Promise<Types.DatabaseKey>;
|
|
6625
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseKvUpdateKeyData>) => Promise<Types.DatabaseKey>;
|
|
6626
|
+
};
|
|
6627
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListKvDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6628
|
+
purge: {
|
|
6629
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeKvDatabaseData>) => Promise<{
|
|
6630
|
+
id: string;
|
|
6631
|
+
object: "database";
|
|
6632
|
+
purged: true;
|
|
6633
|
+
}>;
|
|
6634
|
+
};
|
|
6635
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6636
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6637
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateKvDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6638
|
+
};
|
|
6639
|
+
table: {
|
|
6640
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseCreateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6641
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseDeleteTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6642
|
+
events: {
|
|
6643
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListEventsData>) => Promise<Types.DatabasePage & {
|
|
6644
|
+
data: Array<Types.DatabaseDatabaseEvent>;
|
|
6645
|
+
}>;
|
|
6646
|
+
};
|
|
6647
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DatabaseListTableDatabasesData> | undefined) => Promise<import("./automation.js").Page<Types.DatabaseDatabase>>;
|
|
6648
|
+
purge: {
|
|
6649
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabasePurgeTableDatabaseData>) => Promise<{
|
|
6650
|
+
id: string;
|
|
6651
|
+
object: "database";
|
|
6652
|
+
purged: true;
|
|
6653
|
+
}>;
|
|
6654
|
+
};
|
|
6655
|
+
rest: {
|
|
6656
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableInsertData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6657
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6658
|
+
head: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableHeadData>) => Promise<unknown>;
|
|
6659
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableSelectData>) => Promise<(Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6660
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateData>) => Promise<void | (Types.DatabaseRow | Types.DatabaseProjectedRow)[]>;
|
|
6661
|
+
};
|
|
6662
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.DatabaseRestoreTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6663
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseGetTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6664
|
+
tables: {
|
|
6665
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableCreateTableData>) => Promise<Types.DatabaseTable>;
|
|
6666
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteTableData>) => Promise<{
|
|
6667
|
+
deleted: true;
|
|
6668
|
+
}>;
|
|
6669
|
+
fields: {
|
|
6670
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableAddFieldData>) => Promise<Types.DatabaseTable>;
|
|
6671
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableDeleteFieldData>) => Promise<Types.DatabaseTable>;
|
|
6672
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateFieldData>) => Promise<Types.DatabaseTable>;
|
|
6673
|
+
};
|
|
6674
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableListTablesData>) => Promise<Types.DatabasePage & {
|
|
6675
|
+
data: Array<Types.DatabaseTable>;
|
|
6676
|
+
}>;
|
|
6677
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableGetTableData>) => Promise<Types.DatabaseTable>;
|
|
6678
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseTableUpdateTableData>) => Promise<Types.DatabaseTable>;
|
|
6679
|
+
};
|
|
6680
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DatabaseUpdateTableDatabaseData>) => Promise<Types.DatabaseDatabase>;
|
|
6681
|
+
};
|
|
4533
6682
|
};
|
|
4534
6683
|
export declare function createDevops(transport: Transport): {
|
|
4535
6684
|
changes: {
|
|
4536
6685
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
|
|
6686
|
+
gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
|
|
4537
6687
|
markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
|
|
6688
|
+
openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
|
|
4538
6689
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
|
|
4539
6690
|
};
|
|
4540
6691
|
connections: {
|
|
@@ -4574,6 +6725,13 @@ export declare function createDevops(transport: Transport): {
|
|
|
4574
6725
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
4575
6726
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
4576
6727
|
};
|
|
6728
|
+
cleanups: {
|
|
6729
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
|
|
6730
|
+
};
|
|
6731
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
|
|
6732
|
+
defaultBranch: {
|
|
6733
|
+
initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
|
|
6734
|
+
};
|
|
4577
6735
|
environments: {
|
|
4578
6736
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
4579
6737
|
targets: {
|
|
@@ -4606,6 +6764,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
4606
6764
|
};
|
|
4607
6765
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
|
|
4608
6766
|
retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
|
|
6767
|
+
retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
|
|
4609
6768
|
segments: {
|
|
4610
6769
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
|
|
4611
6770
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
|
|
@@ -4645,6 +6804,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
4645
6804
|
promotions: {
|
|
4646
6805
|
approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
|
|
4647
6806
|
cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
|
|
6807
|
+
checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
|
|
4648
6808
|
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
|
|
4649
6809
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
|
|
4650
6810
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
|
|
@@ -4654,10 +6814,14 @@ export declare function createDevops(transport: Transport): {
|
|
|
4654
6814
|
};
|
|
4655
6815
|
};
|
|
4656
6816
|
pullRequests: {
|
|
6817
|
+
close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
|
|
4657
6818
|
merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
|
|
4658
6819
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
4659
6820
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
4660
6821
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
|
|
6822
|
+
reviews: {
|
|
6823
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
|
|
6824
|
+
};
|
|
4661
6825
|
};
|
|
4662
6826
|
releases: {
|
|
4663
6827
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
@@ -4803,6 +6967,10 @@ export declare function createMedia(transport: Transport): {
|
|
|
4803
6967
|
frames: {
|
|
4804
6968
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
|
|
4805
6969
|
};
|
|
6970
|
+
hls: {
|
|
6971
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
6972
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
6973
|
+
};
|
|
4806
6974
|
import: {
|
|
4807
6975
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
|
|
4808
6976
|
};
|
|
@@ -4869,10 +7037,56 @@ export declare function createMedia(transport: Transport): {
|
|
|
4869
7037
|
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
4870
7038
|
};
|
|
4871
7039
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
7040
|
+
voices: {
|
|
7041
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
|
|
7042
|
+
designs: {
|
|
7043
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
|
|
7044
|
+
};
|
|
7045
|
+
};
|
|
7046
|
+
};
|
|
7047
|
+
pipelines: {
|
|
7048
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
7049
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaPipelineData>) => Promise<Types.MediaPipelineDeleted>;
|
|
7050
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaPipelinesData> | undefined) => Promise<Types.MediaPipelineList>;
|
|
7051
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
7052
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaPipelineData>) => Promise<Types.MediaPipeline>;
|
|
4872
7053
|
};
|
|
4873
7054
|
speech: {
|
|
4874
7055
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
|
|
4875
7056
|
};
|
|
7057
|
+
streams: {
|
|
7058
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamData>) => Promise<Types.MediaStreamWithPush>;
|
|
7059
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamData>) => Promise<Types.MediaStreamDeleted>;
|
|
7060
|
+
disable: {
|
|
7061
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisableMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7062
|
+
};
|
|
7063
|
+
enable: {
|
|
7064
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EnableMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7065
|
+
};
|
|
7066
|
+
events: {
|
|
7067
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamEventsData>) => Promise<Types.MediaStreamEventList>;
|
|
7068
|
+
};
|
|
7069
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListMediaStreamsData> | undefined) => Promise<Types.MediaStreamList>;
|
|
7070
|
+
outputs: {
|
|
7071
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamOutputData>) => Promise<Types.MediaStreamOutput>;
|
|
7072
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteMediaStreamOutputData>) => Promise<Types.MediaStreamOutputDeleted>;
|
|
7073
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListMediaStreamOutputsData>) => Promise<Types.MediaStreamOutputList>;
|
|
7074
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamOutputData>) => Promise<Types.MediaStreamOutput>;
|
|
7075
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamOutputData>) => Promise<Types.MediaStreamOutput>;
|
|
7076
|
+
};
|
|
7077
|
+
playbackToken: {
|
|
7078
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamPlaybackData>) => Promise<Types.MediaStreamPlayback>;
|
|
7079
|
+
};
|
|
7080
|
+
resetToken: {
|
|
7081
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ResetMediaStreamTokenData>) => Promise<Types.MediaStreamWithPush>;
|
|
7082
|
+
};
|
|
7083
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7084
|
+
retrievePlaylist: (options: import("./core/transport.js").CallOptions<Types.GetMediaStreamLivePlaylistData>) => Promise<string>;
|
|
7085
|
+
subscribeToken: {
|
|
7086
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateMediaStreamSubscriptionData>) => Promise<Types.MediaStreamSubscription>;
|
|
7087
|
+
};
|
|
7088
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateMediaStreamData>) => Promise<Types.MediaStream>;
|
|
7089
|
+
};
|
|
4876
7090
|
videos: {
|
|
4877
7091
|
generate: (options: import("./core/transport.js").CallOptions<Types.MediaGenerateVideoData>) => Promise<Types.MediaJob>;
|
|
4878
7092
|
};
|
|
@@ -5392,6 +7606,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5392
7606
|
unsigned_urls: Array<string>;
|
|
5393
7607
|
usage?: {
|
|
5394
7608
|
cost: number;
|
|
7609
|
+
billed_seconds?: number;
|
|
5395
7610
|
};
|
|
5396
7611
|
}>;
|
|
5397
7612
|
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
|
|
@@ -5422,6 +7637,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5422
7637
|
unsigned_urls: Array<string>;
|
|
5423
7638
|
usage?: {
|
|
5424
7639
|
cost: number;
|
|
7640
|
+
billed_seconds?: number;
|
|
5425
7641
|
};
|
|
5426
7642
|
}>;
|
|
5427
7643
|
has_more: boolean;
|
|
@@ -5450,6 +7666,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5450
7666
|
unsigned_urls: Array<string>;
|
|
5451
7667
|
usage?: {
|
|
5452
7668
|
cost: number;
|
|
7669
|
+
billed_seconds?: number;
|
|
5453
7670
|
};
|
|
5454
7671
|
}>;
|
|
5455
7672
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
|
|
@@ -5487,23 +7704,6 @@ export declare function createOntology(transport: Transport): {
|
|
|
5487
7704
|
};
|
|
5488
7705
|
};
|
|
5489
7706
|
export declare function createOrganization(transport: Transport): {
|
|
5490
|
-
actors: {
|
|
5491
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
5492
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
5493
|
-
};
|
|
5494
|
-
assignments: {
|
|
5495
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
5496
|
-
makePrimary: {
|
|
5497
|
-
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
5498
|
-
};
|
|
5499
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
5500
|
-
terminate: {
|
|
5501
|
-
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
5502
|
-
};
|
|
5503
|
-
transfer: {
|
|
5504
|
-
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
5505
|
-
};
|
|
5506
|
-
};
|
|
5507
7707
|
charges: {
|
|
5508
7708
|
list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
|
|
5509
7709
|
ChargePeriodStart: string;
|
|
@@ -5545,16 +7745,6 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5545
7745
|
next_page: string | null;
|
|
5546
7746
|
}>;
|
|
5547
7747
|
};
|
|
5548
|
-
departments: {
|
|
5549
|
-
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
5550
|
-
dissolve: {
|
|
5551
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
5552
|
-
};
|
|
5553
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
5554
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
5555
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
5556
|
-
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
5557
|
-
};
|
|
5558
7748
|
events: {
|
|
5559
7749
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
5560
7750
|
object: "page";
|
|
@@ -5739,44 +7929,23 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5739
7929
|
last_message_time: string;
|
|
5740
7930
|
unread: boolean;
|
|
5741
7931
|
create_time: string;
|
|
5742
|
-
update_time: string;
|
|
5743
|
-
reporter?: {
|
|
5744
|
-
type?: "user" | "api_key" | "agent_session";
|
|
5745
|
-
};
|
|
5746
|
-
last_message_preview?: {
|
|
5747
|
-
author_kind?: "customer" | "staff" | "system";
|
|
5748
|
-
body?: string;
|
|
5749
|
-
create_time?: string;
|
|
5750
|
-
} | null;
|
|
5751
|
-
attachments: Array<{
|
|
5752
|
-
id?: string;
|
|
5753
|
-
name?: string;
|
|
5754
|
-
content_type?: string;
|
|
5755
|
-
size?: number;
|
|
5756
|
-
create_time?: string;
|
|
5757
|
-
}>;
|
|
5758
|
-
}>;
|
|
5759
|
-
};
|
|
5760
|
-
jobs: {
|
|
5761
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
5762
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
5763
|
-
retire: {
|
|
5764
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
5765
|
-
};
|
|
5766
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
5767
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
5768
|
-
};
|
|
5769
|
-
keyResults: {
|
|
5770
|
-
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
5771
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
5772
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
5773
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
5774
|
-
};
|
|
5775
|
-
ladders: {
|
|
5776
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
5777
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
5778
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
5779
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7932
|
+
update_time: string;
|
|
7933
|
+
reporter?: {
|
|
7934
|
+
type?: "user" | "api_key" | "agent_session";
|
|
7935
|
+
};
|
|
7936
|
+
last_message_preview?: {
|
|
7937
|
+
author_kind?: "customer" | "staff" | "system";
|
|
7938
|
+
body?: string;
|
|
7939
|
+
create_time?: string;
|
|
7940
|
+
} | null;
|
|
7941
|
+
attachments: Array<{
|
|
7942
|
+
id?: string;
|
|
7943
|
+
name?: string;
|
|
7944
|
+
content_type?: string;
|
|
7945
|
+
size?: number;
|
|
7946
|
+
create_time?: string;
|
|
7947
|
+
}>;
|
|
7948
|
+
}>;
|
|
5780
7949
|
};
|
|
5781
7950
|
members: {
|
|
5782
7951
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
|
|
@@ -5791,51 +7960,109 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5791
7960
|
next_page: string | null;
|
|
5792
7961
|
}>;
|
|
5793
7962
|
};
|
|
5794
|
-
|
|
5795
|
-
|
|
5796
|
-
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
5800
|
-
parents: {
|
|
5801
|
-
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
5802
|
-
};
|
|
5803
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
5804
|
-
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
5805
|
-
};
|
|
5806
|
-
periods: {
|
|
5807
|
-
close: {
|
|
5808
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
5809
|
-
};
|
|
5810
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
5811
|
-
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
5812
|
-
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
5813
|
-
};
|
|
5814
|
-
positions: {
|
|
5815
|
-
close: {
|
|
5816
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
5817
|
-
};
|
|
5818
|
-
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
5819
|
-
designateHead: {
|
|
5820
|
-
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
5821
|
-
};
|
|
5822
|
-
freeze: {
|
|
5823
|
-
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7963
|
+
notifications: {
|
|
7964
|
+
deliveries: {
|
|
7965
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationDeliveriesData> | undefined) => Promise<{
|
|
7966
|
+
[key: string]: unknown;
|
|
7967
|
+
}>;
|
|
5824
7968
|
};
|
|
5825
|
-
|
|
5826
|
-
|
|
7969
|
+
letters: {
|
|
7970
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ArchiveOrganizationNotificationLetterData>) => Promise<{
|
|
7971
|
+
unread: number;
|
|
7972
|
+
}>;
|
|
7973
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
7974
|
+
letters: Array<{
|
|
7975
|
+
id: string;
|
|
7976
|
+
sender: string;
|
|
7977
|
+
summary: string;
|
|
7978
|
+
body: string;
|
|
7979
|
+
thread: string;
|
|
7980
|
+
kind: "notice" | "mention" | "decision";
|
|
7981
|
+
source: {
|
|
7982
|
+
[key: string]: unknown;
|
|
7983
|
+
};
|
|
7984
|
+
read: boolean;
|
|
7985
|
+
deliveredAt: string;
|
|
7986
|
+
createTime: string;
|
|
7987
|
+
reason: string;
|
|
7988
|
+
archived: boolean;
|
|
7989
|
+
organization: {
|
|
7990
|
+
id: string;
|
|
7991
|
+
slug: string;
|
|
7992
|
+
name: string;
|
|
7993
|
+
};
|
|
7994
|
+
}>;
|
|
7995
|
+
nextCursor: string;
|
|
7996
|
+
unread: number;
|
|
7997
|
+
}>;
|
|
7998
|
+
read: (options: import("./core/transport.js").CallOptions<Types.ReadOrganizationNotificationLetterData>) => Promise<{
|
|
7999
|
+
unread: number;
|
|
8000
|
+
}>;
|
|
8001
|
+
readAll: (options?: import("./core/transport.js").CallOptions<Types.ReadAllOrganizationNotificationLettersData> | undefined) => Promise<{
|
|
8002
|
+
unread: number;
|
|
8003
|
+
}>;
|
|
8004
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationLetterData>) => Promise<{
|
|
8005
|
+
id: string;
|
|
8006
|
+
sender: string;
|
|
8007
|
+
summary: string;
|
|
8008
|
+
body: string;
|
|
8009
|
+
thread: string;
|
|
8010
|
+
kind: "notice" | "mention" | "decision";
|
|
8011
|
+
source: {
|
|
8012
|
+
[key: string]: unknown;
|
|
8013
|
+
};
|
|
8014
|
+
read: boolean;
|
|
8015
|
+
deliveredAt: string;
|
|
8016
|
+
createTime: string;
|
|
8017
|
+
reason: string;
|
|
8018
|
+
archived: boolean;
|
|
8019
|
+
organization: {
|
|
8020
|
+
id: string;
|
|
8021
|
+
slug: string;
|
|
8022
|
+
name: string;
|
|
8023
|
+
};
|
|
8024
|
+
}>;
|
|
5827
8025
|
};
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
|
|
8026
|
+
organizationDefault: {
|
|
8027
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationDefaultsData>) => Promise<{
|
|
8028
|
+
[key: string]: unknown;
|
|
8029
|
+
}>;
|
|
5831
8030
|
};
|
|
5832
|
-
|
|
5833
|
-
|
|
5834
|
-
|
|
8031
|
+
preferences: {
|
|
8032
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateOrganizationNotificationPreferencesData>) => Promise<{
|
|
8033
|
+
[key: string]: unknown;
|
|
8034
|
+
}>;
|
|
8035
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationPreferencesData> | undefined) => Promise<{
|
|
8036
|
+
name: string;
|
|
8037
|
+
workflows: {
|
|
8038
|
+
[key: string]: unknown;
|
|
8039
|
+
};
|
|
8040
|
+
channelOptOuts?: Array<"in_app" | "email" | "sms">;
|
|
8041
|
+
updateTime?: string;
|
|
8042
|
+
catalog: Array<{
|
|
8043
|
+
workflow: string;
|
|
8044
|
+
group: string;
|
|
8045
|
+
title: string;
|
|
8046
|
+
description?: string;
|
|
8047
|
+
severity: "high" | "medium" | "low" | "none";
|
|
8048
|
+
critical: boolean;
|
|
8049
|
+
channels: Array<string>;
|
|
8050
|
+
}>;
|
|
8051
|
+
organization: {
|
|
8052
|
+
[key: string]: unknown;
|
|
8053
|
+
};
|
|
8054
|
+
effective: {
|
|
8055
|
+
[key: string]: unknown;
|
|
8056
|
+
};
|
|
8057
|
+
}>;
|
|
5835
8058
|
};
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
8059
|
+
retrieveInbox: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationsInboxData> | undefined) => Promise<{
|
|
8060
|
+
unreadCount: number;
|
|
8061
|
+
unseenCount: number;
|
|
8062
|
+
}>;
|
|
8063
|
+
retrieveOrganizationDefault: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationNotificationDefaultsData> | undefined) => Promise<{
|
|
8064
|
+
[key: string]: unknown;
|
|
8065
|
+
}>;
|
|
5839
8066
|
};
|
|
5840
8067
|
usage: {
|
|
5841
8068
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
@@ -5860,13 +8087,163 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5860
8087
|
}>;
|
|
5861
8088
|
};
|
|
5862
8089
|
};
|
|
8090
|
+
export declare function createRegistry(transport: Transport): {
|
|
8091
|
+
installations: {
|
|
8092
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
|
|
8093
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
|
|
8094
|
+
};
|
|
8095
|
+
packages: {
|
|
8096
|
+
git: {
|
|
8097
|
+
commits: {
|
|
8098
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
8099
|
+
};
|
|
8100
|
+
files: {
|
|
8101
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
8102
|
+
};
|
|
8103
|
+
refs: {
|
|
8104
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
|
|
8105
|
+
};
|
|
8106
|
+
retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
|
|
8107
|
+
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
8108
|
+
retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
|
|
8109
|
+
trees: {
|
|
8110
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
8111
|
+
retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
|
|
8112
|
+
};
|
|
8113
|
+
};
|
|
8114
|
+
gitCredential: {
|
|
8115
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
8116
|
+
};
|
|
8117
|
+
installations: {
|
|
8118
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
8119
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
8120
|
+
};
|
|
8121
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
|
|
8122
|
+
versions: {
|
|
8123
|
+
contents: {
|
|
8124
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
|
|
8125
|
+
};
|
|
8126
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
|
|
8127
|
+
files: {
|
|
8128
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
|
|
8129
|
+
};
|
|
8130
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
|
|
8131
|
+
retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
|
|
8132
|
+
withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
|
|
8133
|
+
};
|
|
8134
|
+
};
|
|
8135
|
+
repositories: {
|
|
8136
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
|
|
8137
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
|
|
8138
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
|
|
8139
|
+
packages: {
|
|
8140
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
|
|
8141
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
|
|
8142
|
+
};
|
|
8143
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
|
|
8144
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
|
|
8145
|
+
};
|
|
8146
|
+
};
|
|
5863
8147
|
export declare function createSandbox(transport: Transport): {
|
|
8148
|
+
byod: {
|
|
8149
|
+
devices: {
|
|
8150
|
+
disconnect: {
|
|
8151
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
8152
|
+
id: string;
|
|
8153
|
+
object: "byod_device";
|
|
8154
|
+
disconnected: true;
|
|
8155
|
+
}>;
|
|
8156
|
+
};
|
|
8157
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
8158
|
+
data: Array<{
|
|
8159
|
+
object: "byod_device";
|
|
8160
|
+
id: string;
|
|
8161
|
+
platform: "android" | "macos" | "linux";
|
|
8162
|
+
name: string;
|
|
8163
|
+
model: string;
|
|
8164
|
+
os_version: string;
|
|
8165
|
+
online: boolean;
|
|
8166
|
+
last_seen_at: string | null;
|
|
8167
|
+
created_at: string;
|
|
8168
|
+
capabilities: Array<"display" | "agent">;
|
|
8169
|
+
agent_dirs: Array<string>;
|
|
8170
|
+
allow_bypass: boolean;
|
|
8171
|
+
}>;
|
|
8172
|
+
}>;
|
|
8173
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
8174
|
+
object: "byod_device";
|
|
8175
|
+
id: string;
|
|
8176
|
+
platform: "android" | "macos" | "linux";
|
|
8177
|
+
name: string;
|
|
8178
|
+
model: string;
|
|
8179
|
+
os_version: string;
|
|
8180
|
+
online: boolean;
|
|
8181
|
+
last_seen_at: string | null;
|
|
8182
|
+
created_at: string;
|
|
8183
|
+
capabilities: Array<"display" | "agent">;
|
|
8184
|
+
agent_dirs: Array<string>;
|
|
8185
|
+
allow_bypass: boolean;
|
|
8186
|
+
}>;
|
|
8187
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
8188
|
+
object: "byod_device";
|
|
8189
|
+
id: string;
|
|
8190
|
+
platform: "android" | "macos" | "linux";
|
|
8191
|
+
name: string;
|
|
8192
|
+
model: string;
|
|
8193
|
+
os_version: string;
|
|
8194
|
+
online: boolean;
|
|
8195
|
+
last_seen_at: string | null;
|
|
8196
|
+
created_at: string;
|
|
8197
|
+
capabilities: Array<"display" | "agent">;
|
|
8198
|
+
agent_dirs: Array<string>;
|
|
8199
|
+
allow_bypass: boolean;
|
|
8200
|
+
}>;
|
|
8201
|
+
};
|
|
8202
|
+
pairings: {
|
|
8203
|
+
claim: {
|
|
8204
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
8205
|
+
device_id: string;
|
|
8206
|
+
credential: string;
|
|
8207
|
+
socket_url: string;
|
|
8208
|
+
}>;
|
|
8209
|
+
};
|
|
8210
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
8211
|
+
code: string;
|
|
8212
|
+
expires_at: string;
|
|
8213
|
+
qr: string;
|
|
8214
|
+
}>;
|
|
8215
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
8216
|
+
organization_name: string;
|
|
8217
|
+
expires_at: string;
|
|
8218
|
+
}>;
|
|
8219
|
+
};
|
|
8220
|
+
};
|
|
5864
8221
|
events: {
|
|
5865
8222
|
sandboxes: {
|
|
5866
8223
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
5867
8224
|
};
|
|
5868
8225
|
};
|
|
5869
8226
|
sandboxes: {
|
|
8227
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
8228
|
+
type: "snapshot";
|
|
8229
|
+
snapshot: string;
|
|
8230
|
+
refs: number;
|
|
8231
|
+
truncated: boolean;
|
|
8232
|
+
package: string;
|
|
8233
|
+
} | {
|
|
8234
|
+
type: "screenshot";
|
|
8235
|
+
mediaType: string;
|
|
8236
|
+
data: string;
|
|
8237
|
+
width: number;
|
|
8238
|
+
height: number;
|
|
8239
|
+
bytes: number;
|
|
8240
|
+
} | {
|
|
8241
|
+
type: "ok";
|
|
8242
|
+
ms?: number;
|
|
8243
|
+
} | {
|
|
8244
|
+
type: "wait";
|
|
8245
|
+
ms: number;
|
|
8246
|
+
}>;
|
|
5870
8247
|
commands: {
|
|
5871
8248
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
5872
8249
|
stdout: string;
|
|
@@ -6391,13 +8768,139 @@ export declare function createVault(transport: Transport): {
|
|
|
6391
8768
|
update: (options: import("./core/transport.js").CallOptions<Types.VaultUpdateVaultData>) => Promise<Types.VaultVault>;
|
|
6392
8769
|
};
|
|
6393
8770
|
};
|
|
8771
|
+
export declare function createWorkforce(transport: Transport): {
|
|
8772
|
+
actors: {
|
|
8773
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
8774
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
8775
|
+
};
|
|
8776
|
+
assignments: {
|
|
8777
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
8778
|
+
makePrimary: {
|
|
8779
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8780
|
+
};
|
|
8781
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8782
|
+
terminate: {
|
|
8783
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8784
|
+
};
|
|
8785
|
+
transfer: {
|
|
8786
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
8787
|
+
};
|
|
8788
|
+
};
|
|
8789
|
+
departments: {
|
|
8790
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8791
|
+
dissolve: {
|
|
8792
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8793
|
+
};
|
|
8794
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
8795
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8796
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
8797
|
+
/** @deprecated use PUT /workforce/v1/specs/department/{id} instead; this path stops working on 2026-11-28. */
|
|
8798
|
+
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<unknown>;
|
|
8799
|
+
};
|
|
8800
|
+
effectiveSpec: {
|
|
8801
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
8802
|
+
};
|
|
8803
|
+
jobs: {
|
|
8804
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8805
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
8806
|
+
retire: {
|
|
8807
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8808
|
+
};
|
|
8809
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8810
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
8811
|
+
};
|
|
8812
|
+
keyResults: {
|
|
8813
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8814
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
8815
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8816
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
8817
|
+
};
|
|
8818
|
+
ladders: {
|
|
8819
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8820
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
8821
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8822
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
8823
|
+
};
|
|
8824
|
+
objectives: {
|
|
8825
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8826
|
+
grade: {
|
|
8827
|
+
create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8828
|
+
};
|
|
8829
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
8830
|
+
parents: {
|
|
8831
|
+
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8832
|
+
};
|
|
8833
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8834
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
8835
|
+
};
|
|
8836
|
+
periods: {
|
|
8837
|
+
close: {
|
|
8838
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8839
|
+
};
|
|
8840
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8841
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
8842
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
8843
|
+
};
|
|
8844
|
+
positions: {
|
|
8845
|
+
close: {
|
|
8846
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8847
|
+
};
|
|
8848
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
8849
|
+
designateHead: {
|
|
8850
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
8851
|
+
};
|
|
8852
|
+
freeze: {
|
|
8853
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8854
|
+
};
|
|
8855
|
+
hire: {
|
|
8856
|
+
create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
|
|
8857
|
+
};
|
|
8858
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
|
|
8859
|
+
replaceHolder: {
|
|
8860
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
|
|
8861
|
+
};
|
|
8862
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8863
|
+
unfreeze: {
|
|
8864
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8865
|
+
};
|
|
8866
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8867
|
+
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
8868
|
+
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
8869
|
+
};
|
|
8870
|
+
reconcile: {
|
|
8871
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8872
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8873
|
+
retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
|
|
8874
|
+
run: {
|
|
8875
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8876
|
+
};
|
|
8877
|
+
status: {
|
|
8878
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
8879
|
+
};
|
|
8880
|
+
};
|
|
8881
|
+
specSchema: {
|
|
8882
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecSchemaData> | undefined) => Promise<Types.OrganizationSpecSchema>;
|
|
8883
|
+
};
|
|
8884
|
+
specs: {
|
|
8885
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
8886
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
8887
|
+
retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
|
|
8888
|
+
revisions: {
|
|
8889
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
8890
|
+
};
|
|
8891
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec | Types.OrganizationSpecDryRun>;
|
|
8892
|
+
};
|
|
8893
|
+
};
|
|
6394
8894
|
export declare const resourceFactories: {
|
|
6395
8895
|
agent: typeof createAgent;
|
|
6396
8896
|
application: typeof createApplication;
|
|
6397
8897
|
automation: typeof createAutomation;
|
|
8898
|
+
billing: typeof createBilling;
|
|
6398
8899
|
browser: typeof createBrowser;
|
|
6399
8900
|
canvas: typeof createCanvas;
|
|
8901
|
+
content: typeof createContent;
|
|
6400
8902
|
crm: typeof createCrm;
|
|
8903
|
+
customer: typeof createCustomer;
|
|
6401
8904
|
cut: typeof createCut;
|
|
6402
8905
|
database: typeof createDatabase;
|
|
6403
8906
|
devops: typeof createDevops;
|
|
@@ -6408,10 +8911,12 @@ export declare const resourceFactories: {
|
|
|
6408
8911
|
model: typeof createModel;
|
|
6409
8912
|
ontology: typeof createOntology;
|
|
6410
8913
|
organization: typeof createOrganization;
|
|
8914
|
+
registry: typeof createRegistry;
|
|
6411
8915
|
sandbox: typeof createSandbox;
|
|
6412
8916
|
search: typeof createSearch;
|
|
6413
8917
|
share: typeof createShare;
|
|
6414
8918
|
studio: typeof createStudio;
|
|
6415
8919
|
ticket: typeof createTicket;
|
|
6416
8920
|
vault: typeof createVault;
|
|
8921
|
+
workforce: typeof createWorkforce;
|
|
6417
8922
|
};
|