@deepraxis/sdk 0.1.1-dev.9119988 → 0.1.1-dev.92000a0
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 +704 -15
- 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/transport.js +8 -4
- package/dist/generated/binary-operations.gen.d.ts +3 -0
- package/dist/generated/binary-operations.gen.js +14 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +1633 -397
- package/dist/generated/sdk.gen.js +6296 -2691
- package/dist/generated/types.gen.d.ts +77178 -54544
- package/dist/helpers/application-publish.js +16 -2
- package/dist/helpers/browser-actions.d.ts +18 -0
- package/dist/helpers/browser-actions.js +5 -0
- 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 +9 -0
- package/dist/helpers/browser-connect.js +40 -43
- 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 +7 -5
- package/dist/operations.generated.d.ts +1 -0
- package/dist/operations.generated.js +12931 -6003
- package/dist/resources.generated.d.ts +2365 -170
- package/dist/resources.generated.js +425 -13
- package/package.json +1 -1
|
@@ -17,6 +17,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
17
17
|
speed?: "standard" | "fast";
|
|
18
18
|
settings?: {
|
|
19
19
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
20
|
+
max_output_tokens?: number;
|
|
20
21
|
};
|
|
21
22
|
};
|
|
22
23
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -41,18 +42,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
41
42
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
42
43
|
id: string;
|
|
43
44
|
access: "read_only" | "read_write" | "invoke";
|
|
45
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
44
46
|
instructions?: string;
|
|
45
47
|
readonly verified?: boolean;
|
|
46
48
|
enabled?: boolean;
|
|
47
49
|
} | {
|
|
48
|
-
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
50
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
49
51
|
readonly verified?: boolean;
|
|
50
52
|
enabled?: boolean;
|
|
51
53
|
}>;
|
|
52
|
-
kind: "general" | "
|
|
54
|
+
kind: "general" | "service" | "assume";
|
|
53
55
|
computer_id?: string;
|
|
54
56
|
subagent_model?: string | null;
|
|
55
|
-
image_model?: string | null;
|
|
56
57
|
subagents?: Array<{
|
|
57
58
|
name: string;
|
|
58
59
|
description: string;
|
|
@@ -143,6 +144,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
143
144
|
allowManagedHooksOnly?: boolean;
|
|
144
145
|
allowManagedMcpServersOnly?: boolean;
|
|
145
146
|
allowManagedPermissionRulesOnly?: boolean;
|
|
147
|
+
idleCompaction?: boolean;
|
|
146
148
|
autoMemoryEnabled?: boolean;
|
|
147
149
|
disabled?: {
|
|
148
150
|
subagents?: Array<string>;
|
|
@@ -151,7 +153,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
151
153
|
mcpServers?: Array<string>;
|
|
152
154
|
hooks?: Array<string>;
|
|
153
155
|
};
|
|
154
|
-
idleCompaction?: boolean;
|
|
155
156
|
outputStyle?: string;
|
|
156
157
|
} | null;
|
|
157
158
|
models?: {
|
|
@@ -159,6 +160,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
159
160
|
};
|
|
160
161
|
avatar: string | null;
|
|
161
162
|
creation_source: string | null;
|
|
163
|
+
managed_by: string | null;
|
|
162
164
|
identity_number: string | null;
|
|
163
165
|
environment_id?: string | null;
|
|
164
166
|
vault_ids?: Array<string>;
|
|
@@ -170,6 +172,22 @@ export declare function createAgent(transport: Transport): {
|
|
|
170
172
|
keep_coding_instructions?: boolean;
|
|
171
173
|
}> | null;
|
|
172
174
|
}>;
|
|
175
|
+
consolidations: {
|
|
176
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentConsolidationData>) => Promise<{
|
|
177
|
+
id: string;
|
|
178
|
+
session_id: string;
|
|
179
|
+
status: "queued" | "running" | "done" | "failed";
|
|
180
|
+
engram_id?: string;
|
|
181
|
+
error?: string;
|
|
182
|
+
}>;
|
|
183
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetAgentConsolidationData>) => Promise<{
|
|
184
|
+
id: string;
|
|
185
|
+
session_id: string;
|
|
186
|
+
status: "queued" | "running" | "done" | "failed";
|
|
187
|
+
engram_id?: string;
|
|
188
|
+
error?: string;
|
|
189
|
+
}>;
|
|
190
|
+
};
|
|
173
191
|
create: (options: import("./core/transport.js").CallOptions<Types.AgentsCreateData>) => Promise<{
|
|
174
192
|
id: string;
|
|
175
193
|
archived_at: null | string;
|
|
@@ -184,6 +202,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
184
202
|
speed?: "standard" | "fast";
|
|
185
203
|
settings?: {
|
|
186
204
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
205
|
+
max_output_tokens?: number;
|
|
187
206
|
};
|
|
188
207
|
};
|
|
189
208
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -208,18 +227,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
208
227
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
209
228
|
id: string;
|
|
210
229
|
access: "read_only" | "read_write" | "invoke";
|
|
230
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
211
231
|
instructions?: string;
|
|
212
232
|
readonly verified?: boolean;
|
|
213
233
|
enabled?: boolean;
|
|
214
234
|
} | {
|
|
215
|
-
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
235
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
216
236
|
readonly verified?: boolean;
|
|
217
237
|
enabled?: boolean;
|
|
218
238
|
}>;
|
|
219
|
-
kind: "general" | "
|
|
239
|
+
kind: "general" | "service" | "assume";
|
|
240
|
+
computers?: {
|
|
241
|
+
default: string;
|
|
242
|
+
allowed: Array<{
|
|
243
|
+
template: string;
|
|
244
|
+
name: string;
|
|
245
|
+
}>;
|
|
246
|
+
};
|
|
220
247
|
computer_id?: string;
|
|
221
248
|
subagent_model?: string | null;
|
|
222
|
-
image_model?: string | null;
|
|
223
249
|
subagents?: Array<{
|
|
224
250
|
name: string;
|
|
225
251
|
description: string;
|
|
@@ -310,6 +336,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
310
336
|
allowManagedHooksOnly?: boolean;
|
|
311
337
|
allowManagedMcpServersOnly?: boolean;
|
|
312
338
|
allowManagedPermissionRulesOnly?: boolean;
|
|
339
|
+
idleCompaction?: boolean;
|
|
313
340
|
autoMemoryEnabled?: boolean;
|
|
314
341
|
disabled?: {
|
|
315
342
|
subagents?: Array<string>;
|
|
@@ -318,7 +345,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
318
345
|
mcpServers?: Array<string>;
|
|
319
346
|
hooks?: Array<string>;
|
|
320
347
|
};
|
|
321
|
-
idleCompaction?: boolean;
|
|
322
348
|
outputStyle?: string;
|
|
323
349
|
} | null;
|
|
324
350
|
models?: {
|
|
@@ -326,6 +352,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
326
352
|
};
|
|
327
353
|
avatar: string | null;
|
|
328
354
|
creation_source: string | null;
|
|
355
|
+
managed_by: string | null;
|
|
329
356
|
identity_number: string | null;
|
|
330
357
|
environment_id?: string | null;
|
|
331
358
|
vault_ids?: Array<string>;
|
|
@@ -338,42 +365,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
338
365
|
}> | null;
|
|
339
366
|
}>;
|
|
340
367
|
customers: {
|
|
341
|
-
auth: {
|
|
342
|
-
accessTokens: {
|
|
343
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerAccessTokenData>) => Promise<{
|
|
344
|
-
type: "customer_access_token";
|
|
345
|
-
access_token: string;
|
|
346
|
-
expires_at: string;
|
|
347
|
-
session_expires_at: string;
|
|
348
|
-
customer: {
|
|
349
|
-
id: string;
|
|
350
|
-
type: "identified" | "anonymous";
|
|
351
|
-
};
|
|
352
|
-
}>;
|
|
353
|
-
deleteCurrent: (options: import("./core/transport.js").CallOptions<Types.DeleteCurrentCustomerAccessTokenData>) => Promise<void>;
|
|
354
|
-
renew: {
|
|
355
|
-
create: (options: import("./core/transport.js").CallOptions<Types.RenewCustomerAccessTokenData>) => Promise<{
|
|
356
|
-
type: "customer_access_token";
|
|
357
|
-
access_token: string;
|
|
358
|
-
expires_at: string;
|
|
359
|
-
session_expires_at: string;
|
|
360
|
-
customer: {
|
|
361
|
-
id: string;
|
|
362
|
-
type: "identified" | "anonymous";
|
|
363
|
-
};
|
|
364
|
-
}>;
|
|
365
|
-
};
|
|
366
|
-
};
|
|
367
|
-
grantCodes: {
|
|
368
|
-
create: (options: import("./core/transport.js").CallOptions<Types.CreateCustomerGrantCodeData>) => Promise<{
|
|
369
|
-
type: "customer_grant_code";
|
|
370
|
-
code: string;
|
|
371
|
-
customer_id: string;
|
|
372
|
-
expires_at: string;
|
|
373
|
-
hosted_url?: string;
|
|
374
|
-
}>;
|
|
375
|
-
};
|
|
376
|
-
};
|
|
377
368
|
block: {
|
|
378
369
|
create: (options: import("./core/transport.js").CallOptions<Types.BlockCustomerData>) => Promise<{
|
|
379
370
|
id: string;
|
|
@@ -465,6 +456,245 @@ export declare function createAgent(transport: Transport): {
|
|
|
465
456
|
}>;
|
|
466
457
|
};
|
|
467
458
|
};
|
|
459
|
+
events: {
|
|
460
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListAgentEventsData>) => Promise<{
|
|
461
|
+
data: Array<{
|
|
462
|
+
id: string;
|
|
463
|
+
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
464
|
+
type: "user.message";
|
|
465
|
+
processed_at?: null | string;
|
|
466
|
+
praxis_context?: {
|
|
467
|
+
items: Array<{
|
|
468
|
+
name: string;
|
|
469
|
+
value: string;
|
|
470
|
+
}>;
|
|
471
|
+
};
|
|
472
|
+
message_id?: string;
|
|
473
|
+
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged192 | {
|
|
474
|
+
id: string;
|
|
475
|
+
content: Array<{
|
|
476
|
+
text: string;
|
|
477
|
+
type: "text";
|
|
478
|
+
citations?: Array<{
|
|
479
|
+
type: "search_result_location";
|
|
480
|
+
source: string;
|
|
481
|
+
title: string;
|
|
482
|
+
cited_text: string;
|
|
483
|
+
search_result_index: number;
|
|
484
|
+
start_block_index: number;
|
|
485
|
+
end_block_index: number;
|
|
486
|
+
}>;
|
|
487
|
+
} | Types.AgentManaged70>;
|
|
488
|
+
processed_at: string;
|
|
489
|
+
type: "agent.message";
|
|
490
|
+
run_id: string | null;
|
|
491
|
+
message_id?: string;
|
|
492
|
+
} | {
|
|
493
|
+
id: string;
|
|
494
|
+
processed_at: string;
|
|
495
|
+
type: "agent.thinking";
|
|
496
|
+
run_id: string | null;
|
|
497
|
+
message_id?: string;
|
|
498
|
+
} | {
|
|
499
|
+
id: string;
|
|
500
|
+
input: Types.AgentManaged197;
|
|
501
|
+
mcp_server_name: string;
|
|
502
|
+
name: string;
|
|
503
|
+
processed_at: string;
|
|
504
|
+
type: "agent.mcp_tool_use";
|
|
505
|
+
evaluated_permission?: "allow" | "deny" | "ask";
|
|
506
|
+
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
507
|
+
session_thread_id?: null | string;
|
|
508
|
+
permission_suggestions?: Array<{
|
|
509
|
+
type: "add_rules";
|
|
510
|
+
behavior: "allow";
|
|
511
|
+
destination: "agent" | "session";
|
|
512
|
+
rules: Array<{
|
|
513
|
+
tool_name: string;
|
|
514
|
+
rule_content: string;
|
|
515
|
+
}>;
|
|
516
|
+
}>;
|
|
517
|
+
full_access_available?: boolean;
|
|
518
|
+
user_once?: true;
|
|
519
|
+
guarded_rule?: string;
|
|
520
|
+
run_id: string | null;
|
|
521
|
+
_meta?: {
|
|
522
|
+
ui?: {
|
|
523
|
+
resourceUri?: string;
|
|
524
|
+
visibility?: Array<string>;
|
|
525
|
+
[key: string]: unknown;
|
|
526
|
+
};
|
|
527
|
+
"openai/ui"?: {
|
|
528
|
+
[key: string]: unknown;
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
source?: "app" | "codemode";
|
|
532
|
+
parent_tool_use_id?: string;
|
|
533
|
+
title?: string;
|
|
534
|
+
input_titles?: {
|
|
535
|
+
[key: string]: string;
|
|
536
|
+
};
|
|
537
|
+
} | {
|
|
538
|
+
id: string;
|
|
539
|
+
mcp_tool_use_id: string;
|
|
540
|
+
processed_at: string;
|
|
541
|
+
type: "agent.mcp_tool_result";
|
|
542
|
+
content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
|
|
543
|
+
is_error?: null | false | true;
|
|
544
|
+
run_id: string | null;
|
|
545
|
+
structured_content?: unknown;
|
|
546
|
+
_meta?: {
|
|
547
|
+
[key: string]: unknown;
|
|
548
|
+
};
|
|
549
|
+
source?: "app" | "codemode";
|
|
550
|
+
} | {
|
|
551
|
+
id: string;
|
|
552
|
+
input: Types.AgentManaged206;
|
|
553
|
+
name: string;
|
|
554
|
+
processed_at: string;
|
|
555
|
+
type: "agent.tool_use";
|
|
556
|
+
evaluated_permission?: "allow" | "deny" | "ask";
|
|
557
|
+
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
558
|
+
session_thread_id?: null | string;
|
|
559
|
+
permission_suggestions?: Array<{
|
|
560
|
+
type: "add_rules";
|
|
561
|
+
behavior: "allow";
|
|
562
|
+
destination: "agent" | "session";
|
|
563
|
+
rules: Array<{
|
|
564
|
+
tool_name: string;
|
|
565
|
+
rule_content: string;
|
|
566
|
+
}>;
|
|
567
|
+
}>;
|
|
568
|
+
full_access_available?: boolean;
|
|
569
|
+
user_once?: true;
|
|
570
|
+
guarded_rule?: string;
|
|
571
|
+
run_id: string | null;
|
|
572
|
+
} | {
|
|
573
|
+
id: string;
|
|
574
|
+
processed_at: string;
|
|
575
|
+
tool_use_id: string;
|
|
576
|
+
type: "agent.tool_result";
|
|
577
|
+
content?: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged189>;
|
|
578
|
+
is_error?: null | false | true;
|
|
579
|
+
run_id: string | null;
|
|
580
|
+
} | Types.AgentManaged208 | Types.AgentManaged209 | Types.AgentManaged210 | Types.AgentManaged211 | Types.AgentManaged223 | {
|
|
581
|
+
id: string;
|
|
582
|
+
processed_at: string;
|
|
583
|
+
type: "session.status_running";
|
|
584
|
+
run_id: string | null;
|
|
585
|
+
} | {
|
|
586
|
+
id: string;
|
|
587
|
+
processed_at: string;
|
|
588
|
+
stop_reason: Types.AgentManaged226 | Types.AgentManaged227 | Types.AgentManaged228 | Types.AgentManaged229;
|
|
589
|
+
type: "session.status_idle";
|
|
590
|
+
run_id: string | null;
|
|
591
|
+
} | 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 | {
|
|
592
|
+
id: string;
|
|
593
|
+
processed_at: string;
|
|
594
|
+
type: "session.updated";
|
|
595
|
+
agent?: null | Types.AgentManaged170;
|
|
596
|
+
budget?: null | Types.AgentManaged76;
|
|
597
|
+
metadata?: Types.AgentManaged246;
|
|
598
|
+
title?: null | string;
|
|
599
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
600
|
+
previous_permission_mode?: string | null;
|
|
601
|
+
permission_mode_version?: number;
|
|
602
|
+
model?: {
|
|
603
|
+
id: string;
|
|
604
|
+
};
|
|
605
|
+
} | Types.AgentManaged247 | Types.AgentManaged248 | {
|
|
606
|
+
id: string;
|
|
607
|
+
type: "session.forked";
|
|
608
|
+
processed_at: string;
|
|
609
|
+
forked_from_session_id: string;
|
|
610
|
+
forked_from_message_id: string;
|
|
611
|
+
} | {
|
|
612
|
+
id: string;
|
|
613
|
+
type: "session.goal_changed";
|
|
614
|
+
processed_at: string;
|
|
615
|
+
action: "set" | "status_updated" | "cleared" | "usage_accounted";
|
|
616
|
+
source: "command" | "runtime";
|
|
617
|
+
goal: {
|
|
618
|
+
goal_id: string;
|
|
619
|
+
objective: string;
|
|
620
|
+
summary_title: string | null;
|
|
621
|
+
status: "active" | "paused" | "budget_limited" | "complete";
|
|
622
|
+
token_budget: number | null;
|
|
623
|
+
tokens_used: number;
|
|
624
|
+
time_used_seconds: number;
|
|
625
|
+
iteration: number;
|
|
626
|
+
created_at: number;
|
|
627
|
+
updated_at: number;
|
|
628
|
+
} | null;
|
|
629
|
+
previous_goal: {
|
|
630
|
+
goal_id: string;
|
|
631
|
+
objective: string;
|
|
632
|
+
summary_title: string | null;
|
|
633
|
+
status: "active" | "paused" | "budget_limited" | "complete";
|
|
634
|
+
token_budget: number | null;
|
|
635
|
+
tokens_used: number;
|
|
636
|
+
time_used_seconds: number;
|
|
637
|
+
iteration: number;
|
|
638
|
+
created_at: number;
|
|
639
|
+
updated_at: number;
|
|
640
|
+
} | null;
|
|
641
|
+
} | {
|
|
642
|
+
id: string;
|
|
643
|
+
type: "session.goal_verification";
|
|
644
|
+
processed_at: string;
|
|
645
|
+
status: "started" | "completed" | "failed_closed" | "cancelled";
|
|
646
|
+
goal_id: string;
|
|
647
|
+
goal_iteration: number;
|
|
648
|
+
verification_id: string;
|
|
649
|
+
anchor_message_id: string | null;
|
|
650
|
+
verification?: {
|
|
651
|
+
passed: boolean;
|
|
652
|
+
reason: string;
|
|
653
|
+
next_action?: string;
|
|
654
|
+
};
|
|
655
|
+
} | {
|
|
656
|
+
id: string;
|
|
657
|
+
type: "user.steer";
|
|
658
|
+
event_id: string;
|
|
659
|
+
processed_at: string;
|
|
660
|
+
}>;
|
|
661
|
+
next_page: string | null;
|
|
662
|
+
}>;
|
|
663
|
+
send: (options: import("./core/transport.js").CallOptions<Types.SendAgentEventsData>) => Promise<{
|
|
664
|
+
data?: Array<{
|
|
665
|
+
id: string;
|
|
666
|
+
content: Array<Types.AgentManaged60 | Types.AgentManaged61 | Types.AgentManaged65 | Types.AgentManaged70>;
|
|
667
|
+
type: "user.message";
|
|
668
|
+
processed_at?: null | string;
|
|
669
|
+
praxis_context?: {
|
|
670
|
+
items: Array<{
|
|
671
|
+
name: string;
|
|
672
|
+
value: string;
|
|
673
|
+
}>;
|
|
674
|
+
};
|
|
675
|
+
} | Types.AgentManaged186 | Types.AgentManaged187 | Types.AgentManaged188 | Types.AgentManaged238 | Types.AgentManaged243 | Types.AgentManaged247 | {
|
|
676
|
+
id: string;
|
|
677
|
+
type: "user.steer";
|
|
678
|
+
event_id: string;
|
|
679
|
+
processed_at: string;
|
|
680
|
+
}>;
|
|
681
|
+
}>;
|
|
682
|
+
stream: (options: import("./core/transport.js").StreamOptions<Types.StreamAgentEventsData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
683
|
+
};
|
|
684
|
+
inbox: {
|
|
685
|
+
letters: {
|
|
686
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListAgentInboxLettersData>) => Promise<{
|
|
687
|
+
unread: number;
|
|
688
|
+
letters: Array<{
|
|
689
|
+
id: string;
|
|
690
|
+
sender: string;
|
|
691
|
+
summary: string;
|
|
692
|
+
thread: string | null;
|
|
693
|
+
create_time: string;
|
|
694
|
+
}>;
|
|
695
|
+
}>;
|
|
696
|
+
};
|
|
697
|
+
};
|
|
468
698
|
list: (options?: import("./core/transport.js").CallOptions<Types.AgentsListData> | undefined) => Promise<{
|
|
469
699
|
data: Array<{
|
|
470
700
|
id: string;
|
|
@@ -480,6 +710,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
480
710
|
speed?: "standard" | "fast";
|
|
481
711
|
settings?: {
|
|
482
712
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
713
|
+
max_output_tokens?: number;
|
|
483
714
|
};
|
|
484
715
|
};
|
|
485
716
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -504,18 +735,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
504
735
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
505
736
|
id: string;
|
|
506
737
|
access: "read_only" | "read_write" | "invoke";
|
|
738
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
507
739
|
instructions?: string;
|
|
508
740
|
readonly verified?: boolean;
|
|
509
741
|
enabled?: boolean;
|
|
510
742
|
} | {
|
|
511
|
-
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
743
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
512
744
|
readonly verified?: boolean;
|
|
513
745
|
enabled?: boolean;
|
|
514
746
|
}>;
|
|
515
|
-
kind: "general" | "
|
|
747
|
+
kind: "general" | "service" | "assume";
|
|
748
|
+
computers?: {
|
|
749
|
+
default: string;
|
|
750
|
+
allowed: Array<{
|
|
751
|
+
template: string;
|
|
752
|
+
name: string;
|
|
753
|
+
}>;
|
|
754
|
+
};
|
|
516
755
|
computer_id?: string;
|
|
517
756
|
subagent_model?: string | null;
|
|
518
|
-
image_model?: string | null;
|
|
519
757
|
subagents?: Array<{
|
|
520
758
|
name: string;
|
|
521
759
|
description: string;
|
|
@@ -606,6 +844,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
606
844
|
allowManagedHooksOnly?: boolean;
|
|
607
845
|
allowManagedMcpServersOnly?: boolean;
|
|
608
846
|
allowManagedPermissionRulesOnly?: boolean;
|
|
847
|
+
idleCompaction?: boolean;
|
|
609
848
|
autoMemoryEnabled?: boolean;
|
|
610
849
|
disabled?: {
|
|
611
850
|
subagents?: Array<string>;
|
|
@@ -614,7 +853,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
614
853
|
mcpServers?: Array<string>;
|
|
615
854
|
hooks?: Array<string>;
|
|
616
855
|
};
|
|
617
|
-
idleCompaction?: boolean;
|
|
618
856
|
outputStyle?: string;
|
|
619
857
|
} | null;
|
|
620
858
|
models?: {
|
|
@@ -622,6 +860,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
622
860
|
};
|
|
623
861
|
avatar: string | null;
|
|
624
862
|
creation_source: string | null;
|
|
863
|
+
managed_by: string | null;
|
|
625
864
|
identity_number: string | null;
|
|
626
865
|
environment_id?: string | null;
|
|
627
866
|
vault_ids?: Array<string>;
|
|
@@ -635,6 +874,34 @@ export declare function createAgent(transport: Transport): {
|
|
|
635
874
|
}>;
|
|
636
875
|
next_page: string | null;
|
|
637
876
|
}>;
|
|
877
|
+
phone: {
|
|
878
|
+
release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
|
|
879
|
+
object: "agent_phone";
|
|
880
|
+
agent_id: string;
|
|
881
|
+
configured: boolean;
|
|
882
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
883
|
+
sku: string | null;
|
|
884
|
+
byod_device: string | null;
|
|
885
|
+
name: string | null;
|
|
886
|
+
sandbox_id: string | null;
|
|
887
|
+
lease_ends_at: string | null;
|
|
888
|
+
archived_at: string | null;
|
|
889
|
+
archive_error: string | null;
|
|
890
|
+
}>;
|
|
891
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
|
|
892
|
+
object: "agent_phone";
|
|
893
|
+
agent_id: string;
|
|
894
|
+
configured: boolean;
|
|
895
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing" | "online" | "offline";
|
|
896
|
+
sku: string | null;
|
|
897
|
+
byod_device: string | null;
|
|
898
|
+
name: string | null;
|
|
899
|
+
sandbox_id: string | null;
|
|
900
|
+
lease_ends_at: string | null;
|
|
901
|
+
archived_at: string | null;
|
|
902
|
+
archive_error: string | null;
|
|
903
|
+
}>;
|
|
904
|
+
};
|
|
638
905
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
|
|
639
906
|
id: string;
|
|
640
907
|
archived_at: null | string;
|
|
@@ -649,6 +916,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
649
916
|
speed?: "standard" | "fast";
|
|
650
917
|
settings?: {
|
|
651
918
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
919
|
+
max_output_tokens?: number;
|
|
652
920
|
};
|
|
653
921
|
};
|
|
654
922
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -674,18 +942,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
674
942
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
675
943
|
id: string;
|
|
676
944
|
access: "read_only" | "read_write" | "invoke";
|
|
945
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
677
946
|
instructions?: string;
|
|
678
947
|
readonly verified?: boolean;
|
|
679
948
|
enabled?: boolean;
|
|
680
949
|
} | {
|
|
681
|
-
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
950
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
682
951
|
readonly verified?: boolean;
|
|
683
952
|
enabled?: boolean;
|
|
684
953
|
}>;
|
|
685
|
-
kind: "general" | "
|
|
954
|
+
kind: "general" | "service" | "assume";
|
|
955
|
+
computers?: {
|
|
956
|
+
default: string;
|
|
957
|
+
allowed: Array<{
|
|
958
|
+
template: string;
|
|
959
|
+
name: string;
|
|
960
|
+
}>;
|
|
961
|
+
};
|
|
686
962
|
computer_id?: string;
|
|
687
963
|
subagent_model?: string | null;
|
|
688
|
-
image_model?: string | null;
|
|
689
964
|
subagents?: Array<{
|
|
690
965
|
name: string;
|
|
691
966
|
description: string;
|
|
@@ -776,6 +1051,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
776
1051
|
allowManagedHooksOnly?: boolean;
|
|
777
1052
|
allowManagedMcpServersOnly?: boolean;
|
|
778
1053
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1054
|
+
idleCompaction?: boolean;
|
|
779
1055
|
autoMemoryEnabled?: boolean;
|
|
780
1056
|
disabled?: {
|
|
781
1057
|
subagents?: Array<string>;
|
|
@@ -784,7 +1060,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
784
1060
|
mcpServers?: Array<string>;
|
|
785
1061
|
hooks?: Array<string>;
|
|
786
1062
|
};
|
|
787
|
-
idleCompaction?: boolean;
|
|
788
1063
|
outputStyle?: string;
|
|
789
1064
|
} | null;
|
|
790
1065
|
models?: {
|
|
@@ -792,6 +1067,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
792
1067
|
};
|
|
793
1068
|
avatar: string | null;
|
|
794
1069
|
creation_source: string | null;
|
|
1070
|
+
managed_by: string | null;
|
|
795
1071
|
identity_number: string | null;
|
|
796
1072
|
environment_id?: string | null;
|
|
797
1073
|
vault_ids?: Array<string>;
|
|
@@ -860,6 +1136,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
860
1136
|
history?: {
|
|
861
1137
|
enabled?: boolean;
|
|
862
1138
|
};
|
|
1139
|
+
uploads?: {
|
|
1140
|
+
enabled: boolean;
|
|
1141
|
+
max_file_bytes: number;
|
|
1142
|
+
max_files_per_session: number;
|
|
1143
|
+
};
|
|
1144
|
+
}>;
|
|
1145
|
+
retrieveEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.GetAgentEmbedPolicyData>) => Promise<{
|
|
1146
|
+
allowed_origins: Array<string>;
|
|
1147
|
+
allow_localhost: boolean;
|
|
1148
|
+
uploads: {
|
|
1149
|
+
enabled: boolean;
|
|
1150
|
+
max_file_bytes: number;
|
|
1151
|
+
max_files_per_session: number;
|
|
1152
|
+
};
|
|
1153
|
+
share_links: {
|
|
1154
|
+
enabled: boolean;
|
|
1155
|
+
daily_session_cap: number | null;
|
|
1156
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1157
|
+
};
|
|
863
1158
|
}>;
|
|
864
1159
|
unarchive: {
|
|
865
1160
|
create: (options: import("./core/transport.js").CallOptions<Types.UnarchiveAgentData>) => Promise<{
|
|
@@ -913,6 +1208,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
913
1208
|
speed?: "standard" | "fast";
|
|
914
1209
|
settings?: {
|
|
915
1210
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1211
|
+
max_output_tokens?: number;
|
|
916
1212
|
};
|
|
917
1213
|
};
|
|
918
1214
|
multiagent?: null | {
|
|
@@ -1103,18 +1399,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
1103
1399
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1104
1400
|
id: string;
|
|
1105
1401
|
access: "read_only" | "read_write" | "invoke";
|
|
1402
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1106
1403
|
instructions?: string;
|
|
1107
1404
|
readonly verified?: boolean;
|
|
1108
1405
|
enabled?: boolean;
|
|
1109
1406
|
} | {
|
|
1110
|
-
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
1407
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
1111
1408
|
readonly verified?: boolean;
|
|
1112
1409
|
enabled?: boolean;
|
|
1113
1410
|
}>;
|
|
1114
|
-
kind: "general" | "
|
|
1411
|
+
kind: "general" | "service" | "assume";
|
|
1412
|
+
computers?: {
|
|
1413
|
+
default: string;
|
|
1414
|
+
allowed: Array<{
|
|
1415
|
+
template: string;
|
|
1416
|
+
name: string;
|
|
1417
|
+
}>;
|
|
1418
|
+
};
|
|
1115
1419
|
computer_id?: string;
|
|
1116
1420
|
subagent_model?: string | null;
|
|
1117
|
-
image_model?: string | null;
|
|
1118
1421
|
subagents?: Array<{
|
|
1119
1422
|
name: string;
|
|
1120
1423
|
description: string;
|
|
@@ -1205,6 +1508,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1205
1508
|
allowManagedHooksOnly?: boolean;
|
|
1206
1509
|
allowManagedMcpServersOnly?: boolean;
|
|
1207
1510
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1511
|
+
idleCompaction?: boolean;
|
|
1208
1512
|
autoMemoryEnabled?: boolean;
|
|
1209
1513
|
disabled?: {
|
|
1210
1514
|
subagents?: Array<string>;
|
|
@@ -1213,7 +1517,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1213
1517
|
mcpServers?: Array<string>;
|
|
1214
1518
|
hooks?: Array<string>;
|
|
1215
1519
|
};
|
|
1216
|
-
idleCompaction?: boolean;
|
|
1217
1520
|
outputStyle?: string;
|
|
1218
1521
|
} | null;
|
|
1219
1522
|
models?: {
|
|
@@ -1221,6 +1524,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1221
1524
|
};
|
|
1222
1525
|
avatar: string | null;
|
|
1223
1526
|
creation_source: string | null;
|
|
1527
|
+
managed_by: string | null;
|
|
1224
1528
|
identity_number: string | null;
|
|
1225
1529
|
environment_id?: string | null;
|
|
1226
1530
|
vault_ids?: Array<string>;
|
|
@@ -1247,6 +1551,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1247
1551
|
speed?: "standard" | "fast";
|
|
1248
1552
|
settings?: {
|
|
1249
1553
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1554
|
+
max_output_tokens?: number;
|
|
1250
1555
|
};
|
|
1251
1556
|
};
|
|
1252
1557
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1272,18 +1577,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
1272
1577
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1273
1578
|
id: string;
|
|
1274
1579
|
access: "read_only" | "read_write" | "invoke";
|
|
1580
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1275
1581
|
instructions?: string;
|
|
1276
1582
|
readonly verified?: boolean;
|
|
1277
1583
|
enabled?: boolean;
|
|
1278
1584
|
} | {
|
|
1279
|
-
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
1585
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
1280
1586
|
readonly verified?: boolean;
|
|
1281
1587
|
enabled?: boolean;
|
|
1282
1588
|
}>;
|
|
1283
|
-
kind: "general" | "
|
|
1589
|
+
kind: "general" | "service" | "assume";
|
|
1590
|
+
computers?: {
|
|
1591
|
+
default: string;
|
|
1592
|
+
allowed: Array<{
|
|
1593
|
+
template: string;
|
|
1594
|
+
name: string;
|
|
1595
|
+
}>;
|
|
1596
|
+
};
|
|
1284
1597
|
computer_id?: string;
|
|
1285
1598
|
subagent_model?: string | null;
|
|
1286
|
-
image_model?: string | null;
|
|
1287
1599
|
subagents?: Array<{
|
|
1288
1600
|
name: string;
|
|
1289
1601
|
description: string;
|
|
@@ -1374,6 +1686,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1374
1686
|
allowManagedHooksOnly?: boolean;
|
|
1375
1687
|
allowManagedMcpServersOnly?: boolean;
|
|
1376
1688
|
allowManagedPermissionRulesOnly?: boolean;
|
|
1689
|
+
idleCompaction?: boolean;
|
|
1377
1690
|
autoMemoryEnabled?: boolean;
|
|
1378
1691
|
disabled?: {
|
|
1379
1692
|
subagents?: Array<string>;
|
|
@@ -1382,7 +1695,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1382
1695
|
mcpServers?: Array<string>;
|
|
1383
1696
|
hooks?: Array<string>;
|
|
1384
1697
|
};
|
|
1385
|
-
idleCompaction?: boolean;
|
|
1386
1698
|
outputStyle?: string;
|
|
1387
1699
|
} | null;
|
|
1388
1700
|
models?: {
|
|
@@ -1390,6 +1702,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1390
1702
|
};
|
|
1391
1703
|
avatar: string | null;
|
|
1392
1704
|
creation_source: string | null;
|
|
1705
|
+
managed_by: string | null;
|
|
1393
1706
|
identity_number: string | null;
|
|
1394
1707
|
environment_id?: string | null;
|
|
1395
1708
|
vault_ids?: Array<string>;
|
|
@@ -1401,28 +1714,245 @@ export declare function createAgent(transport: Transport): {
|
|
|
1401
1714
|
keep_coding_instructions?: boolean;
|
|
1402
1715
|
}> | null;
|
|
1403
1716
|
}>;
|
|
1717
|
+
updateEmbedPolicy: (options: import("./core/transport.js").CallOptions<Types.UpdateAgentEmbedPolicyData>) => Promise<{
|
|
1718
|
+
allowed_origins: Array<string>;
|
|
1719
|
+
allow_localhost: boolean;
|
|
1720
|
+
uploads: {
|
|
1721
|
+
enabled: boolean;
|
|
1722
|
+
max_file_bytes: number;
|
|
1723
|
+
max_files_per_session: number;
|
|
1724
|
+
};
|
|
1725
|
+
share_links: {
|
|
1726
|
+
enabled: boolean;
|
|
1727
|
+
daily_session_cap: number | null;
|
|
1728
|
+
daily_spend_cap_micro_usd: number | null;
|
|
1729
|
+
};
|
|
1730
|
+
}>;
|
|
1404
1731
|
versions: {
|
|
1405
1732
|
apply: (options: import("./core/transport.js").CallOptions<Types.ApplyAgentVersionData>) => Promise<{
|
|
1406
1733
|
id: string;
|
|
1407
1734
|
archived_at: null | string;
|
|
1408
1735
|
created_at: string;
|
|
1409
1736
|
description: null | string;
|
|
1410
|
-
mcp_servers: Array<
|
|
1411
|
-
|
|
1737
|
+
mcp_servers: Array<{
|
|
1738
|
+
type: "url";
|
|
1739
|
+
name: string;
|
|
1740
|
+
url: string;
|
|
1741
|
+
headers?: {
|
|
1742
|
+
[key: string]: string;
|
|
1743
|
+
};
|
|
1744
|
+
timeout_ms?: number;
|
|
1745
|
+
} | {
|
|
1746
|
+
type: "sse";
|
|
1747
|
+
name: string;
|
|
1748
|
+
url: string;
|
|
1749
|
+
headers?: {
|
|
1750
|
+
[key: string]: string;
|
|
1751
|
+
};
|
|
1752
|
+
timeout_ms?: number;
|
|
1753
|
+
} | {
|
|
1754
|
+
type: "stdio";
|
|
1755
|
+
name: string;
|
|
1756
|
+
command: string;
|
|
1757
|
+
args?: Array<string>;
|
|
1758
|
+
env?: {
|
|
1759
|
+
[key: string]: string;
|
|
1760
|
+
};
|
|
1761
|
+
timeout_ms?: number;
|
|
1762
|
+
}>;
|
|
1763
|
+
metadata: {
|
|
1764
|
+
[key: string]: string;
|
|
1765
|
+
};
|
|
1412
1766
|
model?: {
|
|
1413
1767
|
id: string;
|
|
1414
|
-
effort?:
|
|
1768
|
+
effort?: {
|
|
1769
|
+
type: "low";
|
|
1770
|
+
} | {
|
|
1771
|
+
type: "medium";
|
|
1772
|
+
} | {
|
|
1773
|
+
type: "high";
|
|
1774
|
+
} | {
|
|
1775
|
+
type: "xhigh";
|
|
1776
|
+
} | {
|
|
1777
|
+
type: "max";
|
|
1778
|
+
};
|
|
1415
1779
|
inference_geo?: string;
|
|
1416
1780
|
speed?: "standard" | "fast";
|
|
1417
1781
|
settings?: {
|
|
1418
1782
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
1783
|
+
max_output_tokens?: number;
|
|
1784
|
+
};
|
|
1785
|
+
};
|
|
1786
|
+
multiagent?: null | {
|
|
1787
|
+
agents: Array<{
|
|
1788
|
+
id: string;
|
|
1789
|
+
type: "agent";
|
|
1790
|
+
version: number;
|
|
1791
|
+
} | {
|
|
1792
|
+
model: string;
|
|
1793
|
+
type: "advisor";
|
|
1794
|
+
}>;
|
|
1795
|
+
type: "coordinator";
|
|
1796
|
+
};
|
|
1797
|
+
name: string;
|
|
1798
|
+
skills: Array<{
|
|
1799
|
+
skill_id: string;
|
|
1800
|
+
type: "anthropic";
|
|
1801
|
+
version: string;
|
|
1802
|
+
} | {
|
|
1803
|
+
skill_id: string;
|
|
1804
|
+
type: "custom";
|
|
1805
|
+
version: string;
|
|
1806
|
+
}>;
|
|
1807
|
+
system: null | string;
|
|
1808
|
+
tools: Array<{
|
|
1809
|
+
configs: Array<{
|
|
1810
|
+
enabled: boolean;
|
|
1811
|
+
name: "bash";
|
|
1812
|
+
permission_policy: {
|
|
1813
|
+
type: "always_allow";
|
|
1814
|
+
} | {
|
|
1815
|
+
type: "always_ask";
|
|
1816
|
+
} | {
|
|
1817
|
+
type: "auto";
|
|
1818
|
+
};
|
|
1819
|
+
type: "bash";
|
|
1820
|
+
} | {
|
|
1821
|
+
enabled: boolean;
|
|
1822
|
+
name: "edit";
|
|
1823
|
+
permission_policy: {
|
|
1824
|
+
type: "always_allow";
|
|
1825
|
+
} | {
|
|
1826
|
+
type: "always_ask";
|
|
1827
|
+
} | {
|
|
1828
|
+
type: "auto";
|
|
1829
|
+
};
|
|
1830
|
+
type: "edit";
|
|
1831
|
+
} | {
|
|
1832
|
+
enabled: boolean;
|
|
1833
|
+
name: "read";
|
|
1834
|
+
permission_policy: {
|
|
1835
|
+
type: "always_allow";
|
|
1836
|
+
} | {
|
|
1837
|
+
type: "always_ask";
|
|
1838
|
+
} | {
|
|
1839
|
+
type: "auto";
|
|
1840
|
+
};
|
|
1841
|
+
type: "read";
|
|
1842
|
+
} | {
|
|
1843
|
+
enabled: boolean;
|
|
1844
|
+
name: "write";
|
|
1845
|
+
permission_policy: {
|
|
1846
|
+
type: "always_allow";
|
|
1847
|
+
} | {
|
|
1848
|
+
type: "always_ask";
|
|
1849
|
+
} | {
|
|
1850
|
+
type: "auto";
|
|
1851
|
+
};
|
|
1852
|
+
type: "write";
|
|
1853
|
+
} | {
|
|
1854
|
+
enabled: boolean;
|
|
1855
|
+
name: "glob";
|
|
1856
|
+
permission_policy: {
|
|
1857
|
+
type: "always_allow";
|
|
1858
|
+
} | {
|
|
1859
|
+
type: "always_ask";
|
|
1860
|
+
} | {
|
|
1861
|
+
type: "auto";
|
|
1862
|
+
};
|
|
1863
|
+
type: "glob";
|
|
1864
|
+
} | {
|
|
1865
|
+
enabled: boolean;
|
|
1866
|
+
name: "grep";
|
|
1867
|
+
permission_policy: {
|
|
1868
|
+
type: "always_allow";
|
|
1869
|
+
} | {
|
|
1870
|
+
type: "always_ask";
|
|
1871
|
+
} | {
|
|
1872
|
+
type: "auto";
|
|
1873
|
+
};
|
|
1874
|
+
type: "grep";
|
|
1875
|
+
} | {
|
|
1876
|
+
enabled: boolean;
|
|
1877
|
+
name: "web_fetch";
|
|
1878
|
+
permission_policy: {
|
|
1879
|
+
type: "always_allow";
|
|
1880
|
+
} | {
|
|
1881
|
+
type: "always_ask";
|
|
1882
|
+
} | {
|
|
1883
|
+
type: "auto";
|
|
1884
|
+
};
|
|
1885
|
+
type: "web_fetch";
|
|
1886
|
+
allowed_domains?: Array<string>;
|
|
1887
|
+
blocked_domains?: Array<string>;
|
|
1888
|
+
max_content_tokens?: null | number;
|
|
1889
|
+
} | {
|
|
1890
|
+
enabled: boolean;
|
|
1891
|
+
name: "web_search";
|
|
1892
|
+
permission_policy: {
|
|
1893
|
+
type: "always_allow";
|
|
1894
|
+
} | {
|
|
1895
|
+
type: "always_ask";
|
|
1896
|
+
} | {
|
|
1897
|
+
type: "auto";
|
|
1898
|
+
};
|
|
1899
|
+
type: "web_search";
|
|
1900
|
+
allowed_domains?: Array<string>;
|
|
1901
|
+
blocked_domains?: Array<string>;
|
|
1902
|
+
user_location?: null | {
|
|
1903
|
+
type: "approximate";
|
|
1904
|
+
city?: null | string;
|
|
1905
|
+
country?: null | string;
|
|
1906
|
+
region?: null | string;
|
|
1907
|
+
timezone?: null | string;
|
|
1908
|
+
};
|
|
1909
|
+
} | {
|
|
1910
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
1911
|
+
enabled: boolean;
|
|
1912
|
+
permission_policy: {
|
|
1913
|
+
type: "always_allow" | "always_ask";
|
|
1914
|
+
};
|
|
1915
|
+
}>;
|
|
1916
|
+
default_config: {
|
|
1917
|
+
enabled: boolean;
|
|
1918
|
+
permission_policy: {
|
|
1919
|
+
type: "always_allow";
|
|
1920
|
+
} | {
|
|
1921
|
+
type: "always_ask";
|
|
1922
|
+
} | {
|
|
1923
|
+
type: "auto";
|
|
1924
|
+
};
|
|
1419
1925
|
};
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1926
|
+
type: "agent_toolset_20260401";
|
|
1927
|
+
} | {
|
|
1928
|
+
type: "mcp_toolset";
|
|
1929
|
+
mcp_server_name: string;
|
|
1930
|
+
default_config?: {
|
|
1931
|
+
enabled?: boolean | null;
|
|
1932
|
+
permission_policy?: null | {
|
|
1933
|
+
type: "always_allow" | "always_ask";
|
|
1934
|
+
};
|
|
1935
|
+
} | null;
|
|
1936
|
+
configs?: Array<{
|
|
1937
|
+
name: string;
|
|
1938
|
+
enabled?: boolean | null;
|
|
1939
|
+
permission_policy?: null | {
|
|
1940
|
+
type: "always_allow" | "always_ask";
|
|
1941
|
+
};
|
|
1942
|
+
}> | null;
|
|
1943
|
+
} | {
|
|
1944
|
+
description: string;
|
|
1945
|
+
input_schema: {
|
|
1946
|
+
type: "object";
|
|
1947
|
+
properties?: null | {
|
|
1948
|
+
[key: string]: unknown;
|
|
1949
|
+
};
|
|
1950
|
+
required?: null | Array<string>;
|
|
1951
|
+
[key: string]: unknown;
|
|
1952
|
+
};
|
|
1953
|
+
name: string;
|
|
1954
|
+
type: "custom";
|
|
1955
|
+
}>;
|
|
1426
1956
|
type: "agent";
|
|
1427
1957
|
updated_at: string;
|
|
1428
1958
|
version: number;
|
|
@@ -1441,18 +1971,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
1441
1971
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1442
1972
|
id: string;
|
|
1443
1973
|
access: "read_only" | "read_write" | "invoke";
|
|
1974
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1444
1975
|
instructions?: string;
|
|
1445
1976
|
readonly verified?: boolean;
|
|
1446
1977
|
enabled?: boolean;
|
|
1447
1978
|
} | {
|
|
1448
|
-
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
1979
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
1449
1980
|
readonly verified?: boolean;
|
|
1450
1981
|
enabled?: boolean;
|
|
1451
1982
|
}>;
|
|
1452
|
-
kind: "general" | "
|
|
1983
|
+
kind: "general" | "service" | "assume";
|
|
1984
|
+
computers?: {
|
|
1985
|
+
default: string;
|
|
1986
|
+
allowed: Array<{
|
|
1987
|
+
template: string;
|
|
1988
|
+
name: string;
|
|
1989
|
+
}>;
|
|
1990
|
+
};
|
|
1453
1991
|
computer_id?: string;
|
|
1454
1992
|
subagent_model?: string | null;
|
|
1455
|
-
image_model?: string | null;
|
|
1456
1993
|
subagents?: Array<{
|
|
1457
1994
|
name: string;
|
|
1458
1995
|
description: string;
|
|
@@ -1543,6 +2080,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1543
2080
|
allowManagedHooksOnly?: boolean;
|
|
1544
2081
|
allowManagedMcpServersOnly?: boolean;
|
|
1545
2082
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2083
|
+
idleCompaction?: boolean;
|
|
1546
2084
|
autoMemoryEnabled?: boolean;
|
|
1547
2085
|
disabled?: {
|
|
1548
2086
|
subagents?: Array<string>;
|
|
@@ -1551,7 +2089,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1551
2089
|
mcpServers?: Array<string>;
|
|
1552
2090
|
hooks?: Array<string>;
|
|
1553
2091
|
};
|
|
1554
|
-
idleCompaction?: boolean;
|
|
1555
2092
|
outputStyle?: string;
|
|
1556
2093
|
} | null;
|
|
1557
2094
|
models?: {
|
|
@@ -1559,6 +2096,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1559
2096
|
};
|
|
1560
2097
|
avatar: string | null;
|
|
1561
2098
|
creation_source: string | null;
|
|
2099
|
+
managed_by: string | null;
|
|
1562
2100
|
identity_number: string | null;
|
|
1563
2101
|
environment_id?: string | null;
|
|
1564
2102
|
vault_ids?: Array<string>;
|
|
@@ -1585,6 +2123,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1585
2123
|
speed?: "standard" | "fast";
|
|
1586
2124
|
settings?: {
|
|
1587
2125
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2126
|
+
max_output_tokens?: number;
|
|
1588
2127
|
};
|
|
1589
2128
|
};
|
|
1590
2129
|
multiagent?: null | Types.AgentManaged39;
|
|
@@ -1610,18 +2149,25 @@ export declare function createAgent(transport: Transport): {
|
|
|
1610
2149
|
type: "database" | "vector_store" | "file" | "media_library" | "model" | "workflow" | "script";
|
|
1611
2150
|
id: string;
|
|
1612
2151
|
access: "read_only" | "read_write" | "invoke";
|
|
2152
|
+
customer_access?: "read_only" | "read_write" | "invoke";
|
|
1613
2153
|
instructions?: string;
|
|
1614
2154
|
readonly verified?: boolean;
|
|
1615
2155
|
enabled?: boolean;
|
|
1616
2156
|
} | {
|
|
1617
|
-
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut";
|
|
2157
|
+
type: "search" | "browser" | "ticket" | "crm" | "canvas" | "cut" | "studio" | "feedback" | "workspace";
|
|
1618
2158
|
readonly verified?: boolean;
|
|
1619
2159
|
enabled?: boolean;
|
|
1620
2160
|
}>;
|
|
1621
|
-
kind: "general" | "
|
|
2161
|
+
kind: "general" | "service" | "assume";
|
|
2162
|
+
computers?: {
|
|
2163
|
+
default: string;
|
|
2164
|
+
allowed: Array<{
|
|
2165
|
+
template: string;
|
|
2166
|
+
name: string;
|
|
2167
|
+
}>;
|
|
2168
|
+
};
|
|
1622
2169
|
computer_id?: string;
|
|
1623
2170
|
subagent_model?: string | null;
|
|
1624
|
-
image_model?: string | null;
|
|
1625
2171
|
subagents?: Array<{
|
|
1626
2172
|
name: string;
|
|
1627
2173
|
description: string;
|
|
@@ -1712,6 +2258,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1712
2258
|
allowManagedHooksOnly?: boolean;
|
|
1713
2259
|
allowManagedMcpServersOnly?: boolean;
|
|
1714
2260
|
allowManagedPermissionRulesOnly?: boolean;
|
|
2261
|
+
idleCompaction?: boolean;
|
|
1715
2262
|
autoMemoryEnabled?: boolean;
|
|
1716
2263
|
disabled?: {
|
|
1717
2264
|
subagents?: Array<string>;
|
|
@@ -1720,7 +2267,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
1720
2267
|
mcpServers?: Array<string>;
|
|
1721
2268
|
hooks?: Array<string>;
|
|
1722
2269
|
};
|
|
1723
|
-
idleCompaction?: boolean;
|
|
1724
2270
|
outputStyle?: string;
|
|
1725
2271
|
} | null;
|
|
1726
2272
|
models?: {
|
|
@@ -1728,6 +2274,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
1728
2274
|
};
|
|
1729
2275
|
avatar: string | null;
|
|
1730
2276
|
creation_source: string | null;
|
|
2277
|
+
managed_by: string | null;
|
|
1731
2278
|
identity_number: string | null;
|
|
1732
2279
|
environment_id?: string | null;
|
|
1733
2280
|
vault_ids?: Array<string>;
|
|
@@ -1795,16 +2342,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
1795
2342
|
files: {
|
|
1796
2343
|
convert: {
|
|
1797
2344
|
create: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesConvertData>) => Promise<{
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
sandbox_id: string | null;
|
|
1802
|
-
machine_state: "not_started" | "provisioned";
|
|
1803
|
-
environment_id: string | null;
|
|
1804
|
-
status: "active" | "archived";
|
|
1805
|
-
created_at: string;
|
|
1806
|
-
updated_at: string;
|
|
1807
|
-
archived_at: string | null;
|
|
2345
|
+
data: string;
|
|
2346
|
+
mime: "application/pdf";
|
|
2347
|
+
cached: boolean;
|
|
1808
2348
|
}>;
|
|
1809
2349
|
};
|
|
1810
2350
|
list: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesListData>) => Promise<{
|
|
@@ -1822,6 +2362,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
1822
2362
|
tier: "light" | "heavy";
|
|
1823
2363
|
}>;
|
|
1824
2364
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.ComputersFilesContentData>) => Promise<Blob | File>;
|
|
2365
|
+
retrievePreview: (options: import("./core/transport.js").CallOptions<Types.PreviewComputerFileData>) => Promise<{
|
|
2366
|
+
variant: "image" | "pdf" | "text" | "original";
|
|
2367
|
+
version?: string;
|
|
2368
|
+
mime_type?: string;
|
|
2369
|
+
size?: number;
|
|
2370
|
+
file_id?: string;
|
|
2371
|
+
url?: string;
|
|
2372
|
+
expires_at?: string;
|
|
2373
|
+
cached: boolean;
|
|
2374
|
+
fallback?: "content";
|
|
2375
|
+
skipped?: boolean;
|
|
2376
|
+
}>;
|
|
1825
2377
|
};
|
|
1826
2378
|
leases: {
|
|
1827
2379
|
delete: (options: import("./core/transport.js").CallOptions<Types.ReleaseComputerLeaseData>) => Promise<{
|
|
@@ -2168,6 +2720,543 @@ export declare function createAgent(transport: Transport): {
|
|
|
2168
2720
|
update: (options: import("./core/transport.js").CallOptions<Types.EnvironmentsUpdateData>) => Promise<Types.AgentManaged138>;
|
|
2169
2721
|
};
|
|
2170
2722
|
sessions: {
|
|
2723
|
+
agentVersion: {
|
|
2724
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UpdateSessionAgentVersionData>) => Promise<{
|
|
2725
|
+
id: string;
|
|
2726
|
+
agent: {
|
|
2727
|
+
id: string;
|
|
2728
|
+
description: null | string;
|
|
2729
|
+
mcp_servers: Array<{
|
|
2730
|
+
type: "url";
|
|
2731
|
+
name: string;
|
|
2732
|
+
url: string;
|
|
2733
|
+
headers?: {
|
|
2734
|
+
[key: string]: string;
|
|
2735
|
+
};
|
|
2736
|
+
timeout_ms?: number;
|
|
2737
|
+
} | {
|
|
2738
|
+
type: "sse";
|
|
2739
|
+
name: string;
|
|
2740
|
+
url: string;
|
|
2741
|
+
headers?: {
|
|
2742
|
+
[key: string]: string;
|
|
2743
|
+
};
|
|
2744
|
+
timeout_ms?: number;
|
|
2745
|
+
} | {
|
|
2746
|
+
type: "stdio";
|
|
2747
|
+
name: string;
|
|
2748
|
+
command: string;
|
|
2749
|
+
args?: Array<string>;
|
|
2750
|
+
env?: {
|
|
2751
|
+
[key: string]: string;
|
|
2752
|
+
};
|
|
2753
|
+
timeout_ms?: number;
|
|
2754
|
+
}>;
|
|
2755
|
+
model: {
|
|
2756
|
+
id: string;
|
|
2757
|
+
effort?: {
|
|
2758
|
+
type: "low";
|
|
2759
|
+
} | {
|
|
2760
|
+
type: "medium";
|
|
2761
|
+
} | {
|
|
2762
|
+
type: "high";
|
|
2763
|
+
} | {
|
|
2764
|
+
type: "xhigh";
|
|
2765
|
+
} | {
|
|
2766
|
+
type: "max";
|
|
2767
|
+
};
|
|
2768
|
+
inference_geo?: string;
|
|
2769
|
+
speed?: "standard" | "fast";
|
|
2770
|
+
settings?: {
|
|
2771
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
2772
|
+
max_output_tokens?: number;
|
|
2773
|
+
};
|
|
2774
|
+
};
|
|
2775
|
+
multiagent: null | {
|
|
2776
|
+
agents: Array<{
|
|
2777
|
+
model: string;
|
|
2778
|
+
type: "advisor";
|
|
2779
|
+
} | {
|
|
2780
|
+
id: string;
|
|
2781
|
+
description: null | string;
|
|
2782
|
+
mcp_servers: Array<{
|
|
2783
|
+
type: "url";
|
|
2784
|
+
name: string;
|
|
2785
|
+
url: string;
|
|
2786
|
+
headers?: {
|
|
2787
|
+
[key: string]: string;
|
|
2788
|
+
};
|
|
2789
|
+
timeout_ms?: number;
|
|
2790
|
+
} | {
|
|
2791
|
+
type: "sse";
|
|
2792
|
+
name: string;
|
|
2793
|
+
url: string;
|
|
2794
|
+
headers?: {
|
|
2795
|
+
[key: string]: string;
|
|
2796
|
+
};
|
|
2797
|
+
timeout_ms?: number;
|
|
2798
|
+
} | {
|
|
2799
|
+
type: "stdio";
|
|
2800
|
+
name: string;
|
|
2801
|
+
command: string;
|
|
2802
|
+
args?: Array<string>;
|
|
2803
|
+
env?: {
|
|
2804
|
+
[key: string]: string;
|
|
2805
|
+
};
|
|
2806
|
+
timeout_ms?: number;
|
|
2807
|
+
}>;
|
|
2808
|
+
model: {
|
|
2809
|
+
id: string;
|
|
2810
|
+
effort?: {
|
|
2811
|
+
type: "low";
|
|
2812
|
+
} | {
|
|
2813
|
+
type: "medium";
|
|
2814
|
+
} | {
|
|
2815
|
+
type: "high";
|
|
2816
|
+
} | {
|
|
2817
|
+
type: "xhigh";
|
|
2818
|
+
} | {
|
|
2819
|
+
type: "max";
|
|
2820
|
+
};
|
|
2821
|
+
inference_geo?: string;
|
|
2822
|
+
speed?: "standard" | "fast";
|
|
2823
|
+
};
|
|
2824
|
+
name: string;
|
|
2825
|
+
skills: Array<{
|
|
2826
|
+
skill_id: string;
|
|
2827
|
+
type: "anthropic";
|
|
2828
|
+
version: string;
|
|
2829
|
+
} | {
|
|
2830
|
+
skill_id: string;
|
|
2831
|
+
type: "custom";
|
|
2832
|
+
version: string;
|
|
2833
|
+
}>;
|
|
2834
|
+
system: null | string;
|
|
2835
|
+
tools: Array<{
|
|
2836
|
+
configs: Array<{
|
|
2837
|
+
enabled: boolean;
|
|
2838
|
+
name: "bash";
|
|
2839
|
+
permission_policy: {
|
|
2840
|
+
type: "always_allow";
|
|
2841
|
+
} | {
|
|
2842
|
+
type: "always_ask";
|
|
2843
|
+
} | {
|
|
2844
|
+
type: "auto";
|
|
2845
|
+
};
|
|
2846
|
+
type: "bash";
|
|
2847
|
+
} | {
|
|
2848
|
+
enabled: boolean;
|
|
2849
|
+
name: "edit";
|
|
2850
|
+
permission_policy: {
|
|
2851
|
+
type: "always_allow";
|
|
2852
|
+
} | {
|
|
2853
|
+
type: "always_ask";
|
|
2854
|
+
} | {
|
|
2855
|
+
type: "auto";
|
|
2856
|
+
};
|
|
2857
|
+
type: "edit";
|
|
2858
|
+
} | {
|
|
2859
|
+
enabled: boolean;
|
|
2860
|
+
name: "read";
|
|
2861
|
+
permission_policy: {
|
|
2862
|
+
type: "always_allow";
|
|
2863
|
+
} | {
|
|
2864
|
+
type: "always_ask";
|
|
2865
|
+
} | {
|
|
2866
|
+
type: "auto";
|
|
2867
|
+
};
|
|
2868
|
+
type: "read";
|
|
2869
|
+
} | {
|
|
2870
|
+
enabled: boolean;
|
|
2871
|
+
name: "write";
|
|
2872
|
+
permission_policy: {
|
|
2873
|
+
type: "always_allow";
|
|
2874
|
+
} | {
|
|
2875
|
+
type: "always_ask";
|
|
2876
|
+
} | {
|
|
2877
|
+
type: "auto";
|
|
2878
|
+
};
|
|
2879
|
+
type: "write";
|
|
2880
|
+
} | {
|
|
2881
|
+
enabled: boolean;
|
|
2882
|
+
name: "glob";
|
|
2883
|
+
permission_policy: {
|
|
2884
|
+
type: "always_allow";
|
|
2885
|
+
} | {
|
|
2886
|
+
type: "always_ask";
|
|
2887
|
+
} | {
|
|
2888
|
+
type: "auto";
|
|
2889
|
+
};
|
|
2890
|
+
type: "glob";
|
|
2891
|
+
} | {
|
|
2892
|
+
enabled: boolean;
|
|
2893
|
+
name: "grep";
|
|
2894
|
+
permission_policy: {
|
|
2895
|
+
type: "always_allow";
|
|
2896
|
+
} | {
|
|
2897
|
+
type: "always_ask";
|
|
2898
|
+
} | {
|
|
2899
|
+
type: "auto";
|
|
2900
|
+
};
|
|
2901
|
+
type: "grep";
|
|
2902
|
+
} | {
|
|
2903
|
+
enabled: boolean;
|
|
2904
|
+
name: "web_fetch";
|
|
2905
|
+
permission_policy: {
|
|
2906
|
+
type: "always_allow";
|
|
2907
|
+
} | {
|
|
2908
|
+
type: "always_ask";
|
|
2909
|
+
} | {
|
|
2910
|
+
type: "auto";
|
|
2911
|
+
};
|
|
2912
|
+
type: "web_fetch";
|
|
2913
|
+
allowed_domains?: Array<string>;
|
|
2914
|
+
blocked_domains?: Array<string>;
|
|
2915
|
+
max_content_tokens?: null | number;
|
|
2916
|
+
} | {
|
|
2917
|
+
enabled: boolean;
|
|
2918
|
+
name: "web_search";
|
|
2919
|
+
permission_policy: {
|
|
2920
|
+
type: "always_allow";
|
|
2921
|
+
} | {
|
|
2922
|
+
type: "always_ask";
|
|
2923
|
+
} | {
|
|
2924
|
+
type: "auto";
|
|
2925
|
+
};
|
|
2926
|
+
type: "web_search";
|
|
2927
|
+
allowed_domains?: Array<string>;
|
|
2928
|
+
blocked_domains?: Array<string>;
|
|
2929
|
+
user_location?: null | {
|
|
2930
|
+
type: "approximate";
|
|
2931
|
+
city?: null | string;
|
|
2932
|
+
country?: null | string;
|
|
2933
|
+
region?: null | string;
|
|
2934
|
+
timezone?: null | string;
|
|
2935
|
+
};
|
|
2936
|
+
} | {
|
|
2937
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
2938
|
+
enabled: boolean;
|
|
2939
|
+
permission_policy: {
|
|
2940
|
+
type: "always_allow" | "always_ask";
|
|
2941
|
+
};
|
|
2942
|
+
}>;
|
|
2943
|
+
default_config: {
|
|
2944
|
+
enabled: boolean;
|
|
2945
|
+
permission_policy: {
|
|
2946
|
+
type: "always_allow";
|
|
2947
|
+
} | {
|
|
2948
|
+
type: "always_ask";
|
|
2949
|
+
} | {
|
|
2950
|
+
type: "auto";
|
|
2951
|
+
};
|
|
2952
|
+
};
|
|
2953
|
+
type: "agent_toolset_20260401";
|
|
2954
|
+
} | {
|
|
2955
|
+
type: "mcp_toolset";
|
|
2956
|
+
mcp_server_name: string;
|
|
2957
|
+
default_config?: {
|
|
2958
|
+
enabled?: boolean | null;
|
|
2959
|
+
permission_policy?: null | {
|
|
2960
|
+
type: "always_allow" | "always_ask";
|
|
2961
|
+
};
|
|
2962
|
+
} | null;
|
|
2963
|
+
configs?: Array<{
|
|
2964
|
+
name: string;
|
|
2965
|
+
enabled?: boolean | null;
|
|
2966
|
+
permission_policy?: null | {
|
|
2967
|
+
type: "always_allow" | "always_ask";
|
|
2968
|
+
};
|
|
2969
|
+
}> | null;
|
|
2970
|
+
} | {
|
|
2971
|
+
description: string;
|
|
2972
|
+
input_schema: {
|
|
2973
|
+
type: "object";
|
|
2974
|
+
properties?: null | {
|
|
2975
|
+
[key: string]: unknown;
|
|
2976
|
+
};
|
|
2977
|
+
required?: null | Array<string>;
|
|
2978
|
+
[key: string]: unknown;
|
|
2979
|
+
};
|
|
2980
|
+
name: string;
|
|
2981
|
+
type: "custom";
|
|
2982
|
+
}>;
|
|
2983
|
+
type: "agent";
|
|
2984
|
+
version: number;
|
|
2985
|
+
}>;
|
|
2986
|
+
type: "coordinator";
|
|
2987
|
+
};
|
|
2988
|
+
name: string;
|
|
2989
|
+
skills: Array<{
|
|
2990
|
+
skill_id: string;
|
|
2991
|
+
type: "anthropic";
|
|
2992
|
+
version: string;
|
|
2993
|
+
} | {
|
|
2994
|
+
skill_id: string;
|
|
2995
|
+
type: "custom";
|
|
2996
|
+
version: string;
|
|
2997
|
+
}>;
|
|
2998
|
+
system: null | string;
|
|
2999
|
+
tools: Array<{
|
|
3000
|
+
configs: Array<{
|
|
3001
|
+
enabled: boolean;
|
|
3002
|
+
name: "bash";
|
|
3003
|
+
permission_policy: {
|
|
3004
|
+
type: "always_allow";
|
|
3005
|
+
} | {
|
|
3006
|
+
type: "always_ask";
|
|
3007
|
+
} | {
|
|
3008
|
+
type: "auto";
|
|
3009
|
+
};
|
|
3010
|
+
type: "bash";
|
|
3011
|
+
} | {
|
|
3012
|
+
enabled: boolean;
|
|
3013
|
+
name: "edit";
|
|
3014
|
+
permission_policy: {
|
|
3015
|
+
type: "always_allow";
|
|
3016
|
+
} | {
|
|
3017
|
+
type: "always_ask";
|
|
3018
|
+
} | {
|
|
3019
|
+
type: "auto";
|
|
3020
|
+
};
|
|
3021
|
+
type: "edit";
|
|
3022
|
+
} | {
|
|
3023
|
+
enabled: boolean;
|
|
3024
|
+
name: "read";
|
|
3025
|
+
permission_policy: {
|
|
3026
|
+
type: "always_allow";
|
|
3027
|
+
} | {
|
|
3028
|
+
type: "always_ask";
|
|
3029
|
+
} | {
|
|
3030
|
+
type: "auto";
|
|
3031
|
+
};
|
|
3032
|
+
type: "read";
|
|
3033
|
+
} | {
|
|
3034
|
+
enabled: boolean;
|
|
3035
|
+
name: "write";
|
|
3036
|
+
permission_policy: {
|
|
3037
|
+
type: "always_allow";
|
|
3038
|
+
} | {
|
|
3039
|
+
type: "always_ask";
|
|
3040
|
+
} | {
|
|
3041
|
+
type: "auto";
|
|
3042
|
+
};
|
|
3043
|
+
type: "write";
|
|
3044
|
+
} | {
|
|
3045
|
+
enabled: boolean;
|
|
3046
|
+
name: "glob";
|
|
3047
|
+
permission_policy: {
|
|
3048
|
+
type: "always_allow";
|
|
3049
|
+
} | {
|
|
3050
|
+
type: "always_ask";
|
|
3051
|
+
} | {
|
|
3052
|
+
type: "auto";
|
|
3053
|
+
};
|
|
3054
|
+
type: "glob";
|
|
3055
|
+
} | {
|
|
3056
|
+
enabled: boolean;
|
|
3057
|
+
name: "grep";
|
|
3058
|
+
permission_policy: {
|
|
3059
|
+
type: "always_allow";
|
|
3060
|
+
} | {
|
|
3061
|
+
type: "always_ask";
|
|
3062
|
+
} | {
|
|
3063
|
+
type: "auto";
|
|
3064
|
+
};
|
|
3065
|
+
type: "grep";
|
|
3066
|
+
} | {
|
|
3067
|
+
enabled: boolean;
|
|
3068
|
+
name: "web_fetch";
|
|
3069
|
+
permission_policy: {
|
|
3070
|
+
type: "always_allow";
|
|
3071
|
+
} | {
|
|
3072
|
+
type: "always_ask";
|
|
3073
|
+
} | {
|
|
3074
|
+
type: "auto";
|
|
3075
|
+
};
|
|
3076
|
+
type: "web_fetch";
|
|
3077
|
+
allowed_domains?: Array<string>;
|
|
3078
|
+
blocked_domains?: Array<string>;
|
|
3079
|
+
max_content_tokens?: null | number;
|
|
3080
|
+
} | {
|
|
3081
|
+
enabled: boolean;
|
|
3082
|
+
name: "web_search";
|
|
3083
|
+
permission_policy: {
|
|
3084
|
+
type: "always_allow";
|
|
3085
|
+
} | {
|
|
3086
|
+
type: "always_ask";
|
|
3087
|
+
} | {
|
|
3088
|
+
type: "auto";
|
|
3089
|
+
};
|
|
3090
|
+
type: "web_search";
|
|
3091
|
+
allowed_domains?: Array<string>;
|
|
3092
|
+
blocked_domains?: Array<string>;
|
|
3093
|
+
user_location?: null | {
|
|
3094
|
+
type: "approximate";
|
|
3095
|
+
city?: null | string;
|
|
3096
|
+
country?: null | string;
|
|
3097
|
+
region?: null | string;
|
|
3098
|
+
timezone?: null | string;
|
|
3099
|
+
};
|
|
3100
|
+
} | {
|
|
3101
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
3102
|
+
enabled: boolean;
|
|
3103
|
+
permission_policy: {
|
|
3104
|
+
type: "always_allow" | "always_ask";
|
|
3105
|
+
};
|
|
3106
|
+
}>;
|
|
3107
|
+
default_config: {
|
|
3108
|
+
enabled: boolean;
|
|
3109
|
+
permission_policy: {
|
|
3110
|
+
type: "always_allow";
|
|
3111
|
+
} | {
|
|
3112
|
+
type: "always_ask";
|
|
3113
|
+
} | {
|
|
3114
|
+
type: "auto";
|
|
3115
|
+
};
|
|
3116
|
+
};
|
|
3117
|
+
type: "agent_toolset_20260401";
|
|
3118
|
+
} | {
|
|
3119
|
+
type: "mcp_toolset";
|
|
3120
|
+
mcp_server_name: string;
|
|
3121
|
+
default_config?: {
|
|
3122
|
+
enabled?: boolean | null;
|
|
3123
|
+
permission_policy?: null | {
|
|
3124
|
+
type: "always_allow" | "always_ask";
|
|
3125
|
+
};
|
|
3126
|
+
} | null;
|
|
3127
|
+
configs?: Array<{
|
|
3128
|
+
name: string;
|
|
3129
|
+
enabled?: boolean | null;
|
|
3130
|
+
permission_policy?: null | {
|
|
3131
|
+
type: "always_allow" | "always_ask";
|
|
3132
|
+
};
|
|
3133
|
+
}> | null;
|
|
3134
|
+
} | {
|
|
3135
|
+
description: string;
|
|
3136
|
+
input_schema: {
|
|
3137
|
+
type: "object";
|
|
3138
|
+
properties?: null | {
|
|
3139
|
+
[key: string]: unknown;
|
|
3140
|
+
};
|
|
3141
|
+
required?: null | Array<string>;
|
|
3142
|
+
[key: string]: unknown;
|
|
3143
|
+
};
|
|
3144
|
+
name: string;
|
|
3145
|
+
type: "custom";
|
|
3146
|
+
}>;
|
|
3147
|
+
type: "agent";
|
|
3148
|
+
version: number;
|
|
3149
|
+
};
|
|
3150
|
+
archived_at: null | string;
|
|
3151
|
+
budget: null | {
|
|
3152
|
+
max_list_cost: {
|
|
3153
|
+
amount: string;
|
|
3154
|
+
currency: "USD";
|
|
3155
|
+
};
|
|
3156
|
+
type: "limit";
|
|
3157
|
+
};
|
|
3158
|
+
created_at: string;
|
|
3159
|
+
environment_id?: string;
|
|
3160
|
+
metadata: {
|
|
3161
|
+
[key: string]: string;
|
|
3162
|
+
};
|
|
3163
|
+
outcome_evaluations: Array<{
|
|
3164
|
+
completed_at: null | string;
|
|
3165
|
+
description: string;
|
|
3166
|
+
explanation: null | string;
|
|
3167
|
+
iteration: number;
|
|
3168
|
+
outcome_id: string;
|
|
3169
|
+
result: string;
|
|
3170
|
+
type: "outcome_evaluation";
|
|
3171
|
+
}>;
|
|
3172
|
+
resources: Array<{
|
|
3173
|
+
id: string;
|
|
3174
|
+
created_at: string;
|
|
3175
|
+
mount_path: string;
|
|
3176
|
+
type: "github_repository";
|
|
3177
|
+
updated_at: string;
|
|
3178
|
+
url: string;
|
|
3179
|
+
checkout?: null | {
|
|
3180
|
+
name: string;
|
|
3181
|
+
type: "branch";
|
|
3182
|
+
} | {
|
|
3183
|
+
sha: string;
|
|
3184
|
+
type: "commit";
|
|
3185
|
+
};
|
|
3186
|
+
} | {
|
|
3187
|
+
id: string;
|
|
3188
|
+
created_at: string;
|
|
3189
|
+
file_id: string;
|
|
3190
|
+
mount_path: string;
|
|
3191
|
+
type: "file";
|
|
3192
|
+
updated_at: string;
|
|
3193
|
+
} | {
|
|
3194
|
+
memory_store_id: string;
|
|
3195
|
+
type: "memory_store";
|
|
3196
|
+
access?: null | "read_write" | "read_only";
|
|
3197
|
+
description?: string;
|
|
3198
|
+
instructions?: null | string;
|
|
3199
|
+
mount_path?: null | string;
|
|
3200
|
+
name?: null | string;
|
|
3201
|
+
}>;
|
|
3202
|
+
stats: {
|
|
3203
|
+
active_seconds?: number;
|
|
3204
|
+
duration_seconds?: number;
|
|
3205
|
+
};
|
|
3206
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3207
|
+
title: null | string;
|
|
3208
|
+
type: "session";
|
|
3209
|
+
updated_at: string;
|
|
3210
|
+
usage: {
|
|
3211
|
+
active_seconds?: number;
|
|
3212
|
+
cache_creation?: {
|
|
3213
|
+
ephemeral_1h_input_tokens?: number;
|
|
3214
|
+
ephemeral_5m_input_tokens?: number;
|
|
3215
|
+
};
|
|
3216
|
+
cache_read_input_tokens?: number;
|
|
3217
|
+
input_tokens?: number;
|
|
3218
|
+
list_cost?: null | {
|
|
3219
|
+
amount: string;
|
|
3220
|
+
currency: "USD";
|
|
3221
|
+
};
|
|
3222
|
+
output_tokens?: number;
|
|
3223
|
+
server_tool_use?: null | {
|
|
3224
|
+
web_fetch_requests?: number;
|
|
3225
|
+
web_search_requests?: number;
|
|
3226
|
+
};
|
|
3227
|
+
cost_by_product?: {
|
|
3228
|
+
[key: string]: string;
|
|
3229
|
+
};
|
|
3230
|
+
subagent_cost_micro_usd?: number;
|
|
3231
|
+
};
|
|
3232
|
+
vault_ids: Array<string>;
|
|
3233
|
+
deployment_id?: null | string;
|
|
3234
|
+
cwd: string;
|
|
3235
|
+
workspace?: {
|
|
3236
|
+
kind: "shared" | "isolated";
|
|
3237
|
+
path?: string;
|
|
3238
|
+
branch?: string;
|
|
3239
|
+
};
|
|
3240
|
+
computer_id?: string;
|
|
3241
|
+
model?: {
|
|
3242
|
+
id: string;
|
|
3243
|
+
thinking: {
|
|
3244
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
3245
|
+
can_disable: boolean;
|
|
3246
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
3247
|
+
} | null;
|
|
3248
|
+
};
|
|
3249
|
+
thinking?: {
|
|
3250
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3251
|
+
} | null;
|
|
3252
|
+
forked_from?: {
|
|
3253
|
+
session_id: string;
|
|
3254
|
+
message_id: string;
|
|
3255
|
+
} | null;
|
|
3256
|
+
readonly external_user_id: string | null;
|
|
3257
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3258
|
+
}>;
|
|
3259
|
+
};
|
|
2171
3260
|
archive: (options: import("./core/transport.js").CallOptions<Types.SessionsArchiveData>) => Promise<{
|
|
2172
3261
|
id: string;
|
|
2173
3262
|
agent: {
|
|
@@ -2181,6 +3270,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2181
3270
|
speed?: "standard" | "fast";
|
|
2182
3271
|
settings?: {
|
|
2183
3272
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3273
|
+
max_output_tokens?: number;
|
|
2184
3274
|
};
|
|
2185
3275
|
};
|
|
2186
3276
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2207,6 +3297,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
2207
3297
|
vault_ids: Array<string>;
|
|
2208
3298
|
deployment_id?: null | string;
|
|
2209
3299
|
cwd: string;
|
|
3300
|
+
workspace?: {
|
|
3301
|
+
kind: "shared" | "isolated";
|
|
3302
|
+
path?: string;
|
|
3303
|
+
branch?: string;
|
|
3304
|
+
};
|
|
2210
3305
|
computer_id?: string;
|
|
2211
3306
|
model?: {
|
|
2212
3307
|
id: string;
|
|
@@ -2226,6 +3321,40 @@ export declare function createAgent(transport: Transport): {
|
|
|
2226
3321
|
readonly external_user_id: string | null;
|
|
2227
3322
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
2228
3323
|
}>;
|
|
3324
|
+
artifacts: {
|
|
3325
|
+
contentUrl: {
|
|
3326
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateSessionArtifactContentUrlData>) => Promise<{
|
|
3327
|
+
url: string;
|
|
3328
|
+
expire_time: string;
|
|
3329
|
+
}>;
|
|
3330
|
+
};
|
|
3331
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionArtifactsData>) => Promise<{
|
|
3332
|
+
data: Array<{
|
|
3333
|
+
object: "artifact";
|
|
3334
|
+
id: string;
|
|
3335
|
+
session_id: string;
|
|
3336
|
+
run_id: string | null;
|
|
3337
|
+
name: string;
|
|
3338
|
+
version: number;
|
|
3339
|
+
parts: Array<{
|
|
3340
|
+
kind: "file";
|
|
3341
|
+
file_id: string;
|
|
3342
|
+
filename: string;
|
|
3343
|
+
mime_type: string;
|
|
3344
|
+
bytes: number;
|
|
3345
|
+
} | {
|
|
3346
|
+
kind: "object";
|
|
3347
|
+
object_type: "canvas" | "media_asset";
|
|
3348
|
+
object_id: string;
|
|
3349
|
+
href: string;
|
|
3350
|
+
title: string | null;
|
|
3351
|
+
}>;
|
|
3352
|
+
source_hrefs: Array<string>;
|
|
3353
|
+
create_time: string;
|
|
3354
|
+
update_time: string;
|
|
3355
|
+
}>;
|
|
3356
|
+
}>;
|
|
3357
|
+
};
|
|
2229
3358
|
backgroundTasks: {
|
|
2230
3359
|
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionBackgroundTasksData>) => Promise<{
|
|
2231
3360
|
data: Array<{
|
|
@@ -2308,6 +3437,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2308
3437
|
speed?: "standard" | "fast";
|
|
2309
3438
|
settings?: {
|
|
2310
3439
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3440
|
+
max_output_tokens?: number;
|
|
2311
3441
|
};
|
|
2312
3442
|
};
|
|
2313
3443
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -2334,6 +3464,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
2334
3464
|
vault_ids: Array<string>;
|
|
2335
3465
|
deployment_id?: null | string;
|
|
2336
3466
|
cwd: string;
|
|
3467
|
+
workspace?: {
|
|
3468
|
+
kind: "shared" | "isolated";
|
|
3469
|
+
path?: string;
|
|
3470
|
+
branch?: string;
|
|
3471
|
+
};
|
|
2337
3472
|
computer_id?: string;
|
|
2338
3473
|
model?: {
|
|
2339
3474
|
id: string;
|
|
@@ -2394,7 +3529,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2394
3529
|
run_id: string | null;
|
|
2395
3530
|
message_id?: string;
|
|
2396
3531
|
} | {
|
|
2397
|
-
full_access_available?: boolean;
|
|
2398
3532
|
id: string;
|
|
2399
3533
|
input: Types.AgentManaged197;
|
|
2400
3534
|
mcp_server_name: string;
|
|
@@ -2404,6 +3538,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
2404
3538
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2405
3539
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2406
3540
|
session_thread_id?: null | string;
|
|
3541
|
+
permission_suggestions?: Array<{
|
|
3542
|
+
type: "add_rules";
|
|
3543
|
+
behavior: "allow";
|
|
3544
|
+
destination: "agent" | "session";
|
|
3545
|
+
rules: Array<{
|
|
3546
|
+
tool_name: string;
|
|
3547
|
+
rule_content: string;
|
|
3548
|
+
}>;
|
|
3549
|
+
}>;
|
|
3550
|
+
full_access_available?: boolean;
|
|
3551
|
+
user_once?: true;
|
|
3552
|
+
guarded_rule?: string;
|
|
2407
3553
|
run_id: string | null;
|
|
2408
3554
|
_meta?: {
|
|
2409
3555
|
ui?: {
|
|
@@ -2417,17 +3563,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2417
3563
|
};
|
|
2418
3564
|
source?: "app" | "codemode";
|
|
2419
3565
|
parent_tool_use_id?: string;
|
|
2420
|
-
user_once?: true;
|
|
2421
|
-
guarded_rule?: string;
|
|
2422
|
-
permission_suggestions?: Array<{
|
|
2423
|
-
type: "add_rules";
|
|
2424
|
-
behavior: "allow";
|
|
2425
|
-
destination: "agent" | "session";
|
|
2426
|
-
rules: Array<{
|
|
2427
|
-
tool_name: string;
|
|
2428
|
-
rule_content: string;
|
|
2429
|
-
}>;
|
|
2430
|
-
}>;
|
|
2431
3566
|
title?: string;
|
|
2432
3567
|
input_titles?: {
|
|
2433
3568
|
[key: string]: string;
|
|
@@ -2446,7 +3581,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2446
3581
|
};
|
|
2447
3582
|
source?: "app" | "codemode";
|
|
2448
3583
|
} | {
|
|
2449
|
-
full_access_available?: boolean;
|
|
2450
3584
|
id: string;
|
|
2451
3585
|
input: Types.AgentManaged206;
|
|
2452
3586
|
name: string;
|
|
@@ -2455,9 +3589,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2455
3589
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
2456
3590
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
2457
3591
|
session_thread_id?: null | string;
|
|
2458
|
-
run_id: string | null;
|
|
2459
|
-
user_once?: true;
|
|
2460
|
-
guarded_rule?: string;
|
|
2461
3592
|
permission_suggestions?: Array<{
|
|
2462
3593
|
type: "add_rules";
|
|
2463
3594
|
behavior: "allow";
|
|
@@ -2467,6 +3598,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
2467
3598
|
rule_content: string;
|
|
2468
3599
|
}>;
|
|
2469
3600
|
}>;
|
|
3601
|
+
full_access_available?: boolean;
|
|
3602
|
+
user_once?: true;
|
|
3603
|
+
guarded_rule?: string;
|
|
3604
|
+
run_id: string | null;
|
|
2470
3605
|
} | {
|
|
2471
3606
|
id: string;
|
|
2472
3607
|
processed_at: string;
|
|
@@ -2487,9 +3622,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2487
3622
|
type: "session.status_idle";
|
|
2488
3623
|
run_id: string | null;
|
|
2489
3624
|
} | 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 | {
|
|
2490
|
-
permission_mode_version?: number;
|
|
2491
|
-
previous_permission_mode?: string | null;
|
|
2492
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
2493
3625
|
id: string;
|
|
2494
3626
|
processed_at: string;
|
|
2495
3627
|
type: "session.updated";
|
|
@@ -2497,6 +3629,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
2497
3629
|
budget?: null | Types.AgentManaged76;
|
|
2498
3630
|
metadata?: Types.AgentManaged246;
|
|
2499
3631
|
title?: null | string;
|
|
3632
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3633
|
+
previous_permission_mode?: string | null;
|
|
3634
|
+
permission_mode_version?: number;
|
|
2500
3635
|
model?: {
|
|
2501
3636
|
id: string;
|
|
2502
3637
|
};
|
|
@@ -2555,21 +3690,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2555
3690
|
type: "user.steer";
|
|
2556
3691
|
event_id: string;
|
|
2557
3692
|
processed_at: string;
|
|
2558
|
-
} | {
|
|
2559
|
-
id: string;
|
|
2560
|
-
type: "user.tool_confirmation";
|
|
2561
|
-
processed_at: string;
|
|
2562
|
-
tool_use_id: string;
|
|
2563
|
-
result: "allow";
|
|
2564
|
-
answers: {
|
|
2565
|
-
[key: string]: string;
|
|
2566
|
-
};
|
|
2567
|
-
annotations?: {
|
|
2568
|
-
[key: string]: {
|
|
2569
|
-
preview?: string;
|
|
2570
|
-
notes?: string;
|
|
2571
|
-
};
|
|
2572
|
-
};
|
|
2573
3693
|
}>;
|
|
2574
3694
|
next_page: string | null;
|
|
2575
3695
|
}>;
|
|
@@ -2590,21 +3710,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
2590
3710
|
type: "user.steer";
|
|
2591
3711
|
event_id: string;
|
|
2592
3712
|
processed_at: string;
|
|
2593
|
-
} | {
|
|
2594
|
-
id: string;
|
|
2595
|
-
type: "user.tool_confirmation";
|
|
2596
|
-
processed_at: string;
|
|
2597
|
-
tool_use_id: string;
|
|
2598
|
-
result: "allow";
|
|
2599
|
-
answers: {
|
|
2600
|
-
[key: string]: string;
|
|
2601
|
-
};
|
|
2602
|
-
annotations?: {
|
|
2603
|
-
[key: string]: {
|
|
2604
|
-
preview?: string;
|
|
2605
|
-
notes?: string;
|
|
2606
|
-
};
|
|
2607
|
-
};
|
|
2608
3713
|
}>;
|
|
2609
3714
|
}>;
|
|
2610
3715
|
stream: (options: import("./core/transport.js").StreamOptions<Types.SessionsEventsStreamData>) => AsyncIterable<Types.AgentSseEvent>;
|
|
@@ -2657,6 +3762,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
2657
3762
|
speed?: "standard" | "fast";
|
|
2658
3763
|
settings?: {
|
|
2659
3764
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
3765
|
+
max_output_tokens?: number;
|
|
2660
3766
|
};
|
|
2661
3767
|
};
|
|
2662
3768
|
multiagent: null | {
|
|
@@ -3119,6 +4225,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3119
4225
|
vault_ids: Array<string>;
|
|
3120
4226
|
deployment_id?: null | string;
|
|
3121
4227
|
cwd: string;
|
|
4228
|
+
workspace?: {
|
|
4229
|
+
kind: "shared" | "isolated";
|
|
4230
|
+
path?: string;
|
|
4231
|
+
branch?: string;
|
|
4232
|
+
};
|
|
3122
4233
|
computer_id?: string;
|
|
3123
4234
|
model?: {
|
|
3124
4235
|
id: string;
|
|
@@ -3152,32 +4263,576 @@ export declare function createAgent(transport: Transport): {
|
|
|
3152
4263
|
speed?: "standard" | "fast";
|
|
3153
4264
|
settings?: {
|
|
3154
4265
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4266
|
+
max_output_tokens?: number;
|
|
4267
|
+
};
|
|
4268
|
+
};
|
|
4269
|
+
multiagent: null | Types.AgentManaged171;
|
|
4270
|
+
name: string;
|
|
4271
|
+
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
4272
|
+
system: null | string;
|
|
4273
|
+
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
4274
|
+
type: "agent";
|
|
4275
|
+
version: number;
|
|
4276
|
+
};
|
|
4277
|
+
archived_at: null | string;
|
|
4278
|
+
budget: null | Types.AgentManaged76;
|
|
4279
|
+
created_at: string;
|
|
4280
|
+
environment_id?: string;
|
|
4281
|
+
metadata: Types.AgentManaged173;
|
|
4282
|
+
outcome_evaluations: Array<Types.AgentManaged174>;
|
|
4283
|
+
resources: Array<Types.AgentManaged175 | Types.AgentManaged176 | Types.AgentManaged177>;
|
|
4284
|
+
stats: Types.AgentManaged178;
|
|
4285
|
+
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
4286
|
+
title: null | string;
|
|
4287
|
+
type: "session";
|
|
4288
|
+
updated_at: string;
|
|
4289
|
+
usage: Types.AgentManaged179;
|
|
4290
|
+
vault_ids: Array<string>;
|
|
4291
|
+
deployment_id?: null | string;
|
|
4292
|
+
cwd: string;
|
|
4293
|
+
workspace?: {
|
|
4294
|
+
kind: "shared" | "isolated";
|
|
4295
|
+
path?: string;
|
|
4296
|
+
branch?: string;
|
|
4297
|
+
};
|
|
4298
|
+
computer_id?: string;
|
|
4299
|
+
model?: {
|
|
4300
|
+
id: string;
|
|
4301
|
+
thinking: {
|
|
4302
|
+
efforts: Array<"low" | "medium" | "high" | "xhigh" | "max">;
|
|
4303
|
+
can_disable: boolean;
|
|
4304
|
+
default_effort: "low" | "medium" | "high" | "xhigh" | "max" | null;
|
|
4305
|
+
} | null;
|
|
4306
|
+
};
|
|
4307
|
+
thinking?: {
|
|
4308
|
+
effort: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4309
|
+
} | null;
|
|
4310
|
+
forked_from?: {
|
|
4311
|
+
session_id: string;
|
|
4312
|
+
message_id: string;
|
|
4313
|
+
} | null;
|
|
4314
|
+
readonly external_user_id: string | null;
|
|
4315
|
+
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
4316
|
+
}>;
|
|
4317
|
+
next_page: string | null;
|
|
4318
|
+
}>;
|
|
4319
|
+
name: {
|
|
4320
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RenameSessionData>) => Promise<{
|
|
4321
|
+
id: string;
|
|
4322
|
+
agent: {
|
|
4323
|
+
id: string;
|
|
4324
|
+
description: null | string;
|
|
4325
|
+
mcp_servers: Array<{
|
|
4326
|
+
type: "url";
|
|
4327
|
+
name: string;
|
|
4328
|
+
url: string;
|
|
4329
|
+
headers?: {
|
|
4330
|
+
[key: string]: string;
|
|
4331
|
+
};
|
|
4332
|
+
timeout_ms?: number;
|
|
4333
|
+
} | {
|
|
4334
|
+
type: "sse";
|
|
4335
|
+
name: string;
|
|
4336
|
+
url: string;
|
|
4337
|
+
headers?: {
|
|
4338
|
+
[key: string]: string;
|
|
4339
|
+
};
|
|
4340
|
+
timeout_ms?: number;
|
|
4341
|
+
} | {
|
|
4342
|
+
type: "stdio";
|
|
4343
|
+
name: string;
|
|
4344
|
+
command: string;
|
|
4345
|
+
args?: Array<string>;
|
|
4346
|
+
env?: {
|
|
4347
|
+
[key: string]: string;
|
|
4348
|
+
};
|
|
4349
|
+
timeout_ms?: number;
|
|
4350
|
+
}>;
|
|
4351
|
+
model: {
|
|
4352
|
+
id: string;
|
|
4353
|
+
effort?: {
|
|
4354
|
+
type: "low";
|
|
4355
|
+
} | {
|
|
4356
|
+
type: "medium";
|
|
4357
|
+
} | {
|
|
4358
|
+
type: "high";
|
|
4359
|
+
} | {
|
|
4360
|
+
type: "xhigh";
|
|
4361
|
+
} | {
|
|
4362
|
+
type: "max";
|
|
4363
|
+
};
|
|
4364
|
+
inference_geo?: string;
|
|
4365
|
+
speed?: "standard" | "fast";
|
|
4366
|
+
settings?: {
|
|
4367
|
+
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4368
|
+
max_output_tokens?: number;
|
|
4369
|
+
};
|
|
4370
|
+
};
|
|
4371
|
+
multiagent: null | {
|
|
4372
|
+
agents: Array<{
|
|
4373
|
+
model: string;
|
|
4374
|
+
type: "advisor";
|
|
4375
|
+
} | {
|
|
4376
|
+
id: string;
|
|
4377
|
+
description: null | string;
|
|
4378
|
+
mcp_servers: Array<{
|
|
4379
|
+
type: "url";
|
|
4380
|
+
name: string;
|
|
4381
|
+
url: string;
|
|
4382
|
+
headers?: {
|
|
4383
|
+
[key: string]: string;
|
|
4384
|
+
};
|
|
4385
|
+
timeout_ms?: number;
|
|
4386
|
+
} | {
|
|
4387
|
+
type: "sse";
|
|
4388
|
+
name: string;
|
|
4389
|
+
url: string;
|
|
4390
|
+
headers?: {
|
|
4391
|
+
[key: string]: string;
|
|
4392
|
+
};
|
|
4393
|
+
timeout_ms?: number;
|
|
4394
|
+
} | {
|
|
4395
|
+
type: "stdio";
|
|
4396
|
+
name: string;
|
|
4397
|
+
command: string;
|
|
4398
|
+
args?: Array<string>;
|
|
4399
|
+
env?: {
|
|
4400
|
+
[key: string]: string;
|
|
4401
|
+
};
|
|
4402
|
+
timeout_ms?: number;
|
|
4403
|
+
}>;
|
|
4404
|
+
model: {
|
|
4405
|
+
id: string;
|
|
4406
|
+
effort?: {
|
|
4407
|
+
type: "low";
|
|
4408
|
+
} | {
|
|
4409
|
+
type: "medium";
|
|
4410
|
+
} | {
|
|
4411
|
+
type: "high";
|
|
4412
|
+
} | {
|
|
4413
|
+
type: "xhigh";
|
|
4414
|
+
} | {
|
|
4415
|
+
type: "max";
|
|
4416
|
+
};
|
|
4417
|
+
inference_geo?: string;
|
|
4418
|
+
speed?: "standard" | "fast";
|
|
4419
|
+
};
|
|
4420
|
+
name: string;
|
|
4421
|
+
skills: Array<{
|
|
4422
|
+
skill_id: string;
|
|
4423
|
+
type: "anthropic";
|
|
4424
|
+
version: string;
|
|
4425
|
+
} | {
|
|
4426
|
+
skill_id: string;
|
|
4427
|
+
type: "custom";
|
|
4428
|
+
version: string;
|
|
4429
|
+
}>;
|
|
4430
|
+
system: null | string;
|
|
4431
|
+
tools: Array<{
|
|
4432
|
+
configs: Array<{
|
|
4433
|
+
enabled: boolean;
|
|
4434
|
+
name: "bash";
|
|
4435
|
+
permission_policy: {
|
|
4436
|
+
type: "always_allow";
|
|
4437
|
+
} | {
|
|
4438
|
+
type: "always_ask";
|
|
4439
|
+
} | {
|
|
4440
|
+
type: "auto";
|
|
4441
|
+
};
|
|
4442
|
+
type: "bash";
|
|
4443
|
+
} | {
|
|
4444
|
+
enabled: boolean;
|
|
4445
|
+
name: "edit";
|
|
4446
|
+
permission_policy: {
|
|
4447
|
+
type: "always_allow";
|
|
4448
|
+
} | {
|
|
4449
|
+
type: "always_ask";
|
|
4450
|
+
} | {
|
|
4451
|
+
type: "auto";
|
|
4452
|
+
};
|
|
4453
|
+
type: "edit";
|
|
4454
|
+
} | {
|
|
4455
|
+
enabled: boolean;
|
|
4456
|
+
name: "read";
|
|
4457
|
+
permission_policy: {
|
|
4458
|
+
type: "always_allow";
|
|
4459
|
+
} | {
|
|
4460
|
+
type: "always_ask";
|
|
4461
|
+
} | {
|
|
4462
|
+
type: "auto";
|
|
4463
|
+
};
|
|
4464
|
+
type: "read";
|
|
4465
|
+
} | {
|
|
4466
|
+
enabled: boolean;
|
|
4467
|
+
name: "write";
|
|
4468
|
+
permission_policy: {
|
|
4469
|
+
type: "always_allow";
|
|
4470
|
+
} | {
|
|
4471
|
+
type: "always_ask";
|
|
4472
|
+
} | {
|
|
4473
|
+
type: "auto";
|
|
4474
|
+
};
|
|
4475
|
+
type: "write";
|
|
4476
|
+
} | {
|
|
4477
|
+
enabled: boolean;
|
|
4478
|
+
name: "glob";
|
|
4479
|
+
permission_policy: {
|
|
4480
|
+
type: "always_allow";
|
|
4481
|
+
} | {
|
|
4482
|
+
type: "always_ask";
|
|
4483
|
+
} | {
|
|
4484
|
+
type: "auto";
|
|
4485
|
+
};
|
|
4486
|
+
type: "glob";
|
|
4487
|
+
} | {
|
|
4488
|
+
enabled: boolean;
|
|
4489
|
+
name: "grep";
|
|
4490
|
+
permission_policy: {
|
|
4491
|
+
type: "always_allow";
|
|
4492
|
+
} | {
|
|
4493
|
+
type: "always_ask";
|
|
4494
|
+
} | {
|
|
4495
|
+
type: "auto";
|
|
4496
|
+
};
|
|
4497
|
+
type: "grep";
|
|
4498
|
+
} | {
|
|
4499
|
+
enabled: boolean;
|
|
4500
|
+
name: "web_fetch";
|
|
4501
|
+
permission_policy: {
|
|
4502
|
+
type: "always_allow";
|
|
4503
|
+
} | {
|
|
4504
|
+
type: "always_ask";
|
|
4505
|
+
} | {
|
|
4506
|
+
type: "auto";
|
|
4507
|
+
};
|
|
4508
|
+
type: "web_fetch";
|
|
4509
|
+
allowed_domains?: Array<string>;
|
|
4510
|
+
blocked_domains?: Array<string>;
|
|
4511
|
+
max_content_tokens?: null | number;
|
|
4512
|
+
} | {
|
|
4513
|
+
enabled: boolean;
|
|
4514
|
+
name: "web_search";
|
|
4515
|
+
permission_policy: {
|
|
4516
|
+
type: "always_allow";
|
|
4517
|
+
} | {
|
|
4518
|
+
type: "always_ask";
|
|
4519
|
+
} | {
|
|
4520
|
+
type: "auto";
|
|
4521
|
+
};
|
|
4522
|
+
type: "web_search";
|
|
4523
|
+
allowed_domains?: Array<string>;
|
|
4524
|
+
blocked_domains?: Array<string>;
|
|
4525
|
+
user_location?: null | {
|
|
4526
|
+
type: "approximate";
|
|
4527
|
+
city?: null | string;
|
|
4528
|
+
country?: null | string;
|
|
4529
|
+
region?: null | string;
|
|
4530
|
+
timezone?: null | string;
|
|
4531
|
+
};
|
|
4532
|
+
} | {
|
|
4533
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
4534
|
+
enabled: boolean;
|
|
4535
|
+
permission_policy: {
|
|
4536
|
+
type: "always_allow" | "always_ask";
|
|
4537
|
+
};
|
|
4538
|
+
}>;
|
|
4539
|
+
default_config: {
|
|
4540
|
+
enabled: boolean;
|
|
4541
|
+
permission_policy: {
|
|
4542
|
+
type: "always_allow";
|
|
4543
|
+
} | {
|
|
4544
|
+
type: "always_ask";
|
|
4545
|
+
} | {
|
|
4546
|
+
type: "auto";
|
|
4547
|
+
};
|
|
4548
|
+
};
|
|
4549
|
+
type: "agent_toolset_20260401";
|
|
4550
|
+
} | {
|
|
4551
|
+
type: "mcp_toolset";
|
|
4552
|
+
mcp_server_name: string;
|
|
4553
|
+
default_config?: {
|
|
4554
|
+
enabled?: boolean | null;
|
|
4555
|
+
permission_policy?: null | {
|
|
4556
|
+
type: "always_allow" | "always_ask";
|
|
4557
|
+
};
|
|
4558
|
+
} | null;
|
|
4559
|
+
configs?: Array<{
|
|
4560
|
+
name: string;
|
|
4561
|
+
enabled?: boolean | null;
|
|
4562
|
+
permission_policy?: null | {
|
|
4563
|
+
type: "always_allow" | "always_ask";
|
|
4564
|
+
};
|
|
4565
|
+
}> | null;
|
|
4566
|
+
} | {
|
|
4567
|
+
description: string;
|
|
4568
|
+
input_schema: {
|
|
4569
|
+
type: "object";
|
|
4570
|
+
properties?: null | {
|
|
4571
|
+
[key: string]: unknown;
|
|
4572
|
+
};
|
|
4573
|
+
required?: null | Array<string>;
|
|
4574
|
+
[key: string]: unknown;
|
|
4575
|
+
};
|
|
4576
|
+
name: string;
|
|
4577
|
+
type: "custom";
|
|
4578
|
+
}>;
|
|
4579
|
+
type: "agent";
|
|
4580
|
+
version: number;
|
|
4581
|
+
}>;
|
|
4582
|
+
type: "coordinator";
|
|
4583
|
+
};
|
|
4584
|
+
name: string;
|
|
4585
|
+
skills: Array<{
|
|
4586
|
+
skill_id: string;
|
|
4587
|
+
type: "anthropic";
|
|
4588
|
+
version: string;
|
|
4589
|
+
} | {
|
|
4590
|
+
skill_id: string;
|
|
4591
|
+
type: "custom";
|
|
4592
|
+
version: string;
|
|
4593
|
+
}>;
|
|
4594
|
+
system: null | string;
|
|
4595
|
+
tools: Array<{
|
|
4596
|
+
configs: Array<{
|
|
4597
|
+
enabled: boolean;
|
|
4598
|
+
name: "bash";
|
|
4599
|
+
permission_policy: {
|
|
4600
|
+
type: "always_allow";
|
|
4601
|
+
} | {
|
|
4602
|
+
type: "always_ask";
|
|
4603
|
+
} | {
|
|
4604
|
+
type: "auto";
|
|
4605
|
+
};
|
|
4606
|
+
type: "bash";
|
|
4607
|
+
} | {
|
|
4608
|
+
enabled: boolean;
|
|
4609
|
+
name: "edit";
|
|
4610
|
+
permission_policy: {
|
|
4611
|
+
type: "always_allow";
|
|
4612
|
+
} | {
|
|
4613
|
+
type: "always_ask";
|
|
4614
|
+
} | {
|
|
4615
|
+
type: "auto";
|
|
4616
|
+
};
|
|
4617
|
+
type: "edit";
|
|
4618
|
+
} | {
|
|
4619
|
+
enabled: boolean;
|
|
4620
|
+
name: "read";
|
|
4621
|
+
permission_policy: {
|
|
4622
|
+
type: "always_allow";
|
|
4623
|
+
} | {
|
|
4624
|
+
type: "always_ask";
|
|
4625
|
+
} | {
|
|
4626
|
+
type: "auto";
|
|
4627
|
+
};
|
|
4628
|
+
type: "read";
|
|
4629
|
+
} | {
|
|
4630
|
+
enabled: boolean;
|
|
4631
|
+
name: "write";
|
|
4632
|
+
permission_policy: {
|
|
4633
|
+
type: "always_allow";
|
|
4634
|
+
} | {
|
|
4635
|
+
type: "always_ask";
|
|
4636
|
+
} | {
|
|
4637
|
+
type: "auto";
|
|
4638
|
+
};
|
|
4639
|
+
type: "write";
|
|
4640
|
+
} | {
|
|
4641
|
+
enabled: boolean;
|
|
4642
|
+
name: "glob";
|
|
4643
|
+
permission_policy: {
|
|
4644
|
+
type: "always_allow";
|
|
4645
|
+
} | {
|
|
4646
|
+
type: "always_ask";
|
|
4647
|
+
} | {
|
|
4648
|
+
type: "auto";
|
|
4649
|
+
};
|
|
4650
|
+
type: "glob";
|
|
4651
|
+
} | {
|
|
4652
|
+
enabled: boolean;
|
|
4653
|
+
name: "grep";
|
|
4654
|
+
permission_policy: {
|
|
4655
|
+
type: "always_allow";
|
|
4656
|
+
} | {
|
|
4657
|
+
type: "always_ask";
|
|
4658
|
+
} | {
|
|
4659
|
+
type: "auto";
|
|
4660
|
+
};
|
|
4661
|
+
type: "grep";
|
|
4662
|
+
} | {
|
|
4663
|
+
enabled: boolean;
|
|
4664
|
+
name: "web_fetch";
|
|
4665
|
+
permission_policy: {
|
|
4666
|
+
type: "always_allow";
|
|
4667
|
+
} | {
|
|
4668
|
+
type: "always_ask";
|
|
4669
|
+
} | {
|
|
4670
|
+
type: "auto";
|
|
4671
|
+
};
|
|
4672
|
+
type: "web_fetch";
|
|
4673
|
+
allowed_domains?: Array<string>;
|
|
4674
|
+
blocked_domains?: Array<string>;
|
|
4675
|
+
max_content_tokens?: null | number;
|
|
4676
|
+
} | {
|
|
4677
|
+
enabled: boolean;
|
|
4678
|
+
name: "web_search";
|
|
4679
|
+
permission_policy: {
|
|
4680
|
+
type: "always_allow";
|
|
4681
|
+
} | {
|
|
4682
|
+
type: "always_ask";
|
|
4683
|
+
} | {
|
|
4684
|
+
type: "auto";
|
|
4685
|
+
};
|
|
4686
|
+
type: "web_search";
|
|
4687
|
+
allowed_domains?: Array<string>;
|
|
4688
|
+
blocked_domains?: Array<string>;
|
|
4689
|
+
user_location?: null | {
|
|
4690
|
+
type: "approximate";
|
|
4691
|
+
city?: null | string;
|
|
4692
|
+
country?: null | string;
|
|
4693
|
+
region?: null | string;
|
|
4694
|
+
timezone?: null | string;
|
|
4695
|
+
};
|
|
4696
|
+
} | {
|
|
4697
|
+
name: "task_output" | "task_stop" | "monitor" | "agent" | "send_message" | "codemode" | "skill";
|
|
4698
|
+
enabled: boolean;
|
|
4699
|
+
permission_policy: {
|
|
4700
|
+
type: "always_allow" | "always_ask";
|
|
4701
|
+
};
|
|
4702
|
+
}>;
|
|
4703
|
+
default_config: {
|
|
4704
|
+
enabled: boolean;
|
|
4705
|
+
permission_policy: {
|
|
4706
|
+
type: "always_allow";
|
|
4707
|
+
} | {
|
|
4708
|
+
type: "always_ask";
|
|
4709
|
+
} | {
|
|
4710
|
+
type: "auto";
|
|
4711
|
+
};
|
|
4712
|
+
};
|
|
4713
|
+
type: "agent_toolset_20260401";
|
|
4714
|
+
} | {
|
|
4715
|
+
type: "mcp_toolset";
|
|
4716
|
+
mcp_server_name: string;
|
|
4717
|
+
default_config?: {
|
|
4718
|
+
enabled?: boolean | null;
|
|
4719
|
+
permission_policy?: null | {
|
|
4720
|
+
type: "always_allow" | "always_ask";
|
|
4721
|
+
};
|
|
4722
|
+
} | null;
|
|
4723
|
+
configs?: Array<{
|
|
4724
|
+
name: string;
|
|
4725
|
+
enabled?: boolean | null;
|
|
4726
|
+
permission_policy?: null | {
|
|
4727
|
+
type: "always_allow" | "always_ask";
|
|
4728
|
+
};
|
|
4729
|
+
}> | null;
|
|
4730
|
+
} | {
|
|
4731
|
+
description: string;
|
|
4732
|
+
input_schema: {
|
|
4733
|
+
type: "object";
|
|
4734
|
+
properties?: null | {
|
|
4735
|
+
[key: string]: unknown;
|
|
4736
|
+
};
|
|
4737
|
+
required?: null | Array<string>;
|
|
4738
|
+
[key: string]: unknown;
|
|
3155
4739
|
};
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
skills: Array<Types.AgentManaged42 | Types.AgentManaged43>;
|
|
3160
|
-
system: null | string;
|
|
3161
|
-
tools: Array<Types.AgentManaged44 | Types.AgentManaged54 | Types.AgentManaged57>;
|
|
4740
|
+
name: string;
|
|
4741
|
+
type: "custom";
|
|
4742
|
+
}>;
|
|
3162
4743
|
type: "agent";
|
|
3163
4744
|
version: number;
|
|
3164
4745
|
};
|
|
3165
4746
|
archived_at: null | string;
|
|
3166
|
-
budget: null |
|
|
4747
|
+
budget: null | {
|
|
4748
|
+
max_list_cost: {
|
|
4749
|
+
amount: string;
|
|
4750
|
+
currency: "USD";
|
|
4751
|
+
};
|
|
4752
|
+
type: "limit";
|
|
4753
|
+
};
|
|
3167
4754
|
created_at: string;
|
|
3168
4755
|
environment_id?: string;
|
|
3169
|
-
metadata:
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
4756
|
+
metadata: {
|
|
4757
|
+
[key: string]: string;
|
|
4758
|
+
};
|
|
4759
|
+
outcome_evaluations: Array<{
|
|
4760
|
+
completed_at: null | string;
|
|
4761
|
+
description: string;
|
|
4762
|
+
explanation: null | string;
|
|
4763
|
+
iteration: number;
|
|
4764
|
+
outcome_id: string;
|
|
4765
|
+
result: string;
|
|
4766
|
+
type: "outcome_evaluation";
|
|
4767
|
+
}>;
|
|
4768
|
+
resources: Array<{
|
|
4769
|
+
id: string;
|
|
4770
|
+
created_at: string;
|
|
4771
|
+
mount_path: string;
|
|
4772
|
+
type: "github_repository";
|
|
4773
|
+
updated_at: string;
|
|
4774
|
+
url: string;
|
|
4775
|
+
checkout?: null | {
|
|
4776
|
+
name: string;
|
|
4777
|
+
type: "branch";
|
|
4778
|
+
} | {
|
|
4779
|
+
sha: string;
|
|
4780
|
+
type: "commit";
|
|
4781
|
+
};
|
|
4782
|
+
} | {
|
|
4783
|
+
id: string;
|
|
4784
|
+
created_at: string;
|
|
4785
|
+
file_id: string;
|
|
4786
|
+
mount_path: string;
|
|
4787
|
+
type: "file";
|
|
4788
|
+
updated_at: string;
|
|
4789
|
+
} | {
|
|
4790
|
+
memory_store_id: string;
|
|
4791
|
+
type: "memory_store";
|
|
4792
|
+
access?: null | "read_write" | "read_only";
|
|
4793
|
+
description?: string;
|
|
4794
|
+
instructions?: null | string;
|
|
4795
|
+
mount_path?: null | string;
|
|
4796
|
+
name?: null | string;
|
|
4797
|
+
}>;
|
|
4798
|
+
stats: {
|
|
4799
|
+
active_seconds?: number;
|
|
4800
|
+
duration_seconds?: number;
|
|
4801
|
+
};
|
|
3173
4802
|
status: "rescheduling" | "running" | "idle" | "terminated";
|
|
3174
4803
|
title: null | string;
|
|
3175
4804
|
type: "session";
|
|
3176
4805
|
updated_at: string;
|
|
3177
|
-
usage:
|
|
4806
|
+
usage: {
|
|
4807
|
+
active_seconds?: number;
|
|
4808
|
+
cache_creation?: {
|
|
4809
|
+
ephemeral_1h_input_tokens?: number;
|
|
4810
|
+
ephemeral_5m_input_tokens?: number;
|
|
4811
|
+
};
|
|
4812
|
+
cache_read_input_tokens?: number;
|
|
4813
|
+
input_tokens?: number;
|
|
4814
|
+
list_cost?: null | {
|
|
4815
|
+
amount: string;
|
|
4816
|
+
currency: "USD";
|
|
4817
|
+
};
|
|
4818
|
+
output_tokens?: number;
|
|
4819
|
+
server_tool_use?: null | {
|
|
4820
|
+
web_fetch_requests?: number;
|
|
4821
|
+
web_search_requests?: number;
|
|
4822
|
+
};
|
|
4823
|
+
cost_by_product?: {
|
|
4824
|
+
[key: string]: string;
|
|
4825
|
+
};
|
|
4826
|
+
subagent_cost_micro_usd?: number;
|
|
4827
|
+
};
|
|
3178
4828
|
vault_ids: Array<string>;
|
|
3179
4829
|
deployment_id?: null | string;
|
|
3180
4830
|
cwd: string;
|
|
4831
|
+
workspace?: {
|
|
4832
|
+
kind: "shared" | "isolated";
|
|
4833
|
+
path?: string;
|
|
4834
|
+
branch?: string;
|
|
4835
|
+
};
|
|
3181
4836
|
computer_id?: string;
|
|
3182
4837
|
model?: {
|
|
3183
4838
|
id: string;
|
|
@@ -3197,8 +4852,21 @@ export declare function createAgent(transport: Transport): {
|
|
|
3197
4852
|
readonly external_user_id: string | null;
|
|
3198
4853
|
readonly source: "kit" | "iframe" | "hosted" | "api" | "automation" | null;
|
|
3199
4854
|
}>;
|
|
3200
|
-
|
|
3201
|
-
|
|
4855
|
+
};
|
|
4856
|
+
requests: {
|
|
4857
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListSessionRequestsData>) => Promise<{
|
|
4858
|
+
data: Array<{
|
|
4859
|
+
id: string;
|
|
4860
|
+
object: "request";
|
|
4861
|
+
kind: "question" | "approval";
|
|
4862
|
+
status: "pending";
|
|
4863
|
+
tool_name: string;
|
|
4864
|
+
input: unknown;
|
|
4865
|
+
create_time: string;
|
|
4866
|
+
expire_time: string | null;
|
|
4867
|
+
}>;
|
|
4868
|
+
}>;
|
|
4869
|
+
};
|
|
3202
4870
|
resources: {
|
|
3203
4871
|
create: (options: import("./core/transport.js").CallOptions<Types.SessionsResourcesAddData>) => Promise<Types.AgentManaged176>;
|
|
3204
4872
|
delete: (options: import("./core/transport.js").CallOptions<RenameParameters<Types.SessionsResourcesDeleteData, {
|
|
@@ -3229,6 +4897,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3229
4897
|
speed?: "standard" | "fast";
|
|
3230
4898
|
settings?: {
|
|
3231
4899
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
4900
|
+
max_output_tokens?: number;
|
|
3232
4901
|
};
|
|
3233
4902
|
};
|
|
3234
4903
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3255,6 +4924,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3255
4924
|
vault_ids: Array<string>;
|
|
3256
4925
|
deployment_id?: null | string;
|
|
3257
4926
|
cwd: string;
|
|
4927
|
+
workspace?: {
|
|
4928
|
+
kind: "shared" | "isolated";
|
|
4929
|
+
path?: string;
|
|
4930
|
+
branch?: string;
|
|
4931
|
+
};
|
|
3258
4932
|
computer_id?: string;
|
|
3259
4933
|
model?: {
|
|
3260
4934
|
id: string;
|
|
@@ -3401,7 +5075,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3401
5075
|
run_id: string | null;
|
|
3402
5076
|
message_id?: string;
|
|
3403
5077
|
} | {
|
|
3404
|
-
full_access_available?: boolean;
|
|
3405
5078
|
id: string;
|
|
3406
5079
|
input: Types.AgentManaged197;
|
|
3407
5080
|
mcp_server_name: string;
|
|
@@ -3411,6 +5084,18 @@ export declare function createAgent(transport: Transport): {
|
|
|
3411
5084
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3412
5085
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3413
5086
|
session_thread_id?: null | string;
|
|
5087
|
+
permission_suggestions?: Array<{
|
|
5088
|
+
type: "add_rules";
|
|
5089
|
+
behavior: "allow";
|
|
5090
|
+
destination: "agent" | "session";
|
|
5091
|
+
rules: Array<{
|
|
5092
|
+
tool_name: string;
|
|
5093
|
+
rule_content: string;
|
|
5094
|
+
}>;
|
|
5095
|
+
}>;
|
|
5096
|
+
full_access_available?: boolean;
|
|
5097
|
+
user_once?: true;
|
|
5098
|
+
guarded_rule?: string;
|
|
3414
5099
|
run_id: string | null;
|
|
3415
5100
|
parent_tool_use_id?: string;
|
|
3416
5101
|
_meta?: {
|
|
@@ -3424,17 +5109,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3424
5109
|
};
|
|
3425
5110
|
};
|
|
3426
5111
|
source?: "app" | "codemode";
|
|
3427
|
-
user_once?: true;
|
|
3428
|
-
guarded_rule?: string;
|
|
3429
|
-
permission_suggestions?: Array<{
|
|
3430
|
-
type: "add_rules";
|
|
3431
|
-
behavior: "allow";
|
|
3432
|
-
destination: "agent" | "session";
|
|
3433
|
-
rules: Array<{
|
|
3434
|
-
tool_name: string;
|
|
3435
|
-
rule_content: string;
|
|
3436
|
-
}>;
|
|
3437
|
-
}>;
|
|
3438
5112
|
title?: string;
|
|
3439
5113
|
input_titles?: {
|
|
3440
5114
|
[key: string]: string;
|
|
@@ -3453,7 +5127,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3453
5127
|
};
|
|
3454
5128
|
source?: "app" | "codemode";
|
|
3455
5129
|
} | {
|
|
3456
|
-
full_access_available?: boolean;
|
|
3457
5130
|
id: string;
|
|
3458
5131
|
input: Types.AgentManaged206;
|
|
3459
5132
|
name: string;
|
|
@@ -3462,9 +5135,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3462
5135
|
evaluated_permission?: "allow" | "deny" | "ask";
|
|
3463
5136
|
evaluation?: Types.AgentManaged198 | Types.AgentManaged199 | Types.AgentManaged200;
|
|
3464
5137
|
session_thread_id?: null | string;
|
|
3465
|
-
run_id: string | null;
|
|
3466
|
-
user_once?: true;
|
|
3467
|
-
guarded_rule?: string;
|
|
3468
5138
|
permission_suggestions?: Array<{
|
|
3469
5139
|
type: "add_rules";
|
|
3470
5140
|
behavior: "allow";
|
|
@@ -3474,6 +5144,10 @@ export declare function createAgent(transport: Transport): {
|
|
|
3474
5144
|
rule_content: string;
|
|
3475
5145
|
}>;
|
|
3476
5146
|
}>;
|
|
5147
|
+
full_access_available?: boolean;
|
|
5148
|
+
user_once?: true;
|
|
5149
|
+
guarded_rule?: string;
|
|
5150
|
+
run_id: string | null;
|
|
3477
5151
|
} | {
|
|
3478
5152
|
id: string;
|
|
3479
5153
|
processed_at: string;
|
|
@@ -3494,9 +5168,6 @@ export declare function createAgent(transport: Transport): {
|
|
|
3494
5168
|
type: "session.status_idle";
|
|
3495
5169
|
run_id: string | null;
|
|
3496
5170
|
} | 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 | {
|
|
3497
|
-
permission_mode_version?: number;
|
|
3498
|
-
previous_permission_mode?: string | null;
|
|
3499
|
-
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
3500
5171
|
id: string;
|
|
3501
5172
|
processed_at: string;
|
|
3502
5173
|
type: "session.updated";
|
|
@@ -3504,6 +5175,9 @@ export declare function createAgent(transport: Transport): {
|
|
|
3504
5175
|
budget?: null | Types.AgentManaged76;
|
|
3505
5176
|
metadata?: Types.AgentManaged246;
|
|
3506
5177
|
title?: null | string;
|
|
5178
|
+
permission_mode?: "build" | "edit" | "plan" | "yolo" | "guarded" | null;
|
|
5179
|
+
previous_permission_mode?: string | null;
|
|
5180
|
+
permission_mode_version?: number;
|
|
3507
5181
|
model?: {
|
|
3508
5182
|
id: string;
|
|
3509
5183
|
};
|
|
@@ -3594,6 +5268,7 @@ export declare function createAgent(transport: Transport): {
|
|
|
3594
5268
|
speed?: "standard" | "fast";
|
|
3595
5269
|
settings?: {
|
|
3596
5270
|
reasoning?: "low" | "medium" | "high" | "xhigh" | "max" | "none";
|
|
5271
|
+
max_output_tokens?: number;
|
|
3597
5272
|
};
|
|
3598
5273
|
};
|
|
3599
5274
|
multiagent: null | Types.AgentManaged171;
|
|
@@ -3620,6 +5295,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3620
5295
|
vault_ids: Array<string>;
|
|
3621
5296
|
deployment_id?: null | string;
|
|
3622
5297
|
cwd: string;
|
|
5298
|
+
workspace?: {
|
|
5299
|
+
kind: "shared" | "isolated";
|
|
5300
|
+
path?: string;
|
|
5301
|
+
branch?: string;
|
|
5302
|
+
};
|
|
3623
5303
|
computer_id?: string;
|
|
3624
5304
|
model?: {
|
|
3625
5305
|
id: string;
|
|
@@ -3684,6 +5364,29 @@ export declare function createAgent(transport: Transport): {
|
|
|
3684
5364
|
next_page: null;
|
|
3685
5365
|
}>;
|
|
3686
5366
|
};
|
|
5367
|
+
uploads: {
|
|
5368
|
+
contentUrl: {
|
|
5369
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadContentUrlData>) => Promise<{
|
|
5370
|
+
url: string;
|
|
5371
|
+
expires_at: string;
|
|
5372
|
+
}>;
|
|
5373
|
+
};
|
|
5374
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CreateAgentUploadData>) => Promise<{
|
|
5375
|
+
upload_id: string;
|
|
5376
|
+
expires_at: string;
|
|
5377
|
+
url: string;
|
|
5378
|
+
} | {
|
|
5379
|
+
upload_id: string;
|
|
5380
|
+
expires_at: string;
|
|
5381
|
+
part_size: number;
|
|
5382
|
+
parts: Array<{
|
|
5383
|
+
part_number: number;
|
|
5384
|
+
url: string;
|
|
5385
|
+
}>;
|
|
5386
|
+
complete_url: string;
|
|
5387
|
+
status_url: string;
|
|
5388
|
+
}>;
|
|
5389
|
+
};
|
|
3687
5390
|
};
|
|
3688
5391
|
export declare function createApplication(transport: Transport): {
|
|
3689
5392
|
assets: {
|
|
@@ -3948,6 +5651,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
3948
5651
|
};
|
|
3949
5652
|
};
|
|
3950
5653
|
};
|
|
5654
|
+
export declare function createBilling(transport: Transport): {
|
|
5655
|
+
prices: {
|
|
5656
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
|
|
5657
|
+
};
|
|
5658
|
+
};
|
|
3951
5659
|
export declare function createBrowser(transport: Transport): {
|
|
3952
5660
|
connect: {
|
|
3953
5661
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -3977,6 +5685,10 @@ export declare function createBrowser(transport: Transport): {
|
|
|
3977
5685
|
tab: string;
|
|
3978
5686
|
url: string;
|
|
3979
5687
|
title: string;
|
|
5688
|
+
} | {
|
|
5689
|
+
type: "select";
|
|
5690
|
+
tab: string;
|
|
5691
|
+
values: Array<string>;
|
|
3980
5692
|
} | {
|
|
3981
5693
|
type: "tabs.list";
|
|
3982
5694
|
tabs: Array<{
|
|
@@ -4003,6 +5715,11 @@ export declare function createBrowser(transport: Transport): {
|
|
|
4003
5715
|
type: "evaluate";
|
|
4004
5716
|
tab: string;
|
|
4005
5717
|
value: unknown;
|
|
5718
|
+
} | {
|
|
5719
|
+
type: "set_cookie";
|
|
5720
|
+
tab: string;
|
|
5721
|
+
name: string;
|
|
5722
|
+
domain: string;
|
|
4006
5723
|
}>;
|
|
4007
5724
|
};
|
|
4008
5725
|
create: (options: import("./core/transport.js").CallOptions<Types.BrowserCreateSessionData>) => Promise<Types.BrowserSessionCreateResult>;
|
|
@@ -4060,6 +5777,24 @@ export declare function createCanvas(transport: Transport): {
|
|
|
4060
5777
|
update: (options: import("./core/transport.js").CallOptions<Types.CanvasUpdateCollectionData>) => Promise<Types.CanvasCollection>;
|
|
4061
5778
|
};
|
|
4062
5779
|
};
|
|
5780
|
+
export declare function createContent(transport: Transport): {
|
|
5781
|
+
contents: {
|
|
5782
|
+
archive: (options: import("./core/transport.js").CallOptions<Types.ContentArchiveContentData>) => Promise<Types.ContentContent>;
|
|
5783
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreateContentData>) => Promise<Types.ContentContent>;
|
|
5784
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ContentListContentsData> | undefined) => Promise<Types.ContentContentPage>;
|
|
5785
|
+
publish: (options: import("./core/transport.js").CallOptions<Types.ContentPublishContentData>) => Promise<Types.ContentContent>;
|
|
5786
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetContentData>) => Promise<Types.ContentContent>;
|
|
5787
|
+
unpublish: (options: import("./core/transport.js").CallOptions<Types.ContentUnpublishContentData>) => Promise<Types.ContentContent>;
|
|
5788
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ContentUpdateContentData>) => Promise<Types.ContentContent>;
|
|
5789
|
+
};
|
|
5790
|
+
playbackSessions: {
|
|
5791
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ContentCreatePlaybackSessionData>) => Promise<Types.ContentPlaybackSession>;
|
|
5792
|
+
};
|
|
5793
|
+
versions: {
|
|
5794
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ContentListVersionsData>) => Promise<Types.ContentContentVersionPage>;
|
|
5795
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ContentGetVersionData>) => Promise<Types.ContentContentVersion>;
|
|
5796
|
+
};
|
|
5797
|
+
};
|
|
4063
5798
|
export declare function createCrm(transport: Transport): {
|
|
4064
5799
|
associations: {
|
|
4065
5800
|
create: (options: import("./core/transport.js").CallOptions<Types.CrmAssociationsCreateData>) => Promise<Types.CrmAssociationsLabelsBetweenObjectPair & Types.CrmWriteResult>;
|
|
@@ -4120,6 +5855,32 @@ export declare function createCrm(transport: Transport): {
|
|
|
4120
5855
|
list: (options?: import("./core/transport.js").CallOptions<Types.CrmSchemasListData> | undefined) => Promise<Types.CrmSchemasCollectionResponseObjectSchemaNoPaging>;
|
|
4121
5856
|
};
|
|
4122
5857
|
};
|
|
5858
|
+
export declare function createCustomer(transport: Transport): {
|
|
5859
|
+
accessTokens: {
|
|
5860
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateAccessTokenData>) => Promise<Types.CustomerAccessToken>;
|
|
5861
|
+
renew: (options?: import("./core/transport.js").CallOptions<Types.CustomerRenewAccessTokenData> | undefined) => Promise<Types.CustomerAccessToken>;
|
|
5862
|
+
revoke: (options?: import("./core/transport.js").CallOptions<Types.CustomerRevokeCurrentTokensData> | undefined) => Promise<unknown>;
|
|
5863
|
+
};
|
|
5864
|
+
customers: {
|
|
5865
|
+
block: (options: import("./core/transport.js").CallOptions<Types.CustomerBlockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
5866
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeleteCustomerData>) => Promise<Types.CustomerCustomerDeleted>;
|
|
5867
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListCustomersData> | undefined) => Promise<Types.CustomerCustomerPage>;
|
|
5868
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
5869
|
+
revokeTokens: (options: import("./core/transport.js").CallOptions<Types.CustomerRevokeTokensData>) => Promise<Types.CustomerTokensRevoked>;
|
|
5870
|
+
unblock: (options: import("./core/transport.js").CallOptions<Types.CustomerUnblockCustomerData>) => Promise<Types.CustomerCustomer>;
|
|
5871
|
+
};
|
|
5872
|
+
grantCodes: {
|
|
5873
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreateGrantCodeData>) => Promise<Types.CustomerGrantCode>;
|
|
5874
|
+
};
|
|
5875
|
+
publishableKeys: {
|
|
5876
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CustomerCreatePublishableKeyData>) => Promise<Types.CustomerPublishableKey>;
|
|
5877
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.CustomerDeletePublishableKeyData>) => Promise<Types.CustomerPublishableKeyDeleted>;
|
|
5878
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.CustomerListPublishableKeysData> | undefined) => Promise<Types.CustomerPublishableKeyPage>;
|
|
5879
|
+
};
|
|
5880
|
+
usage: {
|
|
5881
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.CustomerGetUsageData>) => Promise<Types.CustomerCustomerUsage>;
|
|
5882
|
+
};
|
|
5883
|
+
};
|
|
4123
5884
|
export declare function createCut(transport: Transport): {
|
|
4124
5885
|
exports: {
|
|
4125
5886
|
cancel: (options: import("./core/transport.js").CallOptions<Types.CutCancelExportData>) => Promise<Types.CutExport>;
|
|
@@ -4216,10 +5977,28 @@ export declare function createDatabase(transport: Transport): {
|
|
|
4216
5977
|
};
|
|
4217
5978
|
};
|
|
4218
5979
|
export declare function createDevops(transport: Transport): {
|
|
5980
|
+
changes: {
|
|
5981
|
+
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesAbandonData>) => Promise<Types.DevopsChange>;
|
|
5982
|
+
gitCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGitCredentialData>) => Promise<Types.DevopsChangeGitCredential>;
|
|
5983
|
+
markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
|
|
5984
|
+
openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
|
|
5985
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
|
|
5986
|
+
};
|
|
5987
|
+
connections: {
|
|
5988
|
+
complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
|
|
5989
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCreateData>) => Promise<Types.DevopsConnectionStart>;
|
|
5990
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListData> | undefined) => Promise<Types.DevopsConnectionPage>;
|
|
5991
|
+
repositories: {
|
|
5992
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsListRepositoriesData>) => Promise<Types.DevopsRepositoryPage>;
|
|
5993
|
+
};
|
|
5994
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsGetData>) => Promise<Types.DevopsConnection>;
|
|
5995
|
+
};
|
|
4219
5996
|
environments: {
|
|
4220
5997
|
checkpoints: {
|
|
4221
5998
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsCheckpointsListData>) => Promise<Types.DevopsCheckpointList>;
|
|
4222
5999
|
};
|
|
6000
|
+
rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsRollbackData>) => Promise<Types.DevopsPromotion>;
|
|
6001
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsUpdateData>) => Promise<Types.DevopsEnvironment>;
|
|
4223
6002
|
};
|
|
4224
6003
|
flags: {
|
|
4225
6004
|
archive: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsArchiveData>) => Promise<Types.DevopsFlag>;
|
|
@@ -4238,6 +6017,17 @@ export declare function createDevops(transport: Transport): {
|
|
|
4238
6017
|
rollback: (options: import("./core/transport.js").CallOptions<Types.DevopsProgressiveRolloutsRollbackData>) => Promise<Types.DevopsProgressiveRollout>;
|
|
4239
6018
|
};
|
|
4240
6019
|
projects: {
|
|
6020
|
+
changes: {
|
|
6021
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesCreateData>) => Promise<Types.DevopsChange>;
|
|
6022
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesListData>) => Promise<Types.DevopsChangePage>;
|
|
6023
|
+
};
|
|
6024
|
+
cleanups: {
|
|
6025
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsCleanupsListData>) => Promise<Types.DevopsCleanupPage>;
|
|
6026
|
+
};
|
|
6027
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsCreateData>) => Promise<Types.DevopsProject>;
|
|
6028
|
+
defaultBranch: {
|
|
6029
|
+
initialize: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsInitializeDefaultBranchData>) => Promise<Types.DevopsDefaultBranchInitialized>;
|
|
6030
|
+
};
|
|
4241
6031
|
environments: {
|
|
4242
6032
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsEnvironmentsListData>) => Promise<Types.DevopsEnvironmentList>;
|
|
4243
6033
|
targets: {
|
|
@@ -4255,17 +6045,26 @@ export declare function createDevops(transport: Transport): {
|
|
|
4255
6045
|
flags: {
|
|
4256
6046
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsCreateData>) => Promise<Types.DevopsFlag>;
|
|
4257
6047
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsListData>) => Promise<Types.DevopsFlagPage>;
|
|
6048
|
+
reportCodeRefs: (options: import("./core/transport.js").CallOptions<Types.DevopsFlagsReportCodeRefsData>) => Promise<Types.DevopsFlagCodeRefsReportResult>;
|
|
4258
6049
|
};
|
|
4259
6050
|
list: (options?: import("./core/transport.js").CallOptions<Types.DevopsProjectsListData> | undefined) => Promise<Types.DevopsProjectPage>;
|
|
4260
6051
|
promotions: {
|
|
4261
6052
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsListData>) => Promise<Types.DevopsPromotionPage>;
|
|
4262
6053
|
};
|
|
6054
|
+
pullRequests: {
|
|
6055
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsListData>) => Promise<Types.DevopsPullRequestPage>;
|
|
6056
|
+
};
|
|
4263
6057
|
releases: {
|
|
4264
6058
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesCreateData>) => Promise<Types.DevopsRelease>;
|
|
4265
6059
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesListData>) => Promise<Types.DevopsReleasePage>;
|
|
4266
6060
|
};
|
|
4267
6061
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsGetData>) => Promise<Types.DevopsProject>;
|
|
4268
6062
|
retrieveTestCatalog: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCatalogGetData>) => Promise<Types.DevopsCatalogVersion>;
|
|
6063
|
+
retrieveTestPlan: (options: import("./core/transport.js").CallOptions<Types.DevopsTestPlanGetData>) => Promise<Types.DevopsTestPlan>;
|
|
6064
|
+
segments: {
|
|
6065
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsCreateData>) => Promise<Types.DevopsSegment>;
|
|
6066
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsListData>) => Promise<Types.DevopsSegmentPage>;
|
|
6067
|
+
};
|
|
4269
6068
|
targets: {
|
|
4270
6069
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsListData>) => Promise<Types.DevopsTargetPage>;
|
|
4271
6070
|
refresh: (options: import("./core/transport.js").CallOptions<Types.DevopsTargetsRefreshData>) => Promise<Types.DevopsTargetCatalog>;
|
|
@@ -4287,10 +6086,21 @@ export declare function createDevops(transport: Transport): {
|
|
|
4287
6086
|
testSuites: {
|
|
4288
6087
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesListData>) => Promise<Types.DevopsSuitePage>;
|
|
4289
6088
|
};
|
|
6089
|
+
units: {
|
|
6090
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsCreateData>) => Promise<Types.DevopsUnit>;
|
|
6091
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsListData>) => Promise<Types.DevopsUnitPage>;
|
|
6092
|
+
};
|
|
6093
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DevopsProjectsUpdateData>) => Promise<Types.DevopsProject>;
|
|
6094
|
+
workspaces: {
|
|
6095
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesListData>) => Promise<Types.DevopsWorkspaceList>;
|
|
6096
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesGetData>) => Promise<Types.DevopsWorkspace>;
|
|
6097
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DevopsWorkspacesUpdateData>) => Promise<Types.DevopsWorkspace>;
|
|
6098
|
+
};
|
|
4290
6099
|
};
|
|
4291
6100
|
promotions: {
|
|
4292
6101
|
approve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsApproveData>) => Promise<Types.DevopsPromotion>;
|
|
4293
6102
|
cancel: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCancelData>) => Promise<Types.DevopsPromotion>;
|
|
6103
|
+
checkoutCredential: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCheckoutCredentialData>) => Promise<Types.DevopsCheckoutCredential>;
|
|
4294
6104
|
conclude: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsConcludeData>) => Promise<Types.DevopsPromotion>;
|
|
4295
6105
|
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsCreateData>) => Promise<Types.DevopsPromotion>;
|
|
4296
6106
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPromotionsGetData>) => Promise<Types.DevopsPromotion>;
|
|
@@ -4299,6 +6109,16 @@ export declare function createDevops(transport: Transport): {
|
|
|
4299
6109
|
list: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsListData>) => Promise<Types.DevopsRolloutPage>;
|
|
4300
6110
|
};
|
|
4301
6111
|
};
|
|
6112
|
+
pullRequests: {
|
|
6113
|
+
close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
|
|
6114
|
+
merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
|
|
6115
|
+
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
6116
|
+
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
6117
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsGetData>) => Promise<Types.DevopsPullRequest>;
|
|
6118
|
+
reviews: {
|
|
6119
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsReviewsCreateData>) => Promise<Types.DevopsPullRequest>;
|
|
6120
|
+
};
|
|
6121
|
+
};
|
|
4302
6122
|
releases: {
|
|
4303
6123
|
abandon: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesAbandonData>) => Promise<Types.DevopsRelease>;
|
|
4304
6124
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsReleasesGetData>) => Promise<Types.DevopsRelease>;
|
|
@@ -4306,6 +6126,9 @@ export declare function createDevops(transport: Transport): {
|
|
|
4306
6126
|
rollouts: {
|
|
4307
6127
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsRolloutsGetData>) => Promise<Types.DevopsRollout>;
|
|
4308
6128
|
};
|
|
6129
|
+
segments: {
|
|
6130
|
+
update: (options: import("./core/transport.js").CallOptions<Types.DevopsSegmentsUpdateData>) => Promise<Types.DevopsSegment>;
|
|
6131
|
+
};
|
|
4309
6132
|
testCases: {
|
|
4310
6133
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestCasesGetData>) => Promise<Types.DevopsTestCase>;
|
|
4311
6134
|
};
|
|
@@ -4323,10 +6146,24 @@ export declare function createDevops(transport: Transport): {
|
|
|
4323
6146
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestExecutionsGetData>) => Promise<Types.DevopsExecution>;
|
|
4324
6147
|
};
|
|
4325
6148
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsGetData>) => Promise<Types.DevopsRun>;
|
|
6149
|
+
retryFailed: (options: import("./core/transport.js").CallOptions<Types.DevopsTestRunsRetryFailedData>) => Promise<Types.DevopsRun>;
|
|
4326
6150
|
};
|
|
4327
6151
|
testSuites: {
|
|
4328
6152
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsTestSuitesGetData>) => Promise<Types.DevopsSuite>;
|
|
4329
6153
|
};
|
|
6154
|
+
units: {
|
|
6155
|
+
connect: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsConnectData>) => Promise<Types.DevopsUnitConnectResult>;
|
|
6156
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsDeleteData>) => Promise<Types.DevopsUnitDeleted>;
|
|
6157
|
+
exec: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsExecData>) => Promise<Types.DevopsUnitExecResult>;
|
|
6158
|
+
fetch: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsFetchData>) => Promise<Types.DevopsUnit>;
|
|
6159
|
+
push: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsPushData>) => Promise<Types.DevopsUnitPushResult>;
|
|
6160
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsGetData>) => Promise<Types.DevopsUnit>;
|
|
6161
|
+
start: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStartData>) => Promise<Types.DevopsUnit>;
|
|
6162
|
+
stop: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsStopData>) => Promise<Types.DevopsUnit>;
|
|
6163
|
+
transitions: {
|
|
6164
|
+
list: (options: import("./core/transport.js").CallOptions<Types.DevopsUnitsTransitionsListData>) => Promise<Types.DevopsUnitTransitionPage>;
|
|
6165
|
+
};
|
|
6166
|
+
};
|
|
4330
6167
|
};
|
|
4331
6168
|
export declare function createFile(transport: Transport): {
|
|
4332
6169
|
files: {
|
|
@@ -4417,12 +6254,19 @@ export declare function createMedia(transport: Transport): {
|
|
|
4417
6254
|
};
|
|
4418
6255
|
libraries: {
|
|
4419
6256
|
assets: {
|
|
6257
|
+
align: {
|
|
6258
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaAlignAssetData>) => Promise<Types.MediaJob>;
|
|
6259
|
+
};
|
|
4420
6260
|
batch: (options: import("./core/transport.js").CallOptions<Types.MediaBatchAssetsData>) => Promise<Types.MediaJob>;
|
|
4421
6261
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaUploadAssetData>) => Promise<Types.MediaUploadResult>;
|
|
4422
6262
|
delete: (options: import("./core/transport.js").CallOptions<Types.MediaDeleteAssetData>) => Promise<Types.MediaDeleted>;
|
|
4423
6263
|
frames: {
|
|
4424
6264
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateFrameUrlsData>) => Promise<Types.MediaFrameUrls>;
|
|
4425
6265
|
};
|
|
6266
|
+
hls: {
|
|
6267
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaRequestHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
6268
|
+
list: (options: import("./core/transport.js").CallOptions<Types.MediaGetHlsRenditionsData>) => Promise<Types.MediaHlsLadder>;
|
|
6269
|
+
};
|
|
4426
6270
|
import: {
|
|
4427
6271
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaImportAssetData>) => Promise<Types.MediaAsset>;
|
|
4428
6272
|
};
|
|
@@ -4435,6 +6279,9 @@ export declare function createMedia(transport: Transport): {
|
|
|
4435
6279
|
list: (options: import("./core/transport.js").CallOptions<Types.MediaListUnderstandingsData>) => Promise<import("./automation.js").Page<Types.MediaUnderstanding>>;
|
|
4436
6280
|
};
|
|
4437
6281
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateAssetData>) => Promise<Types.MediaAsset>;
|
|
6282
|
+
versions: {
|
|
6283
|
+
restore: (options: import("./core/transport.js").CallOptions<Types.MediaRestoreAssetVersionData>) => Promise<Types.MediaAsset>;
|
|
6284
|
+
};
|
|
4438
6285
|
};
|
|
4439
6286
|
batches: {
|
|
4440
6287
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateBatchData>) => Promise<Types.MediaJob>;
|
|
@@ -4457,6 +6304,11 @@ export declare function createMedia(transport: Transport): {
|
|
|
4457
6304
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetJobData>) => Promise<Types.MediaJob>;
|
|
4458
6305
|
};
|
|
4459
6306
|
list: (options?: import("./core/transport.js").CallOptions<Types.MediaListLibrariesData> | undefined) => Promise<import("./automation.js").Page<Types.MediaLibrary>>;
|
|
6307
|
+
materials: {
|
|
6308
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateMaterialData>) => Promise<Types.MediaMaterial>;
|
|
6309
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.MediaGetMaterialData>) => Promise<Types.MediaMaterial>;
|
|
6310
|
+
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateMaterialData>) => Promise<Types.MediaMaterial>;
|
|
6311
|
+
};
|
|
4460
6312
|
purge: {
|
|
4461
6313
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaPurgeLibraryData>) => Promise<Types.MediaPurgedLibrary>;
|
|
4462
6314
|
};
|
|
@@ -4481,6 +6333,12 @@ export declare function createMedia(transport: Transport): {
|
|
|
4481
6333
|
retrieveFailureSummary: (options: import("./core/transport.js").CallOptions<Types.MediaUnderstandingFailureSummaryData>) => Promise<Types.MediaFailureSummary>;
|
|
4482
6334
|
};
|
|
4483
6335
|
update: (options: import("./core/transport.js").CallOptions<Types.MediaUpdateLibraryData>) => Promise<Types.MediaLibrary>;
|
|
6336
|
+
voices: {
|
|
6337
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateVoiceData>) => Promise<Types.MediaJob>;
|
|
6338
|
+
designs: {
|
|
6339
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MediaDesignVoiceData>) => Promise<Types.MediaJob>;
|
|
6340
|
+
};
|
|
6341
|
+
};
|
|
4484
6342
|
};
|
|
4485
6343
|
speech: {
|
|
4486
6344
|
create: (options: import("./core/transport.js").CallOptions<Types.MediaCreateSpeechData>) => Promise<Types.MediaJob>;
|
|
@@ -4687,7 +6545,35 @@ export declare function createModel(transport: Transport): {
|
|
|
4687
6545
|
countTokens: (options: import("./core/transport.js").CallOptions<Types.CountTokensData>) => Promise<Types.AnthropicMessageTokensCount>;
|
|
4688
6546
|
create: import("./core/bindings.js").MixedMethod<Types.CreateMessageData, Types.AnthropicMessage, Types.PraxisSdkSsePostModelV1Messages>;
|
|
4689
6547
|
};
|
|
6548
|
+
modelAccess: {
|
|
6549
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListModelAccessData> | undefined) => Promise<{
|
|
6550
|
+
items: Array<{
|
|
6551
|
+
model: string;
|
|
6552
|
+
access_required: boolean;
|
|
6553
|
+
granted: boolean;
|
|
6554
|
+
granted_by: string | null;
|
|
6555
|
+
granted_at: string | null;
|
|
6556
|
+
sell_input_price: number | null;
|
|
6557
|
+
sell_output_price: number | null;
|
|
6558
|
+
}>;
|
|
6559
|
+
}>;
|
|
6560
|
+
};
|
|
4690
6561
|
models: {
|
|
6562
|
+
access: {
|
|
6563
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.DisableModelAccessData>) => Promise<{
|
|
6564
|
+
model: string;
|
|
6565
|
+
revoked: true;
|
|
6566
|
+
}>;
|
|
6567
|
+
update: (options: import("./core/transport.js").CallOptions<Types.EnableModelAccessData>) => Promise<{
|
|
6568
|
+
model: string;
|
|
6569
|
+
access_required: boolean;
|
|
6570
|
+
granted: true;
|
|
6571
|
+
granted_by: string;
|
|
6572
|
+
granted_at: string;
|
|
6573
|
+
sell_input_price: number | null;
|
|
6574
|
+
sell_output_price: number | null;
|
|
6575
|
+
}>;
|
|
6576
|
+
};
|
|
4691
6577
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListModelsData> | undefined) => Promise<{
|
|
4692
6578
|
object: "list";
|
|
4693
6579
|
data: Array<{
|
|
@@ -4702,6 +6588,7 @@ export declare function createModel(transport: Transport): {
|
|
|
4702
6588
|
type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
|
|
4703
6589
|
supported_apis: Array<string>;
|
|
4704
6590
|
tags: Array<string>;
|
|
6591
|
+
access_required: boolean;
|
|
4705
6592
|
architecture: {
|
|
4706
6593
|
modality: string;
|
|
4707
6594
|
input_modalities: Array<string>;
|
|
@@ -4748,6 +6635,7 @@ export declare function createModel(transport: Transport): {
|
|
|
4748
6635
|
type: "language" | "image" | "embedding" | "ocr" | "transcription" | "speech" | "video" | "reranking";
|
|
4749
6636
|
supported_apis: Array<string>;
|
|
4750
6637
|
tags: Array<string>;
|
|
6638
|
+
access_required: boolean;
|
|
4751
6639
|
architecture: {
|
|
4752
6640
|
modality: string;
|
|
4753
6641
|
input_modalities: Array<string>;
|
|
@@ -4974,6 +6862,7 @@ export declare function createModel(transport: Transport): {
|
|
|
4974
6862
|
unsigned_urls: Array<string>;
|
|
4975
6863
|
usage?: {
|
|
4976
6864
|
cost: number;
|
|
6865
|
+
billed_seconds?: number;
|
|
4977
6866
|
};
|
|
4978
6867
|
}>;
|
|
4979
6868
|
delete: (options: import("./core/transport.js").CallOptions<Types.DeleteVideoData>) => Promise<{
|
|
@@ -5004,6 +6893,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5004
6893
|
unsigned_urls: Array<string>;
|
|
5005
6894
|
usage?: {
|
|
5006
6895
|
cost: number;
|
|
6896
|
+
billed_seconds?: number;
|
|
5007
6897
|
};
|
|
5008
6898
|
}>;
|
|
5009
6899
|
has_more: boolean;
|
|
@@ -5032,6 +6922,7 @@ export declare function createModel(transport: Transport): {
|
|
|
5032
6922
|
unsigned_urls: Array<string>;
|
|
5033
6923
|
usage?: {
|
|
5034
6924
|
cost: number;
|
|
6925
|
+
billed_seconds?: number;
|
|
5035
6926
|
};
|
|
5036
6927
|
}>;
|
|
5037
6928
|
retrieveContent: (options: import("./core/transport.js").CallOptions<Types.DownloadVideoContentData>) => Promise<Blob | File>;
|
|
@@ -5069,6 +6960,23 @@ export declare function createOntology(transport: Transport): {
|
|
|
5069
6960
|
};
|
|
5070
6961
|
};
|
|
5071
6962
|
export declare function createOrganization(transport: Transport): {
|
|
6963
|
+
actors: {
|
|
6964
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationActorsData> | undefined) => Promise<Types.OrganizationActorList>;
|
|
6965
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationActorData>) => Promise<Types.OrganizationPositionChain>;
|
|
6966
|
+
};
|
|
6967
|
+
assignments: {
|
|
6968
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationAssignmentsData> | undefined) => Promise<Types.OrganizationAssignmentList>;
|
|
6969
|
+
makePrimary: {
|
|
6970
|
+
create: (options: import("./core/transport.js").CallOptions<Types.MakePrimaryOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6971
|
+
};
|
|
6972
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6973
|
+
terminate: {
|
|
6974
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TerminateOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6975
|
+
};
|
|
6976
|
+
transfer: {
|
|
6977
|
+
create: (options: import("./core/transport.js").CallOptions<Types.TransferOrganizationAssignmentData>) => Promise<Types.OrganizationAssignment>;
|
|
6978
|
+
};
|
|
6979
|
+
};
|
|
5072
6980
|
charges: {
|
|
5073
6981
|
list: (options: import("./core/transport.js").CallOptions<Types.ExportOrganizationChargesData>) => Promise<{
|
|
5074
6982
|
ChargePeriodStart: string;
|
|
@@ -5110,6 +7018,19 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5110
7018
|
next_page: string | null;
|
|
5111
7019
|
}>;
|
|
5112
7020
|
};
|
|
7021
|
+
departments: {
|
|
7022
|
+
create: (options: import("./core/transport.js").CallOptions<Types.EstablishOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7023
|
+
dissolve: {
|
|
7024
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DissolveOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7025
|
+
};
|
|
7026
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationDepartmentsData> | undefined) => Promise<Types.OrganizationDepartmentList>;
|
|
7027
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7028
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReorganizeOrganizationDepartmentData>) => Promise<Types.OrganizationDepartment>;
|
|
7029
|
+
updateCharter: (options: import("./core/transport.js").CallOptions<Types.AmendOrganizationDepartmentCharterData>) => Promise<Types.OrganizationDepartment>;
|
|
7030
|
+
};
|
|
7031
|
+
effectiveSpec: {
|
|
7032
|
+
retrieve: (options?: import("./core/transport.js").CallOptions<Types.GetOrganizationEffectiveSpecData> | undefined) => Promise<Types.OrganizationEffectiveSpec>;
|
|
7033
|
+
};
|
|
5113
7034
|
events: {
|
|
5114
7035
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationEventsData>) => Promise<{
|
|
5115
7036
|
object: "page";
|
|
@@ -5312,6 +7233,27 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5312
7233
|
}>;
|
|
5313
7234
|
}>;
|
|
5314
7235
|
};
|
|
7236
|
+
jobs: {
|
|
7237
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7238
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationJobsData> | undefined) => Promise<Types.OrganizationJobList>;
|
|
7239
|
+
retire: {
|
|
7240
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RetireOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7241
|
+
};
|
|
7242
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7243
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationJobData>) => Promise<Types.OrganizationJob>;
|
|
7244
|
+
};
|
|
7245
|
+
keyResults: {
|
|
7246
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
7247
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationKeyResultsData> | undefined) => Promise<Types.OrganizationKeyResultList>;
|
|
7248
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
7249
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationKeyResultData>) => Promise<Types.OrganizationKeyResult>;
|
|
7250
|
+
};
|
|
7251
|
+
ladders: {
|
|
7252
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DefineOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7253
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationLaddersData> | undefined) => Promise<Types.OrganizationLadderList>;
|
|
7254
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7255
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationLadderData>) => Promise<Types.OrganizationLadder>;
|
|
7256
|
+
};
|
|
5315
7257
|
members: {
|
|
5316
7258
|
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationMembersData> | undefined) => Promise<{
|
|
5317
7259
|
data: Array<{
|
|
@@ -5325,6 +7267,72 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5325
7267
|
next_page: string | null;
|
|
5326
7268
|
}>;
|
|
5327
7269
|
};
|
|
7270
|
+
objectives: {
|
|
7271
|
+
create: (options: import("./core/transport.js").CallOptions<Types.SetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7272
|
+
grade: {
|
|
7273
|
+
create: (options: import("./core/transport.js").CallOptions<Types.GradeOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7274
|
+
};
|
|
7275
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationObjectivesData> | undefined) => Promise<Types.OrganizationObjectiveList>;
|
|
7276
|
+
parents: {
|
|
7277
|
+
update: (options: import("./core/transport.js").CallOptions<Types.AlignOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7278
|
+
};
|
|
7279
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7280
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationObjectiveData>) => Promise<Types.OrganizationObjective>;
|
|
7281
|
+
};
|
|
7282
|
+
periods: {
|
|
7283
|
+
close: {
|
|
7284
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
7285
|
+
};
|
|
7286
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
7287
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPeriodsData> | undefined) => Promise<Types.OrganizationPeriodList>;
|
|
7288
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPeriodData>) => Promise<Types.OrganizationPeriod>;
|
|
7289
|
+
};
|
|
7290
|
+
positions: {
|
|
7291
|
+
close: {
|
|
7292
|
+
create: (options: import("./core/transport.js").CallOptions<Types.CloseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7293
|
+
};
|
|
7294
|
+
create: (options: import("./core/transport.js").CallOptions<Types.OpenOrganizationPositionsData>) => Promise<Types.OrganizationPositionBatch>;
|
|
7295
|
+
designateHead: {
|
|
7296
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DesignateOrganizationPositionHeadData>) => Promise<Types.OrganizationDepartment>;
|
|
7297
|
+
};
|
|
7298
|
+
freeze: {
|
|
7299
|
+
create: (options: import("./core/transport.js").CallOptions<Types.FreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7300
|
+
};
|
|
7301
|
+
hire: {
|
|
7302
|
+
create: (options: import("./core/transport.js").CallOptions<Types.HireOrganizationPositionData>) => Promise<Types.OrganizationAssignment>;
|
|
7303
|
+
};
|
|
7304
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationPositionsData> | undefined) => Promise<Types.OrganizationPositionList>;
|
|
7305
|
+
replaceHolder: {
|
|
7306
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ReplaceOrganizationPositionHolderData>) => Promise<Types.OrganizationAssignment>;
|
|
7307
|
+
};
|
|
7308
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7309
|
+
unfreeze: {
|
|
7310
|
+
create: (options: import("./core/transport.js").CallOptions<Types.UnfreezeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7311
|
+
};
|
|
7312
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7313
|
+
updateLevel: (options: import("./core/transport.js").CallOptions<Types.RegradeOrganizationPositionData>) => Promise<Types.OrganizationPosition>;
|
|
7314
|
+
updateManager: (options: import("./core/transport.js").CallOptions<Types.ReassignOrganizationPositionManagerData>) => Promise<Types.OrganizationPosition>;
|
|
7315
|
+
};
|
|
7316
|
+
reconcile: {
|
|
7317
|
+
pause: (options: import("./core/transport.js").CallOptions<Types.PauseOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7318
|
+
resume: (options: import("./core/transport.js").CallOptions<Types.ResumeOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7319
|
+
retrievePlan: (options: import("./core/transport.js").CallOptions<Types.PlanOrganizationReconcileData>) => Promise<Types.OrganizationReconcilePlan>;
|
|
7320
|
+
run: {
|
|
7321
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RunOrganizationReconcileData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7322
|
+
};
|
|
7323
|
+
status: {
|
|
7324
|
+
list: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationReconcileStatusData>) => Promise<Types.OrganizationReconcileStatus>;
|
|
7325
|
+
};
|
|
7326
|
+
};
|
|
7327
|
+
specs: {
|
|
7328
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecsData> | undefined) => Promise<Types.OrganizationSpecList>;
|
|
7329
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
7330
|
+
retrieveDiff: (options: import("./core/transport.js").CallOptions<Types.DiffOrganizationSpecData>) => Promise<Types.OrganizationSpecDiff>;
|
|
7331
|
+
revisions: {
|
|
7332
|
+
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationSpecRevisionsData>) => Promise<Types.OrganizationSpecRevisionList>;
|
|
7333
|
+
};
|
|
7334
|
+
update: (options: import("./core/transport.js").CallOptions<Types.ReviseOrganizationSpecData>) => Promise<Types.OrganizationSpec>;
|
|
7335
|
+
};
|
|
5328
7336
|
usage: {
|
|
5329
7337
|
list: (options: import("./core/transport.js").CallOptions<Types.ListOrganizationUsageData>) => Promise<{
|
|
5330
7338
|
object: "page";
|
|
@@ -5348,13 +7356,163 @@ export declare function createOrganization(transport: Transport): {
|
|
|
5348
7356
|
}>;
|
|
5349
7357
|
};
|
|
5350
7358
|
};
|
|
7359
|
+
export declare function createRegistry(transport: Transport): {
|
|
7360
|
+
installations: {
|
|
7361
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsDeleteData>) => Promise<Types.RegistryDeletedInstallation>;
|
|
7362
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryInstallationsUpdateData>) => Promise<Types.RegistryInstallation>;
|
|
7363
|
+
};
|
|
7364
|
+
packages: {
|
|
7365
|
+
git: {
|
|
7366
|
+
commits: {
|
|
7367
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCommitsRetrieveData>) => Promise<Types.RegistryGitCommitDetail>;
|
|
7368
|
+
};
|
|
7369
|
+
files: {
|
|
7370
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitFilesRetrieveData>) => Promise<Blob | File>;
|
|
7371
|
+
};
|
|
7372
|
+
refs: {
|
|
7373
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryGitRefsData>) => Promise<Types.RegistryGitRefs>;
|
|
7374
|
+
};
|
|
7375
|
+
retrieveCompare: (options: import("./core/transport.js").CallOptions<Types.RegistryGitCompareData>) => Promise<Types.RegistryGitComparison>;
|
|
7376
|
+
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.RegistryGitLogData>) => Promise<Types.RegistryGitLog>;
|
|
7377
|
+
retrieveResolve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitResolveData>) => Promise<Types.RegistryGitResolvedRef>;
|
|
7378
|
+
trees: {
|
|
7379
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRetrieveData>) => Promise<Types.RegistryGitTree>;
|
|
7380
|
+
retrieveRecursive: (options: import("./core/transport.js").CallOptions<Types.RegistryGitTreesRecursiveData>) => Promise<Types.RegistryGitTreeRecursive>;
|
|
7381
|
+
};
|
|
7382
|
+
};
|
|
7383
|
+
gitCredential: {
|
|
7384
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesGitCredentialCreateData>) => Promise<Types.RegistryGitCredential>;
|
|
7385
|
+
};
|
|
7386
|
+
installations: {
|
|
7387
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsCreateData>) => Promise<Types.RegistryInstallResult>;
|
|
7388
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesInstallationsListData>) => Promise<Types.RegistryInstallationList>;
|
|
7389
|
+
};
|
|
7390
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesRetrieveData>) => Promise<Types.RegistryPackage>;
|
|
7391
|
+
versions: {
|
|
7392
|
+
contents: {
|
|
7393
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsContentsData>) => Promise<Types.RegistryFileEntryPage>;
|
|
7394
|
+
};
|
|
7395
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsCreateData>) => Promise<Types.RegistryVersion>;
|
|
7396
|
+
files: {
|
|
7397
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsFilesRetrieveData>) => Promise<Blob | File>;
|
|
7398
|
+
};
|
|
7399
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsListData>) => Promise<import("./automation.js").Page<Types.RegistryVersion>>;
|
|
7400
|
+
retrieveArchive: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsArchiveData>) => Promise<Blob | File>;
|
|
7401
|
+
withdraw: (options: import("./core/transport.js").CallOptions<Types.RegistryPackagesVersionsWithdrawData>) => Promise<Types.RegistryVersion>;
|
|
7402
|
+
};
|
|
7403
|
+
};
|
|
7404
|
+
repositories: {
|
|
7405
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesCreateData>) => Promise<Types.RegistryRepository>;
|
|
7406
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesDeleteData>) => Promise<Types.RegistryDeletedRepository>;
|
|
7407
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesListData> | undefined) => Promise<import("./automation.js").Page<Types.RegistryRepository>>;
|
|
7408
|
+
packages: {
|
|
7409
|
+
create: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesCreateData>) => Promise<Types.RegistryPackage>;
|
|
7410
|
+
list: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesPackagesListData>) => Promise<import("./automation.js").Page<Types.RegistryPackage>>;
|
|
7411
|
+
};
|
|
7412
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesRetrieveData>) => Promise<Types.RegistryRepository>;
|
|
7413
|
+
update: (options: import("./core/transport.js").CallOptions<Types.RegistryRepositoriesUpdateData>) => Promise<Types.RegistryRepository>;
|
|
7414
|
+
};
|
|
7415
|
+
};
|
|
5351
7416
|
export declare function createSandbox(transport: Transport): {
|
|
7417
|
+
byod: {
|
|
7418
|
+
devices: {
|
|
7419
|
+
disconnect: {
|
|
7420
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DisconnectByodDeviceData>) => Promise<{
|
|
7421
|
+
id: string;
|
|
7422
|
+
object: "byod_device";
|
|
7423
|
+
disconnected: true;
|
|
7424
|
+
}>;
|
|
7425
|
+
};
|
|
7426
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListByodDevicesData> | undefined) => Promise<{
|
|
7427
|
+
data: Array<{
|
|
7428
|
+
object: "byod_device";
|
|
7429
|
+
id: string;
|
|
7430
|
+
platform: "android" | "macos" | "linux";
|
|
7431
|
+
name: string;
|
|
7432
|
+
model: string;
|
|
7433
|
+
os_version: string;
|
|
7434
|
+
online: boolean;
|
|
7435
|
+
last_seen_at: string | null;
|
|
7436
|
+
created_at: string;
|
|
7437
|
+
capabilities: Array<"display" | "agent">;
|
|
7438
|
+
agent_dirs: Array<string>;
|
|
7439
|
+
allow_bypass: boolean;
|
|
7440
|
+
}>;
|
|
7441
|
+
}>;
|
|
7442
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodDeviceData>) => Promise<{
|
|
7443
|
+
object: "byod_device";
|
|
7444
|
+
id: string;
|
|
7445
|
+
platform: "android" | "macos" | "linux";
|
|
7446
|
+
name: string;
|
|
7447
|
+
model: string;
|
|
7448
|
+
os_version: string;
|
|
7449
|
+
online: boolean;
|
|
7450
|
+
last_seen_at: string | null;
|
|
7451
|
+
created_at: string;
|
|
7452
|
+
capabilities: Array<"display" | "agent">;
|
|
7453
|
+
agent_dirs: Array<string>;
|
|
7454
|
+
allow_bypass: boolean;
|
|
7455
|
+
}>;
|
|
7456
|
+
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
7457
|
+
object: "byod_device";
|
|
7458
|
+
id: string;
|
|
7459
|
+
platform: "android" | "macos" | "linux";
|
|
7460
|
+
name: string;
|
|
7461
|
+
model: string;
|
|
7462
|
+
os_version: string;
|
|
7463
|
+
online: boolean;
|
|
7464
|
+
last_seen_at: string | null;
|
|
7465
|
+
created_at: string;
|
|
7466
|
+
capabilities: Array<"display" | "agent">;
|
|
7467
|
+
agent_dirs: Array<string>;
|
|
7468
|
+
allow_bypass: boolean;
|
|
7469
|
+
}>;
|
|
7470
|
+
};
|
|
7471
|
+
pairings: {
|
|
7472
|
+
claim: {
|
|
7473
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ClaimByodPairingData>) => Promise<{
|
|
7474
|
+
device_id: string;
|
|
7475
|
+
credential: string;
|
|
7476
|
+
socket_url: string;
|
|
7477
|
+
}>;
|
|
7478
|
+
};
|
|
7479
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.CreateByodPairingData> | undefined) => Promise<{
|
|
7480
|
+
code: string;
|
|
7481
|
+
expires_at: string;
|
|
7482
|
+
qr: string;
|
|
7483
|
+
}>;
|
|
7484
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetByodPairingData>) => Promise<{
|
|
7485
|
+
organization_name: string;
|
|
7486
|
+
expires_at: string;
|
|
7487
|
+
}>;
|
|
7488
|
+
};
|
|
7489
|
+
};
|
|
5352
7490
|
events: {
|
|
5353
7491
|
sandboxes: {
|
|
5354
7492
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.GetSandboxEventsData>) => Promise<Types.SandboxSandboxEvent[]>;
|
|
5355
7493
|
};
|
|
5356
7494
|
};
|
|
5357
7495
|
sandboxes: {
|
|
7496
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
7497
|
+
type: "snapshot";
|
|
7498
|
+
snapshot: string;
|
|
7499
|
+
refs: number;
|
|
7500
|
+
truncated: boolean;
|
|
7501
|
+
package: string;
|
|
7502
|
+
} | {
|
|
7503
|
+
type: "screenshot";
|
|
7504
|
+
mediaType: string;
|
|
7505
|
+
data: string;
|
|
7506
|
+
width: number;
|
|
7507
|
+
height: number;
|
|
7508
|
+
bytes: number;
|
|
7509
|
+
} | {
|
|
7510
|
+
type: "ok";
|
|
7511
|
+
ms?: number;
|
|
7512
|
+
} | {
|
|
7513
|
+
type: "wait";
|
|
7514
|
+
ms: number;
|
|
7515
|
+
}>;
|
|
5358
7516
|
commands: {
|
|
5359
7517
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
5360
7518
|
stdout: string;
|
|
@@ -5432,6 +7590,20 @@ export declare function createSandbox(transport: Transport): {
|
|
|
5432
7590
|
snapshots: {
|
|
5433
7591
|
create: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdSnapshotsData>) => Promise<Types.SandboxSnapshotInfo>;
|
|
5434
7592
|
};
|
|
7593
|
+
tasks: {
|
|
7594
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StartSandboxTaskData>) => Promise<{
|
|
7595
|
+
taskId: string;
|
|
7596
|
+
instanceId: string;
|
|
7597
|
+
startedAt: number;
|
|
7598
|
+
}>;
|
|
7599
|
+
retrieveLog: (options: import("./core/transport.js").CallOptions<Types.GetSandboxTaskLogData>) => Promise<{
|
|
7600
|
+
text: string;
|
|
7601
|
+
nextOffset: number;
|
|
7602
|
+
done: boolean;
|
|
7603
|
+
exitCode: number | null;
|
|
7604
|
+
size: number | null;
|
|
7605
|
+
}>;
|
|
7606
|
+
};
|
|
5435
7607
|
timeout: (options: import("./core/transport.js").CallOptions<Types.PostSandboxV1SandboxesBySandboxIdTimeoutData>) => Promise<void>;
|
|
5436
7608
|
update: (options: import("./core/transport.js").CallOptions<Types.RenameSandboxData>) => Promise<Types.SandboxSandboxDetail & {
|
|
5437
7609
|
name: string;
|
|
@@ -5570,6 +7742,14 @@ export declare function createSearch(transport: Transport): {
|
|
|
5570
7742
|
}>;
|
|
5571
7743
|
};
|
|
5572
7744
|
};
|
|
7745
|
+
export declare function createShare(transport: Transport): {
|
|
7746
|
+
permissions: {
|
|
7747
|
+
create: (options: import("./core/transport.js").CallOptions<Types.ShareCreatePermissionData>) => Promise<Types.ShareSharePermission>;
|
|
7748
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.ShareDeletePermissionData>) => Promise<void>;
|
|
7749
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ShareListPermissionsData> | undefined) => Promise<Types.ShareSharePermissionPage>;
|
|
7750
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.ShareRetrievePermissionData>) => Promise<Types.ShareSharePermission>;
|
|
7751
|
+
};
|
|
7752
|
+
};
|
|
5573
7753
|
export declare function createStudio(transport: Transport): {
|
|
5574
7754
|
codexes: {
|
|
5575
7755
|
create: (options: import("./core/transport.js").CallOptions<Types.StudioCodexesCreateData>) => Promise<Types.StudioCodex>;
|
|
@@ -5617,6 +7797,11 @@ export declare function createStudio(transport: Transport): {
|
|
|
5617
7797
|
create: (options: import("./core/transport.js").CallOptions<Types.StudioWorksCreateData>) => Promise<Types.StudioWork>;
|
|
5618
7798
|
drafts: {
|
|
5619
7799
|
create: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsCreateData>) => Promise<Types.StudioDraftDetail>;
|
|
7800
|
+
foreshadows: {
|
|
7801
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsDeleteData>) => Promise<Types.StudioDeleted>;
|
|
7802
|
+
list: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsListData>) => Promise<Types.StudioForeshadowList>;
|
|
7803
|
+
update: (options: import("./core/transport.js").CallOptions<Types.StudioForeshadowsUpsertData>) => Promise<Types.StudioForeshadow>;
|
|
7804
|
+
};
|
|
5620
7805
|
list: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsListData>) => Promise<Types.StudioDraftList>;
|
|
5621
7806
|
rebase: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsRebaseData>) => Promise<Types.StudioDraftWriteResult>;
|
|
5622
7807
|
renditions: {
|
|
@@ -5635,8 +7820,14 @@ export declare function createStudio(transport: Transport): {
|
|
|
5635
7820
|
create: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsCreateData>) => Promise<Types.StudioUnitWriteResult>;
|
|
5636
7821
|
};
|
|
5637
7822
|
update: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateData>) => Promise<Types.StudioDraftWriteResult>;
|
|
7823
|
+
updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioDraftsUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
|
|
5638
7824
|
};
|
|
5639
7825
|
list: (options?: import("./core/transport.js").CallOptions<Types.StudioWorksListData> | undefined) => Promise<Types.StudioWorkPage>;
|
|
7826
|
+
progressions: {
|
|
7827
|
+
create: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsCreateData>) => Promise<Types.StudioProgression>;
|
|
7828
|
+
delete: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsDeleteData>) => Promise<Types.StudioDeleted>;
|
|
7829
|
+
list: (options: import("./core/transport.js").CallOptions<Types.StudioProgressionsListData>) => Promise<Types.StudioProgressionList>;
|
|
7830
|
+
};
|
|
5640
7831
|
renditions: {
|
|
5641
7832
|
delete: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsDeleteData>) => Promise<Types.StudioDeleted>;
|
|
5642
7833
|
list: (options: import("./core/transport.js").CallOptions<Types.StudioRenditionsListData>) => Promise<Types.StudioRenditionPage>;
|
|
@@ -5674,7 +7865,6 @@ export declare function createStudio(transport: Transport): {
|
|
|
5674
7865
|
update: (options: import("./core/transport.js").CallOptions<Types.StudioUnitsUpdateData>) => Promise<Types.StudioUnitWriteResult>;
|
|
5675
7866
|
};
|
|
5676
7867
|
update: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateData>) => Promise<Types.StudioWorkWriteResult>;
|
|
5677
|
-
updateBrief: (options: import("./core/transport.js").CallOptions<Types.StudioWorksUpdateBriefData>) => Promise<Types.StudioBriefWriteResult>;
|
|
5678
7868
|
};
|
|
5679
7869
|
};
|
|
5680
7870
|
export declare function createTicket(transport: Transport): {
|
|
@@ -5851,9 +8041,12 @@ export declare const resourceFactories: {
|
|
|
5851
8041
|
agent: typeof createAgent;
|
|
5852
8042
|
application: typeof createApplication;
|
|
5853
8043
|
automation: typeof createAutomation;
|
|
8044
|
+
billing: typeof createBilling;
|
|
5854
8045
|
browser: typeof createBrowser;
|
|
5855
8046
|
canvas: typeof createCanvas;
|
|
8047
|
+
content: typeof createContent;
|
|
5856
8048
|
crm: typeof createCrm;
|
|
8049
|
+
customer: typeof createCustomer;
|
|
5857
8050
|
cut: typeof createCut;
|
|
5858
8051
|
database: typeof createDatabase;
|
|
5859
8052
|
devops: typeof createDevops;
|
|
@@ -5864,8 +8057,10 @@ export declare const resourceFactories: {
|
|
|
5864
8057
|
model: typeof createModel;
|
|
5865
8058
|
ontology: typeof createOntology;
|
|
5866
8059
|
organization: typeof createOrganization;
|
|
8060
|
+
registry: typeof createRegistry;
|
|
5867
8061
|
sandbox: typeof createSandbox;
|
|
5868
8062
|
search: typeof createSearch;
|
|
8063
|
+
share: typeof createShare;
|
|
5869
8064
|
studio: typeof createStudio;
|
|
5870
8065
|
ticket: typeof createTicket;
|
|
5871
8066
|
vault: typeof createVault;
|